/-
Copyright 2026 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/
module
public import FormalConjecturesForMathlib.RingTheory.SystemOfParametersSmall and big Cohen-Macaulay modules
Let R be a local ring. A small Cohen-Macaulay module, also called a maximal Cohen-Macaulay
module, is a finitely generated nonzero R-module M such that some system of parameters of R
is a regular sequence on M. A balanced big Cohen-Macaulay module is an R-module W, not
necessarily finitely generated, with m • W ≠ W and such that every system of parameters of R
is a regular sequence on W. Over a Noetherian local ring the two notions agree for finitely
generated modules.
Both definitions are only intended for Noetherian local rings, where systems of parameters exist.
Main declarations
Module.IsSmallCohenMacaulay R M: M is a small Cohen-Macaulay R-module.
Module.IsBalancedBigCohenMacaulay R W: W is a balanced big Cohen-Macaulay R-module.
@[expose] public sectionopen IsLocalRingnamespace Modulevariable (R : Type*) [CommRing R] [IsLocalRing R]variable (M : Type*) [AddCommGroup M] [Module R M]
A small Cohen-Macaulay module over a local ring R is a finitely generated R-module M,
necessarily nonzero, such that some system of parameters of R is a regular sequence on M.
Such a module is also called a maximal Cohen-Macaulay module. Nonzeroness is automatic, see
Module.IsSmallCohenMacaulay.nontrivial.
structure IsSmallCohenMacaulay : Prop whereA small Cohen-Macaulay module is finitely generated.
finite : Module.Finite R M
Some system of parameters of R is a regular sequence on M.
exists_isRegular : ∃ rs, IsSystemOfParameters R rs ∧ RingTheory.Sequence.IsRegular M rs
A balanced big Cohen-Macaulay module over a local ring R is an R-module M, not necessarily
finitely generated, with m • M ≠ M and such that every system of parameters of R is a regular
sequence on M.
Part of the literature calls this simply a big Cohen-Macaulay module, and reserves the weaker
condition that some system of parameters is a regular sequence for that name. Over a Noetherian
local ring the field smul_top_ne_top follows from isRegular, see
Module.smul_top_ne_top_of_isRegular.
structure IsBalancedBigCohenMacaulay : Prop whereThe maximal ideal does not act by the identity on the module.
smul_top_ne_top : maximalIdeal R • (⊤ : Submodule R M) ≠ ⊤
Every system of parameters of R is a regular sequence on M.
isRegular : ∀ rs, IsSystemOfParameters R rs → RingTheory.Sequence.IsRegular M rsvariable {R M}
A small Cohen-Macaulay module is nonzero: a regular sequence on M is one for which M is not
killed by the ideal it generates.
R:Type u_1inst✝³:CommRing Rinst✝²:IsLocalRing RM:Type u_2inst✝¹:AddCommGroup Minst✝:Module R Mh:IsSmallCohenMacaulay R Mrs:List Rhrs:RingTheory.Sequence.IsRegular M rshM:Subsingleton M⊢ False
exact hrs.top_ne_smul (@Subsingleton.elim _ ((Submodule.subsingleton_iff R).mpr hM) _ _) All goals completed! 🐙A balanced big Cohen-Macaulay module is nonzero: on the zero module the maximal ideal acts by the identity.
theorem IsBalancedBigCohenMacaulay.nontrivial (h : IsBalancedBigCohenMacaulay R M) :
Nontrivial M := by R:Type u_1inst✝³:CommRing Rinst✝²:IsLocalRing RM:Type u_2inst✝¹:AddCommGroup Minst✝:Module R Mh:IsBalancedBigCohenMacaulay R M⊢ Nontrivial M
by_contra hM R:Type u_1inst✝³:CommRing Rinst✝²:IsLocalRing RM:Type u_2inst✝¹:AddCommGroup Minst✝:Module R Mh:IsBalancedBigCohenMacaulay R MhM:¬Nontrivial M⊢ False
rw [not_nontrivial_iff_subsingleton R:Type u_1inst✝³:CommRing Rinst✝²:IsLocalRing RM:Type u_2inst✝¹:AddCommGroup Minst✝:Module R Mh:IsBalancedBigCohenMacaulay R MhM:Subsingleton M⊢ False R:Type u_1inst✝³:CommRing Rinst✝²:IsLocalRing RM:Type u_2inst✝¹:AddCommGroup Minst✝:Module R Mh:IsBalancedBigCohenMacaulay R MhM:Subsingleton M⊢ False] at hM R:Type u_1inst✝³:CommRing Rinst✝²:IsLocalRing RM:Type u_2inst✝¹:AddCommGroup Minst✝:Module R Mh:IsBalancedBigCohenMacaulay R MhM:Subsingleton M⊢ False
exact h.smul_top_ne_top (@Subsingleton.elim _ ((Submodule.subsingleton_iff R).mpr hM) _ _) All goals completed! 🐙
Over a Noetherian local ring, m • M ≠ M follows from the regularity of a single system of
parameters, because the ideal that a system of parameters generates contains a power of the
maximal ideal.
theorem smul_top_ne_top_of_isRegular [IsNoetherianRing R] {rs : List R}
(hrs : IsSystemOfParameters R rs) (h : RingTheory.Sequence.IsRegular M rs) :
maximalIdeal R • (⊤ : Submodule R M) ≠ ⊤ := by R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rs⊢ maximalIdeal R • ⊤ ≠ ⊤
intro hm R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤⊢ False
obtain ⟨n, hn⟩ := Ideal.exists_pow_le_of_le_radical_of_fg hrs.radical_eq.ge
(IsNoetherian.noetherian _) R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rs⊢ False
have key : ∀ k : ℕ, (maximalIdeal R ^ k) • (⊤ : Submodule R M) = ⊤ := by R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rs⊢ maximalIdeal R • ⊤ ≠ ⊤ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rskey:∀ (k : ℕ), maximalIdeal R ^ k • ⊤ = ⊤⊢ False
intro k R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rsk:ℕ⊢ maximalIdeal R ^ k • ⊤ = ⊤ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rskey:∀ (k : ℕ), maximalIdeal R ^ k • ⊤ = ⊤⊢ False
induction k with
| zero => zero R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rs⊢ maximalIdeal R ^ 0 • ⊤ = ⊤ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rskey:∀ (k : ℕ), maximalIdeal R ^ k • ⊤ = ⊤⊢ False simp All goals completed! 🐙 R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rskey:∀ (k : ℕ), maximalIdeal R ^ k • ⊤ = ⊤⊢ False
| succ k ih => succ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rsk:ℕih:maximalIdeal R ^ k • ⊤ = ⊤⊢ maximalIdeal R ^ (k + 1) • ⊤ = ⊤ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rskey:∀ (k : ℕ), maximalIdeal R ^ k • ⊤ = ⊤⊢ False rw [pow_succ, succ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rsk:ℕih:maximalIdeal R ^ k • ⊤ = ⊤⊢ (maximalIdeal R ^ k * maximalIdeal R) • ⊤ = ⊤ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rskey:∀ (k : ℕ), maximalIdeal R ^ k • ⊤ = ⊤⊢ False mul_smul, succ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rsk:ℕih:maximalIdeal R ^ k • ⊤ = ⊤⊢ maximalIdeal R ^ k • maximalIdeal R • ⊤ = ⊤ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rskey:∀ (k : ℕ), maximalIdeal R ^ k • ⊤ = ⊤⊢ False hm, succ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rsk:ℕih:maximalIdeal R ^ k • ⊤ = ⊤⊢ maximalIdeal R ^ k • ⊤ = ⊤ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rskey:∀ (k : ℕ), maximalIdeal R ^ k • ⊤ = ⊤⊢ False ih succ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rsk:ℕih:maximalIdeal R ^ k • ⊤ = ⊤⊢ ⊤ = ⊤ R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rskey:∀ (k : ℕ), maximalIdeal R ^ k • ⊤ = ⊤⊢ False] R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rskey:∀ (k : ℕ), maximalIdeal R ^ k • ⊤ = ⊤⊢ False R:Type u_1inst✝⁴:CommRing Rinst✝³:IsLocalRing RM:Type u_2inst✝²:AddCommGroup Minst✝¹:Module R Minst✝:IsNoetherianRing Rrs:List Rhrs:IsSystemOfParameters R rsh:RingTheory.Sequence.IsRegular M rshm:maximalIdeal R • ⊤ = ⊤n:ℕhn:maximalIdeal R ^ n ≤ Ideal.ofList rskey:∀ (k : ℕ), maximalIdeal R ^ k • ⊤ = ⊤⊢ False
exact h.top_ne_smul (le_antisymm ((key n).ge.trans (Submodule.smul_mono hn le_rfl)) le_top) All goals completed! 🐙
Over a field K, the module K is a small Cohen-Macaulay module.
theorem isSmallCohenMacaulay_self (K : Type*) [Field K] : IsSmallCohenMacaulay K K where
finite := inferInstance
exists_isRegular := ⟨[], isSystemOfParameters_nil K, RingTheory.Sequence.IsRegular.nil K K⟩end Module