nLab
convex space

Contents

Idea

A convex space (also called barycentric algebra and other terms, invented independently many times) is a set equipped with a notion of taking weighted averages, or convex-linear combinations, of its elements. Do not confuse this with an (abstract) convex set , which a special kind of convex space, also defined below.

Convex spaces may be important in the foundations of probability theory. The category of convex spaces is semicartesian monoidal but not cartesian monoidal.

The monad assigning to any set the free convex space on that set is a finitary commutative monad. We can thus follow Durov in thinking of it as a generalized ring. This allows us to think of convex spaces as ‘modules’ of a generalized ring, very much as vector spaces are modules of a field. This is also true of the relatives of convex spaces: affine spaces and conical spaces. For example, an affine space may be defined just as a convex space is defined below, but dropping the condition 0p1.

Definition

A convex space is a set X equipped with:

  • for each real number p such that 0p1, an operation c p:X×XX,

such that the following identities always hold:

  • c 0(a,b)=b,
  • c 1(a,b)=a (this one is redundant),
  • c p(a,a)=a,
  • c p(a,b)=c 1p(b,a),
  • c p(c q(a,b),c)=c pq(a,c r(b,c)) for (1pq)r=(1q)p.

This defines convex spaces as a variety of algebras, with one binary operation for each p.

The intended interpretation is that c p(a,b) is the average of a and b, with a given the weight p and b given the weight 1p; this is called the p-weighted average of a and b. It is also possible to give an ‘unbiased?’ definition, in which the most general operation is an n-ary operation parametrised by a list (p 1,,p n) such that 0p i1 for each i and i=1 np i=1. Such an operation is called a convex-linear combination.

A homomorphism of convex spaces may be called a convex-linear map or an affine linear map (since an affine space is a convex space with extra properties, as in the examples below). It should probably not be called a ‘convex map’, which (between affine spaces) is something more general.

Examples

Any real vector space is a convex space, with c p(a,b)=pa+(1p)b. In the unbiased version, any convex-linear combination is a linear combination. Note that a convex-linear map between vector spaces may not be a linear map, since it may not preserve the identity; thus, a vector space is a convex space with extra structure.

More generally, any real affine space is a convex space; since p+(1p)=1, the expression for c p in a vector space is valid in an affine space. In the unbiased version, any convex-linear combination is an affine linear combination. Now any convex-linear map between affine spaces is an affine linear map (and conversely); an affine space is a convex space with extra properties.

Still more generally, any convex subset (that is, one containing the entire line segment between two given points) of a real affine space is a convex space (again with extra properties, which are described algebraically below).

The Boolean field {0,1} is a convex space with c p(a,b)=ab=a+bab whenever 0<p<1 (with c 0(a,b)=b and c 1(a,b)=a as always); this cannot be realised as a subset of a vector space. This can be generalised to any (possibly unbounded) semilattice. (It would be nice to find an example like this that can be defined constructively; this one relies on excluded middle.)

Abstract convex sets

There is a nice abstract converse to the example of a convex subset of an affine space. A convex space is cancellative if a=b whenever c p(a,c)=c p(b,c) for some c and p>0. We may call a cancellative convex space an abstract convex set. The justification for this terminology is this

Theorem (Thm 2 in the paper by Stone)

A convex space is cancellative if and only if it is isomorphic (as a convex space) to a convex subset of some real affine space.

Compare this with the theorem that a monoid is cancellative? if and only if it is isomorphic to a submonoid of some group.

Of course, most of the examples given above are cancellative, being manifestly given as convex subsets of real affine space. However, the last example—a semilattice with c p(a,b)=ab whenever 0<p<1—is non-cancellative.

References

Convex spaces have been rediscovered many times under many different names. References tend to define c p only for 0<p<1, but it seems obvious that it's best to include the edge cases as well. Classically, it makes no difference, but the definition above is probably better in constructive mathematics.

  • Handbook of Analysis and its Foundations, Section 12.7 (short and to the point).

  • Romanowska, Smith, Orłowska; Abstract barycentric algebras; pdf. This generalises from [0,1] to an arbitrary LΠ-algebra (L for ‘Łukasiewicz’, Π for ‘product’, so think of [0,1] as a space of fuzzy truth values).

  • Romanowska & Smith (1985); Modal Theory: An Algebraic Approach to Order, Geometry, and Convexity; Res. Exp. Math. 9; Heldermann-Verlag, Berlin, 1985.

  • Marshall Harvey Stone, Postulates for the barycentric calculus, Ann. Mat. Pura. Appl. (4), 29:25–30, 1949.

  • Tobias Fritz, Convex spaces I: definition and examples. arXiv

  • John Baez, Tobias Fritz, Tom Leinster, Convex spaces and an operadic approach to entropy, nLab draft

  • Bart Jacobs, Duality for convexity arXiv/0911.3834

  • Shiri Artstein-Avidan, Vitali Milman, The concept of duality in convex analysis, and the characterization of the Legendre transform, Annals of Math. 169, n.2, 661-674 (2009)

  • Joe Flood, Semiconvex geometry, J. Austral. Math. Soc. Ser. A 30 (1980/81), 496-–510.

  • T. Swirszcz, Monadic functors and categories of convex sets , Preprint No. 70, Proc. Inst. Math. Pol. Acad. Sci., Warsaw; Monadic functors and convexity, Bull. Acad. Polon. Sci. Ser. Sci. Math. Astronom. Phys. 22 (1974), 39–42.

  • Stanley P. Gudder, Convexity and mixtures, SIAM Review 19 (1977), 221–240; A general theory of convexity, Milan Journal of Mathematics, 49 (1979), 89–96.

Many other references, and a discussion of how convex spaces have been repeatedly rediscovered, can be found at the n-Category Café post Convex Spaces.