The discrete metric on a set is an example of a metric.
The discrete metric d on a set X is defined by