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 #
Option.weakPseudoEMetricSpace_of_isOpenEmbedding: states that under a weak condition, ifαis a weak pseudo extended space, so isOption α.instWeakPseudoEMetricSpaceOnePoint: The one point compactification of a weak pseudo extended metric space is a weak pseudo extended metric space.instWeakEMetricSpaceENNReal:ℝ≥0∞is a weak extended metric space.instWeakEMetricSpaceEReal:ERealis a weak extended metric space.
TODO: Some lemmas around order topologies can likely be generalised from linear orders to pre- or partial orders.
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.
If some : α → Option α is an open embedding and α is has a weak pseudo extended metric
structure, the structure extends naturally to Option α.
Equations
- Option.WeakPseudoEMetricSpace.OfIsOpenEmbedding h_edist h = { toEDist := inst, edist_self := ⋯, edist_comm := ⋯, edist_triangle := ⋯, topology_le := ⋯, topology_eq_on_restrict := ⋯ }
Instances For
If some : α → Option α is an open embedding and α is has a weak pseudo extended metric
structure, the structure extends naturally to Option α.
Equations
- Option.WeakEMetricSpace.OfIsOpenEmbedding h_edist h = { toWeakPseudoEMetricSpace := Option.WeakPseudoEMetricSpace.OfIsOpenEmbedding h_edist h, eq_of_edist_eq_zero := ⋯ }
Instances For
If α has a linear order topology, some : α → WithTop α is an open embedding with respect to
the order topologies.
If α has a topology induced by a linear order and is a weak pseudo extended metric space,
so is WithTop α
Equations
- instWeakPseudoEMetricSpaceWithTop = { toEDist := instEDistWithTop, edist_self := ⋯, edist_comm := ⋯, edist_triangle := ⋯, topology_le := ⋯, topology_eq_on_restrict := ⋯ }
Equations
- instWeakPseudoEMetricSpaceWithBot = { toEDist := instEDistWithBot, edist_self := ⋯, edist_comm := ⋯, edist_triangle := ⋯, topology_le := ⋯, topology_eq_on_restrict := ⋯ }
If α has a topology induced by a linear order and is a weak extended metric space,
so is WithTop α
Equations
- instWeakEMetricSpaceWithTop = { toWeakPseudoEMetricSpace := instWeakPseudoEMetricSpaceWithTop, eq_of_edist_eq_zero := ⋯ }
Equations
- instWeakEMetricSpaceWithBot = { toWeakPseudoEMetricSpace := instWeakPseudoEMetricSpaceWithBot, eq_of_edist_eq_zero := ⋯ }
The one point compactification of a weak pseudo extended metric space is again a weak pseudo extended metric space.
Equations
- instWeakPseudoEMetricSpaceOnePoint = { toEDist := instEDistOnePoint, edist_self := ⋯, edist_comm := ⋯, edist_triangle := ⋯, topology_le := ⋯, topology_eq_on_restrict := ⋯ }
The one point compactification of a weak extended metric space is again a weak extended metric space.
Equations
- instWeakEMetricSpaceOnePoint = { toWeakPseudoEMetricSpace := instWeakPseudoEMetricSpaceOnePoint, eq_of_edist_eq_zero := ⋯ }
ℝ≥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.
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.
ℕ∞ is a weak extended metric space with its usual distance function.
Equations
- One or more equations did not get rendered due to their size.