The Rees theorem on depth
ProvedFamousTheorems.rees_depth_theoremThe Rees theorem on depth. Let be a Noetherian ring, an ideal, a finitely generated -module with , and . The following are equivalent:
- for all and every nontrivial finitely generated with ;
- for all ;
- for all for some nontrivial finitely generated with ;
- there is an -regular sequence of length in .
Rees proved this in 1956. It shows that the -depth of (the length of a maximal -regular sequence in ) is the smallest with . This homological description of depth underlies the theory of Cohen–Macaulay rings and the Auslander–Buchsbaum formula.
Formalization note. Mathlib's ModuleCat.exists_isRegular_tfae (Matsumura, Commutative Algebra, Theorem 28). Modules are objects of ModuleCat.{v} R with R v-small. CategoryTheory.Abelian.Ext N M i is the -th Ext group, and vanishing is Subsingleton. appears as Shrink (R ⧸ I) to fit the universe. Module.support is the support, PrimeSpectrum.zeroLocus I is , and RingTheory.Sequence.IsRegular M rs says that rs is an -regular sequence.
import Mathlib
namespace FamousTheorems
universe v
open CategoryTheory
theorem rees_depth_theorem {R : Type*} [CommRing R] [Small.{v} R] [IsNoetherianRing R] (I : Ideal R) (n : ℕ)
(M : ModuleCat.{v} R) [Module.Finite R M] (hIM : I • (⊤ : Submodule R M) < ⊤) :
List.TFAE [∀ N : ModuleCat.{v} R, Nontrivial N → Module.Finite R N →
Module.support R N ⊆ PrimeSpectrum.zeroLocus (I : Set R) → ∀ i < n, Subsingleton (Abelian.Ext N M i),
∀ i < n, Subsingleton (Abelian.Ext (ModuleCat.of R (Shrink.{v} (R ⧸ I))) M i),
∃ N : ModuleCat.{v} R, Nontrivial N ∧ Module.Finite R N ∧
Module.support R N = PrimeSpectrum.zeroLocus (I : Set R) ∧ ∀ i < n, Subsingleton (Abelian.Ext N M i),
∃ rs : List R, rs.length = n ∧ (∀ r ∈ rs, r ∈ I) ∧ RingTheory.Sequence.IsRegular M rs] := by sorry
end FamousTheorems