Lean library · module TopologyByExample.Theorems.DoubleJonesMetacompact

Point-finite neighbourhoods in the double Jones construction

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 metacompactSpace_of_closed_image_of_pointFinite_neighbourhoods

TopologyByExample.metacompactSpace_of_closed_image_of_pointFinite_neighbourhoods

A closed surjective image of a space with a point-finite assignment of open neighbourhoods is metacompact.

theorem metacompactSpace_of_closed_image_of_pointFinite_neighbourhoods
    {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] (q : X → Y)
    (hq : IsClosedMap q) (hs : Function.Surjective q) (A : X → Set X)
    (ho : ∀ x, IsOpen (A x)) (hm : ∀ x, x ∈ A x) (hf : ∀ x, {z | x ∈ A z}.Finite) :
    MetacompactSpace Y
Proof
:= by
  classical
  refine ⟨fun U hUo hU ↦ ?_⟩
  have hex (y : Y) := mem_sUnion.mp (hU ▸ mem_univ y : y ∈ ⋃₀ U)
  choose u hu hyu using hex
  let B (y : Y) := kernImage q (⋃ x ∈ q ⁻¹' {y}, A x) ∩ u y
  have hB y : IsOpen (B y) := (isClosedMap_iff_kernImage.mp hq
    (isOpen_biUnion fun x _ ↦ ho x)).inter (hUo _ (hu y))
  have hBy y : y ∈ B y := ⟨fun x hx ↦ mem_iUnion₂.mpr ⟨x, hx, hm x⟩, hyu y⟩
  refine ⟨range B, forall_mem_range.mpr hB, eq_univ_of_forall (fun y ↦
    mem_sUnion_of_mem (hBy y) (mem_range_self y)), ?_, ?_⟩
  · intro y
    obtain ⟨x, rfl⟩ := hs y
    apply Set.Finite.of_finite_image (f := Subtype.val) _ Subtype.val_injective.injOn
    apply (((hf x).image q).image B).subset
    rintro _ ⟨⟨_, z, rfl⟩, hz, rfl⟩
    obtain ⟨w, hw, hxw⟩ := mem_iUnion₂.mp (hz.1 (show q x = q x from rfl))
    exact ⟨z, ⟨w, hxw, hw⟩, rfl⟩
  · rintro _ ⟨y, rfl⟩
    exact ⟨u y, hu y, inter_subset_right⟩

On this site: Theorem: Closed images of spaces with point-finite neighbourhood assignments

variable {Y : Type*} [TopologicalSpace Y]

theorem metacompactSpace_of_pointFinite_neighbourhoods

TopologyByExample.DoubleJones.Data.metacompactSpace_of_pointFinite_neighbourhoods

Point-finite open neighbourhoods on the level space give metacompactness of the double Jones space for any two closed disjoint gluing sets.

theorem metacompactSpace_of_pointFinite_neighbourhoods (d : Data Y)
    (A : Y → Set Y) (ho : ∀ y, IsOpen (A y)) (hm : ∀ y, y ∈ A y)
    (hf : ∀ y, {z | y ∈ A z}.Finite) : MetacompactSpace (Space d)
Proof
:= by
  let V : Raw Y → Set (Raw Y)
    | .layer n y => Raw.layer n '' A y
    | _ => univ
  apply metacompactSpace_of_closed_image_of_pointFinite_neighbourhoods
    d.quotient d.isClosedMap d.surjective_quotient V
  · rintro (_ | _ | ⟨n, y⟩)
    exacts [isOpen_univ, isOpen_univ, Raw.isOpenMap_layer n _ (ho y)]
  · rintro (_ | _ | ⟨n, y⟩)
    exacts [mem_univ _, mem_univ _, mem_image_of_mem _ (hm y)]
  · rintro (_ | _ | ⟨n, y⟩)
    · apply (show ({Raw.neg, Raw.pos} : Set (Raw Y)).Finite by simp).subset
      rintro (_ | _ | ⟨m, z⟩) h <;> simp_all [V]
    · apply (show ({Raw.neg, Raw.pos} : Set (Raw Y)).Finite by simp).subset
      rintro (_ | _ | ⟨m, z⟩) h <;> simp_all [V]
    · apply (((hf y).image (Raw.layer n)).insert Raw.neg |>.insert Raw.pos).subset
      rintro (_ | _ | ⟨m,z⟩) h
      · simp
      · simp
      · obtain ⟨w, hw, hh⟩ := h
        obtain ⟨rfl, rfl⟩ := Raw.layer.inj hh
        exact Or.inr (Or.inr ⟨z, hw, rfl⟩)