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.MvPolynomial.NoZeroDivisors

12 declarations. Mathlib docs · Source

theorem MvPolynomial.degreeOf_mul_eq E0 #

∀ {R : Type u_1} {σ : Type u_2} {n : σ} [inst : CommSemiring R] {p q : MvPolynomial σ R} [NoZeroDivisors R],
  p ≠ 0 → q ≠ 0 → MvPolynomial.degreeOf n (p * q) = MvPolynomial.degreeOf n p + MvPolynomial.degreeOf n q

theorem MvPolynomial.degreeOf_prod_eq E0 #

∀ {R : Type u_1} {σ : Type u_2} {n : σ} [inst : CommSemiring R] [NoZeroDivisors R] {ι : Type u_3} (s : Finset ι)
  (f : ι → MvPolynomial σ R),
  (∀ i ∈ s, f i ≠ 0) → MvPolynomial.degreeOf n (∏ i ∈ s, f i) = ∑ i ∈ s, MvPolynomial.degreeOf n (f i)

theorem MvPolynomial.degreeOf_pow_eq E0 #

∀ {R : Type u_1} {σ : Type u_2} [inst : CommSemiring R] [NoZeroDivisors R] (i : σ) (p : MvPolynomial σ R) (n : ℕ),
  p ≠ 0 → MvPolynomial.degreeOf i (p ^ n) = n * MvPolynomial.degreeOf i p

theorem MvPolynomial.degrees_mul_eq E0 #

∀ {R : Type u_1} {σ : Type u_2} [inst : CommSemiring R] {p q : MvPolynomial σ R} [NoZeroDivisors R],
  p ≠ 0 → q ≠ 0 → (p * q).degrees = p.degrees + q.degrees

theorem MvPolynomial.totalDegree_mul_of_isDomain E1 #

∀ {R : Type u_1} {σ : Type u_2} [inst : CommSemiring R] [NoZeroDivisors R] {f g : MvPolynomial σ R},
  f ≠ 0 → g ≠ 0 → (f * g).totalDegree = f.totalDegree + g.totalDegree

theorem MvPolynomial.totalDegree_le_of_dvd_of_isDomain E1 #

∀ {R : Type u_1} {σ : Type u_2} [inst : CommSemiring R] [NoZeroDivisors R] {f g : MvPolynomial σ R},
  f ∣ g → g ≠ 0 → f.totalDegree ≤ g.totalDegree

theorem MvPolynomial.dvd_C_iff_exists E1 #

∀ {R : Type u_1} {σ : Type u_2} [inst : CommSemiring R] [NoZeroDivisors R] {f : MvPolynomial σ R} {a : R},
  a ≠ 0 → (f ∣ MvPolynomial.C a ↔ ∃ b, b ∣ a ∧ f = MvPolynomial.C b)

theorem MvPolynomial.degreeOf_C_mul E1 #

∀ {R : Type u_1} {σ : Type u_2} [inst : CommSemiring R] {p : MvPolynomial σ R} (j : σ),
  ∀ c ∈ nonZeroDivisors R, MvPolynomial.degreeOf j (MvPolynomial.C c * p) = MvPolynomial.degreeOf j p

theorem MvPolynomial.dvd_monomial_iff_exists E1 #

∀ {R : Type u_1} {σ : Type u_2} [inst : CommRing R] [NoZeroDivisors R] {p : MvPolynomial σ R} {n : σ →₀ ℕ} {a : R},
  a ≠ 0 → (p ∣ (MvPolynomial.monomial n) a ↔ ∃ m b, m ≤ n ∧ b ∣ a ∧ p = (MvPolynomial.monomial m) b)

theorem MvPolynomial.dvd_monomial_one_iff_exists E1 #

∀ {R : Type u_1} {σ : Type u_2} [inst : CommRing R] [NoZeroDivisors R] {p : MvPolynomial σ R} {n : σ →₀ ℕ},
  p ∣ (MvPolynomial.monomial n) 1 ↔ ∃ m u, m ≤ n ∧ IsUnit u ∧ p = (MvPolynomial.monomial m) u

theorem MvPolynomial.dvd_smul_X_iff_exists E1 #

∀ {R : Type u_1} {σ : Type u_2} [inst : CommRing R] [NoZeroDivisors R] {p : MvPolynomial σ R} {i : σ} {r : R},
  r ≠ 0 → (p ∣ r • MvPolynomial.X i ↔ ∃ s, s ∣ r ∧ (p = MvPolynomial.C s ∨ p = s • MvPolynomial.X i))

theorem MvPolynomial.dvd_X_iff_exists E1 #

∀ {R : Type u_1} {σ : Type u_2} [inst : CommRing R] [NoZeroDivisors R] {p : MvPolynomial σ R} {i : σ},
  p ∣ MvPolynomial.X i ↔ ∃ r, IsUnit r ∧ (p = MvPolynomial.C r ∨ p = r • MvPolynomial.X i)