Papers
Topics
Authors
Recent
Search
2000 character limit reached

Convex Semilattices in Algebraic Effects

Updated 6 July 2026
  • Convex semilattices are algebraic structures that integrate a commutative idempotent semilattice join with barycentric convex-combination operations for probabilistic choice.
  • They model the monad of non-empty finitely generated convex sets of finitely supported probability distributions, capturing both nondeterministic and probabilistic effects.
  • Key results include the unique base theorem, canonical free convex semilattice construction, and representation in Riesz spaces, which underpin normalization and cancellation properties.

Searching arXiv for recent and foundational papers on convex semilattices and related structures. Convex semilattices are algebraic structures that combine a semilattice operation for nondeterministic choice with barycentric operations for probabilistic choice. In the standard formulation, a convex semilattice is a set equipped with a commutative idempotent semilattice join and a family of binary convex-combination operations indexed by parameters in (0,1)(0,1), subject to barycentric axioms and a distributivity law linking the two kinds of choice. This structure presents the monad of non-empty, finitely generated convex sets of finitely supported probability distributions, so it functions simultaneously as an equational theory and as a semantic model for combined probabilistic and nondeterministic effects (Bonchi et al., 2020).

1. Algebraic definition

The standard signature consists of a binary operation \vee and binary operations +p+_p for each p(0,1)p \in (0,1). The operation \vee satisfies the semilattice axioms

xx=x,xy=yx,(xy)z=x(yz),x \vee x = x,\qquad x \vee y = y \vee x,\qquad (x \vee y)\vee z = x \vee (y \vee z),

while the operations +p+_p satisfy the barycentric axioms

x+px=x,x+py=y+1px,x +_p x = x,\qquad x +_p y = y +_{1-p} x,

and

(x+qy)+pz=x+pq(y+p(1q)1pqz).(x +_q y) +_p z = x +_{pq}\Bigl(y +_{\frac{p(1-q)}{1-pq}} z\Bigr).

The boundary cases behave as expected: x+1y=x,x+0y=y.x +_1 y = x,\qquad x +_0 y = y. The interaction axiom is

\vee0

Using symmetry of \vee1 and commutativity of \vee2, the symmetric rule

\vee3

is derivable and is used in normalization arguments (Bonchi et al., 2020).

This axiomatization isolates the intended operational reading. The semilattice join models nondeterministic choice, whereas the barycentric operations model probabilistic choice. The distributivity law states that mixing after a nondeterministic choice coincides with taking the nondeterministic choice among the corresponding mixtures. In later work the semilattice operation is often written \vee4 rather than \vee5, but the axioms are the same (Sokolova et al., 15 Jul 2025).

A frequent source of confusion is that the phrase “convex semilattice” does not always denote exactly this signature in the literature. In the present sense, it refers to a structure carrying both a genuine semilattice operation and a full barycentric algebra. Distinct but related usages occur in ordered-algebraic convexity and in older convex-space literature; those variants are addressed below.

2. Convex sets of distributions and the presentation theorem

Let \vee6 be a set, and let \vee7 denote the set of finitely supported probability distributions on \vee8, i.e. functions \vee9 with finite support and +p+_p0. For +p+_p1 and +p+_p2, their convex combination is defined pointwise by

+p+_p3

More generally, if +p+_p4 and +p+_p5 with +p+_p6, then +p+_p7 is the distribution +p+_p8 with

+p+_p9

For p(0,1)p \in (0,1)0, its convex hull is

p(0,1)p \in (0,1)1

A convex set is finitely generated if it is the convex hull of finitely many distributions. Writing p(0,1)p \in (0,1)2 for the collection of all non-empty, finitely generated convex subsets of p(0,1)p \in (0,1)3, one obtains the endofunctor

p(0,1)p \in (0,1)4

On p(0,1)p \in (0,1)5, the semilattice and convex operations are

p(0,1)p \in (0,1)6

and

p(0,1)p \in (0,1)7

The latter is a Minkowski convex combination, and it satisfies the barycentric axioms pointwise. The unit is

p(0,1)p \in (0,1)8

and the multiplication p(0,1)p \in (0,1)9 is given by

\vee0

The monad laws hold, and \vee1 is a homomorphism of convex semilattices: \vee2 This yields the categorical statement that the algebraic theory of convex semilattices presents the monad \vee3: the free convex semilattice on \vee4 is \vee5, and the Eilenberg–Moore category \vee6 is equivalent to the category of convex semilattices (Bonchi et al., 2020).

