Documentation

CompPoly.Bivariate.CoeffRows

Coefficient Rows for Bivariate Polynomials #

Conversions between finite Y-coefficient rows and CBivariate.

Interpret a polynomial row [q_0, ..., q_l] as ∑ q_j(X) Y^j.

Instances For
    def CompPoly.CBivariate.toCoeffRow {F : Type u_1} [Zero F] (width : ) (Q : CBivariate F) :

    Truncate a bivariate polynomial to its first width Y-coefficient rows.

    Instances For
      theorem CompPoly.CBivariate.toCoeffRow_size {F : Type u_1} [Zero F] (width : ) (Q : CBivariate F) :
      Array.size (toCoeffRow width Q) = width

      Truncated coefficient rows have the requested width.

      Lee-style shift array for (1, w) weighted degree.

      Instances For
        theorem CompPoly.CBivariate.coeff_ofCoeffRow_of_lt {F : Type u_1} [Zero F] [BEq F] [LawfulBEq F] (row : PolynomialRow F) {i j : } (hj : j < Array.size row) :
        (ofCoeffRow row).coeff i j = (Array.getD row j 0).coeff i

        Coefficient-row conversion preserves finite Y coefficients below row width.

        theorem CompPoly.CBivariate.coeff_ofCoeffRow_of_size_le {F : Type u_1} [Zero F] [BEq F] [LawfulBEq F] (row : PolynomialRow F) {i j : } (hj : Array.size row j) :
        (ofCoeffRow row).coeff i j = 0

        Coefficients past the row width vanish after row-to-bivariate conversion.

        Row shifted degree for the Lee shift matches weighted degree of the bivariate view.

        Weighted-degree bounded rows convert to weighted-degree bounded bivariate polynomials.