Documentation

Mathlib.Topology.MetricSpace.Closeds

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.

@[reducible, inline]

The Hausdorff pseudo emetric on the powerset of a pseudo emetric space. See note [reducible non-instances].

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

    In emetric spaces, the Hausdorff edistance defines an emetric space structure on the type of closed subsets

    Equations

    The edistance to a closed set depends continuously on the point and the set

    theorem TopologicalSpace.Closeds.edist_eq {α : Type u_1} [EMetricSpace α] {s t : Closeds α} :

    By definition, the edistance on Closeds α is given by the Hausdorff edistance

    In a complete space, the type of closed subsets is complete for the Hausdorff edistance.

    In a compact space, the type of closed subsets is compact.

    theorem TopologicalSpace.Closeds.lipschitz_sup {α : Type u_1} [EMetricSpace α] :
    LipschitzWith 1 fun (p : Closeds α × Closeds α) => p.1p.2

    In an emetric space, the type of non-empty compact subsets is an emetric space, where the edistance is the Hausdorff edistance

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

    NonemptyCompacts.toCloseds is an isometry

    The range of NonemptyCompacts.toCloseds is closed in a complete space

    In a complete space, the type of nonempty compact subsets is complete. This follows from the same statement for closed subsets

    In a compact space, the type of nonempty compact subsets is compact. This follows from the same statement for closed subsets

    In a second countable space, the type of nonempty compact subsets is second countable

    @[deprecated TopologicalSpace.NonemptyCompacts.continuous_toCloseds (since := "2025-11-19")]

    Alias of TopologicalSpace.NonemptyCompacts.continuous_toCloseds.

    @[deprecated TopologicalSpace.Closeds.isClosed_subsets_of_isClosed (since := "2025-08-20")]

    Alias of TopologicalSpace.Closeds.isClosed_subsets_of_isClosed.

    @[deprecated TopologicalSpace.NonemptyCompacts.isClosed_subsets_of_isClosed (since := "2025-11-19")]

    Alias of TopologicalSpace.NonemptyCompacts.isClosed_subsets_of_isClosed.

    @[deprecated TopologicalSpace.Closeds.isClosed_subsets_of_isClosed (since := "2025-11-19")]

    Alias of TopologicalSpace.Closeds.isClosed_subsets_of_isClosed.

    @[deprecated Metric.mem_hausdorffEntourage_of_hausdorffEDist_lt (since := "2026-01-08")]

    Alias of Metric.mem_hausdorffEntourage_of_hausdorffEDist_lt.

    @[deprecated Metric.hausdorffEDist_le_of_mem_hausdorffEntourage (since := "2026-01-08")]

    Alias of Metric.hausdorffEDist_le_of_mem_hausdorffEntourage.

    @[deprecated TopologicalSpace.Closeds.continuous_infEDist (since := "2026-01-08")]

    Alias of TopologicalSpace.Closeds.continuous_infEDist.


    The edistance to a closed set depends continuously on the point and the set

    @[deprecated TopologicalSpace.Closeds.edist_eq (since := "2026-01-08")]

    Alias of TopologicalSpace.Closeds.edist_eq.


    By definition, the edistance on Closeds α is given by the Hausdorff edistance

    @[deprecated TopologicalSpace.Closeds.isometry_singleton (since := "2026-01-08")]
    theorem EMetric.Closeds.isometry_singleton {α : Type u_1} [EMetricSpace α] :
    Isometry fun (x : α) => {x}

    Alias of TopologicalSpace.Closeds.isometry_singleton.

    @[deprecated TopologicalSpace.Closeds.lipschitz_sup (since := "2026-01-08")]

    Alias of TopologicalSpace.Closeds.lipschitz_sup.

    @[deprecated TopologicalSpace.NonemptyCompacts.isometry_toCloseds (since := "2026-01-08")]

    Alias of TopologicalSpace.NonemptyCompacts.isometry_toCloseds.


    NonemptyCompacts.toCloseds is an isometry

    @[deprecated TopologicalSpace.NonemptyCompacts.isUniformEmbedding_toCloseds (since := "2025-08-20")]

    Alias of TopologicalSpace.NonemptyCompacts.isUniformEmbedding_toCloseds.

    @[deprecated TopologicalSpace.NonemptyCompacts.isUniformEmbedding_toCloseds (since := "2025-11-19")]

    Alias of TopologicalSpace.NonemptyCompacts.isUniformEmbedding_toCloseds.

    @[deprecated TopologicalSpace.NonemptyCompacts.isClosed_in_closeds (since := "2026-01-08")]

    Alias of TopologicalSpace.NonemptyCompacts.isClosed_in_closeds.


    The range of NonemptyCompacts.toCloseds is closed in a complete space

    @[deprecated TopologicalSpace.NonemptyCompacts.isometry_singleton (since := "2026-01-08")]
    theorem EMetric.NonemptyCompacts.isometry_singleton {α : Type u_1} [EMetricSpace α] :
    Isometry fun (x : α) => {x}

    Alias of TopologicalSpace.NonemptyCompacts.isometry_singleton.

    @[deprecated TopologicalSpace.NonemptyCompacts.lipschitz_sup (since := "2026-01-08")]

    Alias of TopologicalSpace.NonemptyCompacts.lipschitz_sup.

    @[deprecated TopologicalSpace.NonemptyCompacts.lipschitz_prod (since := "2026-01-08")]

    Alias of TopologicalSpace.NonemptyCompacts.lipschitz_prod.

    NonemptyCompacts α inherits a metric space structure, as the Hausdorff edistance between two such sets is finite.

    Equations

    The distance on NonemptyCompacts α is the Hausdorff distance, by construction