Documentation

CompPoly.Univariate.ToPoly.Degree

toPoly Degree Lemmas #

Degree lemmas for the computable-univariate to Polynomial conversion.

theorem CompPoly.CPolynomial.toPoly_smul {R : Type u_1} [Semiring R] [BEq R] [LawfulBEq R] (r : R) (p : CPolynomial R) :
(r p).toPoly = r p.toPoly
Instances For
    theorem CompPoly.CPolynomial.degree_le_iff_coeff_zero {R : Type u_1} [Semiring R] [BEq R] [LawfulBEq R] (p : CPolynomial R) (n : WithBot ) :
    p.degree n ∀ (k : ), n < kp.coeff k = 0
    theorem CompPoly.CPolynomial.degree_lt_iff_coeff_zero {R : Type u_1} [Semiring R] [BEq R] [LawfulBEq R] (p : CPolynomial R) (n : ) :
    p.degree < n ∀ (k : ), n kp.coeff k = 0
    theorem CompPoly.CPolynomial.degreeLE_mono {R : Type u_1} [Semiring R] (m n : WithBot ) (h_lessThan : m n) :
    theorem CompPoly.CPolynomial.degreeLT_mono {R : Type u_1} [Semiring R] {m n : } (h : m n) :
    theorem CompPoly.CPolynomial.monomial_mem_degreeLT {R : Type u_1} [Semiring R] [BEq R] [LawfulBEq R] [DecidableEq R] {n : } (i : Fin n) (c : R) :
    monomial (↑i) c degreeLT n
    theorem CompPoly.CPolynomial.degreeLTEquiv_invFun_mem {R : Type u_1} [Semiring R] [BEq R] [LawfulBEq R] [DecidableEq R] (n : ) (f : Fin nR) :
    i : Fin n, monomial (↑i) (f i) degreeLT n
    theorem CompPoly.CPolynomial.degreeLTEquiv_left_inv {R : Type u_1} [Semiring R] [BEq R] [LawfulBEq R] [DecidableEq R] (n : ) (p : (degreeLT n)) :
    i : Fin n, monomial (↑i) ((↑p).coeff i), = p
    theorem CompPoly.CPolynomial.degreeLTEquiv_right_inv {R : Type u_1} [Semiring R] [BEq R] [LawfulBEq R] [DecidableEq R] (n : ) (f : Fin nR) :
    (fun (i : Fin n) => (∑ j : Fin n, monomial (↑j) (f j)).coeff i) = f
    def CompPoly.CPolynomial.degreeLTEquiv {R : Type u_1} [Semiring R] [BEq R] [LawfulBEq R] [DecidableEq R] (n : ) :
    (degreeLT n) ≃ₗ[R] Fin nR
    Instances For
      @[reducible, inline]
      abbrev CompPoly.CPolynomial.degreeLTLinearEquiv {R : Type u_1} [Semiring R] [BEq R] [LawfulBEq R] [DecidableEq R] (n : ) :
      (degreeLT n) ≃ₗ[R] Fin nR
      Instances For
        theorem CompPoly.CPolynomial.eval_eq_sum_degreeLTEquiv {R : Type u_1} [Semiring R] [BEq R] [LawfulBEq R] [DecidableEq R] {n : } {p : CPolynomial R} (hp : p degreeLT n) (x : R) :
        eval x p = i : Fin n, (degreeLTEquiv n) p, hp i * x ^ i