The AI Spotlight Follow
The Riemann Proof Is Verified. Nobody Understands It Yet. What Do 17 Million Lines of Lean Actually Teach Us?
Big Ideas

The Riemann Proof Is Verified. Nobody Understands It Yet. What Do 17 Million Lines of Lean Actually Teach Us?

The checkers have spoken: the Lean proof of the Riemann Hypothesis compiles and is accepted by independent kernels. But verified is not the same as understood. Here is what the proof is, why mathematicians are split on its value, and how the race to shrink and explain it has begun.

Advertisement

There is a strange new category in mathematics, and it just got its first headline entry: a proof that is certainly right and that no human fully understands.

Five days after an Anthropic mathematician released a Lean proof of the Riemann Hypothesis, built with Claude, the verification story is largely settled. The code compiles. Independent proof checkers accept it. The statement it proves is the statement mathematicians mean. By the narrow, technical definition, the problem is closed.

The harder question is the one mathematicians are now arguing about in public: what do you actually have when a machine hands you a 17-million-line certificate of truth?

This piece is not a first report of the claim. We covered the announcement and the first checks when they landed. This is the follow-up: what the verification really established, what the proof might teach, why some of the best number theorists in the world are uneasy, and what the early attempts to compress and explain it have found so far.

Advertisement

A quick refresher on what was claimed

On November 20, 2026, Levent Alpöge, a mathematician at Anthropic, announced a proof of the Riemann Hypothesis, along with the Generalized Riemann Hypothesis for Dirichlet L-functions. He had used Anthropic's Claude models to produce it. The proof was released not as a paper but as a formal Lean library: 175,187 files and roughly 17 million lines of code.

The Riemann Hypothesis dates to 1859. It is a statement about the zeros of the Riemann zeta function, and it is the sharpest known way to say that the prime numbers, which look scattered, obey a deep regularity. Mathematicians have assumed it was true for generations. Hundreds of published results begin with "assuming the Riemann Hypothesis." Nobody could prove it.

The Clay Mathematics Institute listed it as one of seven Millennium Prize Problems in 2000, each with a $1 million reward. Only one of the seven, the Poincaré Conjecture, has been awarded so far.

The proof's authorship note, as summarized by independent reconstruction efforts, credits Alpöge with the plan of the proof and credits Claude with proposing a key device: a chain of "theta lifts" of length around the square root of X. More on that below.

Verified: what the checkers actually confirmed

Lean is a proof assistant. Every logical step has to be accepted by a small, trusted piece of software called a kernel, so a proof either passes or it does not. That makes the verification question unusually crisp. And it was answered quickly.

According to a joint statement from the Lean FRO and the Mathlib Initiative, published November 21, the community certified the proof on four criteria:

  1. The statement is right. The Riemann Hypothesis as stated in Mathlib, Lean's giant shared math library, has been vetted by experts in Lean and number theory.
  2. The code compiles. Dozens of people reported compiling the whole library without errors and reproducing the same raw proof export file.
  3. The code proves that statement. The community added a file isolating Mathlib's exact statement, then used two independent tools to confirm that the theorem proved is exactly that statement and not a lookalike.
  4. The proof is valid. The exported proof was checked by Lean's official kernel and by several independent checkers written in different programming languages, including two whose own soundness has a formal proof relative to set theory.

MIT's Andrew Sutherland maintains a public verification log, last updated on November 24. It is a remarkable document. A few of its entries:

  • All 175,187 modules compile with zero errors.
  • The five headline theorems depend only on Lean's three standard axioms (propositional extensionality, classical choice and quotient soundness). No extra axioms were smuggled in.
  • An independent sandboxed rebuild, with no network, reproduced the published proof export byte for byte. That export is about 61.6 billion bytes.
  • One independent Rust kernel, nanoda, accepted the whole export in under half an hour on 80 threads. Lean's own default kernel needed more than 48 hours on a single thread and a peak of about 82.6 GiB of memory, and it accepted it too.
  • A "paranoid" mode of Lean's kernel also accepted it.

