Formalizing Carleson's Theorem in Lean
Carleson's theorem, on almost-everywhere convergence of Fourier series of square-integrable functions, has long, highly technical proofs. No state-of-the-art harmonic analysis result had been formalized in a proof assistant.
A recent generalization to doubling metric measure spaces (the metric space Carleson theorem) and the deduction of Carleson's original statement were formalized in Lean. A detailed blueprint divided the proof into 179 lemmas, enabling a public collaboration of 28 contributors. Design decisions included making all constants explicit, using finitary arguments in the main proof with limiting steps at the end, and relying on Mathlib's Bochner integral and measure theory.
The metric space Carleson theorem and its deduction of Carleson's theorem were fully formalized. Foundational harmonic analysis results are being submitted to Mathlib, and the explicit-constant approach let the authors improve the constant from 2^{443a^3} to 2^{46a^3}.
