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.