Lean library · module TopologyByExample.Theorems.CompactCountablyCompact

Compact factors and countable compactness

Source file

Proper maps lift cluster points, so their inverse images preserve countable compactness. Applying this to the projections gives the compact-factor product theorem without any separation hypothesis.

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 Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]

theorem isCountablyCompact_preimage_of_isProperMap

TopologyByExample.isCountablyCompact_preimage_of_isProperMap

The inverse image of a countably compact set under a proper map is countably compact.

theorem isCountablyCompact_preimage_of_isProperMap {s : Set Y} (hs : IsCountablyCompact s)
    {f : X → Y} (hf : IsProperMap f) : IsCountablyCompact (f ⁻¹' s)
Proof
:= by
  intro l _ _ hl
  have hmap : map f l ≤ 𝓟 s := by
    rwa [map_le_iff_le_comap, comap_principal]
  obtain ⟨y, hy, hyc⟩ := hs hmap
  obtain ⟨x, hxy, hx⟩ := hf.clusterPt_of_mapClusterPt hyc
  exact ⟨x, show f x ∈ s from hxy.symm ▸ hy, hx⟩

On this site: Theorem: Proper inverse images preserve countable compactness

theorem countablyCompactSpace_prod_of_compact_left

TopologyByExample.countablyCompactSpace_prod_of_compact_left

The product of a compact space and a countably compact space is countably compact.

theorem countablyCompactSpace_prod_of_compact_left
    [CompactSpace X] [CountablyCompactSpace Y] : CountablyCompactSpace (X × Y)
Proof
:= by
  apply isCountablyCompact_univ_iff.mp
  simpa using isCountablyCompact_preimage_of_isProperMap
    (X := X × Y) (Y := Y) CountablyCompactSpace.isCountablyCompact_univ
    isProperMap_snd_of_compactSpace

theorem countablyCompactSpace_prod_of_compact_right

TopologyByExample.countablyCompactSpace_prod_of_compact_right

The product of a countably compact space and a compact space is countably compact.

theorem countablyCompactSpace_prod_of_compact_right
    [CountablyCompactSpace X] [CompactSpace Y] : CountablyCompactSpace (X × Y)
Proof
:= by
  apply isCountablyCompact_univ_iff.mp
  simpa using isCountablyCompact_preimage_of_isProperMap
    (X := X × Y) (Y := X) CountablyCompactSpace.isCountablyCompact_univ
    isProperMap_fst_of_compactSpace

On this site: Theorem: The product of a countably compact space and a compact space is countably compact