Lean library · module TopologyByExample.Spaces.OmegaOnePlusOneDoubledEndpoint

[0, ω₁] with its endpoint doubled

Source file

The space [0, ω₁] with its greatest point ω₁ replaced by two points: the space TopologyByExample.WithOrigins (OnePoint OmegaOne) ∞ Bool, whose two origins are ω₁ (origin false) and the new point ω₁′ (origin true). Every neighbourhood of either of them contains a tail (β, ω₁) of the countable ordinals.

It is compact, scattered and sequentially compact, and T₁; the two top points have the same punctured neighbourhoods, so it is not semiregular. It does not satisfy the countable chain condition, it is not sequential, and it is not extremally disconnected.

Main statements

Tags

first uncountable ordinal, doubled point

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

theorem scatteredSpace_of_continuous_of_finite_preimage

TopologyByExample.scatteredSpace_of_continuous_of_finite_preimage

A T₁ space with a continuous map to a scattered space whose fibres are finite is scattered.

theorem scatteredSpace_of_continuous_of_finite_preimage {X Y : Type*} [TopologicalSpace X]
    [TopologicalSpace Y] [T1Space X] [ScatteredSpace Y] {f : X → Y} (hf : Continuous f)
    (hfin : ∀ y, (f ⁻¹' {y}).Finite) : ScatteredSpace X
Proof
:= by
  rw [scatteredSpace_iff_exists_isolated]
  intro s hs
  obtain ⟨_, ⟨x, hxs, rfl⟩, V, hV, hVs⟩ :=
    scatteredSpace_iff_exists_isolated.1 inferInstance (f '' s) (hs.image f)
  let F : Set X := (f ⁻¹' {f x} ∩ s) \ {x}
  have hF : IsClosed F := ((hfin (f x)).subset (sdiff_subset.trans inter_subset_left)).isClosed
  refine ⟨x, hxs, f ⁻¹' V ∩ Fᶜ, inter_mem (hf.continuousAt.preimage_mem_nhds hV)
    (hF.isOpen_compl.mem_nhds fun h ↦ h.2 rfl), ?_⟩
  rintro z ⟨⟨hzV, hzF⟩, hzs⟩
  have hfz : f z = f x := hVs ⟨hzV, z, hzs, rfl⟩
  by_contra hzx
  exact hzF ⟨⟨hfz, hzs⟩, hzx⟩
variable {X : Type*} [TopologicalSpace X] {p : X} {I : Type*}

theorem seqCompactSpace

TopologyByExample.WithOrigins.seqCompactSpace

With finitely many origins, WithOrigins X p I is sequentially compact when X is: some sheet contains infinitely many terms of a sequence, and their images in X have a convergent subsequence.

theorem seqCompactSpace [SeqCompactSpace X] [Finite I] :
    SeqCompactSpace (WithOrigins X p I)
Proof
:= by
  refine ⟨fun u _ ↦ ?_⟩
  choose y i hyi using fun n ↦ exists_mk (u n)
  obtain ⟨j, hj⟩ := Finite.exists_infinite_fiber i
  obtain ⟨φ, hφ, hφj⟩ := extraction_of_frequently_atTop
    (Nat.frequently_atTop_iff_infinite.2 (Set.infinite_coe_iff.1 hj))
  obtain ⟨a, ψ, hψ, ha⟩ := SeqCompactSpace.tendsto_subseq (fun n ↦ y (φ n))
  refine ⟨chart j a, mem_univ _, φ ∘ ψ, hφ.comp hψ, ?_⟩
  have : u ∘ (φ ∘ ψ) = chart j ∘ ((fun n ↦ y (φ n)) ∘ ψ) := by
    funext n
    simp only [Function.comp_apply, chart_apply, ← hyi]
    rw [show i (φ (ψ n)) = j from hφj (ψ n)]
  rw [this]
  exact ((continuous_chart j).tendsto a).comp ha

definition OmegaOnePlusOneDoubledEndpoint

TopologyByExample.OmegaOnePlusOneDoubledEndpoint

[0, ω₁] with its endpoint doubled: the points ω₁ and ω₁′ both have the tails (β, ω₁) of the countable ordinals as punctured neighbourhoods.

abbrev OmegaOnePlusOneDoubledEndpoint : Type
:=
  WithOrigins (OnePoint OmegaOne) ∞ Bool

On this site: Space: \([0, \omega_1]\) with its endpoint doubled

definition embed

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.embed

The sheet false restricted to the countable ordinals, an open embedding of ω₁.

def embed : OmegaOne → OmegaOnePlusOneDoubledEndpoint
:=
  fun x ↦ mk (x : OnePoint OmegaOne) false

theorem isOpenEmbedding_embed

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.isOpenEmbedding_embed

theorem isOpenEmbedding_embed : IsOpenEmbedding embed
Proof
:=
  (isOpenEmbedding_chart false).comp OnePoint.isOpenEmbedding_coe

theorem t1Space

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.t1Space

[0, ω₁] with its endpoint doubled is T₁.

theorem t1Space : T1Space OmegaOnePlusOneDoubledEndpoint
Proof
:=
  inferInstance

On this site: The space \([0, \omega_1]\) with its endpoint doubled is T₁

theorem compactSpace

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.compactSpace

[0, ω₁] with its endpoint doubled is compact.

theorem compactSpace : CompactSpace OmegaOnePlusOneDoubledEndpoint
Proof
:=
  WithOrigins.compactSpace

On this site: The space \([0, \omega_1]\) with its endpoint doubled is compact

theorem scatteredSpace

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.scatteredSpace

[0, ω₁] with its endpoint doubled is scattered: the projection to [0, ω₁] is continuous with fibres of at most two points.

theorem scatteredSpace : ScatteredSpace OmegaOnePlusOneDoubledEndpoint
Proof
:= by
  have := OmegaOne.scatteredSpace
  refine scatteredSpace_of_continuous_of_finite_preimage continuous_proj fun y ↦ ?_
  refine (finite_range fun i : Bool ↦ (mk y i : OmegaOnePlusOneDoubledEndpoint)).subset ?_
  intro q hq
  obtain ⟨x, i, rfl⟩ := exists_mk q
  simp only [mem_preimage, proj_mk, mem_singleton_iff] at hq
  exact ⟨i, by rw [hq]⟩

On this site: The space \([0, \omega_1]\) with its endpoint doubled is scattered

theorem seqCompactSpace

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.seqCompactSpace

[0, ω₁] with its endpoint doubled is sequentially compact.

theorem seqCompactSpace : SeqCompactSpace OmegaOnePlusOneDoubledEndpoint
Proof
:=
  have := seqCompactSpace_onePoint_of_firstCountableTopology (X := OmegaOne)
  WithOrigins.seqCompactSpace

On this site: The space \([0, \omega_1]\) with its endpoint doubled is sequentially compact

theorem not_countableChainCondition

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.not_countableChainCondition

[0, ω₁] with its endpoint doubled does not satisfy the countable chain condition: it contains ω₁ as an open subspace.

theorem not_countableChainCondition :
    ¬∀ S : Set (Set OmegaOnePlusOneDoubledEndpoint), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) →
      S.PairwiseDisjoint id → S.Countable
Proof
:=
  fun h ↦ OmegaOne.not_countableChainCondition (ccc_of_isOpenEmbedding isOpenEmbedding_embed h)

On this site: The space \([0, \omega_1]\) with its endpoint doubled does not satisfy the countable chain condition

theorem not_sequentialSpace

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.not_sequentialSpace

[0, ω₁] with its endpoint doubled is not sequential: the countable ordinals form a sequentially closed set that is not closed.

theorem not_sequentialSpace : ¬SequentialSpace OmegaOnePlusOneDoubledEndpoint
Proof
:= by
  intro _
  have hS : IsSeqClosed (proj ⁻¹' range ((↑) : OmegaOne → OnePoint OmegaOne) :
      Set OmegaOnePlusOneDoubledEndpoint) :=
    OmegaOnePlusOne.isSeqClosed_range_coe.preimage continuous_proj.seqContinuous
  have hc : IsClosed (range ((↑) : OmegaOne → OnePoint OmegaOne)) := by
    have := hS.isClosed.preimage (continuous_chart (p := (∞ : OnePoint OmegaOne)) false)
    simpa [preimage_preimage] using this
  have h : (∞ : OnePoint OmegaOne) ∈ range ((↑) : OmegaOne → OnePoint OmegaOne) := by
    rw [← hc.closure_eq, OnePoint.denseRange_coe.closure_range]
    trivial
  obtain ⟨x, hx⟩ := h
  exact OnePoint.coe_ne_infty x hx

On this site: The space \([0, \omega_1]\) with its endpoint doubled is not sequential

theorem closure_mem_nhds_top

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.closure_mem_nhds_top

The closure of every neighbourhood of either top point is a neighbourhood of the other.

theorem closure_mem_nhds_top (i j : Bool) :
    ∀ U ∈ 𝓝 (origin i : OmegaOnePlusOneDoubledEndpoint), closure U ∈ 𝓝 (origin j)
Proof
:=
  closure_mem_nhds_origin i j

theorem not_semiregularSpace

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.not_semiregularSpace

[0, ω₁] with its endpoint doubled is not semiregular.

theorem not_semiregularSpace : ¬SemiregularSpace OmegaOnePlusOneDoubledEndpoint
Proof
:=
  not_semiregularSpace_of_closure_mem_nhds_of_ne (closure_mem_nhds_top false true)
    (origin_injective.ne (by decide))

On this site: The space \([0, \omega_1]\) with its endpoint doubled is not semiregular

theorem exists_succ_ge

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.exists_succ_ge

The successors of the countable ordinals of a given parity are unbounded.

theorem exists_succ_ge (b : OmegaOne) (r : Ordinal) (hr : r = 0 ∨ r = 1) :
    ∃ a, OmegaOne.toOrd a % 2 = r ∧ b ≤ succ a
Proof
:= by
  rcases Ordinal.mod_two_eq_zero_or_one (OmegaOne.toOrd b) with h | h <;>
    rcases hr with rfl | rfl
  · exact ⟨b, h, le_succ b⟩
  · refine ⟨succ b, ?_, (le_succ b).trans (le_succ _)⟩
    rw [OmegaOne.toOrd_succ, Ordinal.add_one_mod_two, h, zero_add]
    exact Ordinal.mod_eq_of_lt (by norm_num)
  · refine ⟨succ b, ?_, (le_succ b).trans (le_succ _)⟩
    rw [OmegaOne.toOrd_succ, Ordinal.add_one_mod_two, h, one_add_one_eq_two]
    exact Ordinal.mod_self 2
  · exact ⟨b, h, le_succ b⟩

theorem isOpen_singleton_succ

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.isOpen_singleton_succ

A successor ordinal is an isolated point of ω₁.

theorem isOpen_singleton_succ (a : OmegaOne) : IsOpen ({succ a} : Set OmegaOne)
Proof
:= by
  have : ({succ a} : Set OmegaOne) = Ioi a ∩ Iic (succ a) := by
    ext x
    simp only [mem_singleton_iff, mem_inter_iff, mem_Ioi, mem_Iic, ← Order.succ_le_iff]
    exact ⟨fun hx ↦ ⟨hx.ge, hx.le⟩, fun hx ↦ le_antisymm hx.2 hx.1⟩
  rw [this]
  exact isOpen_Ioi.inter (OmegaOne.isOpen_Iic _)

definition succOfParity

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.succOfParity

The successors of the countable ordinals of parity r.

def succOfParity (r : Ordinal) : Set OmegaOne
:=
  {x | ∃ a, OmegaOne.toOrd a % 2 = r ∧ x = succ a}

theorem isOpen_succOfParity

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.isOpen_succOfParity

theorem isOpen_succOfParity (r : Ordinal) : IsOpen (succOfParity r)
Proof
:= by
  have : succOfParity r = ⋃ a ∈ {a : OmegaOne | OmegaOne.toOrd a % 2 = r}, {succ a} := by
    ext x
    simp [succOfParity, eq_comm]
  rw [this]
  exact isOpen_biUnion fun a _ ↦ isOpen_singleton_succ a

theorem exists_forall_ge_mem

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.exists_forall_ge_mem

Every neighbourhood of the top point ω₁ contains the image of a tail of ω₁.

theorem exists_forall_ge_mem {U : Set OmegaOnePlusOneDoubledEndpoint}
    (hU : U ∈ 𝓝 (origin false)) : ∃ b, ∀ x ≥ b, embed x ∈ U
Proof
:= by
  rw [origin, nhds_mk] at hU
  have h : ((↑) : OmegaOne → OnePoint OmegaOne) ⁻¹' (chart false ⁻¹' U) ∈
      coclosedCompact OmegaOne := by
    rw [← OnePoint.comap_coe_nhds_infty]
    exact preimage_mem_comap hU
  obtain ⟨b, hb⟩ := mem_atTop_sets.1 (atTop_le_cocompact (cocompact_le_coclosedCompact h))
  exact ⟨b, fun x hx ↦ hb x hx⟩

theorem not_extremallyDisconnected

TopologyByExample.OmegaOnePlusOneDoubledEndpoint.not_extremallyDisconnected

[0, ω₁] with its endpoint doubled is not extremally disconnected: the successors of even ordinals and of odd ordinals are disjoint open sets, but the closure of the first contains a neighbourhood of ω₁, which meets the second.

theorem not_extremallyDisconnected : ¬ExtremallyDisconnected OmegaOnePlusOneDoubledEndpoint
Proof
:= by
  intro hED
  set A := embed '' succOfParity 0
  set B := embed '' succOfParity 1
  have hA : IsOpen A := isOpenEmbedding_embed.isOpenMap _ (isOpen_succOfParity 0)
  have hB : IsOpen B := isOpenEmbedding_embed.isOpenMap _ (isOpen_succOfParity 1)
  have hAB : Disjoint A B := by
    rw [disjoint_iff_forall_ne]
    rintro _ ⟨x, ⟨a, ha, rfl⟩, rfl⟩ _ ⟨y, ⟨c, hc, rfl⟩, rfl⟩ h
    have hac : a = c := succ_injective (isOpenEmbedding_embed.injective h)
    rw [hac, hc] at ha
    exact zero_ne_one ha.symm
  have hcl : origin false ∈ closure A := by
    refine mem_closure_iff_nhds.2 fun U hU ↦ ?_
    obtain ⟨b, hb⟩ := exists_forall_ge_mem hU
    obtain ⟨a, ha, hba⟩ := exists_succ_ge b 0 (Or.inl rfl)
    exact ⟨_, hb _ hba, succ a, ⟨a, ha, rfl⟩, rfl⟩
  obtain ⟨b, hb⟩ := exists_forall_ge_mem
    ((ExtremallyDisconnected.open_closure A hA).mem_nhds hcl)
  obtain ⟨a, ha, hba⟩ := exists_succ_ge b 1 (Or.inr rfl)
  have hmem : embed (succ a) ∈ closure A ∩ B := ⟨hb _ hba, succ a, ⟨a, ha, rfl⟩, rfl⟩
  exact (hAB.closure_left hB).le_bot hmem

On this site: The space \([0, \omega_1]\) with its endpoint doubled is not extremally disconnected