Science · Science brief · Research
Lean and Mathlib certified Alpoge's formal Riemann hypothesis argument
Every zero of the zeta function other than the trivial zeros at -2, -4, -6, and so on, has real part 1/2. The condition that s is not 1 is there because Mathlib assigns the zeta function a conventional value at its pole, as Andrew Sutherland's MIT verification log states the definition.
In this story
- Alpoge released a Lean formalization on 20 November 2026 and wrote that he had not yet mastered the argument.
- The Lean and Mathlib communities certified on 21 November 2026 that the formal statement and the proof are correct.
- Sutherland's log records 175,187 modules and acceptance by several independent kernels, with two kernel replays still running on 22 November.
- The checked generalized statement covers Dirichlet L-functions, and the Clay prize still requires publication and two years.
Mathlib frames the Riemann Hypothesis as a statement about zeros. On 20 November 2026 Levent Alpoge wrote, in his note, "I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis." The note is his own account. It is not a journal article. He writes that the method resolves the Generalized Riemann Hypothesis, that he expects the Extended Riemann Hypothesis with more time, and that "Claude and I have also formalized the arguments without assumptions."
He writes that the argument is "incredibly long" and that its formalization is finished, and he writes that he is "presenting the world with a complete argument before having mastered a massive neighbourhood around its mathematics." He decided to only present Lean. In that 20 November 2026 note he states his own page count, writing that he "hit 250,000+ pages." He writes that he messaged Dario, that there was a constraint to respect, and that "There is an obvious cynical view, to do with the timing, but it is false." The note's footnote points to the archive, from part01 through part14.
On 21 November 2026 the Lean and Mathlib communities, endorsed by the Lean FRO and the Mathlib Initiative, certified that both the statement and the proof of the Riemann Hypothesis are correct. They also wrote that they have full confidence that the proof is correct. The joint statement, which spells his name Alpöge, states a line count of 17 million lines for the Lean library released on 20 November 2026. It identifies the formal statement as Mathlib's RiemannHypothesis, says the library compiles, and says comparator and con-leche --compare confirm that the proved theorem is exactly Mathlib's statement. It says the exported proof was checked by Lean's official kernel, con-leche, con-ron, and other checkers.
Andrew Sutherland's MIT log, updated at 04:35 UTC on 22 November 2026, says 175,187 modules of the published source compile on Lean v4.33.1 and Mathlib v4.33.1, with zero errors. The axiom print for the five headline theorems, on the page as updated on 22 November 2026, lists only the three standard axioms: propext, Classical.choice, and Quot.sound. The log says every module has been replayed through the Lean kernel, that lean4lean accepts every compiled module, and that nanoda and con-leche, two independently written kernels, accept the full exported proof. It says con-leche --compare and con-ron --compare each confirm all five theorems against the challenge, and that an independent sandboxed lake build reproduces the export byte for byte. The same page says the lake comparator run and the Lean-kernel replay of the export are still in progress. The checks were run with Claude Code.
A passing check, the log says, shows that the formal statements as written in Lean against Mathlib's definitions follow from those three axioms according to the kernels used. The check relies on those kernels and on Mathlib's definitions being what they are intended to be. The generalized statement that was checked covers Dirichlet L-functions, all moduli and all characters. Dedekind zeta functions, Hecke L-functions, and automorphic L-functions were not among the statements checked.
The Clay Mathematics Institute rules, adopted by the Board of Directors on 26 September 2018, allocate 1 million dollars to each of seven Millennium Prize Problems, the sum those rules assign to each problem. The institute does not accept direct submission of proposed solutions. Before it will consider a proposed solution, the solution must be published in a qualifying outlet, at least two years must have passed since publication, and the solution must have received general acceptance in the global mathematics community.