In , take
These are nonempty descending sets of diameter , with empty intersection. They are not closed sets, so there is no contradiction with the Cantor intersection theorem for the complete metric space .
A metric space is complete if every Cauchy sequence in it converges to a point of that space. The stated shrinking-set characterization is the Cantor intersection theorem together with its converse.
First assume completeness, and choose . If , then both points belong to , so . The vanishing diameters imply that is a Cauchy sequence, hence it converges to some . For every fixed , its tail belongs to the closed set , so . Thus . In fact the intersection contains only one point, since any two of its points have distance at most every diameter.
Conversely assume the stated intersection property and let be a Cauchy sequence. Put
These closures are nonempty, closed and nested. Taking a closure does not increase the diameter: approximate two points of the closure by points of the set and use continuity of distance. The Cauchy sequence therefore makes . Choose in the intersection. For , both and belong to , and . Every Cauchy sequence converges in , proving completeness.
A Cauchy sequence in a metric space satisfies: for every there is such that whenever . A complete metric space is one in which every Cauchy sequence converges to a point of the space.
Every Cauchy sequence is bounded. Choose such that for , and put
Then every term lies in the ball .
Now suppose is complete and is a decreasing sequence of nonempty closed sets with . Choose . Given , choose with . For , both points lie in , so . Completeness gives . For each fixed , the tail lies in the closed set , hence . Therefore
Conversely, assume the nested-set property and let be Cauchy. Define
These sets are nonempty, closed, and decreasing. The Cauchy property implies ; taking a closure does not change the diameter. Choose . Since ,
Thus every Cauchy sequence converges and is complete. This proves the Cantor intersection theorem characterization.
The contraction mapping theorem states that a contraction of a nonempty complete metric space has a unique fixed point.
For each , the map is a contraction with the common constant , so it has a unique fixed point . This defines the required unique function. Fix . The fixed-point identities and the triangle inequality give
Consequently
The numerator tends to zero as by the assumed continuity for the fixed point . Hence is continuous, an instance of continuous dependence of the fixed point of a uniform contraction.