Skip to main content
Season 3 ends in 16 d 22:22:19 $2,000 10,000 pts = 1 month Premium
Science

Riemann Hypothesis Proved? What the Lean Proof Shows

Published 14 min read
Open the post and read it to claim 30 points
A single vertical line of golden light rising from a dark glassy plane, with tiny points of light lined up exactly along it

Sign in and earn +30 points by reading this

Read to the end, wait a few seconds, then tap the claim button below.

In short

On 20 November 2026 Levent Alpöge announced a proof of the Riemann Hypothesis made with Anthropic's Claude, released as a 17-million-line Lean library [1][3]. The Lean and Mathlib communities certified the statement and proof on 21 November, but experts stress that understanding the proof will take a long time [1][4].

Key takeaways

  1. Levent Alpöge announced the proof on 20 November 2026, working with Anthropic's Claude [3][5].
  2. The formal proof is a Lean library of about 17 million lines that depends only on Mathlib [1].
  3. The Lean and Mathlib communities certified both statement and proof on 21 November 2026 [1].
  4. Independent kernels, including nanoda, con-leche and lean4lean, accepted the proof [2].
  5. The checked theorems also cover the Generalized Riemann Hypothesis for Dirichlet L-functions, but not every L-function [2].
  6. Clay will not consider a solution until at least two years after publication in a qualifying outlet [8].
On this page 12 sections
  1. What does the Riemann Hypothesis actually say?
  2. Who proved it, and when was it announced?
  3. What does a formal proof in Lean mean?
  4. Who checked the proof, and what exactly was certified?
  5. Does the proof also cover the Generalized Riemann Hypothesis?
  6. Is the proof understood by mathematicians yet?
  7. Will Alpöge win the $1 million Millennium Prize?
  8. Does a proof of the Riemann Hypothesis break encryption?
  9. Common mistakes
  10. Frequently asked questions
  11. Glossary
  12. Sources

What does the Riemann Hypothesis actually say?

The Riemann Hypothesis says that every non-trivial zero of the Riemann zeta function has real part exactly 1/2, which means all of them sit on one vertical line in the complex plane, called the critical line [2][5]. Bernhard Riemann proposed it in 1859, and it has been one of the most famous open problems in mathematics ever since [3].

The zeta function matters because it encodes the prime numbers, the whole numbers divisible only by 1 and themselves [3][4]. Riemann discovered that the distribution of the primes is encoded in the positions of the zeta function's zeros [4]. If every zero lies on the critical line, the primes are scattered in a way that is essentially as regular as it could be, with no large unexpected gaps or clusters beyond a predictable error [4][5].

The function also has 'trivial' zeros at the negative even numbers -2, -4, -6 and so on. These are excluded from the statement [2]. Lean's library Mathlib writes the hypothesis in exactly that form: every zero of zeta other than the trivial zeros, and other than the point s = 1, where Mathlib gives zeta a conventional value at its pole, has real part 1/2 [2].

A huge amount of mathematics was built on the assumption that the hypothesis is true. Many published theorems begin with the words 'assume the Riemann Hypothesis', so a proof would turn all of those conditional results into unconditional ones at once [6].

Clear glass blocks forming an uneven staircase that rises along a smooth curve through soft grey-blue fog
Primes appear irregularly, step by step, yet follow a smooth overall trend; the hypothesis says how tightly.

Who proved it, and when was it announced?

Levent Alpöge, a number theorist working at the AI company Anthropic, announced on 20 November 2026 that he had found a proof 'working with Claude', the company's AI model [3][5]. He posted a four-page paper with a sketch of the argument on his personal website [5].

Alpöge did not publish the full human-language version of the proof, which he says runs to more than 250,000 pages [5][6]. Instead he released a formal version written in the proof language Lean, a library of about 17 million lines of code [1][6]. Within hours, mathematicians including Andrew Sutherland of the Massachusetts Institute of Technology (MIT) downloaded the code and reported that it compiled [5].