Scientific American described the result as almost certainly true, based on independent mathematicians attesting to it. Alex Kontorovich of Rutgers told Smithsonian magazine that "in the technical sense, the proof is as robust as anything that we have."

So the fear that a 17-million-line artifact might hide a flaw in the checker has been addressed about as thoroughly as it can be. If you want to bet on whether the Riemann Hypothesis is true, this is the strongest evidence in history.

Understood: where the story gets uncomfortable

Verified is not the same as understood. Maksym Radziwiłł of New York University put the problem bluntly to Smithsonian: Alpöge "produced a formal proof that he does not understand." It "certifies the statement as correct, but does not explain to us why it is correct. As a result, until we understand it, we cannot contextualize it and use it to make further progress in mathematics."

Think about what that means. For centuries, a proof of a great conjecture was valuable twice over. It settled a question, and it carried new ideas. The Poincaré Conjecture proof gave topologists new tools. Fermat's Last Theorem's proof reshaped number theory. The proof was the vehicle and the new mathematics was the cargo.

Here, the vehicle may have arrived without anyone having unpacked the cargo.

Radziwiłł's sharpest point: "The hope was always that a proof of the Riemann Hypothesis would come with new ideas that apply far beyond it, and right now nobody knows what those ideas are."

The practical argument for shrugging

There is a reasonable counterview. Truth by itself has uses.

A great deal of research is written conditionally: "if the Riemann Hypothesis holds, then…" Once the hypothesis is certified, those conditional results become unconditional overnight. Parts of number theory and computer science that were building on an unproven assumption can now stand on firm ground. Mathematicians could, in principle, have carried on assuming it was true for the rest of their careers. The change is a confirmation, not a change of direction.

So whether this is a revolution depends on a second question: does the proof teach us something we did not know about primes?

A simplified intuition for the idea at the center

Nobody outside the small group working through the code can fairly claim to explain the argument. Treat the following as a plain-language sketch, not as a faithful summary, and certainly not as a substitute for the mathematics.

The story starts with counting primes. There are 25 below 100 and 21 between 101 and 200, as Smithsonian notes, and for centuries mathematicians have had a good formula for roughly how many primes should exist up to any number x. The Riemann Hypothesis is equivalent to saying that formula is as accurate as it could possibly be, with the error never larger than about the square root of x, up to small factors.

Known techniques bracket the true count between a floor and a ceiling. The trouble is that as x grows, the gap between those bounds becomes absurdly wide. You know the answer lies somewhere, but "somewhere" covers a lot of ground. A real proof has to squeeze the bracket tight for every x, however large.

Explainers who have studied the released code describe the central trick like this: take a powerful, decades-old tool called a theta lift, which relates objects from different areas of mathematics, and chain it with itself many times, about the square root of x times. Individually, such steps are standard. The unusual part is how many of them are stacked and how the error is controlled through the stack so that precision improves instead of degrading. The tool is old, and the novelty is in the chain.

We cannot verify that this is the whole story or even the right emphasis. An independent analysis of the archive reports that a step involving the theta correspondence accounts for the largest single share of the code, roughly 38%, which at least suggests the theta machinery is not decoration. But "the single biggest module" is not the same as "the main idea."

The race to shrink it

The most interesting early development is what people did with the artifact in its first days.

Dead code removal gets about nine percent

One community project tried to trim the library automatically, removing declarations the five headline theorems do not use, unnecessary imports and duplicate proofs. Its early claims were big. A correction posted in the Lean community repository then walked them back sharply: when the trace was fixed, a safe source-level reduction was only about 9%, not the 55% initially claimed.

A second project that ran 71 automatic repair rounds cut the source from about 17.37 million lines to about 15.9 million, roughly 8.6% fewer, but never achieved a clean build. Its authors state plainly that the cut source "never built with 0 errors," so the figure is an upper bound on what dead-code removal can give, not a result. Notably, almost all of what was removed was dead code. No mathematics was simplified.

