Lean library · module TopologyByExample.Spaces.HilbertCube

The Hilbert cube

Source file

The Hilbert cube is the countable power ℕ → unitInterval of the unit interval. Its row of properties follows from the transfer theorems of the countable power; this file proves the results about it shown on its page:

This file was written by Claude (Anthropic's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.

Imports

theorem exists_continuous_surjective_cantor

TopologyByExample.HilbertCube.exists_continuous_surjective_cantor

The Hilbert cube is a continuous image of the Cantor set ℕ → Bool.

theorem exists_continuous_surjective_cantor :
    ∃ f : (ℕ → Bool) → (ℕ → unitInterval), Continuous f ∧ Function.Surjective f
Proof
:=
  ⟨cantorToHilbert, cantorToHilbert_continuous, cantorToHilbert_surjective⟩

On this site: Hilbert cube: A continuous image of the Cantor set

theorem exists_isEmbedding

TopologyByExample.HilbertCube.exists_isEmbedding

Every separable metrizable space embeds in the Hilbert cube.

theorem exists_isEmbedding (X : Type*) [TopologicalSpace X] [MetrizableSpace X]
    [SeparableSpace X] : ∃ F : X → ℕ → unitInterval, IsEmbedding F
Proof
:= by
  let := metrizableSpaceMetric X
  exact Metric.PiNatEmbed.exists_embedding_to_hilbert_cube

On this site: Hilbert cube: Every separable metrizable space embeds in it

On this site: Space: Hilbert cube