# Claude Riemann Proof Passes Lean Kernels, Not Human Audit

*Updated on November 25, 2026*

Anthropic mathematician Levent Alpoge set off an earthquake across mathematics and frontier AI on November 20, 2026, by publishing a four-page note claiming he and Claude had discovered and formally verified a proof of both the `167`-year-old Riemann Hypothesis and the Generalized Riemann Hypothesis (GRH) for Dirichlet L-functions. By `21:49 UTC` on November 25, five days of round-the-clock independent computer verification delivered a stunning verdict: the entire `175,187`-module, `17`-million-line Lean archive compiled with zero errors and passed every major independent proof-checking kernel on Earth.

Mainstream headlines raced immediately to two unhelpful extremes: breathless proclamations that AI had solved math's greatest mystery overnight, or reflexive dismissals comparing the announcement to unverified LLM hallucinations. Both reactions miss the genuine technical milestone that unfolded between November 20 and November 25, along with the three strict caveats separating a kernel-checked formal artifact from an accepted Clay Mathematics Institute `$1 million` Millennium Prize solution.

First, this is not a vague prose claim hiding subtle logical skips. MIT mathematician Andrew Sutherland and separate auditing teams rebuilt the `14`-part archive inside air-gapped, network-free sandboxes using pinned Lean `v4.33.1` and Mathlib `v4.33.1` toolchains, reproducing the `61.57 GB` (`61,570,595,788`-byte) export byte for byte. Axiom audits confirmed the five headline theorems depend on `1,478,243` constants across `146,437` active modules (`83.6%` of the project) and rest exclusively on Lean's three standard axioms (`propext`, `Classical.choice`, and `Quot.sound`), with zero `sorry`, `admit`, or `native_decide` shortcuts.

Second, machine certification did not end the debate; it exposed a brand-new scientific boundary. Even after `lake comparator` (Lean `v4.36.0`) completed its `122`-hour-`45`-minute single-threaded replay on November 25 printing `"Your solution is okay!"` and a shorter Lean proof landed the same day, human mathematicians still cannot read Alpoge's unreleased `250,000+`-page AI-generated explanation. Formal verification proves the logic follows cleanly from Mathlib's definitions; extracting human mathematical understanding may take years.

<a aria-hidden="true" id="executive-fast-facts"></a>  Fast Facts

