Lean library · module TopologyByExample.Theorems.DeletedTychonoffCountablyMetacompact

Countable metacompactness of the deleted Tychonoff plank

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 isOpenEmbedding_rows

TopologyByExample.DeletedTychonoffPlank.isOpenEmbedding_rows

The union of the finite-height rows is an open copy of a compact space times countably many isolated points.

theorem isOpenEmbedding_rows :
    IsOpenEmbedding (fun z : OnePoint OmegaOne × ℕ ↦ mkNat z.1 z.2)
Proof
:= by
  have hc : Continuous (fun z : OnePoint OmegaOne × ℕ ↦ mkNat z.1 z.2) :=
    (continuous_fst.prodMk (continuous_coe.comp continuous_snd)).subtype_mk _
  refine ⟨IsEmbedding.of_comp hc continuous_subtypeVal
    (IsEmbedding.id.prodMap isOpenEmbedding_coe.isEmbedding), ?_⟩
  have he : range (fun z : OnePoint OmegaOne × ℕ ↦ mkNat z.1 z.2) =
      (fun z : DeletedTychonoffPlank ↦ z.val.2) ⁻¹' range ((↑) : ℕ → OnePoint ℕ) := by
    ext ⟨⟨x, y⟩, hz⟩
    constructor
    · rintro ⟨⟨a, n⟩, h⟩
      exact ⟨n, congrArg (fun z : DeletedTychonoffPlank ↦ z.val.2) h⟩
    · rintro ⟨n, hn⟩
      change (n : OnePoint ℕ) = y at hn
      subst y
      exact ⟨(x, n), rfl⟩
  rw [he]
  exact isOpen_range_coe.preimage (continuous_snd.comp continuous_subtypeVal)

theorem compl_range_rows

TopologyByExample.DeletedTychonoffPlank.compl_range_rows

The complement of the finite-height rows is the top edge.

theorem compl_range_rows :
    (range (fun z : OnePoint OmegaOne × ℕ ↦ mkNat z.1 z.2))ᶜ =
      range (fun x : OmegaOne ↦ mkCoe x ∞)
Proof
:= by
  ext ⟨⟨x, y⟩, hz⟩
  cases y with
  | coe n =>
    simp only [mem_compl_iff, mem_range]
    constructor
    · intro h; exact (h ⟨(x, n), rfl⟩).elim
    · rintro ⟨a, ha⟩
      exact (coe_ne_infty n (congrArg (fun z : DeletedTychonoffPlank ↦ z.val.2) ha.symm)).elim
  | infty =>
    cases x with
    | infty => exact (hz rfl).elim
    | coe a =>
      constructor
      · intro _; exact ⟨a, rfl⟩
      · rintro _ ⟨⟨x, n⟩, h⟩
        exact coe_ne_infty n (congrArg (fun z : DeletedTychonoffPlank ↦ z.val.2) h)

theorem countablyMetacompactSpace

TopologyByExample.DeletedTychonoffPlank.countablyMetacompactSpace

The deleted Tychonoff plank is countably metacompact.

theorem countablyMetacompactSpace : CountablyMetacompactSpace DeletedTychonoffPlank
Proof
:= by
  let O := range (fun z : OnePoint OmegaOne × ℕ ↦ mkNat z.1 z.2)
  let e : (OnePoint OmegaOne × ℕ) ≃ₜ O := isOpenEmbedding_rows.isEmbedding.toHomeomorph
  let : CountablyMetacompactSpace O :=
    (TopologyByExample.Homeomorph.countablyMetacompactSpace_iff e).mp inferInstance
  apply countablyMetacompactSpace_of_open_of_countablyCompact_compl
    isOpenEmbedding_rows.isOpen_range
  rw [compl_range_rows, ← image_univ]
  exact CountablyCompactSpace.isCountablyCompact_univ.image (continuous_mkCoe_left ∞)

On this site: The deleted Tychonoff plank is countably metacompact