The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.Depth.Basic

35 declarations. Mathlib docs · Source

The Definition of Depth

In this file, we give the definition of depth of a module over a local ring. We also establish some basic facts about it using the Rees theorem proven in file Mathlib.RingTheory.Depth.Rees. In this file, R will usually be a noetherian commutative ring, all modules refer to R-module.

Main definition and results

  • ModuleCat.depth : The depth between two R-modules defined as the minimal nontrivial Ext between them, equal to ⊤ : ℕ∞ if no such index.

  • Ideal.depth : The depth of an R-module M with respect to an ideal I, defined as depth (R ⧸ I) M. This is grade(I, M) in Bruns–Herzog, where "depth" is reserved for the local case below.

  • IsLocalRing.depth : For a local ring R, the depth of an R-module with respect to the maximal ideal.

  • ModuleCat.depth_eq_depth_of_support_eq : For I : Ideal R, if support of a finitely generated module N is equal to PrimeSpectrum.zeroLocus I, then for any finitely generated nontrivial module M with IM < M, depth N M = I.depth M

  • ModuleCat.depth_eq_sSup_length_isRegular : For I : Ideal R, nontrivial finitely generated module M and N, if support of N is equal to PrimeSpectrum.zeroLocus I and IM < M, depth N M is equal to the supremum of length of M-regular sequence in I

  • Ideal.depth_eq_sSup_length_isRegular : For finitely generated module M and an ideal I of Noetherian ring R with IM < M, I.depth M equals to maximal length of M-regular sequences contained in I.

References

  • [Commutative Algebra, Theorem 28][matsumuraCommAlg]
  • [W. Bruns, J. Herzog, Cohen–Macaulay rings][brunsHerzog1998]

theorem ModuleCat.depth.congr_simp E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (N N_1 : ModuleCat R),
  N = N_1 → ∀ (M M_1 : ModuleCat R), M = M_1 → N.depth M = N_1.depth M_1

def ModuleCat.depth E1 #

{R : Type u} → [inst : CommRing R] → [Small.{v, u} R] → ModuleCat R → ModuleCat R → ℕ∞

The depth between two R-modules defined as the minimal nontrivial Ext between them.

def Ideal.depth E1 #

{R : Type u} → [inst : CommRing R] → [Small.{v, u} R] → Ideal R → ModuleCat R → ℕ∞

The depth of an R-module M with respect to an ideal I, defined as depth (R ⧸ I) M.

def IsLocalRing.depth E1 #

{R : Type u} → [inst : CommRing R] → [Small.{v, u} R] → [IsLocalRing R] → ModuleCat R → ℕ∞

For a local ring R, the depth of an R-module with respect to the maximal ideal.

theorem ModuleCat.depth_eq_top_iff E0 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (N M : ModuleCat R),
  N.depth M = ⊤ ↔ ∀ (i : ℕ), Subsingleton (CategoryTheory.Abelian.Ext N M i)

theorem ModuleCat.depth_eq_top_of_subsingleton E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (N M : ModuleCat R) [Subsingleton ↑M], N.depth M = ⊤

theorem Ideal.depth_eq_top_of_subsingleton E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (I : Ideal R) (M : ModuleCat R) [Subsingleton ↑M],
  I.depth M = ⊤

theorem IsLocalRing.depth_eq_top_of_subsingleton E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [inst_2 : IsLocalRing R] (M : ModuleCat R)
  [Subsingleton ↑M], IsLocalRing.depth M = ⊤

theorem ModuleCat.depth_lt_top_iff E0 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (N M : ModuleCat R),
  N.depth M < ⊤ ↔ ∃ n, Nontrivial (CategoryTheory.Abelian.Ext N M n)

theorem ModuleCat.depth_eq_iff E0 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (N M : ModuleCat R) (n : ℕ),
  N.depth M = ↑n ↔
    Nontrivial (CategoryTheory.Abelian.Ext N M n) ∧ ∀ i < n, Subsingleton (CategoryTheory.Abelian.Ext N M i)

