Lean library · module TopologyByExample.Spaces.DiscreteReals

The real numbers with the discrete topology are not Lindelöf

Source file

WithDiscreteTopology ℝ is a copy of ℝ carrying the discrete topology. It is uncountable (TopologyByExample.DiscreteReals.not_countable). A discrete Lindelöf space is countable, so this space is not Lindelöf.

Its metrizability is found by instance search (every discrete space is metrizable).

The space is not connected (TopologyByExample.DiscreteReals.not_preconnectedSpace): it is nontrivial and totally disconnected.

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 not_countable

TopologyByExample.DiscreteReals.not_countable

The real numbers with the discrete topology are uncountable.

theorem not_countable : ¬Countable (WithDiscreteTopology ℝ)
Proof
:= fun _ ↦ by
  have : Countable ℝ := Function.Injective.countable (f := WithTopology.toTopology ⊥)
    fun _ _ h ↦ by cases h; rfl
  exact Cardinal.not_countable_real (Set.countable_univ_iff.2 this)

theorem not_lindelofSpace

TopologyByExample.DiscreteReals.not_lindelofSpace

The real numbers with the discrete topology do not form a Lindelöf space.

theorem not_lindelofSpace : ¬LindelofSpace (WithDiscreteTopology ℝ)
Proof
:= fun _ ↦
  not_countable countable_of_Lindelof_of_discrete

theorem not_preconnectedSpace

TopologyByExample.DiscreteReals.not_preconnectedSpace

The discrete space ℝ is not connected.

theorem not_preconnectedSpace : ¬PreconnectedSpace (WithDiscreteTopology ℝ)
Proof
:=
  not_preconnectedSpace_of_nontrivial

On this site: Space: Uncountable discrete space; Space: Excluded point topology on an uncountable set; Space: Uncountable particular point topology