Solution sets of systems of equations over finite lattices and semilattices

Solution sets of systems of homogeneous linear equations over fields are characterized as being subspaces, i.e., sets that are closed under linear combinations. Our goal is to characterize solution sets of systems of equations over arbitrary finite algebras by a similar closure condition. We show that solution sets are always closed under the centralizer of the clone of term operations of the given algebra; moreover, the centralizer is the only clone that could characterize solution sets. If every centralizer-closed set is the set of all solutions of a system of equations over a finite algebra, then we say that the algebra has Property (SDC)\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${{\,\mathrm{(SDC)}\,}}$$\end{document}. Our main result is the description of finite lattices and semilattices with Property (SDC)\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${{\,\mathrm{(SDC)}\,}}$$\end{document}: we prove that a finite lattice has Property (SDC)\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${{\,\mathrm{(SDC)}\,}}$$\end{document} if and only if it is a Boolean lattice, and a finite semilattice has Property (SDC)\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${{\,\mathrm{(SDC)}\,}}$$\end{document} if and only if it is distributive.


Introduction
In universal algebra, investigations of systems of equations usually focus on either finding a solution, the complexity of finding a solution or deciding if there is a solution at all. For us the main interest is the "shape" of the solution sets, just like in the following basic result of linear algebra: solution sets of systems of homogeneous linear equations in n variables over a field K are precisely the subspaces of the vector space K n , i.e., sets of n-tuples that are closed under linear combinations. Our goal is to give a similar characterization (i.e., a kind of closure condition) for solution sets of systems of equations over arbitrary finite algebras.
Let us fix a nonempty set A and a set F of operations on A; then we obtain the algebra A = (A, F ). Any equation over A is of the form f (x 1 , . . . , x n ) = g(x 1 , . . . , x n ), where f and g are n-ary term functions. We can also say that f and g are from the set [F ] of operations generated by F by means of compositions. After this observation we can see that in every equation, the operations on both sides are from C := [F ], which we will call the clone generated by F (Definition 2.1). We will investigate solution sets of systems of equations over finite algebras in this view. The algebraic sets studied by B. I. Plotkin in his universal algebraic geometry [10] are essentially the same as our solution sets; the only difference being that we consider only finite systems of equations. Recently A. Di Nola, G. Lenzi and G. Vitale characterized the solution sets of certain systems of equations over lattice ordered abelian groups (see [3]).
In our previous paper [12] we proved that for any system of equations over a clone C, the solution set is closed under the centralizer of the clone C (see Definition 2.2). We also proved that for clones of Boolean functions this condition is sufficient as well. We will say that a clone (or the associated algebra) has Property (SDC) if closure under the centralizer characterizes the solution sets (here SDC stands for "Solution sets are Definable by closure under the Centralizer"). Thus clones of Boolean functions (i.e., two-element algebras) always have Property (SDC), and in [12] we gave an example of a three-element algebra that does not have Property (SDC). In this paper we describe all finite lattices and semilattices with Property (SDC). In Section 2 we present the necessary notations and definitions. In Section 3 we give a connection between Property (SDC) and quantifier elimination of certain primitive positive formulas. Also we show that for systems of equations over a clone C, if all solution sets can be described by closure under a clone D, then D must be the centralizer of C. Section 4 contains the full description of finite lattices with Property (SDC): a finite lattice has Property (SDC) if and only if it is a Boolean lattice. In Section 5 finite semilattices having Property (SDC) are described as semilattice reducts of distributive lattices.

