Metric Space
Definition
A set X equipped with a function d: X×X → [0,∞) (called a metric or distance) that assigns a nonnegative real number to each ordered pair of points and satisfies: (i) d(x,y)=0 iff x=y (positivity/identity of indiscernibles), (ii) d(x,y)=d(y,x) (symmetry), and (iii) d(x,z) ≤ d(x,y)+d(y,z) (triangle inequality).