Riemann Hypothesis × Claude

Help keep this independent verification log and its sources up to date.

☕ Support this site

Explainer

The Riemann Hypothesis Lean proof, explained

Levent Alpöge released his proof only as code for the Lean proof assistant, and a day later the Lean and Mathlib communities certified it. What that code is, how it was checked, and what the certification does and does not tell us.

Last updated November 21, 2026

Short answer: the proof of the Riemann Hypothesis made with Claude exists only as code for Lean, a proof assistant that checks every logical step by machine. The archive holds 175,187 Lean modules. On November 21, 2026, the Lean and Mathlib communities, in a joint statement endorsed by the Lean FRO and the Mathlib Initiative, certified that both the statement and the proof are correct. Live progress is on our verification log.

What is Lean?

Lean is a programming language and theorem prover. In ordinary mathematics a proof is written in prose and checked by people, who can skip a step that looks obvious. In Lean every definition and every step must be spelled out in full. A small program at the core, called the kernel, then checks that each step follows from the previous ones by the rules of logic. If a single step is wrong or missing, the proof does not compile.

Most of the background mathematics comes from Mathlib, a community library that already defines the Riemann zeta function and states the Riemann Hypothesis. That matters here: the proof targets Mathlib's own statement, not one its authors wrote themselves.

What Alpöge released

On November 20, 2026, Levent Alpöge posted a four-page note and a Lean archive split into 14 files, lean.tar.gz.part01 to part14, on his website. In a footnote he explains why there is no paper: the informal argument he produced with Claude ran past 250,000 pages, and he called posting it an "unreadable travesty". So the Lean code is, for now, the proof.

The size is unusual even by formalization standards. The archive contains 175,187 modules, and a scan by the Lean community counted about 15.5 million non-blank lines.

How it was checked

Check What it tests Result
Independent builds Does the code compile? Passed: Sutherland (MIT) and, per the joint statement, dozens of others; same proof export reproduced
Axiom audit Does the proof assume anything extra? Passed: only propext, Classical.choice and Quot.sound
Kernel replay Does Lean's own checker accept every module? Passed for all 175,187 modules
Independent checkers Do separately written checkers agree? Lean's official kernel, con-leche, con-ron and several third-party checkers accepted the export
Statement match Is the theorem exactly Mathlib's RiemannHypothesis? Confirmed by both comparator and con-leche --compare
Static scan Any sorry, axiom, native_decide or unsafe code? None found
Joint certification Do the Lean and Mathlib communities sign off? Yes, November 21, endorsed by the Lean FRO and the Mathlib Initiative

These results come from the joint statement, Sutherland's verification page and the verification notes in the leanprover-community/riemann-hypothesis repository.

The three concerns, and how they were met

The statement. Lean proves exactly what is written, nothing more. The main theorem uses Mathlib's definition of the Riemann Hypothesis, which the joint statement says was carefully vetted by experts in Lean and number theory, and two independent tools confirmed the match. The archive's GRH part covers Dirichlet L-functions only, not every L-function the name is sometimes used for, and the joint statement does not address it. See our GRH guide.

The tools. The archive defines some custom tactics that assign proof terms without the usual elaboration check, so the kernel is the only line of defence for those steps. That is why the exported proof was re-checked by independently written checkers, run on an inert export out of reach of any code in the sources. Two of them, con-leche and con-ron, come with a formal proof, relative to set theory, that they cannot accept a false proof.

Understanding. Even a perfect check says that the theorem is true, not why. Cornell's Steven Strogatz told Business Insider, before the certification, that the computer system "sometimes makes mistakes". Rutgers' Alex Kontorovich described the machine to the AP as "extraordinarily picky", stricter than any human referee. The joint statement itself looks forward to mathematicians explaining the new ideas, and that work has only begun.

What still has to happen

  • A human-readable write-up, which Alpöge says he intends to produce.
  • Mathematicians digesting the argument and, as Alpöge expects, finding shorter proofs.
  • Publication and general acceptance, which the Clay Mathematics Institute requires before it considers its prize.

For how each step feeds into the bigger question, read has the Riemann Hypothesis been solved?. For the mathematical idea inside the code, see how the proof works, and for how experts reacted, see our reactions roundup.

Frequently asked questions

What is Lean?

Lean is a proof assistant: a programming language in which every step of a mathematical proof is written out so that a small trusted program, the kernel, can check it mechanically. Mathlib is its large community library of formalized mathematics.

Why did Alpöge release only Lean code?

His note says the informal argument written with Claude passed 250,000 pages, and that posting such an unreadable document would be inappropriate, so he released only the formalization.

How big is the Riemann Hypothesis Lean proof?

The archive comes in 14 parts and contains 175,187 Lean modules, about 17 million lines. A scan by the Lean community counted about 15.5 million non-blank lines.

Has the Lean proof been verified?

Yes. On November 21, 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, after independent builds, statement comparison with two tools, and checking by Lean's kernel and several independent checkers.

Does a Lean check mean the Riemann Hypothesis is proved?

It means a correct proof of Mathlib's statement of the Riemann Hypothesis exists and has been checked by machine. What it does not give is human understanding of why the proof works, which mathematicians have only begun to work on.

Sources

  1. Levent Alpöge, statement on the Riemann Hypothesis (PDF) · Nov 20, 2026
  2. Lean and Mathlib communities: Lean verification of the Riemann Hypothesis (joint statement) · Nov 21, 2026
  3. Andrew Sutherland (MIT), verification of the Lean archive · Nov 20, 2026
  4. leanprover-community/riemann-hypothesis, verification notes · Nov 20, 2026
  5. Business Insider (via Yahoo): Anthropic mathematician says he used AI to solve the Riemann hypothesis · Nov 20, 2026
  6. AP (via Boston Globe): Anthropic worker claims to have cracked unsolved math problem with the help of AI · Nov 21, 2026
  7. Lean programming language and theorem prover

This site is independently maintained. Ads on this page help cover domain and research costs. Thanks for your understanding.