Research

Lean Communities Certify 17-Million-Line Riemann Hypothesis Proof

Lean and Mathlib communities certified Alpöge's 17-million-line Claude-assisted Riemann Hypothesis proof on Nov 21, 2026, after independent kernel checks — but nobody understands it yet.

Lean and Mathlib Communities Certify Claude-Assisted Riemann Proof
Lean and Mathlib Communities Certify Claude-Assisted Riemann ProofPexels / pixabay
By Sophie Lindqvist6 min read

Why it matters

  • Lean and Mathlib communities certified Alpöge's 17-million-line Riemann Hypothesis proof on November 21, 2026.
  • All 175,187 modules compiled with zero errors using Lean and Mathlib version 4.33.1, per Andrew Sutherland's MIT verification record.
  • An axiom audit found the five headline theorems depend only on propext, Classical.choice, and Quot.sound.
  • Alpöge announced the Claude-assisted proof on November 20, 2026; he says Claude contributed to discovery, not just formalization.
  • The submission also verifies Generalized Riemann Hypothesis statements for Dirichlet L-functions across all moduli and characters.

The Lean and Mathlib communities certified on November 21, 2026 that Levent Alpöge's 17-million-line Lean library correctly states and proves the Riemann Hypothesis, after a day of compilation runs, statement-matching, and proof-kernel checks. Their joint statement carries the endorsement of the Lean FRO and the Mathlib Initiative. If it holds up under continued scrutiny, the certification settles one of the two big questions hanging over last week's announcement — and leaves the other, the question of human understanding, wide open.

Alpöge announced the result on November 20, 2026, saying he had discovered and formalized the proof while working with Claude. The release contained only the Lean formalization. In his telling, a conventional mathematical write-up at this stage would be a huge, unreadable document, and he planned to understand, simplify, and explain the mathematics properly first.

The stakes here are unusual for an AI story. The Riemann Hypothesis is a Millennium Prize Problem, and formal proof systems like Lean offer something human refereeing can't: a mechanical guarantee that every logical step checks out. The catch is that a verified proof and an understood proof are not the same thing, and this episode separates those two ideas more sharply than anything before it.

What exactly was certified?

The certification covers the formal artifact, not its interpretation. The codebase depends directly only on Mathlib, the community's library of formalized mathematics, and the statement being proved was already part of Mathlib and had been vetted by experts in Lean and number theory. That matters, because a common failure mode in formalization is proving a statement that doesn't actually express the intended claim.

Dozens of people reported compiling the library without errors or build failures and reproducing the same raw proof export. That distributed reproduction is the community's version of an independent replication.

To nail down the theorem's identity, a community-added challenge file isolated the Riemann Hypothesis statement and imported only Mathlib. Comparator and con-leche's comparison mode independently confirmed that Alpöge's theorem matched that statement exactly. The takeaway in plain words: the theorem in the library really is the Riemann Hypothesis as experts define it, not a near-miss.

How do you trust the checkers themselves?

The raw proof export was checked with Lean's official kernel, con-leche, con-ron, and additional third-party checkers written in different programming languages. Those checks ran on an inert export — a frozen artifact beyond the reach of hypothetical malicious code hiding in the Lean sources.

There's a deeper layer too. Con-leche and con-ron have formal proofs, relative to set theory, that they cannot accept a false proof. That addresses the worry that a flaw in Lean's underlying logic could be exploited to certify something false. In short, multiple independent programs, built on different foundations, all agree the proof is valid.

Andrew Sutherland's MIT verification record, last updated at 12:55 UTC on November 21, 2026, gives the concrete numbers. All 175,187 modules compiled with zero errors using Lean and Mathlib version 4.33.1. Sutherland ran his checks with Claude Code — an AI tool helping verify an AI-assisted proof.

An axiom audit found that the five headline theorems depended only on propext, Classical.choice, and Quot.sound, with no axioms declared outside Lean core. Those three are the standard logical foundations of Lean, so nothing exotic snuck in through the back door.

What's still unfinished?

At the cutoff of Sutherland's page, some work remained in progress: the Lean default and paranoid kernel checks on the export, and the full lake comparator run. Older bundled con-leche and con-ron binaries exited without a verdict — not because they rejected the proof, but because they didn't support one reflexive inductive type used in it.

Sutherland also disclosed two honest caveats. The build ran on unsandboxed cloud machines, and its export hash had not been compared with one from a sandboxed lake build. And a passing result still relies on the kernels used and on Mathlib's definitions representing their intended mathematics — the formalization can only be as faithful as the definitions it stands on.

So the picture is: strong verification, with a few boxes still being ticked.

What does the theorem actually say?

The central theorem uses Mathlib's formal definition: every zero of the Riemann zeta function other than the trivial zeros at negative even integers must have real part one-half. A separate condition, s ≠ 1, appears because Mathlib assigns the zeta function a conventional value at its pole — a technical artifact of the formalization, not a mathematical subtlety.

The submission goes further than the headline claim. It also verifies Generalized Riemann Hypothesis statements for Dirichlet L-functions across all moduli and characters. Sutherland expressly excludes Dedekind zeta functions, Hecke L-functions, and general automorphic L-functions from the checked scope — so this is a broad but bounded result, not a catch-all.

What was Claude's role?

This is where the story gets contested. Alpöge's account assigns Claude a role in discovery as well as formalization. He says he guided the work from a toy setting into an analogous target situation — and that Claude then outpaced him near the finish.

One concrete example: Claude suggested that a von Mangoldt sum of length X should use a chain of theta lifts of length X. Alpöge highlights that technical choice in his explanation of the argument, which suggests the model made a real mathematical contribution, not just translation labor.

But the framing matters. Both human and model formalized the arguments without extra assumptions, under Alpöge's human guidance throughout. The certification concerns the formal artifact; Alpöge's account supplies the basis for describing Claude's role, rather than demonstrating an autonomous solution. Anyone reading this as "AI solved the Riemann Hypothesis" is ahead of what the record shows.

Why understanding is still the open problem

Alpöge describes the current argument as extremely long and expects substantial simplification. He is still working to understand and explain it — a striking admission from the person who formally proved it.

That's the structural novelty here. The certification resolves the formal-checking question without resolving the explanatory one. A 17-million-line library can be mechanically correct and still opaque to the mathematicians who might build on it.

Whether the proof's new ideas can be simplified and absorbed by mathematicians remains the central open question around the verified Lean library. Until they are, the community has a certificate of correctness — and a mystery about what the argument really says.

Source: unite.ai

Share this article:

More from Sophie Lindqvist

Sophie Lindqvist

Show full bio

Staff writer covering regulation, policy and their impact on artificial intelligence and machine learning at AI In Context.

910 articles

Related articles

  1. Lean and Mathlib confirm Levent Alpöge’s Riemann hypothesis proof
  2. Anthropic Claims Claude Proved the Riemann Hypothesis — Stanford Counters Hours Later
  3. Alpöge’s Riemann proof claim arrives in Lean without independent review
  4. Axiom Math Verifies 15,000-Page 'Enormous Theorem' With AI
  5. OpenAI says AI models refuted the Exponential Time Hypothesis

« Previous articleNext article »