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.Basic

29 declarations and 1 deprecated aliases. Mathlib docs · Source

instance MvPolynomial.instSmall E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommSemiring R] [Small.{u, u_2} R] [Small.{u, u_1} σ],
  Small.{u, max u_2 u_1} (MvPolynomial σ R)

instance MvPolynomial.instCharP E0 #

∀ (σ : Type u) (R : Type v) [inst : CommSemiring R] (p : ℕ) [CharP R p], CharP (MvPolynomial σ R) p

instance MvPolynomial.instCharZero E0 #

∀ (σ : Type u) (R : Type v) [inst : CommSemiring R] [CharZero R], CharZero (MvPolynomial σ R)

instance MvPolynomial.instExpChar E0 #

∀ (σ : Type u) (R : Type v) [inst : CommSemiring R] (p : ℕ) [ExpChar R p], ExpChar (MvPolynomial σ R) p

theorem MvPolynomial.map_eq_map E0 #

∀ (σ : Type u) {R : Type u_1} {S : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring S] (p : MvPolynomial σ R)
  (f : R →+* S), AddMonoidAlgebra.map (↑f) p = (MvPolynomial.map f) p

def MvPolynomial.restrictSupport E1 #

{σ : Type u} → (R : Type v) → [inst : CommSemiring R] → Set (σ →₀ ℕ) → Submodule R (MvPolynomial σ R)

The submodule of polynomials that are sum of monomials in the set s.

def MvPolynomial.basisRestrictSupport E1 #

{σ : Type u} →
  (R : Type v) → [inst : CommSemiring R] → (s : Set (σ →₀ ℕ)) → Module.Basis (↑s) R ↥(MvPolynomial.restrictSupport R s)

restrictSupport R s has a canonical R-basis indexed by s.

theorem MvPolynomial.restrictSupport_mono E1 #

∀ {σ : Type u} (R : Type v) [inst : CommSemiring R] {s t : Set (σ →₀ ℕ)},
  s ⊆ t → MvPolynomial.restrictSupport R s ≤ MvPolynomial.restrictSupport R t

theorem MvPolynomial.restrictSupport_eq_span E1 #

∀ {σ : Type u} (R : Type v) [inst : CommSemiring R] (s : Set (σ →₀ ℕ)),
  MvPolynomial.restrictSupport R s = Submodule.span R ((fun x ↦ (MvPolynomial.monomial x) 1) '' s)

theorem MvPolynomial.mem_restrictSupport_iff E0 #

∀ {σ : Type u} (R : Type v) [inst : CommSemiring R] {s : Set (σ →₀ ℕ)} {r : MvPolynomial σ R},
  r ∈ MvPolynomial.restrictSupport R s ↔ ↑r.support ⊆ s

theorem MvPolynomial.monomial_mem_restrictSupport E0 #

∀ {σ : Type u} (R : Type v) [inst : CommSemiring R] {s : Set (σ →₀ ℕ)} {m : σ →₀ ℕ} {r : R},
  (MvPolynomial.monomial m) r ∈ MvPolynomial.restrictSupport R s ↔ m ∈ s ∨ r = 0

theorem MvPolynomial.restrictSupport_add E1 #

∀ {σ : Type u} (R : Type v) [inst : CommSemiring R] (s t : Set (σ →₀ ℕ)),
  MvPolynomial.restrictSupport R (s + t) = MvPolynomial.restrictSupport R s * MvPolynomial.restrictSupport R t

theorem MvPolynomial.restrictSupport_zero E0 #

∀ {σ : Type u} (R : Type v) [inst : CommSemiring R], MvPolynomial.restrictSupport R 0 = 1

theorem MvPolynomial.restrictSupport_univ E0 #

∀ {σ : Type u} (R : Type v) [inst : CommSemiring R], MvPolynomial.restrictSupport R Set.univ = ⊤

theorem MvPolynomial.restrictSupport_nsmul E1 #

∀ {σ : Type u} (R : Type v) [inst : CommSemiring R] (n : ℕ) (s : Set (σ →₀ ℕ)),
  MvPolynomial.restrictSupport R (n • s) = MvPolynomial.restrictSupport R s ^ n

