A distance is a function that satisfies,

  1. i.e. the triangle inequality