theorem ModuleCat.subsingleton_ext_of_lt_depth E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] {N M : ModuleCat R} {i : ℕ},
  ↑i < N.depth M → Subsingleton (CategoryTheory.Abelian.Ext N M i)

theorem ModuleCat.depth_eq_sSup_lt_top E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (N M : ModuleCat R),
  N.depth M = sSup {n | n < ⊤ ∧ ∀ (i : ℕ), ↑i < n → Subsingleton (CategoryTheory.Abelian.Ext N M i)}

theorem ModuleCat.depth_eq_depth_of_support_eq E0 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [IsNoetherianRing R] (I : Ideal R) (N M : ModuleCat R)
  [Module.Finite R ↑M] [Module.Finite R ↑N] [Nontrivial ↑N],
  I • ⊤ < ⊤ → Module.support R ↑N = PrimeSpectrum.zeroLocus ↑I → N.depth M = I.depth M

This lemma relates the general depth between two modules and the depth of a module with respect to an ideal, which is used more frequently.

theorem ModuleCat.depth_eq_of_iso_left E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (M : ModuleCat R) {N N' : ModuleCat R} (e : N ≅ N'),
  N.depth M = N'.depth M

theorem ModuleCat.depth_eq_of_iso_right E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (N : ModuleCat R) {M M' : ModuleCat R} (e : M ≅ M'),
  N.depth M = N.depth M'

theorem Ideal.depth_eq_of_iso E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (I : Ideal R) {M M' : ModuleCat R} (e : M ≅ M'),
  I.depth M = I.depth M'

theorem IsLocalRing.depth_eq_of_iso E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [inst_2 : IsLocalRing R] {M M' : ModuleCat R} (e : M ≅ M'),
  IsLocalRing.depth M = IsLocalRing.depth M'

theorem ModuleCat.depth_eq_zero_iff_nontrivial_linearMap E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (N M : ModuleCat R),
  N.depth M = 0 ↔ Nontrivial (↑N →ₗ[R] ↑M)

theorem ModuleCat.depth_min_fst_trd_le_snd_left E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (S : CategoryTheory.ShortComplex (ModuleCat R)),
  S.ShortExact → ∀ (N : ModuleCat R), min (S.X₁.depth N) (S.X₃.depth N) ≤ S.X₂.depth N

theorem ModuleCat.depth_min_snd_trd_sub_one_le_fst_left E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (S : CategoryTheory.ShortComplex (ModuleCat R)),
  S.ShortExact → ∀ (N : ModuleCat R), min (S.X₂.depth N) (S.X₃.depth N - 1) ≤ S.X₁.depth N

theorem ModuleCat.depth_min_snd_fst_add_one_le_trd_left E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (S : CategoryTheory.ShortComplex (ModuleCat R)),
  S.ShortExact → ∀ (N : ModuleCat R), min (S.X₂.depth N) (S.X₁.depth N + 1) ≤ S.X₃.depth N

theorem ModuleCat.depth_min_fst_trd_le_snd_right E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (N : ModuleCat R)
  (S : CategoryTheory.ShortComplex (ModuleCat R)), S.ShortExact → min (N.depth S.X₁) (N.depth S.X₃) ≤ N.depth S.X₂

theorem ModuleCat.depth_min_snd_trd_add_one_le_fst_right E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (N : ModuleCat R)
  (S : CategoryTheory.ShortComplex (ModuleCat R)), S.ShortExact → min (N.depth S.X₂) (N.depth S.X₃ + 1) ≤ N.depth S.X₁

theorem ModuleCat.depth_min_snd_fst_sub_one_le_trd_right E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (N : ModuleCat R)
  (S : CategoryTheory.ShortComplex (ModuleCat R)), S.ShortExact → min (N.depth S.X₂) (N.depth S.X₁ - 1) ≤ N.depth S.X₃

theorem ModuleCat.depth_eq_sSup_length_isRegular E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [IsNoetherianRing R] (I : Ideal R) (N M : ModuleCat R)
  [Module.Finite R ↑M] [Module.Finite R ↑N] [Nontrivial ↑N],
  I • ⊤ < ⊤ →
    Module.support R ↑N = PrimeSpectrum.zeroLocus ↑I →
      N.depth M = sSup {x | ∃ rs, ∃ (_ : RingTheory.Sequence.IsRegular (↑M) rs) (_ : ∀ r ∈ rs, r ∈ I), ↑rs.length = x}

