Lean library · module TopologyByExample.Spaces.OmegaOnePlusOne

The closed ordinal space [0, ω₁]

Source file

The space [0, ω₁] of ordinals up to and including the first uncountable ordinal ω₁, with the order topology. We take it to be the one-point compactification OnePoint OmegaOne of the space ω₁ of countable ordinals: by TopologyByExample.onePointHomeomorphWithTop it is homeomorphic to WithTop OmegaOne, the order ω₁ with a greatest element added, with its order topology.

Most of its properties come from the one-point compactification. What is particular to it:

Main statements

References

  • L. A. Steen and J. A. Seebach, Counterexamples in Topology, Example 43.

Tags

closed ordinal space, first uncountable ordinal, one-point compactification, sequential space, Stone–Čech compactification

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 homeomorphWithTop

TopologyByExample.OmegaOnePlusOne.homeomorphWithTop

[0, ω₁], the one-point compactification of ω₁, is ω₁ with a greatest element added, with the order topology.

noncomputable def homeomorphWithTop : OnePoint OmegaOne ≃ₜ WithTop OmegaOne
:=
  onePointHomeomorphWithTop OmegaOne

definition withTopToIic

TopologyByExample.OmegaOnePlusOne.withTopToIic

The map from ω₁ with a top element added to the ordinals ≤ ω₁: each countable ordinal to itself, and the top element to ω₁.

noncomputable def withTopToIic (x : WithTop OmegaOne) : Set.Iic (ω₁ : Ordinal.{0})
:=
  x.recTopCoe ⟨ω₁, mem_Iic.2 le_rfl⟩ fun y ↦ ⟨OmegaOne.toOrd y, (OmegaOne.toOrd_lt_omega_one y).le⟩

theorem withTopToIic_strictMono

TopologyByExample.OmegaOnePlusOne.withTopToIic_strictMono

The map withTopToIic is strictly monotone.

theorem withTopToIic_strictMono : StrictMono withTopToIic
Proof
:= by
  intro a b hab
  induction b using WithTop.recTopCoe with
  | top =>
    induction a using WithTop.recTopCoe with
    | top => exact absurd hab (lt_irrefl _)
    | coe a =>
      change OmegaOne.toOrd a < ω₁
      exact OmegaOne.toOrd_lt_omega_one a
  | coe b =>
    induction a using WithTop.recTopCoe with
    | top => exact absurd hab (not_lt.2 le_top)
    | coe a =>
      change OmegaOne.toOrd a < OmegaOne.toOrd b
      exact OmegaOne.toOrd_lt_toOrd.2 (WithTop.coe_lt_coe.1 hab)

theorem withTopToIic_surjective

TopologyByExample.OmegaOnePlusOne.withTopToIic_surjective

The map withTopToIic is surjective: every ordinal ≤ ω₁ is countable or ω₁.

theorem withTopToIic_surjective : Function.Surjective withTopToIic
Proof
:= by
  rintro ⟨o, ho⟩
  rcases (mem_Iic.1 ho).lt_or_eq with ho | rfl
  · exact ⟨(OmegaOne.mk ⟨o, ho⟩ : OmegaOne), Subtype.ext (OmegaOne.toOrd_mk ⟨o, ho⟩)⟩
  · exact ⟨⊤, rfl⟩

definition withTopOrderIsoIic

TopologyByExample.OmegaOnePlusOne.withTopOrderIsoIic

ω₁ with a greatest element added is order isomorphic to the set of ordinals ≤ ω₁.

noncomputable def withTopOrderIsoIic : WithTop OmegaOne ≃o Set.Iic (ω₁ : Ordinal.{0})
:=
  StrictMono.orderIsoOfSurjective withTopToIic withTopToIic_strictMono withTopToIic_surjective

definition homeomorphIic

TopologyByExample.OmegaOnePlusOne.homeomorphIic

[0, ω₁] is the ordinal space ω₁ + 1. The one-point compactification of ω₁ is homeomorphic to the set of ordinals ≤ ω₁, with the order topology (equivalently, the subspace topology from the ordinals).

noncomputable def homeomorphIic : OnePoint OmegaOne ≃ₜ Set.Iic (ω₁ : Ordinal.{0})
:=
  homeomorphWithTop.trans withTopOrderIsoIic.toHomeomorph

theorem exists_homeomorph_Iic

TopologyByExample.OmegaOnePlusOne.exists_homeomorph_Iic

The one-point compactification of ω₁ is homeomorphic to the space of ordinals ≤ ω₁, by the map that fixes every countable ordinal and sends the point at infinity to ω₁.

