The non-denumerability of the continuum
ProvedFamousTheorems.not_countable_realmathlibset-theory
The real numbers are uncountable.
Cantor's theorem of 1874, and the origin of set theory as a subject. His 1891 diagonal argument gives the familiar proof: any proposed enumeration misses the real whose -th decimal digit differs from that of .
The consequence that made it famous is that transcendental numbers exist in abundance — the algebraic numbers are countable, so almost every real is transcendental — obtained without exhibiting a single one, in contrast to Liouville's explicit construction.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems theorem not_countable_real : ¬ (Set.univ : Set ℝ).Countable := by sorry end FamousTheorems
Source
One of Freek Wiedijk's "100 theorems"; formalized in Mathlib. Proof here reduces to the corresponding Mathlib result.