Affine Boolean clones and the four-ary even-parity invariant #
This module defines the four-ary even-parity relation
{(x₀, x₁, x₂, x₃) ∈ Bool⁴ | x₀ ⊕ x₁ ⊕ x₂ ⊕ x₃ = false} (evenParity4), proves that preserving
evenParity4 is equivalent to Cslib.BitString.IsAffine
(isPolymorphism_evenParity4_iff_isAffine), and proves that every operation in a positive-arity
Boolean clone containing ternary parity (Cslib.parity 3) and omitting both binary disjunction
(Cslib.Logic.BooleanClone.orOp) and ternary majority (Cslib.majority 3) preserves
evenParity4. Together with the four-generator Boolean clone classification, this isolates the
affine branch of Post's lattice for relational-clone and polymorphism-based constraint satisfaction
arguments.
Main definitions #
Cslib.Logic.BooleanClone.evenParity4: the four-ary even-parity relation onBool.
Main results #
Cslib.Logic.BooleanClone.evenParity4_selfDual:evenParity4is closed under coordinatewise Boolean negation.Cslib.Logic.BooleanClone.evenParity4_separatesCoordinates: distinct coordinates are separated by tuples inevenParity4.Cslib.Logic.BooleanClone.isPolymorphism_evenParity4_of_parity_clone: every positive-arity operation in a Boolean clone containing ternary parity and excludingorOpandmajority 3preservesevenParity4.Cslib.Logic.BooleanClone.isPolymorphism_evenParity4_iff_isAffine: preservingevenParity4is equivalent toCslib.BitString.IsAffine.
The four-ary even-parity relation is nonempty (inhabited by the all-false tuple).
The four-ary even-parity relation is closed under coordinatewise Boolean negation.
Distinct coordinates of evenParity4 are separated by tuples in the relation.
Every positive-arity operation in a Boolean clone containing Cslib.parity 3 and omitting
Cslib.Logic.BooleanClone.orOp and Cslib.majority 3 preserves the four-ary even-parity relation
evenParity4.
Preserving evenParity4 is equivalent to BitString.IsAffine.