Documentation

CompPoly.ToMathlib.Polynomial.BivariateWeightedDegree

Mathlib-Facing Bivariate Weighted-Degree Helpers #

This file extends Polynomial.Bivariate with weighted-degree algebra that is generic and reusable across downstream protocol developments.

noncomputable def Polynomial.Bivariate.monomial {F : Type u_1} [Semiring F] (i j : ) :

The monomial X^i Y^j as a bivariate polynomial.

Instances For

    The weighted degree of a sum is at most the maximum of the weighted degrees.

    theorem Polynomial.Bivariate.natWeightedDegree_sum_le {F : Type u_1} [Semiring F] {ι : Type u_2} (s : Finset ι) (f : ιPolynomial (Polynomial F)) (u v : ) :
    natWeightedDegree (∑ is, f i) u v s.sup fun (i : ι) => natWeightedDegree (f i) u v

    The weighted degree of a sum is bounded by the supremum of the weighted degrees.

    The weighted degree of a scalar multiple is at most the weighted degree of the polynomial.

    The degree of Q(X, P(X)) is bounded by the weighted degree of Q, provided deg(P) ≤ k - 1.

    The weighted degree of X^i Y^j is u * i + v * j.