Skip to content

Blog

Claude proves the Riemann hypothesis

4 min read

The Riemann hypothesis states that all nontrivial zeros have real part 1/2.
The Riemann hypothesis states that all nontrivial zeros have real part 1/2.

There are 25 primes below 100. There are 168 below 1,000. When the numbers get much larger and counting them one by one becomes hard, can we calculate roughly how many primes there are? Approximately, yes. The harder part is working out how far that estimate can be from the actual count.

On November 20 in the US, Levent Alpöge, a mathematician at Anthropic, said he had proved the Riemann hypothesis together with Claude in an announcement. What he released was a four-page explanation and a Lean proof split into 14 files. He did not say which exact Claude model version he used. The next day, November 21, at 13:55 UTC (10:55 p.m. in Korea), the Lean and Mathlib communities said in a joint statement that they had confirmed both the statement and the proof of the Riemann hypothesis.

Primes are irregular, but their total count can be estimated.

The numbers 101 and 103 are neighboring odd numbers, and both are prime. By contrast, there are no primes at all from 114 to 126. Up close, the gaps between primes vary widely. But over a large range, you can estimate roughly how many primes there will be.

The Riemann hypothesis, if it holds, lets us set a tighter bound on how far that estimate can miss. It is not a formula that pinpoints where the next prime will appear. It is about how much you can trust the answer when you estimate the number of primes over a very large range.

The verification team wrote down the problem first, without the submitted code.

Lean checks that each step of a proof follows logically from facts already established. But a correct solution to a different problem is not an answer to the original one. Without importing the submitted files, the verification team separately wrote out the statement to be checked, using only Mathlib, the standard math library. The ordinary Riemann hypothesis was already defined in Mathlib.

The early GitHub check only confirmed that the received files matched the public originals and that Lean could read the separately written problem. The joint statement later said that two tools, Comparator and con-leche, were used to check whether the submission proved exactly that Mathlib statement. Finding the file that contains the answer and confirming that the answer actually solves the problem are separate checks.

The released proof code also passed other checkers.

Andrew Sutherland's MIT verification log shows that all 175,187 modules built with Lean v4.33.1 and Mathlib v4.33.1. The separately written checkers nanoda and con-leche accepted the entire released proof code. In the public log, con-leche's comparison of five separately written target statements against the submission also passed. The module count reflects the scale of the work. It is not a score for how correct the proof is.

Confirming the original files, matching the target statements and rechecking the proof are separate checks (Source).
Confirming the original files, matching the target statements and rechecking the proof are separate checks (Source).

Those five statements include two formulations of the ordinary Riemann hypothesis and statements related to Dirichlet L-functions. This does not mean that broader classes of L-functions were checked. The explicit conclusion of the joint statement is the ordinary Riemann hypothesis. According to MIT's log from 1:35 p.m. Korea time on November 22, a separate tool, con-ron, also confirmed that the five target statements matched, and the Lean kernel rechecked all 175,187 modules. The MIT team's full Comparator run was still in progress at that point.

This time, the claim is a new proof, not a translation of an existing one.

The Fermat's Last Theorem experiment run with Claude Fable 5.2 took what people had already proved and translated it into Lean. This time, Alpöge explained, he set the direction of the approach, and later in the work Claude proposed a way to connect an operation called the theta lift. The joint statement verified the result. It did not measure how much the human and the AI each contributed during the research.

The four pages Alpöge released describe that process. They are not the same as a proof paper written so that mathematicians can read it and follow why the method worked. The verification team confirmed that the Riemann hypothesis as we know it was proved in those exact files. Which of the ideas used there can be carried over to other problems is now for people to explain.

Alpöge's original announcement