Skip to content

Levent Alpöge and the Riemann Hypothesis: What Lean Verified

Spread the love

Levent Alpöge released his Claude-assisted proof of the Riemann hypothesis on November 20, 2026. The release consisted of a short note and a Lean library of about 17 million lines. The next day, the Lean Focused Research Organization and the Mathlib Initiative reported that they had verified both the formal statement and its proof. Read Alpöge’s announcement and the joint verification statement.

That sequence gives us a way to understand what happened without counting lines of code or guessing how much of the work belonged to the AI. Three questions matter. Does the formal statement express the famous conjecture? Does the proof establish that statement? Which ideas in the argument are worth learning and using somewhere else? Independent checks have answered the first two. Researchers are already working on the third.

What the Riemann hypothesis says about primes

Let π(x) count the primes up to x. For example, π(10) is four, because the primes up to 10 are 2, 3, 5 and 7. The prime number theorem describes how this count grows on average. The Riemann hypothesis constrains how far the actual count can wander from a more precise approximation called the logarithmic integral.

Riemann approached the counting problem through the zeta function. For complex numbers s whose real part exceeds 1, the function can be defined by a series: add 1, then 1/2s, then 1/3s, and so on. In that region it can also be written as a product with one factor for each prime. The product is the connection: a function expressed as a sum over whole numbers can also encode their prime factors.

Mathematicians extend the function beyond the region where that series converges. Riemann’s hypothesis says that every nontrivial zero of the extended function has real part ½. On a plot of complex numbers, those zeros all lie on the same vertical line. Their locations matter because the zeros contribute to formulas that describe fluctuations in prime counts. Knowing where they lie puts bounds on the size of those fluctuations. Individual prime gaps can still vary widely. See the Clay Mathematics Institute’s problem description.

What Alpöge brought to the collaboration

Alpöge studied mathematics at Harvard, completed a doctorate at Princeton with Manjul Bhargava and won the 2015 Morgan Prize for undergraduate research. His Harvard thesis concerned integral points on elliptic curves, a topic in number theory where algebra and arithmetic meet. In his announcement, Alpöge writes that he had wanted to work on Riemann’s problem since his student days. Alpöge’s academic CV and the Morgan Prize records document that background.

His account gives one glimpse of how the collaboration worked. He describes starting with two ideas that could be combined in a simpler setting and looking for an analogous situation where they might apply to the harder problem. Near the end, Claude suggested how far to repeat a certain mathematical construction. Alpöge highlights that choice as one of the moments when the model moved ahead of him. He also says that, at release, he was still working to understand parts of the mathematics surrounding the argument. See Alpöge’s account of the discovery.

What the Lean checks established

Lean is a proof assistant. Its kernel checks that a formal proof follows the rules of its logic. A proof may use lemmas, which are smaller statements established along the way, and results already available in a library. Each dependency matters because a conclusion is only as strong as the premises and results used to reach it.

Think of a rule in software that must apply to every valid input. You can run millions of tests and gain confidence, but there may still be a valid input that never appeared in a test. A formal proof addresses the universal claim by giving an argument that applies to every input covered by the statement. The challenge is to express what counts as a valid input and what property the program must satisfy with enough precision that the proof answers the intended question.

The same distinction mattered here. Researchers compared the theorem in Alpöge’s library with the established definition of the Riemann hypothesis in Mathlib, Lean’s mathematics library. They then checked an export of the proof in multiple implementations. Andrew Sutherland’s verification record reports that Lean’s kernel replay accepted all 175,187 modules, and the independent checker nanoda accepted the full proof export. A separate team at the University of Waterloo also reports a successful build and verification. MIT verification record and University of Waterloo verification and exposition.

The verified scope includes the classical Riemann hypothesis and the generalized version for Dirichlet L-functions. Those functions are linked to the distribution of primes in arithmetic progressions. Think of the sequence 1, 5, 9, 13, 17 and so on: every term leaves remainder 1 when divided by 4. Number theorists want to know how primes are distributed among such sequences and how accurate the estimates are. Sutherland’s report specifies which generalizations were checked. See the five verified statements.

Why a readable proof is the next step

Imagine trying to teach someone this result. A useful explanation would identify the decisive idea, say why earlier approaches ran into trouble and show where the new argument gets past that difficulty. Even a fully checked dependency tree leaves those editorial and mathematical choices to the person writing the explanation. At Waterloo, Michael Rubinstein is already publishing versions of a guide that distills the argument and works through a simpler case. Read Rubinstein’s guide.

The Clay Millennium Prize follows its own process. Before considering a proposed solution, Clay’s published rules require publication in a qualifying outlet, a wait of at least two years from publication and general acceptance in the worldwide mathematics community. Independent proof checking is evidence about the mathematical result. A prize decision depends on those separate rules. Read the Millennium Prize rules.

For future AI-assisted mathematics, this suggests a practical way to publish complex work: release an exact theorem statement and a proof others can reproduce, then explain the small number of ideas a reader needs to carry into the next problem. A computer can check the proof in detail. A good exposition helps researchers decide which tools might work again and where to try them first. For an earlier example on InsightArea, see what OpenAI’s 372 AI math results actually established.


Published inNews

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *