Lean library · module TopologyByExample.Spaces.VaughanSpace

Vaughan's space

Source file

J. E. Vaughan's example of a first countable, countably compact Hausdorff space that is not normal, constructed in ZFC (J. E. Vaughan, A countably compact, first countable, nonnormal T₂-space, Proc. Amer. Math. Soc. 75 (1979), 339–342). It is also zero-dimensional, locally compact and ω-bounded, hence not separable (p. 339).

The space

Over every countable ordinal α there is a column of points pt α i, i : ℕ. A column over a non-limit α converges to one extra point tip α: Vaughan's h_α if α is a nonzero even ordinal, his k_α if α is odd or zero (TopologyByExample.tipColour). A column over a limit μ is the limit of the points at the same height in the columns below μ (so the columns form a copy of ω₁ × ℕ), and over μ there are two extra points, top μ _ true (h_μ) and top μ _ false (k_μ). The set H of the h points and the set K of the k points are closed and disjoint.

Vaughan builds the topology by a recursion on the countable ordinals (p. 340–341): at a limit μ he adds the column over μ and then h_μ and k_μ by a two-point compactification, choosing a clopen partition U ⊔ V of what has been built, with H on the side of U and K on the side of V; neighbourhoods of h_μ are h_μ together with U minus a compact set (his Lemma, p. 340). We make the choice explicit, so that the topology can be given at once by neighbourhood bases (TopologyByExample.VaughanSpace.basic). We fix a coherent sequence of finite-to-one functions coherentSeq μ on the ordinals below μ: any two agree except at finitely many points (TopologyByExample.OmegaOne.coherentSeq). At μ, a point pt α i of a column over an odd or zero α is on the side of k_μ exactly when i ≥ coherentSeq μ α; the other k points are on the side of k_μ and every other point on the side of h_μ (TopologyByExample.VaughanSpace.colour). A basic neighbourhood of h_μ consists of the points on its side whose rank lies in an interval (β, μ] and that are not at a height below some n. Coherence makes these sides clopen (TopologyByExample.VaughanSpace.exists_colour_eq). The coherent sequence and the other facts about ω₁ used here are in TopologyByExample.Spaces.OmegaOne.

Main definitions

Main statements

  • TopologyByExample.VaughanSpace.hasBasis_nhds: the neighbourhoods.
  • TopologyByExample.VaughanSpace.isClopen_basic: the basic neighbourhoods are clopen; so the space is zero-dimensional (instZeroDimensionalSpace), and, being T₀ (instT0Space), completely regular and Hausdorff by Mathlib's instances.
  • instFirstCountableTopology.
  • TopologyByExample.VaughanSpace.isCompact_setOf_rank_le: the points of rank at most α form a compact open set; hence the space is locally compact (instWeaklyLocallyCompactSpace), ω-bounded (isCompact_closure_of_countable), countably compact (instCountablyCompactSpace) and not separable (not_separableSpace).
  • TopologyByExample.VaughanSpace.not_normalSpace: Vaughan's pigeonhole argument (p. 341–342).
  • Consequences: sequentially compact, locally compact, totally separated, Urysohn; not compact, Lindelöf, σ-compact, second countable, metrizable, completely normal, perfectly normal, connected, path connected, locally connected or locally path connected.

Tags

Vaughan's space, countably compact, first countable, not normal, ω-bounded, coherent sequence

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

The points and the neighbourhoods

definition tipColour

TopologyByExample.tipColour

Which kind of extra point a column over a non-limit countable ordinal α carries: true (an h point) when α is even and nonzero, false (a k point) when α is odd or zero. For α = λ + m with λ zero or a limit and m finite, α is even exactly when m is, so this is Vaughan's division of the non-limit ordinals into the even successors λ + 2n (n ≥ 1) and the rest.

noncomputable def tipColour (α : OmegaOne) : Bool
:=
  open Classical in decide (OmegaOne.toOrd α % 2 = 0 ∧ α ≠ ⊥)

inductive type VaughanSpace

TopologyByExample.VaughanSpace

Vaughan's space: a column of points pt α i (i : ℕ) over every countable ordinal α; one extra point tip α over every non-limit α, the limit of its column; and two extra points top μ true and top μ false (Vaughan's h_μ and k_μ) over every limit μ. The topology is given by neighbourhood bases, TopologyByExample.VaughanSpace.basic.

inductive VaughanSpace : Type
  /-- The point at height `i` in the column over `α`. -/
  | pt (α : OmegaOne) (i : ℕ)
  /-- The limit of the column over a non-limit `α`. -/
  | tip (α : OmegaOne) (hα : ¬IsSuccLimit α)
  /-- The two extra points over a limit `μ`: `h_μ` (`b = true`) and `k_μ` (`b = false`). -/
  | top (μ : OmegaOne) (hμ : IsSuccLimit μ) (b : Bool)

On this site: Space: Vaughan's space

definition rank

TopologyByExample.VaughanSpace.rank

The ordinal over which a point lies.

def rank : VaughanSpace → OmegaOne
  | pt α _ => α
  | tip α _ => α
  | top μ _ _ => μ

definition colour

TopologyByExample.VaughanSpace.colour

The colour of a point at the limit l: the partition of the points of rank at most l into the side of top l _ true (true) and the side of top l _ false (false). All points are coloured true except the k points (tip α with tipColour α = false, and top μ _ false) and the points pt α i of their columns at heights i ≥ coherentSeq l α.

noncomputable def colour (l : OmegaOne) : VaughanSpace → Bool
Definition
  | pt α i => open Classical in
      !decide (¬IsSuccLimit α ∧ tipColour α = false ∧ coherentSeq l α ≤ i)
  | tip α _ => tipColour α
  | top _ _ b => b

definition OffStrip

TopologyByExample.VaughanSpace.OffStrip

OffStrip n x: x is not a point pt α j of height j < n.

def OffStrip (n : ℕ) : VaughanSpace → Prop
  | pt _ j => n ≤ j
  | tip _ _ => True
  | top _ _ _ => True

definition basic

TopologyByExample.VaughanSpace.basic

The basic neighbourhoods of a point, indexed by a countable ordinal β and n : ℕ: * pt α i, α not a limit: {pt α i}; * pt α i, α a limit: {pt δ i | β < δ ≤ α}; * tip α: tip α and the points pt α j, j ≥ n; * top μ b: the points x with β < rank x ≤ μ, of colour b at μ, off the strip of heights below n.

def basic : VaughanSpace → OmegaOne × ℕ → Set VaughanSpace
Definition
  | pt α i, k =>
      {x | ∃ δ, x = pt δ i ∧ (IsSuccLimit α → k.1 < δ ∧ δ ≤ α) ∧ (¬IsSuccLimit α → δ = α)}
  | tip α hα, k => insert (tip α hα) {x | ∃ j, x = pt α j ∧ k.2 ≤ j}
  | top μ _ b, k => {x | k.1 < rank x ∧ rank x ≤ μ ∧ colour μ x = b ∧ OffStrip k.2 x}

definition IsIndex

TopologyByExample.VaughanSpace.IsIndex

The admissible indices (β, n) of basic neighbourhoods of x: β = ⊥ or β < rank x.

def IsIndex (x : VaughanSpace) (k : OmegaOne × ℕ) : Prop
:=
  k.1 = ⊥ ∨ k.1 < rank x

theorem lt

TopologyByExample.VaughanSpace.IsIndex.lt

theorem IsIndex.lt {x : VaughanSpace} {k : OmegaOne × ℕ} (hk : IsIndex x k)
    (hx : IsSuccLimit (rank x)) : k.1 < rank x
Proof
:=
  hk.elim (fun h ↦ h ▸ hx.bot_lt) id

theorem isIndex_bot

TopologyByExample.VaughanSpace.isIndex_bot

