If followed by is weakly regular, then is a nonzerodivisor on
ProvedDiazModulus.isSMulRegular_quotient_of_isWeaklyRegular_appendcommutative-algebradiaz-modulus-leanhilbert-functiontranscendence
Let be a commutative ring, a finite list of elements of and , and assume that the list followed by is weakly regular on . Then for every , is a nonzerodivisor on . A list is weakly regular on when each entry is a nonzerodivisor on the quotient of by the ideal generated by the earlier entries (Mathlib's IsWeaklyRegular; the final quotient may be zero). For a list , is the ideal generated by its entries and its length.
Proof. This is the definition of weak regularity read at the position : the entry there is , and the ideal generated by the earlier entries is . Mathlib states regularity on the quotient module , and 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).