Lean library · module TopologyByExample.Theorems.WellOrder

Well orders: conditional completeness, and uncountable cofinality against perfect normality

Source file

In a well-ordered set every nonempty subset has a least element, which is its greatest lower bound; and a nonempty subset with an upper bound has a least upper bound, the least element of its (nonempty) set of upper bounds. Mathlib packages this as the structure WellFoundedLT.conditionallyCompleteLinearOrderBot; this file states it as a theorem about the given order, in the form used for complete linear orders elsewhere in the project (TopologyByExample.ProdLex.exists_isLUB_and_exists_isGLB).

Next, let α be a nonempty well order without a greatest element, with the order topology, in which every countable set is bounded above (for example ω₁, or any regular uncountable cardinal). Then the set of non-isolated points of α is closed (in any space, the isolated points form an open set) but not a Gδ set, so α is not perfectly normal. The two ingredients are:

  • an open set containing every non-isolated point contains a tail Set.Ici c: otherwise there is a strictly increasing sequence outside it, whose supremum is a non-isolated point all of whose neighbourhoods meet the sequence;
  • no tail consists of non-isolated points, since every successor is isolated.

Countably many tails have a common tail, as the countable set of their starting points is bounded.

Main statements

Tags

well order, conditionally complete, least upper bound, ordinal, ω₁, uncountable cofinality, Gδ set, perfectly normal

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 exists_isLUB_and_exists_isGLB_of_wellFoundedLT

TopologyByExample.exists_isLUB_and_exists_isGLB_of_wellFoundedLT

In a well order, every nonempty subset with an upper bound has a least upper bound, and every nonempty subset has a greatest lower bound (its least element).

theorem exists_isLUB_and_exists_isGLB_of_wellFoundedLT {α : Type*} [LinearOrder α]
    [WellFoundedLT α] :
    (∀ s : Set α, s.Nonempty → BddAbove s → ∃ x, IsLUB s x) ∧
      ∀ s : Set α, s.Nonempty → ∃ x, IsGLB s x
Proof
:= by
  have least (t : Set α) (ht : t.Nonempty) : IsLeast t (wellFounded_lt.min t ht) :=
    ⟨wellFounded_lt.min_mem t ht, fun _ hy ↦ not_lt.1 (wellFounded_lt.not_lt_min t hy)⟩
  exact ⟨fun s _ hb ↦ ⟨_, least _ hb⟩, fun s hs ↦ ⟨_, (least s hs).isGLB⟩⟩

On this site: Theorem: Every bounded subset of a well-ordered set has a least upper bound

theorem isClosed_setOf_not_isOpen_singleton

TopologyByExample.isClosed_setOf_not_isOpen_singleton

In any topological space, the non-isolated points form a closed set.

theorem isClosed_setOf_not_isOpen_singleton {X : Type*} [TopologicalSpace X] :
    IsClosed {x : X | ¬IsOpen ({x} : Set X)}
Proof
:= by
  rw [← isOpen_compl_iff]
  convert isOpen_biUnion (s := {x : X | IsOpen ({x} : Set X)}) fun x hx ↦ hx using 1
  ext x
  simp
variable {α : Type*} [LinearOrder α] [WellFoundedLT α] [TopologicalSpace α] [OrderTopology α]

theorem isOpen_singleton_succ

TopologyByExample.isOpen_singleton_succ

In a linear order with the order topology and no greatest element, the successor a + 1 of any point is isolated: {a + 1} is the open set (a, a + 2).

theorem isOpen_singleton_succ {β : Type*} [LinearOrder β] [SuccOrder β] [NoMaxOrder β]
    [TopologicalSpace β] [OrderTopology β] (a : β) : IsOpen ({Order.succ a} : Set β)
Proof
:= by
  convert isOpen_Ioo (a := a) (b := Order.succ (Order.succ a)) using 1
  ext y
  simp only [mem_singleton_iff, mem_Ioo]
  constructor
  · rintro rfl
    exact ⟨Order.lt_succ a, Order.lt_succ _⟩
  · rintro ⟨h₁, h₂⟩
    exact le_antisymm (Order.lt_succ_iff.1 h₂) (Order.succ_le_of_lt h₁)

On this site: Theorem: In a linear order without a greatest element, successors are isolated

theorem exists_le_isOpen_singleton_of_wellFoundedLT

TopologyByExample.exists_le_isOpen_singleton_of_wellFoundedLT

In a well order with the order topology, every point other than a greatest element has an isolated point above it, its successor.

theorem exists_le_isOpen_singleton_of_wellFoundedLT [NoMaxOrder α] (c : α) :
    ∃ x, c ≤ x ∧ IsOpen ({x} : Set α)
