Riemann Hypothesis proved through independent verification

📅 2026-11-29

Abstract:

Just now, the 76,000-line Lean formal proof of the Riemann Hypothesis passed independent verification by researchers from MIT and the University of Waterloo! Yes, it’s the streamlined version from the past two days. This time, two groups of researchers each downloaded the same code, compiled it from scratch, and then checked which theorems it proved and which axioms it relied on.

At the University of Waterloo,

all 794 modules were successfully compiled and submitted to the Lean kernel for review one by one, with zero rejections.


At MIT, researchers ran the complete process on two machines.

After running twice, the same sentence appeared on the screen:

“Your solution is okay!”


How did these 76,000 lines pass independent verification?

Researcher at MIT Department of Mathematics

Andrew Sutherland

I pulled the simplified version of the source code on the two machines and compiled it in an isolated environment that was disconnected from the Internet.

The two machines each exported a certificate file of about 5.17GB, and the results were consistent byte by byte.


Michael Rubinstein's team at the University of Waterloo rebuilt all 794 modules from source code on their own servers.

So, what does the code prove?

Take the Riemann Hypothesis as an example. The question requires that the real parts of all non-trivial zero points of the Riemann zeta function are equal to 1/2.

The verification tool Comparator will compare the propositions proved by the code with the separately listed questions one by one.

All five theorems match, including the classic Riemann hypothesis and its generalization of the Dirichlet L function.

The inspection also confirmed that these five theorems rely only on Lean's three standard axioms.

After facing the problem, you still need to check whether each step of the proof can be deduced from the previous propositions and inference rules.

Both groups ran the strict mode of Comparator, and submitted the exported proofs to the Lean default kernel, the Lean strict version kernel, and nanoda, lean4lean, con-leche, and con-ron for review.

In the end, all six inspections passed.


Both groups used Claude Code to assist in the verification process, and tools such as Lean kernel were responsible for checking whether there were any skips in mathematical derivation.

Sutherland also used this simplified version of the proof to introduce a classic conclusion in Lean:

Schoenfeld error bound

.

It answers the question of how big the error can be when estimating the distribution of prime numbers using a formula - this bound was given by the mathematician Schoenfeld in 1976.

Sutherland first checked the relationship between the two in Lean: the Riemann Hypothesis and this error bound can be derived from each other.

In this way, with a verified proof of the Riemann Hypothesis, Lean can follow this derivation to check whether the error bound is established.


This additional verification involves 206,292 formal declarations and takes approximately 2 hours and 26 minutes end-to-end.

From the original version to the streamlined version, what step has the verification taken so far?

On November 20, the original version was released.

Mathematician Levent Alpöge announced the Lean proof completed in collaboration with Claude. The original version is about 17.37 million yuan and contains 175,187 modules.

Subsequently, researchers from MIT and the University of Waterloo began compiling and checking respectively.

On November 21, Lean FRO and Mathlib Initiative issued a joint statement.


Based on code compilation, question comparison and multiple checker reviews, the two parties confirmed the formal statement and proof of the classic Riemann Hypothesis in the original version.

Afterwards, MIT completed another round of Comparator checks using standard questions on the original version, and all five theorems matched.

In the early morning of November 26th, Beijing time, the streamlined version was released.

Anthropic Researcher

Luke Sernau

Together with colleagues and Claude, we rewrote the proof and released a readable version of about 300,000 lines and a condensed version of about 76,000 lines.


That morning, MIT ran the complete check of the streamlined version on two machines. In the afternoon, the University of Waterloo also completed its own verification.

At the same time,

Michael Rubinstein, a mathematics professor at the University of Waterloo who participated in the independent verification,

, and also compiled the main ideas of this Lean proof into a 45-page reading guide.


Currently, Rubinstein has sorted out the main line of proof and explained how to derive the Riemann Hypothesis from three intermediate results.

As for how to prove each of these three results, the guide currently provides ideas, but the complete derivation requires translating the Lean code.


However, as of now, the official website of the Clay Mathematics Institute still labels the Riemann Hypothesis as

“Active”

.


Now that the simplified version has been independently verified by two groups, mathematicians have begun to write the derivation in the code into arguments that can be read by peers.

We are getting closer and closer to the Riemann Hypothesis being completely proven...

Related tags

Related articles

Comments

0/500
Captcha (click to refresh)
No comments yet