The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.MvPolynomial.Ideal

25 declarations and 1 deprecated aliases. Mathlib docs · Source

theorem MvPolynomial.restrictSupportIdeal.congr_simp E1 #

∀ {σ : Type u} (R : Type v) [inst : CommSemiring R] (s s_1 : Set (σ →₀ ℕ)) (e_s : s = s_1) (hs : IsUpperSet s),
  MvPolynomial.restrictSupportIdeal R s hs = MvPolynomial.restrictSupportIdeal R s_1 ⋯

theorem MvPolynomial.mem_ideal_span_monomial_image E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] {x : MvPolynomial σ R} {s : Set (σ →₀ ℕ)},
  x ∈ Ideal.span ((fun s ↦ (MvPolynomial.monomial s) 1) '' s) ↔ ∀ xi ∈ x.support, ∃ si ∈ s, si ≤ xi

x is in a monomial ideal generated by s iff every element of its support dominates one of the generators. Note that si ≤ xi is analogous to saying that the monomial corresponding to si divides the monomial corresponding to xi.

theorem MvPolynomial.mem_ideal_span_monomial_image_iff_dvd E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] {x : MvPolynomial σ R} {s : Set (σ →₀ ℕ)},
  x ∈ Ideal.span ((fun s ↦ (MvPolynomial.monomial s) 1) '' s) ↔
    ∀ xi ∈ x.support, ∃ si ∈ s, (MvPolynomial.monomial si) 1 ∣ (MvPolynomial.monomial xi) (x.coeff xi)

theorem MvPolynomial.mem_ideal_span_X_image E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] {x : MvPolynomial σ R} {s : Set σ},
  x ∈ Ideal.span (MvPolynomial.X '' s) ↔ ∀ m ∈ x.support, ∃ i ∈ s, m i ≠ 0

x is in a monomial ideal generated by variables X iff every element of its support has a component in s.

theorem MvPolynomial.span_X_image_eq_ker_aeval_ite_mem E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] (s : Set σ) [inst_1 : DecidablePred fun x ↦ x ∈ s],
  Ideal.span (MvPolynomial.X '' s) = RingHom.ker (MvPolynomial.aeval fun x ↦ if x ∈ sᶜ then MvPolynomial.X x else 0)

theorem MvPolynomial.span_X_image_isPrime E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] [Nontrivial R] [NoZeroDivisors R] (s : Set σ),
  (Ideal.span (MvPolynomial.X '' s)).IsPrime

abbrev MvPolynomial.idealOfVars E1 #

(σ : Type u_1) → (R : Type u_2) → [inst : CommSemiring R] → Ideal (MvPolynomial σ R)

The ideal spanned by all variables.

theorem MvPolynomial.isPrime_idealOfVars E1 #

∀ (σ : Type u_1) (R : Type u_2) [inst : CommSemiring R] [Nontrivial R] [NoZeroDivisors R],
  (MvPolynomial.idealOfVars σ R).IsPrime

theorem MvPolynomial.fg_idealOfVars E1 #

∀ (σ : Type u_1) (R : Type u_2) [inst : CommSemiring R] [Finite σ], (MvPolynomial.idealOfVars σ R).FG

theorem MvPolynomial.idealOfVars_eq_restrictSupportIdeal E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R],
  MvPolynomial.idealOfVars σ R = MvPolynomial.restrictSupportIdeal R (⇑Finsupp.degree ⁻¹' Set.Ici 1) ⋯

theorem MvPolynomial.pow_idealOfVars E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] (n : ℕ),
  MvPolynomial.idealOfVars σ R ^ n = MvPolynomial.restrictSupportIdeal R (⇑Finsupp.degree ⁻¹' Set.Ici n) ⋯

theorem MvPolynomial.pow_idealOfVars_eq_span E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] (n : ℕ),
  MvPolynomial.idealOfVars σ R ^ n = Ideal.span ((fun x ↦ (MvPolynomial.monomial x) 1) '' ⇑Finsupp.degree ⁻¹' {n})

The nth power of idealOfVars is spanned by all monic monomials of total degree n.

theorem MvPolynomial.mem_pow_idealOfVars_iff E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] (n : ℕ) (p : MvPolynomial σ R),
  p ∈ MvPolynomial.idealOfVars σ R ^ n ↔ ∀ x ∈ p.support, n ≤ Finsupp.degree x

