Lean library · module TopologyByExample.Theorems.PseudocompactCovers
Covering consequences of pseudocompactness
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
variable {X : Type*} [TopologicalSpace X] [CompletelyRegularSpace X] [PseudocompactSpace X]
theorem finite_nonempty_locallyFinite_open
TopologyByExample.finite_nonempty_locallyFinite_open
A locally finite family of open sets in a completely regular pseudocompact space has only finitely many nonempty members.
theorem finite_nonempty_locallyFinite_open {ι : Type*} {U : ι → Set X}
(hU : LocallyFinite U) (ho : ∀ i, IsOpen (U i)) : {i | (U i).Nonempty}.Finite
Proof
:= by
classical
by_contra hi
let e := Set.Infinite.natEmbedding _ hi
have hne (n : ℕ) : (U (e n)).Nonempty := (e n).property
choose x hx using hne
have hex (n : ℕ) := CompletelyRegularSpace.completely_regular_isOpen (x n) (U (e n))
(ho _) (hx n)
choose g hg hgx hgone using hex
let f : ℕ → X → ℝ := fun n z ↦ (n : ℝ) * (1 - (g n z : ℝ))
have hf : ∀ n, Continuous (f n) := fun n ↦
continuous_const.mul (continuous_const.sub (continuous_subtypeVal.comp (hg n)))
have hnonneg (n : ℕ) (z : X) : 0 ≤ f n z :=
mul_nonneg (Nat.cast_nonneg n) (sub_nonneg.2 (g n z).property.2)
have hsupport (n : ℕ) : Function.support (f n) ⊆ U (e n) := by
intro z hz
by_contra hn
have he := hgone n hn
apply hz
simp [f, he]
have hlf : LocallyFinite (fun n ↦ Function.support (f n)) :=
(hU.comp_injective (Subtype.val_injective.comp e.injective)).subset hsupport
let F : C(X, ℝ) := ⟨fun z ↦ ∑ᶠ n, f n z, continuous_finsum hf hlf⟩
obtain ⟨M, hM⟩ := PseudocompactSpace.bddAbove_range F
obtain ⟨n, hn⟩ := exists_nat_gt M
have hle : f n (x n) ≤ F (x n) :=
single_le_finsum n (hlf.point_finite (x n)) (fun k ↦ hnonneg k (x n))
have heq : f n (x n) = n := by simp [f, hgx]
rw [heq] at hle
exact hn.not_ge (hle.trans (hM (mem_range_self (x n))))
On this site: Theorem: Locally finite open families in pseudocompact spaces
theorem countablyCompactSpace_of_pseudocompact_of_countablyParacompact
TopologyByExample.countablyCompactSpace_of_pseudocompact_of_countablyParacompact
A completely regular pseudocompact countably paracompact space is countably compact.
theorem countablyCompactSpace_of_pseudocompact_of_countablyParacompact
[CountablyParacompactSpace X] : CountablyCompactSpace X
Proof
:= by
classical
constructor
apply isCountablyCompact_iff_countable_open_cover.2
intro U ho hcover
have hU : ⋃₀ range U = univ := by
rw [sUnion_range]
exact univ_subset_iff.1 hcover
obtain ⟨V, hVo, hV, hVlf, hVU⟩ := CountablyParacompactSpace.locallyFinite_refinement
(range U) (countable_range U) (by simpa using ho) hU
have hfin := finite_nonempty_locallyFinite_open hVlf (fun v ↦ hVo v.val v.property)
have hex (v : V) : ∃ n, v.val ⊆ U n := by
obtain ⟨_, ⟨n, rfl⟩, hv⟩ := hVU v.val v.property
exact ⟨n, hv⟩
choose n hn using hex
refine ⟨hfin.toFinset.image n, ?_⟩
intro x _
obtain ⟨v, hvV, hxv⟩ := mem_sUnion.1 (hV.symm ▸ mem_univ x)
refine mem_iUnion₂.2 ⟨n ⟨v, hvV⟩, ?_, hn ⟨v, hvV⟩ hxv⟩
exact Finset.mem_image.2 ⟨⟨v, hvV⟩, hfin.mem_toFinset.2 ⟨x, hxv⟩, rfl⟩
On this site: Theorem: A countable compactness consequence of pseudocompactness