Lean library · module TopologyByExample.Theorems.RightRayArcs

Arcs in the right-ray topology on the real line

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 open_arc

TopologyByExample.RightRayArcs.open_arc

Every open subset of the right-ray real line is arc connected.

theorem open_arc {U : Set (WithUpper ℝ)} (hU : IsOpen U) : ArcConnectedSpace U
Proof
:= by
  let V : Set ℝ := WithUpper.toUpper ⁻¹' U
  have hv : IsUpperSet V := fun x y hxy hx ↦
    Topology.IsUpper.isUpperSet_of_isOpen hU hxy hx
  have ha : ArcConnectedSpace V := arcConnectedSpace_of_convex hv.ordConnected.convex
  have he : WithUpper.toUpper '' V = U :=
    image_preimage_eq _ WithUpper.toUpper.surjective
  rw [← he]
  exact arcConnectedSpace_image_of_continuousOn WithUpper.continuous_toUpper.continuousOn
    WithUpper.toUpper.injective.injOn ha

theorem arc

TopologyByExample.RightRayArcs.arc

The right-ray real line is arc connected.

theorem arc : ArcConnectedSpace (WithUpper ℝ)
Proof
:=
  (Homeomorph.arcConnectedSpace_iff (Homeomorph.Set.univ _)).mp (open_arc isOpen_univ)

On this site: The right order topology on a set of reals with no least and no greatest element is arc connected

theorem local_arc

TopologyByExample.RightRayArcs.local_arc

The right-ray real line is locally arc connected.

theorem local_arc : LocallyArcConnectedSpace (WithUpper ℝ)
Proof
:=
  ⟨fun _ U hU hx ↦ ⟨U, hU, hx, Subset.rfl, open_arc hU⟩⟩

On this site: The right order topology on a set of reals with no least and no greatest element is locally arc connected