Documentation

Mathlib.Topology.Connected.LocallyPathConnected

Locally path-connected spaces #

This file defines LocallyPathConnectedSpace X, a predicate class asserting that X is locally path-connected, in that each point has a basis of path-connected neighborhoods.

Main results #

Abstractly, this also shows that locally path-connected spaces form a coreflective subcategory of the category of topological spaces, although we do not prove that in this form here.

Implementation notes #

In the definition of LocallyPathConnectedSpace X we require neighbourhoods in the basis to be path-connected, but not necessarily open; that they can also be required to be open is shown as a theorem in isOpen_isPathConnected_basis.

A topological space is locally path connected if, at every point, path connected neighborhoods form a neighborhood basis.

Instances
    @[deprecated LocallyPathConnectedSpace (since := "2026-06-21")]

    Alias of LocallyPathConnectedSpace.


    A topological space is locally path connected if, at every point, path connected neighborhoods form a neighborhood basis.

    Equations
    Instances For
      @[deprecated LocallyPathConnectedSpace.path_connected_basis (since := "2026-06-21")]
      theorem LocPathConnectedSpace.path_connected_basis {X : Type u_4} {inst✝ : TopologicalSpace X} [self : LocallyPathConnectedSpace X] (x : X) :
      (nhds x).HasBasis (fun (s : Set X) => s nhds x IsPathConnected s) id

      Alias of LocallyPathConnectedSpace.path_connected_basis.


      Each neighborhood filter has a basis of path-connected neighborhoods.

      theorem LocallyPathConnectedSpace.of_bases {X : Type u_1} [TopologicalSpace X] {ι : Type u_3} {p : XιProp} {s : XιSet X} (h : ∀ (x : X), (nhds x).HasBasis (p x) (s x)) (h' : ∀ (x : X) (i : ι), p x iIsPathConnected (s x i)) :
      @[deprecated LocallyPathConnectedSpace.of_bases (since := "2026-06-21")]
      theorem LocPathConnectedSpace.of_bases {X : Type u_1} [TopologicalSpace X] {ι : Type u_3} {p : XιProp} {s : XιSet X} (h : ∀ (x : X), (nhds x).HasBasis (p x) (s x)) (h' : ∀ (x : X) (i : ι), p x iIsPathConnected (s x i)) :

      Alias of LocallyPathConnectedSpace.of_bases.

      In a locally path connected space, each path component is an open set.

      In a locally path connected space, each path component is a closed set.

      In a locally path connected space, each path component is a clopen set.

      @[deprecated PathConnectedSpace.of_locallyPathConnectedSpace (since := "2026-06-21")]

      Alias of PathConnectedSpace.of_locallyPathConnectedSpace.

      In a locally path-connected space, connected components and path-connected components align

      Equations
      Instances For
        theorem pathConnected_subset_basis {X : Type u_1} [TopologicalSpace X] {x : X} [LocallyPathConnectedSpace X] {U : Set X} (h : IsOpen U) (hx : x U) :
        (nhds x).HasBasis (fun (s : Set X) => s nhds x IsPathConnected s s U) id
        @[deprecated Topology.IsOpenEmbedding.locallyPathConnectedSpace (since := "2026-06-21")]

        Alias of Topology.IsOpenEmbedding.locallyPathConnectedSpace.

        @[deprecated IsOpen.locallyPathConnectedSpace (since := "2026-06-21")]

        Alias of IsOpen.locallyPathConnectedSpace.

        Locally path-connected spaces are locally connected.

        A space is locally path-connected iff all path components of open subsets are open.

        @[deprecated locallyPathConnectedSpace_iff_isOpen_pathComponentIn (since := "2026-06-21")]

        Alias of locallyPathConnectedSpace_iff_isOpen_pathComponentIn.


        A space is locally path-connected iff all path components of open subsets are open.

        A space is locally path-connected iff all path components of open subsets are neighbourhoods.

        @[deprecated locallyPathConnectedSpace_iff_pathComponentIn_mem_nhds (since := "2026-06-21")]

        Alias of locallyPathConnectedSpace_iff_pathComponentIn_mem_nhds.


        A space is locally path-connected iff all path components of open subsets are neighbourhoods.

        Any topology coinduced by a locally path-connected topology is locally path-connected.

        @[deprecated LocallyPathConnectedSpace.coinduced (since := "2026-06-21")]

        Alias of LocallyPathConnectedSpace.coinduced.


        Any topology coinduced by a locally path-connected topology is locally path-connected.

        Quotients of locally path-connected spaces are locally path-connected.

        @[deprecated Topology.IsQuotientMap.locallyPathConnectedSpace (since := "2026-06-21")]

        Alias of Topology.IsQuotientMap.locallyPathConnectedSpace.


        Quotients of locally path-connected spaces are locally path-connected.

        Quotients of locally path-connected spaces are locally path-connected.

        @[deprecated Quot.locallyPathConnectedSpace (since := "2026-06-21")]

        Alias of Quot.locallyPathConnectedSpace.


        Quotients of locally path-connected spaces are locally path-connected.

        Quotients of locally path-connected spaces are locally path-connected.

        @[deprecated Quotient.locallyPathConnectedSpace (since := "2026-06-21")]

        Alias of Quotient.locallyPathConnectedSpace.


        Quotients of locally path-connected spaces are locally path-connected.

        Disjoint unions of locally path-connected spaces are locally path-connected.

        @[deprecated Sum.locallyPathConnectedSpace (since := "2026-06-21")]

        Alias of Sum.locallyPathConnectedSpace.


        Disjoint unions of locally path-connected spaces are locally path-connected.

        instance Sigma.locallyPathConnectedSpace {ι : Type u_3} {X : ιType u_4} [(i : ι) → TopologicalSpace (X i)] [∀ (i : ι), LocallyPathConnectedSpace (X i)] :
        LocallyPathConnectedSpace ((i : ι) × X i)

        Disjoint unions of locally path-connected spaces are locally path-connected.

        @[deprecated Sigma.locallyPathConnectedSpace (since := "2026-06-21")]
        theorem Sigma.locPathConnectedSpace {ι : Type u_3} {X : ιType u_4} [(i : ι) → TopologicalSpace (X i)] [∀ (i : ι), LocallyPathConnectedSpace (X i)] :
        LocallyPathConnectedSpace ((i : ι) × X i)

        Alias of Sigma.locallyPathConnectedSpace.


        Disjoint unions of locally path-connected spaces are locally path-connected.

        @[deprecated AlexandrovDiscrete.locallyPathConnectedSpace (since := "2026-06-21")]

        Alias of AlexandrovDiscrete.locallyPathConnectedSpace.

        If a space is locally path-connected, the topology of its path components is discrete.

        A locally path-connected compact space has finitely many path components.