Lean library · module TopologyByExample.Spaces.NestedIntervalContinuum

The continuum-sized nested interval space

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 Space

TopologyByExample.NestedIntervalContinuum.Space

The product model with real-sized indiscrete blocks.

abbrev Space
:= Topology.WithUpper ℕᵒᵈ × WithTopology ℝ ⊤

On this site: Space: Nested interval topology on \((0,1)\)

definition indiscreteIntervalHomeomorph

TopologyByExample.NestedIntervalContinuum.indiscreteIntervalHomeomorph

Replacing the indiscrete interval by an indiscrete real line does not change its topology.

noncomputable def indiscreteIntervalHomeomorph :
    WithTopology (Ioo (0 : ℝ) 1) ⊤ ≃ₜ WithTopology ℝ ⊤
Definition
where
  toEquiv := (WithTopology.equiv _ ⊤).trans
    ((Cardinal.eq.mp ((mk_Ioo_real (by norm_num)).trans mk_real.symm)).some.trans
      (WithTopology.equiv _ ⊤).symm)
  continuous_toFun := continuous_of_indiscreteTopology
  continuous_invFun := continuous_of_indiscreteTopology

definition intervalHomeomorph

TopologyByExample.NestedIntervalContinuum.intervalHomeomorph

The classical nested interval topology is homeomorphic to the real-block product model.

noncomputable def intervalHomeomorph :
    WithTopology (Ioo (0 : ℝ) 1) nestedIntervalTopology ≃ₜ Space
:=
  nonempty_homeomorph_nestedIntervalTopology.some.trans
    ((Homeomorph.refl _).prodCongr indiscreteIntervalHomeomorph)

On this site: Nested interval topology on \((0,1)\): The interval presentation

theorem cardinality_continuum

TopologyByExample.NestedIntervalContinuum.cardinality_continuum

The nested interval space has cardinality continuum.

theorem cardinality_continuum : CardinalityContinuum Space
Proof
:= by
  unfold CardinalityContinuum
  rw [← mk_congr intervalHomeomorph.toEquiv, mk_congr (WithTopology.equiv _ _)]
  exact mk_Ioo_real (by norm_num)

theorem not_countable

TopologyByExample.NestedIntervalContinuum.not_countable

The classical nested interval space is uncountable.

theorem not_countable : ¬ Countable Space
Proof
:= by
  intro h
  have hc := mk_le_aleph0 (α := Space)
  rw [show #Space = 𝔠 from cardinality_continuum] at hc
  exact (not_le_of_gt aleph0_lt_continuum) hc

On this site: The nested interval topology on \((0,1)\) is not countable