Lean library · module TopologyByExample.Theorems.OrdinalRayArcs

Countable path images in ray topologies on the first uncountable ordinal

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 not_arcConnectedSpace_and_not_locallyArcConnectedSpace_of_countable_ranges

TopologyByExample.not_arcConnectedSpace_and_not_locallyArcConnectedSpace_of_countable_ranges

If every continuous map from the unit interval has countable range, a nondiscrete space is neither arc connected nor locally arc connected.

theorem not_arcConnectedSpace_and_not_locallyArcConnectedSpace_of_countable_ranges
    {X : Type*} [TopologicalSpace X]
    (h : ∀ f : unitInterval → X, Continuous f → (range f).Countable)
    (hd : ¬ DiscreteTopology X) : ¬ ArcConnectedSpace X ∧ ¬ LocallyArcConnectedSpace X
Proof
:= by
  have noArc {x y : X} (p : Path x y) : ¬ Function.Injective p := by
    intro hi
    let := (h p p.continuous).to_subtype
    have hc := (Set.rangeFactorization_injective.mpr hi).countable
    have hle := Cardinal.mk_le_aleph0 (α := unitInterval)
    rw [Cardinal.mk_unitInterval] at hle
    exact Cardinal.aleph0_lt_continuum.not_ge hle
  constructor
  · intro hA
    obtain hsub | hnt := subsingleton_or_nontrivial X
    · exact hd inferInstance
    obtain ⟨x, y, hxy⟩ := exists_pair_ne X
    obtain ⟨p, hp⟩ := hA.exists_injective_path x y hxy
    exact noArc p hp
  · intro hL
    apply hd
    apply discreteTopology_iff_isOpen_singleton.mpr
    intro x
    obtain ⟨U, hU, hx, -, hA⟩ := hL.exists_open x univ isOpen_univ trivial
    have hs : U ⊆ {x} := by
      intro y hy
      by_contra hne
      obtain ⟨p, hp⟩ := hA.exists_injective_path (⟨y, hy⟩ : U) ⟨x, hx⟩
        (fun e ↦ hne (congrArg Subtype.val e))
      exact noArc (p.map continuous_subtypeVal) (Subtype.val_injective.comp hp)
    rwa [← hs.antisymm (singleton_subset_iff.mpr hx)]

On this site: Theorem: Countable path images obstruct arcs in nondiscrete spaces

theorem countable_range_upper

TopologyByExample.OrdinalRayArcs.countable_range_upper

A separable domain has countable image in either upper ray topology on the countable ordinals: the image of a countable dense set has a countable ordinal upper bound.

theorem countable_range_upper {D : Type*} [TopologicalSpace D] [SeparableSpace D]
    {X : Type*} [LinearOrder X] [TopologicalSpace X] (e : X ≃o OmegaOne)
    (hopen : ∀ a : X, IsOpen (Ioi a)) (f : D → X) (hf : Continuous f) : (range f).Countable
Proof
:= by
  obtain ⟨C, hC, hd⟩ := exists_countable_dense D
  obtain ⟨b, hb⟩ := OmegaOne.bddAbove_of_countable ((hC.image f).image e)
  have hs : range f ⊆ e ⁻¹' Iic b := by
    rintro _ ⟨x, rfl⟩
    by_contra hnot
    have hx : f x ∈ Ioi (e.symm b) := by
      change e.symm b < f x
      simpa using e.symm.strictMono (show b < e (f x) from lt_of_not_ge hnot)
    obtain ⟨y, hy, hyC⟩ := hd.inter_open_nonempty _ ((hopen _).preimage hf) ⟨x, hx⟩
    have hy' : b < e (f y) := by simpa using e.strictMono (show e.symm b < f y from hy)
    exact hy'.not_ge (hb ⟨f y, ⟨y, hyC, rfl⟩, rfl⟩)
  exact ((OmegaOne.countable_Iic _).preimage e.injective).mono hs

