The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V13. General topology

Mathlib.Topology.Metrizable.Uniformity

12 declarations. Mathlib docs · Source

Metrizable uniform spaces

In this file we prove that a uniform space with countably generated uniformity filter is pseudometrizable: there exists a PseudoMetricSpace structure that generates the same uniformity. The proof follows [Sergey Melikhov, Metrizable uniform spaces][melikhov2011].

Main definitions

  • PseudoMetricSpace.ofPreNNDist: given a function d : X → X → ℝ≥0 such that d x x = 0 and d x y = d y x for all x y : X, constructs the maximal pseudometric space structure such that NNDist x y ≤ d x y for all x y : X.

  • UniformSpace.pseudoMetricSpace: given a uniform space X with countably generated 𝓤 X, constructs a PseudoMetricSpace X instance that is compatible with the uniform space structure.

  • UniformSpace.metricSpace: given a T₀ uniform space X with countably generated 𝓤 X, constructs a MetricSpace X instance that is compatible with the uniform space structure.

Main statements

  • UniformSpace.metrizable_uniformity: if X is a uniform space with countably generated 𝓤 X, then there exists a PseudoMetricSpace structure that is compatible with this UniformSpace structure. Use UniformSpace.pseudoMetricSpace or UniformSpace.metricSpace instead.

  • UniformSpace.pseudoMetrizableSpace: a uniform space with countably generated 𝓤 X is pseudometrizable.

  • UniformSpace.metrizableSpace: a T₀ uniform space with countably generated 𝓤 X is metrizable. This is not an instance to avoid loops.

Tags

metrizable space, uniform space

def PseudoMetricSpace.ofPreNNDist E3 #

{X : Type u_1} → (d : X → X → NNReal) → (∀ (x : X), d x x = 0) → (∀ (x y : X), d x y = d y x) → PseudoMetricSpace X

The maximal pseudometric space structure on X such that dist x y ≤ d x y for all x y, where d : X → X → ℝ≥0 is a function such that d x x = 0 and d x y = d y x for all x, y.

theorem PseudoMetricSpace.dist_ofPreNNDist E1 #

∀ {X : Type u_1} (d : X → X → NNReal) (dist_self : ∀ (x : X), d x x = 0) (dist_comm : ∀ (x y : X), d x y = d y x)
  (x y : X), dist x y = ↑(⨅ l, (List.zipWith d (x :: l) (l ++ [y])).sum)

theorem PseudoMetricSpace.dist_ofPreNNDist_le E1 #

∀ {X : Type u_1} (d : X → X → NNReal) (dist_self : ∀ (x : X), d x x = 0) (dist_comm : ∀ (x y : X), d x y = d y x)
  (x y : X), dist x y ≤ ↑(d x y)

theorem PseudoMetricSpace.le_two_mul_dist_ofPreNNDist E1 #

∀ {X : Type u_1} (d : X → X → NNReal) (dist_self : ∀ (x : X), d x x = 0) (dist_comm : ∀ (x y : X), d x y = d y x),
  (∀ (x₁ x₂ x₃ x₄ : X), d x₁ x₄ ≤ 2 * max (d x₁ x₂) (max (d x₂ x₃) (d x₃ x₄))) → ∀ (x y : X), ↑(d x y) ≤ 2 * dist x y

Consider a function d : X → X → ℝ≥0 such that d x x = 0 and d x y = d y x for all x, y. Let dist be the largest pseudometric distance such that dist x y ≤ d x y, see PseudoMetricSpace.ofPreNNDist. Suppose that d satisfies the following triangle-like inequality: d x₁ x₄ ≤ 2 * max (d x₁ x₂, d x₂ x₃, d x₃ x₄). Then d x y ≤ 2 * dist x y for all x, y.

theorem UniformSpace.metrizable_uniformity E3 #

∀ (X : Type u_2) [inst : UniformSpace X] [(uniformity X).IsCountablyGenerated],
  ∃ I, PseudoMetricSpace.toUniformSpace = inst

If X is a uniform space with countably generated uniformity filter, there exists a PseudoMetricSpace structure compatible with the UniformSpace structure. Use UniformSpace.pseudoMetricSpace or UniformSpace.metricSpace instead.

abbrev UniformSpace.pseudoMetricSpace E3 #

(X : Type u_2) → [inst : UniformSpace X] → [(uniformity X).IsCountablyGenerated] → PseudoMetricSpace X

A PseudoMetricSpace instance compatible with a given UniformSpace structure.

abbrev UniformSpace.metricSpace E3 #

(X : Type u_2) → [inst : UniformSpace X] → [(uniformity X).IsCountablyGenerated] → [T0Space X] → MetricSpace X

A MetricSpace instance compatible with a given UniformSpace structure.

theorem UniformSpace.metrizableSpace E3 #

∀ {X : Type u_1} [inst : UniformSpace X] [(uniformity X).IsCountablyGenerated] [T0Space X],
  TopologicalSpace.MetrizableSpace X

A T₀ uniform space with countably generated 𝓤 X is metrizable. This is not an instance to avoid loops.

abbrev TopologicalSpace.pseudoMetrizableSpacePseudoMetric E1 #

(X : Type u_2) → [inst : TopologicalSpace X] → [TopologicalSpace.PseudoMetrizableSpace X] → PseudoMetricSpace X

Construct on a pseudometrizable space a pseudometric compatible with the topology.

abbrev TopologicalSpace.metrizableSpaceMetric E1 #

(X : Type u_2) → [inst : TopologicalSpace X] → [TopologicalSpace.MetrizableSpace X] → MetricSpace X

Construct on a metrizable space a metric compatible with the topology.

instance PseudoEMetricSpace.pseudoMetrizableSpace E0 #

∀ {α : Type u_2} [inst : PseudoEMetricSpace α], TopologicalSpace.PseudoMetrizableSpace α

instance EMetricSpace.metrizableSpace E0 #

∀ {α : Type u_2} [inst : EMetricSpace α], TopologicalSpace.MetrizableSpace α