The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V13. General topology

Mathlib.Topology.Connected.PathConnected

144 declarations and 1 deprecated aliases. Mathlib docs · Source

Path connectedness

Continuing from Mathlib/Topology/Path.lean, this file defines path components and path-connected spaces.

Main definitions

In the file the unit interval [0, 1] in ℝ is denoted by I, and X is a topological space.

  • Joined (x y : X) means there is a path between x and y.
  • Joined.somePath (h : Joined x y) selects some path between two points x and y.
  • pathComponent (x : X) is the set of points joined to x.
  • PathConnectedSpace X is a predicate class asserting that X is non-empty and every two points of X are joined.

Then there are corresponding relative notions for F : Set X.

  • JoinedIn F (x y : X) means there is a path γ joining x to y with values in F.
  • JoinedIn.somePath (h : JoinedIn F x y) selects a path from x to y inside F.
  • pathComponentIn F (x : X) is the set of points joined to x in F.
  • IsPathConnected F asserts that F is non-empty and every two points of F are joined in F.

Main theorems

  • Joined is an equivalence relation, while JoinedIn F is at least symmetric and transitive.

One can link the absolute and relative version in two directions, using (univ : Set X) or the subtype ↥F.

  • pathConnectedSpace_iff_univ : PathConnectedSpace X ↔ IsPathConnected (univ : Set X)
  • isPathConnected_iff_pathConnectedSpace : IsPathConnected F ↔ PathConnectedSpace ↥F

Furthermore, it is shown that continuous images and quotients of path-connected sets/spaces are path-connected, and that every path-connected set/space is also connected. (See Counterexamples.TopologistsSineCurve for an example of a set in ℝ × ℝ that is connected but not path-connected.)

Being joined by a path

Being joined by a path inside a set

Path component

Path component of the identity in a group

Path connected sets

Path connected spaces

Products and pi types

theorem Joined.somePath.congr_simp E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (h : Joined x y), h.somePath = h.somePath

theorem JoinedIn.somePath.congr_simp E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F F_1 : Set X} (e_F : F = F_1) (h : JoinedIn F x y),
  h.somePath = ⋯.somePath

theorem Submonoid.pathComponentOne.congr_simp E1 #

∀ (M : Type u_4) [inst : Monoid M] [inst_1 : TopologicalSpace M] [inst_2 : ContinuousMul M],
  Submonoid.pathComponentOne M = Submonoid.pathComponentOne M

def Joined E3 #

{X : Type u_1} → [TopologicalSpace X] → X → X → Prop

The relation "being joined by a path". This is an equivalence relation.

theorem Joined.refl E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (x : X), Joined x x

def Joined.somePath E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → {x y : X} → Joined x y → Path x y

When two points are joined, choose some path from x to y.

theorem Joined.symm E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X}, Joined x y → Joined y x

theorem Joined.trans E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y z : X}, Joined x y → Joined y z → Joined x z

instance instIsEquivJoined E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X], IsEquiv X Joined

theorem Joined.map E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x y : X} {f : X → Y},
  Joined x y → Continuous f → Joined (f x) (f y)

theorem Joined.mul E1 #

∀ {M : Type u_4} [inst : Mul M] [inst_1 : TopologicalSpace M] [ContinuousMul M] {a b c d : M},
  Joined a b → Joined c d → Joined (a * c) (b * d)

theorem Joined.add E1 #

∀ {M : Type u_4} [inst : Add M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] {a b c d : M},
  Joined a b → Joined c d → Joined (a + c) (b + d)

theorem Joined.listProd E1 #

