The Riemann Hypothesis — AI Can Do What Humans Cannot





Abstract: We are all debating whether AI has created a bubble in financial markets, and we are all using AI in one form or another. Much of that argument turns on whether these systems will generate enough cash to justify current valuations. The Riemann hypothesis and its solution show the kind of problem AI can now solve. I hope it awes you as much as it did me, and that it allays some of your fears about AI valuations. I do not believe there is a bubble, though prices may be too high — we simply do not know. What I am certain of is that this is not Dutch tulips, or railway mania, or dotcom stocks. AI can now solve problems that humans are not even capable of checking in reasonable time; we need software to do the checking for us.
The short version
In 1859 a German mathematician named Bernhard Riemann noticed something about prime numbers — the numbers like 2, 3, 5, 7 and 11 that cannot be divided evenly by anything except themselves and one. Primes look as though they appear at random as you count upward, but Riemann found a pattern hiding behind them and wrote down a precise guess about how it works. He could not prove it. Neither could anyone else, for 167 years. It became the most famous unsolved problem in mathematics, and a great deal of modern mathematics is written in the form "if Riemann was right, then…"
On November 20, 2026, a mathematician named Levent Alpöge said he had proved it, working with Anthropic's AI, Claude, for about six weeks. He chose the problem and set the direction; the machine did an enormous share of the work, and near the end, by his own account, it was moving faster than he could follow.
What they produced is not a paper. It is about 17 million lines of computer code, spread across 175,187 files. Written out as ordinary mathematics it would run to tens of thousands of pages. No person will ever read it. If a mathematician checked 100 lines an hour, eight hours a day, every working day of the year, it would take roughly 85 years.
So how does anyone know it is right? With other software. The proof was written in a language called Lean, built for exactly this purpose: each logical step is written as code, and the computer checks that every step genuinely follows from the one before it. Lean takes nothing on trust — no "clearly," no "it follows easily." If the code runs, the reasoning is sound. Within a day, the people who build and maintain Lean confirmed that the whole thing compiled, that what it proves really is the Riemann hypothesis and not some weaker cousin of it, and that nothing was quietly assumed along the way. Dozens of other people re-ran the check and got the same result.
That leaves mathematics somewhere strange. The proof is confirmed correct, but nobody yet understands it. Working out what it actually says, and why it works, is now a job expected to take months or years. The $1m prize attached to the problem remains unpaid, because the rules require publication, a two-year wait, and acceptance by the field.
Why this matters outside mathematics is simple enough. A machine did something no human could do, and produced an answer no human can check by hand. We needed a second machine to check the first one. That is a genuine new capability — and it is a different thing from knowing what that capability will be worth.
The problem, and the 167 years
Bernhard Riemann published his hypothesis in 1859, in a short paper on how many primes lie below a given number. The Riemann zeta function has obvious zeros at the negative even integers; Riemann conjectured that every other zero sits on a single vertical line in the complex plane, at real part exactly one-half.
It is really a statement about prime numbers. The primes — 2, 3, 5, 7, 11, 13 and on — are the building blocks of arithmetic, and they look scattered up close. Those zeros govern exactly how far the real distribution of primes strays from the smooth curve that approximates it. If Riemann is right, that error is as small as it could possibly be.
This is why it became the most consequential open problem in mathematics rather than merely the most famous. Thousands of published theorems begin with the words "assuming the Riemann hypothesis." A proof does not just settle one question; it converts a large body of conditional mathematics — across number theory and parts of cryptography — into established fact in a single stroke. The Clay Mathematics Institute attached a $1m prize to it in 2000, one of seven Millennium Prize problems.
It stood open for 167 years. The proof Levent Alpöge published on November 20, 2026 covers not only the Riemann hypothesis but its generalized form, which extends the same claim to a much wider family of related functions — a larger result still.
Why mathematicians reach for Lean
Lean is a proof assistant: a language in which a mathematical argument is written as code, and a program checks every logical step. If the code compiles, the proof is correct. There is no room for a persuasive paragraph that turns out to hide a gap.
It would overstate things to say mathematicians can no longer check proofs by hand. Most mathematics is still written in prose and refereed by people reading it, and that still works. What changed is that a growing class of proofs outgrew the method. Thomas Hales's proof of the Kepler conjecture took a panel of referees four years and they finished only "99% certain"; he spent a further decade formalising it. The classification of finite simple groups runs to tens of thousands of pages across hundreds of papers, and the number of people who have read it approaches zero. The human referee also fails in a quieter way: published proofs have stood for years before someone found a subtle error, which means hand-checking was never quite the guarantee it was taken for — only the best available proxy.
So Lean was already gaining ground before AI arrived, for proofs too large or too intricate for a reader to hold in mind. AI did not create that problem. It made it the normal case.
Six weeks, and 17 million lines
Alpöge did not ask a chatbot for a proof. He directed a search for about six weeks, with Claude proposing and developing arguments. He had been working this seam already: in August 2026 he and Ralph Furman, using an unreleased research version of the model, proved that more than 67.25% of the nontrivial zeros are simple and lie on the critical line. A later paper pushed past 83%. Then the partial result became a complete one.
The output is about 17 million lines of Lean code, spread across 175,187 files. Kevin Buzzard estimates it might correspond to tens of thousands of pages of conventional mathematics. Alpöge released it as code rather than as a paper, with a four-page note explaining what it claims, and says he does not yet understand all of the arguments himself.
The verification came fast and from many directions. On November 21 the Lean and Mathlib communities issued a joint statement saying they have full confidence the proof is correct: every file compiles, the statement proved matches the Riemann hypothesis, and no unproven assumptions were smuggled in. Dozens of people re-ran the check independently. Michael Rubinstein at Waterloo reproduced it and found no errors; Andrew Sutherland at MIT maintains the list of independent checks.
No human has read the whole thing. Buzzard calls the artifact in its current form "gobbledygook" in a programming language, and expects people to understand the shape of the code in a week or two. Youness Lamzouri thinks genuinely understanding the proof could take months or years. James Maynard, the Oxford Fields medallist, calls it a historic milestone if it holds, and notes that confirming a proof is valid does not explain why it works.
The arithmetic is worth doing. Suppose a mathematician could check 100 lines an hour, eight hours a day, 250 days a year, and never once lose the thread. Seventeen million lines would take about 85 years. Dividing the work across a team does not rescue it either, because a proof is one connected argument: split it between readers and nobody holds the whole. That is the sense in which the hand-checking era ended here.
The hard part is the form, not the length
It is tempting to read 17 million lines as the achievement. It is not. The achievement is that all 17 million compile.
Prose mathematics is forgiving. A paper can say "the remaining case follows similarly" or "it is easily seen that," and a sympathetic referee will agree. Lean does not do sympathy. Every step has to be supplied in full, in order, with nothing assumed that has not been proved — and the whole structure either compiles or it does not. There is no partial credit and no benefit of the doubt.
This is a brutal target to aim at. A model generating a plausible-sounding paragraph of mathematics is doing something it is naturally suited to; a model generating hundreds of thousands of files that a hostile checker will accept is doing something else entirely. The constraint cuts both ways, though, and that is the point: because Lean rejects anything short of correct, a model can work against it without a human in the loop for every step. The thing that makes the target hard is also what makes the search possible. It is the same property — cheap, mechanical verification — that made mathematics the first field to fall.
So the division of labour that produced this result reads roughly as: a human chose the problem, judged which directions were worth pursuing, and recognised what mattered when it appeared; the model generated and refined the argument at a volume no person could produce; and the machine checker, not the referee, certified it. Abhishek Saha argues the credit belongs to Alpöge rather than to Claude for exactly this reason.
Verified, not understood
None of this means humans are out of the loop. A human picked the problem, steered six weeks of search, and recognised the result when it arrived. Nor is the matter closed: the proof is certified but not understood, and the Clay Institute still requires refereed publication, a two-year wait and general acceptance before it recognises anything. Validity and understanding came apart here, and only one of them has been delivered.
For centuries mathematicians struggled to find proofs; now they may struggle to understand the proofs they are handed. That is an extraordinary reversal, and it arrived faster than anyone expected. Two months ago the consensus was that this problem needed a new branch of mathematics and would not fall for decades. The useful lesson is probably less about the Riemann hypothesis than about the confidence of that forecast.
Capability is not yet cash
Which brings this back to the question I opened with. The honest framing is that capability and revenue are two separate questions, and this result speaks loudly to the first and barely at all to the second.
On capability, it settles something. The strongest bear case against these systems has always been that they are elaborate pattern-matchers — fluent, persuasive, incapable of producing anything genuinely new. That case is now harder to make. This was not a benchmark score, a demo, or a plausible-sounding paragraph that a sympathetic reader waves through: it was 175,187 files submitted to a checker that accepts nothing it cannot verify, and they compiled. The claim is not that the machine was faster than a person. It is that it went beyond one — producing, in six weeks, a result the whole of human mathematics had not produced in 167 years of trying.
That is the respect in which the tulip comparison fails. Dutch tulip bulbs did not do anything. Railway mania and the dotcom bubble are better analogies than tulips, because in both cases the underlying technology was real and transformative and the companies were still mispriced — the railways were built, the internet arrived, and a great many investors were still ruined. A genuine technology and an inflated price are perfectly compatible. That is the uncomfortable part of the history.
So the caution worth holding is this: mathematics is the friendliest possible case for AI, and the reason is Lean. Verification is cheap, mechanical, and instant, so a model can search for hours against a perfect critic without a human adjudicating each step. Almost no economically valuable work looks like that. There is no Lean for a medical diagnosis, a legal strategy, a manufacturing decision, or a quarterly forecast; in those domains checking is slow, expensive, contested, and sometimes impossible. The revenue question lives entirely in that gap — how much of the world's valuable work can be made checkable enough for machines to do it unsupervised.
My own reading is the one I began with. There is a difference between excessive enthusiasm for a real technology and a speculative bubble built on expectations that cannot be fulfilled, and I think this is the former. Prices may well be too high, perhaps considerably so, and we will not know in real time — we never do. But the Riemann result does not settle that question, and anyone citing it as proof that the valuations are justified is reaching. What it does is remove one argument from the bear case, permanently, and in a way no benchmark could. These systems can do things people cannot do. Whether they can be paid for enough of them is still open, and unlike the Riemann hypothesis, that question will not be settled by a compiler.
The harder adjustment may not be teaching machines to do science. It may be teaching ourselves to understand the science they produce.
I advise investors independently, using low-cost ETFs.