The work is a collaboration between a professional mathematician and an AI system, not a result produced by a machine alone. Science reported that Alpöge spent weeks directing Claude at the problem, and colleagues credit him with building the setup that made the result possible [5][4]. The cost in computing time has not been disclosed [5].

On the same day, a separate, entirely human-written draft proof by Alessandro Masullo, a former PhD student of Brian Conrad of Stanford University, was made public in what Stanford's Ravi Vakil called a 'hurried announcement' [4][5]. That 940-page manuscript has not yet been checked by other experts or in Lean, so its status is different from Alpöge's [6].

What does a formal proof in Lean mean?

Lean is a programming language and proof assistant in which every step of a mathematical argument is written so precisely that a small, trusted program called the kernel can check it mechanically, with no room for hand-waving [3][1]. If a Lean proof compiles without errors, every logical step has been checked by the machine.

Compiling alone is not enough, as mathematicians were quick to point out. Kevin Buzzard of Imperial College London wrote that the first question about any such claim is whether the theorem stated in the code really is the theorem people care about [3]. A proof of a subtly different statement, or code that quietly redefines a symbol, would compile but prove nothing useful [3].

For that reason the Lean community uses four tests: the statement must be the agreed one, the code must compile, the theorem proved must match the agreed statement exactly, and the raw proof must be accepted by independent checkers [1]. The statement used here was not written by Alpöge. It is Mathlib's own definition of the Riemann Hypothesis, vetted in advance by experts in Lean and number theory [1].

One more safeguard concerns the checking software itself. The verification ran on an inert export of the proof, a plain data file, so that no hypothetical malicious code in the Lean sources could interfere with the checkers [1].

Who checked the proof, and what exactly was certified?

On 21 November 2026 at 13:55, the Lean and Mathlib communities published a joint statement, endorsed by the Lean FRO and the Mathlib Initiative, saying: 'We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct' [1]. The statement says all four criteria are satisfied [1].

Andrew Sutherland at MIT, running checks with the help of Claude Code, keeps a public log of every test [2]. As of the page's latest update, 16:20 UTC on 22 November 2026 (checked on 23 November), it reported that all 175,187 modules compile with zero errors, that the five headline theorems depend only on Lean's three standard axioms, and that every module was replayed through Lean's kernel with zero rejections [2].

Independent kernels written by other people, in other programming languages, also accepted the full exported proof: nanoda, written in Rust, and con-leche, along with its Rust port con-ron, whose comparison modes confirmed that all five theorems match the challenge statements [2]. A separate checker, lean4lean, accepted every compiled module [2]. A sandboxed rebuild on a different machine with no network access produced a 61,570,595,788-byte export that is byte-identical to the published one [2].

Two long runs were still in progress at that time: the full end-to-end comparator run, whose statement comparison and axiom check had passed but whose kernel stage was still running, and a Lean-kernel replay of the export, with no verdict yet [2]. Scientific American, updating its story on 21 November, reported that the comparator run had been completed, a description that does not match the 'running' status on Sutherland's log, and Sutherland told the magazine that 'the chance that anything is fishy here is approximately zero' [3].

An endless hall of identical small glowing amber cubes on shelves, with a few cubes in front glowing green
The Lean proof spans 175,187 modules, each replayed through independent checkers.

Does the proof also cover the Generalized Riemann Hypothesis?

Yes, in part: the checked theorems include the Generalized Riemann Hypothesis for Dirichlet L-functions, for every modulus and every character, not only the classic statement about the zeta function [2]. Science described the release as formally verifying 'a broad version of the conjecture' [5].

Sutherland's page lists exactly five theorems. Two are the Riemann Hypothesis itself in two equivalent wordings. The other three say that Dirichlet L-functions have no zeros to the right of the critical line, that their zeros in the critical strip lie on the line, and the same for primitive characters, which is the form in which this generalised hypothesis is usually stated [2].

The scope has clear limits. The page notes that Dedekind zeta functions, Hecke L-functions and automorphic L-functions in general are not among the statements that were checked [2]. Any claim that 'every Riemann-type hypothesis' has fallen goes further than the verified record [2].