Operations and clones
Let A be an arbitrary set with at least two elements. By an operation on A we mean a map f : A n → A; the positive integer n is called the arity of the operation f . The set of all operations on A is denoted by O A . For a set F ⊆ O A of operations, by F (n) we mean the set of n-ary members of F . In particular, O (n) if a ∈ A n , then a i denotes the i-th component of a, i.e., a = (a 1 , . . . , a n ). In particular, if f ∈ O (n) A , then f (a) is a short form for f (a 1 , . . . , a n ). If t (1) , . . . , t (m) ∈ A n and f ∈ O (m) A , then f (t (1) , . . . , t (m) ) denotes the n-tuple obtained by applying f to the tuples t (1) , . . . , t (m) componentwise: By the composition of f by g 1 , . . . , g n we mean the operation h ∈ O Now we present the precise definition of clones.
For an arbitrary set F of operations on A, there is a least clone [F ] containing F , called the clone generated by F . The elements of this clone are those operations that can be obtained from members of F and from projections by finitely many compositions. In other words, [F ] is the set of term operations of the algebra A = (A, F ).
The set of all clones on A is a lattice under inclusion; the greatest element of this lattice is O A , and the least element is the trivial clone consisting of projections only. There are countably infinitely many clones on the two-element set; these have been described by Post [11], hence the lattice of clones on {0, 1} is called the Post lattice. If A is a finite set with at least three elements, then the clone lattice on A is of continuum cardinality [8], and it is a very difficult open problem to describe all clones on A even for |A| = 3.

Centralizer clones
We say that the operations f ∈ O (n) 11 , a 12 , . . . , a 1m ), . . . , g(a n1 , a n2 , . . . , a nm ) = g f (a 11 , a 21 , . . . , a n1 ), . . . , f(a 1m , a 2m , . . . , a nm ) holds for all a ij ∈ A (1 ≤ i ≤ n, 1 ≤ j ≤ m). This can be visualized as follows: for every n × m matrix Q = (a ij ), first applying g to the rows of Q and then applying f to the resulting column vector yields the same result as first applying f to the columns of Q and then applying g to the resulting row vector (see Figure 1). It is easy to verify that if f, g 1 , . . . , g n all commute with an operation h, then the composition f (g 1 , . . . , g n ) also commutes with h. This implies that F * is a clone for all F ⊆ O A (even if F itself is not a clone).

Definition 2.2. For any
Clones arising in this form are called primitive positive clones; such clones seem to be quite rare: there are only finitely many primitive positive clones over any finite set [2]. Example 2.3. Let K be a field, and let L be the clone of all operations over K that are represented by a linear polynomial: Since L is generated by the operations x + y, ax (a ∈ K) and the constants c ∈ K, the centralizer L * consists of those operations f over K that commute with x + y and ax (i.e., f is additive and homogeneous), and also commute with the constants (i.e., f (c, . . . , c) = c for all c ∈ K): L * := {a 1 x 1 + · · · + a k x k | k ≥ 1, a 1 , . . . , a k ∈ K and a 1 + · · · + a k = 1}.

Equations and solution sets
Let us fix a finite set A, a clone C ≤ O A and a natural number n. By an n-ary equation over C (C-equation for short) we mean an equation of the form f (x 1 , . . . , x n ) = g(x 1 , . . . , x n ), where f, g ∈ C (n) . We will often simply write this equation as a pair (f, g). A system of C-equations is a finite set of C-equations of the same arity: Note that we consider only systems consisting of a finite number of equations. This does not restrict generality, since we are dealing only with finite algebras. We define the set of solutions of E as the set For a ∈ A n we denote by Eq C (a) the set of C-equations satisfied by a: Eq C (a) := (f, g) | f, g ∈ C (n) and f (a) = g(a) .
Let T ⊆ A n be an arbitrary set of tuples. We denote by Eq C (T ) the set of C-equations satisfied by T : Remark 2.4. For any given n ∈ N and C ≤ O A , the operators Sol and Eq C give rise to a Galois connection between sets of n-tuples and systems of n-ary equations. In particular, if T is the solution set of a system of equations (i.e., T is Galois closed), then T = Sol(Eq C (T )); moreover, E = Eq C (T ) is the largest system of equations with T = Sol(E). In a previous paper [12] we proved that for any clone, the solution sets are closed under the centralizer of the clone. Furthermore, we proved the following theorem, which characterizes solution sets of systems of equations over clones of Boolean functions. Theorem 2.6 [12]. Thus for two-element algebras, closure under the centralizer characterizes solution sets. We will say that a clone C has Property (SDC), if this is true for the clone: Property (SDC). The following are equivalent for all n ∈ N and T ⊆ A n : (a) there exists a system E of C-equations such that T = Sol(E); (b) the set T is closed under C * .
Here SDC is an abbreviation for "Solution sets are Definable by closure under the Centralizer". In [12] we presented a clone on a three-element set that does not have Property (SDC), showing that in general this is not a trivial property.

