Lean library · module TopologyByExample.Theorems.PerfectMetacompact
Countable metacompactness when closed sets are G-delta
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 pointFinite_refinement_of_countable_closed_cover
TopologyByExample.pointFinite_refinement_of_countable_closed_cover
A countable closed refinement yields a point-finite open refinement.
theorem pointFinite_refinement_of_countable_closed_cover {X ι : Type*}
[TopologicalSpace X] [Countable ι] (F U : ι → Set X)
(hF : ∀ i, IsClosed (F i)) (hU : ∀ i, IsOpen (U i)) (hFU : ∀ i, F i ⊆ U i)
(hcover : ⋃ i, F i = univ) :
∃ V : Set (Set X), (∀ v ∈ V, IsOpen v) ∧ ⋃₀ V = univ ∧
(∀ x, {v : V | x ∈ (v : Set X)}.Finite) ∧ ∀ v ∈ V, ∃ i, v ⊆ U i
Proof
:= by
classical
obtain ⟨code, hcode⟩ := Countable.exists_injective_nat ι
let earlier (i : ι) : Set X := ⋃ j ∈ code ⁻¹' Iio (code i), F j
have he (i : ι) : IsClosed (earlier i) :=
((finite_Iio (code i)).preimage hcode.injOn).isClosed_biUnion fun j _ ↦ hF j
let v (i : ι) := U i \ earlier i
refine ⟨range v, ?_, ?_, ?_, ?_⟩
· rintro _ ⟨i, rfl⟩
exact (hU i).sdiff (he i)
· apply eq_univ_of_forall
intro x
have hex : ∃ n, ∃ i, code i = n ∧ x ∈ F i := by
obtain ⟨i, hi⟩ := iUnion_eq_univ_iff.mp hcover x
exact ⟨code i, i, rfl, hi⟩
obtain ⟨i, hi, hxi⟩ := Nat.find_spec hex
refine mem_sUnion.mpr ⟨v i, mem_range_self i, hFU i hxi, ?_⟩
intro hx
obtain ⟨j, hj, hxj⟩ := mem_iUnion₂.mp hx
exact Nat.find_min hex (by simpa [hi] using hj) ⟨j, rfl, hxj⟩
· intro x
obtain ⟨i, hxi⟩ := iUnion_eq_univ_iff.mp hcover x
apply Finite.of_finite_image (f := Subtype.val) _ Subtype.val_injective.injOn
apply ((((finite_Iic (code i)).preimage hcode.injOn).image v)).subset
rintro _ ⟨⟨w, ⟨j, rfl⟩⟩, hxj, rfl⟩
refine ⟨j, ?_, rfl⟩
change code j ≤ code i
by_contra hj
exact hxj.2 (mem_iUnion₂.mpr ⟨i, lt_of_not_ge hj, hxi⟩)
· rintro _ ⟨i, rfl⟩
exact ⟨i, sdiff_subset⟩
theorem countablyMetacompactSpace_of_closed_gdelta
TopologyByExample.countablyMetacompactSpace_of_closed_gdelta
If every closed set is a G-delta, the space is countably metacompact.
theorem countablyMetacompactSpace_of_closed_gdelta {X : Type*} [TopologicalSpace X]
(hG : ∀ s : Set X, IsClosed s → IsGδ s) : CountablyMetacompactSpace X
Proof
:= by
classical
refine ⟨fun U hUc hUo hU ↦ ?_⟩
let : Countable U := hUc.to_subtype
have hrep (u : U) : ∃ F : ℕ → Set X, (∀ n, IsClosed (F n)) ∧ ⋃ n, F n = u := by
obtain ⟨G, hGo, hG⟩ := (hG _ (hUo u u.property).isClosed_compl).eq_iInter_nat
exact ⟨fun n ↦ (G n)ᶜ, fun n ↦ (hGo n).isClosed_compl,
by rw [← compl_iInter, ← hG, compl_compl]⟩
choose F hFc hFU using hrep
let A (i : U × ℕ) : Set X := F i.1 i.2
let B (i : U × ℕ) : Set X := i.1
have hAB (i : U × ℕ) : A i ⊆ B i := by
change F i.1 i.2 ⊆ (i.1 : Set X)
rw [← hFU i.1]
exact subset_iUnion _ i.2
have hA : ⋃ i, A i = univ := by
apply eq_univ_of_forall
intro x
obtain ⟨u, hu, hxu⟩ := mem_sUnion.mp (hU ▸ mem_univ x)
have he : u = ⋃ n, F ⟨u, hu⟩ n := (hFU ⟨u, hu⟩).symm
rw [he] at hxu
obtain ⟨n, hn⟩ := mem_iUnion.mp hxu
exact mem_iUnion.mpr ⟨(⟨u, hu⟩, n), hn⟩
obtain ⟨V, hVo, hV, hVf, hVB⟩ := pointFinite_refinement_of_countable_closed_cover A B
(fun i ↦ hFc i.1 i.2) (fun i ↦ hUo i.1 i.1.property) hAB hA
refine ⟨V, hVo, hV, hVf, fun v hv ↦ ?_⟩
obtain ⟨i, hi⟩ := hVB v hv
exact ⟨i.1, i.1.property, hi⟩
On this site: Theorem: Spaces whose closed sets are G-delta are countably metacompact
theorem countablyMetacompactSpace_of_closed_discrete_countable_compl
TopologyByExample.countablyMetacompactSpace_of_closed_discrete_countable_compl
A T₁ space consisting of a closed discrete set and countably many other points is countably metacompact.
theorem countablyMetacompactSpace_of_closed_discrete_countable_compl
{X : Type*} [TopologicalSpace X] [T1Space X] {D : Set X}
(hDc : IsClosed D) (hDd : IsDiscrete D) (hcount : Dᶜ.Countable) :
CountablyMetacompactSpace X
Proof
:= by
apply countablyMetacompactSpace_of_closed_gdelta
intro A _
have hclosed : IsClosed (Aᶜ ∩ D) :=
isClosed_of_subset_discrete_closed inter_subset_right hDd hDc
have hc : (Aᶜ ∩ Dᶜ).Countable := hcount.mono inter_subset_right
have he : A = (Aᶜ ∩ D)ᶜ ∩ (Aᶜ ∩ Dᶜ)ᶜ := by
ext x
simp only [mem_inter_iff, mem_compl_iff]
tauto
rw [he]
exact hclosed.isOpen_compl.isGδ.inter hc.isGδ_compl
On this site: Theorem: A closed discrete remainder with countable complement gives countable metacompactness