As an extra cross-check that does not depend on how Mathlib defines the zeta function, the proof was combined with an independent formalisation of Robin's and Lagarias's criteria. That produced two inequalities about sums of divisors that mention no zeta function at all, and both were verified [2].

Is the proof understood by mathematicians yet?

No: the proof is verified, but it is not yet understood, and most experts quoted so far draw a sharp line between those two things [5][6]. James Maynard of Oxford, a Fields Medal winner, told Nature that if it fully checks out it is 'clearly a historic milestone', while Tristan Buckmaster of New York University said: 'At the moment, it apparently is crazily complicated. It's going to take a long time for mathematicians to digest' [4].

A human-readable explanation is under way. A working draft dated 21 November 2026, written by three AI models (Claude Fable 5.2, Codex Astra 6.2 and Gemini Carbon) at the request of Michael Rubinstein and hosted by the University of Waterloo, explains the argument for the zeta function in the style of classical number theory [7]. Its own abstract says it is a work in progress and that its central inequality, called (M), 'is not proved here' but taken from the Lean development [7].

Some mathematicians remain openly cautious. Thomas Bloom of the University of Manchester told New Scientist that it remains possible the system could exploit a subtle undiscovered bug, and that he would feel more confident once human experts had discussed the big picture [6]. Scott Aaronson of the University of Texas at Austin said mathematicians will be satisfied only when they can understand the proof themselves [6].

Others worry about the wider effect on the field. Maksym Radziwill of NYU told Science that the emphasis on results without digestible content shifts the work of understanding onto people who will not get credit [5]. Many researchers, on the other hand, expect a burst of new mathematics once the ideas are extracted [5].

A stone arch bridge over a misty gorge, finished on one side and still wooden scaffolding on the other
The proof is verified, but the human-readable explanation is still being built.

Will Alpöge win the $1 million Millennium Prize?

Not yet, and not soon: the Clay Mathematics Institute's rules say a solution must first be published in a qualifying outlet, at least two years must pass after publication, and it must have general acceptance in the global mathematics community [8]. The institute also does not accept direct submissions [8].

The Riemann Hypothesis is one of the seven Millennium Prize Problems, each carrying a US$1 million prize [4]. None of the conditions has been met yet: the result has not been published in a peer-reviewed journal, and New Scientist notes that formal review by other mathematicians, normally required for journal publication, has not happened [6].

How Clay would treat a proof produced through human direction of an AI model is an open question that none of the sources cited here answers. Under the rules, any claim that the prize has been 'won' or 'awarded' is wrong as of 23 November 2026 [8].

The rival human-written draft by Masullo would face the same rules, plus the earlier step of expert checking, which has not yet been done [5][6].

Does a proof of the Riemann Hypothesis break encryption?

No: widely used encryption such as RSA depends on how hard it is to factor very large numbers, and the verified theorems are statements about where zeros of the zeta function and Dirichlet L-functions lie, not a method for factoring numbers [2]. Nothing in the published verification material points to a practical attack on bank cards, messaging apps or websites [1][2].

The confusion is understandable, because both topics involve prime numbers. But the hypothesis is about how primes are distributed on average, while breaking RSA needs a method to find the two specific prime factors of one given number. Many results across mathematics were already built on the assumption that the hypothesis is true [5].

Science notes that the proof validates many results that were conditional on the hypothesis, which could have knock-on effects in cryptography and other fields over time [5]. That is a statement about theory, not about a sudden practical attack. Any claim that the proof also gives a fast factoring method has no support in the published verification material [1][2].

For readers following AI's role in science, also read Can AI Cure Cancer? What Anthropic's Biology Claim Means, Claude vs ChatGPT for Coding: Which Is Better in Late 2026? and Claude Fable 5.2: Price, Access and What Mythos 5.2 Adds.

