1 Introduction

Throughout this note the ring R is commutative Noetherian. Let M and N be two finitely generated R-modules and I be an ideal of R. In [10], A. Grothendieck conjectured that if I is an ideal of R and N is a finitely generated R-module, then \((0:_{H^{j}_{I}(N)}I)\) is finitely generated for all \(j\ge 0 \). R. Hartshorne provided a counterexample to this conjecture in [11]. He also defined an R-module K to be I-cofinite if \({{\,\mathrm{Supp}\,}}_{R}(K)\subseteq V(I)\) and \({{\,\mathrm{Ext}\,}}^{j}_{R}(R/I,K)\) is finitely generated for all \(j\ge 0\) and he asked a question:

Question. For which ringsRand idealsIare the modules\(H^{j}_{I}(N)\)is I-cofinite for alljand all finitely generated modulesN?

Hartshorne showed that if N is a finitely generated R-module and I a prime ideal with \(\dim R/I=1\), where R is a complete regular local ring, then \(H^{j}_{I}(N)\) is I-cofinite (see [11, Corollary 7.7]). Yoshida [21, Theorem 1.1] refined this result to more general situation that if N is a finitely generated module over a commutative Noetherian local ring R and I is an ideal of R such that \(\dim (R/I) = 1\), then \(H^{j}_{I}(N)\) are I-cofinite for all \(j\ge 0\). In 2009, Bahmanpour–Naghipour have extended this result to the case of non-local ring; more precisely, they showed that iftis a non-negative integer such that\(\dim {{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(N))\le 1\) for all \(j<t\) then \(H^{j}_{I}(N)\)is I-cofinite for all \(j<t\)and \((0:_{H^{t}_{I}(N)}I)\)is finitely generated (see [3, Theorem 2.6], or [6]). In 2013, Bahmanpour–Naghipour–Sedghi improved this result by replacing the condition that “\(\dim {{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(N))\le 1\) for all \(j<t\)” with the condition “\(H^{j}_{I}(N)_{\mathfrak {p}}\) is finitely generated over \(R_{\mathfrak {p}}\) for all \(j<t\) and all \(\mathfrak {p}\in {{\,\mathrm{Supp}\,}}_{R}(N/IN)\) with \(\dim R/\mathfrak {p}>1\)” (see [2, Proposition 3.1]).

There are some generalizations of the theory of local cohomology modules. The following generalization of local cohomology theory is given by J. Herzog in [12]: let j be a non-negative integer and MN finitely generated R-modules. Then the jth generalized local cohomology module of MN with respect to I is defined by \( H^{j}_{I}(M,N)=\varinjlim _{n}{{\,\mathrm{Ext}\,}}^{j}_{R}(M/I^{n}M,N)\). These modules were studied further in many research papers such as [4,5,6,7,8, 13, 15, 19, 20],.... Note that \(H^{j}_{I}(R,N)\) is just the ordinary local cohomology module \(H^{j}_{I}(N)\).

The purpose of this paper is to investigate a similar question as above for the theory of generalized local cohomology. Our main result is the following theorem.

Theorem 1.1

Let R be a commutative Noetherian ring and I an ideal of R. Let MN be finitely generated R-modules such that \(H^{i}_{I}(M,N)_{\mathfrak {p}}\) is a finitely generated module over \(R_{\mathfrak {p}}\) for all \(i<t\) and all \(\mathfrak {p}\in \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\) with \(\dim R/\mathfrak {p}> 1\), where t is a given non-negative integer. Then \(H^{i}_{I}(M,N)\) is I-cofinite for all \(i<t\) and \({{\,\mathrm{Hom}\,}}_{R}(R/I,H^{t}_{I}(M,N))\) is finitely generated.

This theorem has some consequences as follows. First, if we replace \(M=R\) in Theorem 1.1, then we have that if\(H^{i}_{I}(N)_{\mathfrak {p}}\)is finitely generated over \(R_{\mathfrak {p}}\)for all\(i<t\)and all \(\mathfrak {p}\in \bigcup _{i<t}{{\,\mathrm{Supp}\,}}_{R}(H^{i}_{I}(N))\)then\(H^{i}_{I}(N)\)is I-cofinite for all \(i<t\)and\({{\,\mathrm{Hom}\,}}_{R}(R/I,H^{t}_{I}(N))\)is finitely generated (see Corollary 2.8). This corollary is a slight improvement of Bahmanpour–Naghipour (see [3, Theorem 2.6]) and of Bahmanpour–Naghipour–Sedghi (see [2, Proposition 3.1]). In [3] and [2], they had used a basic property of local cohomology that \(H^{j}_{I}(N)\cong H^{j}_{I}(N/\Gamma _{I}(N))\) for all \(j>0\); then it is easy to reduce to the case when \(\Gamma _{I}(N)=0\). But, for the case of generalized local cohomology, it is not true that \(H^{j}_{I}(M,N)\cong H^{j}_{I}(M,N/\Gamma _{I_{M}}(N))\) for all \(j>0\) in general, where \(I_{M}={{\,\mathrm{ann}\,}}_R(M/IM)\). Hence, to prove Theorem 1.1, we need to establish Lemma 2.5 and Corollary 2.6 (R is not a necessary local) which implies that \(\bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N/\Gamma _{I_{M}}(N)))\subseteq \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\). Also, one of the ingredients in the proof of Theorem 1.1 is a lemma of Cuong–Goto–Hoang [6] (cf. Lemma 2.4); using this lemma, instead of studying the cofiniteness of \(H^{j}_{I}(M,N)\) with respect to I, we need only to prove the cofiniteness of these modules with respect to ideal \(I_{M}\). Second, as an other application of Theorem  1.1, we obtain a Corollary 2.10 which says that if \(t:=h^{2}_{I}(M,N)\) is the least integer such that \(H^{i}_{I}(M,N)\) is not in dimension \(<2\) then \(H^{i}_{I}(M,N)\) is I-cofinite for all \(i<t\) and \({{\,\mathrm{Hom}\,}}_{R}(R/I,H^{t}_{I}(M,N))\) is finitely generated, where the notion of “in dimension \(<2\) module” is mentioned in Remark 2.2.

