Let X be a set. A function [; d \ : \ X \times X \to \mathbb{R} ;] is a metric for X if, and only if,
(i) d(x,x)=0, for all x in X
(ii) d(x,y)=d(y,x), for all x and y in X
(iii) [; (\forall x,y \in X) [x \neq y \to d(x,y) > 0] ;]
(iv) [; (\forall x,y,z \in X) [d(x,z) \leq d(x,y) + d(y,z)] ;]...