Lean library · module TopologyByExample.Theorems.MichaelProductMetacompact
Metacompactness of the Michael line times the Baire space
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
TopologyByExample.MichaelLineTimesIrrationals.metacompactSpace
The Michael line times the Baire space is metacompact.
theorem metacompactSpace : MetacompactSpace (MichaelLine × (ℕ → ℕ))
Proof
:= by
let I : Set MichaelLine := {x | Irrational (MichaelLine.toReal x)}
have hIo : IsOpen I := MichaelLine.isOpen_of_forall_irrational fun _ hx ↦ hx
let : DiscreteTopology I := discreteTopology_iff_isOpen_singleton.mpr fun x ↦ by
have he : ({x} : Set I) = Subtype.val ⁻¹' ({(x : MichaelLine)} : Set MichaelLine) := by
ext y
simp [Subtype.ext_iff]
rw [he]
exact (MichaelLine.isOpen_singleton x.property).preimage continuous_subtypeVal
let D : Set (MichaelLine × (ℕ → ℕ)) := I ×ˢ univ
have hDo : IsOpen D := hIo.prod isOpen_univ
have hDm : MetacompactSpace D := by
let : ParacompactSpace (I × (univ : Set (ℕ → ℕ))) :=
paracompactSpace_of_pseudoMetrizableSpace
exact (TopologyByExample.Homeomorph.metacompactSpace_iff (Homeomorph.Set.prod I univ)).mpr
inferInstance
let f : (MichaelLine × (ℕ → ℕ)) ≃ (ℝ × (ℕ → ℕ)) :=
MichaelLine.toReal.prodCongr (Equiv.refl _)
have hf : Continuous f := MichaelLine.continuous_toReal.prodMap continuous_id
let t' : TopologicalSpace (MichaelLine × (ℕ → ℕ)) := inferInstance
let t : TopologicalSpace (MichaelLine × (ℕ → ℕ)) := induced f inferInstance
have hsource : ∀ S : Set (MichaelLine × (ℕ → ℕ)),
@MetacompactSpace S (induced Subtype.val t) := by
let : TopologicalSpace (MichaelLine × (ℕ → ℕ)) := t
let : MetrizableSpace (MichaelLine × (ℕ → ℕ)) :=
(IsEmbedding.mk ⟨rfl⟩ f.injective).metrizableSpace
intro S
let : ParacompactSpace S := paracompactSpace_of_pseudoMetrizableSpace
infer_instance
apply @metacompactSpace_of_refinement_on_open_part _ t hsource t'
(continuous_iff_le_induced.mp hf) D hDo hDm
intro x hx
have hxI : ¬ Irrational (MichaelLine.toReal x.1) := fun h ↦ hx ⟨h, mem_univ _⟩
change @nhds (MichaelLine × (ℕ → ℕ)) t' x =
@nhds _ (induced f inferInstance) x
rw [nhds_induced]
rw [nhds_prod_eq, MichaelLine.nhds_of_not_irrational hxI, nhds_prod_eq]
simpa [f, Filter.comap_id] using
(Filter.comap_prodMap_prod MichaelLine.toReal id
(𝓝 (MichaelLine.toReal x.1)) (𝓝 x.2)).symm
On this site: Michael line times the irrationals is metacompact