# Claude and the Riemann Hypothesis: verified in a day

> Levent Alpöge's Riemann Hypothesis proof with Claude is 17 million lines of Lean and was verified in a day. Why that worked applies to any company.

- URL: https://www.iqsource.ai/en/blog/claude-riemann-hypothesis-alpoge-lean-verification/
- Published: 2026-11-28
- Author: Ricardo Argüello, IQ Source

Seventeen million lines. That's the size of the Lean library Levent Alpöge released on November 20 as a proof of the Riemann Hypothesis, made working with Claude. The next day it was certified correct.

No human read it. Nobody could, in a day or in a year. I keep coming back to how the verification still worked, because the same method applies to how you accept work from AI agents.

## Twenty-four hours

Alpöge's [note](https://alpo.ge/remark.pdf) is short and candid. He believes he found the proof with Claude, says the method also settles the Generalized Riemann Hypothesis, and admits he is presenting it "before having mastered a massive neighbourhood around its mathematics." So he released only the Lean code, in 14 archive parts.

On November 21 the Lean FRO and the Mathlib Initiative put out [a joint statement](https://leanprover-community.github.io/blog/posts/riemann-hypothesis/) certifying both the statement and the proof. Their reasoning fits in four lines. The Riemann Hypothesis statement was already part of Mathlib, Lean's math library, vetted by experts in Lean and number theory. The library compiles. Two independent tools confirmed Alpöge's theorem is exactly that Mathlib statement. And several proof checkers, written by different teams in different languages, accepted the proof.

Those criteria predate the proof. They come from [a November 12 post](https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/) that says, roughly, if your Lean code is AI-generated, test it before you believe it.

MIT's Andrew Sutherland published [his full check log](https://math.mit.edu/~drew/grh/), run with Claude Code. 175,187 modules. He rebuilt everything on a separate machine with no network and read-only source, and got a byte-identical export of 61,570,595,788 bytes. Lean's official kernel took 48 hours on a single thread to accept it; the paranoid kernel, 72. An independent Rust kernel did it in 28 minutes on 80 threads.

There was a warm-up. In August, [Anthropic reported](https://www.anthropic.com/research/riemann-zeta) that a research version of Claude pushed a bound on zeta zeros from 41.6% to 67.2%, and said clearly it was not a proof. Three months later, the whole thing.

## Correct, and not yet understood

Sutherland closes his page with a sentence worth taping above every engineering team's desk. A passing check shows the formal statements follow from the standard axioms according to the kernels used, and it relies on those kernels and on Mathlib's definitions being what they are intended to be.

And nobody understands the proof yet. Alpöge says so himself. Youness Lamzouri told [IBM](https://www.ibm.com/think/news/anthropic-claude-riemann-hypothesis-math-proof) that understanding it could take months or years. The Clay Institute still wants a refereed journal and two years of scrutiny before paying its million, per [AFP via phys.org](https://phys.org/news/2026-11-anthropic-claude-math-greatest-riddle.html).

Verified and opaque, at the same time.

## What to copy

Swap theorems for software and you already have this problem at small scale. An agent writes more code in an afternoon than your team reads in a week. Here's what the Lean community did that you can steal.

The acceptance criterion existed before the work. The Riemann statement was written and reviewed by people who had no idea who would prove it or how. In a software project that's your test cases, signed before the agent writes a line. I made the case for that with [Ode's client-signed test cases](/en/blog/anthropic-ode-test-cases-define-done/).

Nobody trusted a single checker. Different teams, different implementations, same verdict. For you, that means the agent that writes the code doesn't also write the tests that approve it.

The checks ran out of reach of the thing being checked, on an inert export, away from any malicious code in the source. Your equivalent is an isolated test environment with no production credentials in it.

Then there's understanding. If nobody on your team understands a module that passed every test, the day it has to change, you depend on the agent to change it. I've argued [review is the new bottleneck](/en/blog/review-is-the-new-bottleneck/). Alpöge's proof adds a second one. Someone also has to understand.

## Where IQ Source fits

On the agent projects we build, acceptance criteria are written with the client and signed before construction, and the tests that decide whether something is done are not written by the same agent that writes the code. That's what makes it safe to accept a lot of work without reading every line.

If you're running an agent pilot and can't say what it's being measured against, [talk to us](/en/contact/). We start by writing that statement.

## Frequently asked questions

### Did Levent Alpöge and Claude prove the Riemann Hypothesis?

Anthropic mathematician Levent Alpöge released a proof of the Riemann Hypothesis made with Claude on November 20, 2026, written in Lean. On November 21 the Lean FRO and the Mathlib Initiative certified that both the statement and the proof are correct. The Clay Mathematics Institute also requires journal publication and two years of scrutiny.

### How was the Riemann Hypothesis proof verified in Lean?

The Lean community compared Alpöge's theorem against the Riemann Hypothesis statement already in Mathlib, using two independent tools. Several proof checkers, including Lean's kernel, nanoda, con-leche and con-ron, then accepted the exported proof. The checks ran on an inert export, isolated from the source code.

### What did Claude prove about Riemann zeta zeros in August 2026?

Anthropic reported on August 10, 2026 that a research version of Claude raised a lower bound on the share of Riemann zeta zeros satisfying the Riemann Hypothesis from 41.6% to 67.2%. Two Anthropic mathematicians validated that work, and Anthropic said it did not prove the hypothesis.

### How should a company verify AI agent output that is too large to read?

When an AI agent produces more code than a team can read, write and review the acceptance criteria before it starts, have someone other than the producer vet them, and check the result with independent, isolated tools. That is how Alpöge's Riemann Hypothesis proof was verified in a day.
