Lean library · module TopologyByExample.Theorems.UpperPlaneMetacompactExamples

Countable metacompactness of two upper half-plane topologies

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 countablyMetacompactSpace

TopologyByExample.Niemytzki.countablyMetacompactSpace

The Niemytzki plane is countably metacompact.

theorem Niemytzki.countablyMetacompactSpace : CountablyMetacompactSpace Niemytzki
Proof
:= by
  let : LocallyCompactSpace {q : ℝ × ℝ // 0 < q.2} :=
    (isOpen_lt continuous_const continuous_snd).locallyCompactSpace
  let e : {q : ℝ × ℝ // 0 < q.2} ≃ₜ (axisᶜ : Set Niemytzki) :=
    isOpenEmbedding_ofUpper.isEmbedding.toHomeomorph.trans (Homeomorph.setCongr range_ofUpper)
  let : LocallyCompactSpace (axisᶜ : Set Niemytzki) := e.symm.isOpenEmbedding.locallyCompactSpace
  let : SecondCountableTopology (axisᶜ : Set Niemytzki) :=
    e.symm.isInducing.secondCountableTopology
  exact countablyMetacompactSpace_of_closed_discrete_locallyCompact_compl
    isClosed_discreteTopology_mk_axis.1
    (isDiscrete_iff_discreteTopology.mpr isClosed_discreteTopology_mk_axis.2.1)

On this site: The Niemytzki plane is countably metacompact

theorem countablyMetacompactSpace

TopologyByExample.HalfDisc.countablyMetacompactSpace

The HalfDisc plane is countably metacompact.

theorem HalfDisc.countablyMetacompactSpace : CountablyMetacompactSpace HalfDisc
Proof
:= by
  let : LocallyCompactSpace {q : ℝ × ℝ // 0 < q.2} :=
    (isOpen_lt continuous_const continuous_snd).locallyCompactSpace
  let e : {q : ℝ × ℝ // 0 < q.2} ≃ₜ (axisᶜ : Set HalfDisc) :=
    isOpenEmbedding_ofUpper.isEmbedding.toHomeomorph.trans (Homeomorph.setCongr range_ofUpper)
  let : LocallyCompactSpace (axisᶜ : Set HalfDisc) := e.symm.isOpenEmbedding.locallyCompactSpace
  let : SecondCountableTopology (axisᶜ : Set HalfDisc) :=
    e.symm.isInducing.secondCountableTopology
  exact countablyMetacompactSpace_of_closed_discrete_locallyCompact_compl
    isClosed_discreteTopology_mk_axis.1
    (isDiscrete_iff_discreteTopology.mpr isClosed_discreteTopology_mk_axis.2.1)

On this site: Half-disc topology is countably metacompact