Important applications arise in the field of denotational semantics, where points represent a certain amount of information or knowledge. A contraction mapping may then be thought of as a way of approximating the final result of a computation (which can be guaranteed to exist by the Banach fixed point theorem). Similar ideas can be found in domain theory.
Formally, an ultrametric space is a set of points M with an associated distance function (also called a metric) d : M × M -> R (where R is the set of real numbers), where for all x, y, z in M, one has:
Formal definition
From these, one can conclude several typical properties of ultrametrics. For example, in an ultrametric space, for all x, y, z in M and r, s in R:
Here, the concept and notation of an (open) ball is the same as in the article about metric spaces. Proving these statements is an instructive exercise. Note that, by the second statement, a ball may have several center points that have non-zero distance. The intuition behind such seemingly strange effects is, that due to the strong triangle inequality distances in ultrametrics do not add up.
Examples