AI Cracks the Riemann Hypothesis? 17 Million Lines of Code Send Shockwaves Through Mathematics

AI-assisted formal proof claims to crack the Riemann Hypothesis — machines verify it, but human understanding lags behind.
In November 2026, Anthropic mathematician Levent Alpujar and an unreleased version of Claude collaborated for 41 days to produce 17 million lines of formalized code, claiming to prove the Riemann Hypothesis and its generalized form. Five core theorems passed verification within 24 hours via Lean FRO, Mathlib, and independent C#/Rust/Java kernels, confirming zero hidden axioms. The original proof was compressed by 99.5% over two rounds of refactoring to a 300,000-line readable version plus a 76,000-line Lean core, verifiable on an ordinary workstation in two hours. Yet the million-dollar Clay Prize remains unclaimed, requiring two years of peer review and scholarly consensus; over 122,000 lines of novel reasoning still await translation into human-readable narrative. Terence Tao affirmed the machine's capabilities but stressed that understanding lags, while critics note this is an expert-guided tool, not autonomous superintelligence.
A Victory Without Champagne
175,000 computer files, 17 million lines of formalized code — not a single page of which a mathematician could sit down and read through. In late November 2026, a quiet upload to a code repository shook the foundations of pure mathematics — a 167-year-old unbreached barrier showed its first crack. Within 24 hours, an independent verification team fed the archive into the strictest automated checkers, and all five core theorems passed.
Yet no champagne corks popped in university departments. Many scholars met the news with an uneasy, heavy silence. A verified solution rarely provokes fear. That anomalous reaction is precisely what reveals how strange this affair is.

What Exactly Is the Riemann Hypothesis Guessing?
In 1859, a 33-year-old German scholar named Bernhard Riemann submitted a manuscript of just six pages to the Berlin Academy. It was the only time in his life he ventured into number theory, yet it revealed a startling order hidden among the integers.
The primes — 2, 3, 5, 7, 11, 13 — divisible only by 1 and themselves, scatter seemingly at random through arithmetic, yet they are the irreducible building blocks of all integers. Moving up the number line, primes grow sparser, sometimes clustering as neighbors, sometimes separated by vast "deserts." Riemann sensed that a subtle symmetry was governing this jagged staircase.
He extended a classical sum onto a three-dimensional landscape of complex numbers, revealing an undulating wave surface — the Riemann Zeta function. Every point where the surface descends to absolute zero rings like an overtone; the combination of these zeros precisely determines the rhythm of prime appearances. Riemann boldly asserted: all non-trivial zeros lie on the vertical axis where the real part equals one-half, the "critical line."
For a century and a half, researchers have aimed supercomputers directly at this axis. In 2021, David Platt and Tim Trudgen rigorously checked all zeros up to a height of three trillion — over ten trillion zeros, without a single exception. But in pure mathematics, ten trillion examples remain infinitely far from certainty.
From Classical Breakthroughs to AI Intervention
In May 2024, Larry Guth of MIT and James Maynard of Oxford beat Albert Ingham's 1940 upper bound on off-line zeros, achieving the sharpest progress on this key estimate in over eighty years. Classical insight was closing in on the target faster than expected.
Meanwhile, AI models were mastering formal verification languages. By August 2026, Anthropic's Claude had pushed the proportion of verified critical-line zeros past 67%. Seasoned researchers grew uneasy. In September, 25 Fields Medalists — including Terence Tao — warned that tech labs were outstripping human comprehension.
On October 6, Anthropic mathematician Levent Alpujar launched a sprint that defied all predictions. Collaborating with an unreleased version of Claude, he drove an uninterrupted 41-day push. On November 16, the system returned a complete derivation.
Skeptics assumed the software had won by brute force. Not so: Alpujar led the architectural design, feeding Claude hints from simplified toy models. The decisive leap was transplanting a strategy originating in finite fields — rooted in the work of Andre Weil and Sergei Stepanov — onto ordinary integers. To seal the argument, the derivation chain linked theta lifts, arithmetic geometry, and the Langlands program, spanning half a century of modern theory.

