Lean library · module TopologyByExample.Theorems.CountableRemainderMetacompact

Closed refinements with countably many missing points

Source file

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

theorem pointFinite_refinement_of_countable_closed_refinement_countable_remainder

TopologyByExample.pointFinite_refinement_of_countable_closed_refinement_countable_remainder

Countably many closed subsets subordinate to a countable open cover suffice for point-finite refinement when only countably many points remain uncovered.

theorem pointFinite_refinement_of_countable_closed_refinement_countable_remainder
    {X ι : Type*} [TopologicalSpace X] [T1Space X] [Countable ι]
    (U : ι → Set X) (hUo : ∀ i, IsOpen (U i)) (hU : ⋃ i, U i = univ)
    (F : ι → ℕ → Set X) (hFc : ∀ i n, IsClosed (F i n))
    (hFU : ∀ i n, F i n ⊆ U i) (hR : (⋃ i, ⋃ n, F i n)ᶜ.Countable) :
    ∃ 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
  let R := (⋃ i, ⋃ n, F i n)ᶜ
  let : Countable R := hR.to_subtype
  have hex (x : R) : ∃ i, (x : X) ∈ U i := iUnion_eq_univ_iff.mp hU x
  choose f hf using hex
  let A : (ι × ℕ) ⊕ R → Set X := Sum.elim (fun p ↦ F p.1 p.2) (fun x ↦ {(x : X)})
  let B : (ι × ℕ) ⊕ R → Set X := Sum.elim (fun p ↦ U p.1) (fun x ↦ U (f x))
  have hAc : ∀ j, IsClosed (A j) := by
    rintro (⟨i, n⟩ | x)
    · exact hFc i n
    · exact isClosed_singleton
  have hBo : ∀ j, IsOpen (B j) := by
    rintro (⟨i, n⟩ | x)
    · exact hUo i
    · exact hUo (f x)
  have hAB : ∀ j, A j ⊆ B j := by
    rintro (⟨i, n⟩ | x)
    · exact hFU i n
    · exact singleton_subset_iff.mpr (hf x)
  have hA : ⋃ j, A j = univ := by
    apply eq_univ_of_forall
    intro x
    by_cases hx : x ∈ R
    · exact mem_iUnion.mpr ⟨Sum.inr ⟨x, hx⟩, rfl⟩
    · have hx' : x ∈ ⋃ i, ⋃ n, F i n := not_not.mp hx
      obtain ⟨i, n, hn⟩ := mem_iUnion₂.mp hx'
      exact mem_iUnion.mpr ⟨Sum.inl (i, n), hn⟩
  obtain ⟨V, hVo, hV, hVf, hVB⟩ :=
    pointFinite_refinement_of_countable_closed_cover A B hAc hBo hAB hA
  refine ⟨V, hVo, hV, hVf, fun v hv ↦ ?_⟩
  obtain ⟨j, hj⟩ := hVB v hv
  rcases j with ⟨i, n⟩ | x
  · exact ⟨i, hj⟩
  · exact ⟨f x, hj⟩

On this site: Theorem: A countable closed refinement with a countable remainder

theorem pointFinite_refinement_of_countable_closed_refinement_discrete_remainder

TopologyByExample.pointFinite_refinement_of_countable_closed_refinement_discrete_remainder

A closed discrete remainder can be assigned to a countable cover without losing the existence of a point-finite refinement.

theorem pointFinite_refinement_of_countable_closed_refinement_discrete_remainder
    {X ι : Type*} [TopologicalSpace X] [T1Space X] [Countable ι]
    (U : ι → Set X) (hUo : ∀ i, IsOpen (U i)) (hU : ⋃ i, U i = univ)
    (F : ι → ℕ → Set X) (hFc : ∀ i n, IsClosed (F i n))
    (hFU : ∀ i n, F i n ⊆ U i)
    (hRc : IsClosed (⋃ i, ⋃ n, F i n)ᶜ) (hRd : IsDiscrete (⋃ i, ⋃ n, F i n)ᶜ) :
    ∃ 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
  let R := (⋃ i, ⋃ n, F i n)ᶜ
  let G (i : ι) : ℕ → Set X
    | 0 => R ∩ U i
    | n + 1 => F i n
  apply pointFinite_refinement_of_countable_closed_refinement_countable_remainder U hUo hU G
  · intro i n
    cases n with
    | zero => exact isClosed_of_subset_discrete_closed inter_subset_left hRd hRc
    | succ n => exact hFc i n
  · intro i n
    cases n with
    | zero => exact inter_subset_right
    | succ n => exact hFU i n
  · have he : ⋃ i, ⋃ n, G i n = univ := by
      apply eq_univ_of_forall
      intro x
      by_cases hx : x ∈ R
      · obtain ⟨i, hi⟩ := iUnion_eq_univ_iff.mp hU x
        exact mem_iUnion₂.mpr ⟨i, 0, hx, hi⟩
      · obtain ⟨i, n, hn⟩ := mem_iUnion₂.mp (not_not.mp hx)
        exact mem_iUnion₂.mpr ⟨i, n + 1, hn⟩
    rw [he, compl_univ]
    exact countable_empty

On this site: Theorem: A countable closed refinement with a closed discrete remainder