Serialized output-match evaluator queries -- definitions #
A fixed gate count lets a live raw-gate stream be extended by the two-gate output-match fragment without computing on its code bits. The source circuit copies that stream, inserts the incremented count and fixed gate fields, and uses the live expected bit positively in both negation fields of the mismatch gate. The resulting tagged family code and its argument feed the verified serialized evaluator oracle.
Input width of a raw-gate body, evaluator argument, and expected bit.
Equations
- Complexity.CircuitCode.EvaluationOracleCircuit.OutputMatchBranch.sourceInputWidth bodyWidth inputWidth = bodyWidth + (inputWidth + 1)
Instances For
Source of one raw-gate-body bit.
Equations
- Complexity.CircuitCode.EvaluationOracleCircuit.OutputMatchBranch.bodySource bodyWidth inputWidth coordinate = Complexity.Circuit.InputSource.input (Fin.castAdd (inputWidth + 1) coordinate)
Instances For
Source of one evaluator-argument bit.
Equations
- Complexity.CircuitCode.EvaluationOracleCircuit.OutputMatchBranch.argumentSource bodyWidth inputWidth coordinate = Complexity.Circuit.InputSource.input (Fin.natAdd bodyWidth coordinate.castSucc)
Instances For
Source of the expected output bit after the evaluator argument.
Equations
- Complexity.CircuitCode.EvaluationOracleCircuit.OutputMatchBranch.expectedSource bodyWidth inputWidth = Complexity.Circuit.InputSource.input (Fin.natAdd bodyWidth (Fin.last inputWidth))
Instances For
Pack a raw-gate body, evaluator argument, and expected output bit.
Equations
- Complexity.CircuitCode.EvaluationOracleCircuit.OutputMatchBranch.sourceInput body input expected = Fin.append body fun (i : Fin (inputWidth + 1)) => Fin.lastCases expected input i
Instances For
Materialize fixed bits as constant circuit sources.
Equations
Instances For
Source-level encoding of a copy gate with one live negation bit.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Source list spelling the tagged family code for a live-bit output match.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Width of the tagged output-match family code.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Fixed-width view of the output-match code source list.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Output-match family-code sources followed by argument sources.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Source circuit producing the evaluator adapter's packed input.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Compose the output-match query sources with the serialized evaluator oracle member selected by their exact width.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Semantic tagged family code emitted for a gate body and expected bit.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Semantic family-code bit string produced by the code sources.
Equations
- One or more equations did not get rendered due to their size.