Documentation

CslibFrontier.Computability.PolyTime.BinaryField

Polynomial-time binary-field operations #

Trial division and exhaustive irreducible-polynomial search are polynomial in the unary search bound, not in the degree. Coordinate multiplication is polynomial uniformly in its table. These certificates are shared by affine dispersers, hardness encodings and small-bias spaces; logarithmic degrees make the search polynomial in the latter constructions' parameters.

Main results #

Binary polynomials #

The remainder modulo a binary polynomial, by a left fold over the coefficients whose state, the current power of X and the partial remainder, never exceeds the degree of the modulus.

@[reducible, inline]

A multiplication table, as a list of rows of coordinate words.

Multiplication in coordinates, uniformly in the multiplication table: the sum of at most n ^ 2 table entries, n the number of rows.

The multiplication table of the power basis, from the coefficient list of the modulus.