Riemann Hypothesis apparently proved: Lean community verifies proof made with Claude

Anthropic mathematician Levent Alpöge, working with the AI model Claude, has found a proof of the Riemann Hypothesis, written as 17 million lines of Lean code. Just one day later, after several independent checks, the Lean and Mathlib communities confirmed the proof is correct. The catch: nobody really understands yet why the hypothesis is true.

Research Nov 21, 2026 8 min read Source: Bing News (en-IN)
Illustrative image, AI-generated

What's going on

The Riemann Hypothesis is one of the most famous unsolved problems in mathematics. Bernhard Riemann formulated it in 1859, and it's one of the Clay Mathematics Institute's seven Millennium Prize Problems. Now it appears to have been proved, with help from an AI.

On November 20, 2026, Levent Alpöge posted a short, unsigned note on his personal website. He's a Harvard-trained number theorist who works as a mathematician at Anthropic. In it, he writes:

I believe that I have discovered, in collaboration with Claude, a proof of the Riemann Hypothesis.

There's no traditional paper. Instead, Alpöge published the proof in Lean, a programming language and proof assistant in which mathematical proofs are written so that a computer can check every single step without gaps. The code runs to about 17 million lines, spread across 14 archives.

Just one day later, on Saturday, November 21, the Lean and Mathlib communities issued a joint statement. It's backed by the Lean FRO, the nonprofit behind Lean, and the Mathlib Initiative, which maintains Lean's shared mathematics library. The verdict:

We have full confidence that Alpöge's proof of the Riemann Hypothesis is correct.

What the Riemann Hypothesis actually says

Prime numbers like 2, 3 or 5 are divisible only by 1 and themselves. They seem randomly scattered along the number line, but at large scales they follow a pattern. The Riemann Hypothesis describes that pattern very precisely. Formally, it's about the Riemann zeta function: all of its zeros, apart from the "trivial" ones at the negative even integers, should have real part ½, meaning they lie on one particular line. Because so many other mathematical results depend on it, the question has been considered central for more than 160 years.

According to unite.ai, the Lean code contains one technical detail: the condition s ≠ 1 appears explicitly because, by convention, Mathlib assigns the zeta function a value at its pole.

How do you check 17 million lines?

No human can read a proof this size line by line. So the review had to make sure the computer's own checking had no gaps. The statement follows four criteria that Kevin Buzzard of Imperial College laid out earlier this month on his "Xena Project" blog:

  1. The statement is right. What's proved is the definition of the Riemann Hypothesis that has been in Mathlib for some time and was reviewed by experts in Lean and number theory. That rules out the most common mistake: proving something that only looks like the famous problem. The risk is real. Buzzard had found that dozens of Lean files from OpenAI's October release of 722 AI-generated manuscripts didn't state the main theorem of the corresponding paper.
  2. The code compiles. Dozens of people reported that the library built without errors and produced the same export file of the proof.
  3. The code proves exactly this statement. The community wrote its own "challenge" file containing only the Riemann Hypothesis and importing nothing but Mathlib. Two independent tools, Comparator and con-leche's comparison mode, confirmed that Alpöge's theorem matches it exactly. That rules out terms being quietly redefined so the theorem merely looks the same.
  4. The proof is valid. The exported proof was run through Lean's official kernel, the small core that checks every step. It was also checked by con-leche and con-ron, plus several third-party checkers written in other programming languages. According to unite.ai, con-leche and con-ron come with formal proofs, relative to set theory, that they can't accept a false proof. That's meant to address the worry that a bug in Lean's own logic might have been exploited. All checkers worked on an "inert" export, a pure data file, so any malicious code hidden in the source files couldn't affect the result.

According to the statement, the proof passes all four tests.

Details from the MIT log

MIT mathematician Andrew Sutherland was among the first to compile the code. He keeps a public log of the checks, which, interestingly, were run with Claude Code. According to unite.ai, the log as of November 21, 12:55 UTC reads:

Check Result
Compilation (Lean/Mathlib 4.33.1) all 175,187 modules, zero errors
Axiom check of the five main theorems only propext, Classical.choice, Quot.sound (standard axioms)
Nanoda (independent kernel in Rust) entire proof accepted
con-leche entire proof accepted
lean4lean every module accepted
con-leche comparison mode all challenge statements match

The axiom check matters. Axioms are basic assumptions that aren't proved. If the code had introduced its own axioms, it could essentially have handed itself the result. But only the three standard axioms from Lean's core were used.