The paper is divided into two sections. In Sect. 2, we first prove some auxiliary lemmas which will be used in the sequel. The rest of Sect. 2 is devoted to prove the main result (Theorem 2.7) and its consequences.

2 Main Result

The following result seems to be well known but we cannot find exactly a reference for it, so for the sake of the completeness we still give a clear proof.

Lemma 2.1

Let K be an R-module and I an ideal of R. If \((0:_{K}I)\) is finitely generated R-module then so is \((0:_{K}I^{n})\) for all n.

Proof

We first prove by induction on \(n\ge 1\) that \({{\,\mathrm{Hom}\,}}(R/I^{n},K)\) is a finitely generated R-module. The case \(n=1\) is nothing. Assume that \(n>1\) and the result is true for \(n-1\). From the short exact sequence \(0\rightarrow I^{n-1}/I^{n}\rightarrow R/I^{n}\rightarrow R/I^{n-1}\rightarrow 0\), we obtain the following exact sequence:

$$\begin{aligned} 0\rightarrow {{\,\mathrm{Hom}\,}}_{R}(R/I^{n-1},K)\rightarrow {{\,\mathrm{Hom}\,}}_{R}(R/I^{n},K)\rightarrow {{\,\mathrm{Hom}\,}}_{R}(I^{n-1}/I^{n},K). \end{aligned}$$
(*)

Note that by the hypothesis \((0:_{K}I)\) is also a finitely generated R / I-module. Since I is an ideal in a Noetherian ring, \(I^{n-1}/I^{n}\) is also a finitely generated R / I-module. Assume that \(I^{n-1}/I^{n}\) is generated by m elements. Then we have an exact sequence \((R/I)^{m}\rightarrow I^{n-1}/I^{n}\rightarrow 0\). Hence, we get an exact sequence \(0\rightarrow {{\,\mathrm{Hom}\,}}_{R}(I^{n-1}/I^{n},K)\rightarrow {{\,\mathrm{Hom}\,}}_{R}((R/I)^{m},K)\). Note that \({{\,\mathrm{Hom}\,}}_{R}((R/I)^m,K) ={{\,\mathrm{Hom}\,}}_{R}(R/I,K)^m\) is finitely generated over R / I by the hypothesis of \((0:I)_{K}\). Thus, \({{\,\mathrm{Hom}\,}}_{R}(I^{n-1}/I^{n},K)\) is a finitely generated R / I-module, and so \({{\,\mathrm{Hom}\,}}_{R}(I^{n-1}/I^{n},K)\) is also finitely generated as an R-module. Moreover, we get by the inductive assumption that \({{\,\mathrm{Hom}\,}}_{R}(R/I^{n-1},K)\) is finitely generated over R. Therefore, we obtain by the exact sequence (*) that the R-module \({{\,\mathrm{Hom}\,}}_{R}(R/I^{n},K)\) is finitely generated, as required. \(\square \)

Remark 2.2

Let \(0\le n\in \mathbb {Z}\). We recall that an R-module T is called in dimension \(<n\) if there exists a finitely submodule K of T such that \(\dim {{\,\mathrm{Supp}\,}}(T/K)<n\) (see [1, Definition 2.1]). It is clear that the class of in dimension \(<n\) modules consists of class of finitely generated modules (this is the case of \(n=0\)). Moreover, an R-module T is said to be minimax, if there exists a finitely generated submodule K of T such that T / K is Artinian (cf. [22] and [1]).

We next recall some results which will be used in the proof of our main result.

Lemma 2.3

(see [14, Lemma 2.1]) Let t be a nonnegative integer such that \(H^{j}_{I}(M,N)\) is in dimension \(<n\) for all \(j<t\). Then \({{\,\mathrm{Hom}\,}}_{R}(R/I,H^{t}_{I}(M,N))\) is in dimension \(<n\).

Lemma 2.4

(see [6, Lemma 4.2]) Let t be a non-negative integer. Then

  1. (i)

    The R-module \(H^{t}_{I}(M,N)\) is I-cofinite if and only if \(H^{t}_{I_{M}}(M,N)\) is \(I_{M}\)-cofinite, where \(I_{M}={{\,\mathrm{ann}\,}}_{R}(M/IM)\).

  2. (ii)

    The R-module \({{\,\mathrm{Hom}\,}}_{R}(R/I,H^{t}_{I}(M,N))\) is finitely generated if and only if so is \({{\,\mathrm{Hom}\,}}_{R}(R/I_{M},H^{t}_{I}(M,N))\).

Next we need establish a lemma on support of generalized local cohomology module which is an extension of [8, Lemma 2.8] for the case of arbitrary commutative Noetherian ring R.

Lemma 2.5

Let \(t\in \mathbb {N}\cup \{\infty \}\). Then we have

