Fixed-width evaluator output selection #
The compiled selector is scoped to the completed gate-sequence memo. On an encoded positive description it returns exactly the last active gate value, which the sequence invariant identifies with the corresponding direct raw-gate memo entry.
Every bounded gate result is available before output selection begins.
Exact size of the last-active-gate selector formula.
The selector only names the description prefix and completed gate outputs.
The encoded positive gate count selects exactly the last active slot.
On a complete lockstep evaluation, selector semantics is the direct padded memo value at the last active slot.
On a valid description, selector semantics is exactly ordinary raw-circuit evaluation on the sample input.
Selector compilation emits exactly its advertised formula size.
The selector fragment only references wires available after the complete gate sequence.
The complete evaluator emits the gate-sequence prefix and one selector formula.
The complete evaluator's designated output is its final emitted wire.
The complete evaluator is topologically valid from its description-and- sample input block.
A valid fixed-width description's complete evaluator runs successfully and returns its direct raw-circuit value.
Equations
- Complexity.CircuitCode.FixedWidth.Description.EvaluationOutput.result hdescription input = Complexity.CircuitCode.FixedWidth.Description.EvaluationOutput.resultInternal hdescription input
Instances For
Complete fixed-width evaluation agrees exactly with ordinary raw-circuit evaluation on a valid encoded description and sample.