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.Algebra.Polynomial.Degree.Support

20 declarations and 1 deprecated aliases. Mathlib docs · Source

theorem Polynomial.supDegree_eq_natDegree E1 #

∀ {R : Type u} [inst : Semiring R] (p : Polynomial R), AddMonoidAlgebra.supDegree id p = p.natDegree

theorem Polynomial.le_natDegree_of_mem_supp E1 #

∀ {R : Type u} [inst : Semiring R] {p : Polynomial R}, ∀ a ∈ p.support, a ≤ p.natDegree

theorem Polynomial.supp_subset_range E1 #

∀ {R : Type u} {m : ℕ} [inst : Semiring R] {p : Polynomial R}, p.natDegree < m → p.support ⊆ Finset.range m

theorem Polynomial.supp_subset_range_natDegree_succ E1 #

∀ {R : Type u} [inst : Semiring R] {p : Polynomial R}, p.support ⊆ Finset.range (p.natDegree + 1)

theorem Polynomial.as_sum_support E1 #

∀ {R : Type u} [inst : Semiring R] (p : Polynomial R), p = ∑ i ∈ p.support, (Polynomial.monomial i) (p.coeff i)

theorem Polynomial.as_sum_support_C_mul_X_pow E1 #

∀ {R : Type u} [inst : Semiring R] (p : Polynomial R), p = ∑ i ∈ p.support, Polynomial.C (p.coeff i) * Polynomial.X ^ i

theorem Polynomial.sum_over_range' E1 #

∀ {R : Type u} {S : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid S] (p : Polynomial R) {f : ℕ → R → S},
  (∀ (n : ℕ), f n 0 = 0) → ∀ (n : ℕ), p.natDegree < n → p.sum f = ∑ a ∈ Finset.range n, f a (p.coeff a)

We can reexpress a sum over p.support as a sum over range n, for any n satisfying p.natDegree < n.

theorem Polynomial.sum_over_range E1 #

∀ {R : Type u} {S : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid S] (p : Polynomial R) {f : ℕ → R → S},
  (∀ (n : ℕ), f n 0 = 0) → p.sum f = ∑ a ∈ Finset.range (p.natDegree + 1), f a (p.coeff a)

We can reexpress a sum over p.support as a sum over range (p.natDegree + 1).

theorem Polynomial.sum_fin E1 #

∀ {R : Type u} {S : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid S] (f : ℕ → R → S),
  (∀ (i : ℕ), f i 0 = 0) → ∀ {n : ℕ} {p : Polynomial R}, p.degree < ↑n → ∑ i, f (↑i) (p.coeff ↑i) = p.sum f

theorem Polynomial.as_sum_range' E1 #

∀ {R : Type u} [inst : Semiring R] (p : Polynomial R) (n : ℕ),
  p.natDegree < n → p = ∑ i ∈ Finset.range n, (Polynomial.monomial i) (p.coeff i)

theorem Polynomial.as_sum_range E1 #

∀ {R : Type u} [inst : Semiring R] (p : Polynomial R),
  p = ∑ i ∈ Finset.range (p.natDegree + 1), (Polynomial.monomial i) (p.coeff i)

theorem Polynomial.as_sum_range_C_mul_X_pow' E1 #

∀ {R : Type u} [inst : Semiring R] (p : Polynomial R) {n : ℕ},
  p.natDegree < n → p = ∑ i ∈ Finset.range n, Polynomial.C (p.coeff i) * Polynomial.X ^ i

theorem Polynomial.as_sum_range_C_mul_X_pow E1 #

∀ {R : Type u} [inst : Semiring R] (p : Polynomial R),
  p = ∑ i ∈ Finset.range (p.natDegree + 1), Polynomial.C (p.coeff i) * Polynomial.X ^ i

theorem Polynomial.mem_support_C_mul_X_pow E0 #

∀ {R : Type u} [inst : Semiring R] {n a : ℕ} {c : R}, a ∈ (Polynomial.C c * Polynomial.X ^ n).support → a = n

theorem Polynomial.card_support_C_mul_X_pow_le_one E1 #

∀ {R : Type u} [inst : Semiring R] {c : R} {n : ℕ}, (Polynomial.C c * Polynomial.X ^ n).support.card ≤ 1

theorem Polynomial.card_supp_le_succ_natDegree E1 #

∀ {R : Type u} [inst : Semiring R] (p : Polynomial R), p.support.card ≤ p.natDegree + 1

theorem Polynomial.le_degree_of_mem_supp E1 #

∀ {R : Type u} [inst : Semiring R] {p : Polynomial R}, ∀ a ∈ p.support, ↑a ≤ p.degree

theorem Polynomial.nonempty_support_iff E0 #

∀ {R : Type u} [inst : Semiring R] {p : Polynomial R}, p.support.Nonempty ↔ p ≠ 0

theorem Polynomial.natDegree_mem_support_of_ne_zero E1 #

∀ {R : Type u} [inst : Semiring R] {p : Polynomial R}, p ≠ 0 → p.natDegree ∈ p.support

theorem Polynomial.natDegree_eq_support_max' E1 #

∀ {R : Type u} [inst : Semiring R] {p : Polynomial R} (h : p ≠ 0), p.natDegree = p.support.max' ⋯

Deprecated aliases

NameNew nameSince
Polynomial.natDegree_mem_support_of_nonzeroPolynomial.natDegree_mem_support_of_ne_zero2026-10-13