∀ {M : Type u_4} [inst : MulOneClass M] [inst_1 : TopologicalSpace M] [ContinuousMul M] {l l' : List M},
  List.Forall₂ Joined l l' → Joined l.prod l'.prod

theorem Joined.listSum E1 #

∀ {M : Type u_4} [inst : AddZeroClass M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] {l l' : List M},
  List.Forall₂ Joined l l' → Joined l.sum l'.sum

theorem Joined.inv E1 #

∀ {G : Type u_4} [inst : Inv G] [inst_1 : TopologicalSpace G] [ContinuousInv G] {x y : G}, Joined x y → Joined x⁻¹ y⁻¹

theorem Joined.neg E1 #

∀ {G : Type u_4} [inst : Neg G] [inst_1 : TopologicalSpace G] [ContinuousNeg G] {x y : G}, Joined x y → Joined (-x) (-y)

def pathSetoid E1 #

(X : Type u_1) → [TopologicalSpace X] → Setoid X

The setoid corresponding the equivalence relation of being joined by a continuous path.

def ZerothHomotopy E1 #

(X : Type u_1) → [TopologicalSpace X] → Type u_1

The quotient type of points of a topological space modulo being joined by a continuous path.

def ZerothHomotopy.mk E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → X → ZerothHomotopy X

The map X → ZerothHomotopy X.

theorem ZerothHomotopy.mk_surjective E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X], Function.Surjective ZerothHomotopy.mk

theorem ZerothHomotopy.rec E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {motive : ZerothHomotopy X → Prop},
  (∀ (x : X), motive (ZerothHomotopy.mk x)) → ∀ (x : ZerothHomotopy X), motive x

theorem ZerothHomotopy.sound E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (p : Path x y), ZerothHomotopy.mk x = ZerothHomotopy.mk y

instance ZerothHomotopy.instTopologicalSpace E0 #

{X : Type u_1} → [inst : TopologicalSpace X] → TopologicalSpace (ZerothHomotopy X)

The quotient topology on path components.

theorem ZerothHomotopy.isQuotientMap_mk E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X], Topology.IsQuotientMap ZerothHomotopy.mk

instance ZerothHomotopy.inhabited E0 #

Inhabited (ZerothHomotopy ℝ)

instance ZerothHomotopy.instNonempty E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [Nonempty X], Nonempty (ZerothHomotopy X)

def ZerothHomotopy.lift E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {T : Type u_4} → (f : X → T) → (∀ ⦃x y : X⦄ (x_1 : Path x y), f x = f y) → ZerothHomotopy X → T

Constructor for maps from ZerothHomotopy X.

theorem ZerothHomotopy.lift_mk E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {T : Type u_4} (f : X → T) (hf : ∀ ⦃x y : X⦄ (x_1 : Path x y), f x = f y)
  (x : X), ZerothHomotopy.lift f hf (ZerothHomotopy.mk x) = f x

def JoinedIn E1 #

{X : Type u_1} → [TopologicalSpace X] → Set X → X → X → Prop

The relation "being joined by a path in F". Not quite an equivalence relation since it's not reflexive for points that do not belong to F.

theorem JoinedIn.mem E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X}, JoinedIn F x y → x ∈ F ∧ y ∈ F

theorem JoinedIn.source_mem E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X}, JoinedIn F x y → x ∈ F

theorem JoinedIn.target_mem E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X}, JoinedIn F x y → y ∈ F

def JoinedIn.somePath E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → {x y : X} → {F : Set X} → JoinedIn F x y → Path x y

When x and y are joined in F, choose a path from x to y inside F

theorem JoinedIn.somePath_mem E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X} (h : JoinedIn F x y) (t : ↑unitInterval),
  h.somePath t ∈ F

theorem JoinedIn.joined_subtype E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X} (h : JoinedIn F x y), Joined ⟨x, ⋯⟩ ⟨y, ⋯⟩

If x and y are joined in the set F, then they are joined in the subtype F.

theorem JoinedIn.ofLine E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X} {f : ℝ → X},
  ContinuousOn f unitInterval → f 0 = x → f 1 = y → f '' unitInterval ⊆ F → JoinedIn F x y

theorem JoinedIn.joined E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X}, JoinedIn F x y → Joined x y

theorem joinedIn_iff_joined E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X} (x_in : x ∈ F) (y_in : y ∈ F),
  JoinedIn F x y ↔ Joined ⟨x, x_in⟩ ⟨y, y_in⟩

theorem joinedIn_univ E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X}, JoinedIn Set.univ x y ↔ Joined x y

theorem JoinedIn.mono E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {U V : Set X}, JoinedIn U x y → U ⊆ V → JoinedIn V x y

theorem JoinedIn.refl E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x : X} {F : Set X}, x ∈ F → JoinedIn F x x

theorem JoinedIn.symm E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X}, JoinedIn F x y → JoinedIn F y x

