Abstract
Primitive positive constructions have been introduced in recent work of Barto, Opršal, and Pinsker to study the computational complexity of constraint satisfaction problems. Let \({\mathfrak {P}}_{\mathrm {fin}}\) be the poset which arises from ordering all finite relational structures by pp-constructability. This poset is infinite, but we do not know whether it is uncountable. In this article, we give a complete description of the restriction \({\mathfrak {P}}_{\mathrm {Boole}}\) of \({\mathfrak {P}}_{\mathrm {fin}}\) to relational structures on a two-element set. We use \({\mathfrak {P}}_{\mathrm {Boole}}\) to present the various complexity regimes of Boolean constraint satisfaction problems that were described by Allender, Bauland, Immerman, Schnoor and Vollmer.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Varieties play a central role in universal algebra. In 1974, Neumann [10] defined the notion of interpretability between varieties, which has been studied intensively, e.g., by Garcia and Taylor [6]. The corresponding lattice basically corresponds to the homomorphism order of clones.
Recently, Barto, Opršal, and Pinsker [3] introduced minor-preserving maps, a weakening of the notion of a clone homomorphism. We study the poset that arises from ordering clones on a finite domain with respect to the existence of minor-preserving maps. It can be characterised in three very different, but equivalent, ways. One of the characterisations is in terms of primitive positive constructions for relational structures. Primitive positive constructions are also motivated by the study of the computational complexity of constraint satisfaction problems (CSPs). They preserve the complexity of the CSPs in the following sense: if \({{\mathbb {A}}}\) and \({\mathbb {B}}\) are finite structures such that \({{\mathbb {A}}}\) pp-constructs \({\mathbb {B}}\) then \({\text {CSP}}({\mathbb {B}})\) has a polynomial-time reduction to \({\text {CSP}}({{\mathbb {A}}})\). Barto, Opršal, and Pinsker [3] proved that \({{\mathbb {A}}}\) pp-constructs \({\mathbb {B}}\) if and only if it exists a minor-preserving map from \({{\,\mathrm{Pol}\,}}({{{\mathbb {A}}}})\) to \({{\,\mathrm{Pol}\,}}({{\mathbb {B}}})\) (Theorem 2.6).
Let \({\mathfrak {P}}_{\mathrm {fin}}\) be the poset which arises from ordering all finite relational structures by pp-constructability. It follows from Bulatov’s universal-algebraic proof [5] of the H-coloring dichotomy theorem of Hell and Nešetřil [8] that the poset \({\mathfrak {P}}_{\mathrm {fin}}\), restricted to all finite undirected graphs, just has three elements: \({{\mathbb {K}}}_3\) (the clique with three vertices), \({{\mathbb {K}}}_2\) (the graph consisting of a single edge), and the graph with one vertex and a loop. On the other hand, the cardinality of \({\mathfrak {P}}_{\mathrm {fin}}\) is not known; it is clear that it has infinite descending chains (already for two-element structures), but it is not known whether it is uncountable.
In this article we study the restriction of \({\mathfrak {P}}_{\mathrm {fin}}\) to all two-element structures. We call this subposet \({\mathfrak {P}}_{\mathrm {Boole}}\); it turns out that it is a countably infinite lattice. We provide a description of \({\mathfrak {P}}_{\mathrm {Boole}}\) in Theorem 3.22; in particular, we show that it has 3 atoms, one coatom, infinite descending chains, and a planar Hasse diagram. Our poset \({\mathfrak {P}}_{\mathrm {Boole}}\) can be used to formulate a refinement of Schaefer’s theorem [13] that matches the known results about the complexity of Boolean constraint satisfaction problems [1, 2].
2 The pp-constructability poset
As already anticipated in the introduction, \({\mathfrak {P}}_{\mathrm {fin}}\) can be defined in three different ways. In this section we introduce two of them. The third equivalent description relates the elements of \({\mathfrak {P}}_{\mathrm {fin}}\) with classes of algebras closed not only under the classical operators H, S, and P, but also under so-called reflections; but this will not be relevant for the purposes of this article, so we refer the interested reader to [3].
2.1 pp-constructions
Let \(\tau \) be a relational signature. Two relational \(\tau \)-structures \({{\mathbb {A}}}\) and \({\mathbb {B}}\) are homomorphically equivalent if there exists a homomorphism from \({{\mathbb {A}}}\) to \({\mathbb {B}}\) and vice-versa. A primitive positive formula (over \(\tau \)) is a first-order formula which only uses relation symbols in \(\tau \), equality, conjunction and existential quantification. When \({{\mathbb {A}}}\) is a \(\tau \)-structure and \(\phi (x_1,\dots ,x_n)\) is a \(\tau \)-formula with n free-variables \(x_1,\dots ,x_n\) then \(\{(a_1,\dots ,a_n)\mid {{\mathbb {A}}}\models \phi (a_1,\dots ,a_n)\}\) is called the the relation defined by\(\phi \). If \(\phi \) is primitive positive, then this relation is said to be pp-definable in \({{\mathbb {A}}}\). Given two relational structures \({{\mathbb {A}}}\) and \({\mathbb {B}}\) on the same domain \(A = B\) (but with possibly different signatures), we say that \({{\mathbb {A}}}\)pp-defines\({\mathbb {B}}\) if every relation in \({\mathbb {B}}\) is pp-definable in \({{\mathbb {A}}}\). We say that \({\mathbb {B}}\) is a pp-power of \({{\mathbb {A}}}\) if it is isomorphic to a structure with domain \(A^n\), where \(n\ge 1\), whose relations are pp-definable from \({{\mathbb {A}}}\) (a k-ary relation on \(A^n\) is regarded as a kn-ary relation on A).
Definition 2.1
[3]. Let \({{\mathbb {A}}}\) and \({\mathbb {B}}\) be relational structures. We say that \({{\mathbb {A}}}\)pp-constructs\({\mathbb {B}}\), in symbols \({{\mathbb {A}}}\preceq {\mathbb {B}}\), if \({\mathbb {B}}\) is homomorphically equivalent to a pp-power of \({{\mathbb {A}}}\).
The following result from [3] asserts that pp-constructability preserves the complexity of \({\text {CSP}}\)s:
Proposition 2.2
Let \({{\mathbb {A}}}\) and \({\mathbb {B}}\) be relational structures. If \({{\mathbb {A}}}\) pp-constructs \({\mathbb {B}}\) then \({\text {CSP}}({\mathbb {B}})\) is log-space reducible to \({\text {CSP}}({{\mathbb {A}}})\).
Since pp-constructability is a reflexive and transitive relation on the class of relational structures [3], the relation \(\equiv \) defined by
is an equivalence relation. The equivalence classes of \(\equiv \) are called the pp-constructability types and we write \({\overline{{{\mathbb {A}}}}}\) for the pp-constructability type of \({{\mathbb {A}}}\). For any two relational structures \({{\mathbb {A}}}\) and \({\mathbb {B}}\) we write \({\overline{{{\mathbb {A}}}}}\preceq \overline{{\mathbb {B}}}\) if and only if \({{\mathbb {A}}}\preceq {\mathbb {B}}\). The poset
is called the pp-constructability poset.
This article is dedicated to the subposet \({\mathfrak {P}}_{\mathrm {Boole}}\) of \({\mathfrak {P}}_{\mathrm {fin}}\), whose universe is the set of all pp-constructability types of relational structures on \(\{0,1\}\).
2.2 Minor-preserving maps
Another approach to the pp-constructability poset involves a weakening of the notion of clone homomorphism and certain identities called height 1 identities.
Definition 2.3
Let \(\tau \) be a functional signature. An identity is said to be a height 1 identity if it is of the form
where f, g are function symbols in \(\tau \) and \(\pi :\{1,\dots ,n\} \rightarrow \{1,\dots ,r\}\) and \(\sigma :\{1,\dots ,m\} \rightarrow \{1,\dots ,r\}\) are mappings.
In other words, we require that there is exactly one occurrence of a function symbol on both sides of the equality. The use of nested terms is forbidden. Identities of the form \(f(x_1,\dots ,x_n)\approx y\) are forbidden as well (identities of this form are often called linear or of height at most 1).
A height 1 condition is a finite set \(\Sigma \) of height 1 identities. We say that a set of functions F (for instance a clone) satisfies a height 1 condition \(\Sigma \), and we write \(F\models \Sigma \), if for each function symbol f appearing in \(\Sigma \), there exists a function \(f^F\in F\) of the corresponding arity such that every identity in \(\Sigma \) becomes a true statement when the symbols of \(\Sigma \) are instantiated by their counterparts in F.
We introduce some height 1 conditions that we are going to use later.
Definition 2.4
Let f be a k-ary operation symbol.
The set of height 1 identities
$$\begin{aligned} f(x,\dots ,x,y) \approx f(x,\dots ,y,x) \approx \dots \approx f(y,x,\dots ,x) \approx f(x,\dots ,x) \end{aligned}$$is called quasi near-unanimity condition\(({\text {QNU}}(k))\).
The \({\text {QNU}}(3)\) condition is also called quasi majority condition.
The set of height 1 identities (\(k=3\))
$$\begin{aligned} f(x,y,y) \approx f(y,x,y) \approx f(y,y,x) \approx f(x,x,x) \end{aligned}$$is called quasi minority condition.
A k-ary function f is a quasi near-unanimity operation if \(\{f\}\) satisfies the quasi near-unanimity condition \({\text {QNU}}(k)\). A quasi majority and a quasi minority operation is defined in the same way.
Let f be any n-ary operation. Let \(\pi \) be a function from \(\{1,\dots ,n\}\) to \(\{1,\dots ,r\}\). We denote by \(f_\pi \) the following r-ary operation
Definition 2.5
[3]. Let \({\mathcal {A}}\) and \({\mathcal {B}}\) be clones and let \(\alpha :{\mathcal {A}} \rightarrow {\mathcal {B}}\) be a mapping that preserves arities. We say that \(\xi \) is a minor-preserving map if
for any n-ary operation \(f \in {\mathcal {A}}\) and \(\pi :\{1,\dots ,n\} \rightarrow \{1,\dots ,r\}\).
We write \({\mathcal {A}}\preceq _m {\mathcal {B}}\) if there exists a minor-preserving map \(\xi :{\mathcal {A}} \rightarrow {\mathcal {B}}\), and we denote by \(\equiv _m\) the equivalence relation where \(\mathcal A \equiv _m {\mathcal {B}}\) if \({\mathcal {A}} \preceq _m {\mathcal {B}}\) and \({\mathcal {B}} \preceq _m{\mathcal {A}}\). Again, we denote by \(\overline{{\mathcal {A}}}\) the \(\equiv _m\)-class of \({\mathcal {A}}\) and we write \(\overline{{\mathcal {A}}}\preceq _m\overline{{\mathcal {B}}}\) if and only if \({\mathcal {A}}\preceq _m{\mathcal {B}}\). The connection between pp-constructability and minor-preserving maps is given by the following theorem.
Theorem 2.6
[3]. Let \({{\mathbb {A}}}\) and \({\mathbb {B}}\) be finite relational structures and let \({\mathcal {A}}\) and \({\mathcal {B}}\) be their polymorphism clones. Then the following are equivalent:
- (1)
\({{\mathbb {A}}}\preceq {\mathbb {B}}\).
- (2)
\({\mathcal {A}}\preceq _m{\mathcal {B}}\).
- (3)
Every height 1 condition that holds in \({\mathcal {A}}\) also holds in \({\mathcal {B}}\).
- (4)
\({\mathcal {B}} \in {\text {ERP}} {\mathcal {A}}\).
We refer to [3] for the definitions involved in Item (4) of the statement; we just mention that \({{\,\mathrm{ERP}\,}}{\mathcal {A}}\) contains the universal-algebraic variety \({{\,\mathrm{HSP}\,}}{\mathcal {A}}\).
Note that Theorem 2.6 provides an important tool to prove that two elements are distinct in our poset: if \({{\mathbb {A}}}\npreceq {\mathbb {B}}\), then there is a height 1 condition which is satisfied in \({\mathcal {A}}\) but not in \({\mathcal {B}}\). Also note that every operation clone on a finite set is the polymorphism clone of a finite relational structure. Therefore, the poset
is isomorphic to \({\mathfrak {P}}_{\mathrm {fin}}\). In fact, both posets will be called \({\mathfrak {P}}_{\mathrm {fin}}\) and we will use the same symbol \(\preceq \) both for the pp-constructability order between structures and for the minor-preserving order between clones.
2.3 Post’s lattice
The set of clones on the Boolean set \(\{0,1\}\) was first investigated by Post [12] in 1941. This set has countably many elements and forms a lattice with respect to the inclusion order. Since we built on this result, we dedicate a section to Post’s lattice in order to fix some notation. Note that if \(\mathcal C \subseteq {\mathcal {D}}\), then it follows that \({\mathcal {C}} \preceq {\mathcal {D}}\) via the identity mapping.
We label the clones of Post’s lattice by generators: if \(f_1,\dots ,f_n\) are operations on \(\{0,1\}\), then \([f_1,\dots ,f_n]\) denotes the clone generated by \(f_1,\dots ,f_n\). As usual, we may apply functions componentwise, i.e., if f is a k-ary map, and \({\mathbf {t}}_1,\dots ,{\mathbf {t}}_k \in \{0,1\}^m\), then \(f({\mathbf {t}}_1,\dots ,{\mathbf {t}}_k)\) denotes the m-tuple
In the description of Post’s lattice, we use the following operations.
0 and 1 denote the two unary constant operations.
c(x) denotes the usual Boolean complementation, i.e., the non-identity permutation on \(\{0,1\}\).
If \(f(x_1,\dots ,x_n)\) is an n-ary operation, then \(f^\Delta (x_1,\dots ,x_n)\) denotes its dual, given by \(f^\Delta (x_1,\dots ,x_n) := c(f(c(x_1),\dots ,c(x_n))))\).
\(x \oplus y := (x + y)\mod 2\) and \(x \oplus ' y := c(x \oplus y)\).
\(x \rightarrow y := c(x) \vee y\) and \(x *y := c(x) \wedge y\).
\(d_n(x_1,\dots ,x_n) := \bigvee _{i = 1}^n \bigwedge _{j=1 , j\ne i} x_j\). For \(n = 3\) we obtain the majority operation\(d_3(x,y,z) = (x \wedge y) \vee (x \wedge z) \vee (y \wedge z)\).
The minority operation\(m(x,y,z) := x \oplus y \oplus z\).
\(p(x,y,z) := x \wedge (y \vee z)\).
\(q(x,y,z) := x \wedge (y \oplus ' z) = x \wedge ((y \wedge z) \vee (c(y) \wedge c(z)))\).
Post’s lattice has 7 atoms, 5 coatoms and it is countably infinite because of the presence of some infinite descending chains; see Figure 1.
3 The lattice \({\mathfrak {P}}_{\mathrm {Boole}}\)
We consider the order defined in Section 2.2 restricted to the class of Boolean clones. Note that this is a coarser order than the usual inclusion order on the class of Boolean clones. In this section we are going to describe systematically the poset
First, we prove that certain Boolean clones are in the same \(\equiv \)-class. Later, in Section 3.2 we prove that certain Boolean clones lie in different \(\equiv \)-classes and, for each separation, we provide a height 1 condition as a witness. We write \({\mathcal {C}} \mid {\mathcal {D}}\) if \({\mathcal {C}}\npreceq {\mathcal {D}}\) and \({\mathcal {D}}\npreceq {\mathcal {C}}\). Sometimes it will be useful to refer to relational descriptions of the clones: recall from Theorem 2.6 that if \({\mathcal {A}} = {{\,\mathrm{Pol}\,}}({{\mathbb {A}}})\) and \({\mathcal {B}} = {{\,\mathrm{Pol}\,}}({\mathbb {B}})\), then \({\mathcal {A}} \preceq {\mathcal {B}}\) if and only if \({{\mathbb {A}}}\preceq {\mathbb {B}}\). Finally, in Section 3.3, we display an order diagram of \({\mathfrak {P}}_{\mathrm {Boole}}\).
3.1 Collapses
In this section we prove that certain clones on \(\{0,1\}\) are in the same \(\equiv \)-class, i.e., represent the same element in \({\mathfrak {P}}_{\mathrm {Boole}}\). We start with the observation that each clone collapses with its dual.
Proposition 3.1
Let \({\mathcal {C}}\) and \({\mathcal {D}}\) be two Boolean clones with \({\mathcal {C}}:=[f_1,\dots ,f_m]\) and \({\mathcal {D}} :=[f_1^\Delta ,\dots ,f_m^\Delta ]\). Then \({\mathcal {C}}\equiv {\mathcal {D}}\).
Proof
To prove that \({\mathcal {C}} \preceq {\mathcal {D}}\), define \(\xi (f):=f^\Delta \) for any \(f\in {\mathcal {C}}\). Then
The same argument can be used to prove that \({\mathcal {D}} \preceq {\mathcal {C}}\). \(\square \)
Proposition 3.2
Let \({\mathcal {C}}\) be any clone and \({\mathcal {D}}\) be a clone with a constant operation. Then \({\mathcal {C}} \preceq {\mathcal {D}}\).
Proof
Note that \({\mathcal {D}}\) contains a constant operation \(g^n\) for every arity n. The map \(\xi :{\mathcal {C}} \rightarrow {\mathcal {D}}\) that sends every n-ary operation to \(g^n\) is minor-preserving. \(\square \)
It follows that the top-element in \({\mathfrak {P}}_{\mathrm {Boole}}\) is the class of clones that contain a constant operation. The next proposition is about the bottom element.
Proposition 3.3
Let \([\emptyset ]\) be the set of projections and let [c] be the clone generated by the Boolean negation. Then \([\emptyset ] \equiv [c]\).
Proof
We only have to prove that \([c]\preceq [\emptyset ]\). Then the map that fixes the projections and maps \(c(\pi _i^{(n)})\) to \(\pi _i^{(n)}\) is a minor-preserving from [c] to \([\emptyset ]\). \(\square \)
Note that with the collapses we have reported so far we can make some observations on the number of atoms in \({\mathfrak {P}}_{\mathrm {Boole}}\). We already pointed out that \(\overline{[0]}\) and \(\overline{[1]}\) are not atoms in \({\mathfrak {P}}_{\mathrm {Boole}}\), since \(\overline{[0]}=\overline{[1]}\) is the top-element in \({\mathfrak {P}}_{\mathrm {Boole}}\). Furthermore, we have that \([\vee ] \equiv [\wedge ]\) because they are dual to each other. Altogether, we get that \({\mathfrak {P}}_{\mathrm {Boole}}\) has at most three atoms: \(\overline{[\wedge ]}\), \(\overline{[m]}\), and \(\overline{[d_3]}\). We prove in Subsection 3.2 that these are distinct elements in \({\mathfrak {P}}_{\mathrm {Boole}}\).
Another case of collapse is that the clones \([\vee ,\wedge ]\) and \([d_3,p]\) represent the same element in \({\mathfrak {P}}_{\mathrm {Boole}}\). We consider the binary relations
and define (following the notation in [2]):
where \(\{0\}\) and \(\{1\}\) are unary relations. It is known that \([\vee ,\wedge ] = {{\,\mathrm{Pol}\,}}({\mathbb {D}}_{\mathrm {STCON}})\) and \([d_3,p] = {{\,\mathrm{Pol}\,}}({\mathbb {B}}_2, \le )\) (see, e.g., [13]).
Proposition 3.4
\([\vee ,\wedge ] \equiv [d_3,p]\).
Proof
Since \([d_3,p] \subseteq [\vee ,\wedge ]\) it follows that \([d_3,p]\preceq [\vee ,\wedge ]\). For the other inequality it suffices to prove that \(({\mathbb {B}}_2, \le )\) is homomorphically equivalent to a pp-power of \({\mathbb {D}}_{\mathrm {STCON}}\). We consider the relational structure \({{\mathbb {A}}}\) with domain \(\{0,1\}^2\) and relations defined by
Note that \({{\mathbb {A}}}\) is indeed a pp-power of \({\mathbb {D}}_{\mathrm {STCON}}\). We define the map
as follows:
Let \(g:({\mathbb {B}}_2, \le ) \rightarrow {{\mathbb {A}}}\) be a map such that \(g(0):=(0,1)\) and \(g(1):=(1,0)\). It is easy to check that both f and g are homomorphisms (Figure 2). This proves that \({{\mathbb {A}}}\) is homomorphically equivalent to \(({\mathbb {B}}_2, \le )\). \(\square \)
Recall that the idempotent reduct of a clone \({\mathcal {C}}\) is the clone \({\mathcal {C}}^{\mathrm {id}}\) that consists of all idempotent operations in \({\mathcal {C}}\).
Lemma 3.5
Let \({\mathcal {C}}\) be a Boolean clone with no constant operations. Let \({\mathcal {D}} :=[{\mathcal {C}} \cup \{c\}]\) be the clone generated by \({\mathcal {C}}\) and the Boolean negation c. Then we have \({\mathcal {D}}\equiv {\mathcal {D}}^{\mathrm {id}}\).
Proof
Since \({\mathcal {C}}\) contains no constant operations, for any operation f in \({\mathcal {C}}\) either \(f(x,\dots ,x) \approx x\) holds or \(f(x,\dots ,x) \approx c(x)\) holds. We claim that there exists a minor-preserving map \(\xi : {\mathcal {D}} \rightarrow \mathcal D^{\mathrm {id}}\). We define \(\xi :{\mathcal {D}} \rightarrow \mathcal D^{\mathrm {id}}\) as follows: for an n-ary operation \(f \in {\mathcal {D}}\)
By definition \(\xi (f) \in {\mathcal {D}}^{\mathrm {id}}\). We claim that \(\xi \) is minor preserving: if f is idempotent, then \(\xi \) is the identity, and the claim trivially holds; in the other case, the claim follows by the definition of negation:
\(\square \)
Corollary 3.6
\([d_3,c] \equiv [d_3,m]\) and \([m,c] \equiv [m]\).
Proof
Checking in Post’s lattice \({\mathfrak {P}}\) we have that that \([d_3,c]^{\mathrm {id}} = [d_3,m]\) and \([m,c]^{\mathrm {id}} = [m]\). The statement follows from Lemma 3.5. \(\square \)
3.2 Separations
Recall that if \({\mathcal {A}}\npreceq {\mathcal {B}}\) then there is a height 1 condition \(\Sigma \) which is satisfied by some operations in \({\mathcal {A}}\) but by none of the operations in \({\mathcal {B}}\). In this case we say that \(\Sigma \)is a witness for\(\mathcal A\npreceq {\mathcal {B}}\). We will use the following height 1 conditions.
Definition 3.7
The following set of height 1 identities
is called n-ary quasi Jónsson condition, \({\text {QJ}}(n)\).
Proposition 3.8
The quasi Jónsson condition \({\text {QJ}}(4)\) is a witness for \([p] \npreceq [\wedge ]\).
Proof
Define the operations:
then \(t^{[p]}_0,\dots ,t^{[p]}_4\) are witnesses for \([p]\models {\text {QJ}}(4)\). On the other hand, let us suppose that there are witnesses \(t^{[\wedge ]}_0,\dots ,t^{[\wedge ]}_4\) for \([\wedge ]\models {\text {QJ}}(4)\) . Since any operation in \([\wedge ]\) is idempotent, we have \(t^{[\wedge ]}_0(x,y,z) = x\). Moreover, from the identity
we have that \(t^{[\wedge ]}_1(x,y,z)\) does not depend on the second argument. Moreover, \(t_0(x,x,z)\approx t_1(x,x,z)\) implies that \(t^{[\wedge ]}_1(x,y,z)\) does not depend on the third argument. Hence, we conclude that \(t^{[\wedge ]}_1(x,y,z) = x\). From the identity \(t_1(x,z,z)\approx t_2(x,z,z)\) and using \(t^{[\wedge ]}_1(x,y,z) = x\), we get that \(t^{[\wedge ]}_2(x,y,z) = x\). Similarly, we obtain also that \(t^{[\wedge ]}_3(x,y,z) = x\) and \(t^{[\wedge ]}_4(x,y,z) = x\). This is in contradiction with the identity \(t_4(x,y,z)\approx t_4(z,z,z)\). Hence, we conclude that \([\wedge ]\) does not satisfy \({\text {QJ}}(4)\). \(\square \)
The following structures are useful in the next proposition:
where for all \(a,b,c,d \in \{0,1\}\):
These structures are the relational counterparts of the atoms of \({\mathfrak {P}}_{\mathrm {Boole}}\) in the sense that \([d_3]={{\,\mathrm{Pol}\,}}({\mathbb {D}}_{\mathrm {2SAT}})\), \([m]={{\,\mathrm{Pol}\,}}({\mathbb {D}}_{3\mathrm {LIN}2})\), and \([\wedge ]={{\,\mathrm{Pol}\,}}({\mathbb {D}}_{\mathrm {HORNSAT}})\) (see, for instance, [13]).
Proposition 3.9
The following holds:
- (1)
\([\wedge ]\mid [d_3]\).
- (2)
\([d_3]\mid [m]\).
- (3)
\([m]\mid [\wedge ]\).
Proof
(1) By definition, \(d_3\) is a quasi majority operation. Let f be any Boolean quasi majority operation. Then it is easy to check that f does not preserve \(R_{110}\) and thus \(f\notin [\wedge ]= {{\,\mathrm{Pol}\,}}({\mathbb {D}}_{\mathrm {HORNSAT}})\). Hence, the quasi majority condition is a witness for \([d_3]\npreceq [\wedge ]\).
We claim that the height 1 identity \(f(x,y) \approx f(y,x)\) is a witness for \([\wedge ]\npreceq [d_3]\). This identity is clearly satisfied by \(\wedge \). Let f be any Boolean binary commutative operation. Then f preserves neither \(R_{00}\) nor \(R_{11}\). Hence, \(f\notin [d_3] = {{\,\mathrm{Pol}\,}}({\mathbb {D}}_{\mathrm {2SAT}})\) and thus the claim is proved.
(2) Let f be a Boolean quasi majority operation. Then f does not preserve \(R_{1111} = \{(0,0,1), (0,1,0), (1,0,0), (1,1,1)\}\) and thus \(f\notin [m] = {{\,\mathrm{Pol}\,}}({\mathbb {D}}_{3\mathrm {LIN}2})\). Hence, the quasi majority condition is a witness for \([d_3]\npreceq [m]\). Let g be any Boolean quasi minority operation, then g does not preserve \(R_{110}\) and therefore the quasi minority condition is a witness for \([m]\npreceq [d_3]\).
(3) Similar to case (1). \(\square \)
Corollary 3.10
\([d_3,p] \npreceq [d_3]\).
Proof
If \([\wedge ] \subseteq [d_3,p]\), then \([d_3,p]\) satisfies the height 1 identity \(f(x,y) \approx f(y,x)\). In the proof of Proposition 3.9 it was shown that \([d_3]\) does not satisfy \(f(x,y) \approx f(y,x)\). Hence, \([d_3,p]\npreceq [d_3]\). \(\square \)
It is easy to check that \([d_3 , m] = {{\,\mathrm{Pol}\,}}({{\mathbb {C}}_2})\), where \({{\mathbb {C}}_2}\) is the relational structure \({{\mathbb {C}}_2} :=(\{0,1\};\{0\},\{1\},\{(0,1), (1,0)\})\).
Proposition 3.11
The following holds:
- (1)
\([d_3 , m] \npreceq [d_3]\).
- (2)
\([d_3 , m] \npreceq [m]\).
- (3)
\([d_3 , m]\mid [\wedge ]\).
Proof
(1) and (2) follow immediately from Proposition 3.9: the quasi minority condition is a witness for \([d_3,m]\npreceq [d_3]\) and the quasi majority condition is a witness for \([d_3,m]\npreceq [m]\). Concerning (3), it follows from Proposition 3.9 that the quasi majority condition is a witness for \([d_3 , m]\npreceq [\wedge ]\). Conversely, suppose that g is a Boolean binary commutative operation. Then g does not preserve \({{\mathbb {C}}_2}\). Therefore, the height 1 identity \(f(x,y)\approx f(y,x)\) is a witness for \([\wedge ]\npreceq [d_3,m]\). \(\square \)
We now prove that \({\mathfrak {P}}_{\mathrm {Boole}}\) contains an infinite descending chain.
In order to prove this fact, we introduce the following relational structures, also known as blockers [11]:
Blockers are the relational counterparts of the clones considered in the chain (C1), because the same chain can be rewritten as:
We use the \({\text {QNU}}\) identities to prove that the order is strict: in fact, \({{\,\mathrm{Pol}\,}}({\mathbb {B}}_{n-1})\) satisfies \({\text {QNU}}(n)\) but \({{\,\mathrm{Pol}\,}}({\mathbb {B}}_n)\) does not.
Proposition 3.12
For any natural number \(n>2\), the quasi near-unanimity condition \({\text {QNU}}(n)\) is a witness for \({{\,\mathrm{Pol}\,}}({\mathbb {B}}_{n-1})\npreceq {{\,\mathrm{Pol}\,}}({\mathbb {B}}_n)\).
Proof
Let f be an n-ary quasi near-unanimity operation. Suppose for contradiction that f is in \({{\,\mathrm{Pol}\,}}({\mathbb {B}}_n)\). Note that f is idempotent since it has to preserve the unary relations \(\{0\}\) and \(\{1\}\). In the following \((n\times n)\)-matrix every column is an element of \(B_n\). Then we get a contradiction since, applying f row-wise, we obtain the missing n-tuple \((0,\dots ,0)\).
![](http://media.springernature.com/lw201/springer-static/image/art%3A10.1007%2Fs00012-020-0647-8/MediaObjects/12_2020_647_Equ35_HTML.png)
Let g be an n-ary operation defined as:
Then, by definition, g is a \({\text {QNU}}\) operation. We claim that \(g \in {{\,\mathrm{Pol}\,}}({\mathbb {B}}_{n-1})\). Indeed, from an analysis of any \((n-1)\times n\)-matrix \({\mathbf {M}}\) such that applying g to the rows of \({\mathbf {M}}\) one gets the tuple \((0,\dots ,0)\), we conclude that one of the columns of \({\mathbf {M}}\) must be equal to a 0-vector. Thus the claim follows. \(\square \)
With the same argument we can prove that there is another infinite descending chain, namely
Again we consider the relational counterparts of the clones involved in (C2) and rewrite the chain as follows:
Proposition 3.13
For any natural number \(n>2\), the quasi near-unanimity condition \({\text {QNU}}(n)\) is a witness for \({{\,\mathrm{Pol}\,}}({\mathbb {B}}_{n-1},\le )\npreceq {{\,\mathrm{Pol}\,}}({\mathbb {B}}_n,\le )\).
The next step is to show that (C1) and (C2) are two distinct chains in \({\mathfrak {P}}_{\mathrm {Boole}}\). In particular, we prove that there is no minor-preserving map from [q] to \([d_3,p]\). The height 1 condition which we use as a witness of this fact is the quasi-version of a celebrated set of identities from universal algebra [7].
Definition 3.14
The following set of height 1 identities
is called n-ary quasi Hagemann-Mitschke condition, \({\text {HM}}(n)\).
Proposition 3.15
The height 1 condition \({\text {HM}}(3)\) is a witness for \([q]\npreceq [d_3,p]\).
Proof
Note that \([q]\models {\text {HM}}(3)\); defining:
Suppose for contradiction that \(\mathcal C:={{\,\mathrm{Pol}\,}}({\mathbb {B}}_2, \le )\) satisfies the height 1 condition \({\text {HM}}(3)\) via \(p^{{\mathcal {C}}}_0,\dots ,p^{\mathcal C}_3\). Then we have
which is a contradiction. \(\square \)
Proposition 3.16
\([m] \npreceq [d_3,p]\).
Proof
We claim that the quasi minority condition is a witness for \([m]\npreceq [d_3,p]\). In fact, let f be any Boolean quasi minority operation. Then f does not preserve \(B_2\) since the missing tuple (0, 0) can be obtained by applying f to tuples in \(B_2\). Hence, \(f \notin [d_3,p] = {{\,\mathrm{Pol}\,}}({\mathbb {B}}_2, \le )\) and thus the claim follows. \(\square \)
Corollary 3.17
Let \({\mathcal {C}}\) be a Boolean clone such that \([p] \subseteq {\mathcal {C}} \subseteq [d_3,p]\). Then \({\mathcal {C}}\mid [m]\).
Proof
Let \({\mathcal {C}}\) be as in the hypothesis. Let us suppose that \([m] \preceq {\mathcal {C}}\). Then we get \([m] \preceq {\mathcal {C}} \preceq [d_3,p]\), contradicting Proposition 3.16. Let us suppose now that \({\mathcal {C}} \preceq [m]\). Then we get \([\wedge ] \prec [p]\preceq {\mathcal {C}}\preceq [m]\), contradicting Proposition 3.9. \(\square \)
Corollary 3.18
\([m] \npreceq [d_3,q]\).
Proof
Since \([d_3,q]={{\,\mathrm{Pol}\,}}({\mathbb {B}}_2)\), the argument is essentially the same as the one of Proposition 3.16. \(\square \)
Corollary 3.19
Let \({\mathcal {C}}\) be a Boolean clone such that \([q] \subseteq {\mathcal {C}} \subseteq [d_3,q]\). Then \({\mathcal {C}}\mid [m]\).
Proof
The proof is essentially the same as the one of Corollary 3.17. \(\square \)
Proposition 3.20
Let \({\mathcal {C}}\) be a Boolean clone such that \([\wedge ] \subseteq {\mathcal {C}} \subseteq [d_4,q]\). Then \({\mathcal {C}}\mid [d_3]\).
Proof
Since \([\wedge ] \subseteq {\mathcal {C}}\) and since, by Proposition 3.9, we have \([\wedge ]\npreceq [d_3]\), it follows that \({\mathcal {C}}\npreceq [d_3]\). Since \(d_3\) is the Boolean majority operation, we have that \([d_3]\) satisfies the quasi majority condition \({\text {QNU}}(3)\). By Proposition 3.12, we have that \([d_4,q]\) does not satisfy \({\text {QNU}}(3)\) and hence no subclone of \([d_4,q]\) satisfies \({\text {QNU}}(3)\). Since \({\mathcal {C}}\) is a subclone of \([d_4,q]\) it follows that the quasi majority condition is a witness for \({\mathcal {C}}\npreceq [d_3]\). \(\square \)
Proposition 3.21
\([0] \npreceq [m,q]\).
Proof
Note that \([m,q] = {{\,\mathrm{Pol}\,}}(\{0,1\};\{0\},\{1\})\) is the clone of all the idempotent operations on \(\{0,1\}\). Hence, [m, q] contains no constants and thus \([m,q]\not \models f(x) \approx f(y)\) while [0] does. \(\square \)
3.3 The final picture
Putting all the results of the previous section together, we display an order diagram of \({\mathfrak {P}}_{\mathrm {Boole}}\). We then use this diagram to revisit the complexity of Boolean CSPs. In Figure 3 we indicate for each element of \({\mathfrak {P}}_{\mathrm {Boole}}\) the corresponding complexity class.
Theorem 3.22
The pp-constructability poset restricted to the case of Boolean clones is the lattice \({\mathfrak {P}}_{\mathrm {Boole}}\) in Figure 3.
Proof
Recall that every element in \({\mathfrak {P}}_{\mathrm {Boole}}\) is a \(\equiv \)-class; for every \(\equiv \)-class we list explicitly the clones on \(\{0,1\}\) that are in the considered class. The list is justified by the results proved in Section 3.1:
Note that all the clones of Post’s lattice appear in this list. We have to show that there are no further collapses. Recall that if \({\mathcal {C}}\) and \({\mathcal {D}}\) are elements of Post’s lattice such that \({\mathcal {C}} \subseteq {\mathcal {D}}\), then \(\mathcal C\preceq {\mathcal {D}}\). Using this remark together with the results proved in Section 3 we get the following inequalities.
It remains to prove that there are no other comparable elements in \({\mathfrak {P}}_{\mathrm {Boole}}\). Propositions 3.9, 3.11, 3.20, Corollaries 3.17, and 3.19 ensure that this is the case. \(\square \)
We already pointed out that the bottom element of \({\mathfrak {P}}_{\mathrm {Boole}}\) represents the class of all the Boolean relational structures \({\mathbb {B}}\) such that \({\text {CSP}}({\mathbb {B}})\) is NP-complete, and Schaefer’s theorem [13] implies that the CSP of every other Boolean structure is in P. Following [1], we describe the complexity of Boolean CSPs within P. Combining Theorem 3.22 with the main result in [1] we obtain the following.
Theorem 3.23
Let \({{\mathbb {A}}}\) be a relational structure with domain \(\{0,1\}\) and finite relational signature.
If \({{\,\mathrm{Pol}\,}}({{\mathbb {A}}}) \equiv [\emptyset ]\), then \({\text {CSP}}({{\mathbb {A}}})\) is NP-complete.
If \({{\,\mathrm{Pol}\,}}({{\mathbb {A}}}) \equiv [\wedge ]\), then \({\text {CSP}}({{\mathbb {A}}})\) is P-complete.
If \({{\,\mathrm{Pol}\,}}({{\mathbb {A}}}) \equiv [m]\), then \({\text {CSP}}({{\mathbb {A}}})\) is \(\oplus \)L-complete.
If \({{\,\mathrm{Pol}\,}}({{\mathbb {A}}}) \equiv [d_3]\) or \([p] \preceq {{\,\mathrm{Pol}\,}}({{\mathbb {A}}}) \preceq [d_3,p]\), then \({\text {CSP}}({{\mathbb {A}}})\) is NL-complete.
If \([d_3,m] \preceq {{\,\mathrm{Pol}\,}}({{\mathbb {A}}})\) or \([q] \preceq {{\,\mathrm{Pol}\,}}({{\mathbb {A}}})\), then \({\text {CSP}}({{\mathbb {A}}})\) is in L.
The same complexity results can be reached using general results collected in the survey article [2].
4 Concluding remarks and open problems
In this article we completely described \({\mathfrak {P}}_{\mathrm {Boole}}\), i.e., the pp-constructability poset restricted to structures over a two-element set; equivalently, we studied the poset that arises from ordering Boolean clones with respect to the existence of minor-preserving maps.
The natural next step is to study the pp-constructability poset on larger classes of finite structures. Janov and Mučnik [9] showed that there are continuum many clones over a three-element set, but all the clones considered in their proof have a constant operation, so they only correspond to a single element in our poset. Uncountably many idempotent clones over a three element set have been described by Zhuk [14]. We have not yet been able to separate them with height 1 conditions. Hence, there is still hope that \({\mathfrak {P}}_{\mathrm {fin}}\) has only countably many elements. While it is easy to construct infinite antichains in \({\mathfrak {P}}_{\mathrm {fin}}\), we also do not know whether \({\mathfrak {P}}_{\mathrm {fin}}\) contains infinite ascending chains.
It is easy to see that \({\mathfrak {P}}_{\mathrm {fin}}\) is a meet-semilattice: if \(\mathcal C\) and \({\mathcal {D}}\) are clones on a finite set, then \({\mathcal {C}} \times {\mathcal {D}}\) is a clone that projects both to \({\mathcal {C}}\) and to \({\mathcal {D}}\) via minor-preserving maps, and all other clones with this property have a minor-preserving map to \({\mathcal {C}} \times {\mathcal {D}}\). However, we do not know whether \({\mathfrak {P}}_{\mathrm {fin}}\) is a lattice. It is known that \({\mathbb {K}}_3\) pp-constructs (even pp-interprets; see, e.g., [4]) all finite structures. Hence, \(\overline{{\mathbb {K}}_3}\) is the bottom element in \({\mathfrak {P}}_{\mathrm {fin}}\). Moreover, it can be shown that \({\mathfrak {P}}_{\mathrm {fin}}\) has no atoms and that \(\overline{[m,q]}\) is the only coatom in \({\mathfrak {P}}_{\mathrm {fin}}\). Note that for every finite set A with at least two elements, the class \(\overline{[m,q]}\) contains the clone of all idempotent operations on A. One can see that when studying \({\mathfrak {P}}_{\mathrm {fin}}\) we can focus on idempotent clones. However, the study of the entire poset \({\mathfrak {P}}_{\mathrm {fin}}\) is ongoing and will be the topic of a future publication.
References
Allender, E., Bauland, M., Immerman, N., Schnoor, H., Vollmer, H.: The complexity of satisfiability problems: refining Schaefer’s theorem. J. Comput. Syst. Sci. 75, 245–254 (2009)
Barto, L., Krokhin, A., Willard, R.: Polymorphisms, and how to use them. The constraint satisfaction problem: complexity and approximability. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik 7, 1–44 (2017)
Barto, L., Opršal, J., Pinsker, M.: The wonderland of reflections. Israel J. Math. 223, 363–398 (2018)
Bodirsky, M.: Complexity classification in infinite-domain constraint satisfaction. Mémoire d’habilitation à diriger des recherches, Université Diderot–Paris 7. arXiv:1201.0856 (2012)
Bulatov, A.A.: H-coloring dichotomy revisited. Theor. Comput. Sci. 349, 31–39 (2005)
Garcia, O., Taylor, W.: The lattice of interpretability types of varieties. Memoirs of the American Mathematical Society 50 (1984)
Hagemann, J., Mitschke, A.: On \(n\)-permutable congruences. Algebra Universalis 3, 8–12 (1973)
Hell, P., Nešetřil, J.: On the complexity of H-coloring. J. Combin. Theory Ser. B 48, 92–110 (1990)
Janov, Y.I., Mučnik, A.A.: On the existence of \(k\)-valued closed classes that have no bases. Dokl. Akad. Nauk SSSR 127, 44–46 (1959)
Neumann, W.D.: On Mal’cev conditions. J. Aust. Math. Soc. 17, (1974)
Opršal, J.: Taylor’s modularity conjecture and related problems for idempotent varieties. Order 35, 433–460 (2018)
Post, E.L.: The two-valued iterative systems of mathematical logic. Ann. Math. Stud. 5, (1941)
Schaefer, T.J.: The complexity of satisfiability problems. Proc. Sympos. Theory Comput. (STOC) 216–226 (1978)
Zhuk, D.: The lattice of all clones of self-dual functions in three-valued logic. Multiple Valued Logic Soft Comput. 24, 251–316 (2015)
Acknowledgements
Open Access funding provided by Projekt DEAL.
Author information
Authors and Affiliations
Corresponding author
Additional information
Presented by H. Peter Gumm.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Both authors have received funding from the European Research Council (ERC Grant Agreement No. 681988, CSP-Infinity)
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Bodirsky, M., Vucaj, A. Two-element structures modulo primitive positive constructability. Algebra Univers. 81, 20 (2020). https://doi.org/10.1007/s00012-020-0647-8
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00012-020-0647-8
Keywords
- Clones
- Primitive positive construction
- Minor-preserving maps
- Boolean structures
- Complexity of Boolean constraint satisfaction problems
- Height-one identity
- Linear Maltsev condition