theorem exists_homeomorph_Iic : ∃ e : OnePoint OmegaOne ≃ₜ Set.Iic (ω₁ : Ordinal.{0}),
    (∀ x : OmegaOne, (e x : Ordinal.{0}) = OmegaOne.toOrd x) ∧ (e ∞ : Ordinal.{0}) = ω₁
Proof
:=
  ⟨homeomorphIic, fun x ↦ by simp [homeomorphIic, homeomorphWithTop, withTopOrderIsoIic,
    withTopToIic], by simp [homeomorphIic, homeomorphWithTop, withTopOrderIsoIic]⟩

On this site: Closed ordinal space \([0, \omega_1]\): The space is the ordinal space \(\omega_1 + 1\)

theorem linearlyOrderable

TopologyByExample.OmegaOnePlusOne.linearlyOrderable

[0, ω₁] is linearly orderable: it carries the order topology of a linear order.

theorem linearlyOrderable :
    ∃ o : LinearOrder (OnePoint OmegaOne), letI := o; OrderTopology (OnePoint OmegaOne)
Proof
:=
  (Homeomorph.linearlyOrderable_iff homeomorphWithTop).2 ⟨inferInstance, inferInstance⟩

On this site: The closed ordinal space \([0, \omega_1]\) is linearly orderable

theorem isSeqClosed_range_coe

TopologyByExample.OmegaOnePlusOne.isSeqClosed_range_coe

In [0, ω₁], the set ω₁ of countable ordinals is sequentially closed: a sequence of countable ordinals is bounded by some countable ordinal b, so it lies in the compact set [0, b], which is closed, and so does its limit.

theorem isSeqClosed_range_coe : IsSeqClosed (range ((↑) : OmegaOne → OnePoint OmegaOne))
Proof
:= by
  intro x p hx hp
  choose y hy using hx
  obtain ⟨b, hb⟩ := OmegaOne.bddAbove_of_countable (countable_range y)
  have hK : IsClosed (((↑) : OmegaOne → OnePoint OmegaOne) '' Iic b) :=
    ((OmegaOne.isCompact_Iic b).image continuous_coe).isClosed
  exact image_subset_range _ _ <|
    hK.mem_of_tendsto hp (Eventually.of_forall fun n ↦ ⟨y n, hb (mem_range_self n), hy n⟩)

theorem not_sequentialSpace

TopologyByExample.OmegaOnePlusOne.not_sequentialSpace

[0, ω₁] is not sequential: the set ω₁ of countable ordinals is sequentially closed but not closed, since it is dense and misses the point ω₁.

theorem not_sequentialSpace : ¬SequentialSpace (OnePoint OmegaOne)
Proof
:= fun _ ↦ by
  have h : (∞ : OnePoint OmegaOne) ∈ range ((↑) : OmegaOne → OnePoint OmegaOne) := by
    rw [← isSeqClosed_range_coe.isClosed.closure_eq, OnePoint.denseRange_coe.closure_range]
    trivial
  obtain ⟨x, hx⟩ := h
  exact OnePoint.coe_ne_infty x hx

On this site: The closed ordinal space \([0, \omega_1]\) is not sequential

theorem not_firstCountableTopology

TopologyByExample.OmegaOnePlusOne.not_firstCountableTopology

[0, ω₁] is not first countable, since first countable spaces are sequential.

theorem not_firstCountableTopology : ¬FirstCountableTopology (OnePoint OmegaOne)
Proof
:= fun _ ↦
  not_sequentialSpace inferInstance

Continuous functions on ω₁ and the Stone–Čech compactification

theorem Ici_mem_coclosedCompact

TopologyByExample.OmegaOnePlusOne.Ici_mem_coclosedCompact

In ω₁, the tail [a, ω₁) belongs to the filter of complements of closed compact sets: its complement lies in the compact set [0, a].

theorem Ici_mem_coclosedCompact (a : OmegaOne) : Ici a ∈ coclosedCompact OmegaOne
Proof
:= by
  rw [mem_coclosedCompact_iff]
  refine (OmegaOne.isCompact_Iic a).of_isClosed_subset isClosed_closure ?_
  rw [compl_Ici]
  exact closure_minimal Iio_subset_Iic_self isClosed_Iic

theorem coclosedCompact_le_atTop

TopologyByExample.OmegaOnePlusOne.coclosedCompact_le_atTop

In ω₁, the filter of complements of closed compact sets is finer than atTop, so a map that converges along atTop converges along it.

theorem coclosedCompact_le_atTop : coclosedCompact OmegaOne ≤ atTop
Proof
:=
  (atTop_basis.ge_iff).2 fun a _ ↦ Ici_mem_coclosedCompact a

theorem exists_forall_ge_dist_lt

TopologyByExample.OmegaOnePlusOne.exists_forall_ge_dist_lt