The Pol-Inv Galois connection
For a positive integer h, a set ρ ⊆ A h is called an h-ary relation on A; let R A denote the set of all relations on A. For any R ⊆ R A , let R (h) denote the h-ary part of R, i.e., the set of h-ary members of R.
For a relation ρ ⊆ A h and operation f ∈ O

(n)
A , if for arbitrary tuples a (1) , . . . , a (n) ∈ ρ we have f (a (1) , . . . , a (n) ) ∈ ρ, then we say that f is a polymorphism of ρ, or ρ is an invariant relation of f (or we also say that f preserves ρ). We will denote this as f ρ. Note that f ρ is equivalent to ρ being It is easy to verify that Pol (R) is a clone for all R ⊆ R A . Moreover, for every set of operations F on a finite set, the clone generated by F is [F ] = Pol(Inv(F )) by the results of Bodnarčuk, Kalužnin, Kotov, Romov and Geiger [1,5].
Given a set of relations R ⊆ R A , a primitive positive formula over R (pp. formula for short) is a formula of the form where ρ j ∈ R (rj ) , and z . . , a n ) | Φ(a 1 , . . . , a n ) is true} is an n-ary relation, which is the relation defined by Φ. If R ⊆ R A , then let R ∃ denote the set of all relations that can be defined by a primitive positive formula over R ∪ {=}, and let R denote the set of all relations that can be defined by a quantifier-free primitive positive formula over R ∪ {=}. If R ⊆ R A contains the equality relation and R is closed under primitive positive definability, then we say that R is a relational clone. The relational clone generated by R is R ∃ = Inv(Pol(R)) [1,5].
A , we define the following relation on A, called the graph of f :

Quantifier elimination
Let F ⊆ O A , then let F • denote the set of all relations that are solution sets of some equation over F : The following remark shows that the graph of an operation f ∈ F also belongs to F • .

Vol. 81 (2020)
Solution sets of systems of equations over finite (semi)lattices Page 7 of 21 13 The following three lemmas prepare the proof of Theorem 3.6, which gives us an equivalent condition to Property (SDC) that we will use in Sections 4 and 5.
To prove the reversed containment, let us consider an arbitrary relation This means that ρ can be defined by a pp. formula over

Lemma 3.3. For every clone C ≤ O
Proof. Let Φ be an arbitrary quantifier-free pp. formula over C • . By definition, Φ is of the form rj ) (by identifying variables and by adding fictitious variables) for all j = 1, . . . , t. Then Φ is equivalent to the formula and f j , g j ∈ C (n) for all j = 1, . . . , t. Since Φ and Ψ are equivalent, they define the same set T ⊆ A n , and it is obvious that the set defined by Ψ is the solution set of the system {( f 1 , g 1 ), . . . , ( f t , g t )}. Conversely, it is clear that every solution set can be defined by a quantifier-free pp. formula of the form of Ψ.

Lemma 3.4. For every clone
Proof. From Section 2 using that F * = Pol(F • ) and that Inv(Pol(R)) = R ∃ , we have The second statement of the lemma follows immediately from Lemma 3.2 by observing that T is closed under C * if and only if T ∈ Inv(C * ).
The previous theorem shows that in Property (SDC), condition (a) implies (b). Therefore, for all clones C ≤ O A , it suffices to investigate the implication (b) =⇒ (a). As a consequence of Lemmas 3.2, 3.3 and 3.4, we obtain the promised equivalent reformulation of Property (SDC) in terms of quantifier elimination. Theorem 3.6. For every clone C ≤ O A , the following five conditions are equivalent: In the following corollary, we will see that Theorem 3.6 implies that C * is the only clone that can describe solution sets over C (if there is such a clone at all). Thus, the abbreviation SDC can also stand for "Solution sets are Definable by closure under any Clone". Corollary 3.7. Let C ≤ O A be a clone, and assume that there is a clone D such that for all n ∈ N and T ⊆ A n the following equivalence holds: T is the solution set of a system of C-equations ⇐⇒ T is closed under D.
Vol. 81 (2020) Solution sets of systems of equations over finite (semi)lattices Page 9 of 21 13

