Endoprimal algebras 171
Results of the latter kind can be obtained using the following basic theorem.
2.2 Theorem [1, Proposition 2.2.3] Let M be a finite algebra and A = ISP(M).ThenM is
endoprimal if and only if End M yields duality on all finitely generated free algebras of A.
In most cases, however, non-endoprimality is proved by the explicit construction of an
endofunction which is not a term function. A model argument is that used in [20]: a relatively
complemented distributive lattice is not endoprimal because the ternary function f (x, y, z)=
u,whereu is the complement of y in the interval [x∧y, y∨z], permutes with all endomorphisms
but is not a term function, since it does not preserve the order.
It was noticed already in [7] that there are finite endoprimal algebras which are not
endodualisable; e.g., 2
2
⊕ 1 regarded as a bounded semilattice is endoprimal but not endo-
dualisable. Thus certainly, even in the case of finite algebras, duality theory is not sufficient for
characterising endoprimal algebras. The problem has arisen of how far actually endoprimality
is from endodualisability. Perhaps the main result in this direction is the criterion given by
M. Haviar and H. A. Priestley.
2.3 Theorem [13, Theorem 6] Assume that a finite algebra D is dualised by the structure
D
∼
which beside End D involves finitary algebraic relations s
1
,...,s
m
.LetF be a finitely
generated free algebra in D = ISP(D). If the algebras s
1
,...,s
m
are retracts in F and D is
a retract in a finite endoprimal algebra M,thenM is endodualisable.
One can apply the theorem to prove that in the classes of distributive lattices, double
Stone algebras, median algebras, and finite abelian groups endoprimal algebras are endo-
dualisable. However, which median algebras are endoprimal seems to be an open question.
It is well known that the term functions of a finite algebra M can be characterised as
the functions which preserve all subalgebras of the finite powers of M. Hence, in view of the
standard Galois connection between clones and relational clones the endoprimality of a finite
algebra M means, in fact, that End M (viewed as the set of all graphs of endomorphisms of
M) generates the relational clone of all subalgebras of finite powers of M or, in the language
of [6], that this set clone entails all finitary algebraic relations on M. By a well-known result
in clone theory (cf. [19]), the latter is equivalent to the requirement that every algebraic
relation on M can be obtained from graphs of endomorphisms using certain well-defined
natural constructs like projections, relational product, etc. The other entailment comes from
duality theory. Our limited space does not allow us to give a strict definition of this notion; it
serves to reduce the size of the set of algebraic relations on M used for providing duality, so
that if the structure M
∼
= M; R dualises M and a relation r ∈ R is duality entailed by R\r,
then the structure M; R \r dualises M, too. In particular, if R contains all endomorphisms
of M and we are able to show that End M duality entails every element of R \ End M then
M is endodualisable. A list of constructs which allow us to get from a given set of relations R
every relation r duality entailed by R was first presented in [5]. This list is smaller than that
for clone entailment: in particular, it does not include relational product. This shows once
again that endoprimality is a consequence of endodualisability but not vice versa. A detailed
analysis of the difference between the two entailments on the example of Kleene algebras was
givenbyB.A.Davey,M.Haviar,andH.A.Priestley[6].
The next step makes use of an idea coming from the study of affine completeness. Re-
call that an algebra is called affine complete if all its congruence compatible functions (i.e.,