Lean library · module TopologyByExample.Spaces.RealPower

The countable power of the real line

Source file

The space ℕ → ℝ of all real sequences with the product topology. Its row of properties follows from the transfer theorems of the countable power; this file proves the result about it shown on its page:

The embedding is the composite of an embedding in the Hilbert cube ℕ → unitInterval (Mathlib's Metric.PiNatEmbed.exists_embedding_to_hilbert_cube, through the distances to a dense sequence) with the inclusion of the Hilbert cube in ℕ → ℝ.

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_isEmbedding

TopologyByExample.RealPower.exists_isEmbedding

Every separable metrizable space embeds in the countable power ℕ → ℝ of the real line.

theorem exists_isEmbedding (X : Type*) [TopologicalSpace X] [MetrizableSpace X]
    [SeparableSpace X] : ∃ F : X → ℕ → ℝ, IsEmbedding F
Proof
:= by
  let := metrizableSpaceMetric X
  obtain ⟨F, hF⟩ := Metric.PiNatEmbed.exists_embedding_to_hilbert_cube (X := X)
  exact ⟨fun x n ↦ (F x n : ℝ), (IsEmbedding.piMap fun _ ↦ IsEmbedding.subtypeVal).comp hF⟩

On this site: Countable power of the real line: Every separable metrizable space embeds in it

On this site: Space: Countable power of the real line