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

4 declarations. Mathlib docs · Source

theorem Polynomial.coeff_divModByMonicAux_mem_span_pow_mul_span E1 #

∀ {R : Type u_2} {S : Type u_3} [inst : CommRing R] [inst_1 : Ring S] [inst_2 : Algebra R S] (p q : Polynomial S)
  (hq : q.Monic) (i : ℕ),
  (p.divModByMonicAux hq).1.coeff i ∈
      (1 ⊔ Submodule.span R (Set.range ⇑q.coeff)) ^ p.natDegree * (1 ⊔ Submodule.span R (Set.range ⇑p.coeff)) ∧
    (p.divModByMonicAux hq).2.coeff i ∈
      (1 ⊔ Submodule.span R (Set.range ⇑q.coeff)) ^ p.natDegree * (1 ⊔ Submodule.span R (Set.range ⇑p.coeff))

theorem Polynomial.coeff_modByMonic_mem_pow_natDegree_mul E1 #

∀ {R : Type u_2} {S : Type u_3} [inst : CommRing R] [inst_1 : Ring S] [inst_2 : Algebra R S] (p q : Polynomial S)
  (Mp : Submodule R S),
  (∀ (i : ℕ), p.coeff i ∈ Mp) →
    1 ∈ Mp →
      ∀ (Mq : Submodule R S), (∀ (i : ℕ), q.coeff i ∈ Mq) → 1 ∈ Mq → ∀ (i : ℕ), (p %ₘ q).coeff i ∈ Mq ^ p.natDegree * Mp

For polynomials p q : R[X], the coefficients of p %ₘ q can be written as sums of products of coefficients of p and q.

Precisely, each summand needs at most one coefficient of p and deg p coefficients of q.

theorem Polynomial.coeff_divByMonic_mem_pow_natDegree_mul E1 #

∀ {R : Type u_2} {S : Type u_3} [inst : CommRing R] [inst_1 : Ring S] [inst_2 : Algebra R S] (p q : Polynomial S)
  (Mp : Submodule R S),
  (∀ (i : ℕ), p.coeff i ∈ Mp) →
    1 ∈ Mp →
      ∀ (Mq : Submodule R S), (∀ (i : ℕ), q.coeff i ∈ Mq) → 1 ∈ Mq → ∀ (i : ℕ), (p /ₘ q).coeff i ∈ Mq ^ p.natDegree * Mp

For polynomials p q : R[X], the coefficients of p /ₘ q can be written as sums of products of coefficients of p and q.

Precisely, each summand needs at most one coefficient of p and deg p coefficients of q.

theorem Polynomial.idealSpan_range_update_divByMonic E1 #

∀ {ι : Type u_1} {R : Type u_2} [inst : CommRing R] [inst_1 : DecidableEq ι] {i j : ι},
  i ≠ j → ∀ (v : ι → Polynomial R), Ideal.span (Set.range (Function.update v j (v j %ₘ v i))) = Ideal.span (Set.range v)