Fixed-width encoded-gate evaluation formulas -- definitions #
This module defines the formula-level step used to evaluate one gate slot in a fixed-width circuit description. Its two binary references select primary inputs or already-computed gate values, its negation bits conditionally flip those values, and its operation bit selects AND or OR.
The source formulas are abstract. A later sequential construction instantiates them with primary-input wires and output wires of earlier gate-step fragments.
Restrict an unbounded assignment to the encoded-description prefix.
Equations
- Complexity.CircuitCode.FixedWidth.Description.GateFormula.codeOfAssignment inputWidth gateBound assignment coordinate = assignment ↑coordinate
Instances For
Decode one gate slot from the description prefix of an assignment.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formula for the operation bit of one encoded gate slot.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formula for the first negation bit of one encoded gate slot.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formula for the second negation bit of one encoded gate slot.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Conditionally negate a formula value according to a Boolean flag formula.
Equations
Instances For
Apply the encoded operation convention: true selects AND and false OR.
Equations
Instances For
Select the first referenced source value for one gate slot.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Select the second referenced source value for one gate slot.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Evaluate one encoded gate from an abstract family of available sources.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact tree size of one encoded-gate formula when every source is a one-node variable formula.
Equations
- One or more equations did not get rendered due to their size.