Serialized output-match evaluator queries #
This module exposes a source circuit that turns a live raw-gate stream, evaluator argument, and expected output bit into a tagged circuit-family code. Composing it with the verified evaluator oracle accepts exactly when the raw circuit represented by that stream returns the expected bit.
Code sources serialize exactly the tagged two-gate output-match extension.
The semantic code value has the exact emitted tagged family code.
The source front end emits the output-match family code followed by its evaluator argument.
The compiled evaluator branch accepts exactly successful true evaluation of its tagged output-match code.
Exact width of the tagged family code produced by a gate-stream branch.
The source front end pays one output gate per packed evaluator input bit.
Exact cost of source materialization, evaluator pairing, and the selected oracle-family member.
A canonical gate stream produces exactly the tagged encoding of its two-gate live-bit output-match extension.
On a canonical nonempty gate stream, the compiled branch accepts exactly when the represented raw circuit returns the live expected bit.