Fixed-width binary circuit-description codec #
Gate slots are in exact correspondence with their fixed-width Boolean words. Bounded descriptions also have an exact codec, except that decoding rejects the count words whose values exceed the advertised gate bound.
Fixed-width gate-slot encoding is injective.
Gate slots are in exact correspondence with fixed-width Boolean words.
Equations
Instances For
Encoding places the gate count in the leading count word.
Encoding places each gate slot in its corresponding fixed-width block.
Reading the leading count word of an encoding recovers the gate count.
Encoding and then decoding a bounded description is exact.
A successfully decoded description re-encodes to the original word.
Decoding succeeds with a description exactly on that description's fixed-width code.
Fixed-width bounded-description encoding is injective.