instance instSymmJoinedIn E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {F : Set X}, Std.Symm (JoinedIn F)

theorem JoinedIn.trans E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y z : X} {F : Set X}, JoinedIn F x y → JoinedIn F y z → JoinedIn F x z

instance instIsTransJoinedIn E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {F : Set X}, IsTrans X (JoinedIn F)

theorem Specializes.joinedIn E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X}, x ⤳ y → x ∈ F → y ∈ F → JoinedIn F x y

theorem Inseparable.joinedIn E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X}, Inseparable x y → x ∈ F → y ∈ F → JoinedIn F x y

theorem JoinedIn.map E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x y : X} {F : Set X},
  JoinedIn F x y → ∀ {f : X → Y}, ContinuousOn f F → JoinedIn (f '' F) (f x) (f y)

theorem Topology.IsInducing.joinedIn_image E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x y : X} {F : Set X}
  {f : X → Y}, Topology.IsInducing f → x ∈ F → y ∈ F → (JoinedIn (f '' F) (f x) (f y) ↔ JoinedIn F x y)

theorem JoinedIn.add E1 #

∀ {M : Type u_4} [inst : Add M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] {s t : Set M} {a b c d : M},
  JoinedIn s a b → JoinedIn t c d → JoinedIn (s + t) (a + c) (b + d)

theorem JoinedIn.mul E1 #

∀ {M : Type u_4} [inst : Mul M] [inst_1 : TopologicalSpace M] [ContinuousMul M] {s t : Set M} {a b c d : M},
  JoinedIn s a b → JoinedIn t c d → JoinedIn (s * t) (a * c) (b * d)

theorem JoinedIn.inv E1 #

∀ {G : Type u_4} [inst : InvolutiveInv G] [inst_1 : TopologicalSpace G] [ContinuousInv G] {s : Set G} {a b : G},
  JoinedIn s a b → JoinedIn s⁻¹ a⁻¹ b⁻¹

theorem JoinedIn.neg E1 #

∀ {G : Type u_4} [inst : InvolutiveNeg G] [inst_1 : TopologicalSpace G] [ContinuousNeg G] {s : Set G} {a b : G},
  JoinedIn s a b → JoinedIn (-s) (-a) (-b)

def pathComponent E1 #

{X : Type u_1} → [TopologicalSpace X] → X → Set X

The path component of x is the set of points that can be joined to x.

theorem mem_pathComponent_iff E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X}, x ∈ pathComponent y ↔ Joined y x

theorem mem_pathComponent_self E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (x : X), x ∈ pathComponent x

theorem pathComponent.nonempty E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (x : X), (pathComponent x).Nonempty

theorem mem_pathComponent_of_mem E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X}, x ∈ pathComponent y → y ∈ pathComponent x

theorem pathComponent_symm E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X}, x ∈ pathComponent y ↔ y ∈ pathComponent x

theorem Continuous.mapsTo_pathComponent E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  Continuous f → ∀ (x : X), Set.MapsTo f (pathComponent x) (pathComponent (f x))

theorem Continuous.image_pathComponent_subset E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : X → Y},
  Continuous f → ∀ (x : X), f '' pathComponent x ⊆ pathComponent (f x)

theorem pathComponent_congr E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X}, x ∈ pathComponent y → pathComponent x = pathComponent y

theorem pathComponent_subset_component E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (x : X), pathComponent x ⊆ connectedComponent x

theorem biUnion_connectedComponent_pathComponent_eq E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (x : X), ⋃ y ∈ connectedComponent x, pathComponent y = connectedComponent x

Every connected component is a union of path connected components

def ZerothHomotopy.toConnectedComponents E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → ZerothHomotopy X → ConnectedComponents X

The canonical map which sends a path component of X (as a term of ZerothHomotopy X) to the connected component containing it (as a term of ConnectedComponents X).

theorem ZerothHomotopy.toConnectedComponents_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (x : X), (ZerothHomotopy.mk x).toConnectedComponents = ⟦x⟧

theorem ZerothHomotopy.toConnectedComponents_surjective E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X], Function.Surjective ZerothHomotopy.toConnectedComponents

There are at least as many path connected components as there are connected components

def pathComponentIn E1 #