Systems of equations over lattices
In this, and in the following section L = (L, ∧, ∨) denotes a finite lattice, with meet operation ∧ and join operation ∨. Furthermore, 0 L denotes the least and 1 L denotes the greatest element of L (that is, 0 L = L and 1 L = L).
The following lemma shows that Property (SDC) does not hold for nondistributive lattices, i.e., solution sets of systems of equations over a nondistributive lattice can not be characterized via closure conditions.
is closed under C * . We prove that T is not the solution set of a system of equations over C, hence Property (SDC) does not hold for C. Suppose that there exists a system of C-equations E such that T = Sol(E). Since L is not distributive, by Birkhoff's theorem we know that there is a sublattice of L, which is isomorphic either to N 5 or M 3 . Now neither of the equations belong to E; we prove this by presenting a counterexample for each equation. These counterexamples are shown in Figure 2, where we choose the elements a and b as presented in the figure. (Note that an element u, chosen like on the figure, shows that (a, b), (b, a) ∈ T . In the table, the entry (x 1 , y 1 ) in the line starting with the term s(x, y) and column starting with the term t(x, y) witnesses that (x 1 , y 1 ) is not a solution of s(x, y) = t(x, y).) There are no other non-trivial 2-variable equations over C, therefore we get that T satifies only trivial equations, hence T = L 2 . This is a contradiction, since (0 L , 1 L ) / ∈ T .
The following lemma will help us prove that Property (SDC) can only hold for Boolean lattices. Before the lemma, for a distributive lattice L we define the median of the elements x, y, z ∈ L as Then for all x, y, z, u ∈ L we have Proof. Let x, y, z, u ∈ L be arbitrary elements. Let us denote m(x, y, z) simply by m and p(x, y, z, u) by p for better readability.
First let us suppose that p = x∨y ∨z ∨u. It is easy to see that p ≤ x∨y ∨z always holds (since every meet in p is less than or equal to x ∨ y ∨ z). Since Observe that by the distributivity of L, p can be rewritten as p = m ∨ (u ∧ (x ∨ y ∨ z)), and from the previous chain of inequalities we can see that u ≤ x ∨ y ∨ z, therefore we have p = m ∨ u. Thus m ∨ u = p = x ∨ y ∨ z.
For the other direction suppose that m ∨ u = x ∨ y ∨ z. Using that L is distributive, we get that p = m ∨ (u ∧ (x ∨ y ∨ z)) = (m ∨ u) ∧ (m ∨ (x ∨ y ∨ z)), and by the assumption this implies that p = x ∨ y ∨ z. Our assumption also implies that u ≤ x ∨ y ∨ z, therefore we have p = x ∨ y ∨ z ∨ u. Since L is distributive, by Birkhoff's representation theorem L can be embedded into a Boolean lattice B, hence we may suppose without loss of generality that L is already a sublattice of B. We can also assume that 0 L = 0 B and 1 L = 1 B . Let us denote the complement of an element x ∈ B by x . We define the dual of p = p(x, y, z, u) (from Lemma 4.2) as p d = q = q(x, y, z, u), i.e., Let T be the following set: T = (x, y, z) ∈ L 3 ∃u ∈ L : p(x, y, z, u) = x ∨ y ∨ z ∨ u and q(x, y, z, u) = x ∧ y ∧ z ∧ u .
By Lemma 3.4, the set T is closed under C * . Let (x, y, z) ∈ T be arbitrary with an element u ∈ L witnessing that (x, y, z) ∈ T . From Lemma 4.2 it follows By the dual of Lemma 4.2, we know that q(x, y, z, u) = x ∧ y ∧ z ∧ u if and only if m ∧ u = x ∧ y ∧ z. Then joining the last equality and (4.1), we get that It is not hard to derive from the defining identities of Boolean algebras that the latter formula is in fact the symmetric difference x y z in B. Alternatively, using Stone's representation theorem for Boolean algebras, we may assume that x, y and z are sets, and that the operations ∧, ∨, are the set-theoretic intersection, union and complementation. Then m corresponds to the set of elements that belong to at least two of the sets x, y and z. Thus (x ∨ y ∨ z) ∧ m consists of those elements that belong to exactly one of x, y and z, and contains those elements that belong to one or three of the sets x, y and z, and this is indeed x y z in B.
We have proved that the element u witnessing that (x, y, z) ∈ T can only be x y z: ∀x, y, z ∈ L : (x, y, z) ∈ T ⇐⇒ ∃u ∈ L : u = x y z ⇐⇒ x y z ∈ L.
(4.2) It is easy to see that {0 L , 1 L } 3 ⊆ T , and using the main theorem of [6], we get that if (f, g) ∈ Eq(T ), then f = g must hold. (In our case this theorem says that every term function of L is uniquely determined by its restriction to {0, 1} 3 .) Therefore only trivial equations can appear in Eq(T ), hence T = L 3 . Then (4.2) implies that L is closed under the ternary operation x y z. In particular, for any x ∈ L we have x 0 1 = x ∈ L, which means that L is a Boolean lattice.
We will need the following lemmas for the proof of Theorem 4.7, which states that Boolean lattices have Property (SDC). This will complete the determination of lattices with Property (SDC).  g 1 , . . . , f t = g t } be a system of C-equations. For arbitrary a, b ∈ L we have a = b if and only if a ≤ b and b ≤ a, therefore E is equivalent to the system of inequalities Denote the disjunctive normal forms of the left hand sides of the inequalities in E as DN F j , and denote the conjunctive normal forms of the right hand sides of the inequalities in E as CN F j (j = 1, . . . , 2t). Then E is equivalent to the system of inequalities Each DN F j is a join of some meets, and each CN F j is a meet of some joins. Therefore, for every j the inequality DN F j ≤ CN F j holds if and only if every meet in DN F j is less than or equal to every join in CN F j . This means that there exists a system of inequalities = 1, . . . , l).  a, b, c, d, u Proof. Let a, b, c, d, u ∈ B be arbitrary elements. For the proof of (i) let us first suppose that a ∧ u ≤ b. Joining both sides of the inequality by a , we get and from this, u ≤ a ∨ b follows. For the other direction, if u ≤ a ∨ b holds, then meeting both sides by a, we get that and from this, a ∧ u ≤ b follows. The second statement is the dual of (i). For the proof of (iii) let us use (i) with u = a ∧ b , and then we get that Then using (ii) with u = d, we get which proves (iii).
Helly's theorem from convex geometry states that if we have k (> d) convex sets in R d , such that any d + 1 of them have a nonempty intersection, then the intersection of all k sets is nonempty as well. The following lemma says something similar for intervals in lattices (with d = 1).
Proof. Let L = (L, ∧, ∨) be a lattice, and c i , d i ∈ L (i = 1, . . . , k). Then obviously, The last step in the characterization of finite lattices having Property (SDC) is to show that Boolean lattices do indeed have Property (SDC). For proving this, we will use the equivalence of this property with the quantifiereliminability for pp. formulas over C • = [∧, ∨] • (see Theorem 3.6).
where ρ j ∈ (C • ) (rj ) , and z (j) i (j = 1, . . . , t, and i = 1, . . . , r j ) are variables from the set {x 1 , . . . , x n , u}. We will show that Φ is equivalent to a quantifierfree pp. formula, and thus (by iterating this argument) every pp. formula is equivalent to a quantifier-free pp. formula. By Lemma 4.4, we can rewrite Φ to an equivalent formula Let I j denote the following set of indices: for j = 0, 1, 2, 3. The only cases we have to investigate are case (1) and case (2) (since u does not appear in case (0) and in case (3) there are only trivial inequalities). By Lemma 4.5, Then we have by Lemma 4.6. Since u does not appear in the condition above, in principle, the quantifier has been eliminated. However, our formula still involves complements. Therefore, we use Lemma 4.5 to rewrite the formula. The only non-trivial case is if c i = 0 L and d j = 1 L , that is, c i = a i ∧ b i and d j = a j ∨ b j (i ∈ I 2 , j ∈ I 1 ). In this case c i ≤ d j if and only if a i ∧a j ≤ b i ∨b j by Lemma 4.5. Summarizing the observations above, we have which is equivalent to a quantifier-free pp. formula over [∧, ∨] (since for all x, y ∈ L, we have x ≤ y if and only if x = x ∧ y).
We can summarize the results of this section in the following theorem, which is a corollary of Lemma 4.1, Theorems 4.3 and 4.7.

