Documentation

Complexitylib.Encoding.BitPolynomial.Frobenius.Defs

Bounded modular Frobenius on binary coefficient lists #

A count list requests one square-and-remainder step per bit, independently of the bit values. The initial dividend is reduced before the first step. Every state has the fixed width of the modulus degree.

A zero modulus produces the empty list at initialization and at every step. This explicit convention keeps the total algorithm bounded: unreduced successive squares could have exponential output length. Nonzero moduli may have arbitrary high zero padding, and a constant-one modulus also gives the empty list. The evaluator uses the codec pair (pair a modulus) count.

Square and reduce a state, returning the empty list for a zero modulus.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Reduce a dividend, then square and reduce once per bit of the count list.

    Equations
    Instances For