Lean library · module TopologyByExample.Theorems.DowkerCompactProduct

Normal products with compact second-countable spaces

Source file

Finite unions of a countable basis separate the two closed fibres. Countable paracompactness supplies a locally finite refinement on the first factor, and Mathlib's shrinking lemma supplies an open shrinking. Products of those shrunken sets with the selected fibre neighbourhoods give a separation in the product.

The argument follows Willard, General Topology, Theorem 21.4, using a single chosen finite basis union for each refinement member.

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 exists_open_closure_subset_prod_of_countable_fibres

TopologyByExample.exists_open_closure_subset_prod_of_countable_fibres

A countable family of fibre neighbourhoods separates closed subsets of a product when the first factor is normal and countably paracompact, and the second factor is compact. The closure condition on the fibre neighbourhood is essential.

theorem exists_open_closure_subset_prod_of_countable_fibres
    [NormalSpace X] [CountablyParacompactSpace X] [CompactSpace Y]
    {A B : Set (X × Y)} (hA : IsClosed A) (hB : IsClosed B)
    {ι : Type*} [Countable ι] (H : ι → Set Y) (hHo : ∀ i, IsOpen (H i))
    (hcover : ∀ x : X, ∃ i, (∀ y, (x, y) ∈ A → y ∈ H i) ∧
      (∀ y, (x, y) ∈ B → y ∉ closure (H i))) :
    ∃ W : Set (X × Y), IsOpen W ∧ A ⊆ W ∧ closure W ⊆ Bᶜ
Proof
:= by
  classical
  let U : ι → Set X := fun i ↦
    (Prod.fst '' (A ∩ (univ ×ˢ (H i)ᶜ)))ᶜ ∩
      (Prod.fst '' (B ∩ (univ ×ˢ closure (H i))))ᶜ
  have hUo : ∀ i, IsOpen (U i) := fun i ↦
    (isClosedMap_fst_of_compactSpace _
      (hA.inter (isClosed_univ.prod (hHo i).isClosed_compl))).isOpen_compl.inter
    (isClosedMap_fst_of_compactSpace _
      (hB.inter (isClosed_univ.prod isClosed_closure))).isOpen_compl
  have hUcover : ⋃₀ range U = univ := by
    refine eq_univ_of_forall fun x ↦ ?_
    obtain ⟨i, hiA, hiB⟩ := hcover x
    refine mem_sUnion.2 ⟨U i, mem_range_self i, ?_, ?_⟩
    · rintro ⟨⟨a, b⟩, ⟨hab, -, hb⟩, hax⟩
      dsimp at hax
      subst a
      exact hb (hiA b hab)
    · rintro ⟨⟨a, b⟩, ⟨hab, -, hb⟩, hax⟩
      dsimp at hax
      subst a
      exact hiB b hab hb
  obtain ⟨V, hVo, hVcover, hVlf, hVU⟩ :=
    CountablyParacompactSpace.locallyFinite_refinement (range U) (countable_range U)
      (forall_mem_range.2 hUo) hUcover
  have hselect : ∀ v : V, ∃ i, (v : Set X) ⊆ U i := by
    intro v
    obtain ⟨_, ⟨i, rfl⟩, hi⟩ := hVU v v.property
    exact ⟨i, hi⟩
  choose index hindex using hselect
  have hVcov : ⋃ v : V, (v : Set X) = univ := by
    simpa only [sUnion_eq_iUnion] using hVcover
  obtain ⟨w, hwcover, hwo, hwc⟩ := exists_iUnion_eq_closure_subset
    (fun v : V ↦ hVo v v.property) hVlf.point_finite hVcov
  have hwlf : LocallyFinite w := hVlf.subset fun v ↦ subset_closure.trans (hwc v)
  let W : Set (X × Y) := ⋃ v : V, w v ×ˢ H (index v)
  refine ⟨W, isOpen_iUnion fun v ↦ (hwo v).prod (hHo (index v)), ?_, ?_⟩
  · intro p hp
    obtain ⟨v, hv⟩ := mem_iUnion.1 (hwcover.symm ▸ mem_univ p.1)
    have hxU := hindex v (hwc v (subset_closure hv))
    have hyH : p.2 ∈ H (index v) := by
      by_contra hy
      exact hxU.1 ⟨p, ⟨hp, mem_univ _, hy⟩, rfl⟩
    exact mem_iUnion.2 ⟨v, hv, hyH⟩
  · intro p hp hpB
    rw [show W = ⋃ v : V, w v ×ˢ H (index v) from rfl,
      (hwlf.prod_right (fun v ↦ H (index v))).closure_iUnion] at hp
    obtain ⟨v, hv⟩ := mem_iUnion.1 hp
    rw [closure_prod_eq] at hv
    have hxU := hindex v (hwc v hv.1)
    exact hxU.2 ⟨p, ⟨hpB, mem_univ _, hv.2⟩, rfl⟩

