Lean library · module TopologyByExample.Spaces.RealsContinuumPower

The continuum power of the real line

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 RealsContinuumPower

TopologyByExample.RealsContinuumPower

The product of continuum many copies of the real line.

abbrev RealsContinuumPower
:= unitInterval → ℝ

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

theorem isClosedEmbedding_naturals

TopologyByExample.RealsContinuumPower.isClosedEmbedding_naturals

Coordinatewise natural-number inclusion is a closed embedding.

theorem isClosedEmbedding_naturals :
    IsClosedEmbedding (fun f : NaturalsContinuumPower ↦ fun i ↦ (f i : ℝ))
Proof
:= by
  have hi : Isometry ((↑) : ℕ → ℝ) :=
    Isometry.of_dist_eq fun x y ↦ by simp [Nat.dist_eq]
  exact IsClosedEmbedding.piMap fun _ ↦ hi.isClosedEmbedding

theorem not_countablyMetacompactSpace

TopologyByExample.RealsContinuumPower.not_countablyMetacompactSpace

The closed natural-number power obstructs countable metacompactness.

theorem not_countablyMetacompactSpace : ¬ CountablyMetacompactSpace RealsContinuumPower
Proof
:= by
  intro h
  let := h
  exact NaturalsPowerMetacompact.not_countablyMetacompactContinuum
    isClosedEmbedding_naturals.countablyMetacompactSpace

On this site: The continuum power of the real line is not countably metacompact

theorem denseRange_continuousMaps

TopologyByExample.RealsContinuumPower.denseRange_continuousMaps

Continuous functions on the interval are dense in its full real power.

theorem denseRange_continuousMaps :
    DenseRange (fun f : C(unitInterval, ℝ) ↦ (f : RealsContinuumPower))
Proof
:= by
  apply dense_iff_inter_open.2
  intro U hU ⟨x, hx⟩
  obtain ⟨I, A, hA, hAU⟩ := isOpen_pi_iff.mp hU x hx
  let : Finite (I : Set unitInterval) := I.finite_toSet.to_subtype
  let f : C((I : Set unitInterval), ℝ) :=
    ⟨fun i ↦ x i, continuous_of_discreteTopology⟩
  obtain ⟨g, hg⟩ := f.exists_restrict_eq I.finite_toSet.isClosed
  refine ⟨g, hAU ?_, ⟨g, rfl⟩⟩
  intro i hi
  have he := congrArg (fun h : C((I : Set unitInterval), ℝ) ↦ h ⟨i, hi⟩) hg
  change g i = x i at he
  simpa only [he] using (hA i hi).2

theorem separableSpace

TopologyByExample.RealsContinuumPower.separableSpace

The continuum power of the real line is separable.

theorem separableSpace : SeparableSpace RealsContinuumPower
Proof
:=
  denseRange_continuousMaps.separableSpace
    (continuous_pi fun i ↦ continuous_eval_const i)

On this site: The continuum power of the real line is separable

theorem not_normalSpace

TopologyByExample.RealsContinuumPower.not_normalSpace

The closed natural-number power obstructs normality.

theorem not_normalSpace : ¬ NormalSpace RealsContinuumPower
Proof
:= by
  intro h
  let := h
  exact NaturalsContinuumPower.not_normalSpace isClosedEmbedding_naturals.normalSpace

On this site: The continuum power of the real line is not normal

theorem not_weaklyLocallyCompactSpace

TopologyByExample.RealsContinuumPower.not_weaklyLocallyCompactSpace

The closed natural-number power obstructs weak local compactness.

theorem not_weaklyLocallyCompactSpace : ¬ WeaklyLocallyCompactSpace RealsContinuumPower
Proof
:= by
  intro h
  let := h
  exact NaturalsContinuumPower.not_weaklyLocallyCompactSpace
    isClosedEmbedding_naturals.weaklyLocallyCompactSpace

On this site: The continuum power of the real line is not weakly locally compact

theorem not_firstCountableTopology

TopologyByExample.RealsContinuumPower.not_firstCountableTopology

The natural-number subspace obstructs first countability.

theorem not_firstCountableTopology : ¬ FirstCountableTopology RealsContinuumPower
Proof
:= by
  intro h
  let := h
  exact NaturalsContinuumPower.not_firstCountableTopology
    isClosedEmbedding_naturals.isEmbedding.firstCountableTopology

On this site: The continuum power of the real line is not first countable

theorem cardinality

TopologyByExample.RealsContinuumPower.cardinality

The continuum real power has cardinality two to the continuum.

theorem cardinality : #RealsContinuumPower = 2 ^ 𝔠
Proof
:= by
  change #(unitInterval → ℝ) = _
  simp only [mk_arrow, lift_uzero, mk_real, mk_unitInterval]
  calc
    𝔠 ^ 𝔠 = (2 ^ ℵ₀) ^ 𝔠 := by rw [two_power_aleph0]
    _ = 2 ^ 𝔠 := by rw [← power_mul, aleph0_mul_continuum]

theorem not_cardinalityContinuum

TopologyByExample.RealsContinuumPower.not_cardinalityContinuum

Its cardinality is not continuum.

theorem not_cardinalityContinuum : ¬ CardinalityContinuum RealsContinuumPower
Proof
:= by
  change ¬ #RealsContinuumPower = 𝔠
  rw [cardinality]
  exact (cantor 𝔠).ne'

On this site: The continuum power of the real line does not have cardinality equal to \(\mathfrak{c}\)

theorem not_pseudocompactSpace

TopologyByExample.RealsContinuumPower.not_pseudocompactSpace

A coordinate projection is an unbounded continuous real-valued function.

theorem not_pseudocompactSpace : ¬ PseudocompactSpace RealsContinuumPower
Proof
:= by
  intro h
  let f : C(RealsContinuumPower, ℝ) := ⟨fun x ↦ x 0, continuous_apply 0⟩
  obtain ⟨b, hb⟩ := (PseudocompactSpace.bddAbove_and_bddBelow_range f).1
  have hle : b + 1 ≤ b := hb ⟨fun _ ↦ b + 1, rfl⟩
  linarith

On this site: The continuum power of the real line is not pseudocompact

theorem baireSpace

TopologyByExample.RealsContinuumPower.baireSpace

The continuum real power is Baire.

theorem baireSpace : BaireSpace RealsContinuumPower
Proof
:= ProductRealBaire.baireSpace

On this site: The continuum power of the real line is a Baire space