$$\begin{aligned} \bigcup _{j\le t}{{\,\mathrm{Supp}\,}}_{R}\left( H^{j}_{I}(M,N)\right) =\bigcup _{j\le t}{{\,\mathrm{Supp}\,}}_{R}\left( {{\,\mathrm{Ext}\,}}^{j}_{R}(M/IM,N)\right. . \end{aligned}$$

Proof

Let \(\mathfrak {p}\in \bigcup _{j\le t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\). Then there exists an integer \(0\,{\le }\, t_0\,{\le }\, t\) such that \(\mathfrak {p}\in {{\,\mathrm{Supp}\,}}(H^{t_0}_{I}(M,N))\) and \(\mathfrak {p}\notin \bigcup _{j<t_0}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\). Hence, \(H^{j}_{I}(M,N)_{\mathfrak {p}}=0\) for all \(j<t_0\) and \(H^{t_0}_{I}(M,N)_{\mathfrak {p}}\ne 0\). Thus, we get by [4, Proposition 5.5] that \({{\,\mathrm{depth}\,}}(I_{M_{\mathfrak {p}}},N_{\mathfrak {p}})=t_0\). Thus, \({{\,\mathrm{Ext}\,}}^{t_0}_{R_{\mathfrak {p}}}(M_{\mathfrak {p}}/IM_{\mathfrak {p}},N_{\mathfrak {p}})\ne 0\). It implies that \(\mathfrak {p}\in \bigcup _{j\le t}{{\,\mathrm{Supp}\,}}_{R}({{\,\mathrm{Ext}\,}}^{j}_{R}(M/IM,N)\). Conversely, for each \(\mathfrak {p}\in \bigcup _{j\le t}{{\,\mathrm{Supp}\,}}_{R}({{\,\mathrm{Ext}\,}}^{j}_{R}(M/IM,N)\), there exists \(0\le t'\le t\) such that \(\mathfrak {p}\in {{\,\mathrm{Supp}\,}}_{R}({{\,\mathrm{Ext}\,}}^{t'}_R(M/IM,N))\) and \(\mathfrak {p}\notin \bigcup _{j<t'}{{\,\mathrm{Supp}\,}}_{R}({{\,\mathrm{Ext}\,}}^{j}_{R}(M/IM,N)) \). It yields that \({{\,\mathrm{Ext}\,}}^{j}_{R}(M/IM,N)_{\mathfrak {p}}\,{=}\,0\) for all \(j\,{<}\,t'\) and \({{\,\mathrm{Ext}\,}}^{t'}_R(M/IM,N)_{\mathfrak {p}}\,{\ne }\, 0\). Thus, \({{\,\mathrm{depth}\,}}(I_{M_{\mathfrak {p}}},N_{\mathfrak {p}})\,{=}\,t'\). So we get by [4, Proposition 5.5] that \(H^{t'}_{I}(M,N)_{\mathfrak {p}}\ne 0\), and hence \(\mathfrak {p}\in {{\,\mathrm{Supp}\,}}_{R}(H^{t'}_{I}(M,N))\subseteq \bigcup _{j\le t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\). \(\square \)

By similar arguments as in the proof of Lemma 2.5, we obtain the following corollary.

Corollary 2.6

We have \(\bigcup _{j\le t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))=\bigcup _{j\le t}{{\,\mathrm{Supp}\,}}_{R}(H^j_{I_{M}}(N),\) where \(t\in \mathbb {N}\cup \{\infty \}\).

Before proving Theorem 1.1, we recall some known facts on the theory of secondary representation. In [16], Macdonald has developed the theory of attached prime ideals and secondary representation of a module. A non-zero R-module K is called secondary if for each \(r\in R\) multiplication by r on K is either surjective or nilpotent. Then \(\mathfrak {p}=\sqrt{{{\,\mathrm{ann}\,}}_R(K)}\) is a prime ideal, and K is called \(\mathfrak {p}\)-secondary. We say that K has a secondary representation if there is a finite number of secondary submodules \(K_1,\ldots ,K_n\) such that \(K = K_1 +\ldots + K_n\). One may assume that \(\mathfrak {p}_i =\sqrt{{{\,\mathrm{ann}\,}}_R(K_i)}\), for \(i =1, 2,\ldots ,n\), are all distinct and, by omitting redundant summands, that the representation is minimal. Then the set of prime ideals \(\{\mathfrak {p}_1,\ldots ,\mathfrak {p}_n\}\) does not depend on the representation, and it is called the set of attached prime ideals of K and denoted by \({{\,\mathrm{Att}\,}}_R(K)\). Note that if A is an Artinian R-module, then A has a secondary representation; moreover, the set of minimal prime ideals of \({{\,\mathrm{ann}\,}}_R(A)\) is just the set of minimal elements of \({{\,\mathrm{Att}\,}}_R(A)\) (see [16]). The basic properties on the set \({{\,\mathrm{Att}\,}}_R(A)\) of attached primes of A are referred in a paper by Macdonald [16].

The following is our main result in this note (that is Theorem 1.1 as mentioned in the part Introduction).

Theorem 2.7

Let R be a Noetherian commutative ring and I an ideal of R. Let MN be finitely generated R-modules such that \(H^{i}_{I}(M,N)_{\mathfrak {p}}\) is a finitely generated module over \(R_{\mathfrak {p}}\) for all \(i<t\) and all \(\mathfrak {p}\in \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\) with \(\dim R/\mathfrak {p}>1\), where t is a given non-negative integer. Then \(H^{i}_{I}(M,N)\) is I-cofinite for all \(i<t\) and \({{\,\mathrm{Hom}\,}}_{R}(R/I,H^{t}_{I}(M,N))\) is finitely generated.

Proof

By Lemma 2.4, we need only to claim that \(H^{i}_{I}(M,N)\) is \(I_{M}\)-cofinite for all \(i<t\) and \({{\,\mathrm{Hom}\,}}_{R}(R/I_{M},H^{t}_{I}(M,N))\) is finitely generated, provided \(H^{i}_{I}(M, N)_{\mathfrak {p}}\) is finitely generated for all \(i<t\) and all \(\mathfrak {p}\in \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\) with \(\dim R/\mathfrak {p}>1\), where t is a given integer.

We process by induction on \(t\ge 0\). The case \(t=0\) is trivial. If \(t=1\) then it is clear that \(H^0_{I}(M,N)\) is \(I_{M}\)-cofinite; moreover, \({{\,\mathrm{Hom}\,}}(R/I_{M},H^1_{I}(M,N))\) is a finitely generated R-module by Lemma 2.3. We now suppose that \(t>1\), and the result has been proved for \(t-1\). From the short exact sequence \(0\rightarrow \Gamma _{I_{M}}(N)\rightarrow N\rightarrow \overline{N}\rightarrow 0,\) we obtain exact sequences

$$\begin{aligned} {{\,\mathrm{Ext}\,}}^i_R\left( M,\Gamma _{I_{M}}(N)\right) \xrightarrow {f_i} H^{i}_{I}\left( M,N\right) \xrightarrow {g_i} H^{i}_{I}\left( M,\overline{N}\right) \xrightarrow {h_i} {{\,\mathrm{Ext}\,}}^{i+1}_R\left( M,\Gamma _{I_{M}}(N)\right) \end{aligned}$$

for all i, where \(\overline{N}=N/\Gamma _{I_{M}}(N)\). Note that \({{\,\mathrm{Ext}\,}}^i_R(M,\Gamma _{I_{M}}(N))\) is finitely generated for all i. For each \(i\ge 0\), we split the above exact sequence into the following two exact sequences:

$$\begin{aligned}&0\rightarrow {{\,\mathrm{Im}\,}}f_i\rightarrow H^{i}_{I}(M,N)\rightarrow {{\,\mathrm{Im}\,}}g_i\rightarrow 0\ \hbox {and} \\&0\rightarrow {{\,\mathrm{Im}\,}}g_i\rightarrow H^{i}_{I}(M,\overline{N})\rightarrow {{\,\mathrm{Im}\,}}h_i\rightarrow 0. \end{aligned}$$

Note that \({{\,\mathrm{Im}\,}}f_i\) and \({{\,\mathrm{Im}\,}}h_i\) are finitely generated for all \(i\ge 0\). Then, for any \(i<t\), we obtain that \(H^{i}_{I}(M,N)\) is \(I_{M}\)-cofinite if and only if so is \(H^{i}_{I}(M,\overline{N})\). On the other hand, we get by Corollary 2.6 that

$$\begin{aligned} \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}\left( H^{j}_{I}(M,\overline{N})\right)= & {} \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}\left( H^j_{I_{M}}(\overline{N})\right) \text { and } \\ \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}\left( H^{j}_{I}(M,N)\right)= & {} \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}\left( H^j_{I_{M}}(N)\right) . \end{aligned}$$