The lesson from that project is worth quoting in spirit: the proof is not big because of waste. It is big because of what it uses. The remaining code is still about seven times the size of Mathlib itself.

For the verification kernels, almost nothing changes. They check only the 1.47 million declarations the final theorems actually depend on, and dead code was never in that set.

A slimmed copy keeps only what the final argument needs

A separate roadmap project reports a "slimmed" copy that keeps only declarations needed by the final argument: about 18,096 files and 3.17 million lines instead of 175,188 files and 17.37 million. If that figure holds up, the real core of the proof is much smaller than the archive and might be navigable by a team of humans. These are the project's own numbers and should be treated as such until others reproduce them.

Compressing the mathematics itself

The more meaningful goal is not cutting dead code but finding a shorter route through the mathematics. Automated "research loops," in which AI systems repeatedly try to find shorter proofs of individual lemmas, are reportedly shrinking some pieces by large amounts. The complication, according to those following the efforts, is that individual lemmas shrinking by more than 90% does not mean the whole proof shrinks anywhere near as much. Early whole-proof compression remained modest. Some later reports of larger gains on whole projects exist, but we have not seen them independently confirmed.

What mathematicians are saying about meaning

The Smithsonian piece captures the range of reaction well.

  • Kontorovich compared the proof to a car built by robots. We do not know how it works, but we know it drives from A to B, and with time we can open the hood. He described the new situation this way: last week he would not have known where to start; today he has "a compass." He also guessed the computing bill for something like this to be at least $10 million. That is his estimate, not a published figure.
  • Radziwiłł drew a line between the practical products of science and its purpose. In his view, the point of mathematics is human understanding, and "no machine will be able to do it, since the point for a scientist is to understand the world for himself." He also raised an unresolved question: how credit should shift when producing a proof is no longer tied to understanding it.
  • Lauren Williams of Harvard, speaking in October about an earlier wave of AI math results, said that normally mathematicians spend weeks, months or years finding the clearest explanation of how pieces fit together, and "that is not what has happened here."

The same Smithsonian article places the Riemann proof in a fast-moving context. Earlier this year, OpenAI proposed an AI-generated solution to the Navier-Stokes problem, which is still under review. Last month it announced a frontier model had made progress on hundreds of open math problems, including a limited version of the Riemann Hypothesis, which Stanford's Jared Duker Lichtman called "the most significant A.I.-for-math achievement so far, by quite a margin." Over the summer, Alpöge reportedly worked with Claude Fable 5 on a counterexample to the Jacobian conjecture, open since 1939.

Who gets credit, and who does the understanding?

Mathematics has always had a hierarchy of prestige: the person who announces the theorem ranks above the one who writes the clarifying exposition. If proofs become cheap to generate and expensive to understand, that hierarchy may invert. The valuable work becomes interpretation: reading the artifact, naming the new ideas, rewriting it as something a graduate student can follow.

Radziwiłł says credit "will have to shift accordingly." That is a polite way of saying the profession has no plan yet.

There is also an uncomfortable side note. Within days of the announcement, the president of the American Mathematical Society, Ravi Vakil, published a "Hurried Announcement" blog post containing a 940-page, unfinished human-written attempt at the Riemann Hypothesis by Alessandro Masullo, who had worked on it for nearly 12 years. Experts are reading it and the verdict is out. Its acknowledgments carry a message to discouraged mathematicians: "We are still here."

Whether or not that attempt holds up, it is a vivid picture of the moment: a decade of human work, released early, in the shadow of a machine-built proof.

Why this matters

It changes what "a proof" means. For decades, formal proof assistants were tools for checking human arguments. Here the argument itself was found by a model and checked by the assistant. The human role shifted from author to director and then to reader.

It makes explanation the scarce resource. If AI systems can produce certified truths faster than people can understand them, understanding becomes the bottleneck and the prize.