The scope of this presentation is precise. It concerns non-empty, finitely generated convex sets of finitely supported distributions. The restriction to finite generation and finite support ensures the compactness and finiteness properties used in the proofs and in the monad structure. The syntax may be restricted to rational parameters for convenience, but the axioms and semantics are valid for real \vee7 (Bonchi et al., 2020).

3. Bases, extreme points, and canonical forms

For \vee8, a base is a finite set \vee9 such that

xx=x,xy=yx,(xy)z=x(yz),x \vee x = x,\qquad x \vee y = y \vee x,\qquad (x \vee y)\vee z = x \vee (y \vee z),0

and for each xx=x,xy=yx,(xy)z=x(yz),x \vee x = x,\qquad x \vee y = y \vee x,\qquad (x \vee y)\vee z = x \vee (y \vee z),1,

xx=x,xy=yx,(xy)z=x(yz),x \vee x = x,\qquad x \vee y = y \vee x,\qquad (x \vee y)\vee z = x \vee (y \vee z),2

Equivalently, a base is a minimal generating set with no redundant element. The central structural theorem is that every xx=x,xy=yx,(xy)z=x(yz),x \vee x = x,\qquad x \vee y = y \vee x,\qquad (x \vee y)\vee z = x \vee (y \vee z),3 has a unique base (Bonchi et al., 2020).

One proof is functional-analytic. Viewing xx=x,xy=yx,(xy)z=x(yz),x \vee x = x,\qquad x \vee y = y \vee x,\qquad (x \vee y)\vee z = x \vee (y \vee z),4 with the product topology, finitely generated convex subsets are compact convex sets, so Krein–Milman yields

xx=x,xy=yx,(xy)z=x(yz),x \vee x = x,\qquad x \vee y = y \vee x,\qquad (x \vee y)\vee z = x \vee (y \vee z),5

where xx=x,xy=yx,(xy)z=x(yz),x \vee x = x,\qquad x \vee y = y \vee x,\qquad (x \vee y)\vee z = x \vee (y \vee z),6 is the set of extreme points of xx=x,xy=yx,(xy)z=x(yz),x \vee x = x,\qquad x \vee y = y \vee x,\qquad (x \vee y)\vee z = x \vee (y \vee z),7. Minimality then forces xx=x,xy=yx,(xy)z=x(yz),x \vee x = x,\qquad x \vee y = y \vee x,\qquad (x \vee y)\vee z = x \vee (y \vee z),8 to be the smallest generating set, hence the unique base. A second proof is combinatorial: if two bases generate the same convex set, each base element can be expressed as a convex combination of the other base, and the resulting coefficient matrices force a bijection between the two index sets, so the bases coincide up to permutation (Bonchi et al., 2020).

The theorem has an algebraic role beyond convex geometry. It provides canonical generators for elements of the monad xx=x,xy=yx,(xy)z=x(yz),x \vee x = x,\qquad x \vee y = y \vee x,\qquad (x \vee y)\vee z = x \vee (y \vee z),9 and underpins normal forms in the equational theory. When a term is rewritten into a nondeterministic–probabilistic form, redundant probabilistic summands can be removed exactly when their denotations lie in the convex hull of the others. The unique base theorem guarantees that this elimination is canonical, which is the key step in constructing the inverse of the presentation map and proving that the presentation is an isomorphism (Bonchi et al., 2020).

The finite-generation hypothesis is essential to the stated result. The paper proves uniqueness for finitely generated convex sets of finitely supported distributions and notes that in infinite settings uniqueness of bases need not hold without further compactness or extremal assumptions (Bonchi et al., 2020).

4. Free convex semilattices and basic examples

The free convex semilattice on a set +p+_p0 is

+p+_p1

Its elements are exactly the non-empty, finitely generated convex sets of finitely supported distributions over +p+_p2, and the unit sends +p+_p3 to the singleton +p+_p4. Its universal property is the expected one: for any convex semilattice +p+_p5 and any function +p+_p6, there exists a unique homomorphism +p+_p7 extending +p+_p8, obtained by interpreting convex hulls as joins and convex combinations as the operations +p+_p9 (Bonchi et al., 2020).

A standard two-point example takes x+px=x,x+py=y+1px,x +_p x = x,\qquad x +_p y = y +_{1-p} x,0 with Dirac distributions x+px=x,x+py=y+1px,x +_p x = x,\qquad x +_p y = y +_{1-p} x,1 and x+px=x,x+py=y+1px,x +_p x = x,\qquad x +_p y = y +_{1-p} x,2, and

x+px=x,x+py=y+1px,x +_p x = x,\qquad x +_p y = y +_{1-p} x,3

Then

x+px=x,x+py=y+1px,x +_p x = x,\qquad x +_p y = y +_{1-p} x,4

