Lean library · module TopologyByExample.Theorems.CocountablePointMetacompact
Metacompactness of the real line with a cocountable point
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.RealsCocountablePoint.metacompactSpace
Adding the cocountable point preserves metacompactness of the real line.
theorem metacompactSpace : MetacompactSpace RealsCocountablePoint
Proof
:= by
let O := range ofReal
let e : ℝ ≃ₜ O := isOpenEmbedding_ofReal.isEmbedding.toHomeomorph
let : MetacompactSpace O :=
(TopologyByExample.Homeomorph.metacompactSpace_iff e).mp inferInstance
apply metacompactSpace_of_open_of_compact_compl isOpen_range_ofReal
have he : (range ofReal)ᶜ = {infty} := by
ext x
rcases eq_infty_or_exists x with rfl | ⟨y, rfl⟩
· simp [ofReal_ne_infty]
· simp [ofReal_ne_infty]
rw [he]
exact isCompact_singleton
On this site: The real line with a cocountable point is metacompact