{X : Type u_1} → [TopologicalSpace X] → Set X → X → Set X

The path component of x in F is the set of points that can be joined to x in F.

theorem pathComponentIn_univ E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (x : X), pathComponentIn Set.univ x = pathComponent x

theorem Joined.mem_pathComponent E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y z : X}, Joined y z → y ∈ pathComponent x → z ∈ pathComponent x

theorem mem_pathComponentIn_self E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x : X} {F : Set X}, x ∈ F → x ∈ pathComponentIn F x

theorem pathComponentIn_subset E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x : X} {F : Set X}, pathComponentIn F x ⊆ F

theorem pathComponentIn_nonempty_iff E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x : X} {F : Set X}, (pathComponentIn F x).Nonempty ↔ x ∈ F

theorem pathComponentIn_congr E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X},
  x ∈ pathComponentIn F y → pathComponentIn F x = pathComponentIn F y

theorem pathComponentIn_mono E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x : X} {F G : Set X}, F ⊆ G → pathComponentIn F x ⊆ pathComponentIn G x

def Submonoid.pathComponentOne E1 #

(M : Type u_4) → [inst : Monoid M] → [inst_1 : TopologicalSpace M] → [ContinuousMul M] → Submonoid M

The path component of the identity in a topological monoid, as a submonoid.

theorem AddSubmonoid.coe_pathComponentZero E0 #

∀ (M : Type u_4) [inst : AddMonoid M] [inst_1 : TopologicalSpace M] [inst_2 : ContinuousAdd M],
  ↑(AddSubmonoid.pathComponentZero M) = pathComponent 0

theorem Submonoid.coe_pathComponentOne E0 #

∀ (M : Type u_4) [inst : Monoid M] [inst_1 : TopologicalSpace M] [inst_2 : ContinuousMul M],
  ↑(Submonoid.pathComponentOne M) = pathComponent 1

def AddSubmonoid.pathComponentZero E1 #

(M : Type u_4) → [inst : AddMonoid M] → [inst_1 : TopologicalSpace M] → [ContinuousAdd M] → AddSubmonoid M

The path component of the identity in an additive topological monoid, as an additive submonoid.

def Subgroup.pathComponentOne E1 #

(G : Type u_4) → [inst : Group G] → [inst_1 : TopologicalSpace G] → [IsTopologicalGroup G] → Subgroup G

The path component of the identity in a topological group, as a subgroup.

theorem Subgroup.coe_pathComponentOne E0 #

∀ (G : Type u_4) [inst : Group G] [inst_1 : TopologicalSpace G] [inst_2 : IsTopologicalGroup G],
  ↑(Subgroup.pathComponentOne G) = pathComponent 1

def AddSubgroup.pathComponentZero E1 #

(G : Type u_4) → [inst : AddGroup G] → [inst_1 : TopologicalSpace G] → [IsTopologicalAddGroup G] → AddSubgroup G

The path component of the identity in an additive topological group, as an additive subgroup.

theorem AddSubgroup.coe_pathComponentZero E0 #

∀ (G : Type u_4) [inst : AddGroup G] [inst_1 : TopologicalSpace G] [inst_2 : IsTopologicalAddGroup G],
  ↑(AddSubgroup.pathComponentZero G) = pathComponent 0

instance Subgroup.Normal.pathComponentOne E0 #

∀ (G : Type u_4) [inst : Group G] [inst_1 : TopologicalSpace G] [inst_2 : IsTopologicalGroup G],
  (Subgroup.pathComponentOne G).Normal

The path component of the identity in a topological group is normal.

instance AddSubgroup.Normal.pathComponentZero E0 #

∀ (G : Type u_4) [inst : AddGroup G] [inst_1 : TopologicalSpace G] [inst_2 : IsTopologicalAddGroup G],
  (AddSubgroup.pathComponentZero G).Normal

The path component of zero in an additive topological group is normal.

def IsPathConnected E3 #

{X : Type u_1} → [TopologicalSpace X] → Set X → Prop

A set F is path connected if it contains a point that can be joined to all other in F.

theorem isPathConnected_iff_eq E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {F : Set X}, IsPathConnected F ↔ ∃ x ∈ F, pathComponentIn F x = F

