Lean library · module TopologyByExample.Spaces.LeftRay

The left ray topology on ω₁

Source file

The left ray topology on the first uncountable ordinal ω₁ has as open sets the initial segments [0, a) for a ≤ ω₁: the empty set (a = 0), the whole space (a = ω₁) and the segments Set.Iio a for countable ordinals a. These are exactly the lower sets of ω₁, so the topology is Mathlib's lower set topology Topology.lowerSet, and we build the space on Mathlib's type synonym WithLowerSet OmegaOne.

Choice of type

WithLowerSet α carries only the preorder of α. We wrap WithLowerSet OmegaOne in a def, TopologyByExample.LeftRay, and register on it the linear order, least element and well-foundedness of OmegaOne together with the topology of WithLowerSet OmegaOne; the Topology.IsLowerSet instance then holds by definition, and every general result about lower set topologies applies. TopologyByExample.LeftRay.homeomorphWithLowerSet is the identity homeomorphism with Mathlib's type.

General results

The general results about lower set topologies that the values rely on are in TopologyByExample.Theorems.LowerSetTopology.

The values of the left ray on ω₁

Asserted (each from the general results and two facts about ω₁: countable sets are bounded above, and there is no largest element):

Consequences recorded for convenience (the general theorems derive them): TopologyByExample.LeftRay.instNormalSpace, instCountablyCompactSpace, not_compactSpace, not_t2Space, not_regularSpace, not_perfectlyNormalSpace.

Further facts: TopologyByExample.LeftRay.isOpen_iff (the open sets are the whole space and the segments Set.Iio a), closure_singleton, specializes_iff, instIrreducibleSpace, dense_of_isOpen, bddAbove_of_countable, tendsto_nhds_iff.

Connectedness

Every point lies in the closure of 0, so the space is path connected and locally path connected (TopologyByExample.LeftRay.instPathPreconnectedSpace, TopologyByExample.LeftRay.instLocallyPathConnectedSpace).

References

The space is π-Base's S000217, "Left ray topology on ω₁" (CC BY 4.0).

Tags

left ray topology, lower set topology, Alexandrov topology, first uncountable ordinal

