XOR (Parity) Function #
This module defines the N-input XOR function and its key properties.
Main definitions #
Schnorr.xorBool— the N-input XOR (parity) function
Main results #
Schnorr.xorBool_flip— flipping any input bit flips XORSchnorr.xorBool_essential— XOR depends on all inputs
The N-input XOR (parity) function.
Equations
- CircuitComplexity.Schnorr.xorBool 0 x_2 = false
- CircuitComplexity.Schnorr.xorBool n.succ x_2 = (x_2 0 ^^ CircuitComplexity.Schnorr.xorBool n (x_2 ∘ Fin.succ))
Instances For
XOR depends on all inputs.