Regular sequences generate a proper ideal
DefinitionOAI_NumberTheory_PiExponent_LocalAlgebra_RegularDegreePositivitycommutative-algebranumber-theoryopenai-pi-exponent-017
For a regular sequence rs in the source ring context, the ideal generated by the entries of rs is not the whole ring. Consequently, every indexed term rs[i], for i in the sequence's finite index type, is not a unit.
Definition code
import Mathlib.RingTheory.Ideal.Quotient.Operations
import Mathlib.RingTheory.MvPolynomial.Homogeneous
import Mathlib.RingTheory.Regular.RegularSequence
namespace OAI
namespace PiExponentSiegel.W20
open scoped BigOperators
section Ring
variable {R : Type*} [CommRing R]
theorem regular_sequence_ideal_ne_top (rs : List R)
(hreg : RingTheory.Sequence.IsRegular R rs) : Ideal.ofList rs ≠ ⊤ := by
intro htop
apply hreg.top_ne_smul
have hmul : (Ideal.ofList rs • (⊤ : Submodule R R)) = Ideal.ofList rs :=
(Ideal.ofList rs).mul_top
rw [hmul, htop]
theorem regular_sequence_term_not_isUnit (rs : List R)
(hreg : RingTheory.Sequence.IsRegular R rs) (i : Fin rs.length) :
¬ IsUnit rs[i] := by
intro hunit
apply regular_sequence_ideal_ne_top rs hreg
exact (Ideal.ofList rs).eq_top_of_isUnit_mem
(Ideal.subset_span (List.getElem_mem i.isLt)) hunit
end Ring
variable {k σ : Type*} [Field k]
end PiExponentSiegel.W20
end OAI
Source
OpenAI math, commit adc7f1241b42e322a6451854ab7e4b4c146bf78a: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/PiExponent/LocalAlgebra/RegularDegreePositivity.lean#L15-L29