Borel's normal number theorem: almost every real is absolutely normal
OpenNormal.ae_isNormalRealLet be Lebesgue measure on and . Theorem. For -almost every real , is normal in every base simultaneously: for all and every word of length over ,
A single null exceptional set serves all bases.
import Mathlib import Definitions.Def_Normal_Core
namespace Normal
theorem ae_isNormalReal :
∀ᵐ x ∂(MeasureTheory.volume : MeasureTheory.Measure ℝ),
∀ b : ℕ, 2 ≤ b → IsNormalReal b x := by sorry
end NormalRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Statement. Let denote Lebesgue measure on . The theorem asserts that for -almost every real number (that is, the set of where the following fails is contained in a set of Lebesgue measure zero), the following holds simultaneously for all natural numbers : is normal in base . The quantifier over is inside the almost-everywhere quantifier, so a single null exceptional set must work for all bases at once. There are no other hypotheses.
Digits. For a real , natural , and , the -th base- digit of is
with the non-negative integer remainder; is the first digit after the point. These are the digits of the fractional part , including for negative (e.g. the digits of are those of ). For a number with two expansions, the floor picks the one not ending in repeated 's.
Occurrence count. For a sequence of naturals , a finite word (), and , is the number of with
counting overlapping occurrences; a match may extend past index . For the empty word, .
Normality. is normal in base if, for every finite word of any length whose entries are all ,
as a limit of real numbers (the quotient at is , irrelevant to the limit).
Claim.
more precisely, that set is contained in a Lebesgue-null set. Here is the set of finite words over and is the length of . Bases and are not covered.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.