Lean library · module TopologyByExample.Theorems.LuzinIntegerPower

The integer-sequence ambient space for the special Luzin set

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

definition homeomorphNaturals

TopologyByExample.LuzinIntegerPower.homeomorphNaturals

Relabelling the discrete alphabet identifies integer sequences with natural sequences.

def homeomorphNaturals : (ℕ → ℤ) ≃ₜ (ℕ → ℕ)
:=
  Homeomorph.piCongrRight fun _ ↦ Homeomorph.ofDiscrete (Denumerable.eqv ℤ)

instance

The integer sequence space is Baire.

instance : BaireSpace (ℕ → ℤ)
Proof
:=
  (TopologyByExample.Homeomorph.baireSpace_iff homeomorphNaturals).mpr
    DiscreteNaturalsPower.baireSpace

instance

Integer sequences have no isolated points.

instance : PerfectSpace (ℕ → ℤ)
Proof
:= by
  by_contra hn
  have h := (TopologyByExample.Homeomorph.hasIsolatedPoint_iff homeomorphNaturals).mp
    (hasIsolatedPoint_iff_not_perfectSpace.mpr hn)
  exact DiscreteNaturalsPower.no_isolated_point h.exists_isOpen_singleton

theorem not_weaklyLocallyCompactSpace

TopologyByExample.LuzinIntegerPower.not_weaklyLocallyCompactSpace

The sequence space has no compact neighbourhoods.

theorem not_weaklyLocallyCompactSpace : ¬WeaklyLocallyCompactSpace (ℕ → ℤ)
Proof
:=
  fun h ↦ DiscreteNaturalsPower.not_weaklyLocallyCompactSpace
    ((TopologyByExample.Homeomorph.weaklyLocallyCompactSpace_iff homeomorphNaturals).mp h)

theorem compact_isNowhereDense

TopologyByExample.LuzinIntegerPower.compact_isNowhereDense

Compact subsets of integer sequence space are nowhere dense.

theorem compact_isNowhereDense {K : Set (ℕ → ℤ)} (hK : IsCompact K) :
    IsNowhereDense K
Proof
:= by
  apply hK.isClosed.isNowhereDense_iff.mpr
  apply eq_empty_iff_forall_notMem.mpr
  intro x hx
  let : LocallyCompactSpace (ℕ → ℤ) :=
    hK.locallyCompactSpace_of_mem_nhds_of_addGroup (mem_interior_iff_mem_nhds.mp hx)
  exact not_weaklyLocallyCompactSpace inferInstance

theorem compact_countable

TopologyByExample.LuzinIntegerPower.compact_countable

Compact subsets of any Luzin subset of integer sequences are countable.

theorem compact_countable {L : Set (ℕ → ℤ)} (hL : IsLuzinSet L)
    {K : Set L} (hK : IsCompact K) : K.Countable
Proof
:= by
  have hc := hK.image continuous_subtypeVal
  have hm := (compact_isNowhereDense hc).isMeagre
  have hcount := hL.countable_inter (Subtype.val '' K) hm
  have hs : Subtype.val '' K ⊆ L := by rintro _ ⟨x, _, rfl⟩; exact x.property
  rw [inter_eq_right.mpr hs] at hcount
  exact countable_of_injective_of_countable_image Subtype.val_injective.injOn hcount

theorem not_sigmaCompactSpace

TopologyByExample.LuzinIntegerPower.not_sigmaCompactSpace

A Luzin subset of integer sequences is not sigma-compact.

theorem not_sigmaCompactSpace {L : Set (ℕ → ℤ)} (hL : IsLuzinSet L) :
    ¬SigmaCompactSpace L
Proof
:= by
  intro h
  obtain ⟨K, hK, hcover⟩ := SigmaCompactSpace.exists_compact_covering (X := L)
  have hc := countable_iUnion fun n ↦ compact_countable hL (hK n)
  rw [hcover] at hc
  exact hL.not_countable_type (countable_univ_iff.mp hc)

theorem exists_special

TopologyByExample.LuzinIntegerPower.exists_special

CH supplies the special Luzin subset of integer sequences with full sumset.

theorem exists_special (hCH : continuum.{0} = aleph 1) :
    ∃ L : Set (ℕ → ℤ), IsLuzinSet L ∧
      ∀ z : ℕ → ℤ, ∃ x ∈ L, ∃ y ∈ L, x + y = z
Proof
:=
  LuzinSpecial.exists_sum_surjective hCH