This file was written by Claude (Anthropic's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.

Imports

definition LeftRay

TopologyByExample.LeftRay

The left ray topology on ω₁: the countable ordinals, whose open sets are the initial segments [0, a) for a ≤ ω₁, that is, the lower sets. It is Mathlib's WithLowerSet OmegaOne, with the linear order of OmegaOne registered on it.

def LeftRay : Type
:= WithLowerSet OmegaOne

On this site: Space: Left ray topology on \(\omega_1\)

instance

noncomputable instance : LinearOrder LeftRay
Proof
:= inferInstanceAs (LinearOrder OmegaOne)

instance

noncomputable instance : OrderBot LeftRay
Proof
:= inferInstanceAs (OrderBot OmegaOne)

instance

instance : WellFoundedLT LeftRay
Proof
:= inferInstanceAs (WellFoundedLT OmegaOne)

instance

instance : NoMaxOrder LeftRay
Proof
:= inferInstanceAs (NoMaxOrder OmegaOne)

instance

instance : TopologicalSpace LeftRay
Proof
:= inferInstanceAs (TopologicalSpace (WithLowerSet OmegaOne))

instance

instance : Topology.IsLowerSet LeftRay
Proof
:= ⟨rfl⟩

definition orderIsoOmegaOne

TopologyByExample.LeftRay.orderIsoOmegaOne

The left ray on ω₁ has the order of ω₁.

noncomputable def orderIsoOmegaOne : LeftRay ≃o OmegaOne
:= OrderIso.refl _

definition homeomorphWithLowerSet

TopologyByExample.LeftRay.homeomorphWithLowerSet

The left ray on ω₁ is Mathlib's lower set topology on OmegaOne, WithLowerSet OmegaOne.

def homeomorphWithLowerSet : LeftRay ≃ₜ WithLowerSet OmegaOne
:= Homeomorph.refl _

theorem isOpen_iff

TopologyByExample.LeftRay.isOpen_iff

The open sets of the left ray on ω₁ are the whole space and the initial segments [0, a) for countable ordinals a (the empty set being [0, 0)).

theorem isOpen_iff {s : Set LeftRay} : IsOpen s ↔ s = univ ∨ ∃ a, s = Iio a
Proof
:= by
  rw [Topology.IsLowerSet.isOpen_iff_isLowerSet]
  constructor
  · intro hs
    by_cases hu : s = univ
    · exact Or.inl hu
    obtain ⟨b, hb⟩ := (ne_univ_iff_exists_notMem s).1 hu
    obtain ⟨a, ha, hmin⟩ := wellFounded_lt.has_min sᶜ ⟨b, hb⟩
    refine Or.inr ⟨a, ext fun x ↦ ⟨fun hx ↦ ?_, fun hx ↦ ?_⟩⟩
    · exact lt_of_not_ge fun hax ↦ ha (hs hax hx)
    · by_contra hxs
      exact hmin x hxs hx
  · rintro (rfl | ⟨a, rfl⟩)
    · exact isLowerSet_univ
    · exact _root_.IsLowerSet.Iio a

On this site: Left ray topology on \(\omega_1\): The open sets are the whole space and the rays \(\{s : s < a\}\)

theorem closure_singleton

TopologyByExample.LeftRay.closure_singleton

The closure of a point a of the left ray on ω₁ is the final segment [a, ω₁).

theorem closure_singleton (a : LeftRay) : closure {a} = Ici a
Proof
:=
  Topology.IsLowerSet.closure_singleton

On this site: Left ray topology on \(\omega_1\): The closure of a point is a final segment

theorem specializes_iff

TopologyByExample.LeftRay.specializes_iff

The specialization order of the left ray on ω₁ is its order: a ⤳ b iff a ≤ b.

theorem specializes_iff {a b : LeftRay} : a ⤳ b ↔ a ≤ b
Proof
:=
  Topology.IsLowerSet.specializes_iff_le

theorem bddAbove_of_countable

TopologyByExample.LeftRay.bddAbove_of_countable

In the left ray on ω₁, every countable set is bounded above.

theorem bddAbove_of_countable {s : Set LeftRay} (hs : s.Countable) : BddAbove s
Proof
:=
  OmegaOne.bddAbove_of_countable (s := s) hs

theorem tendsto_nhds_iff

TopologyByExample.LeftRay.tendsto_nhds_iff

In the left ray on ω₁, f tends to a iff eventually f ≤ a.

theorem tendsto_nhds_iff {β : Type*} {l : Filter β} {f : β → LeftRay} {a : LeftRay} :
    Tendsto f l (𝓝 a) ↔ ∀ᶠ b in l, f b ≤ a
Proof
:=
  Topology.IsLowerSet.tendsto_nhds_iff

On this site: Left ray topology on \(\omega_1\): Convergence

theorem dense_of_isOpen

TopologyByExample.LeftRay.dense_of_isOpen

Every nonempty open set of the left ray on ω₁ is dense.

theorem dense_of_isOpen {s : Set LeftRay} (hs : IsOpen s) (hne : s.Nonempty) : Dense s
Proof
:=
  Topology.IsLowerSet.dense_of_isOpen hs hne

instance instIrreducibleSpace

TopologyByExample.LeftRay.instIrreducibleSpace

The left ray on ω₁ is irreducible: any two nonempty open sets meet.

instance instIrreducibleSpace : IrreducibleSpace LeftRay
Proof
:= inferInstance

On this site: Left ray topology on \(\omega_1\): Any two nonempty open sets meet

Separation axioms

instance instT0Space

TopologyByExample.LeftRay.instT0Space

The left ray on ω₁ is T₀.

instance instT0Space : T0Space LeftRay
Proof
:= inferInstance

On this site: The left ray topology on \(\omega_1\) is T₀

theorem not_t1Space

TopologyByExample.LeftRay.not_t1Space

The left ray on ω₁ is not T₁: 0 lies in the closure of no other point, but every larger point lies in the closure of 0.

theorem not_t1Space : ¬T1Space LeftRay
Proof
:=
  let ⟨_, hb⟩ := exists_gt (⊥ : LeftRay)
  Topology.IsLowerSet.not_t1Space_of_lt hb

On this site: The left ray topology on \(\omega_1\) is not T₁

instance instCompletelyNormalSpace

TopologyByExample.LeftRay.instCompletelyNormalSpace

The left ray on ω₁ is completely normal: of two nonempty sets, one meets the closure of the other.

instance instCompletelyNormalSpace : CompletelyNormalSpace LeftRay
Proof
:= inferInstance

On this site: The left ray topology on \(\omega_1\) is completely normal

Countability and compactness

instance instFirstCountableTopology

TopologyByExample.LeftRay.instFirstCountableTopology

The left ray on ω₁ is first countable: [0, a] is the smallest neighbourhood of a.

instance instFirstCountableTopology : FirstCountableTopology LeftRay
Proof
:= inferInstance

On this site: The left ray topology on \(\omega_1\) is first countable

instance instSeparableSpace

TopologyByExample.LeftRay.instSeparableSpace

The left ray on ω₁ is separable: {0} is dense.

instance instSeparableSpace : SeparableSpace LeftRay
Proof
:= inferInstance

On this site: The left ray topology on \(\omega_1\) is separable

theorem not_lindelofSpace

TopologyByExample.LeftRay.not_lindelofSpace

The left ray on ω₁ is not Lindelöf: a countable set of countable ordinals is bounded, so the cover by the segments [0, a] has no countable subcover.

theorem not_lindelofSpace : ¬LindelofSpace LeftRay
Proof
:= by
  rw [Topology.IsLowerSet.lindelofSpace_iff]
  rintro ⟨s, hs, hcof⟩
  obtain ⟨b, hb⟩ := bddAbove_of_countable hs
  obtain ⟨c, hc⟩ := exists_gt b
  obtain ⟨a, ha, hca⟩ := hcof c
  exact (hc.trans_le hca).not_ge (hb ha)

On this site: The left ray topology on \(\omega_1\) is not Lindelöf

instance instSeqCompactSpace

TopologyByExample.LeftRay.instSeqCompactSpace

The left ray on ω₁ is sequentially compact: every sequence converges to any upper bound of its terms, and it has one since countable sets are bounded.

instance instSeqCompactSpace : SeqCompactSpace LeftRay
Proof
:=
  Topology.IsLowerSet.seqCompactSpace_of_bddAbove fun x ↦ bddAbove_of_countable (countable_range x)

On this site: The left ray topology on \(\omega_1\) is sequentially compact

instance instWeaklyLocallyCompactSpace

TopologyByExample.LeftRay.instWeaklyLocallyCompactSpace

The left ray on ω₁ is weakly locally compact: [0, a] is a compact neighbourhood of a.

instance instWeaklyLocallyCompactSpace : WeaklyLocallyCompactSpace LeftRay
Proof
:= inferInstance

On this site: The left ray topology on \(\omega_1\) is weakly locally compact

Consequences

The content derives these values from the ones above by general theorems; they are recorded here for convenience.

instance instNormalSpace

TopologyByExample.LeftRay.instNormalSpace

The left ray on ω₁ is normal.

instance instNormalSpace : NormalSpace LeftRay
Proof
:= inferInstance

instance instCountablyCompactSpace

TopologyByExample.LeftRay.instCountablyCompactSpace

The left ray on ω₁ is countably compact.

instance instCountablyCompactSpace : CountablyCompactSpace LeftRay
Proof
:= inferInstance

theorem not_compactSpace

TopologyByExample.LeftRay.not_compactSpace

The left ray on ω₁ is not compact.

theorem not_compactSpace : ¬CompactSpace LeftRay
Proof
:= fun _ ↦ not_lindelofSpace inferInstance

theorem not_t2Space

TopologyByExample.LeftRay.not_t2Space

The left ray on ω₁ is not Hausdorff.

theorem not_t2Space : ¬T2Space LeftRay
Proof
:= fun _ ↦ not_t1Space inferInstance

theorem not_regularSpace

TopologyByExample.LeftRay.not_regularSpace

The left ray on ω₁ is not regular: a regular T₀ space is T₁.

theorem not_regularSpace : ¬RegularSpace LeftRay
Proof
:= fun _ ↦
  not_t1Space (t1Space_of_t0Space_of_regularSpace)

theorem not_perfectlyNormalSpace

TopologyByExample.LeftRay.not_perfectlyNormalSpace

The left ray on ω₁ is not perfectly normal: a perfectly normal T₀ space is T₁.

theorem not_perfectlyNormalSpace : ¬PerfectlyNormalSpace LeftRay
Proof
:= fun _ ↦
  not_t1Space (t1Space_of_t0Space_of_perfectlyNormalSpace)

Connectedness

instance instPathPreconnectedSpace

TopologyByExample.LeftRay.instPathPreconnectedSpace

The left ray topology on ω₁ is path connected: every point lies in the closure of 0.

instance instPathPreconnectedSpace : PathPreconnectedSpace LeftRay
Proof
:=
  pathPreconnectedSpace_of_forall_specializes ⊥ fun _ ↦ specializes_iff.2 bot_le

On this site: The left ray topology on \(\omega_1\) is path connected

instance instLocallyPathConnectedSpace

TopologyByExample.LeftRay.instLocallyPathConnectedSpace

The left ray topology on ω₁ is locally path connected: every point lies in the closure of 0.

instance instLocallyPathConnectedSpace : LocallyPathConnectedSpace LeftRay
Proof
:=
  locallyPathConnectedSpace_of_forall_specializes ⊥ fun _ ↦ specializes_iff.2 bot_le

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

Further properties

theorem preirreducibleSpace

TopologyByExample.LeftRay.preirreducibleSpace

The left ray on ω₁ is hyperconnected: every nonempty open set contains 0.

theorem preirreducibleSpace : PreirreducibleSpace LeftRay
Proof
:= inferInstance

On this site: The left ray topology on \(\omega_1\) is hyperconnected

theorem ultraconnectedSpace

TopologyByExample.LeftRay.ultraconnectedSpace

The left ray on ω₁ is ultraconnected: the closures of a and b are the final segments from a and from b, which both contain max a b.

theorem ultraconnectedSpace : UltraconnectedSpace LeftRay
Proof
:=
  ⟨fun a b ↦ ⟨max a b, by rw [closure_singleton]; exact le_max_left a b,
    by rw [closure_singleton]; exact le_max_right a b⟩⟩

theorem scatteredSpace

TopologyByExample.LeftRay.scatteredSpace

The left ray on ω₁ is scattered: the least element of a nonempty set is isolated in it, since the initial segment [0, a] is open.

theorem scatteredSpace : ScatteredSpace LeftRay
Proof
:=
  scatteredSpace_of_isOpen_Iic fun a ↦
    Topology.IsLowerSet.isOpen_iff_isLowerSet.2 (IsLowerSet.Iic a)

On this site: The left ray topology on \(\omega_1\) is scattered