Proof
:=
  let := SuccOrder.ofLinearWellFoundedLT α
  ⟨Order.succ c, Order.le_succ c, isOpen_singleton_succ c⟩

theorem exists_Ici_subset_of_setOf_not_isOpen_singleton_subset

TopologyByExample.exists_Ici_subset_of_setOf_not_isOpen_singleton_subset

In a well order with the order topology in which every countable set is bounded above, an open set containing every non-isolated point contains a tail.

theorem exists_Ici_subset_of_setOf_not_isOpen_singleton_subset [NoMaxOrder α] [Nonempty α]
    (h : ∀ s : Set α, s.Countable → BddAbove s) {U : Set α} (hU : IsOpen U)
    (hLU : {x : α | ¬IsOpen ({x} : Set α)} ⊆ U) : ∃ c, Ici c ⊆ U
Proof
:= by
  by_contra! hc
  choose f hcf hfU using fun c ↦ not_subset.1 (hc c)
  choose g hg using fun c : α ↦ exists_gt c
  let a : ℕ → α := fun n ↦ Nat.rec (f (Classical.arbitrary α)) (fun _ x ↦ f (g x)) n
  have ha : StrictMono a := strictMono_nat_of_lt_succ fun n ↦ (hg (a n)).trans_le (hcf (g (a n)))
  have haU (n : ℕ) : a n ∉ U := by
    cases n with
    | zero => exact hfU _
    | succ n => exact hfU _
  obtain ⟨s, hs⟩ := exists_isLUB_and_exists_isGLB_of_wellFoundedLT.1 _ (range_nonempty a)
    (h _ (countable_range a))
  -- every neighbourhood of the supremum meets the sequence
  have hmeet {V : Set α} (hV : V ∈ 𝓝 s) : ∃ n, a n ∈ V := by
    obtain ⟨l, hl, hlV⟩ := exists_Ioc_subset_of_mem_nhds hV
      ⟨a 0, (ha (Nat.zero_lt_one)).trans_le (hs.1 (mem_range_self 1))⟩
    obtain ⟨_, ⟨n, rfl⟩, hn⟩ := (lt_isLUB_iff hs).1 hl
    exact ⟨n, hlV ⟨hn, hs.1 (mem_range_self n)⟩⟩
  have hsL : ¬IsOpen ({s} : Set α) := fun hs' ↦ by
    obtain ⟨n, hn⟩ := hmeet (hs'.mem_nhds rfl)
    exact (ha (Nat.lt_succ_self n)).not_ge (hn ▸ hs.1 (mem_range_self (n + 1)))
  obtain ⟨n, hn⟩ := hmeet (hU.mem_nhds (hLU hsL))
  exact haU n hn

theorem not_isGδ_setOf_not_isOpen_singleton

TopologyByExample.not_isGδ_setOf_not_isOpen_singleton

In a nonempty well order without a greatest element, with the order topology, in which every countable set is bounded above, the non-isolated points do not form a Gδ set.

theorem not_isGδ_setOf_not_isOpen_singleton [NoMaxOrder α] [Nonempty α]
    (h : ∀ s : Set α, s.Countable → BddAbove s) :
    ¬IsGδ {x : α | ¬IsOpen ({x} : Set α)}
Proof
:= by
  intro hG
  obtain ⟨U, hUo, hU⟩ := isGδ_iff_eq_iInter_nat.1 hG
  choose c hc using fun n ↦ exists_Ici_subset_of_setOf_not_isOpen_singleton_subset h (hUo n)
    (hU ▸ iInter_subset _ n)
  obtain ⟨b, hb⟩ := h _ (countable_range c)
  obtain ⟨x, hbx, hx⟩ := exists_le_isOpen_singleton_of_wellFoundedLT b
  have : x ∈ ⋂ n, U n :=
    mem_iInter.2 fun n ↦ hc n ((hb (mem_range_self n)).trans hbx)
  rw [← hU] at this
  exact this hx

theorem not_perfectlyNormalSpace_of_bddAbove_of_countable

TopologyByExample.not_perfectlyNormalSpace_of_bddAbove_of_countable

A nonempty well order without a greatest element, with the order topology, in which every countable set is bounded above (such as ω₁) is not perfectly normal.

theorem not_perfectlyNormalSpace_of_bddAbove_of_countable [NoMaxOrder α] [Nonempty α]
    (h : ∀ s : Set α, s.Countable → BddAbove s) : ¬PerfectlyNormalSpace α
Proof
:= fun _ ↦
  not_isGδ_setOf_not_isOpen_singleton h isClosed_setOf_not_isOpen_singleton.isGδ

On this site: Theorem: A well order in which countable sets are bounded is not perfectly normal