It tests the trust model. Formal verification offers a new kind of confidence. You do not need to trust the author or the AI. You need to trust a small kernel, and several independent ones agree. That is a strong template for any field where machine output must be checked.

It raises an access question. Kontorovich noted that most mathematicians have no access to the internal models behind such breakthroughs, and the compute is enormously expensive. If only a few organizations can run the engines that produce the proofs, then the field depends on their releases. Axios has reported that this proof came from an unreleased "research" version of Claude.

Practical takeaways

  • Separate "true" from "explained." Headlines that say the problem is solved are right about truth. They say nothing about whether the field has learned anything yet.
  • Watch the reduction numbers carefully. The 55%-to-9% correction is a reminder that early compression claims can collapse once builds actually run.
  • If you work with formal methods, the verification log is a case study in layered checking: standard kernel, independent kernels, byte-identical rebuilds and statement-comparison tools.
  • If you teach or write about it, the open job is exposition. Whoever produces the first readable account of why the argument works will be doing the most valuable work in the story.
  • Treat social-media explainers with caution, including simplified analogies. The code is real, and the honest state of understanding is "just beginning."

Counterpoints and risks

  • Understanding may not arrive soon. Kontorovich said the digestion process could take years. A proof this long may resist compression, and some pieces of its logic may be genuinely hard to make intuitive.
  • Not every skeptic is satisfied with "verified." The Lean statement is only as good as the definitions it uses. The community's comparison tools exist precisely to guard against a proof of the wrong statement, and they passed, but the strongest assurance comes from the number of independent people who have looked.
  • Some claims are unconfirmed. Reports of agent swarms being pointed at other Millennium Problems, and of additional whole-proof compressions, circulated this week. We have not found primary documentation for them and have left specifics out.
  • The cost and secrecy problem is real. Results from unreleased models are hard to reproduce, and independent evaluation depends on what the lab chooses to share.

FAQ

Is the Riemann Hypothesis now officially solved?

Verification is strong: the Lean library compiles, independent kernels accept the export, and the Lean FRO and Mathlib Initiative say they have full confidence in its correctness. The Clay Mathematics Institute has its own rules for awarding the Millennium Prize, and we have not seen an award announcement.

Why does it matter that nobody understands it?

Because proofs usually come with new ideas that unlock other problems. A certificate that shows the answer is true without explaining why leaves those ideas buried inside the code.

What is Lean, and why is it trusted?

Lean is a proof assistant. Its small kernel checks each logical step, so a proof either passes or fails. Independent kernels written by different teams, in different languages, reduce the risk that one program's bug lets a false proof through.

Can the proof be made shorter?

Possibly. Dead-code removal saves only roughly 9% safely, and a slimmed copy reportedly keeps about 3.2 million of 17.4 million lines. Finding genuinely shorter mathematical arguments is a much harder project that is just starting.

The bottom line

The Riemann Hypothesis has, by the strictest standard that exists, been proven. What has not happened yet is the thing that usually makes a great proof a turning point: someone being able to explain it. Until the first readable account of why that chain of lifts works appears, the proof is a locked room with a certificate on the door.

For AI, that is both the triumph and the warning. Machines can now deliver truth faster than we can digest it, and the next scarce skill in science is not finding answers but understanding them.

Sources

Workers Just Got 53% of Business Output, the Lowest Since Records Began in 1947. Five Times Before, Capitalism Rewrote Its Own Rules. Is AI the Sixth?Up next · 15 min readWorkers Just Got 53% of Business Output, the Lowest Since Records Began in 1947. Five Times Before, Capitalism Rewrote Its Own Rules. Is AI the Sixth?Big Tech is spending about $720-740 billion on AI buildouts while labor's share of output hit a record low. A 500-year tour from the Black Death to Bretton Woods shows how capitalism survived every labor shock by changing its deal, and what the AI-and-robots version might look like.Keep reading →