Documentation

Mathlib.Topology.MetricSpace.Completion

The completion of a metric space #

Completion of uniform spaces are already defined in Topology.UniformSpace.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

@[implicit_reducible]
noncomputable instance UniformSpace.Completion.instDist {α : Type u} [PseudoMetricSpace α] :

The distance on the completion is obtained by extending the distance on the original space, by uniform continuity.

Equations

The new distance is uniformly continuous.

theorem UniformSpace.Completion.continuous_dist {α : Type u} {β : Type v} [PseudoMetricSpace α] [TopologicalSpace β] {f g : βCompletion α} (hf : Continuous f) (hg : Continuous g) :
Continuous fun (x : β) => dist (f x) (g x)

The new distance is continuous.

@[simp]
theorem UniformSpace.Completion.dist_eq {α : Type u} [PseudoMetricSpace α] (x y : α) :
dist x y = dist x y

The new distance is an extension of the original distance.

theorem UniformSpace.Completion.mem_uniformity_dist {α : Type u} [PseudoMetricSpace α] (s : Set (Completion α × Completion α)) :
s uniformity (Completion α) ε > 0, ∀ {a b : Completion α}, dist a b < ε(a, b) s

Elements of the uniformity (defined generally for completions) can be characterized in terms of the distance.

Reformulate Completion.mem_uniformity_dist in terms that are suitable for the definition of the metric space structure.

@[implicit_reducible]

Metric space structure on the completion of a PseudoMetric space.

Equations

The embedding of a metric space in its completion is an isometry.

@[simp]
theorem UniformSpace.Completion.edist_eq {α : Type u} [PseudoMetricSpace α] (x y : α) :
edist x y = edist x y

The extension of an isometry to the completion of the domain.

Equations
Instances For
    @[simp]
    theorem Isometry.extensionHom_coe {α : Type u} {β : Type v} [PseudoMetricSpace α] [Ring α] [IsTopologicalRing α] [IsUniformAddGroup α] [Ring β] [PseudoMetricSpace β] [IsUniformAddGroup β] [IsTopologicalRing β] [CompleteSpace β] [T0Space β] {f : α →+* β} (h : Isometry f) (x : α) :
    h.extensionHom x = f x

    The lift of an isometry to completions.

    Equations
    Instances For
      theorem Isometry.mapRingHom_coe {α : Type u} {β : Type v} [PseudoMetricSpace α] [Ring α] [IsTopologicalRing α] [IsUniformAddGroup α] [Ring β] [PseudoMetricSpace β] [IsUniformAddGroup β] [IsTopologicalRing β] {f : α →+* β} (h : Isometry f) (x : α) :
      h.mapRingHom x = (f x)