theorem IsPathConnected.joinedIn E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {F : Set X}, IsPathConnected F → ∀ x ∈ F, ∀ y ∈ F, JoinedIn F x y

theorem isPathConnected_iff E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {F : Set X},
  IsPathConnected F ↔ F.Nonempty ∧ ∀ x ∈ F, ∀ y ∈ F, JoinedIn F x y

theorem IsPathConnected.nonempty E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {F : Set X}, IsPathConnected F → F.Nonempty

theorem IsPathConnected.image' E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {F : Set X},
  IsPathConnected F → ∀ {f : X → Y}, ContinuousOn f F → IsPathConnected (f '' F)

If f is continuous on F and F is path-connected, so is f(F).

theorem IsPathConnected.image E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {F : Set X},
  IsPathConnected F → ∀ {f : X → Y}, Continuous f → IsPathConnected (f '' F)

If f is continuous and F is path-connected, so is f(F).

theorem IsPathConnected.add E1 #

∀ {M : Type u_4} [inst : Add M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] {s t : Set M},
  IsPathConnected s → IsPathConnected t → IsPathConnected (s + t)

theorem IsPathConnected.mul E1 #

∀ {M : Type u_4} [inst : Mul M] [inst_1 : TopologicalSpace M] [ContinuousMul M] {s t : Set M},
  IsPathConnected s → IsPathConnected t → IsPathConnected (s * t)

theorem IsPathConnected.inv E1 #

∀ {G : Type u_4} [inst : InvolutiveInv G] [inst_1 : TopologicalSpace G] [ContinuousInv G] {s : Set G},
  IsPathConnected s → IsPathConnected s⁻¹

theorem IsPathConnected.neg E1 #

∀ {G : Type u_4} [inst : InvolutiveNeg G] [inst_1 : TopologicalSpace G] [ContinuousNeg G] {s : Set G},
  IsPathConnected s → IsPathConnected (-s)

theorem Topology.IsInducing.isPathConnected_iff E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {F : Set X} {f : X → Y},
  Topology.IsInducing f → (IsPathConnected F ↔ IsPathConnected (f '' F))

If f : X → Y is an inducing map, f(F) is path-connected iff F is.

theorem Homeomorph.isPathConnected_image E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X} (h : X ≃ₜ Y),
  IsPathConnected (⇑h '' s) ↔ IsPathConnected s

If h : X → Y is a homeomorphism, h(s) is path-connected iff s is.

theorem Homeomorph.isPathConnected_preimage E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set Y} (h : X ≃ₜ Y),
  IsPathConnected (⇑h ⁻¹' s) ↔ IsPathConnected s

If h : X → Y is a homeomorphism, h⁻¹(s) is path-connected iff s is.

theorem Homeomorph.image_pathComponent E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (h : X ≃ₜ Y) (x : X),
  ⇑h '' pathComponent x = pathComponent (h x)

A homeomorphism maps path components onto path components.

theorem Homeomorph.preimage_pathComponent E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (h : X ≃ₜ Y) (y : Y),
  ⇑h ⁻¹' pathComponent y = pathComponent (h.symm y)

theorem IsPathConnected.mem_pathComponent E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {F : Set X},
  IsPathConnected F → x ∈ F → y ∈ F → y ∈ pathComponent x

theorem IsPathConnected.subset_pathComponent E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x : X} {F : Set X}, IsPathConnected F → x ∈ F → F ⊆ pathComponent x

theorem IsPathConnected.subset_pathComponentIn E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x : X} {F s : Set X},
  IsPathConnected s → x ∈ s → s ⊆ F → s ⊆ pathComponentIn F x

theorem isPathConnected_singleton E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (x : X), IsPathConnected {x}

theorem isPathConnected_pathComponentIn E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x : X} {F : Set X}, x ∈ F → IsPathConnected (pathComponentIn F x)

theorem isPathConnected_pathComponent E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x : X}, IsPathConnected (pathComponent x)

theorem IsPathConnected.union E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U V : Set X},
  IsPathConnected U → IsPathConnected V → (U ∩ V).Nonempty → IsPathConnected (U ∪ V)

