Abstract. Convex semilattices form an equational class that combines convex algebras and semilattices by a distributive law. For a set I let FI be the free convex semilattice with basis I. A product FI×FJ is generated by I×J, but is not free. Hence, not every map from I×J into an arbitrary convex semilattice X extends uniquely to a homomorphism from FI×FJ to X. We investigate a condition on a map φ of I×J into some convex semilattice X that is always necessary and often sufficient for φ to have such an extension to a homomorphism Φ of FI×FJ into X.
Keywords: convex semilattice, homomorphisms, product of free
1. Introduction
A convex semilattice is a combination of a convex algebra and a semilattice, imposing a distributive law that rules the interplay between these structures (we refer to Section 2.2 for all definitions). This
Address for correspondence: ana.sokolova@cs.uni-salzburg.at kind of algebras has a more abstract background, namely as the Eilenberg-Moore algebras of a certain monad, and has recently attracted attention in theoretical computer science, in the context of traces of transition systems with nondeterminism and probability, see [1], see also [2, 3] for quantitative extensions. From a different viewpoint, algebras whose operations distribute over a semilattice operation have been studied e.g. in [4, 5, 6].
In the present paper we deal with a very concrete question about convex semilattices. The question itself can be formulated in any equational class.
(Q) Let V be an equational class. For a nonempty set I denote by FI the free algebra in V with basis I. Given two nonempty sets I,J, an algebra X in V, and a map φ:I×J→X, does there exist a homomorphism Φ:FI×FJ→X with Φ∣I×J=φ?
I×J⊆FI×FJ↓φ↓ΦX(1)
Recall that the free algebra FI is characterised by the property that any map I→X into some algebra X∈V extends uniquely to a homomorphism FI→X. Moreover, we write “ ⊆” for the embedding of I into FI. Formally this is the embedding given by the unit of the corresponding monad, which we will spell out later in each concrete case. The map “ ⊆” in (1) is the map acting coordinatewise as the corresponding inclusion.
Provided that I×J generates FI×FJ, which is the case for convex semilattices, there exists at most one extension Φ and on an abstract level we have an obvious answer to the question (Q).
(A) Let Λ:F(I×J)→FI×FJ be the unique homomorphism extending the inclusion map I×J→FI×FJ, and let Ψ:F(I×J)→X be the unique homomorphism extending φ. Then a homomorphism Φ with (1) exists, if and only if1
kerΛ⊆kerΨ.(2)F(I×J)↓Λ↓ΦX(3)
The requirement that I×J generates FI×FJ enters here since it is equivalent to surjectivity of Λ.
Applying this abstract answer requires to determine ker Λ and to be able to check (2) using only the initially given map φ.
1Recall that for any map f its kernel is defined as kerf={(x,y)∣f(x)=f(y)}.
In equational classes that contain commutative binary operations there is a simple and explicit condition on φ that is always necessary for a homomorphism Φ with (1) to exist. We refer to this condition as coordinatewise commutativity. An equivalent way to express necessity is to say that a certain relation θ on FI×FJ generated by the coordinatewise commutativity laws is contained in ker Λ. See Section 2.1 where this is elaborated.
It is not hard to see that in the equational classes of semilattices and of convex algebras coordinate-wise commutativity of φ is always sufficient for Φ to exist. Equivalently, in these equational classes the relation θ generates ker Λ. For the sake of completeness we provide a proof of these facts, cf. Definition 3.1 and Definition 3.2.
Our main focus in the present paper lies on the equational class of convex semilattices. In this class the situation is different: we prove in Definition 4.1 that for each two sets I,J having at least two points, the relation θ does not generate ker Λ. Hence, for each such I,J there exists a convex semilattice X and a map φ:I×J→X that satisfies coordinatewise commutativity but does not admit an extension to a homomorphism. This is our first main result. It emphasises that convex semilattices have a more complicated structure than their two ingredients – convex algebras and semilattices – separately. Interestingly, it turns out that imposing a fairly weak condition on the range space X of the map φ makes coordinatewise commutativity a sufficient condition for Φ to exist. We prove this in Definition 5.7 which is our second main result. A possible intuition is that requiring that X is not too wild compensates for the deficiency that θ does not generate ker Λ.
Let us explain more about the condition on X which we impose in Definition 5.7, in particular why we regard it as a weak condition. It is based on a property of convex semilattices which we call midpoint cancellativity, cf. Definition 5.1. Examples of midpoint cancellative convex semilattices are the min-max-convex semilattice of any totally ordered set, or the +p-max-convex semilattice of any ordered field that contains R, cf. Definition 5.2, and there are many more. The class of convex semilattices that are admitted in Definition 5.7 is now defined as all isomorphic images of subalgebras of products of midpoint cancellative convex semilattices. We denote this class as W, and it is indeed a large class. For example it contains all free convex semilattices, more generally, for any cancellative convex algebra the convex semilattice of its finitely generated subalgebras belongs to W, cf. Definition 5.6.
The results of the present paper should be put in context with the recent work [7]. In that paper homomorphisms of free convex semilattices into convex semilattices of a certain class W are studied. This class is much narrower than the present class W: it is defined as all isomorphic images of subalgebras of powers of R (as +p-max-convex semilattice). The results from [7] are incomparable with the present ones. On the one hand the domain of the homomorphisms is not restricted to a product of two free ones, but on the other hand the codomain must belong to the smaller class W. However, for X∈W sufficiency of coordinatewise commutativity could be deduced from [7].
Finally, let us mention that midpoint cancellativity is a property that is of interest on its own right. It will be further studied in our forthcoming work [8], where we give a complete description of all midpoint cancellative convex semilattices.
Acknowledgement: The task to construct homomorphisms whose domain is a product of free convex semilattices came up in discussions with Stefan Milius and Lutz Schröder during a visit to FAU Erlangen, whom we thank for their hospitality and fruitful discussions.
2. The objects of interest
In this section we start by discussing a crucial property of direct products, which we call coordinatewise commutativity and which is crucial for the results in this paper. Furthermore we recall the definition of the algebras of our present interest: semilattices, convex algebras, and convex semilattices.
2.1. Coordinatewise commutativity
Let X,Y be two sets, each of which is endowed with a binary operation, say ∗X and ∗Y. We endow the direct product X×Y with the componentwise defined binary operation
(x,y)∗X×Y(x′,y′):=(x∗Xx′,y∗Yy′).
Clearly, if ∗X and ∗Y are commutative, then ∗X×Y also is. Furthermore, commutativity of ∗X and ∗Y implies that ∗X×Y satisfies the following coordinatewise commutativity law:
Note that clearly the corresponding law where instead of y and y′ the elements x and x′ change places also holds.
The law (4) can be nicely illustrated geometrically. For example consider the set R with the operation +21:(x,y)↦21x+21y. Then we can picture (4) in R×R as
Assume that we have an equational class with a commutative binary operation *. Then the law (4) implies that the homomorphism Λ from (A) satisfies
In the context of our basic question (Q) we obtain an obvious necessary condition on φ for a homomorphism Φ with (1) to exist.
Lemma 2.1. Assume that in the equational class under consideration there is a commutative binary operation *. If a homomorphism Φ as in (1) exists, then
When investigating whether the condition (6) is also sufficient it is practical to switch between the viewpoints of the “extendability property” as in (Q) on the one hand, and properties of ker Λ as in (5) on the other. We make this precise.
Lemma 2.2. Let V be an equational class that contains commutative binary operations ∗l,l∈L. Let I,J be nonempty sets, let Λ:F(I×J)→FI×FJ be the homomorphism extending the inclusion map, and set
there exists a homomorphism Φ:FI×FJ→X with Φ∣I×J=φ.
(ii) ker Λ is the smallest congruence containing θ.
Then (i) ⇒ (ii), and if I×J generates FI×FJ also (ii) ⇒ (i).
Proof:
Assume (i) holds. Let Θ be the congruence generated by θ and denote by π:F(I×J)→F(I×J)/Θ the canonical projection. We consider the map φ:=π∘⊆:I×J→F(I×J)/Θ. Since θ⊆Θ=kerφ, the map φ satisfies (8), and thus Φ exists. Now we revisit the diagram (3):
F(I×J)↓↓↓φ=π∘⊆F(I×J)/Θ
By uniqueness of the extension to the free algebra we have π=Φ∘Λ, and hence obtain that kerΛ⊆kerπ=Θ. Since θ⊆kerΛ by (5), we also have Θ⊆kerΛ and the statement in (ii) follows.
For the proof of “(ii)⇒(i)” we simply read (7) the other way: given φ with (8), we have
Let us remark that convex algebras can be axiomatised in different ways; the family of operations can be restricted or expanded. See e.g. [9, 10, 11].
Combining a convex algebra and a semilattice with an appropriate axiom ruling the interplay of these structures leads to the equational class of convex semilattices.
Definition 2.5. A convex semilattice is a set X together with binary operations {+p∣p∈[0,1]} and ⊕ on X, such that
(i) ⟨X,+p⟩ is a convex algebra,
(ii) ⟨X,⊕⟩ is a semilattice,
(iii) Each operation +p distributes over ⊕, i.e.,
∀x,y,z∈X,p∈[0,1]:(x⊕y)+pz=(x+pz)⊕(y+pz)
We write a convex semilattice as ⟨X,+p,⊕⟩.
The free algebras in the above equational classes can be described explicitly. Let I be a nonempty set.
▷ The free semilattice SI with basis I is given as
SI:={A⊆I∣Afinitenonempty},A⊕B:=A∪BforA,B∈SI.
Here the embedding I⊂SI acts as i↦{i}, and Λ({(i,j)})=({i},{j}).
▷ For a subset M of a linear space2 (or, more general, of a convex algebra) we denote by co M its convex hull, i.e. the smallest convex subset (subalgebra, respectively) containing M.
Consider the linear space RI, and denote by ej∈RI the element (δij)i∈I where δij is the Kronecker-delta. The free convex algebra DI with basis I is given as
Here the embedding I⊂CI acts as i↦{ei}, and Λ({eij})=({ei},{ej}).
2Throughout the paper all linear spaces are understood over the scalar field R.
3To shorten notation we write eij for e(i,j).
Concerning the categorical background of these algebras we mention several facts: Semilattices are the Eilenberg-Moore algebras of the nonempty finite powerset monad. Convex algebras are the Eilenberg-Moore algebras of the distribution monad D, see [12, 13, 14]. Convex semilattices are the Eilenberg-Moore algebras of the monad C of nonempty finitely generated convex subsets of distributions, see [15] with origins in [16, 17, 18, 19, 20] for C being a monad, and [1, 21, §3.2] for the description of its Eilenberg-Moore algebras. Finally, we mention that the construction leading from DI to CI is functorial and this fact will be used later.
Remark 2.6. Let ⟨X,+p⟩ be a convex algebra. The set of all nonempty finitely generated subalgebras of X can be endowed with operations +p,⊕ in a natural way:
Then ⟨X,+p,⊕⟩ is a convex semilattice. Note the difference with the functor Pc from [22, §5.1]: we consider only the finitely generated nonempty convex subsets, while Pc takes all nonempty convex subsets.
Assume we have convex algebras ⟨X,+p⟩ and ⟨Y,+p⟩, and a homomorphism φ:X→Y of convex algebras. We define φ as the image map
φ:{XA→Y↦{φ(a)∣a∈A}
Then φ is a homomorphism of convex semilattices. The assignment defined in that way satisfies
idX=idX,φ∘ψ=(φ∘ψ).
We return to the discussion of our question (Q). Each of the above equational classes contains a commutative binary operation: ⊕ or +21 or both, respectively. Definition 2.1 instantiated as follows.
Corollary 2.7. Let X be a set, let I,J be nonempty sets, and φ:I×J→X.
(i) Assume that X carries a semilattice structure. If there exists a homomorphism Φ:SI×SJ→X with (1), then
∀i,i′∈I,j,j′∈J:φ(i,j)⊕φ(i′,j′)=φ(i,j′)⊕φ(i′,j)(9)
(ii) Assume that X carries a convex algebra structure. If there exists a homomorphism Φ:DI×DJ→X with (1), then
(iii) Assume that X carries a convex semilattice structure. If there exists a homomorphism Φ:CI×CJ→X with (1), then (9) and (10) both hold.
3. Sufficiency for convex algebras and semilattices
For convex algebras and semilattices the condition arising from coordinatewise commutativity turns out to be also sufficient.
We first settle the case of semilattices, where it is very easy to directly show existence of Φ.
Proposition 3.1. Let ⟨X,⊕⟩ be a semilattice, let I,J be nonempty sets, and φ:I×J→X. If φ satisfies (9), then there exists a homomorphism Φ:SI×SJ→X with Φ∣I×J=φ.
Proof:
Define a map Φ:SI×SJ→X as
Φ((A,B)):=a∈A⨁b∈B⨁φ(a,b)forA∈SI,B∈SJ.
Note here that A and B are finite. We check that Φ is a homomorphism of semilattices. Let A,C∈SI, B,D∈SJ, and compute
The proof uses an inductive procedure. To formulate it, we introduce some notation. Let x=∑i∈I,j∈Jpij(x)eij∈D(I×J). We denote the row sums and column sums of pij(x) as
pi(1)(x):=j∈J∑pij(x),pj(2)(x):=i∈I∑pij(x).
Note that x is a coupling of ∑i∈Ipi(1)ei and ∑j∈Jpj(2)ej. Moreover, we set
Since x∈D(I×J) is a finite convex combination of the vectors eij, both sets Ix and Jx are finite. Also, observe that
(I×J)∖(Ix×Jx)⊆Mx,Mxkl⊆Ix×Jx.
The idea of the inductive argument is that we can pass to a Θ-equivalent of x that has the same marginals as x and make either Mx increase or remain the same while some Mxkl decreases. We formulate this as a separate lemma.
Lemma 3.3. Assume x=∑i∈I,j∈Jpijeij∈D(I×J) and (k,l)∈(I×J)∖Mx, in particular, (k,l)∈Ix×Jx. Then there exists y∈D(I×J) such that
(i) xΘy,
(ii) ∀i∈I:pi(1)(x)=pi(1)(y) and ∀j∈J:pj(2)(x)=pj(2)(y)
(iii) My⊇Mx∪{(k,l)} or My=Mx∧Mykl⊂Mxkl.
Proof:
To shorten notation, we drop the argument x from pij,pi(1),pj(2).
▷ Consider first the case that 2s=1. Since s≤pk′l and s≤pkl′, it follows that pk′l=pkl′=21 and in turn that pij=0 for all (i,j)∈/{(k′,l),(k,l′)}. We see that x=21ek′l+21ekl′. Therefore xθ(21ekl+21ek′l), and hence
Property (i) holds by definition, and (ii) holds since row and column sums of x and y are the same.
Next, we show that My⊇Mx∪{(k′,l),(k,l′)}. If (i,j)∈/{k,k′}×{l,l′} we have pij′′=pij, and hence for such indices (i,j)∈Mx if and only if (i,j)∈My. Moreover, we have
This shows that (k′,l),(k,l′)∈My, that (k,l)∈Mx implies (k,l)∈My, and that (k′,l′)∈Mx implies (k′,l′)∈My.
If (k,l)∈My, we are done. Assume that (k,l)∈/My. If (i,j)∈/{(k,l),(k,l′),(k′,l)}, then (i,j)∈Mxkl if and only if (i,j)∈Mykl. We have (k,l)∈/Mx and (k,l)∈/My, and hence also (k,l)∈/Mxkl and (k,l)∈/Mykl. By our choice of s at least one of pk′l′′=pk′(1)pl(2) and pkl′′′=pk(1)pl′(2) holds. Hence, at least one of (k,l′) and (k′,l) does not belong to Mykl. Both of these indices belong to Mxkl, and we see that Mykl⊂Mxkl.
□
Corollary 3.4. For all x=∑i∈I,j∈Jpijeij∈D(I×J) it holds that
xΘi∈I,j∈J∑pi(1)pj(2)eij.
Proof:
We proceed by induction on ∣(I×J)∖Mx∣, which is a natural number for any x∈D(I×J).
▷ If Mx=I×J, then pij≥pi(1)pj(2) for all i∈I,j∈J. Since the total sums of both sides are equal to 1, it follows that x=∑i∈I,j∈Jpi(1)pj(2)eij and we are done.
▷ Assume we have x with Mx=I×J. Choose (k,l)∈/Mx. The set Mxkl is finite. Hence, after finitely many applications of Definition 3.3 we obtain an element y∈D(I×J) with xΘy, My⊃Mx, and which has the same row and column sums as x.
Proof:
[Proof of Definition 3.2] To show that kerΛ=Θ, it is enough to note that Λ acts as
We have Γ⊆τ(Γ)∩σ(Γ). Moreover, if Γ is symmetric, then τ(Γ) and σ(Γ) also are symmetric.
Lemma 4.4. If Γ⊆V×V has (W), then τ(Γ) and σ(Γ) have (W).
Proof:
We first consider σ(Γ). Let (A,B),(A′,B′)∈Γ and assume that A⊕A′⊆w+W. Since A⊆A⊕A′, we have A⊆w+W and consequently B⊆w+W. It follows in the same way that B′⊆w+W. The set w+W is convex, and therefore B⊕B′⊆w+W.
Now consider τ(Γ). Let (A,B),(A′,B′)∈Γ,p∈[0,1], and assume that A+pA′⊆w+W. If p=1 this means that A⊆w+W and we obtain B+pB′=B⊆w+W. The case that p=0 is analogous. Assume that p∈(0,1). First, we show that
∀x,y∈A:x−y∈W,∀x′,y′∈A′:x′−y′∈W.(12)
Assume we have x,y∈A. Fix a′∈A′. Then x+pa′,y+pa′∈A+pA′⊆w+W, and hence
Since p=0, it follows that x−y∈W. The statement for A′ follows in the same way using that p=1.
Now fix x∈A and x′∈A′. By (12) we have A⊆x+W and A′⊆x′+W. It follows that B⊆x+W and B′⊆x′+W, and thus
B+pB′⊆(px+(1−p)x′)+W⊆(A+pA′)+W⊆(w+W)+W=w+W.
Corollary 4.5. Assume γ⊆V×V is symmetric, and let Γ⊆V×V be the smallest congruence relation that contains γ. If γ has (W), then Γ has (W).
Proof:
Denote again by Δ the diagonal in V×V. Since γ is symmetric, Γ is the transitive closure of
(Δ∪γ)∪τ(Δ∪γ)∪[σ∘τ](Δ∪γ)∪[τ∘σ∘τ](Δ∪γ)∪…
Now apply Definition 4.3 and Definition 4.4.
We have collected everything that is needed for the proof of Definition 4.1.
Proof:
[Proof of Definition 4.1] Let V be the linear space
V:=span{eij∣i∈I,j∈J}⊆RI×J,
and let λ:V→RI×RJ be the linear map with
∀i∈I,j∈J:λ(eij)=(ei,ej)
Note here that {eij∣i∈I,j∈J} is a basis of V. Moreover, note that D(I×J)⊆V and hence C(I×J)⊆V.
Throughout the following fix i,i′∈I and j,j′∈J with i=i′ and j=j′, and let W⊆V be the linear subspace
W:=span(λ−1({0})∪{21eij+21ei′j−eij′}).
Moreover, let θ be the relation (11) and let Θ be the congruence generated by θ. We are going to show that kerΛ⊆V×V does not have the property (W), while Θ has.
In the first step we deal with ker Λ. Consider the sets
Using that 0,21eij+21ei′j−eij′∈W, we obtain A⊆eij′+W. Assume towards a contradiction that B⊆eij′+W. Then [eij′+21ei′j′]−eij∈B−B⊆W. Choose α∈R such that
Since i=i′ and j=j′ it follows that 1+α=0 and 1−α=0. We have reached a contradiction.
▷ In the second step we show that θ has the property (W), which implies by Definition 4.5 that Θ has (W). Let l,l′∈I and k,k′∈J. If l=l′ or k=k′ the required implication is trivial, hence assume that l=l′ and k=k′. First, we compute
The first component implies that either l=i,l′=i′,α=2 or l=i′,l′=i,α=−2. Hence, α∈{−2,2}. At the same time, the second component implies that either k=j,k′=j′,α=−1 or k=j′,k′=j,α=1, so α∈{−1,1}, a contradiction.
5. Sufficiency for a class of convex semilattices
For convex semilattices ⟨X,+p,⊕⟩ possessing a certain additional property, the conditions (9) and (10) are sufficient in order that Φ exists (despite that in general they are not). This is our second main result and is given in Definition 5.7.
First we digress to explain the mentioned additional property.
5.1. Midpoint cancellative convex semilattices
The following cancellation property is closely related with the coordinatewise commutativity law (4) that holds for +21 and ⊕ in a product of convex semilattices.
Definition 5.1. Let ⟨X,+p,⊕⟩ be a convex semilattice. We say that X is midpoint cancellative, if
This cancellation property is obviously inherited by subalgebras. Contrasting this, for direct products a negative statement holds: if X and Y are convex semilattices with ∣X∣,∣Y∣≥2, then their product X×Y is not midpoint cancellative. The reason is coordinatewise commutativity: let x,x′∈X, y,y′∈Y with x=x′,y=y′, then
Then ⟨X,+p,⊕⟩ is a midpoint cancellative convex semilattice.
(ii) Let K be an ordered field that contains R. Set
x⊕y:=max{x,y},x+py:=px+(1−p)yforx,y∈K,p∈[0,1].
Then ⟨K,+p,⊕⟩ is a midpoint cancellative convex semilattice.
This fact applies in particular with the ordered field R itself. Whenever we write “ R” for a convex semilattice we mean the midpoint cancellative convex semilattice ⟨R,+p,⊕⟩.
We point out that in these two examples the convex algebra structure behaves very differently: for each two x=y the map p↦x+py is in (i) constant for p∈(0,1] if x<y (for p∈[0,1) if x>y, respectively), while in (ii) it is injective on [0,1].
Remark 5.3. It is not a coincidence that in both examples the semilattice order is a total order. However, we are not going into further detail in this place. An in depth investigation of the structure of midpoint cancellative convex semilattices is subject of our forthcoming work [8].
Definition 5.4. Denote by W the class of all convex semilattices that are isomorphic to a subalgebra of a direct product of midpoint cancellative convex semilattices.
In other words, W consists of those convex semilattices that can be embedded into a direct product with midpoint cancellative factors. We note that W is closed under isomorphic images, subalgebras, and products.
Membership in W can be characterised also differently, namely via homomorphisms. That is actually a general fact, and uses the following notion. Let X be a nonempty set, M a class of nonempty sets, and for each M∈M let FM⊆MX. We say that the class ⋃{FM∣M∈M} is point separating (or jointly injective) on X, if
∀x,y∈X,x=y∃M∈M,f∈FM:f(x)=f(y)
Lemma 5.5. Let X be a convex semilattice. Then X can be embedded into a product with midpoint cancellative factors, if and only if the class
To see necessity, consider a product Y:=∏i∈IBi of midpoint cancellative convex semilattices. The canonical projections πi:Y→Bi are homomorphisms, and the family of projections {πi} where i∈I is point separating on Y. It follows that (13) is point separating on Y, and thus on every algebra isomorphic to a subalgebra of Y.
For sufficiency assume that (13) is point separating. For each x,y∈X,x=y, choose a midpoint cancellative convex semilattice Bx,y and fx,y∈Hom(X,Bx,y) with fx,y(x)=fx,y(y). Then the map
In the next lemma we exhibit a broad class of examples of convex semilattices belonging to W. We point out that the lemma applies, in particular, to every free convex semilattice. Recall here that a convex algebra ⟨X,+p⟩ is called cancellative, if
∀x,y,z∈X:(∃p∈(0,1):x+pz=y+pz)⇒x=y,
and that ⟨X,+p⟩ is cancellative if and only if it can be embedded homomorphically into some vector space over the scalar field R (this is a classical fact going back to [23, 24]).
Lemma 5.6. Let ⟨X,+p⟩ be a cancellative convex algebra. Then X∈W.
Proof:
Choose a vector space V over R and an injective convex algebra homomorphism ι:X→V. Then X is isomorphic to a subalgebra of V. By the Hahn-Banach separation theorem (e.g. [25, Chp.IV,3.11 Corollary] applied with the weak topology on V induced by the algebraic dual V∗) we have
∀A∈V:A=f∈V∗⋂f−1((−∞,x∈Amaxf(x)]).
The support functionals
σf:{VA→R↦maxx∈Af(x)
are convex semilattice homomorphisms, and by the above formula the family {σf∣f∈V∗} is point separating. Now refer to Definition 5.2(ii) and Definition 5.5.
5.2. The sufficiency result
Theorem 5.7. Let ⟨X,+p,⊕⟩ be a convex semilattice in the class W, let I,J be nonempty sets, and φ:I×J→X. If φ satisfies (9) and (10), then there exists a homomorphism Φ:CI×CJ→X with Φ∣I×J=φ.
The proof of the theorem relies on a trick, which shows how midpoint cancellativity enters.
Lemma 5.8. Let B be a midpoint cancellative convex semilattice. Let I,J be nonempty sets, and cij∈B for i∈I,j∈J. Then
The latter condition may be phrased as “the matrix (cij)i∈I,j∈J has constant rows or constant columns”.
Proof:
For the proof of the forward implication assume that (14) holds. Assume the first bracket in (15) is false, so that there exist i0∈I and j0,j0′∈J such that ci0j0=ci0j0′. Let j∈J, then
ci0j=ci0j0∨ci0j=ci0j0′.
Consider the case that ci0j=ci0j0. Let i∈I, then
instead of (16), and conclude again that cij=ci0j. Thus the second bracket in (15) holds true.
The backwards implication is obvious.
□
Proof:
[Proof of Definition 5.7] Assume we are given nonempty sets I,J and a map φ subject to (9) and (10). Recall that Ψ:C(I×J)→X is the homomorphism with Ψ({eij})=φ(i,j), and Λ:C(I×J)→CI×CJ is the homomorphism with Λ({eij})=({ei},{ej}). We are going to show that kerΛ⊆kerΨ, which implies existence of Φ.
First consider the case that X is midpoint cancellative. Definition 5.8 applied with the elements cij:=φ(i,j) yields that the matrix (φ(i,j))j∈Ji∈I has constant rows or constant columns. Assume w.l.o.g. that it has constant rows, i.e., φ(i,j) is independent of j, and set
ci:=φ(i,j),i∈I,j∈J.
Let α:CI→X be the homomorphism with α({ei})=ci, and denote by π:CI×CJ→CI the left projection. Then
Both, Ψ and α∘π∘Λ are homomorphisms, and it follows that Ψ=α∘π∘Λ. In particular, therefore, kerΛ⊆kerΨ.
Now consider X∈W. Let B be a midpoint cancellative convex semilattice and f∈Hom(X,B). Since f is a homomorphism, the map f∘φ satisfies (9) and (10). Its unique extension to Hom(C(I×J),B) is f∘Ψ. By the already proved case, we have
kerΛ⊆ker(f∘Ψ).
Since the family (13) is point separating, it follows that kerΛ⊆kerΨ. In fact, let (x,y)∈/kerΨ, so that Ψ(x)=Ψ(y). Choose B and f∈Hom(X,B) such that f(Ψ(x))=f(Ψ(y)). Then (x,y)∈/ker(f∘Ψ), and hence (x,y)∈/kerΛ.
6. Conclusions
We investigate the property whether a map φ from I×J to an algebra X extends to a homomorphism from FI×FJ to X (where FS denotes the free algebra with basis S). If the class of algebras contains commutative binary operations, then a simple and explicit necessary condition for existence of such an extension follows. This condition happens to be sufficient for semilattices and convex algebras, but not for convex semilattices. We show that for each two sets I,J with at least to elements, there exists a convex semilattice X and a map φ:I×J→X that satisfies the necessary condition but has no homomorphic extension to the product. However, we also show that if only range spaces X from a certain subclass of convex semilattices are admitted, then the necessary condition is also sufficient.
References
[1] Bonchi F, Sokolova A, Vignudelli V. The theory of traces for systems with nondeterminism, probability, and termination. Log. Methods Comput. Sci., 2022. 18(2):66. Id/No 21, URL lmcs.episciences.org/9713.
[2] Mio M, Vignudelli V. Monads and Quantitative Equational Theories for Nondeterminism and Probability. In: Konnov I, Kovács L (eds.), 31st International Conference on Concurrency Theory, CONCUR 2020, Vienna, Austria (Virtual Conference), September 1-4, 2020, volume 171 of LIPIcs. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2020 pp. 28:1–28:18. doi:10.4230/LIPIcs.CONCUR.2020.28. URL https://doi.org/10.4230/LIPIcs.CONCUR.2020.28.
[3] Mio M, Sarkis R, Vignudelli V. Combining Nondeterminism, Probability, and Termination: Equational and Metric Reasoning. In: 36th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2021, Rome, Italy, June 29 - July 2, 2021. IEEE, 2021 pp. 1–14. doi:10.1109/LICS52264.2021.9470717. URL https://doi.org/10.1109/LICS52264.2021.9470717.
[4] Romanowska A, Smith J. Modal theory. An algebraic approach to order, geometry, and convexity, volume 9 of Res. Expo. Math. Heldermann Verlag, Lemgo, 1985.
[5] Smith J. Modes, modals, and barycentric algebras: a brief survey and an additivity theorem. Demonstr. Math., 2011. 44(3):571–587. doi:10.1515/dema-2013-0332.
[6] Hyndman J, Nation J, Nishida J. Congruence lattices of semilattices with operators. Studia Logica, 2016. 104(2):305–316. doi:10.1007/s11225-015-9641-0. URL https://doi.org/10.1007/s11225-015-9641-0.
[7] Woracek H. Homomorphisms and subalgebras of free convex semilattices, 2026. 2609.09201, URL https://arxiv.org/abs/2609.09201.
[8] Sokolova A, Woracek H. Convex semilattices with a cancellation property. Manuscript in preparation.
[9] Flood J. Semiconvex geometry. J. Austral. Math. Soc. Ser. A, 1980/81. 30(4):496–510.
[10] Romanowska A, Smith J. On the structure of barycentric algebras. Houston J. Math., 1990. 16(3):431–448.
[11] Sokolova A, Woracek H. Congruences of convex algebras. J. Pure Appl. Algebra, 2015. 219(8):3110–3148. doi:10.1016/j.jpaa.2014.10.005. URL http://dx.doi.org/10.1016/j.jpaa.2014.10.005.
[12] Doberkat EE. Eilenberg-Moore algebras for stochastic relations. Inform. and Comput., 2006. 204(12):1756–1781. doi:10.1016/j.ic.2006.09.001. URL http://dx.doi.org/10.1016/j.ic.2006.09.001.
[13] Doberkat EE. Erratum and addendum: Eilenberg-Moore algebras for stochastic relations [MR2277336]. Inform. and Comput., 2008. 206(12):1476–1484. doi:10.1016/j.ic.2008.08.002. URL http://dx.doi.org/10.1016/j.ic.2008.08.002.
[14] Jacobs B, Westerbaan B, Westerbaan B. States of convex sets. In: Foundations of software science and computation structures, volume 9034 of Lecture Notes in Comput. Sci., pp. 87–101. Springer, Heidelberg, 2015. doi:10.1007/978-3-662-46678-0_6. URL http://dx.doi.org/10.1007/978-3-662-46678-0_6.
[15] Jacobs B. Coalgebraic Trace Semantics for Combined Possibilitistic and Probabilistic Systems. Electr. Notes Theor. Comput. Sci., 2008. 203(5):131–152.
[16] Mislove MW. Nondeterminism and Probabilistic Choice: Obeying the Laws. In: CONCUR 2000. LNCS 1877, 2000 pp. 350–364. doi:10.1007/3-540-44618-4_26. URL https://doi.org/10.1007/3-540-44618-4_26.
[17] Varacca D. Probability, Nondeterminism and Concurrency: Two Denotational Models for Probabilistic Computation. Ph.D. thesis, Univ. Aarhus, 2003. BRICS Dissertation Series, DS-03-14.
[18] Varacca D, Winskel G. Distributing Probability over Nondeterminism. MSCS, 2006. 16(1):87–113.
[19] Goubault-Larrecq J. Prevision Domains and Convex Powercones. In: FOSSACS 2008. LNCS 4962, 2008 pp. 318–333. doi:10.1007/978-3-540-78499-9_23. URL https://doi.org/10.1007/978-3-540-78499-9_23.
[20] Tix R, Keimel K, Plotkin GD. Semantic Domains for Combining Probability and Non-Determinism. ENTCS, 2009. 222:3–99. doi:10.1016/j.entcs.2009.01.002. URL https://doi.org/10.1016/j.entcs.2009.01.002.
[21] Bonchi F, Sokolova A, Vignudelli V. Presenting convex sets of probability distributions by convex semilattices and unique bases ((Co)algebraic pearls). In: 9th conference on algebra and coalgebra in computer science, CALCO 2021, Salzburg, Austria, August 31 – September 3, 2021, p. 18. Wadern: Schloss Dagstuhl – Leibniz Zentrum für Informatik. ISBN 978-3-95977-212-9, 2021. doi:10.4230/LIPIcs.CALCO.2021.11. Id/No 11.
[22] Bonchi F, Silva A, Sokolova A. Distribution bisimilarity via the power of convex algebras. Log. Methods Comput. Sci., 2021. 17(3):28. Id/No 10, URL lmcs.episciences.org/7697.
[23] Stone M. Postulates for the barycentric calculus. Ann. Mat. Pura Appl. (4), 1949. 29:25–30. doi:10.1007/BF02413910. URL http://dx.doi.org/10.1007/BF02413910.
[25] Conway J. A course in functional analysis, volume 96 of Graduate Texts in Mathematics. Springer-Verlag, New York, second edition edition, 1990. ISBN 0-387-97245-5.