Lean library · module TopologyByExample.Theorems.RealRayArcs

Injective paths for right order topologies on real intervals

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
variable {X : Type*} [ConditionallyCompleteLinearOrder X] [DenselyOrdered X]
  [TopologicalSpace X] [OrderTopology X] [SeparableSpace X]

theorem arcConnectedSpace_open

TopologyByExample.RealRayArcs.arcConnectedSpace_open

In the right order topology on a separable, densely ordered, conditionally complete linear order, each open set is arc connected. Separability is for the ordinary order topology.

theorem arcConnectedSpace_open {U : Set (WithUpper X)} (hU : IsOpen U) : ArcConnectedSpace U
Proof
:= by
  let s : Set X := WithUpper.toUpper ⁻¹' U
  have hs : OrdConnected s := ⟨fun _ hx _ _ _ hz ↦
    Topology.IsUpper.isUpperSet_of_isOpen hU (WithUpper.toUpper_le_toUpper.mpr hz.1) hx⟩
  obtain ⟨D, hD, hd⟩ := exists_countable_dense X
  have hint (x y : X) (hxy : x < y) : Nonempty (Icc x y ≃ₜ unitInterval) :=
    nonempty_homeomorph_Icc_of_countable_dense hxy hD fun a b _ hab _ ↦ by
      obtain ⟨d, hdi, hdD⟩ := hd.inter_open_nonempty (Ioo a b) isOpen_Ioo (nonempty_Ioo.mpr hab)
      exact ⟨d, hdD, hdi⟩
  let := arcConnectedSpace_ordConnected_of_intervals hint hs
  let f : s → U := fun x ↦ ⟨WithUpper.toUpper x.val, x.property⟩
  apply arcConnectedSpace_of_continuous_bijective (f := f)
    ((WithUpper.continuous_toUpper.comp continuous_subtypeVal).subtype_mk _)
  · exact fun x y h ↦ Subtype.ext (WithUpper.toUpper.injective (congrArg Subtype.val h))
  · exact fun y ↦ ⟨⟨WithUpper.ofUpper y.val, y.property⟩, rfl⟩

theorem arcConnectedSpace

TopologyByExample.RealRayArcs.arcConnectedSpace

The right order topology is arc connected when the original order topology is separable and the order is densely ordered and conditionally complete.

theorem arcConnectedSpace : ArcConnectedSpace (WithUpper X)
Proof
:=
  (Homeomorph.arcConnectedSpace_iff (Homeomorph.Set.univ (WithUpper X))).mp
    (arcConnectedSpace_open isOpen_univ)

On this site: The right order topology on closed real interval \([0,1]\) is arc connected

theorem locallyArcConnectedSpace

TopologyByExample.RealRayArcs.locallyArcConnectedSpace

The right order topology on the same orders is locally arc connected.

theorem locallyArcConnectedSpace : LocallyArcConnectedSpace (WithUpper X)
Proof
:=
  ⟨fun _ U hU hx ↦ ⟨U, hU, hx, subset_rfl, arcConnectedSpace_open hU⟩⟩

On this site: The right order topology on closed real interval \([0,1]\) is locally arc connected