← Home

Alpöge/Claude proof of the Generalized Riemann Hypothesis

On 20 November 2026 Levent Alpöge announced a proof, found with Anthropic's Claude, of the Riemann Hypothesis and of the Generalized Riemann Hypothesis for Dirichlet L-functions. The proof was released as a formal proof in the Lean proof assistant: 175,187 files, about 17 million lines. This page links to my own check of that Lean proof and to checks made by others.
— Michael Rubinstein

The proof explained for the Riemann zeta function

The Alpöge–Claude proof of the Riemann hypothesis explained for the Riemann zeta function (PDF, 265 pages; version 2, working draft, 22 November 2026; LaTeX source)

A working guide to the proof, specialised to the Riemann zeta function, written with Claude, Codex and Gemini as an aid to studying it. It aims at a human-readable account in the style of classical analytic number theory. It deduces the Riemann hypothesis from the main inequality (M), an upper bound for a weighted sum over prime powers, and two estimates for Dirichlet characters, which it proves, for suitably chosen auxiliary primes, from theorems in the literature. (M) itself is not proved there: the paper reduces it, and with it the Riemann hypothesis, to thirteen numbered hypotheses stated in classical terms, none of which is proved outright, and says which inputs it takes from the Lean development. Section I.12 lists what remains to be written up. It is a work in progress.

Version 2 adds the objects of the construction, the reduction of (M) to numbered hypotheses, the simplest case (the lemniscate) worked in full, and a census of the published results the Lean development uses.

Earlier version available here: v1 (PDF, 164 pages, 21 November 2026; LaTeX source).

Lean verification

mrubinst.github.io/grh-lean-verification

That page records a check of the Lean proof run with Claude Code on University of Waterloo compute servers, starting from the archive Alpöge published. It shows the five theorems exactly as they are stated in Lean, with an explanation of why they say what RH and GRH for Dirichlet L-functions say, and a scan of all the source files for anything that could introduce an unproved assumption. It then reports each machine check with its status and output: a full compile of all 175,187 modules, the list of axioms the theorems depend on, a replay of every module through Lean's kernel, and a check by a second, independently written kernel (nanoda).

Result (21 November 2026). All four checks finished with no errors. All 175,187 modules compile. The five theorems depend only on Lean's three standard axioms. A replay of every module through Lean's kernel accepted all 175,187. The independent kernel nanoda checked the 1,484,729 declarations that the theorems depend on, with no typechecker errors.

The page also describes how the checks were run, and the repository contains the scripts, so that anyone can repeat them. A dated log records each step, including the problems met along the way.

The shortened proof (25 November 2026)

mrubinst.github.io/grh-lean-compact-check

On 25 November Luke Sernau, with colleagues at Anthropic and Claude, posted a much shorter Lean proof of the same five theorems (lsernau/grh-lean), a rewriting of the Alpöge–Claude development in about 76,000 lines (compact edition) or 300,000 lines (readable edition). Its theorem statements are identical to those of the original. That page tracks our own check of the compact edition: a full compile, the axioms of the five theorems, a replay of every module through Lean's kernel, and lake comparator --paranoid, which compares the five statements with the challenge file and runs Lean's kernel and the five independent checkers shipped with Lean. Result (26 November 2026). All checks passed. All 794 modules compile; the five theorems depend only on Lean's three standard axioms; a replay of every module through Lean's kernel accepted all 794; and lake comparator --paranoid confirmed that the five theorems prove exactly the statements of the challenge file and was accepted by all six kernels (Lean's default and paranoid kernels, nanoda, lean4lean, con-leche and con-ron), reporting “Your solution is okay!” after five hours. Our cluster does not allow Comparator's sandbox, so this run was made without it; Andrew Sutherland's sandboxed runs reached the same verdict.

Verifications by others