Documentation

Mathlib.Topology.EMetricSpace.Weak

Lemmas around weak (pseudo) extended metric spaces. #

In this file we show that whenever some : α → Option α is an open embedding and α is a WeakPseudoEMetricSpace, then Option α is as well in a natural manner. We then use this to prove ℝ≥0 and EReal are weak extended metric spaces.

Main statements #

TODO: Some lemmas around order topologies can likely be generalised from linear orders to pre- or partial orders.

@[implicit_reducible, instance 100]
instance Option.toEDist {α : Type u} [EDist α] :

Given some (extended) distance function on α, it can be extended to a distance function on Option α by defining edist none a = 0 if a = none and otherwise.

Equations
@[simp]
theorem Option.edist_none_some {α : Type u} [t : TopologicalSpace α] [m : WeakPseudoEMetricSpace α] {a : α} :
@[simp]
theorem Option.edist_some_none {α : Type u} [t : TopologicalSpace α] [m : WeakPseudoEMetricSpace α] {a : α} :
@[simp]
theorem Option.edist_some_some {α : Type u} [t : TopologicalSpace α] [m : WeakPseudoEMetricSpace α] {a b : α} :
edist (some a) (some b) = edist a b
theorem Option.edist_self' {α : Type u} [TopologicalSpace α] (m : WeakPseudoEMetricSpace α) (x : Option α) :
edist x x = 0
theorem Option.edist_comm' {α : Type u} [TopologicalSpace α] (m : WeakPseudoEMetricSpace α) (x y : Option α) :
edist x y = edist y x
theorem Option.edist_triangle' {α : Type u} [TopologicalSpace α] (m : WeakPseudoEMetricSpace α) (x y z : Option α) :
edist x z edist x y + edist y z
@[reducible, inline]

If some : α → Option α is an open embedding and α is has a weak pseudo extended metric structure, the structure extends naturally to Option α.

Equations
Instances For
    @[reducible, inline]

    If some : α → Option α is an open embedding and α is has a weak pseudo extended metric structure, the structure extends naturally to Option α.

    Equations
    Instances For

      If α has a linear order topology, some : α → WithTop α is an open embedding with respect to the order topologies.

      @[implicit_reducible]
      instance instEDistWithTop {α : Type u} [EDist α] :
      Equations
      • One or more equations did not get rendered due to their size.
      @[implicit_reducible]
      instance instEDistWithBot {α : Type u} [EDist α] :
      Equations
      • One or more equations did not get rendered due to their size.
      @[implicit_reducible]

      If α has a topology induced by a linear order and is a weak pseudo extended metric space, so is WithTop α

      Equations
      @[implicit_reducible]
      Equations
      @[implicit_reducible]

      If α has a topology induced by a linear order and is a weak extended metric space, so is WithTop α

      Equations
      @[implicit_reducible]
      Equations
      @[implicit_reducible]
      instance instEDistOnePoint {α : Type u} [EDist α] :
      Equations
      • One or more equations did not get rendered due to their size.
      @[implicit_reducible]

      The one point compactification of a weak pseudo extended metric space is again a weak pseudo extended metric space.

      Equations
      @[implicit_reducible]

      The one point compactification of a weak extended metric space is again a weak extended metric space.

      Equations
      @[implicit_reducible]

      ℝ≥0∞ is a weak extended metric space with its usual distance function.

      Equations
      • One or more equations did not get rendered due to their size.
      @[implicit_reducible]

      EReal is a weak extended metric space with its usual distance function.

      Equations
      • One or more equations did not get rendered due to their size.
      @[implicit_reducible]

      ℕ∞ is a weak extended metric space with its usual distance function.

      Equations
      • One or more equations did not get rendered due to their size.