Elementary semantics of the signed gate model #
Parity commutes with pointwise XOR. The sixteen binary Boolean operations have arity-preserving signed affine or conjunction normal forms, so the model contains the full binary basis without increasing gate count.
A binary line translated into a single signed gate.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Algebraic.Aggregate.Geometry.binaryProgram
{n g : ℕ}
:
Program Binary.signature n g → Program signature n g
Replace each binary gate by its one-gate signed normal form.
Equations
Instances For
theorem
Algebraic.Aggregate.Geometry.eval_binaryProgram
{n g : ℕ}
(p : Program Binary.signature n g)
(x : Fin n → Bool)
:
Binary normalization preserves the complete gate trace.
Normalize a binary circuit without changing any gate or output index.
Equations
- Algebraic.Aggregate.Geometry.binaryCircuit c = { size := c.size, program := Algebraic.Aggregate.Geometry.binaryProgram c.program, outputs := c.outputs }
Instances For
@[simp]
theorem
Algebraic.Aggregate.Geometry.size_binaryCircuit
{n m : ℕ}
(c : Circuit Binary.signature n m)
:
The translation charges exactly one gate per original binary gate.
@[simp]
theorem
Algebraic.Aggregate.Geometry.eval_binaryCircuit
{n m : ℕ}
(c : Circuit Binary.signature n m)
(x : Fin n → Bool)
:
The normalized circuit has identical Boolean outputs.