Lean library · module TopologyByExample.Theorems.RetractMetacompactness

Point-finite refinements on continuous retracts and product factors

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

definition HasPointFiniteOpenRefinement

TopologyByExample.HasPointFiniteOpenRefinement

private def HasPointFiniteOpenRefinement (U : Set (Set X)) : Prop
:=
  ∃ V : Set (Set X), (∀ v ∈ V, IsOpen v) ∧ ⋃₀ V = univ ∧
    (∀ x, {v : V | x ∈ (v : Set X)}.Finite) ∧ ∀ v ∈ V, ∃ u ∈ U, v ⊆ u

theorem refinement_of_retract

TopologyByExample.refinement_of_retract

private theorem refinement_of_retract {s : Y → X} {r : X → Y}
    (hs : Continuous s) (hr : Continuous r) (hrs : Function.LeftInverse r s)
    (U : Set (Set Y)) (hUo : ∀ u ∈ U, IsOpen u) (hU : ⋃₀ U = univ)
    (href : (∀ u ∈ (preimage r) '' U, IsOpen u) → ⋃₀ (preimage r '' U) = univ →
      HasPointFiniteOpenRefinement (preimage r '' U)) : HasPointFiniteOpenRefinement U
Proof
:= by
  obtain ⟨V, hVo, hV, hpf, hVU⟩ := href
    (fun _ ⟨u, hu, he⟩ ↦ he ▸ (hUo u hu).preimage hr) (eq_univ_of_forall fun x ↦ by
      obtain ⟨u, hu, hx⟩ := mem_sUnion.1 (hU ▸ mem_univ (r x))
      exact mem_sUnion.2 ⟨_, mem_image_of_mem _ hu, hx⟩)
  refine ⟨preimage s '' V, ?_, ?_, ?_, ?_⟩
  · rintro _ ⟨v, hv, rfl⟩
    exact (hVo v hv).preimage hs
  · refine eq_univ_of_forall fun y ↦ ?_
    obtain ⟨v, hv, hy⟩ := mem_sUnion.1 (hV ▸ mem_univ (s y))
    exact mem_sUnion.2 ⟨_, mem_image_of_mem _ hv, hy⟩
  · intro y
    apply Finite.of_finite_image (f := Subtype.val) _ Subtype.val_injective.injOn
    apply ((hpf (s y)).image (fun v : V ↦ s ⁻¹' (v : Set X))).subset
    rintro _ ⟨⟨_, v, hv, rfl⟩, hy, rfl⟩
    exact ⟨⟨v, hv⟩, hy, rfl⟩
  · rintro _ ⟨v, hv, rfl⟩
    obtain ⟨_, ⟨u, hu, rfl⟩, hvu⟩ := hVU v hv
    exact ⟨u, hu, fun y hy ↦ hrs y ▸ hvu hy⟩

theorem metacompactSpace_of_retract

TopologyByExample.metacompactSpace_of_retract

Metacompactness passes to a continuous retract.

theorem metacompactSpace_of_retract [h : MetacompactSpace X] {s : Y → X} {r : X → Y}
    (hs : Continuous s) (hr : Continuous r) (hrs : Function.LeftInverse r s) : MetacompactSpace Y
Proof
:=
  ⟨fun U hUo hU ↦ refinement_of_retract hs hr hrs U hUo hU (h.pointFinite_refinement _)⟩

On this site: Theorem: Retracts of metacompact spaces are metacompact

theorem countablyMetacompactSpace_of_retract

TopologyByExample.countablyMetacompactSpace_of_retract

Countable metacompactness passes to a continuous retract.

theorem countablyMetacompactSpace_of_retract [h : CountablyMetacompactSpace X]
    {s : Y → X} {r : X → Y} (hs : Continuous s) (hr : Continuous r)
    (hrs : Function.LeftInverse r s) : CountablyMetacompactSpace Y
Proof
:=
  ⟨fun U hc hUo hU ↦ refinement_of_retract hs hr hrs U hUo hU
    (h.pointFinite_refinement _ (hc.image _))⟩

On this site: Theorem: Retracts of countably metacompact spaces are countably metacompact

theorem metacompactSpace_of_prod_left

TopologyByExample.metacompactSpace_of_prod_left

The first factor of a metacompact product is metacompact if the other factor is nonempty.

theorem metacompactSpace_of_prod_left [Nonempty Y] (h : MetacompactSpace (X × Y)) :
    MetacompactSpace X
Proof
:=
  metacompactSpace_of_retract (s := fun x ↦ (x, Classical.arbitrary Y))
    (continuous_id.prodMk continuous_const) continuous_fst (fun _ ↦ rfl)

On this site: Theorem: A metacompact product has a metacompact first factor if the second is nonempty

theorem metacompactSpace_of_prod_right

TopologyByExample.metacompactSpace_of_prod_right

The second factor of a metacompact product is metacompact if the other factor is nonempty.

theorem metacompactSpace_of_prod_right [Nonempty X] (h : MetacompactSpace (X × Y)) :
    MetacompactSpace Y
Proof
:=
  metacompactSpace_of_retract (s := fun y ↦ (Classical.arbitrary X, y))
    (continuous_const.prodMk continuous_id) continuous_snd (fun _ ↦ rfl)

On this site: Theorem: A metacompact product has a metacompact second factor if the first is nonempty

theorem countablyMetacompactSpace_of_prod_left

TopologyByExample.countablyMetacompactSpace_of_prod_left

Countable metacompactness passes to the first factor if the second is nonempty.

theorem countablyMetacompactSpace_of_prod_left [Nonempty Y]
    (h : CountablyMetacompactSpace (X × Y)) : CountablyMetacompactSpace X
Proof
:=
  countablyMetacompactSpace_of_retract (s := fun x ↦ (x, Classical.arbitrary Y))
    (continuous_id.prodMk continuous_const) continuous_fst (fun _ ↦ rfl)

On this site: Theorem: A countably metacompact product has a countably metacompact first factor if the second is nonempty

theorem countablyMetacompactSpace_of_prod_right

TopologyByExample.countablyMetacompactSpace_of_prod_right

Countable metacompactness passes to the second factor if the first is nonempty.

theorem countablyMetacompactSpace_of_prod_right [Nonempty X]
    (h : CountablyMetacompactSpace (X × Y)) : CountablyMetacompactSpace Y
Proof
:=
  countablyMetacompactSpace_of_retract (s := fun y ↦ (Classical.arbitrary X, y))
    (continuous_const.prodMk continuous_id) continuous_snd (fun _ ↦ rfl)

On this site: Theorem: A countably metacompact product has a countably metacompact second factor if the first is nonempty