Generalized metric space

From HandWiki

In mathematics, specifically in category theory, a generalized metric space is a metric space but without some properties, such as symmetry.[1] Precisely, it is a category enriched over [0,∞], the one-point compactification of ℝ. The notion was introduced in 1973 by William Lawvere who noticed that a metric space can be viewed as a particular kind of category.

The categorical point of view is useful since by Yoneda's lemma, a generalized metric space can be embedded into a much larger category in which, for instance, one can construct the Cauchy completion of the space.

Discussion

We can view ℝ‾+=[0,∞] as a symmetric monoidal category as follows:[2] objects are points in ℝ‾+, the set of morphisms between objects a,b is

Hom⁡(a,b)={{b−a},if b≥a,∅,otherwise,

and composition ∘:Hom⁡(b,c)×Hom⁡(a,b)→Hom⁡(c,a) is given by the sum

({c−b},{b−a})↦{c−b+b−a}.

The tensor operation is a⊗b=a+b.

This category structure is equivalent to one obtained by viewing the poset (ℝ‾+,≥) as a category in the usual way. The above definition is analogous to the following example: let M be the Boolean algebra generated by some subsets of a finite set and with a→b:=b⊃a and with a⊗b:=a∪b. Then M is a symmetric monoidal category.

Now, let (X,d) be a metric space. Then it can be viewed as a category enriched over ℝ‾+ as follows. The objects are the points of X and we let Hom⁡(x,y)=d(x,y). The composition for x,y,z is a morphism in ℝ‾+

∘:Hom⁡(y,z)⊗Hom⁡(x,y)→Hom⁡(x,z)

and its well-definedness is exactly the triangle inequality.

Notes

  1. ↑ Namely, the property that distinct elements have non-zero distance between them and the property that the distance between two elements is always finite.
  2. ↑ Lawvere (1973), p. 145, § 1.

References

  • Bonsangue, M. M.; Van Breugel, F.; Rutten, J. J. M. M. (1998). "Generalized metric spaces: Completion, topology, and powerdomains via the Yoneda embedding". Theoretical Computer Science 193 (1–2): 1–51. doi:10.1016/S0304-3975(97)00042-X. 
  • Lawvere, F. William (1973). "Metric spaces, generalized logic, and closed categories". Rendiconti del Seminario Matematico e Fisico di Milano 43: 135–166. doi:10.1007/BF02924844. 

Further reading