Fixed-width binary circuit descriptions #
Bounded descriptions use one fixed-width gate array. Reference words have a
positive ceiling-logarithmic width, active gates are topologically ordered,
and inactive slots are canonically zero. This gives the approximate-counting
relation a finite, parser-free syntax while retaining RawCircuit semantics.
Reference words always have positive width.
Gate-count words always have positive width.
The reference width represents every primary or bounded gate wire.
Every allowed positive gate count fits in the count word.
A gate slot has exactly as many values as its advertised bit width.
Exact number of bounded descriptions before imposing validity.
The active count is within the fixed gate array.
Converting active slots to raw syntax preserves the exact gate count.
Fixed-slot and raw-list topological validity agree exactly.
A valid fixed-width description produces a valid raw circuit.