theorem IsPathConnected.preimage_coe E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U W : Set X},
  IsPathConnected W → W ⊆ U → IsPathConnected (Subtype.val ⁻¹' W)

If a set W is path-connected, then it is also path-connected when seen as a set in a smaller ambient type U (when U contains W).

theorem IsPathConnected.exists_path_through_family E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {n : ℕ} {s : Set X},
  IsPathConnected s →
    ∀ (p : Fin (n + 1) → X),
      (∀ (i : Fin (n + 1)), p i ∈ s) → ∃ γ, Set.range ⇑γ ⊆ s ∧ ∀ (i : Fin (n + 1)), p i ∈ Set.range ⇑γ

theorem IsPathConnected.exists_path_through_family' E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {n : ℕ} {s : Set X},
  IsPathConnected s →
    ∀ (p : Fin (n + 1) → X),
      (∀ (i : Fin (n + 1)), p i ∈ s) → ∃ γ t, (∀ (t : ↑unitInterval), γ t ∈ s) ∧ ∀ (i : Fin (n + 1)), γ (t i) = p i

class PathConnectedSpace E1 #

(X : Type u_4) → [TopologicalSpace X] → Prop

A topological space is path-connected if it is non-empty and every two points can be joined by a continuous path.

theorem pathConnectedSpace_iff E0 #

∀ (X : Type u_4) [inst : TopologicalSpace X], PathConnectedSpace X ↔ Nonempty X ∧ ∀ (x y : X), Joined x y

ctor PathConnectedSpace.mk E0 #

∀ {X : Type u_4} [inst : TopologicalSpace X], Nonempty X → (∀ (x y : X), Joined x y) → PathConnectedSpace X

theorem PathConnectedSpace.nonempty E1 #

∀ {X : Type u_4} {inst : TopologicalSpace X} [self : PathConnectedSpace X], Nonempty X

A path-connected space must be nonempty.

theorem PathConnectedSpace.joined E1 #

∀ {X : Type u_4} {inst : TopologicalSpace X} [self : PathConnectedSpace X] (x y : X), Joined x y

Any two points in a path-connected space must be joined by a continuous path.

theorem pathConnectedSpace_iff_zerothHomotopy E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X],
  PathConnectedSpace X ↔ Nonempty (ZerothHomotopy X) ∧ Subsingleton (ZerothHomotopy X)

def PathConnectedSpace.somePath E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → [PathConnectedSpace X] → (x y : X) → Path x y

Use path-connectedness to build a path between two points.

instance PathConnectedSpace.instSubsingletonZerothHomotopy E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [PathConnectedSpace X], Subsingleton (ZerothHomotopy X)

theorem pathConnectedSpace_iff_univ E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X], PathConnectedSpace X ↔ IsPathConnected Set.univ

theorem isPathConnected_iff_pathConnectedSpace E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {F : Set X}, IsPathConnected F ↔ PathConnectedSpace ↑F

theorem isPathConnected_univ E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [PathConnectedSpace X], IsPathConnected Set.univ

theorem isPathConnected_range E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [PathConnectedSpace X]
  {f : X → Y}, Continuous f → IsPathConnected (Set.range f)

theorem Function.Surjective.pathConnectedSpace E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [PathConnectedSpace X]
  {f : X → Y}, Function.Surjective f → Continuous f → PathConnectedSpace Y

theorem Homeomorph.pathConnectedSpace E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [PathConnectedSpace X]
  (h : X ≃ₜ Y), PathConnectedSpace Y

instance Quotient.instPathConnectedSpace E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {s : Setoid X} [PathConnectedSpace X], PathConnectedSpace (Quotient s)

instance Real.instPathConnectedSpace E0 #

PathConnectedSpace ℝ

This is a special case of NormedSpace.instPathConnectedSpace (and IsTopologicalAddGroup.pathConnectedSpace). It exists only to simplify dependencies.

theorem Joined.prod E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x₁ x₂ : X} {y₁ y₂ : Y},
  Joined x₁ x₂ → Joined y₁ y₂ → Joined (x₁, y₁) (x₂, y₂)

If x₁ is joined to x₂ and y₁ is joined to y₂, then (x₁, y₁) is joined to (x₂, y₂) in the product space.

theorem JoinedIn.prod E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X} {t : Set Y}
  {x₁ x₂ : X} {y₁ y₂ : Y}, JoinedIn s x₁ x₂ → JoinedIn t y₁ y₂ → JoinedIn (s ×ˢ t) (x₁, y₁) (x₂, y₂)

