AI Revolution · Explainer · Updated Oct 2026
AI and the Riemann Hypothesis: a machine-checked proof, explained
By James Brown · Published · Updated
On Nov 20 an Anthropic mathematician released a 17-million-line Lean proof of the Riemann Hypothesis made with Claude, and independent checkers accept it. What was proven, how it was verified, what's still open, and what a week of AI science means.
On November 20, 2026, Levent Alpöge, a number theorist at Anthropic (on leave from Harvard), posted a four-page paper on his personal website. "I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis," he wrote. Attached was something mathematicians had never seen for this problem: a proof written in Lean, a programming language that a computer can check line by line, spanning 17 million lines of code.
The next day the Lean FRO and the Mathlib Initiative, the groups behind Lean's math ecosystem, issued a joint statement: "We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct." Fields medalist James Maynard told Science: "This is an absolute historic milestone for mathematics."
We've covered the AI boom mostly through money: sold-out clouds, Anthropic's IPO, last week's price war. This is the other half of the story, the part the spending is supposed to buy. Here's what happened, in plain English, and what it does and doesn't mean.
What is the Riemann Hypothesis?
It's a question about prime numbers, the numbers divisible only by 1 and themselves. Primes look scattered at random along the number line, but in 1859 Bernhard Riemann showed their distribution is tied to a function now called the Riemann zeta function. He proposed that all of the function's interesting zeros (the inputs that make it equal zero) sit on a single vertical line in the complex plane, where the real part is exactly 1/2.
If that's true, Science explains, the primes fluctuate neatly around a simple curve with no major outliers. It's one of the seven Millennium Prize Problems picked by the Clay Mathematics Institute, each carrying a $1 million prize. Countless other results in math are written as "assuming the Riemann Hypothesis...", so a proof would instantly validate them. Nature notes the timing too: Riemann was born 200 years ago this September.
What Alpöge actually released
- A short paper with a proof sketch. Alpöge says the AI-generated explanation of the full proof runs over 250,000 pages. He didn't release that.
- A 17-million-line Lean library that proves a broader version, the generalized Riemann Hypothesis for Dirichlet L-functions, a wider family of functions that includes the zeta function. MIT's Andrew Sutherland lists five headline theorems, the first of which is Mathlib's own definition of the Riemann Hypothesis.
- Advances on two other big problems involving the Euler and Navier-Stokes equations for fluid flow, according to Science, done with NYU's Tristan Buckmaster.
How the AI got there matters. Per Science, Alpöge had been "feverishly prompting" Claude to attack many of math's biggest problems for weeks, and mathematicians estimate the compute likely cost millions of dollars. Maynard says the AI appears to build on a result OpenAI researchers posted last month, the "quasi-Riemann hypothesis," which ruled out zeros in part of the region, "injecting a lot more deep and difficult mathematical content."
How a computer checks a proof
This is the part that makes the story different from the many failed claims over the past century. A Lean proof isn't a persuasive essay. Every step has to be accepted by a small core program called the kernel. If the code compiles, the logic holds, given Lean's rules. The Lean community laid out four questions it checked:
| Question | How it was checked |
|---|---|
| Is the statement right? | The proof targets the definition of the Riemann Hypothesis already in Mathlib, Lean's shared math library, which experts in Lean and number theory had vetted. |
| Does it compile? | Dozens of people reported compiling it and reproducing the same proof export file. Sutherland reports all 175,187 modules compiled with zero errors. |
| Does it prove that statement? | A separate file that imports only Mathlib states the hypothesis; two independent tools confirmed the proven theorem matches it exactly. Only Lean's three standard axioms are used. |
| Is the proof valid? | Lean's official kernel plus several independently written checkers in different languages accepted it. Two of them (con-leche and con-ron) come with their own formal proof that they can't accept a false proof. |
Those checks were heavy. Sutherland's log shows Lean's "paranoid" kernel took about 72 hours on one thread and nearly 99 GiB of memory to accept the full export. Researchers also confirmed the proof doesn't sneak in a shortcut that quietly changes what's being proven, which Scientific American describes as a "comparator run."
From 17 million lines to 76,000
A human can't read 17 million lines. So the community started shrinking it, which is safe to do with a machine-checked proof: any rewrite either passes the kernel again or fails. On November 25, Anthropic's Luke Sernau posted a rewrite produced with colleagues and Claude: a compact edition of about 76,000 lines and a readable edition of about 300,000 lines with a reading guide, proving the same five theorems. Sutherland reports independent checkers accept both, and Vibe Math Lab reports the compact edition builds in one to two hours on 12 cores, within reach of a well-equipped home computer.
The readable edition's README is blunt: "No mathematician has read it through, and no paper comes with it." Vibe Math Lab reports mathematicians have opened a public Polymath project to write a human-readable proof.
What's still open
- Understanding. Mathematicians expect it could take years to digest. "The point of math—and the point of science—is understanding why things happen," NYU's Maksym Radziwill told Science.
- Official recognition. The Clay Institute still lists the problem as unsolved. Its rules require publication, a two-year waiting period and general acceptance in the math community before any prize.
- A human rival. Hours after Alpöge's post, Stanford's Ravi Vakil and Brian Conrad put out a 940-page, AI-free draft proof by independent mathematician Alessandro Masullo, who spent nearly 12 years on it. It's unfinished and unverified. An earlier Masullo attempt failed, but Conrad says this one uses substantially different methods.
- Who gets access. Some mathematicians worry that frontier results now depend on expensive compute held by a few companies. Number theorist Andrew Granville called the write-up "garbled" and pointed to the timing, days after Anthropic's IPO. Alpöge wrote that the cynical view about timing "is false."
Not just math: the rest of AI science week
The Riemann news landed in a week full of AI doing real science, much of it with checks built in:
- Quantum algorithms (Nov 23). Google DeepMind says teams of Gemini 4 agents improved known quantum algorithms, with every result proven in Lean. One circuit for inertial confinement fusion cut computing cost 11.8x; a drug-metabolism enzyme simulation (Cytochrome P450) improved 2.5x. DeepMind notes these still need more resources than the first error-corrected quantum computers will likely have. (Fusion fans: see our too cheap to meter musing.)
- Protein design (Nov 24). OpenAI says GPT-6 models can design new protein shapes and sequences using only reasoning and code. In lab tests with Onava, 35 of 322 designed minibinders (10.9%) bound their targets. OpenAI notes specialized models still helped filter candidates, and binding is only one step toward a medicine.
- Biology benchmarks. Nature reports researchers found the latest Claude models outperformed specialized protein-language models at predicting the sequences of obscure bacterial proteins.
The pattern: the most convincing AI science results this week came with a referee that isn't a human, a proof checker or a wet lab. That's the template to watch.
What it means for builders and investors
- Verification is the product. The breakthrough wasn't only that Claude found an argument. It's that Lean could check it. Builders using AI for code, contracts or numbers should pair it with tests and checkers, not vibes.
- Compute is turning into discovery. The effort likely cost millions of dollars in compute, per mathematicians quoted by Science. That's the bull case behind the compute buildout: capacity that produces new knowledge, not just chatbot replies.
- Headlines aren't earnings. Anthropic's IPO valued it at $1.5 trillion before its valuation dropped Nov 19, Nature reports. A historic proof doesn't change the math on revenue and compute costs. Companies on our Markets snapshot such as Alphabet and NVIDIA are tied to this race, but nothing here is financial advice or a recommendation to buy or sell any security.
The optimistic read, in Maynard's words: "It seems totally clear now that there's going to be some golden era of mathematics." The careful read: the proof is machine-checked, not yet humanly understood or refereed. Both are true this week, and that's what a revolution looks like up close.
Sources
- Science, AI may have solved math's greatest mystery. Can humans understand the answer? (Nov 20, 2026)
- Nature, Mathematicians astounded by AI and human-written proofs of iconic Riemann hypothesis (updated Nov 23, 2026)
- Lean FRO and Mathlib Initiative, Lean verification of the Riemann Hypothesis (Nov 21, 2026)
- Andrew Sutherland (MIT), Verification files for the Lean proof of the Riemann Hypothesis
- Scientific American, The AI Riemann hypothesis proof is true, independent mathematicians confirm
- Vibe Math Lab, A 76,000-line Lean proof of the Riemann hypothesis: what changed and what is checked (Nov 25, 2026)
- Clay Mathematics Institute, Millennium Prize rules
- Google DeepMind, Finding faster quantum algorithms with agents and formal verification (Nov 23, 2026)
- OpenAI, GPT-6 models demonstrate intrinsic protein-design capabilities (Nov 24, 2026)
- Nature, Watch out, AlphaFold: Claude and ChatGPT's new biology skills wow scientists
More AI explainers See the market snapshot →
FAQ
Has the Riemann Hypothesis been proven?
A Lean proof released Nov 20, 2026 by Anthropic's Levent Alpöge, made with Claude, has been certified correct by the Lean FRO and Mathlib Initiative and accepted by several independent proof checkers. It has not been peer reviewed or read through by mathematicians, and the Clay Mathematics Institute still lists the problem as unsolved.
What is the Riemann Hypothesis in simple terms?
A 1859 conjecture by Bernhard Riemann that all the nontrivial zeros of the Riemann zeta function have real part 1/2. If true, prime numbers are distributed around a simple curve without major outliers.
What is Lean?
A programming language and proof assistant. A proof written in Lean is checked step by step by a small program called the kernel, so if it compiles against the right statement, the logic is valid under Lean's rules.
Will someone win the $1 million Millennium Prize?
Not yet. Clay's rules require publication, a two-year waiting period and general acceptance by the math community before a prize is considered.
Is there a human proof too?
A 940-page draft proof by Alessandro Masullo, written without AI, was released Nov 20 by Stanford's Ravi Vakil and Brian Conrad. It is unfinished and has not been verified.
Is this investment advice?
No. This is an explainer, and nothing here is financial advice.