Use the usual classical choice background for countable selections. Read metric compactness and finite nets first. The completion is constructed here rather than assumed; the Baire argument does not assume compactness of closed balls.
Motivation
An incomplete metric space already contains approximate descriptions of its missing points: Cauchy sequences. Two descriptions should name the same point when their mutual distances tend to zero. The completion makes that idea into a metric space, but it preserves distances, not merely the original open sets.
Completeness also has a topological consequence. A countable list of closed sets with no interior cannot exhaust a nonempty complete metric space. Nested balls find a point avoiding the entire list. Unlike completeness of one chosen metric, this Baire property depends only on the topology; changing to a different compatible metric need not change it.
Definitions
Definition 10.2.1
(Completion)
A completion of is a complete metric space with an isometric embedding whose image is dense. An isometry preserves every distance. Two completions are compared by an isometry fixing the embedded copy of .
Definition 10.2.2
(Equivalent Cauchy sequences)
Let be the set of Cauchy sequences in . Define
The proposed completed points are equivalence classes of these sequences. Empty has the empty completion; the constructions below may assume nonempty.
Definition 10.2.3
(Nowhere dense, meager and Baire)
A set is nowhere dense if its closure has empty interior, and meager if it is a countable union of nowhere dense sets. A Baire space has every countable intersection of open dense sets dense. A is a countable intersection of open sets, and an is a countable union of closed sets. These are topological definitions, without a specified metric.
Theorem/proposition
Theorem 10.2.4
(Existence and uniqueness of metric completion)
The class set has the complete metric
Constant sequences give a dense isometric embedding. Every other completion is uniquely isometric to this one by a map fixing .
Theorem 10.2.5
(Uniformly continuous maps extend uniquely)
If is complete and uniformly continuous, there is a unique continuous extension . It is uniformly continuous. If is -Lipschitz, its extension has the same bound. Mere continuity of is insufficient.
Theorem 10.2.6
(Baire's theorem and open subspaces)
Every complete metric space is Baire, as is every open subspace of one. Thus a nonempty complete metric space cannot be a countable union of nowhere dense sets. An open subspace need not be complete in its induced metric for this conclusion.
Proof sketch or proof idea
Proof
(Classes of Cauchy sequences form the completion)
The relation is reflexive and symmetric; its transitivity follows from the triangle inequality. For Cauchy sequences , the numbers are real Cauchy, since
Their finite real limit exists. Replacing either sequence by an equivalent one changes these numbers by a quantity tending to zero, so the metric formula is well-defined. Symmetry and the triangle inequality pass to limits, and zero distance is exactly the equivalence relation. Constant sequences preserve the old distances.
For , the embedded points converge to . Indeed the Cauchy bound makes for all sufficiently large , so . This proves density and a useful representation of each completed point.
To prove completeness, take a -Cauchy sequence . By density choose with . Then
so is Cauchy in . Its class exists in the construction. The preceding representation gives , and the bound then gives . We have produced the missing limit rather than assumed it in the class space.
For another completion with embedding , send to . Completeness of makes it exist, equivalence makes it independent of the representative, and the distance formula makes it an isometry. It is onto: for , density supplies points within of . They are Cauchy and their class maps to . Any continuous map fixing must send to the limit of the approximating embedded sequence, proving uniqueness.
Proof X-ray
Two diagonal roles in the completion proof
Completed points are first built from Cauchy sequences in . To prove the resulting space complete, a Cauchy sequence of these classes is approximated by actual points of . Their new Cauchy sequence names the required limit. The vanishing approximation error is what relates these two levels; selecting arbitrary representatives without that bound would not prove convergence.
Proof
(Extension by limits of images)
For a uniformly continuous , images of Cauchy sequences are Cauchy: choose the input tolerance for each output error, then use it on all sufficiently late pairs. Put in complete . Equivalent input sequences have image distances tending to zero by the same uniform tolerance, proving independence. It extends on constants. Given , choose so input distances below give image distances below . If , representatives eventually have distances below . Passing to image limits gives distance at most . Thus the extension is uniformly continuous. A Lipschitz inequality passes directly to limits. Uniqueness follows from density and continuity as above.
Proof
(Nested closed balls avoid every nowhere dense set)
For Baire, let be open dense in a complete metric space, and start in any nonempty open . Choose a closed ball , with . Given , its open ball meets , and openness permits a closed ball
These choices use the usual countable dependent selections. Every tail of centers lies in , so late pairs have distance at most . Completeness gives a limit . Each closed ball contains the tail, hence contains , which lies in . The intersection is therefore dense. Closed balls here mean sets ; they need not be compact or equal to the closures of open balls.
For an open subspace of the complete space, begin with , and make the same construction using relatively open dense sets in . Since is open, these sets and the chosen balls are ambient-open where needed. The limit remains in , so the proof works even if itself is incomplete. Finally, complements of closures of nowhere dense sets are open dense. If countably many such sets covered a nonempty Baire space, their complements would have a nonempty intersection and simultaneously an empty one, impossible.
Proof X-ray
Where openness and completeness enter the Baire argument
Density of makes the open ball meet it, and openness then fits a whole closed ball about a point of that intersection inside both. Shrinking radii make the centers Cauchy; completeness is used exactly once, to produce their limit. Closed balls keep that limit in every . In with every step succeeds, but the real limit of the centers lies in each real ball , so it differs from every and is irrational: only the final limit step fails.
Worked examples
Worked example 10.2.7
(Rational approximations name real interval points)
The rational points in , with their usual distance, embed densely in complete , so uniqueness identifies that interval as their completion. Two rational Cauchy sequences represent the same completed point exactly when they have the same real limit. The completion is compact, in agreement with the preceding theorem that a totally bounded space's given completion is compact. The dense rational subspace itself is not complete and is not Baire: its countably many singletons are closed with empty relative interior.
Worked example 10.2.8
(One topology, two different completions)
On , compare the usual metric with . They induce the same topology because arctangent is a homeomorphism onto . The usual metric is complete. The metric is not: is Cauchy there and has no real limit. Its completion is the closed interval in arctangent coordinates. Thus a completion is not determined by topology alone. The space remains Baire under either compatible metric because that property concerns open sets, and the usual metric already proves it.
Worked example 10.2.9
(The rationals are not a in the real line)
Enumerate . Suppose with each open. Since the rationals are dense, every is dense. Each is open dense, so Baire says their intersection is dense and nonempty. But that intersection is , a contradiction. In contrast the irrationals are a dense , namely . Complementation also shows the irrationals are not . Countable set size and countable intersection complexity are different notions.
Common mistakes
Common mistake
(A completed point is a class, not a chosen sequence)
A completed point is an equivalence class, not an arbitrary chosen sequence. The metric must be independent of its representative before any triangle or density argument has meaning. Uniqueness is isometric uniqueness fixing the original space, stronger than an unmarked homeomorphism claim.
Common mistake
(Continuity alone does not preserve Cauchy sequences)
Continuous functions need not map Cauchy sequences to Cauchy sequences. The extension theorem therefore requires uniform continuity, or another condition supplying the missing limits. A metric's incompleteness also does not show its topology is non-Baire; the arctangent example demonstrates the distinction.
Counterexample mode
A continuous map with no continuous extension
Claim: every continuous map from into a complete space extends continuously to . Let with the usual distance, so that is identified with , and define by for and for . Since , every rational has a neighborhood on which is constant, so is continuous. Let be the decimal truncation of to places and . Then and , so and are equivalent Cauchy sequences naming the same completed point. Yet and for every , so a continuous extension would have to take both values and at . The same pairs show that is not uniformly continuous: inputs apart have outputs apart. Uniform continuity is exactly the hypothesis that excludes this.
Common mistake
(Baire needs completeness, not compact balls)
The Baire construction uses shrinking radii and completeness, not compact balls. Conversely a dense subspace of a Baire space need not be Baire. The rational subspace makes this failure explicit; the dense hypothesis in the final exercise repairs it.
Summary
Cauchy descriptions modulo vanishing distance form a complete space with a dense original copy. Uniform continuity makes limits compatible with maps and determines their unique extensions. Nested balls turn completeness into the Baire property, which survives open restriction and depends on topology rather than on the completeness of one chosen metric.
Exercises
Quick check
(Show on does not extend continuously to its completion , and use explicit pairs to disprove uniform continuity.)
Solution · Answer
Take and . Both approach zero and their mutual distances tend to zero, but their images are one and minus one. This violates uniform continuity and rules out a common continuous value at the added point. The original function is continuous at every positive argument. Completeness and density identify as the completion, so no other identification can remove the obstruction.
Quick check
(Prove the extension of an -Lipschitz map has the same Lipschitz bound. If the map is isometric into a complete , show the completed image is exactly the closure of the original image.)
Solution · Answer
Pass to limits. For an isometric map equality also passes to limits, making the extension isometric. Its image is complete and hence closed in metric : a point in its closure is approximated by a Cauchy sequence in the image, whose limit remains there. The image contains the original image and lies in its closure by the defining sequence formula, so equals that closure.
Quick check
(Prove a nonempty complete metric space with no isolated points is uncountable. Why do complete discrete spaces cause no contradiction?)
Solution · Answer
Every singleton is closed and has empty interior when no point is isolated, hence is nowhere dense. If the whole space were countable, these singletons would give a countable nowhere-dense cover, contradicting Baire. A discrete space has isolated points, so its singletons have nonempty interior and the argument does not apply; even a one-point complete space is allowed.
Quick check
(If two metrics on the same set are uniformly equivalent, prove their completions are uniformly homeomorphic by a map extending the identity. Explain why a homeomorphism of the original topologies alone is insufficient.)
Solution · Answer
Each identity map is uniformly continuous, so its composition with the other dense embedding extends uniquely to the other complete space. The two composites restrict to identity on the dense original copy, so extension uniqueness makes both composites identity. Thus the extensions are inverse uniform homeomorphisms. Ordinary compatible metrics may fail uniform equivalence, as usual and arctangent distances on the line show; their completions there are a line and a compact interval.
Quick check
(Prove every dense subspace of a complete metric space is Baire. Apply this to the irrationals without asserting completeness of their induced usual metric.)
Solution · Answer
Write with ambient-open and let be relatively open dense in . Since is dense, each is dense. Each is also ambient-dense: a nonempty ambient-open set meets , and that relative open set meets . Baire makes dense in the ambient space. It lies in , and meets every nonempty relatively open part of , proving the required density. The irrationals are a dense by the worked example and hence Baire. Their induced usual metric is incomplete, for instance along irrational points converging to a rational.