When released on November 20, the entire package filled 14 compressed archives. Compiling this behemoth on heavy Amazon cloud machines took 21 hours.
Formal Verification Languages and Proof Checkers
Lean, which appears repeatedly throughout this article, is an interactive theorem prover that is also a programming language. Its core value: mathematical proofs can be written as code and checked line by line by a computer to verify that every step of reasoning strictly conforms to axioms and logical rules. Unlike natural-language papers, Lean code admits no vague phrases like "obviously" or "easily shown" — any skipped step causes compilation to fail. Mathlib is a large mathematics library built on Lean, containing a vast collection of formalized definitions and theorems from basic set theory to algebraic geometry. "Zero hidden axioms" means the verification process audits all axioms on which the proof depends, ensuring no extra assumptions were smuggled in. This is precisely why machine verification is considered stricter than traditional peer review: it checks every logical atom of the proof, rather than whether the reader was persuaded.
Off-Line Zeros and the Critical Line
The Riemann Hypothesis asserts that all non-trivial zeros lie on the critical line where the real part equals 1/2. An "off-line zero" is a zero not on that critical line — proving that no such zeros exist would establish the conjecture. The classical analytic number theory approach is to give an upper bound on the number of zeros off the critical line: the smaller the bound, the closer to the goal of "zero off-line zeros." Ingham's 1940 estimate dominated this direction for over eighty years, and the importance of Guth and Maynard's 2024 improvement lies precisely in pushing that bound to a historic low. This route contrasts with the formal verification route taken by AI: the former tightens estimates step by step through human insight, the latter exhausts logical chains by machine. The two converge on the same problem, forming the backdrop for what the article calls "classical insight closing in on the target."
Verification: Machines Trusting Machines
Reviewers worldwide waited for a fatal flaw to surface. MIT's Andrew Sutherland tested the five core theorems, and the Lean FRO and Mathlib projects audited every definition and axiom from scratch. After 24 hours, the verdict arrived: complete confidence, zero hidden axioms, zero tampered definitions. All five theorems passed the proof checkers.
Verification kernels independently written in C#, Rust, and Java each audited the exported records, and every one returned the same green light. More surprisingly, the argument did not stop at Riemann's original conjecture — it established the Generalized Riemann Hypothesis for Dirichlet L-functions.
Martin Brydson, director of the Clay Mathematics Institute, called it a "landmark announcement." But an awkward obstacle remained: Alpujar admitted that the raw Lean output was sprawling and chaotic, far beyond human-readable density. Volunteers organized an open-source project called RH-TRIM to strip dead logic, which cut only 8% of the compiled volume.
Five days after the upload, Anthropic researcher Luke Sernau and Claude intervened again for aggressive structural refactoring. Rather than pruning isolated files, they flattened the dependency network, replaced clumsy detours, and reduced 17.4 million lines by 99.5%. The final product was a readable 300,000-line version plus a 76,000-line Lean core. On November 26, Sutherland verified both compact versions — an ordinary 12-core workstation can now check the complete argument in two hours.
Proof Checkers and Independent Kernels
A proof checker is a small program that does one thing: reads formalized proof files and verifies, line by line, that each reasoning step is legally derived from prior steps and axioms. Its credibility comes from a "minimal trusted base" — the kernel itself is only a few hundred to a few thousand lines of code, making manual audit feasible. The article mentions verification kernels independently written in C#, Rust, and Java each auditing the exported records — a cross-validation strategy: even if one language's implementation has a bug, independent implementations in other languages are unlikely to make the same mistake. Lean FRO is short for the Lean Foundation, responsible for long-term maintenance of the Lean language; the Mathlib project audits definitions and axioms from scratch. Only when multiple independent verifications simultaneously return green does the conclusion of "complete confidence" carry weight — what it trusts is not one institution's declaration, but a reproducible machine-checking process.
The Mathematics Community's Fractured Emotions
Has the Riemann Hypothesis been solved? Step into a university common room today, and the atmosphere is far more complicated. Terence Tao praised the "machine in the library" while offering a cautious caveat: absorbing what the software actually built will take time. Number theorists Andrew Granville and Maxim Radzowel were blunter, criticizing the release for lacking a clearly readable narrative foundation.
Even after the dramatic compression, over 122,000 lines of novel reasoning still await translation into clear academic prose. And the million-dollar Clay Millennium Prize? No one has received a check. The institute requires two years of peer-reviewed publication and broad scholarly consensus.

