Lean library · module TopologyByExample.Theorems.ArcSubspaceTools

Arcs in images and open subspaces

Source file

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_image_of_continuousOn

TopologyByExample.arcConnectedSpace_image_of_continuousOn

An injection continuous on an arc-connected subspace has arc-connected image there.

theorem arcConnectedSpace_image_of_continuousOn {X Y : Type*} [TopologicalSpace X]
    [TopologicalSpace Y] {s : Set X} {f : X → Y} (hf : ContinuousOn f s)
    (hi : InjOn f s) (hs : ArcConnectedSpace s) : ArcConnectedSpace (f '' s)
Proof
:= by
  let g : s → f '' s := fun x ↦ ⟨f x, mem_image_of_mem _ x.property⟩
  apply arcConnectedSpace_of_continuous_bijective (f := g) (hf.domRestrict.subtype_mk _)
  · exact fun x y h ↦ Subtype.ext (hi x.property y.property (congrArg Subtype.val h))
  · rintro ⟨_, x, hx, rfl⟩
    exact ⟨⟨x, hx⟩, rfl⟩

theorem exists_open_image

TopologyByExample.LocallyArcConnectedSpace.exists_open_image

An open chart carries a local basis of arc-connected open sets to its image.

theorem LocallyArcConnectedSpace.exists_open_image {X Y : Type*}
    [TopologicalSpace X] [TopologicalSpace Y] [LocallyArcConnectedSpace X]
    {f : X → Y} (hf : IsOpenEmbedding f) (x : X) {U : Set Y} (hU : IsOpen U) (hx : f x ∈ U) :
    ∃ V : Set Y, IsOpen V ∧ f x ∈ V ∧ V ⊆ U ∧ ArcConnectedSpace V
Proof
:= by
  obtain ⟨W, hW, hxW, hWU, hA⟩ := LocallyArcConnectedSpace.exists_open x (f ⁻¹' U)
    (hU.preimage hf.continuous) hx
  exact ⟨f '' W, hf.isOpenMap W hW, mem_image_of_mem _ hxW, image_subset_iff.mpr hWU,
    (Homeomorph.arcConnectedSpace_iff (hf.isEmbedding.homeomorphImage W)).mp hA⟩