has unique base x+px=x,x+py=y+1px,x +_p x = x,\qquad x +_p y = y +_{1-p} x,5. If x+px=x,x+py=y+1px,x +_p x = x,\qquad x +_p y = y +_{1-p} x,6, then

x+px=x,x+py=y+1px,x +_p x = x,\qquad x +_p y = y +_{1-p} x,7

which is the entire x+px=x,x+py=y+1px,x +_p x = x,\qquad x +_p y = y +_{1-p} x,8-simplex on x+px=x,x+py=y+1px,x +_p x = x,\qquad x +_p y = y +_{1-p} x,9. For the Minkowski convex combination,

(x+qy)+pz=x+pq(y+p(1q)1pqz).(x +_q y) +_p z = x +_{pq}\Bigl(y +_{\frac{p(1-q)}{1-pq}} z\Bigr).0

contains

(x+qy)+pz=x+pq(y+p(1q)1pqz).(x +_q y) +_p z = x +_{pq}\Bigl(y +_{\frac{p(1-q)}{1-pq}} z\Bigr).1

These examples show concretely how the semilattice and barycentric operations interact at the level of convex sets of distributions (Bonchi et al., 2020).

This construction is also the semantic basis for the monadic interpretation. The join is not set-theoretic union but convex union, and the probabilistic operation is not pointwise addition of sets but the set of all pairwise mixtures between the two arguments. That distinction is essential: it is exactly what makes the free algebra closed under both nondeterministic and probabilistic composition.

5. Cancellativity and representation in Riesz spaces

A convex semilattice is cancellative if its underlying convex algebra is cancellative, meaning that for any (x+qy)+pz=x+pq(y+p(1q)1pqz).(x +_q y) +_p z = x +_{pq}\Bigl(y +_{\frac{p(1-q)}{1-pq}} z\Bigr).2,

(x+qy)+pz=x+pq(y+p(1q)1pqz).(x +_q y) +_p z = x +_{pq}\Bigl(y +_{\frac{p(1-q)}{1-pq}} z\Bigr).3

The relevant classical result for convex algebras is the Stone–Kneser theorem: a convex algebra is cancellative if and only if it is isomorphic to a convex subset of a real vector space with the canonical affine operations. Recent work extends this to convex semilattices (Sokolova et al., 15 Jul 2025).

The extension states that a convex semilattice (x+qy)+pz=x+pq(y+p(1q)1pqz).(x +_q y) +_p z = x +_{pq}\Bigl(y +_{\frac{p(1-q)}{1-pq}} z\Bigr).4 is cancellative if and only if it is isomorphic to a convex subset (x+qy)+pz=x+pq(y+p(1q)1pqz).(x +_q y) +_p z = x +_{pq}\Bigl(y +_{\frac{p(1-q)}{1-pq}} z\Bigr).5 of a Riesz space (x+qy)+pz=x+pq(y+p(1q)1pqz).(x +_q y) +_p z = x +_{pq}\Bigl(y +_{\frac{p(1-q)}{1-pq}} z\Bigr).6 that is closed under binary suprema, with operations

(x+qy)+pz=x+pq(y+p(1q)1pqz).(x +_q y) +_p z = x +_{pq}\Bigl(y +_{\frac{p(1-q)}{1-pq}} z\Bigr).7

where (x+qy)+pz=x+pq(y+p(1q)1pqz).(x +_q y) +_p z = x +_{pq}\Bigl(y +_{\frac{p(1-q)}{1-pq}} z\Bigr).8 is the lattice join in (x+qy)+pz=x+pq(y+p(1q)1pqz).(x +_q y) +_p z = x +_{pq}\Bigl(y +_{\frac{p(1-q)}{1-pq}} z\Bigr).9. Thus cancellativity forces a representation in a lattice-ordered vector space rather than merely in an affine space (Sokolova et al., 15 Jul 2025).

The proof proceeds in stages. First, Stone–Kneser embeds the convex-algebra part into a real vector space. Second, the paper introduces the perspective shift

x+1y=x,x+0y=y.x +_1 y = x,\qquad x +_0 y = y.0

and proves that for x+1y=x,x+0y=y.x +_1 y = x,\qquad x +_0 y = y.1 and x+1y=x,x+0y=y.x +_1 y = x,\qquad x +_0 y = y.2, the restriction x+1y=x,x+0y=y.x +_1 y = x,\qquad x +_0 y = y.3 is a convex semilattice homomorphism. Third, it constructs a linear subspace

x+1y=x,x+0y=y.x +_1 y = x,\qquad x +_0 y = y.4