Critics like Gary Marcus and Yann LeCun emphasize that an expert was guiding the software, dismissing claims of autonomous superintelligence as exaggeration. But even as an expert-guided tool, an irreversible threshold has been crossed: one researcher plus software synthesized fifty years of theory in six weeks.
Panic and Truth: Will Encryption Collapse?
Whenever news of a breakthrough surfaces online, anxiety spreads quickly. Viral posts warn: cracking the Riemann Hypothesis will shatter banking and internet encryption overnight. This panic stems from conflating two separate questions.
Your passwords, credit cards, and private messages will not suddenly be exposed. RSA security relies on the extreme difficulty of factoring very large integers, and determining prime distribution gives hackers no shortcut. The real stakes are more profound: locking down the tightest error bounds on the primes would convert over a thousand conditional theorems into solid bedrock.
Conditional Theorems and Error Bounds
In analytic number theory, a large number of results are stated in the form "if the Riemann Hypothesis holds, then..." — such results are called conditional theorems. They are widely used because, once the Riemann Hypothesis is true, the error term in prime distribution can be squeezed into extremely tight bounds, and many arguments relying on precise prime counts then hold. When the article says "over a thousand conditional theorems will be converted into solid bedrock," it refers to this chain effect: proving the Riemann Hypothesis would not directly break RSA, because it provides no algorithm for factoring large integers; but it would turn a vast number of dangling "if... then..." statements throughout number theory into unconditionally true theorems. The truly profound impact lies in reinforcing the theoretical foundation, not in any sudden leap in computational power. Confusing these two is precisely the root of "encryption collapses overnight" panic.
The Dawn of the Machine-Proof Era
This is not the first time mathematics has faced machine proof. In 1976, the Four Color Theorem became the first major result to depend on computers, and traditionalists were deeply hostile at the time. Gradually, shock gave way to acceptance. Telescopes once carried our vision beyond the limits of the naked eye; today, formal engines are carrying our reasoning beyond old boundaries.
If this derivation withstands intensive scrutiny over the next two years, over a thousand conditional theorems will be permanently locked into place. From Riemann's six ink-stained pages of 1859 to 76,000 lines of Lean code, the architecture of the primes is coming into focus.
Historically, cracking a monumental puzzle provides science with a new lens through which to examine reality. This time, the software reached the destination before the map did. The most unusual reverse-engineering effort in academic memory has begun: scholars dissecting the machine's logic to understand their own oldest question.
This leaves an unsettling question for the century: if software certifies a truth that no mind can fully follow, have we really solved it? Or have we finally touched the outer edge of what the human mind can grasp on its own?
Related articles

AI Joins Forces with Mathematicians to Crack the Riemann Hypothesis? A 167-Year-Old Puzzle Reaches a Critical Turning Point
Anthropic mathematician Levent Alpoge collaborated with Claude for about six weeks to produce an AI-assisted proof of the Riemann Hypothesis, verified by the Lean formalization community. This article analyzes the relationship between the Riemann zeta function and prime distribution, the significance of formal verification, and the mathematical community's excitement and anxiety over machine-generated proofs.

AI Proved the Riemann Hypothesis, Yet No One Understands It: The Gap Between Machine Verification and Human Understanding
An AI and a mathematician produced a 17-million-line Riemann Hypothesis proof that passes computer verification yet no one understands. This article explores the gap between machine verification and human understanding, and the division of knowledge work in the AI era.

Can AI Crack the Riemann Hypothesis? New Hope for the Million-Dollar Math Puzzle
The Riemann Hypothesis carries a million-dollar bounty. Can AI help crack this math puzzle? This article examines the conjecture's origins, the difference between verification and proof, and AI's real role and limits in mathematical research.