Documentation

Complexitylib.Algebraic.LowerBound.Cutwidth.Extractor.Condenser.Modulus.Binary.Codec.Internal

The canonical binary quotient codec round trips #

Coefficients of the monic remainder lie in the two-element field, so the zero/one bit conversion is exact. The remainder's strict degree bound makes the fixed coefficient list complete.

theorem Algebraic.Cutwidth.Extractor.BinaryFieldCodec.Internal.encode_decode (s : ℕ) (bits : List Bool) (length : bits.length = 2 * 3 ^ s) :
encode s (decode s bits) = bits