Idea
A metric space is a generalization of vector spaces such as with the standard Euclidian Metric, to arbitrary underlying sets and metrics. It provides a sufficient way to talk about convergence in arbitrary setting, so long as a suitable metric exists.
Definition
A metric space is a set paired with a real-valued metric function , such that the following properties hold,
- non-negativity: for all
- identity of indiscernibles: iff for all
- symmetry: for all
- triangle inequality: for all .