theorem MvPolynomial.mem_pow_idealOfVars_iff' E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] (n : ℕ) (p : MvPolynomial σ R),
  p ∈ MvPolynomial.idealOfVars σ R ^ n ↔ ∀ (x : σ →₀ ℕ), Finsupp.degree x < n → p.coeff x = 0

theorem MvPolynomial.monomial_mem_pow_idealOfVars_iff E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] (n : ℕ) (x : σ →₀ ℕ) {r : R},
  r ≠ 0 → ((MvPolynomial.monomial x) r ∈ MvPolynomial.idealOfVars σ R ^ n ↔ n ≤ Finsupp.degree x)

theorem MvPolynomial.C_mem_pow_idealOfVars_iff E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] (n : ℕ) (r : R),
  MvPolynomial.C r ∈ MvPolynomial.idealOfVars σ R ^ n ↔ r = 0 ∨ n = 0

theorem MvPolynomial.mkₐ_eq_aeval E1 #

∀ {A : Type u_3} {σ : Type u_4} [inst : CommRing A] (I : Ideal (MvPolynomial σ A)),
  Ideal.Quotient.mkₐ A I = MvPolynomial.aeval fun d ↦ (Ideal.Quotient.mk I) (MvPolynomial.X d)

theorem MvPolynomial.mk_eq_eval₂ E1 #

∀ {A : Type u_3} {σ : Type u_4} [inst : CommRing A] (I : Ideal (MvPolynomial σ A)),
  (↑↑(Ideal.Quotient.mk I)).toFun =
    MvPolynomial.eval₂ (algebraMap A (MvPolynomial σ A ⧸ I)) fun d ↦ (Ideal.Quotient.mk I) (MvPolynomial.X d)

theorem MonomialOrder.span_leadingTerm_sdiff_singleton_zero E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] {m : MonomialOrder σ} (B : Set (MvPolynomial σ R)),
  Ideal.span (m.leadingTerm '' (B \ {0})) = Ideal.span (m.leadingTerm '' B)

theorem MonomialOrder.span_leadingTerm_insert_zero E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] {m : MonomialOrder σ} (B : Set (MvPolynomial σ R)),
  Ideal.span (m.leadingTerm '' insert 0 B) = Ideal.span (m.leadingTerm '' B)

theorem MonomialOrder.span_leadingTerm_eq_span_monomial E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] {m : MonomialOrder σ} {B : Set (MvPolynomial σ R)},
  (∀ p ∈ B, IsUnit (m.leadingCoeff p)) →
    Ideal.span (m.leadingTerm '' B) = Ideal.span ((fun p ↦ (MvPolynomial.monomial (m.degree p)) 1) '' B)

theorem MonomialOrder.span_leadingTerm_eq_span_monomial₀ E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] {m : MonomialOrder σ} {B : Set (MvPolynomial σ R)},
  (∀ p ∈ B, IsUnit (m.leadingCoeff p) ∨ p = 0) →
    Ideal.span (m.leadingTerm '' B) = Ideal.span ((fun p ↦ (MvPolynomial.monomial (m.degree p)) 1) '' (B \ {0}))

theorem MonomialOrder.span_leadingTerm_eq_span_monomial' E1 #

∀ {σ : Type u_1} {m : MonomialOrder σ} {k : Type u_3} [inst : Field k] {B : Set (MvPolynomial σ k)},
  Ideal.span (m.leadingTerm '' B) = Ideal.span ((fun p ↦ (MvPolynomial.monomial (m.degree p)) 1) '' (B \ {0}))

theorem MonomialOrder.sPolynomial_mem_sup_ideal E1 #

∀ {σ : Type u_1} {m : MonomialOrder σ} {R : Type u_3} [inst : CommRing R] {I J : Ideal (MvPolynomial σ R)}
  {p q : MvPolynomial σ R}, p ∈ I → q ∈ J → m.sPolynomial p q ∈ I ⊔ J

theorem MonomialOrder.sPolynomial_mem_ideal E1 #

∀ {σ : Type u_1} {m : MonomialOrder σ} {R : Type u_3} [inst : CommRing R] {I : Ideal (MvPolynomial σ R)}
  {p q : MvPolynomial σ R}, p ∈ I → q ∈ I → m.sPolynomial p q ∈ I

Deprecated aliases

NameNew nameSince
MvPolynomial.idealOfVars_fgMvPolynomial.fg_idealOfVars2026-10-18