theorem countable_range_left

TopologyByExample.OrdinalRayArcs.countable_range_left

Compact images in the left ray topology are bounded in the ordinal order, hence countable.

theorem countable_range_left {D : Type*} [TopologicalSpace D] [CompactSpace D]
    (f : D → LeftRay) (hf : Continuous f) : (range f).Countable
Proof
:= by
  let : ClosedIciTopology LeftRay := ⟨fun a ↦ by
    rw [← isOpen_compl_iff, compl_Ici]
    exact LeftRay.isOpen_iff.mpr (Or.inr ⟨a, rfl⟩)⟩
  obtain ⟨b, hb⟩ := (isCompact_range hf).bddAbove
  exact (OmegaOne.countable_Iic b).mono hb

theorem not_discrete_of_upper

TopologyByExample.OrdinalRayArcs.not_discrete_of_upper

private theorem not_discrete_of_upper {X : Type*} [LinearOrder X] [TopologicalSpace X]
    {a b : X} (hab : a < b) (h : ∀ {U : Set X}, IsOpen U → IsUpperSet U) :
    ¬ DiscreteTopology X
Proof
:= by
  intro _
  exact hab.ne' (h (isOpen_discrete ({a} : Set X)) hab.le (mem_singleton _))

theorem right

TopologyByExample.OrdinalRayArcs.right

Neither form of arc connectedness holds for the right open-ray topology on the first uncountable ordinal.

theorem right : ¬ ArcConnectedSpace (WithUpper OmegaOne) ∧
    ¬ LocallyArcConnectedSpace (WithUpper OmegaOne)
Proof
:=
  not_arcConnectedSpace_and_not_locallyArcConnectedSpace_of_countable_ranges
    (countable_range_upper (OrderIso.refl OmegaOne) (fun _ ↦ isOpen_Ioi))
    (not_discrete_of_upper
      (show (⊥ : OmegaOne) < Order.succ (⊥ : OmegaOne) from Order.lt_succ _)
      Topology.IsUpper.isUpperSet_of_isOpen)

On this site: The right order topology on a set with a least element in which every countable subset is bounded is not arc connected; The right order topology on a set with a least element in which every countable subset is bounded is not locally arc connected

theorem closedRay

TopologyByExample.OrdinalRayArcs.closedRay

Neither form of arc connectedness holds for the upper set topology on the first uncountable ordinal.

theorem closedRay : ¬ ArcConnectedSpace (WithUpperSet OmegaOne) ∧
    ¬ LocallyArcConnectedSpace (WithUpperSet OmegaOne)
Proof
:=
  not_arcConnectedSpace_and_not_locallyArcConnectedSpace_of_countable_ranges
    (countable_range_upper (OrderIso.refl OmegaOne)
      (fun a ↦ Topology.IsUpperSet.isOpen_iff_isUpperSet.mpr (IsUpperSet.Ioi a)))
    (not_discrete_of_upper
      (show (⊥ : OmegaOne) < Order.succ (⊥ : OmegaOne) from Order.lt_succ _)
      Topology.IsUpperSet.isOpen_iff_isUpperSet.mp)

On this site: The closed-ray topology on a set with a least element in which every countable subset is bounded is not arc connected; The closed-ray topology on a set with a least element in which every countable subset is bounded is not locally arc connected

theorem left

TopologyByExample.OrdinalRayArcs.left

Neither form of arc connectedness holds for the left ray topology on the first uncountable ordinal.

theorem left : ¬ ArcConnectedSpace LeftRay ∧ ¬ LocallyArcConnectedSpace LeftRay
Proof
:=
  not_arcConnectedSpace_and_not_locallyArcConnectedSpace_of_countable_ranges
    countable_range_left (fun _ ↦ LeftRay.not_t1Space inferInstance)

On this site: The left ray topology on \(\omega_1\) is not arc connected; The left ray topology on \(\omega_1\) is not locally arc connected