Thus, we obtain that \(\bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,\overline{N}))\subseteq \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\) since \(H^j_{I_{M}}(N)\cong H^j_{I_{M}}(\overline{N})\) for all \(1\le j<t\). Therefore, we get by the hypothesis that \(H^{i}_{I}(M,\overline{N})_{\mathfrak {p}}\) is finitely generated for all \(i<t\) and all \(\mathfrak {p}\in \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,\overline{N}))\) with \(\dim (R/\mathfrak {p})>1\). Therefore, to prove the theorem for the case of \(t>1\), we may assume without loss of generality that \(\Gamma _{I_{M}}(N)=0\). Thus, \(I_{M}\not \subseteq \bigcup _{\mathfrak {p}\in {{\,\mathrm{Ass}\,}}_R(N)}\mathfrak {p}\).

For each \(0<n\in \mathbb {Z}\) and \(0\le i<t\), we set \(H_{i,n}=(0:_{H^{i}_{I}(M,N)}I_{M}^n)\). Recall that \(H^{i}_{I}(M,N)\) is \(I_{M}\)-cofinite for all \(i<t-1\) and \((0:_{H^{t-1}_{I}(M,N)}I_{M})\) is finitely generated. Hence, \((0:_{H^{i}_{I}(M,N)}I_{M})\) is finitely generated for all \(0\le i<t\). Thus, we obtain by Lemma 2.1 that \(H_{i,n}\) is finitely generated for all \(0\le i<t\) and all \(n>0\). Hence, \({{\,\mathrm{Supp}\,}}_{R}(H_{i,n+1}/H_{i,n})=V({{\,\mathrm{ann}\,}}_R(H_{i,n+1}/H_{i,n})).\) Note that for each \(n>0\), we have \({{\,\mathrm{ann}\,}}_R(H_{i,n+1}/H_{i,n})\subseteq {{\,\mathrm{ann}\,}}_R(H_{i,n+2}/H_{i,n+1})\) by [2, Lemma 2.1]. Hence, \(V({{\,\mathrm{ann}\,}}_R(H_{i,n+1}/H_{i,n}))\supseteq V({{\,\mathrm{ann}\,}}_R(H_{i,n+2}/H_{i,n+1}))\) for all \(n>0\). Thus, we obtain the following sequence:

$$\begin{aligned} V({{\,\mathrm{ann}\,}}_R(H_{i,n+1}/H_{i,n}))\supseteq V({{\,\mathrm{ann}\,}}_R(H_{i,n+2}/H_{i,n+1}))\supseteq \ldots . \end{aligned}$$

From this we get by the Noetherianness of space \({{\,\mathrm{Spec}\,}}R\) that there exists an integer \(k>0\) such that

$$\begin{aligned} {{\,\mathrm{Supp}\,}}_{R}(H_{i,k+1}/H_{i,k})={{\,\mathrm{Supp}\,}}_{R}(H_{i,n+1}/H_{i,n}) \end{aligned}$$
(2.1)

for all \(n\ge k+1\) and all \(0\le i<t\). Suppose that \(\{\mathfrak {p}\in {{\,\mathrm{Supp}\,}}_{R}(H_{i,k+1}/H_{i,k})\mid \dim R/\mathfrak {p}>1\}\ne \emptyset \). Then we take \(\mathfrak {p}\in {{\,\mathrm{Supp}\,}}_{R}(H_{i,k+1}/H_{i,k})\) such that \(\dim R/\mathfrak {p}>1\). Thus, \(\mathfrak {p}\in \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\) since \({{\,\mathrm{Supp}\,}}_{R}(H_{i,k+1}/H_{i,k})\subseteq {{\,\mathrm{Supp}\,}}_{R}(H^{i}_{I}(M,N))\). Hence, we get by the hypothesis that \(H^{i}_{I}(M,N)_{\mathfrak {p}}\) is a finitely generated \(R_{\mathfrak {p}}\)-module for all \(0\le i<t\). Thus, for each \(0\le i<t\), there exists a finitely generated submodule L of \(H^{i}_{I}(M,N)\) such that \(H^{i}_{I}(M,N)_{\mathfrak {p}}=L_{\mathfrak {p}}\). Since L is \(I_{M}\)-torsion by [6, Lemma 2.1], there is an integer \(n\ge k+1\) such that \(I_{M}^nL=0\). It follows that

