The Stacks project, tag 0AVY, at revision a04446e (28 July 2026). Official page: stacks.math.columbia.edu/tag/0AVY
Depth
In this section we revisit the notion of depth introduced in Algebra, Section 10.72.
Lemma 47.11.1 (0AVZ) official page ↗
Let \(A\) be a Noetherian ring, let \(I \subset A\) be an ideal, and let \(M\) be a finite \(A\)-module such that \(IM \not = M\). Then the following integers are equal:
\(\text{depth}_I(M)\),
the smallest integer \(i\) such that \(\Ext_A^i(A/I, M)\) is nonzero, and
the smallest integer \(i\) such that \(H^i_I(M)\) is nonzero.
Moreover, we have \(\Ext^i_A(N, M) = 0\) for \(i < \text{depth}_I(M)\) for any finite \(A\)-module \(N\) annihilated by a power of \(I\).
Proof. We prove the equality of (1) and (2) by induction on \(\text{depth}_I(M)\) which is allowed by Algebra, Lemma 10.72.4.
Base case. If \(\text{depth}_I(M) = 0\), then \(I\) is contained in the union of the associated primes of \(M\) (Algebra, Lemma 10.63.9). By prime avoidance (Algebra, Lemma 10.15.2) we see that \(I \subset \mathfrak p\) for some associated prime \(\mathfrak p\). Hence \(\Hom_A(A/I, M)\) is nonzero. Thus equality holds in this case.
Assume that \(\text{depth}_I(M) > 0\). Let \(f \in I\) be a nonzerodivisor on \(M\) such that \(\text{depth}_I(M/fM) = \text{depth}_I(M) - 1\). Consider the short exact sequence \[0 \to M \to M \to M/fM \to 0\] and the associated long exact sequence for \(\Ext^*_A(A/I, -)\). Note that \(\Ext^i_A(A/I, M)\) is a finite \(A/I\)-module (Algebra, Lemmas 10.71.9 and 10.71.8). Hence we obtain \[\Hom_A(A/I, M/fM) = \Ext^1_A(A/I, M)\] and short exact sequences \[0 \to \Ext^i_A(A/I, M) \to \text{Ext}^i_A(A/I, M/fM) \to \Ext^{i + 1}_A(A/I, M) \to 0\] Thus the equality of (1) and (2) by induction.
Observe that \(\text{depth}_I(M) = \text{depth}_{I^n}(M)\) for all \(n \geq 1\) for example by Algebra, Lemma 10.68.9. Hence by the equality of (1) and (2) we see that \(\Ext^i_A(A/I^n, M) = 0\) for all \(n\) and \(i < \text{depth}_I(M)\). Let \(N\) be a finite \(A\)-module annihilated by a power of \(I\). Then we can choose a short exact sequence \[0 \to N' \to (A/I^n)^{\oplus m} \to N \to 0\] for some \(n, m \geq 0\). Then \(\Hom_A(N, M) \subset \Hom_A((A/I^n)^{\oplus m}, M)\) and \(\Ext^i_A(N, M) \subset \text{Ext}^{i - 1}_A(N', M)\) for \(i < \text{depth}_I(M)\). Thus a simply induction argument shows that the final statement of the lemma holds.
Finally, we prove that (3) is equal to (1) and (2). We have \(H^p_I(M) = \colim \Ext^p_A(A/I^n, M)\) by Lemma 47.8.2. Thus we see that \(H^i_I(M) = 0\) for \(i < \text{depth}_I(M)\). For \(i = \text{depth}_I(M)\), using the vanishing of \(\Ext_A^{i - 1}(I/I^n, M)\) we see that the map \(\Ext_A^i(A/I, M) \to H_I^i(M)\) is injective which proves nonvanishing in the correct degree.
Lemma 47.11.2 (0BUV) official page ↗
Let \(A\) be a Noetherian ring. Let \(0 \to N' \to N \to N'' \to 0\) be a short exact sequence of finite \(A\)-modules. Let \(I \subset A\) be an ideal.
\(\text{depth}_I(N) \geq \min\{\text{depth}_I(N'), \text{depth}_I(N'')\}\)
\(\text{depth}_I(N'') \geq \min\{\text{depth}_I(N), \text{depth}_I(N') - 1\}\)
\(\text{depth}_I(N') \geq \min\{\text{depth}_I(N), \text{depth}_I(N'') + 1\}\)
Proof. Assume \(IN \not = N\), \(IN' \not = N'\), and \(IN'' \not = N''\). Then we can use the characterization of depth using the Ext groups \(\Ext^i(A/I, N)\), see Lemma 47.11.1, and use the long exact cohomology sequence \[\begin{matrix} 0 \to \Hom_A(A/I, N') \to \Hom_A(A/I, N) \to \Hom_A(A/I, N'') \\ \phantom{0\ } \to \Ext^1_A(A/I, N') \to \Ext^1_A(A/I, N) \to \Ext^1_A(A/I, N'') \to \ldots \end{matrix}\] from Algebra, Lemma 10.71.6. This argument also works if \(IN = N\) because in this case \(\Ext^i_A(A/I, N) = 0\) for all \(i\). Similarly in case \(IN' \not = N'\) and/or \(IN'' \not = N''\).
Lemma 47.11.3 (0BUW) official page ↗
Let \(A\) be a Noetherian ring, let \(I \subset A\) be an ideal, and let \(M\) a finite \(A\)-module with \(IM \not = M\).
If \(x \in I\) is a nonzerodivisor on \(M\), then \(\text{depth}_I(M/xM) = \text{depth}_I(M) - 1\).
Any \(M\)-regular sequence \(x_1, \ldots, x_r\) in \(I\) can be extended to an \(M\)-regular sequence in \(I\) of length \(\text{depth}_I(M)\).
Proof. Part (2) is a formal consequence of part (1). Let \(x \in I\) be as in (1). By the short exact sequence \(0 \to M \to M \to M/xM \to 0\) and Lemma 47.11.2 we see that \(\text{depth}_I(M/xM) \geq \text{depth}_I(M) - 1\). On the other hand, if \(x_1, \ldots, x_r \in I\) is a regular sequence for \(M/xM\), then \(x, x_1, \ldots, x_r\) is a regular sequence for \(M\). Hence (1) holds.
Lemma 47.11.4 (0BUX) official page ↗
Let \(R\) be a Noetherian local ring. If \(M\) is a finite Cohen-Macaulay \(R\)-module and \(I \subset R\) a nontrivial ideal. Then \[\text{depth}_I(M) = \dim(\text{Supp}(M)) - \dim(\text{Supp}(M/IM)).\]
Proof. We will prove this by induction on \(\text{depth}_I(M)\).
If \(\text{depth}_I(M) = 0\), then \(I\) is contained in one of the associated primes \(\mathfrak p\) of \(M\) (Algebra, Lemma 10.63.18). Then \(\mathfrak p \in \text{Supp}(M/IM)\), hence \(\dim(\text{Supp}(M/IM)) \geq \dim(R/\mathfrak p) = \dim(\text{Supp}(M))\) where equality holds by Algebra, Lemma 10.103.7. Thus the lemma holds in this case.
If \(\text{depth}_I(M) > 0\), we pick \(x \in I\) which is a nonzerodivisor on \(M\). Note that \((M/xM)/I(M/xM) = M/IM\). On the other hand we have \(\text{depth}_I(M/xM) = \text{depth}_I(M) - 1\) by Lemma 47.11.3 and \(\dim(\text{Supp}(M/xM)) = \dim(\text{Supp}(M)) - 1\) by Algebra, Lemma 10.63.10. Thus the result by induction hypothesis.
Lemma 47.11.5 (0BUY) official page ↗
Let \(R \to S\) be a flat local ring homomorphism of Noetherian local rings. Denote \(\mathfrak m \subset R\) the maximal ideal. Let \(I \subset S\) be an ideal. If \(S/\mathfrak mS\) is Cohen-Macaulay, then \[\text{depth}_I(S) \geq \dim(S/\mathfrak mS) - \dim(S/\mathfrak mS + I)\]
Proof. By Algebra, Lemma 10.99.3 any sequence in \(S\) which maps to a regular sequence in \(S/\mathfrak mS\) is a regular sequence in \(S\). Thus it suffices to prove the lemma in case \(R\) is a field. This is a special case of Lemma 47.11.4.
Lemma 47.11.6 (0AW0) official page ↗
Let \(A\) be a ring and let \(I \subset A\) be a finitely generated ideal. Let \(M\) be an \(A\)-module. Let \(Z = V(I)\). Then \(H^0_I(M) = H^0_Z(M)\). Let \(N\) be the common value and set \(M' = M/N\). Then
\(H^0_I(M') = 0\) and \(H^p_I(M) = H^p_I(M')\) and \(H^p_I(N) = 0\) for all \(p > 0\),
\(H^0_Z(M') = 0\) and \(H^p_Z(M) = H^p_Z(M')\) and \(H^p_Z(N) = 0\) for all \(p > 0\).
Proof. By definition \(H^0_I(M) = M[I^\infty]\) is \(I\)-power torsion. By Lemma 47.9.1 we see that \[H^0_Z(M) = \Ker(M \longrightarrow M_{f_1} \times \ldots \times M_{f_r})\] if \(I = (f_1, \ldots, f_r)\). Thus \(H^0_I(M) \subset H^0_Z(M)\) and conversely, if \(x \in H^0_Z(M)\), then it is annihilated by a \(f_i^{e_i}\) for some \(e_i \geq 1\) hence annihilated by some power of \(I\). This proves the first equality and moreover \(N\) is \(I\)-power torsion. By Lemma 47.8.1 we see that \(R\Gamma_I(N) = N\). By Lemma 47.9.1 we see that \(R\Gamma_Z(N) = N\). This proves the higher vanishing of \(H^p_I(N)\) and \(H^p_Z(N)\) in (1) and (2). The vanishing of \(H^0_I(M')\) and \(H^0_Z(M')\) follow from the preceding remarks and the fact that \(M'\) is \(I\)-power torsion free by More on Algebra, Lemma 15.90.4. The equality of higher cohomologies for \(M\) and \(M'\) follow immediately from the long exact cohomology sequence.