Lean library · module TopologyByExample.Theorems.OverlappingIntervalArcs
Arcs in the overlapping interval topology
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
theorem arcConnectedSpace
TopologyByExample.OverlappingInterval.arcConnectedSpace
The Euclidean segment between any two points is an injective path in the coarser topology.
theorem arcConnectedSpace : ArcConnectedSpace OverlappingInterval
Proof
:= by
let : ArcConnectedSpace (Icc (-1 : ℝ) 1) := arcConnectedSpace_of_convex (convex_Icc _ _)
exact arcConnectedSpace_of_continuous_bijective continuous_ofIcc
toIcc.symm.injective toIcc.symm.surjective
On this site: The overlapping interval topology is arc connected
theorem convex_image_of_isOpen
TopologyByExample.OverlappingInterval.convex_image_of_isOpen
Every nonempty open set is a convex interval in its usual real coordinates.
theorem convex_image_of_isOpen {U : Set OverlappingInterval} (hU : IsOpen U) (hn : U.Nonempty) :
Convex ℝ (toReal '' U)
Proof
:= by
have hzero : 0 ∈ toReal '' U := ⟨zero, zero_mem_of_isOpen hU hn, rfl⟩
have hstar : StarConvex ℝ 0 (toReal '' U) := by
rintro _ ⟨x, hx, rfl⟩ a b ha hb hab
let t : unitInterval := ⟨b, hb, by linarith⟩
exact ⟨scale t x, scale_mem hU hx t, by simp [t, smul_eq_mul]⟩
exact (hstar.ordConnected hzero).convex
theorem locallyArcConnectedSpace
TopologyByExample.OverlappingInterval.locallyArcConnectedSpace
Every point in the overlapping interval has a basis of arc-connected open neighborhoods.
theorem locallyArcConnectedSpace : LocallyArcConnectedSpace OverlappingInterval
Proof
:= by
refine ⟨fun x U hU hx ↦ ⟨U, hU, hx, subset_rfl, ?_⟩⟩
let e := Equiv.Set.image toReal U toReal_injective
let : ArcConnectedSpace (toReal '' U) :=
arcConnectedSpace_of_convex (convex_image_of_isOpen hU ⟨x, hx⟩)
apply arcConnectedSpace_of_continuous_bijective (f := e.symm) _ e.symm.injective e.symm.surjective
have hcoord (z : toReal '' U) : toReal (e.symm z).val = z.val := congrArg Subtype.val
(e.apply_symm_apply z)
have hcont : Continuous fun z : toReal '' U ↦ toReal (e.symm z).val := by
simpa only [hcoord] using (continuous_subtypeVal : Continuous ((↑) : toReal '' U → ℝ))
exact (continuous_ofIcc.comp (hcont.subtype_mk (fun _ ↦ toReal_mem _))).subtype_mk _
On this site: The overlapping interval topology is locally arc connected