Fixed-width description validity formulas -- definitions #
This module defines a Boolean formula for structural validity of one bounded fixed-width circuit description. Formula variables address the codec through typed count and slot coordinates, avoiding an auxiliary parser or arithmetic casts between unrelated fields.
The formula checks that the active count is positive and in range. For every gate slot it then checks one of two cases: active slots have backward-pointing references, while inactive slots are the canonical all-zero slot.
A code is structurally valid when decoding succeeds and the resulting fixed-width description satisfies all three validity conditions.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Embed one count-field coordinate into the full description code.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Embed one coordinate of one gate slot into the full description code.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Coordinate of a first-reference bit inside one gate slot.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Coordinate of a second-reference bit inside one gate slot.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Variable formula for one count-field bit.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Variable formula for one bit of one encoded gate slot.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Variable formula for one first-reference bit.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Variable formula for one second-reference bit.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formula asserting that the encoded active count is at least minimum.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formula asserting that the encoded active count is at most maximum.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formula asserting that one encoded reference is below the number of wires available before its gate.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formula asserting that one complete inactive slot is the all-zero word.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formula asserting that both references of one active slot point backward.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formula asserting the active or inactive invariant for one fixed slot.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact tree size of one slot-validity formula.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact tree size of the complete description-validity formula.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Complete structural-validity formula for one fixed-width description code.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Compile the structural-validity formula after the incoming description code wires.
Equations
- One or more equations did not get rendered due to their size.