and a well-defined extension x+1y=x,x+0y=y.x +_1 y = x,\qquad x +_0 y = y.5 of the semilattice operation to x+1y=x,x+0y=y.x +_1 y = x,\qquad x +_0 y = y.6. Finally, the order induced by x+1y=x,x+0y=y.x +_1 y = x,\qquad x +_0 y = y.7,

x+1y=x,x+0y=y.x +_1 y = x,\qquad x +_0 y = y.8

turns x+1y=x,x+0y=y.x +_1 y = x,\qquad x +_0 y = y.9 into a Riesz space, with infima given by

\vee00

No extra semilattice axioms are required beyond the convex semilattice laws; cancellativity of the convex part alone suffices for the representation theorem (Sokolova et al., 15 Jul 2025).

Canonical examples are supplied by familiar vector lattices. The coordinatewise order on \vee01 yields lattice join by coordinatewise maximum, so any convex subset closed under coordinatewise suprema becomes a convex semilattice. Function spaces \vee02 with pointwise order provide another class of examples. These models realize probabilistic choice by affine combination and nondeterministic choice by lattice join in the ambient ordered linear structure (Sokolova et al., 15 Jul 2025).

A broader semiring-based formulation replaces barycentric operations by semimodule structure. For a semiring \vee03 satisfying the conditions needed for a canonical weak distributive law of the powerset monad over the \vee04-semimodule monad, the resulting composed monad sends a set \vee05 to the convex subsets of the free \vee06-semimodule \vee07. Its Eilenberg–Moore algebras are structures carrying both left \vee08-semimodule operations and complete semilattice operations, subject to distributivity. In the finitary restriction, the algebras are semilattices with bottom together with left \vee09-semimodules satisfying interaction axioms such as \vee10, \vee11 for \vee12, and \vee13. This construction differs from the non-empty theory principally by including the empty convex set, which gives a bottom element and yields a CPPO-enriched Kleisli category (Bonchi et al., 2020).

An enriched generalization appears in the theory of sober \vee14-convex spaces and \vee15-join-semilattices. There the truth values form a complete residuated lattice \vee16, convexity is carried by an \vee17-convex structure on \vee18-subsets, and the semilattice side is provided by suprema of nonempty finite \vee19-subsets in an \vee20-ordered set. The Scott \vee21-convex structure satisfies the compatibility law

\vee22

and sobrification yields a canonical \vee23-join-semilattice completion. The main equivalence states that an \vee24-ordered set \vee25 is an \vee26-join-semilattice completion of \vee27 if and only if the Scott \vee28-convex space \vee29 is a sobrification of \vee30 (Wu et al., 2024).

A separate line of work uses “convex semilattice” in a more combinatorial sense. In the theory of convex spaces, a semilattice can be viewed as a convex space of combinatorial type by setting \vee31 to be constant on \vee32; for a meet-semilattice, one puts

\vee33

together with the boundary laws \vee34 and \vee35. These structures satisfy the abstract convex-space axioms but do not embed into vector spaces as convex subsets. This is related to convex semilattices in the algebraic-effects sense, but it is not the same signature, because the semilattice operation there is not an additional operation interacting with an independent barycentric algebra; it is the entire nontrivial mixture law (0903.5522).

Ordered-algebraic convexity gives another distinct usage. In a join-semilattice regarded as an ordered structure, convex subsets may be defined to be subsemilattices, the convex hull of a set is the subsemilattice it generates, and the extreme points of a convex subset are its coirreducible elements. In compact locally convex topological semilattices one then has a Krein–Milman-type theorem: \vee36 with

\vee37

This notion concerns convexity internal to semilattice order rather than the probabilistic–nondeterministic algebra described above (Poncet, 2013).

Convex geometries supply yet another semilattice-centered context. For an algebraic convex geometry, the compact closed sets form a join-semilattice \vee38, and the global order-scatteredness of the lattice of closed sets is governed by semilattice obstructions. In finite join-dimension, the key criterion is that \vee39 is order-scattered iff \vee40 is order-scattered and \vee41 is not embeddable into \vee42 as a join-subsemilattice. In the special case of relatively convex sets, the corresponding obstruction is \vee43 (Adaricheva et al., 2015).

Taken together, these developments show that “convex semilattice” names a stable core idea—the interaction of convexity and idempotent join—but the exact formalization depends on whether the setting is probabilistic algebra, semimodule theory, enriched order, abstract convex spaces, or ordered semilattice convexity. The standard algebraic-effects formulation remains the one in which convex semilattices present the monad of non-empty finitely generated convex sets of finitely supported probability distributions and serve as the canonical Eilenberg–Moore algebras for combined nondeterministic and probabilistic choice (Bonchi et al., 2020).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Convex Semilattices.