Lean library · module TopologyByExample.Spaces.DeletedIntegerContinuum

The continuum-sized deleted integer topology

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.DeletedIntegerContinuum.Space

The deleted integer product model, with real-sized indiscrete blocks.

abbrev Space
:= ℕ × WithTopology ℝ ⊤

On this site: Space: Deleted integer topology

definition integerNatHomeomorph

TopologyByExample.DeletedIntegerContinuum.integerNatHomeomorph

A bijection between the discrete integers and the discrete naturals is a homeomorphism.

def integerNatHomeomorph : ℤ ≃ₜ ℕ
Definition
where
  toEquiv := Equiv.intEquivNat
  continuous_toFun := continuous_of_discreteTopology
  continuous_invFun := continuous_of_discreteTopology

definition presentationHomeomorph

TopologyByExample.DeletedIntegerContinuum.presentationHomeomorph

The deleted integer presentation is homeomorphic to the real-block product model.

noncomputable def presentationHomeomorph :
    WithTopology DeletedInteger.Carrier deletedIntegerTopology ≃ₜ Space
:=
  nonempty_homeomorph_deletedIntegerTopology.some.trans
    (integerNatHomeomorph.prodCongr NestedIntervalContinuum.indiscreteIntervalHomeomorph)

On this site: Deleted integer topology: The deleted integer presentation

theorem cardinality_continuum

TopologyByExample.DeletedIntegerContinuum.cardinality_continuum

The deleted integer topology has continuum cardinality.

theorem cardinality_continuum : CardinalityContinuum Space
Proof
:= by
  unfold CardinalityContinuum Space
  rw [mk_prod, mk_nat, mk_congr (WithTopology.equiv ℝ ⊤), mk_real,
    lift_aleph0, lift_continuum, aleph0_mul_continuum]

theorem not_countable

TopologyByExample.DeletedIntegerContinuum.not_countable

The deleted integer topology 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