The areas / V13. General topology
Mathlib.Topology.MetricSpace.Closeds
27 declarations and 4 deprecated aliases. Mathlib docs · Source
Closed subsets
This file defines the metric and emetric space structure on the types of closed subsets and nonempty compact subsets of a metric or emetric space.
The Hausdorff distance induces an emetric space structure on the type of closed subsets
of an emetric space, called Closeds. Its completeness, resp. compactness, resp.
second-countability, follow from the corresponding properties of the original space.
In a metric space, the type of nonempty compact subsets (called NonemptyCompacts) also
inherits a metric space structure from the Hausdorff distance, as the Hausdorff edistance is
always finite in this context.
theorem Metric.mem_hausdorffEntourage_of_hausdorffEDist_lt E0 #
∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {s t : Set α} {δ : ENNReal},
Metric.hausdorffEDist s t < δ → (s, t) ∈ hausdorffEntourage {p | edist p.1 p.2 < δ}
theorem Metric.hausdorffEDist_le_of_mem_hausdorffEntourage E1 #
∀ {α : Type u_1} [inst : PseudoEMetricSpace α] {s t : Set α} {δ : ENNReal},
(s, t) ∈ hausdorffEntourage {p | edist p.1 p.2 ≤ δ} → Metric.hausdorffEDist s t ≤ δ
abbrev PseudoEMetricSpace.hausdorff E1 #
{α : Type u_1} → [PseudoEMetricSpace α] → PseudoEMetricSpace (Set α)
The Hausdorff pseudo emetric on the powerset of a pseudo emetric space. See note [reducible non-instances].
instance TopologicalSpace.Closeds.instEMetricSpace E0 #
{α : Type u_1} → [inst : EMetricSpace α] → EMetricSpace (TopologicalSpace.Closeds α)
In emetric spaces, the Hausdorff edistance defines an emetric space structure on the type of closed subsets
theorem TopologicalSpace.Closeds.continuous_infEDist E1 #
∀ {α : Type u_1} [inst : EMetricSpace α], Continuous fun p ↦ Metric.infEDist p.1 ↑p.2
The edistance to a closed set depends continuously on the point and the set
theorem TopologicalSpace.Closeds.edist_eq E0 #
∀ {α : Type u_1} [inst : EMetricSpace α] {s t : TopologicalSpace.Closeds α}, edist s t = Metric.hausdorffEDist ↑s ↑t
By definition, the edistance on Closeds α is given by the Hausdorff edistance
instance TopologicalSpace.Closeds.instCompleteSpace E0 #
∀ {α : Type u_1} [inst : EMetricSpace α] [CompleteSpace α], CompleteSpace (TopologicalSpace.Closeds α)
In a complete space, the type of closed subsets is complete for the Hausdorff edistance.
theorem TopologicalSpace.Closeds.isometry_singleton E1 #
∀ {α : Type u_1} [inst : EMetricSpace α], Isometry fun x ↦ {x}
theorem TopologicalSpace.Closeds.lipschitz_sup E1 #
∀ {α : Type u_1} [inst : EMetricSpace α], LipschitzWith 1 fun p ↦ p.1 ⊔ p.2
theorem TopologicalSpace.Closeds.lipschitz_prod E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : EMetricSpace α] [inst_1 : EMetricSpace β], LipschitzWith 1 fun p ↦ p.1 ×ˢ p.2
instance TopologicalSpace.Compacts.instEMetricSpace E0 #
{α : Type u_1} → [inst : EMetricSpace α] → EMetricSpace (TopologicalSpace.Compacts α)
In an emetric space, the type of compact subsets is an emetric space, where the edistance is the Hausdorff edistance
theorem TopologicalSpace.Compacts.edist_eq E0 #
∀ {α : Type u_1} [inst : EMetricSpace α] {s t : TopologicalSpace.Compacts α}, edist s t = Metric.hausdorffEDist ↑s ↑t
theorem TopologicalSpace.Compacts.isometry_toCloseds E1 #
∀ {α : Type u_1} [inst : EMetricSpace α], Isometry TopologicalSpace.Compacts.toCloseds
theorem TopologicalSpace.Compacts.isometry_singleton E1 #
∀ {α : Type u_1} [inst : EMetricSpace α], Isometry fun x ↦ {x}
theorem TopologicalSpace.Compacts.lipschitz_sup E1 #
∀ {α : Type u_1} [inst : EMetricSpace α], LipschitzWith 1 fun p ↦ p.1 ⊔ p.2
theorem TopologicalSpace.Compacts.lipschitz_prod E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : EMetricSpace α] [inst_1 : EMetricSpace β], LipschitzWith 1 fun p ↦ p.1 ×ˢ p.2
instance TopologicalSpace.NonemptyCompacts.instEMetricSpace E0 #
{α : Type u_1} → [inst : EMetricSpace α] → EMetricSpace (TopologicalSpace.NonemptyCompacts α)
In an emetric space, the type of non-empty compact subsets is an emetric space, where the edistance is the Hausdorff edistance
theorem TopologicalSpace.NonemptyCompacts.isometry_toCloseds E1 #
∀ {α : Type u_1} [inst : EMetricSpace α], Isometry TopologicalSpace.NonemptyCompacts.toCloseds
NonemptyCompacts.toCloseds is an isometry
theorem TopologicalSpace.NonemptyCompacts.isometry_toCompacts E1 #
∀ {α : Type u_1} [inst : EMetricSpace α], Isometry TopologicalSpace.NonemptyCompacts.toCompacts
theorem TopologicalSpace.NonemptyCompacts.isometry_singleton E1 #
∀ {α : Type u_1} [inst : EMetricSpace α], Isometry fun x ↦ {x}
theorem TopologicalSpace.NonemptyCompacts.lipschitz_sup E1 #
∀ {α : Type u_1} [inst : EMetricSpace α], LipschitzWith 1 fun p ↦ p.1 ⊔ p.2
theorem TopologicalSpace.NonemptyCompacts.lipschitz_prod E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : EMetricSpace α] [inst_1 : EMetricSpace β], LipschitzWith 1 fun p ↦ p.1 ×ˢ p.2
instance TopologicalSpace.NonemptyCompacts.instMetricSpace E0 #
{α : Type u_1} → [inst : MetricSpace α] → MetricSpace (TopologicalSpace.NonemptyCompacts α)
NonemptyCompacts α inherits a metric space structure, as the Hausdorff
edistance between two such sets is finite.
theorem TopologicalSpace.NonemptyCompacts.dist_eq E0 #
∀ {α : Type u_1} [inst : MetricSpace α] {x y : TopologicalSpace.NonemptyCompacts α},
dist x y = Metric.hausdorffDist ↑x ↑y
The distance on NonemptyCompacts α is the Hausdorff distance, by construction
theorem TopologicalSpace.NonemptyCompacts.lipschitz_infDist_const E1 #
∀ {α : Type u_1} [inst : MetricSpace α] (x : α), LipschitzWith 1 fun s ↦ Metric.infDist x ↑s
theorem TopologicalSpace.NonemptyCompacts.lipschitz_infDist E1 #
∀ {α : Type u_1} [inst : MetricSpace α], LipschitzWith 2 fun p ↦ Metric.infDist p.1 ↑p.2
theorem TopologicalSpace.NonemptyCompacts.uniformContinuous_infDist E1 #
∀ {α : Type u_1} [inst : MetricSpace α], UniformContinuous fun p ↦ Metric.infDist p.1 ↑p.2
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Metric.NonemptyCompacts.dist_eq | TopologicalSpace.NonemptyCompacts.dist_eq | 2026-08-24 |
Metric.lipschitz_infDist | TopologicalSpace.NonemptyCompacts.lipschitz_infDist | 2026-08-24 |
Metric.lipschitz_infDist_set | TopologicalSpace.NonemptyCompacts.lipschitz_infDist_const | 2026-08-24 |
Metric.uniformContinuous_infDist_Hausdorff_dist | TopologicalSpace.NonemptyCompacts.uniformContinuous_infDist | 2026-08-24 |