A continuous function on ω₁ into a metric space is Cauchy at the top. For every ε > 0 there is a such that f varies by less than ε on [a, ω₁).

theorem exists_forall_ge_dist_lt {Y : Type*} [PseudoMetricSpace Y] {f : OmegaOne → Y}
    (hf : Continuous f) {ε : ℝ} (hε : 0 < ε) :
    ∃ a, ∀ b ≥ a, ∀ c ≥ a, dist (f b) (f c) < ε
Proof
:= by
  by_contra! h
  choose b hb c hc hbc using h
  let t : ℕ → OmegaOne := fun n ↦ Nat.rec ⊥ (fun _ x ↦ Order.succ (max (b x) (c x))) n
  have ht (n : ℕ) : t (n + 1) = Order.succ (max (b (t n)) (c (t n))) := rfl
  have hbt (n : ℕ) : b (t n) < t (n + 1) := ht n ▸ (le_max_left _ _).trans_lt (Order.lt_succ _)
  have hct (n : ℕ) : c (t n) < t (n + 1) := ht n ▸ (le_max_right _ _).trans_lt (Order.lt_succ _)
  have hmono : Monotone t := monotone_nat_of_le_succ fun n ↦ (hb (t n)).trans (hbt n).le
  have hbdd : BddAbove (range t) := OmegaOne.bddAbove_of_countable (countable_range t)
  have hlim : Tendsto t atTop (𝓝 (⨆ n, t n)) := tendsto_atTop_isLUB hmono (isLUB_ciSup hbdd)
  have hlim' : Tendsto (fun n ↦ t (n + 1)) atTop (𝓝 (⨆ n, t n)) :=
    hlim.comp (tendsto_add_atTop_nat 1)
  have hb' : Tendsto (fun n ↦ b (t n)) atTop (𝓝 (⨆ n, t n)) :=
    tendsto_of_tendsto_of_tendsto_of_le_of_le hlim hlim' (fun n ↦ hb (t n)) fun n ↦ (hbt n).le
  have hc' : Tendsto (fun n ↦ c (t n)) atTop (𝓝 (⨆ n, t n)) :=
    tendsto_of_tendsto_of_tendsto_of_le_of_le hlim hlim' (fun n ↦ hc (t n)) fun n ↦ (hct n).le
  have hd : Tendsto (fun n ↦ dist (f (b (t n))) (f (c (t n)))) atTop (𝓝 0) := by
    simpa using ((hf.tendsto _).comp hb').dist ((hf.tendsto _).comp hc')
  obtain ⟨n, hn⟩ := (hd.eventually (gt_mem_nhds hε)).exists
  exact (hbc (t n)).not_gt hn

theorem exists_forall_ge_apply_eq

TopologyByExample.OmegaOnePlusOne.exists_forall_ge_apply_eq

Every continuous real function on ω₁ is eventually constant, and more generally every continuous function into a metric space: there is a with f b = f a for all b ≥ a.

theorem exists_forall_ge_apply_eq {Y : Type*} [MetricSpace Y] {f : OmegaOne → Y}
    (hf : Continuous f) : ∃ a, ∀ b ≥ a, f b = f a
Proof
:= by
  choose a ha using fun n : ℕ ↦ exists_forall_ge_dist_lt hf (Nat.one_div_pos_of_nat (n := n))
  have hbdd : BddAbove (range a) := OmegaOne.bddAbove_of_countable (countable_range a)
  refine ⟨⨆ n, a n, fun b hb ↦ dist_le_zero.1 (le_of_forall_gt fun ε hε ↦ ?_)⟩
  obtain ⟨n, hn⟩ := exists_nat_one_div_lt hε
  have han : a n ≤ ⨆ n, a n := le_ciSup hbdd n
  exact (ha n b (han.trans hb) _ han).trans hn

On this site: First uncountable ordinal: Continuous functions on \(\omega_1\) are eventually constant

theorem exists_tendsto_atTop

TopologyByExample.OmegaOnePlusOne.exists_tendsto_atTop

In ω₁, a continuous map f into a compact Hausdorff space converges along atTop: its cluster point y is a limit, since otherwise a continuous function to [0, 1] that is 0 at y and 1 off a neighbourhood of y would, composed with f, not be eventually constant.

theorem exists_tendsto_atTop {Y : Type*} [TopologicalSpace Y] [CompactSpace Y] [T2Space Y]
    {f : OmegaOne → Y} (hf : Continuous f) : ∃ y, Tendsto f atTop (𝓝 y)