Sutherland is also open about what was still missing at that point. The standard and "paranoid" kernel checks of the export, as well as the full Comparator run, were still in progress. Older versions of con-leche and con-ron stopped without a verdict because they didn't support a certain data type (a reflexive inductive type), not because they rejected the proof. In addition, the build ran on cloud machines without a sandbox, meaning without an isolated environment, and the export's hash hadn't yet been compared against a sandboxed build.

What's confirmed and what isn't

What's certified is the Riemann Hypothesis itself. Alpöge claims more: a proof of the Generalized Riemann Hypothesis (GRH) as well, and he hopes to reach the Extended Riemann Hypothesis given more time. The statement doesn't mention the generalized version. According to unite.ai, however, Sutherland's check does cover GRH statements for Dirichlet L-functions across all moduli and characters. He explicitly excludes Dedekind zeta functions, Hecke L-functions and general automorphic L-functions.

Above all, what's missing is what mathematicians actually want: an understanding of why the hypothesis is true. Alpöge says a readable version would run to more than 250,000 pages. He calls it unreadable and admits he doesn't fully understand parts of it himself. He plans to simplify and explain the argument. This is exactly the black-box scenario Terence Tao had worried about: knowing something is true long before anyone understands why.

The $1 million Millennium Prize is a separate question. The Clay Mathematics Institute still lists the problem as unsolved. Its rules require publication in a recognized venue and two years of general acceptance.

What role Claude played

By Alpöge's account, he set the direction and Claude did the technical work, from October 6 to November 16. He guided the approach from a simplified toy model to the actual target. Toward the end, he says, Claude pulled ahead of him. As an example, he cites Claude's suggestion to use a chain of theta lifts of length X for a von Mangoldt sum of length X. Unite.ai stresses that this division of labor rests solely on Alpöge's account. The certification covers only the formal result and doesn't prove the AI solved anything on its own.

The timing is notable for Anthropic. According to tbreak, Alpöge told CEO Dario Amodei by text late on a Sunday night and held off publishing until after the company's IPO on November 19. As recently as August, Anthropic had reported that a research version of Claude raised the share of zeta zeros provably lying in the "right" place from 41.6 to 67.2 percent. At the time, it explicitly said it didn't expect these techniques to lead to a proof of the Riemann Hypothesis. A month ago, Tao estimated that an AI might not solve the hypothesis until around 2050.

Reactions and open questions

Not everyone is celebrating. The Association for Human Mathematics said it was "seriously concerned" about what the proof represents. There's also the question of priority: hours after Alpöge's post, Ravi Vakil, president of the American Mathematical Society, hastily published a separate, "purely human" proof of the Generalized Riemann Hypothesis by Alessandro Masullo. Stanford's Brian Conrad had been reviewing it for months. That proof hasn't been formally verified yet.

Back in July, Alpöge said he had solved the Jacobian Conjecture with Claude. In September, OpenAI claimed a solution to the Navier-Stokes problem. In the prize's history, only the Poincaré Conjecture has officially been solved so far.

The bigger picture

If the checks hold up, this is one of the biggest moments in the history of mathematics and a milestone for AI. A problem from 1859 would have a machine-verified answer, found by a human working with a language model and confirmed by an open-source community in about a day. Formal proof checking is what makes that possible: you don't have to trust the AI, only the small proof-checking kernel, which has been independently reimplemented many times.

Some caveats remain. Confidence depends on the Mathlib definitions truly capturing the intended mathematics and on the checking kernels being bug-free. Some verification runs hadn't finished when the reports came out. How big Claude's contribution really was, we only know from Alpöge, and he works at Anthropic. The most important open issue is understanding: a proof nobody can follow answers whether the hypothesis is true, but not why. Whether the 17 million lines contain new ideas that mathematics can build on will likely take years to find out.

Sources

#mathematics#anthropic#claude#lean#proof verification#research
Read the original source

Ask the AI assistant

Questions about this article, installation or background? Our assistant knows this page and runs on our own machine, not in someone else's cloud.

Connecting …

The Assistant is an AI (Gemma 4) and can make mistakes – please check important details against the source. Questions are used only to generate an answer and are deleted after one hour. Please don't enter any personal data.

Comments

What do you think? Already tried it? Write it here, no sign-up needed.

  1. Loading comments …

Comments are public. Links aren't allowed, and we delete abusive posts. You can delete your own comment at any time in this browser. Learn more in the Privacy Policy.