TechAILatest.newsTrackers
AI Research / AI for science

What does a Lean check prove about the Claude-assisted Riemann hypothesis proof?

A Lean check settles whether a proof is valid, not whether anyone understands it. How the Riemann hypothesis claim compares with Fermat and other AI proofs.

By Gürkan E.Published

Abstract illustration of orbits and a graph of data pointsTech AI Latest
Illustration of orbits and a graph of data points, made by Tech AI Latest for this story. Illustration: Tech AI Latest (Original illustration)

When Lean verifies a proof, a small trusted kernel has checked every step from three standard axioms. Two questions remain: does the formal statement say what the theorem means, and can humans understand the argument? For the Claude-assisted Riemann hypothesis proof, the Lean FRO and Mathlib Initiative say the first is settled. The second is not, and a 17 million line proof is far larger than earlier AI formalizations.

Key facts

  • Lean's kernel accepts a proof only if every step follows from the axioms and earlier results
  • Lean's standard axioms: propositional extensionality, quotient soundness and the axiom of choice (Lean documentation)
  • Riemann hypothesis proof: about 17 million lines, statement matched to Mathlib's definition by two tools
  • Earlier AI formalizations: Fermat's Last Theorem 13 million lines, finite simple groups about 43.1 million
  • What a check does not give: a readable argument, peer review or a Clay Institute award

The short answer

On 20 November 2026 Levent Alpöge, a mathematician at Anthropic, released what he says is a proof of the Riemann hypothesis found with Claude, written entirely as code for the Lean proof assistant. A day later the Lean FRO and the Mathlib Initiative said they have full confidence that the proof is correct. We covered the claim and the reactions in our news story. This piece answers the question that follows from it: what exactly has a computer confirmed, and what is still open?

The short answer is that a Lean check settles one question almost completely and leaves another untouched. It settles whether the argument is logically valid, step by step, from a small set of agreed starting points. It does not tell anyone why the argument works, whether it opens new mathematics, or whether a human could follow it. For a problem whose solution mathematicians want mainly for the understanding it would bring, that second part is not a footnote.

How Lean checks a proof

Lean is a programming language in which mathematical statements are types and proofs are programs. When a file compiles, a small component called the kernel has checked that every step follows from definitions, earlier theorems and the axioms. Lean's standard axioms are only three: propositional extensionality, the soundness of quotients and the axiom of choice, as the Lean documentation explains. A proof that uses anything else, such as an unproved assumption or a shortcut flagged as unsafe, shows that in its list of axioms, which reviewers can print.

The kernel is deliberately small, so that it can be trusted. To guard against a bug in Lean itself, the Lean community also replays proofs in independent checkers written in other programming languages. According to the joint statement on the Riemann hypothesis proof, the raw proof was checked with Lean's official kernel and with several such third-party checkers.

That covers the proof. The harder question is the statement. A formal proof is only as good as the theorem it proves, and a statement with a subtle mistake, such as a wrong definition of the zeta function or a missing condition, could be proved without proving anything about the real Riemann hypothesis. Here the community used a precaution that is becoming standard for AI-generated proofs: the theorem was compared against the statement already in Mathlib, the community mathematics library, which experts in Lean and number theory had vetted before Alpöge's release. Two independent tools, comparator and con-leche, confirmed that the theorem in Alpöge's library matches Mathlib's statement. The same comparator approach was used when Anthropic's agents formalized Fermat's Last Theorem in September.

What a machine check does not give

Mathematicians read proofs to learn why something is true. A proof of the Riemann hypothesis would be expected to reveal something about how prime numbers are distributed, and that insight is what other researchers would build on. A Lean library of about 17 million lines does not deliver it by itself. MIT's Andrew Sutherland, who compiled the code independently, said there is much work to be done to understand the mathematical details of the proof, and no human-readable write-up of the Claude-assisted argument has been released yet.

