Lean library · module TopologyByExample.Theorems.LongOrderArcs
Arc connectedness in long ordered 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*} [LinearOrder X] [TopologicalSpace X]
theorem arcConnectedSpace_ordConnected_of_intervals
TopologyByExample.arcConnectedSpace_ordConnected_of_intervals
If each nondegenerate closed interval is homeomorphic to the unit interval, every order-convex set is arc connected in the subspace topology.
theorem arcConnectedSpace_ordConnected_of_intervals
(h : ∀ a b : X, a < b → Nonempty (Icc a b ≃ₜ unitInterval))
{s : Set X} (hs : OrdConnected s) : ArcConnectedSpace s
Proof
:= by
refine ⟨fun x y hxy ↦ ?_⟩
wlog hlt : x < y generalizing x y
· obtain ⟨p, hp⟩ := this y x hxy.symm (lt_of_le_of_ne (not_lt.mp hlt) hxy.symm)
exact ⟨p.symm, hp.comp unitInterval.symm_bijective.injective⟩
obtain ⟨e⟩ := h x y hlt
have hI := (Homeomorph.arcConnectedSpace_iff e).mpr arcConnectedSpace_unitInterval
let x' : Icc x.val y.val := ⟨x, le_rfl, hlt.le⟩
let y' : Icc x.val y.val := ⟨y, hlt.le, le_rfl⟩
let f := Set.inclusion (hs.out x.property y.property)
obtain ⟨p, hp⟩ := hI.exists_injective_path x' y' (fun he ↦ hxy (congrArg f he))
have hf : Continuous f := continuous_inclusion _
have hi : Function.Injective f := Set.inclusion_injective _
exact ⟨p.map hf, hi.comp hp⟩
theorem locallyArcConnectedSpace_of_intervals
TopologyByExample.locallyArcConnectedSpace_of_intervals
If every nondegenerate closed order interval is a real interval, the order topology is locally arc connected.
theorem locallyArcConnectedSpace_of_intervals [OrderTopology X]
(h : ∀ a b : X, a < b → Nonempty (Icc a b ≃ₜ unitInterval)) :
LocallyArcConnectedSpace X
Proof
:= by
refine ⟨fun x U hU hx ↦ ?_⟩
obtain ⟨V, hV, hVc, hxV, hVU⟩ := exists_isOpen_ordConnected_mem_subset hU hx
exact ⟨V, hV, hxV, hVU, arcConnectedSpace_ordConnected_of_intervals h hVc⟩
On this site: Theorem: Real intervals give local arc connectedness in the order topology
theorem locallyArcConnectedSpace
TopologyByExample.LongLine.locallyArcConnectedSpace
The long line is locally arc connected.
theorem LongLine.locallyArcConnectedSpace : LocallyArcConnectedSpace LongLine
Proof
:=
locallyArcConnectedSpace_of_intervals (fun _ _ h ↦ nonempty_homeomorph_Icc h)
On this site: The long line is locally arc connected
theorem locallyArcConnectedSpace
TopologyByExample.LongRay.locallyArcConnectedSpace
The long ray is locally arc connected.
theorem LongRay.locallyArcConnectedSpace : LocallyArcConnectedSpace LongRay
Proof
:=
locallyArcConnectedSpace_of_intervals (fun _ _ h ↦ nonempty_homeomorph_Icc h)
On this site: The long ray is locally arc connected
theorem locallyArcConnectedSpace
TopologyByExample.OpenLongRay.locallyArcConnectedSpace
The open long ray is locally arc connected.
theorem OpenLongRay.locallyArcConnectedSpace : LocallyArcConnectedSpace OpenLongRay
Proof
:= by
let := LongRay.locallyArcConnectedSpace
exact locallyArcConnectedSpace_open isOpen_Ioi
On this site: The open long ray is locally arc connected
theorem arcConnectedSpace
TopologyByExample.LongCircle.arcConnectedSpace
The long circle is arc connected, through the continuous bijection from the long ray.
theorem LongCircle.arcConnectedSpace : ArcConnectedSpace (OnePoint OpenLongRay)
Proof
:= by
let := (Homeomorph.arcConnectedSpace_iff (Homeomorph.Set.univ LongRay)).mp
(arcConnectedSpace_ordConnected_of_intervals
(fun _ _ h ↦ LongRay.nonempty_homeomorph_Icc h) (s := univ) inferInstance)
apply arcConnectedSpace_of_continuous_bijective continuous_ofLongRay _ surjective_ofLongRay
intro x y h
generalize he : ofLongRay y = z
rw [he] at h
induction z using OnePoint.rec with
| infty => exact (ofLongRay_eq_infty_iff _).mp h |>.trans ((ofLongRay_eq_infty_iff _).mp he).symm
| coe p => exact (ofLongRay_eq_coe_iff _ _).mp h |>.trans ((ofLongRay_eq_coe_iff _ _).mp he).symm
On this site: The long circle is arc connected