Lean library · module TopologyByExample.Theorems.CountablyCompactFullNormality
Point-star refinements in countably compact spaces
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.
theorem compactSpace_of_countablyCompactSpace_of_fullyT4Space
TopologyByExample.compactSpace_of_countablyCompactSpace_of_fullyT4Space
Countably compact fully T₄ spaces are compact, without separation assumptions.
theorem compactSpace_of_countablyCompactSpace_of_fullyT4Space
{X : Type*} [TopologicalSpace X] [CountablyCompactSpace X] [FullyT4Space X] :
CompactSpace X
Proof
:= by
classical
refine ⟨isCompact_of_finite_subcover fun U hUo hU ↦ ?_⟩
obtain ⟨V, hVo, hV, hstar⟩ := FullyT4Space.pointStar_refinement (range U)
(forall_mem_range.mpr hUo) (by rw [sUnion_range]; exact univ_subset_iff.mp hU)
have hchoice : ∀ x, ∃ i, ∀ v ∈ V, x ∈ v → v ⊆ U i := by
intro x
obtain ⟨_, ⟨i, rfl⟩, hi⟩ := hstar x
exact ⟨i, hi⟩
choose f hf using hchoice
by_contra! h
have hx : ∀ s : Finset _, ∃ x, ∀ i ∈ s, x ∉ U i := by
intro s
obtain ⟨x, _, hx⟩ := Set.not_subset.mp (h s)
exact ⟨x, by simpa using hx⟩
choose x hx using hx
let F : ℕ → Finset _ := Nat.rec ∅ (fun _ s ↦ insert (f (x s)) s)
have hstep : ∀ n, F (n + 1) = insert (f (x (F n))) (F n) := fun _ ↦ rfl
have hmono : Monotone F := monotone_nat_of_le_succ fun n ↦ by
rw [hstep]; exact Finset.subset_insert _ _
have honce : ∀ v ∈ V, ∀ m n, m < n → x (F m) ∈ v → x (F n) ∉ v := by
intro v hv m n hmn hm hn
apply hx (F n) (f (x (F m)))
· apply hmono (Nat.succ_le_of_lt hmn)
rw [hstep]
exact Finset.mem_insert_self _ _
· exact hf _ v hv hm hn
obtain ⟨a, _, ha⟩ := (CountablyCompactSpace.isCountablyCompact_univ (E := X)).seq_clusterPt
(fun n ↦ x (F n)) (Filter.Eventually.of_forall fun _ ↦ mem_univ _)
obtain ⟨v, hv, hav⟩ := mem_sUnion.mp (hV ▸ mem_univ a)
have hfreq := ha.frequently ((hVo v hv).mem_nhds hav)
rw [Nat.frequently_atTop_iff_infinite] at hfreq
apply hfreq
apply Set.Subsingleton.finite
intro m hm n hn
exact le_antisymm (le_of_not_gt fun h ↦ honce v hv n m h hn hm)
(le_of_not_gt fun h ↦ honce v hv m n h hm hn)
On this site: Theorem: Countably compact and fully T₄ implies compact