Lean library · module TopologyByExample.Spaces.LambdaMetacompactness

Countable metacompactness of Λ

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

instance

instance : CountablyMetacompactSpace GillmanJerisonLambda
Proof
:= by
  let F : ℕ → Set GillmanJerisonLambda
    | 0 => (range real)ᶜ
    | n + 1 => real '' Icc (-(n : ℝ)) n
  have hc (n : ℕ) : IsClosed (F n) := by
    cases n with
    | zero => exact isOpen_range_real.isClosed_compl
    | succ n => exact (isCompact_Icc.image continuous_real).isClosed
  have hk (n : ℕ) : IsCountablyCompact (F n) := by
    cases n with
    | zero => exact isCountablyCompact_remainder
    | succ n => exact (isCompact_Icc.image continuous_real).isCountablyCompact
  apply countablyMetacompactSpace_of_closed_countablyCompact_cover F hc hk
  apply eq_univ_of_forall
  intro p
  by_cases hp : p ∈ range real
  · obtain ⟨x, rfl⟩ := hp
    obtain ⟨n, hn⟩ := exists_nat_gt |x|
    exact mem_iUnion.2 ⟨n + 1, x, abs_le.1 hn.le, rfl⟩
  · exact mem_iUnion.2 ⟨0, hp⟩