The completion of a metric space #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
Completion of uniform spaces are already defined in topology.uniform_space.completion
. We show
here that the uniform space completion of a metric space inherits a metric space structure,
by extending the distance to the completion and checking that it is indeed a distance, and that
it defines the same uniformity as the already defined uniform structure on the completion
The distance on the completion is obtained by extending the distance on the original space, by uniform continuity.
The new distance is uniformly continuous.
The new distance is continuous.
The new distance is an extension of the original distance.
Elements of the uniformity (defined generally for completions) can be characterized in terms of the distance.
If two points are at distance 0, then they coincide.
Reformulate completion.mem_uniformity_dist
in terms that are suitable for the definition
of the metric space structure.
Metric space structure on the completion of a pseudo_metric space.
Equations
- uniform_space.completion.metric_space = {to_pseudo_metric_space := {to_has_dist := {dist := has_dist.dist uniform_space.completion.has_dist}, dist_self := _, dist_comm := _, dist_triangle := _, edist := λ (x y : uniform_space.completion α), ↑⟨has_dist.dist x y, _⟩, edist_dist := _, to_uniform_space := uniform_space.completion.uniform_space α pseudo_metric_space.to_uniform_space, uniformity_dist := _, to_bornology := bornology.of_dist has_dist.dist uniform_space.completion.dist_self uniform_space.completion.dist_comm uniform_space.completion.dist_triangle, cobounded_sets := _}, eq_of_dist_eq_zero := _}
The embedding of a metric space in its completion is an isometry.