If x₁ is joined to x₂ within s and y₁ to y₂ within t, then (x₁, y₁) is joined to (x₂, y₂) within s ×ˢ t.

theorem pathComponent_prod E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (x : X) (y : Y),
  pathComponent (x, y) = pathComponent x ×ˢ pathComponent y

The path component of (x, y) in the product space is the product of the path components of x and y.

theorem IsPathConnected.prod E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {s : Set X} {t : Set Y},
  IsPathConnected s → IsPathConnected t → IsPathConnected (s ×ˢ t)

The product of two path-connected sets is path-connected.

instance Prod.instPathConnectedSpace E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [PathConnectedSpace X]
  [PathConnectedSpace Y], PathConnectedSpace (X × Y)

theorem Joined.pi E1 #

∀ {ι : Type u_3} {Z : ι → Type u_4} [inst : (i : ι) → TopologicalSpace (Z i)] {x y : (i : ι) → Z i},
  (∀ (i : ι), Joined (x i) (y i)) → Joined x y

If for each i, x i is joined to y i, then x is joined to y in the product space.

theorem JoinedIn.pi E1 #

∀ {ι : Type u_3} {Z : ι → Type u_4} [inst : (i : ι) → TopologicalSpace (Z i)] {s : (i : ι) → Set (Z i)}
  {x y : (i : ι) → Z i}, (∀ (i : ι), JoinedIn (s i) (x i) (y i)) → JoinedIn (Set.univ.pi s) x y

If for each i, x i is joined to y i within s i, then x is joined to y within the product set Set.univ.pi s.

theorem pathComponent_pi E1 #

∀ {ι : Type u_3} {Z : ι → Type u_4} [inst : (i : ι) → TopologicalSpace (Z i)] (x : (i : ι) → Z i),
  pathComponent x = Set.univ.pi fun i ↦ pathComponent (x i)

The path component of x in a product space is the product of the path components of its coordinates.

theorem IsPathConnected.pi E1 #

∀ {ι : Type u_3} {Z : ι → Type u_4} [inst : (i : ι) → TopologicalSpace (Z i)] {s : (i : ι) → Set (Z i)},
  (∀ (i : ι), IsPathConnected (s i)) → IsPathConnected (Set.univ.pi s)

The product of a family of path-connected sets is path-connected.

instance Pi.instPathConnectedSpace E0 #

∀ {ι : Type u_3} {Z : ι → Type u_4} [inst : (i : ι) → TopologicalSpace (Z i)] [∀ (i : ι), PathConnectedSpace (Z i)],
  PathConnectedSpace ((i : ι) → Z i)

theorem pathConnectedSpace_iff_eq E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X], PathConnectedSpace X ↔ ∃ x, pathComponent x = Set.univ

instance PathConnectedSpace.connectedSpace E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [PathConnectedSpace X], ConnectedSpace X

theorem IsPathConnected.isConnected E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {F : Set X}, IsPathConnected F → IsConnected F

A path-connected set is connected.

(See Counterexamples.TopologistsSineCurve for the standard counterexample showing that the converse is false.)

theorem PathConnectedSpace.exists_path_through_family E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [PathConnectedSpace X] {n : ℕ} (p : Fin (n + 1) → X),
  ∃ γ, ∀ (i : Fin (n + 1)), p i ∈ Set.range ⇑γ

theorem PathConnectedSpace.exists_path_through_family' E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [PathConnectedSpace X] {n : ℕ} (p : Fin (n + 1) → X),
  ∃ γ t, ∀ (i : Fin (n + 1)), γ (t i) = p i

theorem ZerothHomotopy.preimage_singleton_eq_pathComponent E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (x : X), ZerothHomotopy.mk ⁻¹' {ZerothHomotopy.mk x} = pathComponent x

The preimage of a singleton in ZerothHomotopy is the path component of an element in the equivalence class.

instance instCompactSpaceZerothHomotopy E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [CompactSpace X], CompactSpace (ZerothHomotopy X)

Deprecated aliases

NameNew nameSince
JoinedIn.map_continuousOnJoinedIn.map2026-08-08