A Riemann Hypothesis Proof Arrives as Code, and the Software Keepers Say They Believe It

Levent Alpöge, a researcher at Anthropic, spent months on a project with an unusual shape for a mathematician: instead of a paper, he produced a body of code. On Saturday, the volunteers who maintain the software that checks such code said they had gone through it and found nothing that stopped them from believing the result.

The result is a proof of the Riemann hypothesis, the best known open problem in number theory. The endorsement came in a joint statement issued on Nov. 21 by Lean’s community leaders and the maintainers of its mathematics library, with backing from Lean FRO and the Mathlib Initiative. The proof was formalized in Lean, runs to about 17 million lines, and the community said it compiled the whole thing and audited it for hidden assumptions.

Here is why that should matter to people who will never read a proof. The hypothesis, if true, controls how the prime numbers are spaced out, and primes underwrite the encryption that protects bank transfers, medical records and phone calls. A proof would not break any cipher. It would settle a question that shapes error bounds used across cryptography, signal processing and the analysis of algorithms, and it would do so in a form a machine has checked.

Lean is best understood as a compiler for arguments. A user writes a statement and a chain of steps; the software verifies that each step follows from the ones before it and from the rules of mathematics the library already accepts. If the file compiles, the steps are valid. What compilation cannot tell you is whether the sentence at the top is the sentence you meant.

The community’s review covered two separate jobs. The first is compilation: does the whole body of code build, with no gaps left as placeholders and nothing asserted without support. The second is an axiom audit, which looks for assumptions imported as shortcuts. A proof that compiles but leans on an unproven claim proves nothing at all.

Both jobs passed, according to the statement. That is a narrower claim than peer review and, in one respect, a stronger one: a referee reads a paper and forms a judgment, while a compiler checks every step at once and never gets tired.

“Fully believe” is the community’s phrase, and it is careful language. Mathematicians who work with formalization say the exposed point in any such effort is the translation at the start, where an English statement becomes a statement in code. A machine-checked proof of a slightly different claim is still a machine-checked proof, and the difference lives in definitions rather than in the checking.

Others point at the size of the artifact. At 17 million lines, no single reader has seen the whole thing. The trust being extended is trust in a process: definitions built up over years, review habits in a small community, the rules of the compiler, and the handful of people able to read the statement at the top.

The history is long. Bernhard Riemann raised the question in 1859, noticing that the distribution of primes depends on where a particular function equals zero, and conjectured that every zero of interest sits on one vertical line. The Clay Mathematics Institute has offered $1 million for a proof since 2000, and nothing has collected it.

Machine-checked mathematics is not new: the four color theorem was settled with computer assistance in 1976 and formalized two decades later. Thomas Hales finished a formal check of his proof of the Kepler conjecture in 2014. A formalization of Peter Scholze’s liquid tensor experiment was completed in 2022. Each of those moved verification closer to ordinary practice.

What is new is where this one came from. AI laboratories have spent several years using competition mathematics as a benchmark, and formal proof appeals to them because the score is not a matter of opinion. A company that can point to a compiled proof holds evidence that does not depend on a reviewer’s mood or a leaderboard’s rules.

Credit is the awkward part. A proof of this length rests on libraries assembled by hundreds of contributors over more than a decade, on notation invented by other people, and on tactics that automate routine steps. Formal mathematics distributes authorship in ways that citation practice was not built to describe.

Journals have no settled procedure for a submission that arrives as a repository. A referee can read the statement and the surrounding argument; the code is checked by software. Some editors now ask for a formal version alongside a paper. None has published a rule for a case in which the formal version is the paper.

A verified proof is also not an explained one. The reason the argument works, the idea that made it possible, still has to be written down by a person, and that account is what most mathematicians will read and teach. Verification certifies the result without transferring the understanding.

For now the facts are the statement and the code that carries it. Alpöge’s proof exists as a file set that compiles, endorsed by the people who maintain the tools that read it. Whether the field accepts it is a slower question, answered in seminars and referee reports rather than by a compiler.

Related Posts

  • November 26, 2026
  • 33 views
A Governance Question Lands on Nvidia’s Rating

S&P Global Ratings did not cite demand, margins or the cash on the balance sheet. On Nov. 25 the agency placed Nvidia’s AA long-term issuer credit rating on negative credit…

  • November 26, 2026
  • 98 views
The Five-Year Memory Contract

For most of the past decade a memory order began with a phone call. Samsung Electronics, SK Hynix and Micron Technology sold DRAM and NAND into a market that reset…