def MvPolynomial.restrictSupportIdeal E1 #

{σ : Type u} → (R : Type v) → [inst : CommSemiring R] → (s : Set (σ →₀ ℕ)) → IsUpperSet s → Ideal (MvPolynomial σ R)

The ideal defined by restrictSupport R s when s is an upper set.

theorem MvPolynomial.restrictScalars_restrictSupportIdeal E0 #

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

def MvPolynomial.restrictTotalDegree E1 #

(σ : Type u) → (R : Type v) → [inst : CommSemiring R] → ℕ → Submodule R (MvPolynomial σ R)

The submodule of polynomials of total degree less than or equal to m.

def MvPolynomial.restrictDegree E1 #

(σ : Type u) → (R : Type v) → [inst : CommSemiring R] → ℕ → Submodule R (MvPolynomial σ R)

The submodule of polynomials such that the degree with respect to each individual variable is less than or equal to m.

theorem MvPolynomial.mem_restrictTotalDegree E0 #

∀ (σ : Type u) {R : Type v} [inst : CommSemiring R] (m : ℕ) (p : MvPolynomial σ R),
  p ∈ MvPolynomial.restrictTotalDegree σ R m ↔ p.totalDegree ≤ m

theorem MvPolynomial.mem_restrictDegree E0 #

∀ (σ : Type u) {R : Type v} [inst : CommSemiring R] (p : MvPolynomial σ R) (n : ℕ),
  p ∈ MvPolynomial.restrictDegree σ R n ↔ ∀ s ∈ p.support, ∀ (i : σ), s i ≤ n

theorem MvPolynomial.mem_restrictDegree_iff_sup E0 #

∀ (σ : Type u) {R : Type v} [inst : CommSemiring R] [inst_1 : DecidableEq σ] (p : MvPolynomial σ R) (n : ℕ),
  p ∈ MvPolynomial.restrictDegree σ R n ↔ ∀ (i : σ), Multiset.count i p.degrees ≤ n

theorem MvPolynomial.restrictTotalDegree_le_restrictDegree E1 #

∀ (σ : Type u) (R : Type v) [inst : CommSemiring R] (m : ℕ),
  MvPolynomial.restrictTotalDegree σ R m ≤ MvPolynomial.restrictDegree σ R m

def MvPolynomial.basisMonomials E1 #

(σ : Type u) → (R : Type v) → [inst : CommSemiring R] → Module.Basis (σ →₀ ℕ) R (MvPolynomial σ R)

The monomials form a basis on MvPolynomial σ R.

theorem MvPolynomial.coe_basisMonomials E0 #

∀ (σ : Type u) (R : Type v) [inst : CommSemiring R],
  ⇑(MvPolynomial.basisMonomials σ R) = fun s ↦ (MvPolynomial.monomial s) 1

instance MvPolynomial.instFree E0 #

∀ (σ : Type u) (R : Type v) [inst : CommSemiring R], Module.Free R (MvPolynomial σ R)

The R-module MvPolynomial σ R is free.

theorem MvPolynomial.linearIndependent_X E1 #

∀ (σ : Type u) (R : Type v) [inst : CommSemiring R], LinearIndependent R MvPolynomial.X

instance MvPolynomial.instFiniteSubtypeMemSubmoduleRestrictDegreeOfFinite E0 #

∀ (σ : Type u) (R : Type v) [inst : CommSemiring R] [Finite σ] (N : ℕ),
  Module.Finite R ↥(MvPolynomial.restrictDegree σ R N)

instance MvPolynomial.instFiniteSubtypeMemSubmoduleRestrictTotalDegreeOfFinite E0 #

∀ (σ : Type u) (R : Type v) [inst : CommSemiring R] [Finite σ] (N : ℕ),
  Module.Finite R ↥(MvPolynomial.restrictTotalDegree σ R N)

Deprecated aliases

NameNew nameSince
MvPolynomial.mapRange_eq_mapMvPolynomial.map_eq_map2026-06-18