theorem isIndex_bot (x : VaughanSpace) (n : ℕ) : IsIndex x (⊥, n)
Proof
:=
  Or.inl rfl

theorem isIndex_max

TopologyByExample.VaughanSpace.isIndex_max

theorem isIndex_max {x : VaughanSpace} {k k' : OmegaOne × ℕ} (hk : IsIndex x k)
    (hk' : IsIndex x k') : IsIndex x (max k.1 k'.1, max k.2 k'.2)
Proof
:= by
  rcases hk with h | h <;> rcases hk' with h' | h'
  · exact Or.inl (by simp [h, h'])
  · exact Or.inr (by simpa [h] using h')
  · exact Or.inr (by simpa [h'] using h)
  · exact Or.inr (max_lt h h')

theorem colour_pt_eq_false_iff

TopologyByExample.VaughanSpace.colour_pt_eq_false_iff

theorem colour_pt_eq_false_iff {l α : OmegaOne} {i : ℕ} :
    colour l (pt α i) = false ↔
      ¬IsSuccLimit α ∧ tipColour α = false ∧ coherentSeq l α ≤ i
Proof
:= by
  simp [colour]

theorem colour_pt_of_isSuccLimit

TopologyByExample.VaughanSpace.colour_pt_of_isSuccLimit

theorem colour_pt_of_isSuccLimit {l α : OmegaOne} {i : ℕ} (hα : IsSuccLimit α) :
    colour l (pt α i) = true
Proof
:= by
  simp [colour, hα]

theorem colour_pt_congr

TopologyByExample.VaughanSpace.colour_pt_congr

theorem colour_pt_congr {l m α : OmegaOne} {i : ℕ} (h : coherentSeq l α = coherentSeq m α) :
    colour l (pt α i) = colour m (pt α i)
Proof
:= by
  have : colour l (pt α i) = false ↔ colour m (pt α i) = false := by
    rw [colour_pt_eq_false_iff, colour_pt_eq_false_iff, h]
  cases h₁ : colour l (pt α i) <;> cases h₂ : colour m (pt α i) <;> simp_all

theorem mono

TopologyByExample.VaughanSpace.OffStrip.mono

theorem OffStrip.mono {n n' : ℕ} {x : VaughanSpace} (h : OffStrip n' x) (hn : n ≤ n') :
    OffStrip n x
Proof
:= by
  cases x with
  | pt α j => exact hn.trans h
  | tip => trivial
  | top => trivial

theorem mem_basic_self

TopologyByExample.VaughanSpace.mem_basic_self

theorem mem_basic_self {x : VaughanSpace} {k : OmegaOne × ℕ} (hk : IsIndex x k) :
    x ∈ basic x k
Proof
:= by
  cases x with
  | pt α i => exact ⟨α, rfl, fun hα ↦ ⟨hk.lt hα, le_rfl⟩, fun _ ↦ rfl⟩
  | tip α hα => exact mem_insert _ _
  | top μ hμ b => exact ⟨hk.lt hμ, le_rfl, rfl, trivial⟩

theorem basic_anti

TopologyByExample.VaughanSpace.basic_anti

theorem basic_anti (x : VaughanSpace) {k k' : OmegaOne × ℕ} (h₁ : k.1 ≤ k'.1) (h₂ : k.2 ≤ k'.2) :
    basic x k' ⊆ basic x k
Proof
:= by
  cases x with
  | pt α i =>
    rintro y ⟨δ, rfl, h, h'⟩
    exact ⟨δ, rfl, fun hα ↦ ⟨h₁.trans_lt (h hα).1, (h hα).2⟩, h'⟩
  | tip α hα => exact insert_subset_insert fun y ⟨j, hy, hj⟩ ↦ ⟨j, hy, h₂.trans hj⟩
  | top μ hμ b =>
    rintro y ⟨hy₁, hy₂, hy₃, hy₄⟩
    exact ⟨h₁.trans_lt hy₁, hy₂, hy₃, hy₄.mono h₂⟩

theorem rank_le_of_mem_basic

TopologyByExample.VaughanSpace.rank_le_of_mem_basic

theorem rank_le_of_mem_basic {x y : VaughanSpace} {k : OmegaOne × ℕ} (hy : y ∈ basic x k) :
    rank y ≤ rank x
Proof
:= by
  cases x with
  | pt α i =>
    obtain ⟨δ, rfl, h, h'⟩ := hy
    by_cases hα : IsSuccLimit α
    · exact (h hα).2
    · exact (h' hα).le
  | tip α hα =>
    rcases hy with rfl | ⟨j, rfl, -⟩ <;> exact le_rfl
  | top μ hμ b => exact hy.2.1

theorem lt_rank_of_mem_basic

TopologyByExample.VaughanSpace.lt_rank_of_mem_basic

theorem lt_rank_of_mem_basic {x y : VaughanSpace} {k : OmegaOne × ℕ} (hk : k.1 < rank x)
    (hy : y ∈ basic x k) : k.1 < rank y
Proof
:= by
  cases x with
  | pt α i =>
    obtain ⟨δ, rfl, h, h'⟩ := hy
    by_cases hα : IsSuccLimit α
    · exact (h hα).1
    · exact (h' hα) ▸ hk
  | tip α hα =>
    rcases hy with rfl | ⟨j, rfl, -⟩ <;> exact hk
  | top μ hμ b => exact hy.1

theorem offStrip_of_mem_basic

TopologyByExample.VaughanSpace.offStrip_of_mem_basic

theorem offStrip_of_mem_basic {x y : VaughanSpace} {k : OmegaOne × ℕ} (hx : OffStrip k.2 x)
    (hy : y ∈ basic x k) : OffStrip k.2 y
Proof
:= by
  cases x with
  | pt α i =>
    obtain ⟨δ, rfl, -, -⟩ := hy
    exact hx
  | tip α hα =>
    rcases hy with rfl | ⟨j, rfl, hj⟩
    · trivial
    · exact hj
  | top μ hμ b => exact hy.2.2.2

theorem basic_pt_of_not_isSuccLimit

TopologyByExample.VaughanSpace.basic_pt_of_not_isSuccLimit

theorem basic_pt_of_not_isSuccLimit {α : OmegaOne} (hα : ¬IsSuccLimit α) (i : ℕ)
    (k : OmegaOne × ℕ) : basic (pt α i) k = {pt α i}
Proof
:= by
  ext y
  constructor
  · rintro ⟨δ, rfl, -, h⟩
    rw [h hα]
    rfl
  · rintro rfl
    exact ⟨α, rfl, fun h ↦ (hα h).elim, fun _ ↦ rfl⟩

theorem exists_pt_of_mem_basic_pt

TopologyByExample.VaughanSpace.exists_pt_of_mem_basic_pt

theorem exists_pt_of_mem_basic_pt {α : OmegaOne} {i : ℕ} {k : OmegaOne × ℕ} {y : VaughanSpace}
    (hy : y ∈ basic (pt α i) k) : ∃ δ, y = pt δ i
Proof
:=
  let ⟨δ, h, _⟩ := hy
  ⟨δ, h⟩

theorem exists_colour_eq

TopologyByExample.VaughanSpace.exists_colour_eq

The key lemma: every point of rank at most l has a basic neighbourhood on which the colour at l is constant. For a limit column this uses that coherentSeq l is finite-to-one; for top μ with μ < l that coherentSeq l and coherentSeq μ agree on a final segment of μ.

theorem exists_colour_eq (l : OmegaOne) (x : VaughanSpace) (hx : rank x ≤ l) :
    ∃ k, IsIndex x k ∧ ∀ y ∈ basic x k, colour l y = colour l x
Proof
:= by
  cases x with
  | pt α i =>
    by_cases hα : IsSuccLimit α
    · obtain ⟨β, hβ, hβ'⟩ := exists_lt_forall_lt_coherentSeq hα.bot_lt hx i
      refine ⟨(β, 0), Or.inr hβ, ?_⟩
      rintro y ⟨δ, rfl, h, -⟩
      rw [colour_pt_of_isSuccLimit hα]
      obtain ⟨hβδ, hδα⟩ := h hα
      rcases hδα.lt_or_eq with hlt | rfl
      · rw [← Bool.not_eq_false, colour_pt_eq_false_iff]
        exact fun h ↦ (hβ' δ hβδ hlt).not_ge h.2.2
      · exact colour_pt_of_isSuccLimit hα
    · refine ⟨(⊥, 0), isIndex_bot _ _, ?_⟩
      rw [basic_pt_of_not_isSuccLimit hα]
      rintro y rfl
      rfl
  | tip α hα =>
    refine ⟨(⊥, coherentSeq l α), isIndex_bot _ _, ?_⟩
    rintro y (rfl | ⟨j, rfl, hj⟩)
    · rfl
    · change colour l (pt α j) = tipColour α
      cases h : tipColour α
      · exact colour_pt_eq_false_iff.2 ⟨hα, h, hj⟩
      · rw [← Bool.not_eq_false, colour_pt_eq_false_iff]
        exact fun h' ↦ Bool.false_ne_true (h'.2.1.symm.trans h)
  | top μ hμ b =>
    rcases (show μ ≤ l from hx).lt_or_eq with hlt | rfl
    · obtain ⟨β, hβ, hβ'⟩ := exists_lt_forall_coherentSeq_eq hμ.bot_lt hlt
      refine ⟨(β, 0), Or.inr hβ, ?_⟩
      rintro y ⟨hy₁, hy₂, hy₃, -⟩
      refine Eq.trans ?_ hy₃
      cases y with
      | pt δ j =>
        rcases (show δ ≤ μ from hy₂).lt_or_eq with hδ | rfl
        · exact colour_pt_congr (hβ' δ hy₁ hδ)
        · rw [colour_pt_of_isSuccLimit hμ, colour_pt_of_isSuccLimit hμ]
      | tip => rfl
      | top => rfl
    · exact ⟨(⊥, 0), isIndex_bot _ _, fun y hy ↦ hy.2.2.1⟩

On this site: Vaughan's space: The colouring at \(l\) is locally constant

theorem exists_basic_subset

TopologyByExample.VaughanSpace.exists_basic_subset

Every point of a basic neighbourhood has a basic neighbourhood inside it.

theorem exists_basic_subset {x y : VaughanSpace} {k : OmegaOne × ℕ} (hk : IsIndex x k)
    (hy : y ∈ basic x k) : ∃ k', IsIndex y k' ∧ basic y k' ⊆ basic x k
Proof
:= by
  cases x with
  | pt α i =>
    obtain ⟨δ, rfl, h, h'⟩ := hy
    by_cases hδ : IsSuccLimit δ
    · have hα : IsSuccLimit α := by
        by_contra hα
        exact hα (h' hα ▸ hδ)
      refine ⟨(k.1, 0), Or.inr (h hα).1, ?_⟩
      rintro z ⟨ε, rfl, hz, -⟩
      obtain ⟨hz₁, hz₂⟩ := hz hδ
      exact ⟨ε, rfl, fun _ ↦ ⟨hz₁, hz₂.trans (h hα).2⟩, fun h'' ↦ (h'' hα).elim⟩
    · refine ⟨(⊥, 0), isIndex_bot _ _, ?_⟩
      rw [basic_pt_of_not_isSuccLimit hδ, singleton_subset_iff]
      exact ⟨δ, rfl, h, h'⟩
  | tip α hα =>
    rcases hy with rfl | ⟨j, rfl, hj⟩
    · exact ⟨k, hk, subset_rfl⟩
    · refine ⟨(⊥, 0), isIndex_bot _ _, ?_⟩
      rw [basic_pt_of_not_isSuccLimit hα, singleton_subset_iff]
      exact Or.inr ⟨j, rfl, hj⟩
  | top μ hμ b =>
    obtain ⟨hy₁, hy₂, hy₃, hy₄⟩ := hy
    obtain ⟨k₀, hk₀, hc⟩ := exists_colour_eq μ y hy₂
    refine ⟨(max k.1 k₀.1, max k.2 k₀.2),
      Or.inr (max_lt hy₁ (hk₀.elim (fun h ↦ h ▸ bot_le.trans_lt hy₁) id)), fun z hz ↦ ?_⟩
    have hz₀ := basic_anti y (le_max_right _ _) (le_max_right _ _) hz
    have hz₁ := basic_anti y (k := k) (le_max_left _ _) (le_max_left _ _) hz
    exact ⟨lt_rank_of_mem_basic hy₁ hz₁, (rank_le_of_mem_basic hz).trans hy₂,
      (hc z hz₀).trans hy₃, offStrip_of_mem_basic hy₄ hz₁⟩

definition nhdsBasis

TopologyByExample.VaughanSpace.nhdsBasis

The neighbourhood filter of a point, generated by its basic neighbourhoods.

def nhdsBasis (x : VaughanSpace) : Filter VaughanSpace
:=
  ⨅ (k) (_ : IsIndex x k), 𝓟 (basic x k)

theorem hasBasis_nhdsBasis

TopologyByExample.VaughanSpace.hasBasis_nhdsBasis

theorem hasBasis_nhdsBasis (x : VaughanSpace) : (nhdsBasis x).HasBasis (IsIndex x) (basic x)
Proof
:=
  hasBasis_biInf_principal' (fun _ hk _ hk' ↦ ⟨_, isIndex_max hk hk',
    basic_anti x (le_max_left _ _) (le_max_left _ _),
    basic_anti x (le_max_right _ _) (le_max_right _ _)⟩) ⟨_, isIndex_bot x 0⟩

instance

instance : TopologicalSpace VaughanSpace
Proof
:=
  .mkOfNhds nhdsBasis

theorem nhds_eq

TopologyByExample.VaughanSpace.nhds_eq

theorem nhds_eq (x : VaughanSpace) : 𝓝 x = nhdsBasis x
Proof
:=
  TopologicalSpace.nhds_mkOfNhds_of_hasBasis hasBasis_nhdsBasis (fun _ _ ↦ mem_basic_self)
    (fun x _ hk ↦ (hasBasis_nhdsBasis x).eventually_iff.2 ⟨_, hk, fun _ hy ↦
      let ⟨_, hk', hs⟩ := exists_basic_subset hk hy
      (hasBasis_nhdsBasis _).mem_of_superset hk' hs⟩) x

theorem hasBasis_nhds

TopologyByExample.VaughanSpace.hasBasis_nhds

The basic neighbourhoods form a base of the neighbourhoods of each point.

theorem hasBasis_nhds (x : VaughanSpace) : (𝓝 x).HasBasis (IsIndex x) (basic x)
Proof
:=
  nhds_eq x ▸ hasBasis_nhdsBasis x

On this site: Vaughan's space: The basic neighbourhoods form a neighbourhood base

theorem isOpen_basic

TopologyByExample.VaughanSpace.isOpen_basic

theorem isOpen_basic {x : VaughanSpace} {k : OmegaOne × ℕ} (hk : IsIndex x k) :
    IsOpen (basic x k)
Proof
:=
  isOpen_iff_mem_nhds.2 fun _ hy ↦
    let ⟨_, hk', hs⟩ := exists_basic_subset hk hy
    (hasBasis_nhds _).mem_of_superset hk' hs

Separation: the basic neighbourhoods are clopen

theorem isClosed_of_forall

TopologyByExample.VaughanSpace.isClosed_of_forall

theorem isClosed_of_forall {s : Set VaughanSpace}
    (h : ∀ y ∉ s, ∃ k, IsIndex y k ∧ ∀ z ∈ basic y k, z ∉ s) : IsClosed s
Proof
:=
  isOpen_compl_iff.1 <| isOpen_iff_mem_nhds.2 fun y hy ↦
    let ⟨_, hk, hd⟩ := h y hy
    (hasBasis_nhds y).mem_of_superset hk hd

theorem exists_basic_subset_lt_rank

TopologyByExample.VaughanSpace.exists_basic_subset_lt_rank

A point of rank above β has a basic neighbourhood of points of rank above β.

theorem exists_basic_subset_lt_rank {y : VaughanSpace} {β : OmegaOne} (h : β < rank y) :
    ∃ k, IsIndex y k ∧ ∀ z ∈ basic y k, β < rank z
Proof
:=
  ⟨(β, 0), Or.inr h, fun _ hz ↦ lt_rank_of_mem_basic h hz⟩

theorem exists_basic_subset_ne_pt

TopologyByExample.VaughanSpace.exists_basic_subset_ne_pt

A point off the column of height i has a basic neighbourhood off that column.

theorem exists_basic_subset_ne_pt {y : VaughanSpace} {i : ℕ} (hy : ∀ δ, y ≠ pt δ i) :
    ∃ k, IsIndex y k ∧ ∀ z ∈ basic y k, ∀ δ, z ≠ pt δ i
Proof
:= by
  cases y with
  | pt α j =>
    refine ⟨(⊥, 0), isIndex_bot _ _, fun z hz δ hzδ ↦ ?_⟩
    obtain ⟨ε, rfl⟩ := exists_pt_of_mem_basic_pt hz
    cases hzδ
    exact hy α rfl
  | tip α hα =>
    refine ⟨(⊥, i + 1), isIndex_bot _ _, ?_⟩
    rintro z (rfl | ⟨j, rfl, hj⟩) δ hzδ
    · cases hzδ
    · cases hzδ
      omega
  | top μ hμ b =>
    refine ⟨(⊥, i + 1), isIndex_bot _ _, ?_⟩
    rintro z ⟨-, -, -, hz⟩ δ rfl
    exact Nat.not_succ_le_self i hz

theorem isClosed_basic

TopologyByExample.VaughanSpace.isClosed_basic

theorem isClosed_basic {x : VaughanSpace} {k : OmegaOne × ℕ} (hk : IsIndex x k) :
    IsClosed (basic x k)
Proof
:= by
  refine isClosed_of_forall fun y hy ↦ ?_
  -- points of rank above that of `x`
  rcases lt_or_ge (rank x) (rank y) with hxy | hyx
  · obtain ⟨k', hk', h⟩ := exists_basic_subset_lt_rank hxy
    exact ⟨k', hk', fun z hz hz' ↦ (h z hz).not_ge (rank_le_of_mem_basic hz')⟩
  cases x with
  | pt α i =>
    by_cases hcol : ∀ δ, y ≠ pt δ i
    · obtain ⟨k', hk', h⟩ := exists_basic_subset_ne_pt hcol
      exact ⟨k', hk', fun z hz hz' ↦
        let ⟨δ, hδ⟩ := exists_pt_of_mem_basic_pt hz'
        h z hz δ hδ⟩
    push Not at hcol
    obtain ⟨δ, rfl⟩ := hcol
    by_cases hα : IsSuccLimit α
    · have hδβ : δ ≤ k.1 := by
        by_contra! h
        exact hy ⟨δ, rfl, fun _ ↦ ⟨h, hyx⟩, fun h' ↦ (h' hα).elim⟩
      refine ⟨(⊥, 0), isIndex_bot _ _, fun z hz hz' ↦ ?_⟩
      exact ((rank_le_of_mem_basic hz).trans hδβ).not_gt
        (lt_rank_of_mem_basic (hk.lt hα) hz')
    · have hδα : δ < α := by
        refine hyx.lt_of_ne fun h ↦ hy ?_
        subst h
        exact mem_basic_self hk
      refine ⟨(⊥, 0), isIndex_bot _ _, fun z hz hz' ↦ ?_⟩
      rw [basic_pt_of_not_isSuccLimit hα] at hz'
      subst hz'
      exact ((rank_le_of_mem_basic hz).trans_lt hδα).ne rfl
  | tip α hα =>
    rcases hyx.lt_or_eq with hlt | heq
    · refine ⟨(⊥, 0), isIndex_bot _ _, fun z hz hz' ↦ ?_⟩
      have : rank z = α := by rcases hz' with rfl | ⟨j, rfl, -⟩ <;> rfl
      exact ((rank_le_of_mem_basic hz).trans_lt hlt).ne this
    · cases y with
      | pt δ j =>
        obtain rfl : δ = α := heq
        refine ⟨(⊥, 0), isIndex_bot _ _, fun z hz hz' ↦ ?_⟩
        rw [basic_pt_of_not_isSuccLimit hα] at hz
        exact hy (hz ▸ hz')
      | tip δ hδ =>
        obtain rfl : δ = α := heq
        exact (hy (mem_insert _ _)).elim
      | top μ hμ b =>
        obtain rfl : μ = α := heq
        exact (hα hμ).elim
  | top μ hμ b =>
    simp only [basic, mem_ofPred_eq, not_and] at hy
    by_cases h₁ : k.1 < rank y
    · by_cases h₃ : colour μ y = b
      · have h₄ := hy h₁ hyx h₃
        cases y with
        | pt δ j =>
          refine ⟨(⊥, 0), isIndex_bot _ _, fun z hz hz' ↦ ?_⟩
          obtain ⟨ε, rfl⟩ := exists_pt_of_mem_basic_pt hz
          exact h₄ hz'.2.2.2
        | tip => exact (h₄ trivial).elim
        | top => exact (h₄ trivial).elim
      · obtain ⟨k', hk', hc⟩ := exists_colour_eq μ y hyx
        exact ⟨k', hk', fun z hz hz' ↦ h₃ ((hc z hz).symm.trans hz'.2.2.1)⟩
    · exact ⟨(⊥, 0), isIndex_bot _ _, fun z hz hz' ↦
        h₁ (hz'.1.trans_le (rank_le_of_mem_basic hz))⟩

theorem isClopen_basic

TopologyByExample.VaughanSpace.isClopen_basic

theorem isClopen_basic {x : VaughanSpace} {k : OmegaOne × ℕ} (hk : IsIndex x k) :
    IsClopen (basic x k)
Proof
:=
  ⟨isClosed_basic hk, isOpen_basic hk⟩

On this site: Vaughan's space: The basic neighbourhoods are open and closed

theorem isTopologicalBasis_basic

TopologyByExample.VaughanSpace.isTopologicalBasis_basic

The basic neighbourhoods form a base of the topology.

theorem isTopologicalBasis_basic :
    TopologicalSpace.IsTopologicalBasis {s | ∃ x k, IsIndex x k ∧ basic x k = s}
Proof
:=
  TopologicalSpace.isTopologicalBasis_of_isOpen_of_nhds
    (fun _ hs ↦ by obtain ⟨_, _, hk, rfl⟩ := hs; exact isOpen_basic hk) fun x _ hx hu ↦
      let ⟨k, hk, hs⟩ := (hasBasis_nhds x).mem_iff.1 (hu.mem_nhds hx)
      ⟨_, ⟨x, k, hk, rfl⟩, mem_basic_self hk, hs⟩

instance instZeroDimensionalSpace

TopologyByExample.VaughanSpace.instZeroDimensionalSpace

Vaughan's space is zero-dimensional: its basic neighbourhoods are clopen.

instance instZeroDimensionalSpace : ZeroDimensionalSpace VaughanSpace
Proof
:=
  .of_isTopologicalBasis (fun _ hs ↦ by obtain ⟨_, _, hk, rfl⟩ := hs; exact isClopen_basic hk)
    isTopologicalBasis_basic

On this site: Vaughan's space is zero-dimensional

instance instT0Space

TopologyByExample.VaughanSpace.instT0Space

instance instT0Space : T0Space VaughanSpace
Proof
:= by
  refine ⟨fun x y hxy ↦ ?_⟩
  by_contra hne
  have key : ∀ x y : VaughanSpace, Inseparable x y → ∀ k, IsIndex x k → y ∈ basic x k :=
    fun x y h k hk ↦ mem_of_mem_nhds (h.nhds_eq ▸ (hasBasis_nhds x).mem_of_mem hk)
  rcases lt_trichotomy (rank x) (rank y) with hlt | heq | hlt
  · exact (lt_rank_of_mem_basic hlt (key y x hxy.symm (rank x, 0) (Or.inr hlt))).false
  · cases x with
    | pt α i =>
      obtain ⟨δ, hδ⟩ := exists_pt_of_mem_basic_pt (key _ _ hxy _ (isIndex_bot _ 0))
      subst hδ
      exact hne (congrArg (pt · i) heq)
    | tip α hα =>
      cases y with
      | pt δ j =>
        obtain ⟨ε, hε⟩ := exists_pt_of_mem_basic_pt (key _ _ hxy.symm _ (isIndex_bot _ 0))
        cases hε
      | tip δ hδ =>
        obtain rfl : α = δ := heq
        exact hne rfl
      | top μ hμ b =>
        obtain rfl : α = μ := heq
        exact hα hμ
    | top μ hμ b =>
      cases y with
      | pt δ j =>
        obtain ⟨ε, hε⟩ := exists_pt_of_mem_basic_pt (key _ _ hxy.symm _ (isIndex_bot _ 0))
        cases hε
      | tip δ hδ =>
        obtain rfl : μ = δ := heq
        exact hδ hμ
      | top ν hν c =>
        obtain rfl : μ = ν := heq
        have := (key _ _ hxy _ (isIndex_bot _ 0)).2.2.1
        exact hne (by cases this; rfl)
  · exact (lt_rank_of_mem_basic hlt (key x y hxy (rank y, 0) (Or.inr hlt))).false

On this site: Vaughan's space is T₀

instance instFirstCountableTopology

TopologyByExample.VaughanSpace.instFirstCountableTopology

Vaughan's space is first countable: a point of rank α has a basic neighbourhood for each of the countably many pairs (β, n) with β ≤ α.

instance instFirstCountableTopology : FirstCountableTopology VaughanSpace
Proof
:=
  ⟨fun x ↦ HasCountableBasis.isCountablyGenerated ⟨hasBasis_nhds x,
    ((countable_Iic (rank x)).prod countable_univ).mono fun _ hk ↦
      mem_prod.2 ⟨mem_Iic.2 (hk.elim (fun h ↦ h ▸ bot_le) le_of_lt), mem_univ _⟩⟩⟩

On this site: Vaughan's space is first countable; Problem: Vaughan's question: a separable, first countable, countably compact, regular space that is not normal, in ZFC

check

T₃.₅, by Mathlib's instance for zero-dimensional T₀ spaces; recorded for reference.

example : T35Space VaughanSpace
Proof
:= inferInstance

Compactness: the initial parts are compact and open

theorem tendsto_pt_tip

TopologyByExample.VaughanSpace.tendsto_pt_tip

theorem tendsto_pt_tip (α : OmegaOne) (hα : ¬IsSuccLimit α) :
    Tendsto (pt α) atTop (𝓝 (tip α hα))
Proof
:=
  (hasBasis_nhds _).tendsto_right_iff.2 fun k _ ↦
    (eventually_ge_atTop k.2).mono fun j hj ↦ Or.inr ⟨j, rfl, hj⟩

theorem isOpen_setOf_rank_le

TopologyByExample.VaughanSpace.isOpen_setOf_rank_le

theorem isOpen_setOf_rank_le (α : OmegaOne) : IsOpen {x : VaughanSpace | rank x ≤ α}
Proof
:=
  isOpen_iff_mem_nhds.2 fun x hx ↦ (hasBasis_nhds x).mem_of_superset (isIndex_bot x 0)
    fun _ hy ↦ (rank_le_of_mem_basic hy).trans hx

theorem setOf_rank_eq_of_not_isSuccLimit

TopologyByExample.VaughanSpace.setOf_rank_eq_of_not_isSuccLimit

theorem setOf_rank_eq_of_not_isSuccLimit {α : OmegaOne} (hα : ¬IsSuccLimit α) :
    {x : VaughanSpace | rank x = α} = insert (tip α hα) (range (pt α))
Proof
:= by
  ext x
  cases x with
  | pt δ j =>
    simp only [mem_ofPred_eq, rank, mem_insert_iff, reduceCtorEq, mem_range, pt.injEq, false_or]
    exact ⟨fun h ↦ ⟨j, h.symm, rfl⟩, fun ⟨_, h, _⟩ ↦ h.symm⟩
  | tip δ hδ =>
    simp only [mem_ofPred_eq, rank, mem_insert_iff, tip.injEq, mem_range, reduceCtorEq,
      exists_false, or_false]
  | top μ hμ b =>
    simp only [mem_ofPred_eq, rank, mem_insert_iff, reduceCtorEq, mem_range, exists_false,
      or_self, iff_false]
    rintro rfl
    exact hα hμ

theorem isCompact_setOf_rank_le

TopologyByExample.VaughanSpace.isCompact_setOf_rank_le

Every initial part {x | rank x ≤ α} of Vaughan's space is compact (Vaughan's X_{α+1}). By induction on α, with ultrafilters: an ultrafilter on the part either lives on a smaller part, or, for non-limit α, on the convergent sequence over α, or, for limit α, it converges to a point of the column over α (if it contains a column) or to top α _ b (where b is the colour at α of almost all of it).

theorem isCompact_setOf_rank_le (α : OmegaOne) : IsCompact {x : VaughanSpace | rank x ≤ α}
Proof
:= by
  induction α using WellFoundedLT.induction with
  | _ α ih =>
  rw [isCompact_iff_ultrafilter_le_nhds]
  intro F hF
  have hF' : {x : VaughanSpace | rank x ≤ α} ∈ F := le_principal_iff.1 hF
  by_cases hlow : ∃ β < α, {x : VaughanSpace | rank x ≤ β} ∈ F
  · obtain ⟨β, hβ, hβF⟩ := hlow
    obtain ⟨x, hx, hFx⟩ := (ih β hβ).ultrafilter_le_nhds F (le_principal_iff.2 hβF)
    exact ⟨x, le_trans hx hβ.le, hFx⟩
  push Not at hlow
  have hhigh : ∀ β < α, {x : VaughanSpace | β < rank x} ∈ F := fun β hβ ↦ by
    filter_upwards [(F.mem_or_compl_mem _).resolve_left (hlow β hβ)] with x hx
    exact not_le.1 hx
  by_cases hα : IsSuccLimit α
  · by_cases hcol : ∃ i, {x : VaughanSpace | ∃ δ, x = pt δ i} ∈ F
    · obtain ⟨i, hi⟩ := hcol
      refine ⟨pt α i, show rank (pt α i) ≤ α from le_rfl, (hasBasis_nhds _).ge_iff.2 fun k hk ↦ ?_⟩
      filter_upwards [hi, hhigh k.1 (hk.lt hα), hF'] with x hx h₁ h₂
      obtain ⟨δ, rfl⟩ := hx
      exact ⟨δ, rfl, fun _ ↦ ⟨h₁, h₂⟩, fun h ↦ (h hα).elim⟩
    push Not at hcol
    have hcol' : ∀ i, {x : VaughanSpace | ∀ δ, x ≠ pt δ i} ∈ F := fun i ↦ by
      filter_upwards [(F.mem_or_compl_mem _).resolve_left (hcol i)] with x hx δ hxδ
      exact hx ⟨δ, hxδ⟩
    obtain ⟨b, hb⟩ : ∃ b, {x : VaughanSpace | colour α x = b} ∈ F := by
      rcases F.mem_or_compl_mem {x : VaughanSpace | colour α x = true} with h | h
      · exact ⟨true, h⟩
      · refine ⟨false, ?_⟩
        filter_upwards [h] with x hx
        simpa using hx
    refine ⟨top α hα b, show rank (top α hα b) ≤ α from le_rfl,
      (hasBasis_nhds _).ge_iff.2 fun k hk ↦ ?_⟩
    have hstrip : {x : VaughanSpace | OffStrip k.2 x} ∈ F := by
      filter_upwards [(biInter_mem (finite_Iio k.2)).2 fun i _ ↦ hcol' i] with x hx
      cases x with
      | pt δ j =>
        by_contra h
        exact mem_iInter₂.1 hx j (not_le.1 h) δ rfl
      | tip => trivial
      | top => trivial
    filter_upwards [hhigh k.1 (hk.lt hα), hF', hb, hstrip] with x h₁ h₂ h₃ h₄
    exact ⟨h₁, h₂, h₃, h₄⟩
  · have hS : {x : VaughanSpace | rank x = α} ∈ F := by
      rcases not_isSuccLimit_iff.1 hα with hmin | hpre
      · filter_upwards [hF'] with x hx
        exact le_antisymm hx (hmin.eq_bot ▸ bot_le)
      · obtain ⟨β, hβ⟩ := not_isSuccPrelimit_iff.1 hpre
        filter_upwards [hF', hhigh β hβ.lt] with x hx hx'
        exact le_antisymm hx (not_lt.1 fun h ↦ (hβ.le_of_lt h).not_gt hx')
    have hK : IsCompact {x : VaughanSpace | rank x = α} := by
      rw [setOf_rank_eq_of_not_isSuccLimit hα]
      exact (tendsto_pt_tip α hα).isCompact_insert_range
    obtain ⟨x, hx, h⟩ := hK.ultrafilter_le_nhds F (le_principal_iff.2 hS)
    exact ⟨x, (show rank x = α from hx).le, h⟩

On this site: Vaughan's space: The points of rank at most \(\alpha\) form a compact set

theorem isClosed_setOf_rank_le

TopologyByExample.VaughanSpace.isClosed_setOf_rank_le

theorem isClosed_setOf_rank_le (α : OmegaOne) : IsClosed {x : VaughanSpace | rank x ≤ α}
Proof
:=
  (isCompact_setOf_rank_le α).isClosed

instance instWeaklyLocallyCompactSpace

TopologyByExample.VaughanSpace.instWeaklyLocallyCompactSpace

Vaughan's space is locally compact: every point lies in a compact open initial part.

instance instWeaklyLocallyCompactSpace : WeaklyLocallyCompactSpace VaughanSpace
Proof
:=
  ⟨fun x ↦ ⟨_, isCompact_setOf_rank_le (rank x),
    (isOpen_setOf_rank_le _).mem_nhds (show rank x ≤ rank x from le_rfl)⟩⟩

On this site: Vaughan's space is weakly locally compact

theorem exists_subset_setOf_rank_le

TopologyByExample.VaughanSpace.exists_subset_setOf_rank_le

A countable set of points lies in some initial part.

theorem exists_subset_setOf_rank_le {s : Set VaughanSpace} (hs : s.Countable) :
    ∃ α, s ⊆ {x | rank x ≤ α}
Proof
:=
  let ⟨α, hα⟩ := bddAbove_of_countable (hs.image rank)
  ⟨α, fun _ hx ↦ hα (mem_image_of_mem rank hx)⟩

theorem isCompact_closure_of_countable

TopologyByExample.VaughanSpace.isCompact_closure_of_countable

Vaughan's space is ω-bounded: every countable set has compact closure.

theorem isCompact_closure_of_countable {s : Set VaughanSpace} (hs : s.Countable) :
    IsCompact (closure s)
Proof
:=
  let ⟨α, hα⟩ := exists_subset_setOf_rank_le hs
  (isCompact_setOf_rank_le α).of_isClosed_subset isClosed_closure
    (closure_minimal hα (isClosed_setOf_rank_le α))

On this site: Vaughan's space is ω-bounded

instance instCountablyCompactSpace

TopologyByExample.VaughanSpace.instCountablyCompactSpace

Vaughan's space is countably compact, being ω-bounded.

instance instCountablyCompactSpace : CountablyCompactSpace VaughanSpace
Proof
:=
  countablyCompactSpace_of_omegaBounded fun _ ↦ isCompact_closure_of_countable

On this site: Problem: Vaughan's question: a separable, first countable, countably compact, regular space that is not normal, in ZFC

theorem not_separableSpace

TopologyByExample.VaughanSpace.not_separableSpace

Vaughan's space is not separable: the closure of a countable set lies in an initial part.

theorem not_separableSpace : ¬SeparableSpace VaughanSpace
Proof
:= fun _ ↦ by
  obtain ⟨D, hD, hdense⟩ := exists_countable_dense VaughanSpace
  obtain ⟨α, hα⟩ := exists_subset_setOf_rank_le hD
  have := closure_minimal hα (isClosed_setOf_rank_le α)
  rw [hdense.closure_eq] at this
  exact (lt_succ α).not_ge (this (mem_univ (pt (succ α) 0)))

On this site: Problem: Vaughan's question: a separable, first countable, countably compact, regular space that is not normal, in ZFC

Not normal

theorem tipColour_eq_true_iff

TopologyByExample.VaughanSpace.tipColour_eq_true_iff

theorem tipColour_eq_true_iff {α : OmegaOne} : tipColour α = true ↔ toOrd α % 2 = 0 ∧ α ≠ ⊥
Proof
:= by
  simp [tipColour]

theorem exists_gt_tipColour

TopologyByExample.VaughanSpace.exists_gt_tipColour

Above every countable ordinal there are non-limit ordinals of each colour.

theorem exists_gt_tipColour (x : OmegaOne) (c : Bool) :
    ∃ y, x < y ∧ ¬IsSuccLimit y ∧ tipColour y = c
Proof
:= by
  have h₁ : x < succ x := lt_succ x
  have h₂ : x < succ (succ x) := h₁.trans (lt_succ _)
  have hne₁ : succ x ≠ ⊥ := (bot_le.trans_lt h₁).ne'
  have hne₂ : succ (succ x) ≠ ⊥ := (bot_le.trans_lt h₂).ne'
  have hmod := Ordinal.add_one_mod_two (toOrd (succ x))
  rw [← toOrd_succ] at hmod
  have one_mod : (1 : Ordinal) % 2 = 1 := Ordinal.mod_eq_of_lt one_lt_two
  rcases Ordinal.mod_two_eq_zero_or_one (toOrd (succ x)) with h | h
  · rw [h, zero_add, one_mod] at hmod
    cases c
    · exact ⟨_, h₂, not_isSuccLimit_succ _, by simp [tipColour, hmod]⟩
    · exact ⟨_, h₁, not_isSuccLimit_succ _, tipColour_eq_true_iff.2 ⟨h, hne₁⟩⟩
  · rw [h, one_add_one_eq_two, Ordinal.mod_self] at hmod
    cases c
    · exact ⟨_, h₁, not_isSuccLimit_succ _, by simp [tipColour, h]⟩
    · exact ⟨_, h₂, not_isSuccLimit_succ _, tipColour_eq_true_iff.2 ⟨hmod, hne₂⟩⟩

definition IsExtra

TopologyByExample.VaughanSpace.IsExtra

The extra points of colour c: for c = true Vaughan's set H of the points h_α, for c = false his set K of the points k_α.

def IsExtra (c : Bool) : VaughanSpace → Prop
  | pt _ _ => False
  | tip α _ => tipColour α = c
  | top _ _ b => b = c

theorem colour_of_isExtra

TopologyByExample.VaughanSpace.colour_of_isExtra

theorem colour_of_isExtra {c : Bool} {l : OmegaOne} {z : VaughanSpace} (h : IsExtra c z) :
    colour l z = c
Proof
:= by
  cases z with
  | pt => exact h.elim
  | tip => exact h
  | top => exact h

theorem isClosed_setOf_isExtra

TopologyByExample.VaughanSpace.isClosed_setOf_isExtra

The sets H and K are closed.

theorem isClosed_setOf_isExtra (c : Bool) : IsClosed {x | IsExtra c x}
Proof
:= by
  refine isClosed_of_forall fun y hy ↦ ?_
  cases y with
  | pt δ j =>
    refine ⟨(⊥, 0), isIndex_bot _ _, fun z hz hz' ↦ ?_⟩
    obtain ⟨ε, rfl⟩ := exists_pt_of_mem_basic_pt hz
    exact hz'
  | tip α hα =>
    refine ⟨(⊥, 0), isIndex_bot _ _, ?_⟩
    rintro z (rfl | ⟨j, rfl, -⟩) hz'
    · exact hy hz'
    · exact hz'
  | top μ hμ b =>
    exact ⟨(⊥, 0), isIndex_bot _ _, fun z hz hz' ↦
      hy (show b = c from hz.2.2.1.symm.trans (colour_of_isExtra hz'))⟩

On this site: Vaughan's space: The sets \(H\) and \(K\) are closed

theorem disjoint_setOf_isExtra

TopologyByExample.VaughanSpace.disjoint_setOf_isExtra

theorem disjoint_setOf_isExtra :
    Disjoint {x : VaughanSpace | IsExtra true x} {x | IsExtra false x}
Proof
:= by
  refine disjoint_left.2 fun x h₁ h₂ ↦ ?_
  have := (colour_of_isExtra (l := ⊥) h₁).symm.trans (colour_of_isExtra h₂)
  cases this

theorem exists_not_bddAbove_of_isOpen

TopologyByExample.VaughanSpace.exists_not_bddAbove_of_isOpen

If an open set contains the extra points of colour c, then by the pigeonhole principle there is a height m such that the columns lying in it from height m on form an unbounded set of countable ordinals.

theorem exists_not_bddAbove_of_isOpen (c : Bool) {U : Set VaughanSpace} (hU : IsOpen U)
    (hsub : {x | IsExtra c x} ⊆ U) : ∃ m, ¬BddAbove {α | ∀ i, m ≤ i → pt α i ∈ U}
Proof
:= by
  by_contra! h
  have hc : {α : OmegaOne | ¬IsSuccLimit α ∧ tipColour α = c}.Countable := by
    refine (countable_iUnion (t := fun m ↦ {α | ∀ i, m ≤ i → pt α i ∈ U}) fun m ↦ ?_).mono
      fun α hα ↦ ?_
    · obtain ⟨b, hb⟩ := h m
      exact (countable_Iic b).mono fun _ hx ↦ hb hx
    · obtain ⟨k, -, hk⟩ := (hasBasis_nhds (tip α hα.1)).mem_iff.1
        (hU.mem_nhds (hsub (show IsExtra c (tip α hα.1) from hα.2)))
      exact mem_iUnion.2 ⟨k.2, fun i hi ↦ hk (Or.inr ⟨i, rfl, hi⟩)⟩
  obtain ⟨b, hb⟩ := bddAbove_of_countable hc
  obtain ⟨y, hy, hy'⟩ := exists_gt_tipColour b c
  exact (hb hy').not_gt hy

On this site: Vaughan's space: An open set containing \(H\) or \(K\) contains uncountably many columns from some height on

theorem not_normalSpace

TopologyByExample.VaughanSpace.not_normalSpace

Vaughan's space is not normal. If U ⊇ H and W ⊇ K are open, there are heights m₁, m₂ and unbounded sets A, B of columns lying in U (respectively W) from those heights on. Below some limit μ the sets A and B interleave, so pt μ (max m₁ m₂) lies in the closures of both U and W.

theorem not_normalSpace : ¬NormalSpace VaughanSpace
Proof
:= fun _ ↦ by
  obtain ⟨U, hUo, hHU, hUK⟩ := normal_exists_closure_subset (isClosed_setOf_isExtra true)
    (isClosed_setOf_isExtra false).isOpen_compl disjoint_setOf_isExtra.subset_compl_right
  obtain ⟨V, W, hVo, hWo, hUV, hKW, hVW⟩ := normal_separation isClosed_closure
    (isClosed_setOf_isExtra false) (disjoint_left.2 fun _ hx hxK ↦ hUK hx hxK)
  obtain ⟨m₁, hA⟩ := exists_not_bddAbove_of_isOpen true hUo hHU
  obtain ⟨m₂, hB⟩ := exists_not_bddAbove_of_isOpen false hWo hKW
  obtain ⟨μ, hμ, hμ'⟩ := exists_isSuccLimit_of_not_bddAbove hA hB
  have hmem : ∀ (S : Set VaughanSpace) (m : ℕ), m ≤ max m₁ m₂ →
      (∀ β < μ, ∃ a ∈ {α | ∀ i, m ≤ i → pt α i ∈ S}, β < a ∧ a < μ) →
      pt μ (max m₁ m₂) ∈ closure S := fun S m hm h ↦
    (mem_closure_iff_nhds_basis (hasBasis_nhds _)).2 fun k hk ↦ by
      obtain ⟨a, ha, h₁, h₂⟩ := h k.1 (hk.lt hμ)
      exact ⟨pt a (max m₁ m₂), ha _ hm, ⟨a, rfl, fun _ ↦ ⟨h₁, h₂.le⟩, fun h ↦ (h hμ).elim⟩⟩
  have h₁ := hmem U m₁ (le_max_left _ _) fun β hβ ↦ (hμ' β hβ).1
  have h₂ := hmem W m₂ (le_max_right _ _) fun β hβ ↦ (hμ' β hβ).2
  obtain ⟨z, hzV, hzW⟩ := mem_closure_iff_nhds.1 h₂ V (hVo.mem_nhds (hUV h₁))
  exact disjoint_left.1 hVW hzV hzW

On this site: Vaughan's space is not normal; Problem: Vaughan's question: a separable, first countable, countably compact, regular space that is not normal, in ZFC

Consequences

The remaining values follow from the facts above by general theorems; we record them here.

check

Vaughan's space is sequentially compact, being first countable and countably compact.

example : SeqCompactSpace VaughanSpace
Proof
:= inferInstance

check

Vaughan's space is locally compact, being Hausdorff and weakly locally compact.

example : LocallyCompactSpace VaughanSpace
Proof
:= inferInstance

check

Vaughan's space is totally separated, being zero-dimensional and T₀.

example : TotallySeparatedSpace VaughanSpace
Proof
:= inferInstance

check

Vaughan's space is Urysohn (T₂.₅), being T₃.

example : T25Space VaughanSpace
Proof
:= inferInstance

instance

instance : Nontrivial VaughanSpace
Proof
:=
  ⟨⟨pt ⊥ 0, pt ⊥ 1, by simp⟩⟩

theorem not_compactSpace

TopologyByExample.VaughanSpace.not_compactSpace

Vaughan's space is not compact: a compact Hausdorff space is normal.

theorem not_compactSpace : ¬CompactSpace VaughanSpace
Proof
:= fun _ ↦
  not_normalSpace inferInstance

theorem not_lindelofSpace

TopologyByExample.VaughanSpace.not_lindelofSpace

Vaughan's space is not Lindelöf: a regular Lindelöf space is normal.

theorem not_lindelofSpace : ¬LindelofSpace VaughanSpace
Proof
:= fun _ ↦
  not_normalSpace inferInstance

theorem not_sigmaCompactSpace

TopologyByExample.VaughanSpace.not_sigmaCompactSpace

Vaughan's space is not σ-compact, since it is not Lindelöf.

theorem not_sigmaCompactSpace : ¬SigmaCompactSpace VaughanSpace
Proof
:= fun _ ↦
  not_lindelofSpace inferInstance

theorem not_secondCountableTopology

TopologyByExample.VaughanSpace.not_secondCountableTopology

Vaughan's space is not second countable, since it is not separable.

theorem not_secondCountableTopology : ¬SecondCountableTopology VaughanSpace
Proof
:= fun _ ↦
  not_separableSpace inferInstance

theorem not_metrizableSpace

TopologyByExample.VaughanSpace.not_metrizableSpace

Vaughan's space is not metrizable, since it is not normal.

theorem not_metrizableSpace : ¬MetrizableSpace VaughanSpace
Proof
:= fun _ ↦
  letI := metrizableSpaceMetric VaughanSpace
  not_normalSpace inferInstance

theorem not_completelyNormalSpace

TopologyByExample.VaughanSpace.not_completelyNormalSpace

Vaughan's space is not completely normal, since it is not normal.

theorem not_completelyNormalSpace : ¬CompletelyNormalSpace VaughanSpace
Proof
:= fun _ ↦
  have : T5Space VaughanSpace := {}
  not_normalSpace inferInstance

theorem not_perfectlyNormalSpace

TopologyByExample.VaughanSpace.not_perfectlyNormalSpace

Vaughan's space is not perfectly normal, since it is not normal.

theorem not_perfectlyNormalSpace : ¬PerfectlyNormalSpace VaughanSpace
Proof
:= fun h ↦
  not_normalSpace h.toNormalSpace

theorem not_preconnectedSpace

TopologyByExample.VaughanSpace.not_preconnectedSpace

Vaughan's space is not connected: it is totally disconnected and has two points.

theorem not_preconnectedSpace : ¬PreconnectedSpace VaughanSpace
Proof
:= fun _ ↦
  not_subsingleton VaughanSpace ⟨fun x y ↦
    TotallyDisconnectedSpace.isTotallyDisconnected_univ univ subset_rfl isPreconnected_univ
      (mem_univ x) (mem_univ y)⟩

theorem not_pathConnectedSpace

TopologyByExample.VaughanSpace.not_pathConnectedSpace

Vaughan's space is not path connected, since it is not connected.

theorem not_pathConnectedSpace : ¬PathConnectedSpace VaughanSpace
Proof
:= fun _ ↦
  not_preconnectedSpace inferInstance

theorem not_locallyConnectedSpace

TopologyByExample.VaughanSpace.not_locallyConnectedSpace

Vaughan's space is not locally connected: a locally connected totally disconnected space is discrete, hence normal.

theorem not_locallyConnectedSpace : ¬LocallyConnectedSpace VaughanSpace
Proof
:= fun _ ↦ by
  have : DiscreteTopology VaughanSpace := discreteTopology_iff_isOpen_singleton.2 fun x ↦ by
    simpa using isOpen_connectedComponent (x := x)
  exact not_normalSpace ⟨fun s t _ _ hst ↦
    ⟨s, t, isOpen_discrete s, isOpen_discrete t, subset_rfl, subset_rfl, hst⟩⟩

theorem not_locallyPathConnectedSpace

TopologyByExample.VaughanSpace.not_locallyPathConnectedSpace

Vaughan's space is not locally path connected, since it is not locally connected.

theorem not_locallyPathConnectedSpace : ¬LocallyPathConnectedSpace VaughanSpace
Proof
:= fun _ ↦
  not_locallyConnectedSpace inferInstance

Vaughan's space

theorem not_countableChainCondition

TopologyByExample.VaughanSpace.not_countableChainCondition

Vaughan's space does not satisfy the countable chain condition: the singletons of the points pt (succ α) 0, for countable ordinals α, are uncountably many disjoint nonempty open sets.

theorem not_countableChainCondition :
    ¬∀ S : Set (Set VaughanSpace), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) →
      S.PairwiseDisjoint id → S.Countable
Proof
:= by
  intro h
  let f : OmegaOne → Set VaughanSpace := fun α ↦ {pt (succ α) 0}
  have hpt {a b : OmegaOne} (hab : pt (succ a) 0 = pt (succ b) 0) : a = b := by
    simp only [pt.injEq, and_true] at hab
    exact succ_injective hab
  have hf : Function.Injective f := fun a b hab ↦ hpt (singleton_injective hab)
  have hopen (α : OmegaOne) : IsOpen (f α) := by
    change IsOpen {pt (succ α) 0}
    rw [← basic_pt_of_not_isSuccLimit (not_isSuccLimit_succ α) 0 (⊥, 0)]
    exact isOpen_basic (isIndex_bot _ _)
  have hc := h (range f) (by rintro _ ⟨α, rfl⟩; exact ⟨hopen α, singleton_nonempty _⟩) (by
    rintro _ ⟨a, rfl⟩ _ ⟨b, rfl⟩ hne
    exact disjoint_singleton.2 fun heq ↦ hne (by rw [hpt heq]))
  exact not_countable_univ (by simpa using hc.preimage hf)

On this site: Vaughan's space does not satisfy the countable chain condition

instance instScatteredSpace

TopologyByExample.VaughanSpace.instScatteredSpace

Vaughan's space is scattered. In a nonempty set take the least rank α of its points. A point pt α i of the set is isolated in it, since its basic neighbourhood basic (pt α i) (⊥, 0) has no other point of rank at most α. Otherwise any point of rank α of the set is: its basic neighbourhood basic x (⊥, 0) has its points of rank at most α, and those of rank α other than x are points pt α j, or (for x = top α b) the other top point, of the other colour.

instance instScatteredSpace : ScatteredSpace VaughanSpace
Proof
:= by
  refine scatteredSpace_iff_exists_isolated.2 fun s hs ↦ ?_
  obtain ⟨_, ⟨x, hxs, rfl⟩, hmin⟩ := wellFounded_lt.has_min _ (hs.image rank)
  have hrank : ∀ y ∈ s, rank y ≤ rank x → rank y = rank x := fun y hy hle ↦
    le_antisymm hle (not_lt.1 (hmin _ ⟨y, hy, rfl⟩))
  have hbasic (z : VaughanSpace) : basic z (⊥, 0) ∈ 𝓝 z :=
    (hasBasis_nhds z).mem_of_mem (isIndex_bot z 0)
  by_cases hp : ∃ i, pt (rank x) i ∈ s
  · obtain ⟨i, hi⟩ := hp
    refine ⟨_, hi, _, hbasic _, ?_⟩
    rintro y ⟨hyb, hys⟩
    obtain ⟨δ, rfl⟩ := exists_pt_of_mem_basic_pt hyb
    have hδ : δ = rank x := hrank _ hys (rank_le_of_mem_basic (x := pt (rank x) i) hyb)
    rw [hδ]
    rfl
  push Not at hp
  refine ⟨x, hxs, _, hbasic x, ?_⟩
  rintro y ⟨hyb, hys⟩
  have hy : rank y = rank x := hrank y hys (rank_le_of_mem_basic hyb)
  cases x with
  | pt β i => exact absurd hxs (hp i)
  | tip β hβ =>
    rcases hyb with rfl | ⟨j, rfl, -⟩
    · rfl
    · exact absurd hys (hp j)
  | top μ hμ b =>
    obtain ⟨-, -, hcol, -⟩ := hyb
    cases y with
    | pt δ j =>
      change δ = μ at hy
      subst hy
      exact absurd hys (hp j)
    | tip δ hδ =>
      change δ = μ at hy
      subst hy
      exact absurd hμ hδ
    | top ν hν c =>
      change ν = μ at hy
      subst hy
      change c = b at hcol
      subst hcol
      rfl

On this site: Vaughan's space is scattered