All coefficient lists of length d, with entries ranging over ZMod64 p.
Equations
Instances For
There is exactly one coefficient list of length 0: the empty list.
Base case of coeffLists.
Coefficient lists of length d + 1 prepend each ZMod64 p value to
every length-d list. Recursive step of coeffLists.
Every list produced by coeffLists p d has length exactly d.
Membership in coeffLists is exactly fixed length plus residue membership.
The coefficient-list enumeration has exactly p ^ d entries.
The fixed-length coefficient-list enumeration has no duplicate lists.
Turn a fixed coefficient list into an FpPoly.
Equations
- Hex.FpPoly.Enumeration.ofCoeffList coeffs = Hex.DensePoly.ofList coeffs
Instances For
All FpPoly p values whose degree is below d, represented by length-d
coefficient lists.
Equations
Instances For
The polynomial built from its first d coefficients is the original
polynomial when the original degree is below d.
Every polynomial with degree below d appears in the bounded-degree list.
Every polynomial in the bounded-degree enumeration has degree below the bound, provided the bound is positive.
Membership in the bounded-degree enumeration is exactly degree below the positive bound.
Successor-bound membership in the bounded-degree enumeration.
The bounded-degree polynomial enumeration has no duplicate polynomial values.
There are exactly p ^ d entries in the bounded-degree polynomial
enumeration.