Lean library · module TopologyByExample.Spaces.DeletedOrdinalCompactification

The Stone–Čech compactification of the deleted ordinal square

Source file

All continuous maps to compact Hausdorff spaces extend over the missing corner. Consequently the full ordinal square, with its given inclusion of the deleted square, is the Stone–Čech compactification.

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 denseRange_val

TopologyByExample.DeletedOrdinalSquare.denseRange_val

The inclusion of the deleted square has dense image.

theorem denseRange_val : DenseRange (Subtype.val : DeletedOrdinalSquare → Compactification)
Proof
:= by
  intro p
  by_cases hp : p = (⊤, ⊤)
  · exact hp ▸ corner_mem_closure
  · exact subset_closure ⟨⟨p, hp⟩, rfl⟩

theorem isDenseInducing_val

TopologyByExample.DeletedOrdinalSquare.isDenseInducing_val

The inclusion of the deleted square is a dense inducing map.

theorem isDenseInducing_val :
    IsDenseInducing (Subtype.val : DeletedOrdinalSquare → Compactification)
Proof
:=
  ⟨IsInducing.subtypeVal, denseRange_val⟩

theorem tail_mem_comap

TopologyByExample.DeletedOrdinalSquare.tail_mem_comap

Both coordinates exceed any prescribed countable bound near the missing corner.

theorem tail_mem_comap (a : OmegaOne) :
    {p : DeletedOrdinalSquare | (a : WithTop OmegaOne) ≤ p.val.1 ∧
      (a : WithTop OmegaOne) ≤ p.val.2} ∈
        comap Subtype.val (𝓝 ((⊤, ⊤) : Compactification))
Proof
:= by
  apply mem_of_superset (preimage_mem_comap
    ((isOpen_lt continuous_const continuous_fst).inter
      (isOpen_lt continuous_const continuous_snd) |>.mem_nhds
        (show (a : WithTop OmegaOne) < ⊤ ∧ (a : WithTop OmegaOne) < ⊤ from
          ⟨WithTop.coe_lt_top a, WithTop.coe_lt_top a⟩)))
  intro p hp
  exact ⟨hp.1.le, hp.2.le⟩

theorem exists_tendsto_corner

TopologyByExample.DeletedOrdinalSquare.exists_tendsto_corner

A continuous map to a compact Hausdorff space has a limit at the missing corner.

theorem exists_tendsto_corner {Y : Type*} [TopologicalSpace Y] [CompactSpace Y] [T2Space Y]
    {f : DeletedOrdinalSquare → Y} (hf : Continuous f) :
    ∃ y, Tendsto f (comap Subtype.val (𝓝 ((⊤, ⊤) : Compactification))) (𝓝 y)
Proof
:= by
  obtain ⟨y, hy⟩ := OmegaOnePlusOne.exists_tendsto_atTop (hf.comp continuous_diagonal)
  refine ⟨y, fun U hU ↦ ?_⟩
  obtain ⟨V, hVU, hVo, hyV⟩ := mem_nhds_iff.mp hU
  obtain ⟨g, hg, hgy, hgV⟩ :=
    CompletelyRegularSpace.completely_regular y Vᶜ hVo.isClosed_compl (by simpa using hyV)
  obtain ⟨a, ha⟩ := exists_forall_tail_eq (hg.comp hf)
  have hg0 : g (f (diagonal a)) = 0 := by
    have he : ∀ᶠ b : OmegaOne in atTop, g (f (diagonal b)) = g (f (diagonal a)) :=
      (eventually_ge_atTop a).mono fun b hb ↦
        ha (diagonal b) (WithTop.coe_le_coe.mpr hb) (WithTop.coe_le_coe.mpr hb)
    have ht := (hg.tendsto y).comp hy
    rw [hgy] at ht
    exact tendsto_nhds_unique (tendsto_const_nhds.congr' (he.mono fun _ h ↦ h.symm)) ht
  apply mem_of_superset (tail_mem_comap a)
  intro p hp
  apply hVU
  by_contra hnot
  have hp0 : g (f p) = 0 := (ha p hp.1 hp.2).trans hg0
  have hp1 : g (f p) = 1 := hgV hnot
  exact zero_ne_one (hp0.symm.trans hp1)

theorem exists_continuous_extension

TopologyByExample.DeletedOrdinalSquare.exists_continuous_extension

Every continuous map from the deleted square to a compact Hausdorff space extends continuously to the whole ordinal square.

theorem exists_continuous_extension {Y : Type*} [TopologicalSpace Y] [CompactSpace Y]
    [T2Space Y] {f : DeletedOrdinalSquare → Y} (hf : Continuous f) :
    ∃ g : Compactification → Y, Continuous g ∧
      g ∘ (Subtype.val : DeletedOrdinalSquare → Compactification) = f
Proof
:= by
  refine ⟨isDenseInducing_val.extend f, isDenseInducing_val.continuous_extend ?_, ?_⟩
  · intro p
    by_cases hp : p = (⊤, ⊤)
    · subst p
      exact exists_tendsto_corner hf
    · refine ⟨f ⟨p, hp⟩, ?_⟩
      have he := isDenseInducing_val.nhds_eq_comap (⟨p, hp⟩ : DeletedOrdinalSquare)
      rw [← he]
      exact hf.tendsto _
  · funext p
    exact isDenseInducing_val.extend_eq hf p

theorem existsUnique_homeomorph_stoneCech

TopologyByExample.DeletedOrdinalSquare.existsUnique_homeomorph_stoneCech

The whole ordinal square is the Stone–Čech compactification, uniquely by a homeomorphism preserving every point of the deleted square.

theorem existsUnique_homeomorph_stoneCech :
    ∃! h : StoneCech DeletedOrdinalSquare ≃ₜ Compactification,
      h ∘ stoneCechUnit = (Subtype.val : DeletedOrdinalSquare → Compactification)
Proof
:= by
  exact StoneCechConstruction.existsUnique_homeomorph continuous_subtypeVal denseRange_val
    (exists_continuous_extension continuous_stoneCechUnit)

On this site: The deleted ordinal square: The whole ordinal square is the Stone–Čech compactification