Lean library · module TopologyByExample.Theorems.CompleteLocallyConnected
Local path connectedness of complete locally connected metric spaces
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.
Imports
variable {X : Type*} [MetricSpace X] [LocallyConnectedSpace X] [CompleteSpace X]
theorem exists_path_in_closure_complete
TopologyByExample.LocallyConnectedPaths.exists_path_in_closure_complete
Two points of a connected open set can be joined inside its closure.
theorem exists_path_in_closure_complete {U : Set X} (hU : IsOpen U)
(hUc : IsPreconnected U) {x y : X} (hx : x ∈ U) (hy : y ∈ U) :
∃ p : Path x y, range p ⊆ closure U
Proof
:= by
classical
let e := MetricBanachEmbedding.embed x
have he := MetricBanachEmbedding.isometry_embed x
have hec := MetricBanachEmbedding.isClosedEmbedding_embed x
obtain ⟨p, hp⟩ := exists_path_in_closure he hU hUc hx hy
have hsub : closure (e '' U) ⊆ range e := closure_minimal
(by rintro z ⟨w, _, rfl⟩; exact mem_range_self _) hec.isClosed_range
have hpre (t : unitInterval) : ∃ z, e z = p t := hsub (hp (mem_range_self t))
choose r hr using hpre
have hrc : Continuous r := he.isEmbedding.isInducing.continuous_iff.mpr (by
change Continuous (fun t ↦ e (r t))
exact p.continuous.congr fun t ↦ (hr t).symm)
have h0 : r 0 = x := he.injective ((hr 0).trans p.source)
have h1 : r 1 = y := he.injective ((hr 1).trans p.target)
refine ⟨{ toFun := r, continuous_toFun := hrc, source' := h0, target' := h1 }, ?_⟩
rintro _ ⟨t, rfl⟩
rw [he.isEmbedding.closure_eq_preimage_closure_image]
change e (r t) ∈ closure (e '' U)
rw [hr]
exact hp (mem_range_self t)
theorem locallyPathConnectedSpace
TopologyByExample.LocallyConnectedPaths.locallyPathConnectedSpace
A complete locally connected metric space is locally path connected.
theorem locallyPathConnectedSpace : LocallyPathConnectedSpace X
Proof
:= by
constructor
intro x
rw [hasBasis_self]
intro O hO
obtain ⟨K, hKnhds, hKclosed, hKO⟩ := exists_mem_nhds_isClosed_subset hO
obtain ⟨V, ⟨hVo, hxV, hVc⟩, hVK⟩ :=
(LocallyConnectedSpace.open_connected_basis x).mem_iff.mp hKnhds
have hcl : closure V ⊆ O := (closure_minimal hVK hKclosed).trans hKO
have hVpath : V ⊆ pathComponentIn O x := by
intro y hy
obtain ⟨p, hp⟩ := exists_path_in_closure_complete hVo hVc.isPreconnected hxV hy
exact ⟨p, fun t ↦ hcl (hp (mem_range_self t))⟩
exact ⟨pathComponentIn O x, Filter.mem_of_superset (hVo.mem_nhds hxV) hVpath,
isPathConnected_pathComponentIn (mem_of_mem_nhds hO), pathComponentIn_subset⟩
theorem locallyPathConnectedSpace_of_completelyMetrizable_locallyConnected
TopologyByExample.locallyPathConnectedSpace_of_completelyMetrizable_locallyConnected
Every completely metrizable locally connected space is locally path connected.
theorem locallyPathConnectedSpace_of_completelyMetrizable_locallyConnected
{Y : Type*} [TopologicalSpace Y] [IsCompletelyMetrizableSpace Y]
[LocallyConnectedSpace Y] : LocallyPathConnectedSpace Y
Proof
:= by
let := upgradeIsCompletelyMetrizable Y
exact LocallyConnectedPaths.locallyPathConnectedSpace
On this site: Theorem: Completely metrizable locally connected spaces are locally path connected