For a set defined by
Prove that is a complete metric space, i.e., every Cauchy sequence on converges.
A sequence is a Cauchy sequence when
Let us assume that does not converge, that is
In particular, if , we have an such that
We selection a such that
and finally a such that
We can rewrite those equations as:
We can simplify the first one because (because when was fixed, the fact that ensured that couldn't be ). We deduce that for some . The second formula says that . That means that the minimal value is achieved for (because otherwise that longer word should have been detected before when comparing and ). That is:
But, anyway, it still means that an element of length should belong to , which yields a contradiction with the fact that .
Therefore, we have shown ab absurdo than converges, thus is a complete metric space.