Metric-like spaces as enriched categories: three vignettes
Simon Willerton
TL;DR
The paper develops a category-theoretic perspective on metric spaces by enriching over the extended nonnegative reals and, more generally, over the extended real line, to unify and generalize metric-like structures. It presents three vignettes—the tight span (and directed variants via the Isbell nucleus), magnitude with its Euler-characteristic interpretation and connections to biodiversity, and the Legendre–Fenchel transform approached as an R-category—showing how enriched-category methods clarify classical constructions and reveal new dualities. Key contributions include the Isbell-type adjunction and the nucleus of a profunctor, the Isbell completion as a directed tight span, the categorical framing of magnitude and its link to homology and diversity, and the R-category formulation of Legendre–Fenchel duality with Toland–Singer isometry. The work provides a unifying framework that connects metric geometry, ecological diversity measures, and convex analysis, suggesting broad applicability of enriched-categorical methods to metric-space theory and beyond.
Abstract
This is a write-up of a talk given at the CATMI meeting in Bergen in July 2023, and is an introduction to a category-theoretic perspective on metric spaces. A metric space is a set of points such that between each pair of points there is a number -- the distance -- such that the triangle inequality is satisfied; a small category is a set of objects such that between each pair of objects there is a set -- the hom-set -- such that elements of the hom-sets can be composed. The analogy between the structures that can be made in to a common generalization of the two structures, so that both are examples of enriched categories. This gives a bridge between category theory and metric space theory. I will describe this and three examples from around mathematics where this perspective has been useful or interesting. The examples are related to the tight span, the magnitude and the Legendre-Fenchel transform.
