Lean library · module TopologyByExample.Spaces.DiscreteNat
The countably infinite discrete space
Mathlib's ℕ carries the discrete topology. Most of its properties are Mathlib instances; this
file records two negative facts.
Main statements
TopologyByExample.DiscreteNat.not_preconnectedSpace: the space is not connected (it is nontrivial and totally disconnected).TopologyByExample.DiscreteNat.not_countablyCompactSpace: the space is not countably compact (it is Lindelöf and not compact).
Tags
discrete space, natural numbers
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.
theorem not_preconnectedSpace
TopologyByExample.DiscreteNat.not_preconnectedSpace
The discrete space ℕ is not connected.
theorem not_preconnectedSpace : ¬PreconnectedSpace ℕ
Proof
:= not_preconnectedSpace_of_nontrivial
theorem not_countablyCompactSpace
TopologyByExample.DiscreteNat.not_countablyCompactSpace
The discrete natural numbers are not countably compact: they are Lindelöf and not compact.
theorem not_countablyCompactSpace : ¬CountablyCompactSpace ℕ
Proof
:= fun _ ↦
not_compactSpace_iff.2 (inferInstance : NoncompactSpace ℕ) LindelofSpace.compactSpace
On this site: Space: Countably infinite discrete space