- **Independent Multi-Kernel Verification Complete**: According to [MIT mathematician Andrew Sutherland's verification log](https://math.mit.edu/~drew/grh/) (updated November 25 at `22:05 UTC`) and the independent [rh-lean-check-lumi audit](https://github.com/aapolipponen/rh-lean-check-lumi), all `175,187` modules compiled with zero errors and were accepted by Lean's default kernel, Lean's paranoid kernel, `leanchecker`, `lean4lean`, `con-leche`, `con-ron`, and the Rust kernel `nanoda` (`27 min 42 s` on `80` threads).
- **122-Hour `lake comparator` Final Pass**: Running from `19:03 UTC` on November 20 through `21:49 UTC` on November 25 (`122` hours `45` minutes), `lake comparator` verified statement equivalence against the canonical challenge file (`sha256 bd484ac9...b2b9`) and matched all `8,322` Mathlib `.olean` files byte for byte.
- **Exact Scope Boundaries of the Claim**: Sutherland explicitly noted that the five verified theorems in `Main.lean` establish the Riemann Hypothesis and GRH strictly for **Dirichlet L-functions** across all moduli and characters. Dedekind zeta functions, Hecke L-functions, and general automorphic L-functions were not included in the checked statements.
- **Human Readability vs. Formal Truth**: As reported by [Science](https://www.science.org/content/article/ai-may-have-solved-math-s-greatest-mystery-can-humans-understand-answer), [The Verge](https://www.theverge.com/ai-artificial-intelligence/1010051/anthropic-riemann-hypothesis-millennium-prize-problem), and [HPCwire](https://www.hpcwire.com/2026/11/24/after-167-years-ai-may-have-cracked-mathematics-greatest-mystery/), Alpoge's companion prose proof exceeds `250,000` pages, prompting NYU's Maksym Radziwill to warn that math's goal is understanding why theorems hold, while Carnegie Mellon's Simon DeDeo likened inspecting the `17M`-line archive to studying `"an alien spaceship."`
- **Millennium Prize Rules and Human Rival**: Clay Mathematics Institute president Martin Bridson emphasized that the Riemann Hypothesis remains officially unsolved until a published proof survives at least `2` years of global mathematical scrutiny. Alpoge's announcement also forced Rome mathematician Alessandro Masullo and Stanford's Brian Conrad to release an unfinished `940`-page non-AI manuscript early after `12` years of work.

## What Multi-Kernel Verification Establishes vs. What Remains Open

For AI engineers building formal-verification loops for software, cryptography, or hardware design, the Alpoge/Claude audit provides the cleanest real-world blueprint ever published for auditing untrusted machine-generated formal proofs.

| Verification Layer | Status as of Nov. 25, 2026 | Concrete Evidence | Residual Trust / Open Gap |
|---|---|---|---|
| **Compilation &amp; Determinism** | Verified (`175,187/175,187`) | Air-gapped `lake build Main` matched `61.57 GB` export byte for byte | Lean files can run arbitrary build-time code; sandboxing is mandatory |
| **Axiom &amp; Shortcut Purity** | Verified (`0` cheats) | Only `propext`, `Classical.choice`, `Quot.sound`; zero `sorry`/`admit` | Still trusts `15` core axioms inside Lean `Init` |
| **Independent Kernel Replay** | Verified (`7+` kernels) | Accepted by Lean paranoid, `nanoda`, `con-leche`, `con-ron`, `lean4lean` | Eliminates single-kernel compiler bugs, not human definition errors |
| **Statement Equivalence** | Verified (`lake comparator`) | Matched Mathlib `riemannZeta` &amp; `DirichletCharacter.LFunction` (`122h 45m`) | Humans must still audit Mathlib's definitions and `src/Statements.lean` |
| **Human Insight &amp; Clay Prize** | Unresolved (`2`-year clock) | `250,000+` page prose withheld; shorter Lean proof posted Nov. 25 | Requires peer-reviewed human comprehension and global math consensus |

That distinction between *kernel acceptance* and *specification trust* is the single most valuable engineering lesson in the entire saga. When an LLM generates `17` million lines of proof code, running a single compiler check is never sufficient: malicious or buggy build scripts can execute arbitrary code during compilation, and subtle tweaks to a theorem's statement definition can prove a trivially true cousin of the real problem. Sutherland and independent auditors mitigated both hazards by compiling in network-isolated sandboxes, checking byte-for-byte hashes against official Mathlib `.olean` caches, running `lake comparator` against an independently authored challenge file, and replaying the exported proof terms through multiple kernels written in different programming languages (`C++`, `Rust`, `Lean`).

Anthropic itself has stayed formally silent on Alpoge's personal release (which also included advances on Euler and Navier-Stokes equations), even though the company disclosed in August 2026 that it had explored Riemann Hypothesis tooling with Claude while cautioning those earlier methods would not yield a proof. Neither Alpoge nor Anthropic disclosed the total GPU-hours or inference tokens consumed to synthesize `175,187` modules, leaving compute economics an open question for scientific labs weighing formal AI theorem proving.

## Applying Formal-Proof Sandboxing to AI-Generated Code Verification

Software and security engineering teams adopting AI-assisted formal verification (`Lean 4`, `Coq`, `TLA+`, or `Kani`) for cryptographic protocols or smart contracts can mirror the exact four-gate verification pipeline mathematicians used on Alpoge's archive:

```
# 1. Static ban on proof escapes before invoking any compiler
grep -rnE "\b(sorry|admit|axiom|native_decide)\b" src/ && exit 1

# 2. Build inside a network-isolated, read-only source sandbox
docker run --rm --network=none --read-only -v "$PWD/src:/work/src:ro" lean-audit:v4.33.1 lake build Main

# 3. Replay exported proof terms through a second independent kernel + statement comparator
nanoda --threads 80 export.out && lake comparator challenge.out export.out
```

Treating AI-generated formal artifacts as untrusted code until they survive sandboxed compilation, axiom auditing, and independent kernel comparison closes the exact reward-hacking holes that derail naive LLM verification benchmarks.

  Next Steps

1. **Follow Human Distillation of the Nov. 25 Shorter Lean Proof**: Watch Andrew Sutherland's follow-up verification page and Lean Zulip threads as number theorists audit whether the newly released shorter proof yields human-readable lemmas.
2. **Audit Specification Files Before Trusting Any AI Formal Proof**: Whenever deploying LLMs to formally verify compilers, smart contracts, or consensus protocols, lock the target theorem definitions inside an immutable challenge file checked by an independent comparator.
3. **Budget Dedicated Compute for Formal-Verification Replay**: As `122`-hour single-threaded comparator runs and `61.57 GB` proof exports show, verifying machine-scale proofs demands serious CPU/RAM infrastructure alongside inference GPUs.