Documentation

CslibFrontier.Logics.BooleanClone.PostSeparation

Post-Lattice Six-Class Separation for Positive-Arity Boolean Clones #

This module defines the six boundary clones of Post's lattice separating the three upward classes generated by ternary majority (cloneD2), x ∧ (y ∨ z) (cloneF6Inf), and x ∨ (y ∧ z) (cloneF2Inf) from the three downward classes of affine (cloneL1), conjunctive (cloneP6), and disjunctive (cloneS6) Boolean functions. The six-class separation theorem is proved here as an original corollary under the positive-arity convention (Cslib.Logic.BooleanClone), corresponding to the upward/downward boundary inclusions in Post's lattice [Post1941, lattice diagram of closed systems].

Main definitions #

Main results #

References #

The ternary operation x ∧ (y ∨ z) generating cloneF6Inf.

The ternary operation x ∨ (y ∧ z) generating cloneF2Inf.

Self-duality of an n-ary Boolean function: f(¬a) = ¬f(a).

Odd-arity majority Cslib.majority (2 * q + 1) is self-dual.

The clone D_2 of monotone self-dual positive-arity Boolean functions.

The clone F_6^∞ of monotone functions preserving 0 and 1 and bounded above by a coordinate.

The clone F_2^∞ of monotone functions preserving 0 and 1 and bounded below by a coordinate.

The affine Boolean clone L_1.

The conjunctive clone with constants P_6: functions preserving coordinatewise conjunction.

The disjunctive clone with constants S_6: functions preserving coordinatewise disjunction.

A Boolean clone contains cloneD2 iff it contains ternary majority Cslib.majority 3.

A Boolean clone contains cloneF6Inf iff it contains f6Op.

A Boolean clone contains cloneF2Inf iff it contains f2Op.

theorem Cslib.Logic.BooleanClone.mem_cloneP6_iff_conj {n : ℕ} (hn : 0 < n) (f : (Fin n → Bool) → Bool) :
f ∈ cloneP6.operations n ↔ (∀ (a : Fin n → Bool), f a = false) ∨ ∃ (S : Finset (Fin n)), ∀ (a : Fin n → Bool), f a = decide (∀ i ∈ S, a i = true)

Semantic normal form for cloneP6: every f ∈ cloneP6 is either identically false or a conjunction of a subset of coordinates.

theorem Cslib.Logic.BooleanClone.post_six_class_separation (C : BooleanClone) (hD2 : ¬∀ (n : ℕ), cloneD2.operations n ⊆ C.operations n) (hF6 : ¬∀ (n : ℕ), cloneF6Inf.operations n ⊆ C.operations n) (hF2 : ¬∀ (n : ℕ), cloneF2Inf.operations n ⊆ C.operations n) :
(∀ (n : ℕ), C.operations n ⊆ cloneL1.operations n) ∨ (∀ (n : ℕ), C.operations n ⊆ cloneP6.operations n) ∨ ∀ (n : ℕ), C.operations n ⊆ cloneS6.operations n

Post-lattice six-class separation: every positive-arity Boolean clone containing none of cloneD2, cloneF6Inf, and cloneF2Inf is contained in cloneL1, cloneP6, or cloneS6.

theorem Cslib.Logic.BooleanClone.post_six_class_partition (C : BooleanClone) :
((∀ (n : ℕ), C.operations n ⊆ cloneL1.operations n) ∨ (∀ (n : ℕ), C.operations n ⊆ cloneP6.operations n) ∨ ∀ (n : ℕ), C.operations n ⊆ cloneS6.operations n) ↔ ¬((∀ (n : ℕ), cloneD2.operations n ⊆ C.operations n) ∨ (∀ (n : ℕ), cloneF6Inf.operations n ⊆ C.operations n) ∨ ∀ (n : ℕ), cloneF2Inf.operations n ⊆ C.operations n)

Exact Post-lattice partition between the upward region {cloneD2, cloneF6Inf, cloneF2Inf} and the downward region {cloneL1, cloneP6, cloneS6}.