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 in is a weak pseudo extended metric space,
so if WithTop α
If α has a topology induced by a linear order in is a weak extended metric space,
so if WithTop α
The one point compactification of a weak pseudo extended metric space is again a weak pseudo extended metric space.
The one point compactification of a weak extended metric space is again a weak extended metric space.
ℝ≥0∞ is a weak extended metric space with its usual distance function.
EReal is a weak extended metric space with its usual distance function.
ℕ∞ is a weak extended metric space with its usual distance function.