Theorem 4.8. A finite lattice has Property (SDC) if and only if it is a Boolean lattice.
This means that for any finite lattice L = (L, ∧, ∨), solution sets of systems of equations over L can be characterized (via closure conditions) if and only if L is a Boolean lattice. is closed under C * by Lemma 3.4. Similarly to Lemma 4.1, we will prove that T is not the solution set of any system of equations over C. Suppose that there exists a system of C-equations E such that T = Sol(E). There are only three nontrivial 2-variable equations over C:

Systems of equations over semilattices
As in Lemma 4.1, we prove that none of these equations can appear in E by presenting counterexamples to them (see Table 1). Note that since M is finite   The following theorem shows that Property (SDC) does not hold for nondistributive lattices (regarded as semilattices), i.e., solution sets of systems of equations over a non-distributive lattice (as a semilattice) can not be characterized via closure conditions.

Remark 5.2.
A meet semilattice M is distributive if for any a, b 0 , b 1 ∈ M, the inequality a ≥ b 0 ∧ b 1 implies that there exist a 0 , a 1 ∈ M such that a 0 ≥ b 0 , a 1 ≥ b 1 and a = a 0 ∧ a 1 (see Section 5.1 in Chapter II of [7]). From Lemma 184 of [7] it follows that a finite semilattice is distributive if and only if it is a semilattice reduct of a distributive lattice. Proof. Let L = (L, ∧, ∨) be a finite lattice and let C = [∧] ≤ O L . Since L is not distributive, we know that there exists a sublattice of L isomorphic to either N 5 or M 3 . Let us denote these two cases as (N 5 ) and (M 3 ), respectively. The figures and tables we use in this proof can be found in the Appendix. Let T be the set which is closed under C * by Lemma 3.4. As in Lemma 4.1, we will prove that T is not the solution set of any system of equations over C. Similarly to Lemma 4.1, we present counterexamples to nontrivial equations, the only difference is that here we prove that there can be only one nontrivial equation satisfied by T (see Tables 2 and 3  shows that in case (N 5 ) we have (a, c, b), (b, a, c) ∈ T , and in case (M 3 ) we have (a, b, c), (a, c, b) ∈ T .) So now we have that in both cases the only nontrivial equation that T can satisfy is the equation y ∧ z = x ∧ y ∧ z. One can verify that this equation holds on T : if (x, y, z) ∈ T , then we have which implies that y ∧ z = x ∧ y ∧ z. Therefore, we can conclude that the only nontrivial equation in Eq(T ) is y ∧ z = x ∧ y ∧ z. We will prove that T is not the solution set of any system of equations by presenting a tuple (x 1 , y 1 , z 1 ) ∈ Sol(Eq(T )) \ T (cf. Remark 2.4). Since there exists a sublattice of L isomorphic to N 5 or M 3 , there exists a tuple (x 1 , y 1 , z 1 ) as shown in Figure 5, which satisfies y 1 ∧ z 1 = x 1 ∧ y 1 ∧ z 1 , thus (x 1 , y 1 , z 1 ) ∈ Sol(Eq(T )). However, one can easily verify that (x 1 , y 1 , z 1 ) does not belong to T . Indeed, suppose that (x 1 , y 1 , z 1 ) ∈ T , then there exists u ∈ L such that u ≥ x 1 , u ≥ z 1 and x 1 ∧ y 1 = u ∧ y 1 . But then we have u ≥ x 1 ∨ z 1 > y 1 (since N 5 or M 3 is a sublattice), therefore x 1 ∧ y 1 < u ∧ y 1 = y 1 gives us a contradiction. Thus, T = Sol(Eq(T )), hence, by Remark 2.4, T is not the solution set of any system of equations over C. Since L is distributive, by Birkhoff's representation theorem L can be embedded into a Boolean lattice B, hence we may suppose without loss of generality that L is already a sublattice of B. We can also assume that 0 L = 0 B and 1 L = 1 B . Let us denote the complement of an element x ∈ B by x . By Theorem 3.6, Property (SDC) holds for C if and only if any pp. formula over C • is equivalent to a quantifier-free pp. formula. Similarly to the proof of Theorem 4.7, it suffices to consider pp. formulas with a single existential quantifier. Let where ρ j ∈ (C • ) (rj ) , and z (j) i (j = 1, . . . , t, and i = 1, . . . , r j ) are variables from the set {x 1 , . . . , x n , u}. We will show that Φ is equivalent to a quantifierfree pp. formula.
Since for all a, b ∈ L we have a = b if and only if a ≤ b and b ≤ a, we can rewrite Φ to an equivalent formula Let I j denote the following set of indices: I j = {i | the inequality p i ≤ q i belongs to case (j)} for j = 0, 1, 2, 3. We investigate only cases (1), (2) and (3), since u does not appear in case (0). Moreover; in case (2), we only have to deal with the inequality a i ≤ u, since u does not appear in the inequality a i ≤ b i . By Lemma 4.5, for i ∈ I 2 we have a i ≤ u ⇐⇒ u ∈ [a i , 1 L ] =: [c i , d i ]; for i ∈ I 3 we have Then we have i∈I1∪I2∪I3 [c i , d i ] = ∅ ⇐⇒ ∀i, j ∈ I 1 ∪ I 2 ∪ I 3 : c i ≤ d j by Lemma 4.6. Just as in the proof of Theorem 4.7, we apply Lemma 4.5 to eliminate complements and joins from the formula above. The only interesting case is if c i = 0 L and d j = 1 L , that is, c i = a i and d j = a j ∨ b j (i ∈ I 2 , j ∈ I 1 ∪ I 3 ). In this case c i ≤ d j if and only if a i ≤ a j ∨ b j , which holds if and only if a i ∧ a j ≤ b j by Lemma 4.5 (with u = a i ). Summarizing the observations above, we have which is equivalent to a quantifier-free pp. formula over [∧] (since for all x, y ∈ L, we have x ≤ y if and only if x = x ∧ y).
We can summarize the results of this section in the following theorem, which is a corollary of Lemma 5.1, and Theorems 5.3 and 5.4.

