The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.Algebra.Polynomial.Degree.Domain
8 declarations. Mathlib docs · Source
theorem Polynomial.natDegree_mul E1 #
∀ {R : Type u} [inst : Semiring R] [NoZeroDivisors R] {p q : Polynomial R},
p ≠ 0 → q ≠ 0 → (p * q).natDegree = p.natDegree + q.natDegree
theorem Polynomial.natDegree_smul E1 #
∀ {R : Type u} [inst : Semiring R] (p : Polynomial R) {S : Type u_1} [inst_1 : Semiring S] [IsDomain S]
[inst_3 : Module S R] [Module.IsTorsionFree S R] {a : S}, a ≠ 0 → (a • p).natDegree = p.natDegree
theorem Polynomial.natDegree_pow E0 #
∀ {R : Type u} [inst : Semiring R] [NoZeroDivisors R] (p : Polynomial R) (n : ℕ), (p ^ n).natDegree = n * p.natDegree
theorem Polynomial.natDegree_le_of_dvd E1 #
∀ {R : Type u} [inst : Semiring R] [NoZeroDivisors R] {p q : Polynomial R}, p ∣ q → q ≠ 0 → p.natDegree ≤ q.natDegree
theorem Polynomial.degree_le_of_dvd E1 #
∀ {R : Type u} [inst : Semiring R] [NoZeroDivisors R] {p q : Polynomial R}, p ∣ q → q ≠ 0 → p.degree ≤ q.degree
theorem Polynomial.not_dvd_of_degree_lt E1 #
∀ {R : Type u} [inst : Semiring R] [NoZeroDivisors R] {p q : Polynomial R}, q ≠ 0 → q.degree < p.degree → ¬p ∣ q
theorem Polynomial.not_dvd_of_natDegree_lt E1 #
∀ {R : Type u} [inst : Semiring R] [NoZeroDivisors R] {p q : Polynomial R}, q ≠ 0 → q.natDegree < p.natDegree → ¬p ∣ q
theorem Polynomial.natDegree_sub_eq_of_prod_eq E0 #
∀ {R : Type u} [inst : Semiring R] [NoZeroDivisors R] {p₁ p₂ q₁ q₂ : Polynomial R},
p₁ ≠ 0 → q₁ ≠ 0 → p₂ ≠ 0 → q₂ ≠ 0 → p₁ * q₂ = p₂ * q₁ → ↑p₁.natDegree - ↑q₁.natDegree = ↑p₂.natDegree - ↑q₂.natDegree
This lemma is useful for working with the intDegree of a rational function.