A Formal Proof of the Irrationality of $ζ(3)$ in Lean 4
math.NT
/ Authors
/ Abstract
We formalize a proof of the irrationality of $ζ(3)$ in Lean 4, using Beukers' method. To support this, we extend the Lean mathematical library (Mathlib) by formalizing shifted Legendre polynomials and important results in analytic number theory that were previously missing. As part of the Lean 4 PrimeNumberTheoremAnd project, we also formalize the asymptotic behavior of the prime counting function, giving the first formal proof in Lean 4 of a version of the Prime Number Theorem with an error term which is stronger than what had previously been formalized. This result is a crucial ingredient in proving the irrationality of $ζ(3)$. Our complete Lean 4 formalization is publicly available on GitHub.