theorem exists_finite_basis_fibre_separator

TopologyByExample.exists_finite_basis_fibre_separator

Finite unions from a countable basis separate any two disjoint closed fibres in a compact regular second-countable space.

theorem exists_finite_basis_fibre_separator [CompactSpace Y] [RegularSpace Y]
    [SecondCountableTopology Y] {A B : Set (X × Y)} (hA : IsClosed A)
    (hB : IsClosed B) (hAB : Disjoint A B) (x : X) :
    ∃ s : Finset (countableBasis Y),
      (∀ y, (x, y) ∈ A → y ∈ ⋃ b ∈ s, (b : Set Y)) ∧
      (∀ y, (x, y) ∈ B → y ∉ closure (⋃ b ∈ s, (b : Set Y)))
Proof
:= by
  classical
  let C : Set Y := (fun y : Y ↦ (x, y)) ⁻¹' A
  let D : Set Y := (fun y : Y ↦ (x, y)) ⁻¹' B
  have hC : IsClosed C := hA.preimage (continuous_const.prodMk continuous_id)
  have hD : IsClosed D := hB.preimage (continuous_const.prodMk continuous_id)
  have hbasis : ∀ y : C, ∃ b : countableBasis Y,
      (y : Y) ∈ (b : Set Y) ∧ closure (b : Set Y) ⊆ Dᶜ := by
    intro y
    have hyD : (y : Y) ∉ D := fun h ↦ disjoint_left.1 hAB y.property h
    obtain ⟨b, hb, hyb, hbc⟩ := (isBasis_countableBasis Y).exists_closure_subset
      (hD.isOpen_compl.mem_nhds hyD)
    exact ⟨⟨b, hb⟩, hyb, hbc⟩
  choose b hyb hbc using hbasis
  obtain ⟨t, ht⟩ := hC.isCompact.elim_finite_subcover (fun y : C ↦ (b y : Set Y))
    (fun y ↦ isOpen_of_mem_countableBasis (b y).property)
    (fun y hy ↦ mem_iUnion.2 ⟨⟨y, hy⟩, hyb ⟨y, hy⟩⟩)
  refine ⟨t.image b, ?_, ?_⟩
  · intro y hy
    obtain ⟨a, ha, hya⟩ := mem_iUnion₂.1 (ht hy)
    exact mem_iUnion₂.2 ⟨b a, Finset.mem_image.2 ⟨a, ha, rfl⟩, hya⟩
  · intro y hy hycl
    rw [Finset.closure_biUnion] at hycl
    obtain ⟨v, hv, hyv⟩ := mem_iUnion₂.1 hycl
    obtain ⟨a, -, rfl⟩ := Finset.mem_image.1 hv
    exact hbc a hyv hy

theorem normalSpace_prod_of_countablyParacompactSpace

TopologyByExample.normalSpace_prod_of_countablyParacompactSpace

The product of a normal countably paracompact space with a compact regular second-countable space is normal. In particular this applies to compact metric spaces.

theorem normalSpace_prod_of_countablyParacompactSpace [NormalSpace X]
    [CountablyParacompactSpace X] [CompactSpace Y] [RegularSpace Y]
    [SecondCountableTopology Y] : NormalSpace (X × Y)
Proof
:= by
  classical
  constructor
  intro A B hA hB hAB
  obtain ⟨W, hWo, hAW, hWB⟩ := exists_open_closure_subset_prod_of_countable_fibres hA hB
    (fun s : Finset (countableBasis Y) ↦ ⋃ b ∈ s, (b : Set Y))
    (fun s ↦ isOpen_biUnion fun b _ ↦ isOpen_of_mem_countableBasis b.property)
    (exists_finite_basis_fibre_separator hA hB hAB)
  refine ⟨W, (closure W)ᶜ, hWo, isClosed_closure.isOpen_compl, hAW, ?_, ?_⟩
  · intro p hp hpW
    exact hWB hpW hp
  · exact disjoint_compl_right.mono_left subset_closure

theorem countablyParacompactSpace_iff_normalSpace_prod_unitInterval

TopologyByExample.countablyParacompactSpace_iff_normalSpace_prod_unitInterval

Dowker's characterization. For a normal space, countable paracompactness is equivalent to normality of its product with the unit interval.

theorem countablyParacompactSpace_iff_normalSpace_prod_unitInterval
    [NormalSpace X] : CountablyParacompactSpace X ↔ NormalSpace (X × unitInterval)
Proof
:= by
  constructor
  · intro h
    let := h
    exact normalSpace_prod_of_countablyParacompactSpace
  · intro h
    let := h
    exact countablyParacompactSpace_of_normalSpace_prod_unitInterval

On this site: Theorem: Dowker's characterization of countable paracompactness