theorem Ideal.depth_eq_sSup_length_isRegular E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [IsNoetherianRing R] (I : Ideal R) (M : ModuleCat R)
  [Module.Finite R ↑M],
  I • ⊤ < ⊤ →
    I.depth M = sSup {x | ∃ rs, ∃ (_ : RingTheory.Sequence.IsRegular (↑M) rs) (_ : ∀ r ∈ rs, r ∈ I), ↑rs.length = x}

theorem IsLocalRing.ideal_depth_eq_sSup_length_isRegular E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [IsLocalRing R] [IsNoetherianRing R] (I : Ideal R),
  I ≠ ⊤ →
    ∀ (M : ModuleCat R) [Module.Finite R ↑M] [Nontrivial ↑M],
      I.depth M = sSup {x | ∃ rs, ∃ (_ : RingTheory.Sequence.IsRegular (↑M) rs) (_ : ∀ r ∈ rs, r ∈ I), ↑rs.length = x}

theorem Ideal.depth_le_depth_of_le E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [IsNoetherianRing R] {I J : Ideal R},
  I ≤ J → ∀ (M : ModuleCat R) [Module.Finite R ↑M], J • ⊤ < ⊤ → I.depth M ≤ J.depth M

theorem IsLocalRing.depth_eq_sSup_length_isRegular E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [inst_2 : IsLocalRing R] [IsNoetherianRing R]
  (M : ModuleCat R) [Module.Finite R ↑M] [Nontrivial ↑M],
  IsLocalRing.depth M =
    sSup
      {x |
        ∃ rs,
          ∃ (_ : RingTheory.Sequence.IsRegular (↑M) rs) (_ : ∀ r ∈ rs, r ∈ IsLocalRing.maximalIdeal R), ↑rs.length = x}

theorem IsLocalRing.ideal_depth_le_depth E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [inst_2 : IsLocalRing R] [IsNoetherianRing R]
  (I : Ideal R), I ≠ ⊤ → ∀ (M : ModuleCat R) [Module.Finite R ↑M] [Nontrivial ↑M], I.depth M ≤ IsLocalRing.depth M

theorem ModuleCat.depth_uliftFunctor_obj E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [inst_2 : Small.{max v w, u} R] (N M : ModuleCat R),
  ((ModuleCat.uliftFunctor.{w, v, u} R).obj N).depth ((ModuleCat.uliftFunctor.{w, v, u} R).obj M) = N.depth M

theorem ModuleCat.depth_eq_of_linearEquiv E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [inst_2 : Small.{w, u} R] {N M : Type v} {N' M' : Type w}
  [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N]
  [inst_7 : AddCommGroup M'] [inst_8 : Module R M'] [inst_9 : AddCommGroup N'] [inst_10 : Module R N'] (eN : N ≃ₗ[R] N')
  (eM : M ≃ₗ[R] M'), (↧N).depth ↧M = (↧N').depth ↧M'

theorem Ideal.depth_eq_of_linearEquiv E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [inst_2 : Small.{w, u} R] {M : Type v} {M' : Type w}
  [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup M'] [inst_6 : Module R M'] (I : Ideal R)
  (eM : M ≃ₗ[R] M'), I.depth ↧M = I.depth ↧M'

theorem IsLocalRing.depth_eq_of_linearEquiv E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] [inst_2 : Small.{w, u} R] {M : Type v} {M' : Type w}
  [inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : AddCommGroup M'] [inst_6 : Module R M']
  [inst_7 : IsLocalRing R] (eM : M ≃ₗ[R] M'), IsLocalRing.depth ↧M = IsLocalRing.depth ↧M'

theorem Ideal.depth_shrink E1 #

∀ {R : Type u} [inst : CommRing R] [inst_1 : Small.{v, u} R] (I : Ideal R), I.depth ↧(Shrink.{v, u} R) = I.depth ↧R