Size is part of the problem. The proof is larger than every earlier AI-assisted formalization we have covered except one. Anthropic's Fermat proof ran to 13 million lines and was more than five times the size of Mathlib, which suggests the Riemann proof is several times larger than that library too. Axiom Math's formalization of the classification of finite simple groups reached about 43.1 million lines in 24 days. Google DeepMind's AlphaProof Code produced about 6.5 million lines of proofs about the Signal protocol's compiled code. Machine-generated proofs are not written for economy; Anthropic said of its own Fermat proof that it is probably far longer than needed.

There is one important difference. The Fermat and finite simple group projects translated proofs that humans had already written, read and accepted. The Riemann proof is new mathematics that, as far as has been published, exists only in Lean. That reverses the usual order, in which a human argument is accepted first and formalized later, if at all.

Why AI labs publish proofs in Lean

Language models produce fluent arguments that can be wrong in ways that are hard to spot, and a referee cannot read millions of lines. Lean removes the need to trust the model: the output is either accepted by the kernel or it is not. That is why AI groups now publish their results as Lean code, and why checking has moved from the referee's desk to the compiler.

Not every AI-assisted result has gone that route. Microsoft researchers who proved the KLS conjecture in October used AI agents to explore about 100 research paths but chose the direction and checked the argument themselves, posting arXiv preprints alongside a Lean formalization. In August, Alpöge and his colleague Ralph Furman checked by hand an unreleased Claude model's improvement of the share of zeta zeros known to lie on the critical line, from 41.6% to 67.2%, and published it on arXiv. Formal checking also reaches beyond mathematics: Anthropic's FlashProve proved the soundness of one of its verifiers in Lean 4.

How the field will decide

Acceptance in mathematics is social as well as technical. The Clay Mathematics Institute, which offers a prize for the Riemann hypothesis, still lists the problem as unsolved, and its rules require a solution to be published and to have gained general acceptance after a waiting period. A competing all-human draft posted by Stanford's Ravi Vakil on the same day, written by Alessandro Masullo and claiming the generalized Riemann hypothesis, is still undergoing major revision and has not been formalized, according to Scientific American.

Three things will show how settled the Claude-assisted result is. The first is a readable account of the argument from Alpöge, which other number theorists can test against what they know. The second is the Lean community's complete end-to-end run of its checking tools on the full library, which coverage describes as taking hours of compute. The third is whether shorter, cleaner proofs follow, written by people or by AI systems working from the formal one. Until then the fair description is that the Riemann hypothesis has a machine-checked proof that mathematicians do not yet understand. More research coverage is under AI Research, and the models behind these results are listed in our model release tracker.

Questions people ask

Can a Lean-verified proof be wrong?
Only in narrow ways: if the formal statement does not match the intended theorem, if extra axioms were used, or if Lean's kernel has a bug. Statement comparison, axiom listing and independent checkers address each of these.
Why is the Riemann hypothesis proof so long?
AI agents write every step explicitly and do not optimize for brevity. The Lean library is about 17 million lines; Anthropic's earlier Fermat formalization was 13 million.
Is the Riemann hypothesis officially solved?
Not yet. The Clay Mathematics Institute still lists it as unsolved, and no human-readable version of the Claude-assisted proof has been published.

Sources

  1. Lean verification of the Riemann Hypothesis (Lean FRO and Mathlib Initiative, 21 Nov 2026)
  2. Axioms and Computation, Theorem Proving in Lean 4 (Lean FRO, 22 Nov 2026)
  3. Formalizing Fermat's Last Theorem (Anthropic, 4 Sep 2026)
  4. The enormous theorem, formalized (Axiom Math, 26 Oct 2026)
  5. Introducing AlphaProof Code: a breakthrough in verifying complex software at depth (Google DeepMind, 10 Nov 2026)
  6. Dueling claims of Riemann hypothesis proofs emerge (Scientific American, 20 Nov 2026)

Reference pages

Spotted an error? See the corrections policy and tell the editor. Facts in this story come from the sources listed above; vendor claims are attributed.

Comments

Loading comments.

No links, no insults; comments that break the rules are not published. 0/1000

Related stories

All ai research