Documentation

CslibFrontier.Computability.Circuit.Boolean.Zhegalkin.Basis

The Zhegalkin Boolean basis {⊕, ∧, 1} and Theorem 1 gate budget #

Defines the Zhegalkin operation signature Zhegalkin.Op ({1, ⊕, ∧}), its standard Boolean interpretation Zhegalkin.interpretation, conjunction-gate weight Zhegalkin.andCost, and the explicit Theorem 1 gate budget Zhegalkin.totalBound.

Main definitions #

Main results #

References #

Operations of the Zhegalkin (algebraic normal form) Boolean circuit basis {⊕, ∧, 1}.

  • one : Op

    The Boolean constant true (1).

  • xor : Op

    Binary exclusive-or ⊕ (xor, addition in GF(2)).

  • and : Op

    Binary conjunction ∧ (and, multiplication in GF(2)).

Instances For
    @[instance_reducible]

    Finite enumeration of the Zhegalkin basis operations.

    @[reducible, inline]

    The Zhegalkin signature: nullary one and binary xor and and.

    Standard Boolean interpretation of the Zhegalkin basis {⊕, ∧, 1}.

    Instances For
      @[simp]

      Under interpretation, .xor evaluates to x 0 ^^ x 1.

      @[simp]

      Under interpretation, .and evaluates to x 0 && x 1.

      Conjunction-gate weight charging 1 for each .and gate and 0 for .xor and .one.

      @[simp]

      A conjunction gate has andCost equal to 1.

      @[simp]

      An XOR gate has andCost equal to 0.

      @[simp]

      A constant-1 gate has andCost equal to 0.

      The number of conjunction gates in a {⊕, ∧, 1}-program is at most its total gate count.

      Explicit total gate budget over {⊕, ∧, 1} for the upper bound of [Sergeev, Theorem 1, p. 3] [Ser13] for an n-input Boolean function of multiplicative complexity at most M, with block/stage width s and horizontal section height p.