· via dev.to (home feed)
Machine-checked Lean verification signs off on AI-assisted Riemann Hypothesis proof
A 17-million-line Lean formalization of the Riemann Hypothesis, described as Claude-assisted, has passed independent kernel checks, though the certificate covers the artifact, not its readability or a sandboxed rebuild.

What was announced
According to a dev.to write-up summarizing posts from the Chinese AI channel @aigc1024, the Lean and Mathlib communities issued a joint statement on November 21 confirming that a Lean library authored by Levent Alpöge states and proves the Riemann Hypothesis. The formalization is reported to be AI-assisted, built with Claude, and it is staggering in scale: roughly 17 million lines of code across 175,187 modules, compiled against Mathlib 4.33.1. The news reached the Chinese-language AI channels on November 23, where it immediately triggered both celebration and scrutiny.
It is worth noting that this account rests on a single secondary report relaying channel posts, and the details below are drawn from that source.
How the verification ran
The dev.to summary describes four distinct checks. First, that the definitions used in the formalization are correct. Second, that the code actually compiles. Third, that the theorem being proved is the standard Riemann Hypothesis rather than a swapped or weakened definition — a classic trap in formalization work, where a subtly restated conjecture can be proven trivially. Fourth, that the compiled export passes through independent proof kernels: lean4lean, the Rust-based kernel Nanoda, and con-leche.
An axiom audit reportedly found only three entries: propext, Classical.choice and Quot.sound. These are the standard, well-understood axioms of Lean's logical foundation, meaning nothing exotic was smuggled in behind the proof.
What the certificate does not settle
The source is careful about limits, and they matter. Verification covers the formal artifact, not the readability of the mathematics. Alpöge is reported as saying the argument is enormous and that simplifying it is the open problem — a kernel can confirm every step of a proof that no human can reasonably digest.
The scope is also narrower than a full resolution of everything the phrase suggests. Per the report, the submission covers the generalized Riemann Hypothesis for Dirichlet L-functions but not for Dedekind or Hecke L-functions.
Finally, there is a reproducibility gap: the build reportedly ran on an unsandboxed cloud machine, and the export hashes have not yet been compared against a clean rebuild in a sandboxed environment. Until that happens, the certification rests on trust in the original build environment.
The community pushback
The same channels that relayed the announcement spent much of the day mocking the announcement culture around it. According to the dev.to summary, one post lists seven parallels between AI marketing and a cult: display miracles, recite an unfalsifiable creed, encourage believers to pile on, ridicule skeptics, and eventually fracture into competing sects. Another post jokes that since Claude apparently beat humanity to Riemann, people should stop asking what AI can do for them and start asking what they can do for AI.
The tone captures the moment: genuine landmark, surrounded by a fog of promotion that makes careful reading harder, not easier.
Why it matters
If the certification holds up under an independent sandboxed rebuild, this is a structural shift in how mathematics can be trusted. A proof kernel is not persuaded by reputation, narrative or hype — it either accepts the derivation or rejects it. Moving the Riemann Hypothesis, one of the most famous open problems in mathematics, into the realm of machine-checkable artifacts changes the question from "is this argument convincing?" to "does it compile, and does the statement match the conjecture?"
The AI angle is what makes it a landmark rather than just a large formalization. A Claude-assisted proof of this scale suggests AI systems can now contribute at the frontier of research mathematics, not merely to exercises or competition problems. The verified-versus-understood gap Alpöge flags will define the next phase of work: an enormous, machine-checked argument still needs to be compressed into something human mathematicians can absorb, extend and build on.
The skeptic's checklist from the channels — definitions, compilation, statement fidelity, independent kernels, axioms, sandboxed reproduction — is a reasonable template for evaluating any future claim of this kind. Hype is cheap; a kernel that rejects a wrong proof is not.
- #lean
- #riemann-hypothesis
- #formal-verification
- #ai-mathematics
- #mathlib