AI Cracks the Riemann Hypothesis? The Proof Controversy Between an Anthropic Mathematician and Claude
AI Cracks the Riemann Hypothesis? The …
Anthropic mathematician claims a six-week Riemann Hypothesis proof with Claude, released as Lean code, pending verification.
Anthropic mathematician Levin Alperge claims he and Claude found a proof of the Riemann Hypothesis in about six weeks, potentially generalizing to GRH. Released as 14 sections of Lean code from a manuscript exceeding 250,000 pages, the method combines the Stepanov technique with theta lifts at x's square root layers. Lean ensures logical correctness but cannot verify the formalized statement is truly the Riemann Hypothesis. Unverified, it echoes Wiles's 1993 Fermat proof, where truth emerged during checking.
A Claim That Shook the Math World
This week, a mathematician employed at Anthropic published a short note claiming that he and Claude had together found a proof of the Riemann Hypothesis. A problem that has confounded the world's greatest minds for 167 years seemed, overnight, to have been pried open by AI. But hold your applause — the most critical detail in this story was ignored by almost every headline.
What is the Riemann Hypothesis? Why does it matter so much? What exactly does this claim say? Let's break it down from the beginning.
Primes: The Seemingly Random Building Blocks of Numbers
A prime number is divisible only by 1 and itself. They appear to be randomly distributed — sometimes appearing in pairs (like 11 and 13), sometimes separated by vast gaps, like pure noise. But primes are the building blocks of all numbers: 12 is 2×2×3, 30 is 2×3×5. Every number has a unique prime recipe.
In 1792, the young Gauss began counting primes and discovered that their sparsity follows a smooth rule: near a number x, roughly one in every ln(x) numbers is prime. In 1896, Hadamard and de la Vallée-Poussin independently proved Gauss's conjecture. But this proof left a larger question: how far can reality deviate from the average?
The Zeta Function: A Machine Connecting the World of Primes
In 1737, Euler discovered a remarkable identity: the series summing over all natural numbers can be rewritten as a product over primes only. This was the first signal — this sum secretly knows where the primes are.
In 1859, Riemann extended this sum to a function on the complex plane — the zeta function. He discovered that the zeros of the zeta function (where the machine returns zero) secretly control the distribution of primes. Just as a noisy sound can be composed of pure tones, the chaotic pattern of primes can be built from these "notes" — the zeros.
Riemann conjectured: every important zero lies on a perfect vertical line — the critical line. If true, every note has the same loudness, and the fluctuations of primes around Gauss's guess behave like the swings of a fair coin, with magnitude about the square root. If any zero deviates from this line, that note becomes too loud, the prime fluctuations grow larger, and the coin is cheating.
This is the Riemann Hypothesis.
The Complex Plane and Analytic Continuation
The original text mentions that Riemann extended the sum to a function on the complex plane, which involves two key concepts. The complex plane is a two-dimensional plane with the real part on the horizontal axis and the imaginary part on the vertical axis; a complex number s = σ + it corresponds to a point on this plane. Euler's sum Σ 1/n^s originally converges only when the real part exceeds 1. Riemann, through analytic continuation, uniquely extended it to the entire complex plane (except for a pole at s=1). Analytic continuation can be understood as: while preserving the smoothness of the function, uniquely extending the domain from a small region outward — like inferring an entire circle from a small arc. It is precisely this continuation that gives the zeta function a definition within the critical strip 0 < Re(s) < 1, making it possible to discuss the zeros.
The Critical Line and Critical Strip
The zeros of the zeta function fall into two categories: trivial zeros located at negative even integers (-2, -4, -6…), and nontrivial zeros, all of which lie within the critical strip 0 < Re(s) < 1. The Riemann Hypothesis asserts that all nontrivial zeros have real part exactly equal to 1/2 — that is, all lie on the vertical line Re(s) = 1/2, which is the critical line. The original text's phrase "every important zero lies on a perfect vertical line" refers precisely to this line.
A Century of Climbing: From Hardy to Montgomery
Computers have verified that the first 10 trillion zeros all lie on the critical line. But that is far from enough — a proof must cover infinitely many zeros.
In 1914, Hardy proved that infinitely many zeros lie on the line. In 1942, Selberg proved that a positive proportion of zeros lie on the line. In 1974, Levinson pushed this proportion past one-third, and later work pushed it past 40%. Each generation squeezes out a small step; no one reaches 100%.
The strangest twist came in 1972: mathematician Hugh Montgomery, studying the spacing between zeros, discovered a pattern that physicist Freeman Dyson immediately recognized — it was identical to the pattern of energy level distributions in heavy atoms. The numbers governing primes behave like the interior of an atom. No one planned this, and no one fully understands why.
Random Matrix Theory and GUE
Dyson recognized that the zero-spacing pattern Montgomery discovered matched the energy level distribution of heavy atoms, which involves random matrix theory. Physicists use the eigenvalue distributions of large random matrices to model the energy levels of complex quantum systems (such as heavy atomic nuclei), and one important ensemble is the Gaussian Unitary Ensemble (GUE). A notable feature of GUE is that the spacing distribution between its eigenvalues follows a specific probability law known as "level repulsion" — the probability of two energy levels being too close is very low. The pair correlation function of zeros that Montgomery discovered matches the form predicted by GUE, suggesting that zeta zeros may be distributed like the energy levels of some unknown quantum system. This connection remains conjectural to this day, but it has become a core thread at the intersection of analytic number theory and mathematical physics, and it also explains the original text's remark that "no one planned this, and no one fully understands why."
What the Claim Says: Six Weeks and 250,000 Pages of Code
The mathematician Levin Alperge states in his note that he believes he and Claude discovered a proof of the Riemann Hypothesis, that the same method easily generalizes to the Generalized Riemann Hypothesis, and that he even expects it to reach the larger Extended Riemann Hypothesis.
His timeline begins in early October with the "Stepanov determinant" and ends on November 16 with a single line: "GRH" — about six weeks. He uses words like "flew," "danced," and "shone" to describe Claude's performance near the finish line.
The core of the method comes from the Stepanov technique: in the polynomial world, one can squeeze the range of solutions by repeatedly making objects vanish at the same point, because there is a notion of multiplicity there. But in the ordinary integer world, you cannot differentiate 7. The "side door" that Alperge's team found is a stack of theta lifts — each additional layer adds another layer of multiplicity. The number of layers Claude suggested is the square root of x. When x is one million, that's a thousand layers; when x is one trillion, that's a million layers.
This square root appears in three different places: the square root of prime fluctuations, the square root of a fair coin, and here.
The Stepanov Technique and Theta Lifts
The Stepanov technique is a method for constructing rational points in algebraic geometry, originally used to prove lower bounds on the number of points on algebraic curves over finite fields. Its core idea is to construct an auxiliary polynomial in the function field (the polynomial world) that has a high-order zero at a certain point, thereby squeezing the range of the number of solutions — this is what the original text means by "repeatedly making objects vanish at the same point to squeeze the range of solutions." The key difficulty is that function fields have a notion of derivative (formal differentiation is possible), while the ring of integers does not — you cannot differentiate 7. Theta lifts are operations that "lift" objects from lower-dimensional structures to higher-dimensional ones, each lift introducing new symmetry or multiplicity, thereby simulating the effect of multiple zeros in the function field on the integer side. The number of layers is taken as the square root of x, which coincidentally matches both the amplitude of prime fluctuations and the amplitude of a fair coin's fluctuations — this coincidence is one reason the method attracts attention.
Lean and Formal Proofs
Lean is an interactive theorem prover and also a programming language. In Lean, mathematical proofs are written as code, and every step of reasoning must be verified line by line by the machine according to axioms and previously established theorems; any logical leap will be rejected at compile time. Mathlib is a mathematics library maintained collaboratively by the Lean community, containing a large number of formalized definitions and theorems. The original text mentions that the formalized code for Wiles's proof of Fermat's Last Theorem exceeds Mathlib by more than five times, illustrating the enormous engineering effort required to formalize modern mathematical proofs. Lean can guarantee that "if it compiles, the proof is logically flawless," but it does not judge whether the formalized proposition faithfully expresses the statement the mathematician had in mind — this is precisely the meaning of the "spell checker" metaphor in the original text.
Lean Code: The Strictest Judge
The proof is not an ordinary paper. Alperge says he attempted to write over 250,000 pages and ultimately decided to publish only code — 14 file sections, written in the Lean language.
Lean is the strictest judge of software construction. Jumps that are "obvious" in an ordinary paper must be spelled out word by word in Lean; if any step is wrong, the computer refuses to run it. Previously, Anthropic had Claude convert Andrew Wiles's proof of Fermat's Last Theorem (129 pages) into Lean code, which mathematician Kevin Buzzard called "an extraordinary achievement"; the code exceeded the shared Mathlib library by more than five times.
In August of this year, Anthropic also announced that Claude had pushed the known proportion of zeros lying on the critical line from 41.6% to 67.2% — mathematicians had taken about fifty years to climb past 40%. But at the time, Anthropic said it did not expect the method to lead to a complete proof. Three months later, another path claims to have reached the finish line.
The Untold Part: Unverified
As of today, this claim is unverified. No large independent team has announced a complete check.
Lean is like a spell checker: it can tell you that every word is spelled correctly, but it cannot tell you whether the sentence expresses what you meant. Lean alone cannot answer three questions: whether what was proved is truly the Riemann Hypothesis and not a close cousin with a tiny crack; whether credit for the ideas and honor is assigned correctly; and whether anyone truly understands why it holds.
History is full of lessons. In June 1993, Andrew Wiles announced a proof of Fermat's Last Theorem to a standing ovation. During review, a gap was found; Wiles spent more than a year repairing it, nearly gave up, and finally fixed it in 1994 in collaboration with his student Richard Taylor. The checking phase is where the truth emerges.
The timing is also notable: Tom's Hardware pointed out that Anthropic went public on Nasdaq the same week. Alperge himself says the timing is bad, but he felt he could not wait any longer, and he rejected cynical interpretations about the timing.
Why It Matters: From Phone Security to the Foundations of Mathematics
A great deal of online security relies on large primes, and computers need to quickly test whether enormous numbers are prime. If the Generalized Riemann Hypothesis holds, that fast test is guaranteed — not just strongly suspected, but promised.
Countless mathematical papers begin with "assuming the Riemann Hypothesis holds." It is like a skyscraper built on a floor that everyone says is solid but no one has fully inspected. A proof would turn all these results from "possible" into "fact."
More profoundly: this could be the first time AI plays a major role in one of mathematics' greatest mountains. For a long time people have said that AI is good at grunt work but that true creativity requires humans. If this story holds up, it will poke a large hole in that belief. At the same time, humans are not squeezed out — he guided the setup, chose the goal, and explained it to the world. This may be the real model of the future: a human with deep taste, paired with an AI of infinite endurance.
The Generalized Riemann Hypothesis and Primality Testing
The Generalized Riemann Hypothesis (GRH) is the extension of the Riemann Hypothesis to Dirichlet L-functions; it asserts that the nontrivial zeros of these L-functions likewise lie on the critical line Re(s) = 1/2. A direct corollary of GRH is: there exists a small constant C such that in every reduced residue class modulo n, the smallest prime does not exceed C(log n)^2. This conclusion is crucial for deterministic primality testing — many fast primality testing algorithms (such as the deterministic version of Miller-Rabin) rely on such bounds to guarantee finding a witness in polynomial time. If GRH holds, these algorithms have rigorous guarantees rather than merely heuristic reliability. This is why the original text says "a great deal of online security relies on large primes," and what GRH provides for fast testing is a "promise" rather than a "strong intuition."
What to Watch Next
First, independent mathematicians reading and testing the Lean files. Second, confirming that the statement proved is truly the Riemann Hypothesis. Third, a shorter human-readable version — Alperge says he expects one to appear soon. As for the one-million-dollar prize, the Clay Institute's rules require a waiting period of about two years after publication, so it will not arrive this month.
If it survives, we will look back on this week as the day mathematics changed. If it collapses, we will still have learned something — even a broken path teaches you where the walls are.
One-line Summary
An Anthropic mathematician claims to have found a proof of the Riemann Hypothesis with Claude in six weeks, published as Lean code, pending verification.
Paragraph Summary
Anthropic mathematician Levin Alperge claims to have collaborated with Claude to find a proof of the Riemann Hypothesis in about six weeks, and expects the method to generalize to the Generalized Riemann Hypothesis. The proof was released as 14 sections of Lean code, with the original manuscript exceeding 250,000 pages. The method combines the Stepanov technique with theta lifts; the number of layers Claude suggested is the square root of x, forming an intriguing echo with the square root of prime fluctuations. Lean can ensure every step is logically correct but cannot verify whether the formalized statement is truly the Riemann Hypothesis. The claim has not been independently verified; the 1993 Wiles Fermat incident shows that the checking phase is where the truth emerges. If it holds, it will affect primality testing guarantees in online security and shake the notion that "AI can only do grunt work and creativity belongs to humans."
Related articles

ChatGPT Plus Subscription Pitfall Guide: Go/Plus/Pro Tier Comparison and Quick Activation
A complete ChatGPT Plus subscription guide based on a Bilibili tutorial: from registering an account, comparing Go/Plus/Pro tiers, to the practical steps for quickly completing your subscription.

GPT-6.2 Sol/Astra Released! A Step-by-Step ChatGPT Plus Subscription Guide and Tier Comparison
GPT-6.2 Sol/Astra is out—here's a ChatGPT Plus subscription guide: register an account, compare Go/Plus/Pro tiers, and subscribe in a minute.

Comparing Three Channels for Subscribing to GPT Plus in China: Is Website Top-Up the Easiest?
How to subscribe to GPT Plus in China? This article compares website top-up, credit card, and mobile top-up channels—process, cost, and risk—with steps and tips to help you choose wisely.