Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Over a Noetherian local ring AAA, a weakly MMM-regular sequence in the maximal ideal has length at most dim⁡A/p\dim A/\mathfrak{p}dimA/p for every associated prime p\mathfrak{p}p of MMM

Proved
DiazModulus.length_le_ringKrullDim_quotient_of_mem_associatedPrimes

by carlok · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

cohen-macaulaycommutative-algebradiaz-modulus-leanregular-sequences

Let AAA be a commutative Noetherian local ring with maximal ideal m\mathfrak{m}m, MMM a finitely generated AAA-module and rs=(r1,…,rn)rs = (r_1, \dots, r_n)rs=(r1​,…,rn​) a weakly MMM-regular sequence of elements of m\mathfrak{m}m. Then n≤dim⁡A/pn \le \dim A/\mathfrak{p}n≤dimA/p for every associated prime p\mathfrak{p}p of MMM. A list r1,…,rnr_1, \dots, r_nr1​,…,rn​ of elements of AAA is weakly MMM-regular when each rir_iri​ is a nonzerodivisor on M/(r1,…,ri−1)MM/(r_1, \dots, r_{i-1})MM/(r1​,…,ri−1​)M (Mathlib's IsWeaklyRegular; the last quotient may be zero), and MMM-regular (IsRegular) when moreover M/(r1,…,rn)M≠0M/(r_1, \dots, r_n)M \ne 0M/(r1​,…,rn​)M=0. For a list pspsps, (ps)(ps)(ps) is the ideal generated by its entries and ∣ps∣|ps|∣ps∣ its length. Krull dimensions take values in {−∞}∪N∪{∞}\{-\infty\} \cup \mathbb{N} \cup \{\infty\}{−∞}∪N∪{∞} and heights of prime ideals in N∪{∞}\mathbb{N} \cup \{\infty\}N∪{∞}.

Proof. Induction on nnn; for n=0n = 0n=0, A/pA/\mathfrak{p}A/p is a nonzero ring, of dimension at least 000. Let x=r1x = r_1x=r1​ and write p=ann⁡(m)\mathfrak{p} = \operatorname{ann}(m)p=ann(m) with m≠0m \ne 0m=0. By Krull's intersection theorem there is a largest jjj with m∈xjMm \in x^j Mm∈xjM; writing m=xjm′m = x^j m'm=xjm′ gives m′∉xMm' \notin xMm′∈/xM, and ann⁡(m′)=p\operatorname{ann}(m') = \mathfrak{p}ann(m′)=p because xxx is MMM-regular. The class of m′m'm′ in M/xMM/xMM/xM is nonzero, so it lies under an associated prime q\mathfrak{q}q of M/xMM/xMM/xM, with p+(x)⊆q\mathfrak{p} + (x) \subseteq \mathfrak{q}p+(x)⊆q, while x∉px \notin \mathfrak{p}x∈/p. Since xxx is a nonzerodivisor of the domain A/pA/\mathfrak{p}A/p and A/qA/\mathfrak{q}A/q is a quotient of (A/p)/(x)(A/\mathfrak{p})/(x)(A/p)/(x), dim⁡A/q+1≤dim⁡A/p\dim A/\mathfrak{q} + 1 \le \dim A/\mathfrak{p}dimA/q+1≤dimA/p; the induction hypothesis for M/xMM/xMM/xM, r2,…,rnr_2, \dots, r_nr2​,…,rn​ and q\mathfrak{q}q gives n−1≤dim⁡A/qn - 1 \le \dim A/\mathfrak{q}n−1≤dimA/q.

Novelty. Classical; routine formalisation.

Preamble
import Mathlib
Formal statement
namespace DiazModulus

theorem length_le_ringKrullDim_quotient_of_mem_associatedPrimes {A : Type*} [CommRing A] [IsNoetherianRing A]
    [IsLocalRing A] (rs : List A) {M : Type*} [AddCommGroup M] [Module A M] [Module.Finite A M]
    (hreg : RingTheory.Sequence.IsWeaklyRegular M rs) (hmem : ∀ r ∈ rs, r ∈ IsLocalRing.maximalIdeal A)
    (p : Ideal A) (hp : p ∈ associatedPrimes A M) :
    (rs.length : WithBot ℕ∞) ≤ ringKrullDim (A ⧸ p) := by
  sorry

end DiazModulus
Source
H. Matsumura, Commutative Ring Theory, Cambridge Studies in Advanced Mathematics 8, Cambridge University Press, Th. 17.2, in the form of regular sequences; compare W. Bruns and J. Herzog, Cohen–Macaulay Rings, Cambridge Studies in Advanced Mathematics 39, Cambridge University Press, Th. 2.1.2(a), the equality for Cohen–Macaulay modules. C1.2 of the Diaz modulus mission. Formal proof: Diaz modulus mission, 29 October 2026 (C. Perassi).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me