Theorem 5.5. A finite semilattice has Property (SDC) if and only if it is distributive.
This means that for any finite semilattice M, solution sets of systems of equations over M can be characterized (via closure conditions) if and only if M is a semilattice reduct of a distributive lattice (see Remark 5.2).

Concluding remarks
We have characterized finite lattices and semilattices having Property (SDC). As a natural continuation of these investigations, one could aim at describing all finite algebras (clones over finite sets) with Property (SDC).
Primitive positive clones seem to be of particular interest, for the following reason. For a primitive positive clone P ≤ O A , let us consider the set C(P ) = {C ≤ O A : C * = P }. The greatest element of this set is P * , since C * = P implies that C ⊆ C * * = P * and P * ∈ C(P ) follows from P * * = P . If a clone C ∈ C(P ) has Property (SDC), then every set T ⊆ A n that is closed under C * = P arises as the solution set of a system E of equations over C.
Since C ⊆ P * , we can regard E as a system of equations over P * . Therefore, every set T ⊆ A n that is closed under (P * ) * = P arises as the solution set of a system of equations over P * , i.e., P * has Property (SDC). Thus if P * does not satisfy Property (SDC), then no clone in C(P ) can have Property (SDC). In other words, primitive positive clones have the "highest chance" for having Property (SDC).
Another topic worth further study is the relationship with homomorphismhomogeneity. It was proved in [9] that homomorphism-homogeneity is equivalent to a certain quantifier elimination property (but somewhat different from Theorem 3.6). Also, our results together with [4] imply that all finite lattices and semilattices with Property (SDC) are homomorphism-homogeneous, so it might be plausible that Property (SDC) implies homomorphism-homogeneity in general for finite algebras.