Lean library · module TopologyByExample.Theorems.CountableExtentCover
Countable covers by countably compact sets
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 countableExtent_of_countable_countablyCompact_cover
TopologyByExample.countableExtent_of_countable_countablyCompact_cover
A countable union of countably compact sets has countable extent.
theorem countableExtent_of_countable_countablyCompact_cover {X ι : Type*}
[TopologicalSpace X] [Countable ι] (K : ι → Set X)
(hK : ∀ i, IsCountablyCompact (K i)) (hcover : ⋃ i, K i = univ) :
∀ s : Set X, ¬ s.Countable → ∃ x, AccPt x (𝓟 s)
Proof
:= by
apply countableExtent_iff.2
intro s hs hd
have hn := isClosed_and_isDiscrete_iff_forall_not_accPt.1 ⟨hs, hd⟩
have hf (i : ι) : (s ∩ K i).Finite := by
by_contra h
obtain ⟨x, _, hx⟩ := (hK i).exists_accPt_of_infinite inter_subset_right h
exact hn x (hx.mono (principal_mono.mpr inter_subset_left))
have he : s = ⋃ i, s ∩ K i := by rw [← inter_iUnion, hcover, inter_univ]
rw [he]
exact countable_iUnion fun i ↦ (hf i).countable
On this site: Theorem: Countable covers by countably compact sets give countable extent