AI Revolution · Explainer · Updated Oct 2026

AI and the Riemann Hypothesis: a machine-checked proof, explained

By · Published · Updated

TL;DR: On Nov 20, 2026, Anthropic mathematician Levent Alpöge released a 17-million-line Lean proof of the Riemann Hypothesis (and the generalized version for Dirichlet L-functions) produced with Claude. The Lean FRO and Mathlib Initiative certified the statement and proof as correct on Nov 21, independent checkers accept it, and a 76,000-line rewrite followed Nov 25. No mathematician has read it through yet, it isn't refereed, and the Clay Institute still lists the $1M problem as unsolved. Same week: DeepMind agents improved quantum algorithms and OpenAI showed GPT-6 protein design.

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.

Disclosure: Some links on this page are affiliate/referral links. If you sign up through them, I may earn a commission or reward at no extra cost to you. Not financial advice. Investing involves risk, including loss of principal. Full disclosure.

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

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:

QuestionHow 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

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:

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

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

  1. Science, AI may have solved math's greatest mystery. Can humans understand the answer? (Nov 20, 2026)
  2. Nature, Mathematicians astounded by AI and human-written proofs of iconic Riemann hypothesis (updated Nov 23, 2026)
  3. Lean FRO and Mathlib Initiative, Lean verification of the Riemann Hypothesis (Nov 21, 2026)
  4. Andrew Sutherland (MIT), Verification files for the Lean proof of the Riemann Hypothesis
  5. Scientific American, The AI Riemann hypothesis proof is true, independent mathematicians confirm
  6. Vibe Math Lab, A 76,000-line Lean proof of the Riemann hypothesis: what changed and what is checked (Nov 25, 2026)
  7. Clay Mathematics Institute, Millennium Prize rules
  8. Google DeepMind, Finding faster quantum algorithms with agents and formal verification (Nov 23, 2026)
  9. OpenAI, GPT-6 models demonstrate intrinsic protein-design capabilities (Nov 24, 2026)
  10. 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.

📡 Get the weekly transmission

One email a week on AI, markets and the builder stack. No spam.

Disclosure: Some links on this page are affiliate/referral links. If you sign up through them, I may earn a commission or reward at no extra cost to you. Not financial advice. Investing involves risk, including loss of principal. Full disclosure.