Documentation

Complexitylib.Algebraic.LowerBound.Cutwidth.Aggregate.Geometry.Model

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.

theorem Algebraic.Aggregate.Geometry.xorSum_xor {r : ℕ} (x y : Fin r → Bool) :
(xorSum fun (i : Fin r) => x i ^^ y i) = (xorSum x ^^ xorSum y)

Parity of pointwise XOR is the XOR of the two parities.

A binary operation in signed affine/conjunction normal form.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    @[simp]

    Binary normalization retains both ordered argument slots.

    A binary line translated into a single signed gate.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem Algebraic.Aggregate.Geometry.interpretation_binaryOp (f : Bool → Bool → Bool) (x : Fin 2 → Bool) :
      (interpretation (binaryOp f) fun (i : Fin (signature.Arity (binaryOp f))) => x (Fin.cast ⋯ i)) = f (x 0) (x 1)

      Every one-gate binary normalization computes the original truth table.

      Binary normalization preserves the complete gate trace.

      Normalize a binary circuit without changing any gate or output index.

      Equations
      Instances For
        @[simp]

        The translation charges exactly one gate per original binary gate.

        @[simp]

        The normalized circuit has identical Boolean outputs.