Lean library · module TopologyByExample.Spaces.EllentuckCompactness
Compactness obstructions in the Ellentuck topology
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 isOpen_mem
TopologyByExample.Ellentuck.isOpen_mem
Requiring membership of one natural number is an open condition.
theorem isOpen_mem (k : ℕ) : IsOpen {B : Ellentuck | k ∈ val B}
Proof
:= by
intro B hB
exact ⟨{k}, by simpa using (singleton_subset_iff.mpr hB), fun C hC ↦ hC.1 (by simp)⟩
theorem not_isCountablyCompact_basic
TopologyByExample.Ellentuck.not_isCountablyCompact_basic
A nonempty basic set is not countably compact.
theorem not_isCountablyCompact_basic {s : Finset ℕ} {A : Set ℕ} (hne : (basic s A).Nonempty) :
¬ IsCountablyCompact (basic s A)
Proof
:= by
classical
intro hc
let U : ℕ → Set Ellentuck := fun k ↦ {B | k ∉ s ∧ k ∈ val B}
have hUo (k : ℕ) : IsOpen (U k) := by
by_cases hk : k ∈ s
· have he : U k = ∅ := by ext B; simp [U, hk]
rw [he]; exact isOpen_empty
· simpa [U, hk] using isOpen_mem k
have hcover : basic s A ⊆ ⋃ k, U k := by
intro B _
obtain ⟨k, hkB, hks⟩ := (infinite_val B).exists_notMem_finite s.finite_toSet
exact mem_iUnion.mpr ⟨k, hks, hkB⟩
obtain ⟨t, ht⟩ := hc.elim_finite_subcover hUo hcover
obtain ⟨B, hsB, hBA⟩ := hne
let C : Ellentuck := ⟨val B \ ((t \ s : Finset ℕ) : Set ℕ),
(infinite_val B).sdiff (t \ s).finite_toSet⟩
have hC : C ∈ basic s A := by
refine ⟨fun k hk ↦ ⟨hsB hk, ?_⟩, sdiff_subset.trans hBA⟩
intro h
exact (Finset.mem_sdiff.mp h).2 hk
obtain ⟨k, hkt, hku⟩ := mem_iUnion₂.mp (ht hC)
exact hku.2.2 (Finset.mem_sdiff.mpr ⟨hkt, hku.1⟩)
theorem not_countablyCompactSpace
TopologyByExample.Ellentuck.not_countablyCompactSpace
The Ellentuck space is not countably compact.
theorem not_countablyCompactSpace : ¬ CountablyCompactSpace Ellentuck
theorem not_weaklyLocallyCompactSpace
TopologyByExample.Ellentuck.not_weaklyLocallyCompactSpace
No point has a compact neighborhood.
theorem not_weaklyLocallyCompactSpace : ¬ WeaklyLocallyCompactSpace Ellentuck
Proof
:= by
intro h
obtain ⟨K, hK, hKB⟩ := h.exists_compact_mem_nhds whole
obtain ⟨s, hs, hsK⟩ := (hasBasis whole).mem_iff.mp hKB
exact not_isCountablyCompact_basic ⟨whole, hs, subset_rfl⟩
(hK.of_isClosed_subset (isClosed_basic _ _) hsK).isCountablyCompact
On this site: The Ellentuck space is not weakly locally compact
definition minimum
TopologyByExample.Ellentuck.minimum
The least element of an infinite set.
noncomputable def minimum (B : Ellentuck) : ℕ
:= by
classical
exact Nat.find (infinite_val B).nonempty
theorem minimum_mem
TopologyByExample.Ellentuck.minimum_mem
The least element belongs to its set.
theorem minimum_mem (B : Ellentuck) : minimum B ∈ val B
Proof
:= by
classical
exact Nat.find_spec _
theorem minimum_le
TopologyByExample.Ellentuck.minimum_le
Every member is at least the least element.
theorem minimum_le {B : Ellentuck} {n : ℕ} (hn : n ∈ val B) : minimum B ≤ n
Proof
:= by
classical
exact Nat.find_min' _ hn
theorem minimum_eq_of_mem_basic
TopologyByExample.Ellentuck.minimum_eq_of_mem_basic
The minimum is constant on the neighborhood that retains it.
theorem minimum_eq_of_mem_basic {B C : Ellentuck}
(h : C ∈ basic {minimum B} (val B)) : minimum C = minimum B
Proof
:=
le_antisymm (minimum_le (h.1 (by simp))) (minimum_le (h.2 (minimum_mem C)))
definition minimumFunction
TopologyByExample.Ellentuck.minimumFunction
The least-element function is a continuous real-valued map.
noncomputable def minimumFunction : C(Ellentuck, ℝ)
Definition
where
toFun B := minimum B
continuous_toFun := by
apply continuous_def.mpr
intro U _ B hB
refine ⟨{minimum B}, by simpa using (singleton_subset_iff.mpr (minimum_mem B)), ?_⟩
intro C hC
change (minimum C : ℝ) ∈ U
rw [minimum_eq_of_mem_basic hC]
exact hB
definition tail
TopologyByExample.Ellentuck.tail
An infinite tail of the natural numbers.
def tail (n : ℕ) : Ellentuck
:= ⟨Ici n, Set.Ici_infinite n⟩
theorem minimum_tail
TopologyByExample.Ellentuck.minimum_tail
The least element of a tail is its endpoint.
theorem minimum_tail (n : ℕ) : minimum (tail n) = n
Proof
:=
le_antisymm (minimum_le (B := tail n) (mem_Ici.mpr le_rfl)) (minimum_mem (tail n))
theorem not_pseudocompactSpace
TopologyByExample.Ellentuck.not_pseudocompactSpace
The least-element function is unbounded, so the space is not pseudocompact.
theorem not_pseudocompactSpace : ¬ PseudocompactSpace Ellentuck
Proof
:= by
intro h
obtain ⟨M, hM⟩ := (h.bddAbove_and_bddBelow_range minimumFunction).1
obtain ⟨n, hn⟩ := exists_nat_gt M
have hm := hM (mem_range_self (tail n))
change (minimum (tail n) : ℝ) ≤ M at hm
rw [minimum_tail] at hm
exact (not_le_of_gt hn) hm
On this site: The Ellentuck space is not pseudocompact