Skip to content

Research

Lean and Mathlib certify Alpöge’s Claude-assisted Riemann proof

Edited and reviewed by AI Ping Editorial Team

Key points

  1. Lean and Mathlib certified the formal Riemann statement and proof on November 21.
  2. Separate statement comparisons and independent checkers underpin the certification.
  3. An independent reproduction reports the same exported-proof checksum.
IntermediateDevelopersNew to AI
A long paper strip of prime numbers beside manuscript pages and a pen
AI-generated conceptual image: a long paper strip representing prime-number distribution · AI Ping

The Lean and Mathlib communities certified Levent Alpöge’s Claude-assisted formal proof of the Riemann hypothesis in a joint statement on November 21. Endorsed by the Lean FRO and Mathlib Initiative, the statement says both the theorem statement and its proof are correct. It brings together the communities’ verification findings following the author’s release.

The hypothesis concerns the accuracy of counting prime numbers. Alpöge announced the result on November 20 in a four-page note linking to a Lean archive in 14 parts. He wrote that formalization was finished, while producing a document with sufficient detail for a person to read had exceeded 250,000 pages. The release separates material that software can check from an explanation through which mathematicians can follow the argument.

The verification framework cited by the statement asks four questions: whether the formal statement means the intended mathematics, whether the code compiles, whether it proves that statement, and whether it exploits a flaw in the checker. The linked Xena Project explanation shows how altered definitions or assumptions can change what an apparently familiar formula says. Matching the conclusion to trusted definitions is a separate requirement from successful compilation. It also checks the assumptions actually used.

The community repository preserves the source and separates the comparison target from submitted code. Its procedure exports the target first in a clean environment. The solution is built and exported separately without network access; judging then consumes both files.

Separate laptops and manuscript copies arranged for comparison
AI-generated conceptual image: examining proof material against a separate comparison target · AI Ping

Five targets and independent checks

The challenge imports only Mathlib. Five targets include Mathlib’s Riemann hypothesis and an expanded version: zeta-function zeros, after specified exclusions, have real part one half. The others concern Dirichlet L-functions: nonvanishing right of one half, critical-strip zeros, and primitive characters. Empty proof slots specify what the submitted solution must justify.

The verification notes count 175,187 Lean source files and 17,374,215 lines. They distinguish a source-text scan from logical checking: some declarations use metaprogramming and rely on the kernel to establish validity. The notes also explain why compiled-file hashes can differ across build directories. Warning messages retain absolute source paths, so cross-build comparisons use the exported proof’s checksum. The scan found no principal unfinished-proof or new-axiom markers. The notes still require axiom checks and kernel replay to establish validity. Dedekind zeta and other L-functions lie outside the checked scope.

Scope of the Riemann and Dirichlet L-function targets in the challenge file
Editorial diagram: scope of the five comparison targets, not a verification verdict · AI Ping

Andrew Sutherland’s MIT report, updated at 12:55 UTC on November 21, records module replay and acceptance by independent checkers nanoda and con-leche. The five headline theorems use only three standard axioms. His own end-to-end comparison run and Lean-kernel replay of the export were still marked running at that update.

That report also tests arithmetic consequences without relying solely on the zeta-function definition. Combining the proof with a separate formalization of Robin’s and Lagarias’s criteria produces two divisor-sum inequalities. The combined export passed nanoda and con-leche checks. Those results retain reliance on the criteria and the mathematical library’s definitions.

The repository’s original 4.94 GB cache contains compiled Lean outputs and generated C, including material from untrusted pull requests and volunteer machines. It distinguishes download integrity from proof verification and calls for an independent fresh build when trust is needed.

The independent ishaan2006 reproduction project publishes corresponding evidence. Its November 21, 05:46 UTC comparison covers all 175,187 compiled files; every one of the 98,219 differing files contains a build path. A separate export result records 61,570,595,788 bytes and the same SHA-256 checksum as the published proof. It reports an export time of 89 minutes.

Sources