Want to take part in these discussions? Sign in if you have an account, or apply for one below
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
This may depend on some details of what is meant by “metric space”; in particular, whoever wrote that might well have meant “Lawvere metric space”.
A Lawvere metric space is a set $X$ equipped with a function $d: X \times X \to [0, \infty]$ such that $d(x, y) + d(y, z) \geq d(x, z)$ and $0 \geq d(x, x)$. Note that the value $\infty$ is allowed as a distance.
If $\{X_i\}_{i \in I}$ is a family of Lawvere metric spaces, then their cartesian product in the category of Lawvere metric spaces and short maps is given by the set $\prod_{i \in I} X_i$ equipped with the distance
$d((x_i), (y_i)) = \sup_i d(x_i, y_i)$In any event, you have to be a little careful in interpreting these things. Whatever notion of metric space is used, letting the morphisms be continuous maps between metric spaces is very different from letting the morphisms be something more closely tied to the metrics (e.g., short maps, Lipschitz maps), and the fact that classical metric/metrizable spaces are not closed under topological products is completely different from the fact that products may be perfectly sensible when we change the notion of morphism.
Added reference to lecture notes of Anton Petrunin.
1 to 6 of 6