Proof
:= by
  obtain ⟨y, -, hy⟩ := isCompact_univ.exists_clusterPt (f := map f atTop) (by simp)
  refine ⟨y, fun U hU ↦ ?_⟩
  by_contra hfU
  obtain ⟨V, hVU, hVo, hyV⟩ := mem_nhds_iff.1 hU
  obtain ⟨g, hg, hgy, hgV⟩ :=
    CompletelyRegularSpace.completely_regular y Vᶜ hVo.isClosed_compl (by simpa using hyV)
  obtain ⟨a, ha⟩ := exists_forall_ge_apply_eq (hg.comp hf)
  -- `f` is frequently outside `V`, where `g = 1`
  have h1 : ∃ b ≥ a, f b ∉ V := by
    have : ∃ᶠ b in atTop, f b ∉ V :=
      not_eventually.1 fun h ↦ hfU (mem_map.2 (h.mono fun b hb ↦ hVU hb))
    obtain ⟨b, hbV, hb⟩ := (this.and_eventually (eventually_ge_atTop a)).exists
    exact ⟨b, hb, hbV⟩
  -- `f` is frequently near `y`, where `g < 1 / 2`
  have hW : g ⁻¹' Iio ⟨1 / 2, by norm_num, by norm_num⟩ ∈ 𝓝 y :=
    (isOpen_Iio.preimage hg).mem_nhds (by simp [hgy, ← Subtype.coe_lt_coe])
  have h2 : ∃ b ≥ a, g (f b) < ⟨1 / 2, by norm_num, by norm_num⟩ := by
    have := (frequently_map.1 (hy.frequently hW)).and_eventually (eventually_ge_atTop a)
    obtain ⟨b, hb, hab⟩ := this.exists
    exact ⟨b, hab, hb⟩
  obtain ⟨b, hb, hbV⟩ := h1
  obtain ⟨c, hc, hcg⟩ := h2
  have hgb : g (f b) = 1 := hgV hbV
  have : g (f b) = g (f c) := (ha b hb).trans (ha c hc).symm
  rw [hgb] at this
  rw [← this] at hcg
  exact absurd hcg (by simp [← Subtype.coe_lt_coe]; norm_num)

theorem exists_continuous_extension

TopologyByExample.OmegaOnePlusOne.exists_continuous_extension

The extension property. Every continuous map from ω₁ to a compact Hausdorff space extends to a continuous map on [0, ω₁].

theorem exists_continuous_extension {Y : Type*} [TopologicalSpace Y] [CompactSpace Y]
    [T2Space Y] {f : OmegaOne → Y} (hf : Continuous f) :
    ∃ g : OnePoint OmegaOne → Y, Continuous g ∧ ∀ x : OmegaOne, g x = f x
Proof
:= by
  obtain ⟨y, hy⟩ := exists_tendsto_atTop hf
  exact ⟨fun p ↦ p.elim y f, (OnePoint.continuous_iff _).2
    ⟨hy.mono_left coclosedCompact_le_atTop, hf⟩, fun _ ↦ rfl⟩

On this site: Closed ordinal space \([0, \omega_1]\): Continuous maps on \(\omega_1\) into compact Hausdorff spaces extend

theorem exists_homeomorph_stoneCech

TopologyByExample.OmegaOnePlusOne.exists_homeomorph_stoneCech

[0, ω₁] is the Stone–Čech compactification of ω₁: it is homeomorphic to β ω₁ by a homeomorphism that is the identity on ω₁.

theorem exists_homeomorph_stoneCech : ∃ e : OnePoint OmegaOne ≃ₜ StoneCech OmegaOne,
    ∀ x : OmegaOne, e x = stoneCechUnit x
Proof
:= by
  obtain ⟨Φ, hΦ, hΦx⟩ := exists_continuous_extension (continuous_stoneCechUnit (α := OmegaOne))
  let Ψ : StoneCech OmegaOne → OnePoint OmegaOne := stoneCechExtend continuous_coe
  have hΨ : Continuous Ψ := continuous_stoneCechExtend _
  have hΨΦ : Ψ ∘ Φ = id := by
    refine (hΨ.comp hΦ).ext_on OnePoint.denseRange_coe continuous_id ?_
    rintro _ ⟨x, rfl⟩
    simp [Ψ, hΦx]
  have hΦΨ : Φ ∘ Ψ = id :=
    stoneCech_hom_ext (hΦ.comp hΨ) continuous_id (funext fun x ↦ by simp [Ψ, hΦx])
  exact ⟨⟨⟨Φ, Ψ, congrFun hΨΦ, congrFun hΦΨ⟩, hΦ, hΨ⟩, hΦx⟩

On this site: Closed ordinal space \([0, \omega_1]\): The space is the Stone–Čech compactification of \(\omega_1\)

On this site: Space: Closed ordinal space \([0, \omega_1]\)