$$\begin{aligned} L_{\mathfrak {p}}=H^{i}_{I}(M,N)_{\mathfrak {p}}\supseteq (H_{i,n+1})_{\mathfrak {p}}\supseteq (H_{i,n})_{\mathfrak {p}}\supseteq L_{\mathfrak {p}}. \end{aligned}$$

Hence, \((H_{i,n+1}/H_{i,n})_{\mathfrak {p}}=0\). From this, we get by the fact in formula (2.1) that \(\mathfrak {p}\notin {{\,\mathrm{Supp}\,}}(H_{i,k+1}/H_{i,k})\), this is a contradiction. Hence,

$$\begin{aligned} \{\mathfrak {p}\in {{\,\mathrm{Supp}\,}}_{R}(H_{i,k+1}/H_{i,k})\mid \dim R/\mathfrak {p}>1\}=\emptyset , \end{aligned}$$

and hence \(\dim R/\mathfrak {p}\le 1\) for all \(\mathfrak {p}\in {{\,\mathrm{Supp}\,}}_{R}(H_{i,k+1}/H_{i,k})\). We now take \(\mathfrak {p}\in {{\,\mathrm{Supp}\,}}_{R}(H^{i}_{I}(M,N)/H_{i,k})\). If \(\mathfrak {p}\notin {{\,\mathrm{Supp}\,}}_{R}(H_{i,k+1}/H_{i,k})\) then we get by (2.1) that \(\mathfrak {p}\notin {{\,\mathrm{Supp}\,}}_{R}(H_{i,n+1}/H_{i,n})\) for all \(n\ge k\). Thus, \((H_{i,n+1})_{\mathfrak {p}}=(H_{i,k})_{\mathfrak {p}}\) for all \(n\ge k\), and so \(H^{i}_{I}(M,N)_{\mathfrak {p}}=(H_{i,n})_{\mathfrak {p}}\) for all \(n\ge k\). Hence, \(\mathfrak {p}\notin {{\,\mathrm{Supp}\,}}_{R}(H^{i}_{I}(M,N)/H_{i,n})\) for all \(n\ge k\), which is a contradiction. Thus,

$$\begin{aligned} {{\,\mathrm{Supp}\,}}_{R}(H^{i}_{I}(M,N)/H_{i,k})={{\,\mathrm{Supp}\,}}_{R}(H_{i,k+1}/H_{i,k}), \end{aligned}$$

and hence

$$\begin{aligned} \dim {{\,\mathrm{Supp}\,}}_{R}(H^{i}_{I}(M,N)/H_{i,k})\le 1. \end{aligned}$$
(2.2)

From the short exact sequence

$$\begin{aligned} 0\rightarrow H_{i,k}\rightarrow H^{i}_{I}(M,N)\rightarrow H^{i}_{I}(M,N)/H_{i,k}\rightarrow 0, \end{aligned}$$

we get the following exact sequence:

$$\begin{aligned} \left( 0:_{H^{i}_{I}(M,N)}I_{M}\right) \rightarrow \left( 0:_{H^{i}_{I}(M,N)/H_{i,k}}I_{M}\right) \rightarrow {{\,\mathrm{Ext}\,}}^1_R\left( R/I_{M},H_{i,k}\right) . \end{aligned}$$

Hence, the R-module \((0:_{H^{i}_{I}(M,N)/H_{i,k}}I_{M})\) is finitely generated for all \(0\le i<t\) because of the finiteness of \((0:_{H^{i}_{I}(M,N)}I_{M})\) and \(H_{i,k}\) for all \(0\le i<t\). Thus, \({{\,\mathrm{Ass}\,}}_R(H^{i}_{I}(M,N)/H_{i,k})\) is a finite set for all \(0\le i<t\). For each \(0\le i<t\), we set

$$\begin{aligned} T_i=\{\mathfrak {p}\in {{\,\mathrm{Supp}\,}}_{R}(H^{i}_{I}(M,N)/H_{i,k})\mid \dim R/\mathfrak {p}=1\}. \end{aligned}$$

Then we obtain by formula (2.2) that \(T_i\subseteq {{\,\mathrm{Ass}\,}}_R(H^{i}_{I}(M,N)/H_{i,k})\), and hence the set \(T=\bigcup _{i=0}^{t-1}T_i\) is finite. Assume that \(T=\{\mathfrak {p}_1,\ldots ,\mathfrak {p}_v\}\).

For any \(\mathfrak {p}\in T\) and any \(0\le i<t\), we have by the previous paragraph that \((0:_{H^{i}_{I}(M,N)/H_{i,k}}I_{M})_{\mathfrak {p}}\) is a finitely generated \(R_{\mathfrak {p}}\)-module. Moreover, since either \(\mathfrak {p}\) is a minimal element of \({{\,\mathrm{Supp}\,}}_{R}(H^{i}_{I}(M,N)/H_{i,k})\) or \(\mathfrak {p}\) is not in \({{\,\mathrm{Supp}\,}}_{R}(H^{i}_{I}(M,N)/H_{i,k})\), we obtain that

