Documentation

Complexitylib.Algebraic.LowerBound.Cutwidth.Extractor.Strong.Block.Recursion.NearHalving.Codec

Canonical seed words for the near-halving extractor #

The initial Unit seed occupies the empty prefix. Each internal field seed is appended in level order, followed by the final condenser and hash seeds. The complete encoding is a bijection with words of exactly nearHalvingBlockSeedBits bits, for all parameters including zero depth.

Lengths, append order, and both inverse laws need no enumeration instances. The cardinality corollary accepts caller-supplied finite field instances. These are semantic representation results; runtime evaluation is separate.

Identity initialization spends no random bits.

A prefix grows by the exact field width of its next fresh seed.

The full width consists of the recursive prefix and the final seed pair.

The trivial initial seed encodes as the empty word.

The zero-level decoder always returns the trivial initial seed.

Every prefix encoding has the prescribed sum of fresh field widths.

Decoding a canonical prefix recovers every retained seed.

Every word of the exact prefix width is recovered, preserving all coefficient zeros.

A retained seed prefix is equivalent to one Boolean word of its exact width.

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

    Final words follow the prefix in condenser-then-hash order, with left grouping.

    The encoded word has exactly the complete near-halving seed budget.

    The full decoder recovers every internal and final field seed.

    Every word of the full prescribed length is its decoded tuple's exact encoding.

    The semantic seed tuple is equivalent to a word of the exact total bit width.

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

      The forward seed equivalence is the canonical ordered encoding.

      The inverse seed equivalence is the total decoder restricted to words of the exact width.

      The exact number of semantic seeds is the power of two specified by their bit budget.