Documentation

MIPRE.Foundations.LowDegree.BinaryCanonical

Canonical binary polynomial degrees and monic division #

The polynomial represented by a coefficient list has degree below its width.

Appending a leading one makes the represented monic modulus explicit.

Every lower-coefficient vector specifies a monic polynomial.

The degree of a supplied monic modulus is exactly its lower-coefficient width.

A list with a true leading bit decomposes into its lower coefficients and that bit.

A coefficient list with leading bit one represents a monic polynomial.

For a nonzero canonical representation, width is degree plus one.

Normalizing produces the empty list exactly when the polynomial is zero.

A normalized nonzero input has degree plus one coefficients.

Over the binary field, every nonzero polynomial represented by bits is monic.

The executable division agrees with Mathlib's monic quotient and remainder.