Lean library · module TopologyByExample.Theorems.FinalTopologyArcs
Arc components in final topologies
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*} [TopologicalSpace X] [T2Space X]
theorem arcConnectedSpace_arcComponent
TopologyByExample.arcConnectedSpace_arcComponent
The points that can be joined to a given point by arcs form an arc-connected set.
theorem arcConnectedSpace_arcComponent (x : X) :
ArcConnectedSpace {y | ArcJoined x y}
Proof
:= by
let s := {y | ArcJoined x y}
refine ⟨fun a b hab ↦ ?_⟩
obtain ⟨p, hp⟩ := (a.property.symm.trans b.property) (fun he ↦ hab (Subtype.ext he))
have hm (t : unitInterval) : p t ∈ s := by
have h : ArcJoined (0 : unitInterval) t :=
arcConnectedSpace_unitInterval.exists_injective_path _ _
have hh := h.map p.continuous hp
rw [p.source] at hh
exact a.property.trans hh
let q : Path a b :=
{ toFun := fun t ↦ ⟨p t, hm t⟩
continuous_toFun := p.continuous.subtype_mk _
source' := Subtype.ext p.source
target' := Subtype.ext p.target }
exact ⟨q, fun _ _ e ↦ hp (congrArg Subtype.val e)⟩
theorem locallyArcConnectedSpace_of_final
TopologyByExample.locallyArcConnectedSpace_of_final
A Hausdorff final topology determined by locally injective maps from locally arc-connected spaces is locally arc connected.
theorem locallyArcConnectedSpace_of_final {ι : Type*} {Y : ι → Type*}
[∀ i, TopologicalSpace (Y i)] [∀ i, LocallyArcConnectedSpace (Y i)]
(f : ∀ i, Y i → X) (hc : ∀ i, Continuous (f i))
(hop : ∀ s : Set X, (∀ i, IsOpen (f i ⁻¹' s)) → IsOpen s)
(hinj : ∀ i z, ∃ N, IsOpen N ∧ z ∈ N ∧ InjOn (f i) N) : LocallyArcConnectedSpace X
Proof
:= by
refine ⟨fun x U hU hx ↦ ?_⟩
let c : U := ⟨x, hx⟩
let A : Set U := {u | ArcJoined c u}
let V : Set X := Subtype.val '' A
have hV : IsOpen V := by
apply hop
intro i
rw [isOpen_iff_mem_nhds]
rintro z ⟨w, hw, hwz⟩
have hzU : f i z ∈ U := hwz ▸ w.property
obtain ⟨N, hN, hzN, hI⟩ := hinj i z
obtain ⟨B, hB, hzB, hBN, hAB⟩ := LocallyArcConnectedSpace.exists_open z
(N ∩ f i ⁻¹' U) (hN.inter (hU.preimage (hc i))) ⟨hzN, hzU⟩
let g : B → U := fun t ↦ ⟨f i t.val, (hBN t.property).2⟩
have hg : Continuous g := ((hc i).comp continuous_subtypeVal).subtype_mk _
have hi : Function.Injective g := fun a b he ↦ Subtype.ext
(hI (hBN a.property).1 (hBN b.property).1 (congrArg Subtype.val he))
apply Filter.mem_of_superset (hB.mem_nhds hzB)
intro t ht
have h : ArcJoined (⟨z, hzB⟩ : B) ⟨t, ht⟩ := hAB.exists_injective_path _ _
have he : w = g ⟨z, hzB⟩ := Subtype.ext hwz
exact ⟨g ⟨t, ht⟩, ArcJoined.trans (he ▸ hw) (h.map hg hi), rfl⟩
exact ⟨V, hV, ⟨c, fun h ↦ (h rfl).elim, rfl⟩, by rintro _ ⟨u, -, rfl⟩; exact u.property,
arcConnectedSpace_image_of_continuousOn continuous_subtypeVal.continuousOn
Subtype.val_injective.injOn (arcConnectedSpace_arcComponent c)⟩
On this site: Theorem: Local arc connectedness for final topologies given by locally injective maps
theorem locallyArcConnectedSpace_of_isClosed_isDiscrete
TopologyByExample.Collapse.locallyArcConnectedSpace_of_isClosed_isDiscrete
Collapsing a closed discrete subset to a point preserves local arc connectedness if the resulting quotient is Hausdorff.
theorem Collapse.locallyArcConnectedSpace_of_isClosed_isDiscrete {Y : Type*}
[TopologicalSpace Y] [LocallyArcConnectedSpace Y] {A : Set Y} [T2Space (Collapse A)]
(hA : IsClosed A) (hd : IsDiscrete A) : LocallyArcConnectedSpace (Collapse A)
Proof
:= by
apply locallyArcConnectedSpace_of_final (ι := Unit) (Y := fun _ ↦ Y)
(fun _ ↦ mk A) (fun _ ↦ continuous_mk) (fun _ h ↦ isQuotientMap_mk.isOpen_preimage.mp (h ()))
intro _ y
by_cases hy : y ∈ A
· obtain ⟨U, hU, he⟩ := isDiscrete_iff_forall_mem_exists_isOpen.mp hd y hy
have hyU : y ∈ U := (show y ∈ U ∩ A by rw [he]; exact mem_singleton _).1
refine ⟨U, hU, hyU, fun u hu v hv huv ↦ ?_⟩
rcases mk_eq_mk_iff.mp huv with h | ⟨huA, hvA⟩
· exact h
· have hu' : u ∈ U ∩ A := ⟨hu, huA⟩
have hv' : v ∈ U ∩ A := ⟨hv, hvA⟩
rw [he] at hu' hv'
exact hu'.trans hv'.symm
· exact ⟨Aᶜ, hA.isOpen_compl, hy, fun _ hu _ _ e ↦
(mk_eq_mk_iff.mp e).resolve_right (fun h ↦ hu h.1)⟩
theorem locallyArcConnectedSpace
TopologyByExample.CountableBouquet.locallyArcConnectedSpace
The countable bouquet of circles is locally arc connected.
theorem CountableBouquet.locallyArcConnectedSpace : LocallyArcConnectedSpace CountableBouquet
Proof
:= by
let : LocallyArcConnectedSpace ℝ := locallyArcConnectedSpace_of_normedSpace
exact Collapse.locallyArcConnectedSpace_of_isClosed_isDiscrete isClosed_integerPoints
isDiscrete_integerPoints
On this site: The countable bouquet of circles is locally arc connected
theorem locallyArcConnectedSpace
TopologyByExample.RadialInterval.locallyArcConnectedSpace
Testing openness on the lines through the origin gives a locally arc-connected topology.
theorem RadialInterval.locallyArcConnectedSpace : LocallyArcConnectedSpace RadialInterval
Proof
:= by
let : LocallyArcConnectedSpace ℝ := locallyArcConnectedSpace_of_normedSpace
apply locallyArcConnectedSpace_of_final (ι := {u : ℂ // u ≠ 0}) (Y := fun _ ↦ ℝ)
(fun u ↦ lineMap u.val) (fun u ↦ continuous_lineMap u.property)
(fun _ h ↦ isOpen_iff.mpr (fun u hu ↦ h ⟨u, hu⟩))
intro u x
exact ⟨univ, isOpen_univ, trivial, fun a _ b _ he ↦
Complex.ofReal_injective (mul_right_cancel₀ u.property (toRI.injective he))⟩
On this site: The radial interval topology is locally arc connected
theorem locallyArcConnectedSpace
TopologyByExample.RadialPlane.locallyArcConnectedSpace
Testing openness on all affine lines gives a locally arc-connected topology.
theorem RadialPlane.locallyArcConnectedSpace : LocallyArcConnectedSpace RadialPlane
Proof
:= by
let : LocallyArcConnectedSpace ℝ := locallyArcConnectedSpace_of_normedSpace
apply locallyArcConnectedSpace_of_final (ι := (ℝ × ℝ) × {v : ℝ × ℝ // v ≠ 0})
(Y := fun _ ↦ ℝ) (fun i ↦ line i.1 i.2.val) (fun i ↦ continuous_line _ _)
· intro s h
apply isOpen_iff.mpr
intro p v
by_cases hv : v = 0
· subst v
by_cases hp : ofPlane p ∈ s <;> simp [line, preimage, hp]
· exact h (p, ⟨v, hv⟩)
· intro i t
refine ⟨univ, isOpen_univ, trivial, fun a _ b _ he ↦ ?_⟩
have hsm : a • i.2.val = b • i.2.val := add_left_cancel (ofPlane_injective he)
exact (smul_left_injective ℝ i.2.property) hsm
On this site: Radial plane is locally arc connected