Lean library · module TopologyByExample.Theorems.ManifoldArcs

Local arcs on the sphere and the real projective plane

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 locallyArcConnectedSpace_of_chartedSpace

TopologyByExample.locallyArcConnectedSpace_of_chartedSpace

A space locally modelled on a locally arc-connected space is locally arc connected.

theorem locallyArcConnectedSpace_of_chartedSpace (H X : Type*) [TopologicalSpace H]
    [TopologicalSpace X] [ChartedSpace H X] [LocallyArcConnectedSpace H] :
    LocallyArcConnectedSpace X
Proof
:= by
  refine ⟨fun x U hU hx ↦ ?_⟩
  let e := chartAt H x
  let : LocallyArcConnectedSpace e.symm.source := locallyArcConnectedSpace_open e.symm.open_source
  let u : e.target := ⟨e x, e.map_source (mem_chart_source H x)⟩
  have he : e.symm.source.domRestrict e.symm u = x := e.left_inv (mem_chart_source H x)
  exact he ▸ LocallyArcConnectedSpace.exists_open_image
    e.symm.isOpenEmbedding_restrict u hU (he ▸ hx)
local notation "E" => EuclideanSpace ℝ (Fin 3)
local notation "S²" => sphere (0 : E) 1

theorem locallyArcConnectedSpace

TopologyByExample.Sphere.locallyArcConnectedSpace

The stereographic charts give arc-connected open neighbourhoods on the sphere.

theorem Sphere.locallyArcConnectedSpace : LocallyArcConnectedSpace S²
Proof
:= by
  let := locallyArcConnectedSpace_of_normedSpace (F := EuclideanSpace ℝ (Fin 2))
  exact locallyArcConnectedSpace_of_chartedSpace (EuclideanSpace ℝ (Fin 2)) _

On this site: The sphere is locally arc connected

theorem isOpenMap_ofSphere

TopologyByExample.RealProjectivePlane.isOpenMap_ofSphere

The antipodal quotient map carries open sets of the sphere to open sets.

theorem isOpenMap_ofSphere : IsOpenMap ofSphere
Proof
:= by
  have := t2Space
  have hq := (continuous_ofSphere.isClosedMap).isQuotientMap continuous_ofSphere surjective_ofSphere
  intro U hU
  apply hq.isOpen_preimage.mp
  have he : ofSphere ⁻¹' (ofSphere '' U) = U ∪ (fun x : S² ↦ -x) ⁻¹' U := by
    ext x
    constructor
    · rintro ⟨y, hy, he⟩
      rcases (ofSphere_eq_iff _ _).mp he with h | h
      · exact Or.inl (h ▸ hy)
      · exact Or.inr (show -x ∈ U from (Subtype.ext h : y = -x) ▸ hy)
    · rintro (hx | hx)
      · exact ⟨x, hx, rfl⟩
      · exact ⟨-x, hx, (ofSphere_eq_iff _ _).mpr (Or.inr rfl)⟩
  rw [he]
  exact hU.union (hU.preimage continuous_neg)

theorem locallyArcConnectedSpace

TopologyByExample.RealProjectivePlane.locallyArcConnectedSpace

The quotient by antipodal identification is locally arc connected.

theorem locallyArcConnectedSpace : LocallyArcConnectedSpace RealProjectivePlane
Proof
:= by
  let := Sphere.locallyArcConnectedSpace
  refine ⟨fun z U hU hz ↦ ?_⟩
  obtain ⟨x, rfl⟩ := surjective_ofSphere z
  have hx : x ≠ -x := by
    intro h
    have h' : (x : E) = -(x : E) := congrArg Subtype.val h
    have hz : (2 : ℝ) • (x : E) = 0 := by
      rw [two_smul]
      exact eq_neg_iff_add_eq_zero.mp h'
    exact sphere_ne_zero x ((smul_eq_zero.mp hz).resolve_left two_ne_zero)
  obtain ⟨A, B, hA, hB, hAx, hBx, hd⟩ := t2_separation hx
  let W := (A ∩ (fun y : S² ↦ -y) ⁻¹' B) ∩ ofSphere ⁻¹' U
  have hW : IsOpen W :=
    (hA.inter (hB.preimage continuous_neg)).inter (hU.preimage continuous_ofSphere)
  obtain ⟨V, hV, hxV, hVW, hAV⟩ := LocallyArcConnectedSpace.exists_open x W hW ⟨⟨hAx, hBx⟩, hz⟩
  refine ⟨ofSphere '' V, isOpenMap_ofSphere _ hV, mem_image_of_mem _ hxV,
    image_subset_iff.mpr (fun _ h ↦ (hVW h).2), ?_⟩
  apply arcConnectedSpace_image_of_continuousOn continuous_ofSphere.continuousOn _ hAV
  intro y hy u hu he
  rcases (ofSphere_eq_iff _ _).mp he with h | h
  · exact h
  · have hneg : y = -u := Subtype.ext h
    exact (Set.disjoint_left.mp hd (hVW hy).1.1 (hneg ▸ (hVW hu).1.2)).elim

On this site: The real projective plane is locally arc connected