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

5 declarations. Mathlib docs · Source

def Polynomial.cancelLeads E1 #

{R : Type u_1} → [inst : Ring R] → Polynomial R → Polynomial R → Polynomial R

cancelLeads p q is formed by multiplying p and q by monomials so that they have the same leading term, and then subtracting.

theorem Polynomial.neg_cancelLeads E0 #

∀ {R : Type u_1} [inst : Ring R] {p q : Polynomial R}, -p.cancelLeads q = q.cancelLeads p

theorem Polynomial.natDegree_cancelLeads_lt_of_natDegree_le_natDegree_of_comm E1 #

∀ {R : Type u_1} [inst : Ring R] {p q : Polynomial R},
  p.leadingCoeff * q.leadingCoeff = q.leadingCoeff * p.leadingCoeff →
    p.natDegree ≤ q.natDegree → 0 < q.natDegree → (p.cancelLeads q).natDegree < q.natDegree

theorem Polynomial.dvd_cancelLeads_of_dvd_of_dvd E1 #

∀ {R : Type u_1} [inst : CommRing R] {p q r : Polynomial R}, p ∣ q → p ∣ r → p ∣ q.cancelLeads r

theorem Polynomial.natDegree_cancelLeads_lt_of_natDegree_le_natDegree E1 #

∀ {R : Type u_1} [inst : CommRing R] {p q : Polynomial R},
  p.natDegree ≤ q.natDegree → 0 < q.natDegree → (p.cancelLeads q).natDegree < q.natDegree