Riemann Hypothesis Proof Certified by Lean and Mathlib
The Lean FRO and the Mathlib Initiative say they have “full confidence” that Levent Alpöge’s 17-million-line Lean proof of the Riemann Hypothesis, found with Claude, is correct. Independent proof checkers accepted it and the proved theorem matches Mathlib’s own statement of the problem, though no human-readable proof has been published yet.
The two organisations that steward the Lean proof assistant and its main mathematics library have signed off on the machine-checked proof of the Riemann Hypothesis that Anthropic mathematician Levent Alpöge released with Claude’s help on November 20. In a joint statement posted on Saturday, November 21, the Lean FRO and the Mathlib Initiative wrote that they have “full confidence” the proof is correct, and that they “certify that both the statement and the proof” hold up.
When Alpöge posted his four-page note, the open question was not whether the code compiled but whether it proved the right thing. The statement answers that against four criteria set out in a Xena Project post earlier in November. The theorem is Mathlib’s own RiemannHypothesis definition, which experts in Lean and number theory had already vetted. Dozens of people compiled the library and got the same proof export. The community wrote a separate file that states the hypothesis while importing nothing but Mathlib, and two independent tools, comparator and con-leche, confirmed that the theorem in Alpöge’s library is exactly that statement. Finally, the exported proof passed Lean’s official kernel, the con-leche and con-ron checkers, and several third-party checkers written in other programming languages.
Two details address the deepest worries. con-leche and con-ron come with a formal proof, relative to set theory, that they cannot accept a false proof, which covers the possibility that a flaw in Lean’s own logic was being exploited. And every check ran on an inert export of the proof rather than on the Lean sources, out of reach of any malicious code hidden in the 17 million lines.
The numbers behind the check
The detailed record is kept by Andrew Sutherland of MIT on a verification page that he runs with Claude Code and updates as checks finish. As of 14:35 UTC on November 23, all 175,187 modules compile on Lean and Mathlib v4.33.1 with zero errors, and the five headline theorems depend only on Lean’s three standard axioms. A sandboxed rebuild on a separate machine, with no network and read-only sources, reproduced the 61.6-billion-byte proof export byte for byte. Two independently written kernels, nanoda and con-leche, accept the full export, and Lean’s own default kernel accepted it on November 22 after 48 hours on a single thread and 82.6 GiB of memory. One replay through Lean’s stricter paranoid kernel, with an allocator setting changed, also accepted; the same replay with default settings, and an end-to-end lake comparator run, were still going.
The result is wider than the headline. Besides the Riemann Hypothesis itself, the theorems cover the Generalized Riemann Hypothesis for Dirichlet L-functions, for every modulus and every character. Sutherland’s page is explicit that Dedekind zeta functions, Hecke L-functions and automorphic L-functions in general were not checked. As a test that does not lean on Mathlib’s definition of the zeta function, the proof was also combined with an independent formalization of Robin’s and Lagarias’s criteria, giving two inequalities about sums of divisors that mention no zeta function at all. Both passed the same battery of checkers.
What the certificate does not settle
The certification concerns logic, not understanding. The joint statement closes by looking forward to work that will “help explain the new ideas in this proof”, an acknowledgment that no human-readable version exists yet. The Clay Mathematics Institute, which offers $1 million for a solution, still listed the problem as active on November 23.
Not everyone welcomes the result. The Association for Human Mathematics said on November 20 that “no human being can reasonably claim to be responsible for” the document, argued that AI companies are putting technical validity ahead of clarity and understanding, and called for democratic oversight of those companies. The Lean community’s answer is narrower but harder to argue with: whatever the proof means, every checker anyone has pointed at it says it is correct.
That leaves mathematics with an unfamiliar object. Earlier AI results in the field, such as the zeta-function bound Anthropic reported in August, could be read and checked by people the ordinary way. This one arrived the other way round, verified first by machines and waiting for humans to explain why it works.
Want AI news before everyone else?
The morning's most important AI stories, straight to your inbox. No fluff.