Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

If ps0ps_0ps0​ followed by P0,…,Pr−1P_0, \dots, P_{r-1}P0​,…,Pr−1​ is weakly regular, then PkP_kPk​ is a nonzerodivisor on S/((ps0)+(Pj)j<k)S/((ps_0) + (P_j)_{j<k})S/((ps0​)+(Pj​)j<k​)

Proved
DiazModulus.isSMulRegular_quotient_of_isWeaklyRegular_append

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

commutative-algebradiaz-modulus-leanhilbert-functiontranscendence

Let SSS be a commutative ring, ps0ps_0ps0​ a finite list of elements of SSS and P0,…,Pr−1∈SP_0, \dots, P_{r-1} \in SP0​,…,Pr−1​∈S, and assume that the list ps0ps_0ps0​ followed by P0,…,Pr−1P_0, \dots, P_{r-1}P0​,…,Pr−1​ is weakly regular on SSS. Then for every k<rk < rk<r, PkP_kPk​ is a nonzerodivisor on S/((ps0)+(Pj:j<k))S/((ps_0) + (P_j : j < k))S/((ps0​)+(Pj​:j<k)). A list is weakly regular on SSS when each entry is a nonzerodivisor on the quotient of SSS by the ideal generated by the earlier entries (Mathlib's IsWeaklyRegular; the final quotient may be zero). For a list ps0ps_0ps0​, (ps0)(ps_0)(ps0​) is the ideal generated by its entries and ∣ps0∣|ps_0|∣ps0​∣ its length.

Proof. This is the definition of weak regularity read at the position ∣ps0∣+k|ps_0| + k∣ps0​∣+k: the entry there is PkP_kPk​, and the ideal generated by the earlier entries is (ps0)+(Pj:j<k)(ps_0) + (P_j : j < k)(ps0​)+(Pj​:j<k). Mathlib states regularity on the quotient module S/(I⋅S)S/(I \cdot S)S/(I⋅S), and I⋅S=II \cdot S = II⋅S=I for an ideal.

Novelty. Classical; routine formalisation.

Preamble
import Mathlib
Formal statement
namespace DiazModulus

theorem isSMulRegular_quotient_of_isWeaklyRegular_append {S : Type*} [CommRing S] (ps₀ : List S) {r : ℕ}
    (P : Fin r → S) (h : RingTheory.Sequence.IsWeaklyRegular S (ps₀ ++ List.ofFn P)) (k : Fin r) :
    IsSMulRegular (S ⧸ (Ideal.ofList ps₀ ⊔ Ideal.span (P '' {j | j < k}))) (P k) := by
  sorry

end DiazModulus
Source
Classical commutative algebra (regular sequences); a reformulation of the definition. C1.1 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