$$\begin{aligned} V({{\,\mathrm{ann}\,}}_{R_{\mathfrak {p}}}((0:_{H^{i}_{I}(M,N)/H_{i,k}}I_{M})_{\mathfrak {p}})\subseteq \{\mathfrak {p}R_{\mathfrak {p}}\}. \end{aligned}$$

Hence, \((0:_{H^{i}_{I}(M,N)/H_{i,k}}I_{M})_{\mathfrak {p}}\) is an Artinian \(R_{\mathfrak {p}}\)-module. Thus, we get by the Melkersson’s criterion on the Artinianness (see [17, Theorem 1.3]) that \((H^{i}_{I}(M,N)/H_{i,k})_{\mathfrak {p}}\) is an Artinian \(R_{\mathfrak {p}}\)-module. It implies by [6, Lemma 4.1 (ii)] that

$$\begin{aligned} V((I_{M})_{\mathfrak {p}})\cap {{\,\mathrm{Att}\,}}_{R_{\mathfrak {p}}}((H^{i}_{I}(M,N)/H_{i,k})_{\mathfrak {p}})\subseteq \{\mathfrak {p}R_{\mathfrak {p}}\}. \end{aligned}$$
(2.3)

Now we set

$$\begin{aligned} S=\bigcup _{i=0}^{t-1}\bigcup _{j=1}^v\left\{ \mathfrak {q}\in {{\,\mathrm{Spec}\,}}R\mid \mathfrak {q}R_{\mathfrak {p}_j}\in {{\,\mathrm{Att}\,}}_{R_{\mathfrak {p}_j}}((H^{i}_{I}(M,N)/H_{i,k})_{\mathfrak {p}_j})\right\} . \end{aligned}$$

Then it is easy to see that \(S\cap V(I_{M})\subseteq T\). We now choose an element \(x\in I_{M}\) such that

$$\begin{aligned} x\notin \left( \bigcup _{\mathfrak {p}\in S{\setminus } V(I_{M})}\mathfrak {p}\right) \cup \left( \bigcup _{\mathfrak {p}\in {{\,\mathrm{Ass}\,}}_R(N)}\mathfrak {p}\right) . \end{aligned}$$

We then have the short exact sequence \(0\rightarrow N\xrightarrow {x} N\rightarrow N/xN\rightarrow 0\). It implies the following exact sequences:

$$\begin{aligned} \begin{aligned} \ldots&\rightarrow H^{i}_{I}(M,N)\xrightarrow {x}H^{i}_{I}(M,N)\rightarrow H^{i}_{I}(M,N/xN)\rightarrow H^{i+1}_{I}(M,N)\\&\quad \xrightarrow {x}H^{i+1}_{I}(M,N)\rightarrow \ldots \end{aligned} \end{aligned}$$

for all \(i\ge 0\). Thus, we obtain exact sequences

$$\begin{aligned}&0\rightarrow H^{i}_{I}(M,N)/xH^i_{I}(M,N)\xrightarrow {\varphi _i}H^{i}_{I}(M,N/xN)\nonumber \\&\quad \xrightarrow {} (0:x)_{H^{i+1}_{I}(M,N)}\rightarrow 0 \end{aligned}$$
(2.4)

for all \(i\ge 0\). Note that

$$\begin{aligned} \bigcup _{j<t-1}{{\,\mathrm{Supp}\,}}_{R}\left( H^{j}_{I}(M,N/xN)\right) \subseteq \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}\left( H^{j}_{I}(M,N)\right) \end{aligned}$$

by the long exact sequence as above mentioned. Hence, we get by the hypothesis that \(H^{j}_{I}(M,N/xN)_{\mathfrak {p}}\) is finitely generated \(R_{\mathfrak {p}}\)-module for all \(\mathfrak {p}\in \bigcup _{j<t-1}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N/xN))\) with \(\dim R/\mathfrak {p}>1\). Therefore, we get by the inductive assumption that the R-modules

$$\begin{aligned} H^0_{I}(M,N/xN), H^1_{I}(M,N/xN),\ldots , H^{t-2}_{I}(M,N/xN) \end{aligned}$$

are \(I_{M}\)-cofinite and module \((0:_{H^{t-1}_{I}(M,N/xN)}I_{M})\) is finitely generated (*). For each \(0\le i<t\), we set

$$\begin{aligned} N_i=\varphi _i\left( \dfrac{xH^i_{I}(M,N)+H_{i,k}}{xH^i_{I}(M,N)}\right) . \end{aligned}$$

Hence, \(N_i\) is a finitely generated submodule of \(H^{i}_{I}(M,N/xN)\) since

$$\begin{aligned} \dfrac{xH^i_{I}(M,N)+H_{i,k}}{xH^i_{I}(M,N)}\cong \dfrac{H_{i,k}}{H_{i,k}\cap xH^i_{I}(M,N)} \end{aligned}$$

is a finitely generated submodule of \(H^{i}_{I}(M,N)/xH^i_{I}(M,N)\). Therefore, we obtain the following exact sequences:

$$\begin{aligned} \begin{aligned} 0\rightarrow \dfrac{H^{i}_{I}(M,N)}{xH^i_{I}(M,N)+H_{i,k}}\rightarrow \dfrac{H^{i}_{I}(M,N/xN)}{N_i}\rightarrow (0:_{H^{i+1}_{I}(M,N)}x)\rightarrow 0 \end{aligned} \end{aligned}$$

for all \(0\le i<t\). For each \(0\le i<t\), set

$$\begin{aligned} U_i=\dfrac{H^{i}_{I}(M,N)}{xH^i_{I}(M,N)+H_{i,k}}\text { and } V_i=\dfrac{H^{i}_{I}(M,N/xN)}{N_i}. \end{aligned}$$

Note that

$$\begin{aligned} U_i\cong \frac{H^{i}_{I}(M,N)/H_{i,k}}{x\left( H^{i}_{I}(M,N)/H_{i,k}\right) }. \end{aligned}$$

By the hypothesis of x and the fact in (2.3), we have that

$$\begin{aligned} \begin{aligned} x\notin \mathfrak {q}R_{\mathfrak {p}_j}\text { for all }\mathfrak {q}R_{\mathfrak {p}_j}\in {{\,\mathrm{Att}\,}}_{R_{\mathfrak {p}_j}}\left( (H^{i}_{I}(M,N)/H_{i,k})_{\mathfrak {p}_j}\right) {\setminus } \{\mathfrak {p}_j R_{\mathfrak {p}_j}\} \end{aligned} \end{aligned}$$