Main verification checks reported by 22 November 2026
CheckResult
Statement is Mathlib's vetted definitionConfirmed
All 175,187 modules compilePass, zero errors
Only the three standard axioms usedPass
Statement match by independent toolsPass
Independent kernels (nanoda, con-leche, con-ron)Accept
Sandboxed rebuild of the exportIdentical
Full comparator runStatement and axiom stages pass; kernel stage still running on Sutherland's log (SciAm reported it complete)
Verified versus still open
QuestionStatus on 22 November 2026
Is the formal proof correct?Certified by the Lean and Mathlib communities
Does it cover Dirichlet L-functions?Yes
Does it cover all L-functions?No
Is there a full human-readable proof?No, a draft guide is in progress
Peer-reviewed journal publication?No
Clay Millennium Prize?Not awarded

Common mistakes

  • Calling it a proof made by AI alone.

    Fix: A mathematician, Levent Alpöge, directed the work with Claude over many weeks [5].

  • Treating 'it compiles' as the whole check.

    Fix: Experts also checked the statement, the statement match and the proof with independent kernels [1][3].

  • Saying every Riemann-type hypothesis is now proved.

    Fix: The checked theorems cover zeta and Dirichlet L-functions only [2].

  • Saying the $1 million prize has been won.

    Fix: Clay requires publication, two years and general acceptance first [8].

  • Believing online encryption is now broken.

    Fix: The verified theorems are about zeros, not a method for factoring numbers, which RSA relies on [2].

Frequently asked questions

Has the Riemann Hypothesis been proved?

A formal Lean proof announced on 20 November 2026 was certified as correct by the Lean and Mathlib communities on 21 November [1][3].

Who proved the Riemann Hypothesis?

Levent Alpöge, a mathematician at Anthropic, working with the Claude model [3][5].

How long is the proof?

The Lean version is about 17 million lines; Alpöge says the full written proof exceeds 250,000 pages [1][6].

Do mathematicians understand the proof?

Not yet; experts expect it to take a long time, and a human-readable guide is still a draft [4][7].

Is there a human-written proof too?

A 940-page draft by Alessandro Masullo appeared the same day but has not been checked yet [5][6].

Will this affect my online security?

No; the published verification material describes no method for factoring numbers, which everyday encryption relies on [1][2].

Glossary

Riemann zeta function
A function of complex numbers whose zeros encode how prime numbers are distributed [4].
Critical line
The vertical line of complex numbers with real part 1/2 [2].
Lean
A proof language in which a trusted kernel checks every step of a proof [1][3].
Mathlib
Lean's large shared library of formal mathematics, including the agreed statement of the hypothesis [1].
Kernel
The small core program that checks a formal proof; independent kernels re-check it separately [2].
Dirichlet L-function
A relative of the zeta function used to study primes in arithmetic progressions [2].

Sources

  1. Lean verification of the Riemann Hypothesis Lean community blog · 2026-11-21
  2. RH Lean proof: verification files Andrew Sutherland, MIT · 2026-11-22
  3. The AI Riemann hypothesis proof is true, independent mathematicians confirm Scientific American · 2026-11-20
  4. Mathematicians astounded by AI and human-written proofs of iconic Riemann hypothesis Nature · 2026-11-20
  5. AI may have solved math's greatest mystery. Can humans understand the answer? Science · 2026-11-20
  6. Mathematicians are amazed by 'holy grail' proof of Riemann hypothesis New Scientist · 2026-11-20
  7. The Alpöge-Claude proof of the Riemann hypothesis explained for the Riemann zeta function (working draft) University of Waterloo (M. O. Rubinstein) · 2026-11-21
  8. Rules for the Millennium Prize Problems Clay Mathematics Institute · 2018-09-26
Share this guide Telegram WhatsApp X
0 likes

Comments

Top comments

About the Pouyam Team Editorial policy

On Pouyam

Explore Pouyam

Guides are one corner of Pouyam. Here is where to go next.

Play and win dollar prizes

All games

Free online games with no download on Pouyam: every game earns season points, and the top players win dollar prizes.

Quick navigation