Signed unbounded AND and XOR circuits #
Every operation is either an affine Boolean function or a conjunction of signed inputs with an optional output negation. This includes unbounded AND, OR, XOR, constants, and the full binary basis. Programs use the existing acyclic circuit model: every operation costs one gate and repeated wires and unrestricted fanout are allowed. The geometric count records conjunctions with at least two distinct direct primary inputs, including repeated literals of either polarity.
Parity of a finite indexed family of bits.
Equations
Instances For
The actual number of input slots of an operation.
Equations
- (Algebraic.Aggregate.Geometry.Op.affine r bias coefficient).arity = r
- (Algebraic.Aggregate.Geometry.Op.conjunction r polarity negated).arity = r
Instances For
Signature for signed AND/OR/XOR circuits.
Equations
Instances For
Boolean semantics of the signed operations.
Equations
- One or more equations did not get rendered due to their size.
- Algebraic.Aggregate.Geometry.interpretation (Algebraic.Aggregate.Geometry.Op.conjunction arity polarity negated) x_2 = Algebraic.Aggregate.Geometry.conjunctionValue polarity negated x_2
Instances For
Whether the operation uses the conjunction form.
Equations
- (Algebraic.Aggregate.Geometry.Op.affine r bias coefficient).isConjunction = false
- (Algebraic.Aggregate.Geometry.Op.conjunction r polarity negated).isConjunction = true
Instances For
Distinct original input variables appearing directly among a line's slots.
Equations
- Algebraic.Aggregate.Geometry.primaryInputs line = {i : Fin n | ∃ (slot : Fin (Algebraic.Aggregate.Geometry.signature.Arity line.op)), line.wires slot = Cslib.Circuits.Wire.input i}
Instances For
Conjunctions with at least two distinct direct original input variables.
Equations
Instances For
Number of multiple-primary conjunctions in an actual program.