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.
- Paper ID: 2501.00416
- Title: Metric-like spaces as enriched categories: three vignettes
- Author: Simon Willerton
- Classification: math.CT (Category Theory)
- Publication Time/Conference: CATMI meeting in Bergen, July 2023
- Paper Link: https://arxiv.org/abs/2501.00416
This paper is an expanded version of the author's lecture at the CATMI conference held in Bergen in July 2023, aimed at introducing a categorical perspective on metric spaces. A metric space is a set of points where any two points have a distance satisfying the triangle inequality; a small category is a set of objects where any two objects have a hom-set, and elements of hom-sets can be composed. The analogy between these two structures can be generalized into a unified framework—enriched categories—thereby establishing a bridge between category theory and metric space theory. The author demonstrates the utility and elegance of this perspective through three mathematical examples: tight span, magnitude, and the Legendre-Fenchel transform.
- Historical Context: Fréchet introduced the concept of abstract metric spaces in 1906, Eilenberg and Mac Lane introduced categories in 1945, and Lawvere observed in 1967 the formal similarity between the triangle inequality in metric spaces and morphism composition in category theory.
- Core Observation: The triangle inequality in metric spaces d(x,x′)+d(x′,x′′)≥d(x,x′′) exhibits a profound formal analogy with morphism composition in category theory Hom(c,c′)×Hom(c′,c′′)→Hom(c,c′′).
- Research Motivation:
- To provide a categorical perspective on metric space theory
- To uniformly handle symmetric and asymmetric metric spaces
- To discover deep connections between different mathematical fields
- To generalize classical metric space concepts to more general settings
- Theoretical Framework: Systematically expounds Lawvere's theory of metric spaces as enriched categories, particularly the concept of R+-categories
- Three Important Examples:
- Categorical characterization of tight span and its relationship with Isbell completion
- Development of magnitude from biodiversity to categorical Euler characteristic
- R-categorical interpretation of the Legendre-Fenchel transform
- Concept Generalization: Demonstrates how to naturally handle infinite distances, asymmetric distances, and negative distances
- Cross-disciplinary Connections: Establishes links between category theory, metric geometry, convex analysis, and biology
An R+-category X consists of:
- A set of objects ob(X)
- For any x,x′∈ob(X), a distance X(x,x′)∈R≥0∪{∞}
- Satisfying the triangle inequality: X(x,x′)+X(x′,x′′)≥X(x,x′′)
- Zero self-distance: X(x,x)=0
- Asymmetry: Allows X(x,x′)=X(x′,x)
- Infinite Distance: X(x,x′)=∞ indicates unreachability from x to x′
- Zero Distance: Distance between distinct points can be zero
- Classical Definition: The tight span T(M) of a metric space M is the smallest hyperconvex metric space containing M
- Categorical Perspective: Constructed via Isbell adjoint and profunctor kernel
- Isbell Completion: I(X) is a more general construction encompassing the classical tight span
- Biological Origin: Solow and Polasky's "effective number of species"
- Categorical Definition: For an R+-category X, with similarity matrix Z(x,x′)=e−X(x,x′), magnitude is ∣X∣=∑x,x′Z−1(x,x′)
- Magnitude Function: t↦∣tX∣ provides scale-dependent analysis
- Classical Form: L∗(f)(k)=supx∈V{⟨k,x⟩−f(x)}
- R-categorical Perspective: As a special case of profunctor adjoint
- Core Result: Isometry between spaces of closed convex functions
- Unifies classical metric spaces, asymmetric metric spaces, and spaces with infinite distances under the R+-categorical framework
- Naturally handles asymmetric versions of Hausdorff metric
- Systematically handles tight span construction using profunctor and Isbell adjoint theory
- Unifies different mathematical constructions through the profunctor kernel concept
- Introduces scale functions ∣⋅∣:ob(V)→k, enabling generalization of magnitude definition to general enriched categories
- For R+, choosing ∣a∣=e−a implements conversion from addition to multiplication
- Demonstrates tight span construction for three-point spaces as tripod structures
- Behavior of magnitude function at different scales: approaches 1 at small scales, approaches 3 at large scales
- Magnitude function of bipartite graphs may be undefined at certain parameter values
- Monotonicity and asymptotic behavior of magnitude functions
- Transform of function f(x)=(x2−1)2 and its geometric interpretation
- Correspondence between supporting hyperplanes and transform values
- Fréchet (1906): Concept of abstract metric spaces
- Hausdorff (1914): Standard formulation of metric spaces
- Eilenberg-Mac Lane (1945): Category theory
- Lawvere (1973): Enriched categorical theory of metric spaces
- Tight Span Theory: Contributions from Isbell, Dress, Chrobak-Larmore, and others
- Magnitude Theory: Development from Solow-Polasky to Leinster
- Application Fields: Network flows, phylogenetic trees, biodiversity
- Enriched category theory provides a unified and powerful framework for metric spaces
- This perspective reveals deep connections between seemingly unrelated mathematical concepts
- The categorical approach not only provides new perspectives but also yields new results and generalizations
- Concept Unification: Uniform treatment of different types of "metric" concepts
- Structure Preservation: The functor concept for enriched categories naturally corresponds to distance-non-increasing maps
- Duality: Establishes connections with function spaces through Yoneda embedding
- Network Theory: Applications of asymmetric metrics in directed networks
- Optimization Theory: Categorical formulation of convex analysis
- Biology: Mathematical foundations of diversity measures
- Topology: Development of magnitude homology theory
- Theoretical Depth: Systematically demonstrates applications of enriched category theory in metric geometry
- Cross-disciplinary Vision: Connects category theory, metric geometry, convex analysis, biology, and other fields
- Concrete Examples: Three detailed examples demonstrate the practical utility of the theory
- Historical Perspective: Provides historical background and motivation for concept development
- Isbell Completion: Generalizes classical tight span to asymmetric cases
- Magnitude Theory: Establishes connections between biodiversity measures and categorical Euler characteristic
- Negative Distance Handling: Naturally treats Legendre-Fenchel transforms via R-categories
- Technical Threshold: Requires substantial background in category theory
- Computational Complexity: Certain constructions (e.g., Isbell completion) have high computational complexity
- Application Scope: Primarily concentrated at the theoretical level, with limited discussion of practical applications
- Theoretical Impact: Provides new categorical tools for metric geometry
- Interdisciplinary Value: Promotes communication between different mathematical branches
- Educational Value: Serves as excellent introductory material for enriched category theory
- Computational Methods: Develop efficient algorithms for computing Isbell completion and magnitude
- Application Extension: Explore applications in machine learning, network analysis, and other fields
- Theoretical Deepening: Further develop magnitude homology theory
- Generalization Research: Consider more general enriched category settings
The paper contains abundant references spanning from Fréchet's original work to the latest developments in magnitude theory, providing readers with comprehensive bibliographic guidance. Particularly noteworthy are Lawvere's pioneering work (1973) and Leinster's maintained bibliography on magnitude theory.
This paper successfully demonstrates the unifying power of category theory as "the mathematics of mathematics," re-examining metric space theory through the lens of enriched categories. It not only provides new theoretical tools but also discovers unexpected connections between different mathematical fields. For readers seeking to understand the relationship between abstraction and concreteness, theory and application in modern mathematics, this is an invaluable reference.