for all \(0\le i<t\) and all \(1\le j\le v\). Hence, we get by [6, Lemma 4.1 (i)] that \(\ell _{R_{\mathfrak {p}_j}}((U_i)_{\mathfrak {p}_j})<+\infty \) for all \(0\le i<t\) and all \(j=1,2,\ldots ,v\). Thus, for each \(0\le i<t\) and \(1\le j\le v\) there exists a finitely generated R-submodule \(B_{i,j}\) of \(U_i\) such that \((U_i)_{\mathfrak {p}_j}=(B_{i,j})_{\mathfrak {p}_j}\). For each \(0\le i<t\), we set \(B_i=B_{i,1}+B_{i,2}+\ldots +B_{i,l}\); it is clear that \(B_i\) is a finitely generated R-submodule of \(U_i\). Then there is a submodule \(K_i\) of \(H^{i}_{I}(M,N)\) such that \(K_i\supseteq xH^i_{I}(M,N)+H_{i,k}\) and \(\dfrac{K_i}{xH^i_{I}(M,N)+H_{i,k}}=B_i\). Thus,

$$\begin{aligned} {{\,\mathrm{Supp}\,}}_{R}(U_i/B_i)\subseteq {{\,\mathrm{Supp}\,}}_{R}(H^{i}_{I}(M,N)/H_{i,k}){\setminus } T\subseteq {{\,\mathrm{Max}\,}}(R). \end{aligned}$$

On the other hand, from the short exact sequence

$$\begin{aligned} 0\rightarrow N_i\rightarrow H^{i}_{I}(M,N/xN)\rightarrow V_i\rightarrow 0, \end{aligned}$$

we get the following exact sequence:

$$\begin{aligned} {{\,\mathrm{Hom}\,}}_{R}\big (R/I_{M},H^{i}_{I}(M,N/xN)\big )\rightarrow {{\,\mathrm{Hom}\,}}_{R}(R/I_{M}, V_i)\rightarrow {{\,\mathrm{Ext}\,}}^1_R(R/I_{M}, N_i) \end{aligned}$$

for all \(0\le i<t\). Hence, it implies that the R-module \({{\,\mathrm{Hom}\,}}_{R}(R/I_{M},V_i)\) is finitely generated for all \(0\le i<t\). Hence, since the sequence

$$\begin{aligned} 0\rightarrow {{\,\mathrm{Hom}\,}}_{R}(R/I_{M},U_i)\rightarrow {{\,\mathrm{Hom}\,}}_{R}(R/I_{M},V_i) \end{aligned}$$

is exact, it yields that \({{\,\mathrm{Hom}\,}}_{R}(R/I_{M},U_i)\) is also a finitely generated R-module. Thus, \({{\,\mathrm{Hom}\,}}_{R}(R/I_{M},U_i/B_i)\) is a finitely generated R-module because of the exactness of sequence

$$\begin{aligned} {{\,\mathrm{Hom}\,}}_{R}(R/I_{M},U_i)\rightarrow {{\,\mathrm{Hom}\,}}_{R}(R/I_{M},U_i/B_i)\rightarrow {{\,\mathrm{Ext}\,}}^1_R(R/I_{M},B_i) \end{aligned}$$

and the finiteness of \(B_i\). Then we obtain by the fact \({{\,\mathrm{Supp}\,}}(U_i/B_i)\subseteq {{\,\mathrm{Max}\,}}(R)\) that \({{\,\mathrm{Hom}\,}}_{R}(R/I_{M},U_i/B_i)\) is Artinian for all \(0\le i<t\). Therefore, we get by [17, Theorem 1.3] that \(U_i/B_i\) is Artinian for all \(0\le i<t\) since \(U_i/B_i\) is \(I_{M}\)-torsion for all \(0\le i<t\). Therefore, \(U_i\) is a minimax R-module for all \(0\le i<t\). We also have

$$\begin{aligned} U_i=\dfrac{H^{i}_{I}(M,N)/xH^i_{I}(M,N)}{\left( xH^i_{I}(M,N)+H_{i,k}\right) /xH^i_{I}(M,N)}, \end{aligned}$$

where

$$\begin{aligned} \dfrac{xH^i_{I}(M,N)+H_{i,k}}{xH^i_{I}(M,N)}\cong \dfrac{H_{i,k}}{xH^i_{I}(M,N)\cap H_{i,k}} \end{aligned}$$

is a finitely generated R-module for all \(0\le i<t\). Therefore, R-module \(H^{i}_{I}(M,N)/xH^i_{I}(M,N)\) also is a minimax R-module by [18, Sect. 4] for all \(0\le i<t\). Moreover, by (2.4) and the inductive assumption, we obtain that \({{\,\mathrm{Hom}\,}}_{R}\big (R/I_{M},H^{i}_{I}(M,N)/xH^i_{I}(M,N))\) is a finitely generated R-module for all \(0\le i<t\). Hence, we obtain that \(H^{i}_{I}(M,N)/xH^i_{I}(M,N)\) is \(I_{M}\)-cofinite for all \(0\le i<t\) by [18, Proposition 4.3]. We keep in mind the fact as mentioned in (*). Therefore, we get by the sequence (2.4) again that \((0:_{H^{i}_{I}(M,N)}x)\) is \(I_{M}\)-cofinite for all \(0\le i<t\) and \({{\,\mathrm{Hom}\,}}_{R}\big (R/I_{M},(0:_{H^{t}_{I}(M,N)}x)\big )\) is a finitely generated R-module. From the \(I_{M}\)-cofiniteness of \(H^{i}_{I}(M,N)/xH^i_{I}(M,N)\) and \((0:_{H^{i}_{I}(M,N)}x)\) for all \(0\le i<t\), we get that \(H^{i}_{I}(M,N)\) is \(I_{M}\)-cofinite for all \(0\le i<t\) by [6, Lemma 3.1]. Moreover, note that

$$\begin{aligned} {{\,\mathrm{Hom}\,}}_{R}\big (R/I_{M},(0:x)_{H^{t}_{I}(M,N)}\big )={{\,\mathrm{Hom}\,}}_{R}\left( R/I_{M},H^{t}_{I}(M,N)\right) \end{aligned}$$

