Documentation

CslibFrontier.Computability.Circuit.Boolean.Zhegalkin.Complexity

Functional completeness and multiplicative complexity over {⊕, ∧, 1} #

Proves that the Zhegalkin basis {⊕, ∧, 1} simulates the De Morgan basis and defines multiplicativeComplexity (L_∧(f)) along with its basic circuit characterizations.

Main definitions #

Main results #

References #

The Zhegalkin basis {⊕, ∧, 1} simulates the De Morgan basis {0, 1, ¬, ∧, ∨}.

The Zhegalkin basis {⊕, ∧, 1} is functionally complete.

noncomputable def Cslib.Circuits.Boolean.Zhegalkin.multiplicativeComplexity {n m : ℕ} (f : (Fin n → Bool) → Fin m → Bool) :

The multiplicative complexity L_∧(f) of a Boolean operator f over {⊕, ∧, 1} (Sergeev, p. 1): the least number of conjunction (∧) gates in a {⊕, ∧, 1}-circuit computing f, with .xor and .one gates free.

Every {⊕, ∧, 1}-circuit computing f bounds multiplicativeComplexity f by its andCost.

multiplicativeComplexity f ≤ M holds iff some {⊕, ∧, 1}-circuit computes f using at most M conjunction gates.

Multiplicative complexity never exceeds total {⊕, ∧, 1} circuit complexity.