Definition D20
A set , whose elements we shall call points, is said to be a metric space if with any two points and of there is associated a real number , called the distance from to , such that
- if ; ;
- ;
- , for any .
Any function with these three properties is called a distance function, or a metric.