since \(x\in I_{M}\). Hence, \({{\,\mathrm{Hom}\,}}_{R}(R/I_{M},H^{t}_{I}(M,N))\) is finitely generated, as required. \(\square \)

Note that if \(\dim {{\,\mathrm{Supp}\,}}_{R}(H^{i}_{I}(M,N))\le 1\) for all \(i<t\) then \(H^{i}_{I}(M,N)_{\mathfrak {p}}=0\) for all \(i<t\) and all \(\mathfrak {p}\in \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\) with \(\dim R/\mathfrak {p}>1\). Hence, as an immediate consequence of Theorem 2.7 we obtain again a result of Cuong–Goto–Hoang (see [6, Theorem 1.2]) which says that Let tbe a non-negative integer such that\(\dim {{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\le 1\)for all \(j<t\). Then\(H^{i}_{I}(M,N)\)is I-cofinite for all \(i<t\)and\({{\,\mathrm{Hom}\,}}_{R}(R/I,H^{t}_{I}(M,N))\)is finitely generated.

By replacing \(M=R\) in Theorem 2.7 we get the following result for the case of ordinary local cohomology modules \(H^{i}_{I}(N)\).

Corollary 2.8

Let t be a non-negative integer such that \(H^{i}_{I}(N)_{\mathfrak {p}}\) is a finitely generated module over \(R_{\mathfrak {p}}\) for all \(i < t\) and all \(\mathfrak {p}\in \bigcup _{j<t}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(N))\) with \(\dim R/\mathfrak {p}> 1\). Then \(H^{i}_{I}(N)\) is I-cofinite for all \(i<t\) and \({{\,\mathrm{Hom}\,}}_{R}(R/I,H^{t}_{I}(N))\) is finitely generated.

The result [2, Proposition 3.1] says that if\(H^{i}_{I}(N)_{\mathfrak {p}}\)is finitely generated over \(R_{\mathfrak {p}}\)for all\(i<t\) and all \(\mathfrak {p}\in {{\,\mathrm{Supp}\,}}(N/IN)\)with \(\dim R/\mathfrak {p}>1\)then\(H^{i}_{I}(N)\)is I-cofinite for all \(i<t\) and \({{\,\mathrm{Hom}\,}}_{R}(R/I,H^{t}_{I}(N))\)is finitely generated. Thus Corollary 2.8 is a slight improvement of [2, Proposition 3.1] of Bahmanpour–Naghipour–Sedghi; and so Corollary 2.8 is also an extension of Bahmanpour–Naghipour [3, Theorem 2.6].

Remark 2.9

For any \(0\le n\in \mathbb {Z}\). Note that the notion of in dimension \(<n\) module is mentioned in Remark 2.2. On the other hand, in the proof of [14, Theorem 2.4], we consider the number \(h^n_{I}(M,N)\) defined by

$$\begin{aligned} h^n_{I}(M,N)=\inf \{0\le i\in \mathbb {Z}\mid H^{i}_{I}(M,N)\text { is not in dimension }<n\}. \end{aligned}$$

Now, as an application of Theorem 2.7, we get the following result on the cofiniteness of \(H^{i}_{I}(M,N)\) whenever \(i<h^2_{I}(M,N)\).

Corollary 2.10

The R-module \(H^{i}_{I}(M,N)\) is I-cofinite for all \(i<h^2_{I}(M,N)\) and \({{\,\mathrm{Hom}\,}}_{R}(R/I,H^{h^2_{I}(M,N)}_{I}(M,N))\) is finitely generated, where

$$\begin{aligned} h^2_{I}(M,N)=\inf \{0\le i\in \mathbb {Z}\mid H^{i}_{I}(M,N)\text { is not in dimention }< 2\}. \end{aligned}$$

Proof

For any \(0\le n\in \mathbb {Z}\). We recall that the nth finiteness dimension \(f^n_{I}(M,N)\) of M and N with respect to I was defined in [14, Definition 2.3] as follows:

$$\begin{aligned} f^n_{I}(M,N)=\inf \{f_{I_{\mathfrak {p}}}(M_{\mathfrak {p}},N_{\mathfrak {p}})\mid \mathfrak {p}\in {{\,\mathrm{Supp}\,}}_{R}(N/I_MN), \dim R/\mathfrak {p}\ge n\}, \end{aligned}$$

where \(f_{I_{\mathfrak {p}}}(M_{\mathfrak {p}},N_{\mathfrak {p}})\) is the least integer i such that \(H^i_{I_{\mathfrak {p}}}(M_{\mathfrak {p}},N_{\mathfrak {p}})\) is not a finitely generated \(R_{\mathfrak {p}}\)-module.

Hence, we obtain in the case of \(n=2\) that \(H^{i}_{I}(M,N)_{\mathfrak {p}}\) is a finitely generated \(R_{\mathfrak {p}}\)-module for all \(i<f^2_{I}(M,N)\) and all \(\mathfrak {p}\in {{\,\mathrm{Supp}\,}}_{R}(N/I_MN)\) with \(\dim R/\mathfrak {p}\ge 2\). On the other hand, in [14, Theorem 2.4], we proved that \(h^2_{I}(M,N)=f^2_{I}(M,N)\). Thus, \(H^{i}_{I}(M,N)_{\mathfrak {p}}\) is finitely generated over \(R_{\mathfrak {p}}\) for all \(i<h^2_{I}(M,N)\) and all \(\mathfrak {p}\in \bigcup _{j<h^2_{I}(M,N)}{{\,\mathrm{Supp}\,}}_{R}(H^{j}_{I}(M,N))\) with \(\dim R/\mathfrak {p}>1\). Therefore, we obtain by Theorem 2.7 that the R-module \(H^{i}_{I}(M,N)\) is I-cofinite for all \(i<h^2_{I}(M,N)\), and \({{\,\mathrm{Hom}\,}}_{R}(R/I,H^{h^2_{I}(M,N)}_{I}(M,N))\) is finitely generated, as required. \(\square \)