EnglishРусский中文EspañolDeutsch
Independent world news

Riemann hypothesis proof: a 17-million-line answer nobody can yet read

A claimed Riemann hypothesis proof, built by Anthropic mathematician Levent Alpöge with the company's Claude model, has passed every machine check thrown at it. Yet no mathematician can say why it works, and the Clay Institute has not decided whether it can win the $1m prize. Here is what is settled, what is disputed and what to watch.

Riemann hypothesis proof: a 17-million-line answer nobody can yet read
Photo: Unknown authorUnknown author / Wikimedia Commons, Public domain

The note that went up on Levent Alpöge's personal website on 20 November ran to four pages. The Riemann hypothesis proof it pointed to ran to 175,187 computer files and about 17 million lines of code. "I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis," wrote Mr Alpöge, a number theorist on the technical staff of Anthropic, the American AI company. Within a day, the two organisations that maintain the Lean proof assistant and its mathematical library said they had "full confidence" that he was right.

Twelve days on, the people who hold the purse are less sure what to do. Martin Bridson, president of the Clay Mathematics Institute, which has offered $1m for a proof since 2000, told the BBC on 2 December: "The conversations are ongoing. We haven't decided." The rules of the prize, he said, "were drawn up in a pre-AI era."

The stakes go well beyond one cheque. Bernhard Riemann posed his conjecture in 1859: every non-trivial zero of the zeta function, he guessed, lies on a single vertical line in the complex plane, the "critical line" with real part 1/2. If true, it pins down how regularly the prime numbers are scattered among the integers. The Clay Institute notes that the hypothesis has been checked for the first 10 trillion zeros, yet for 167 years nobody could show that it holds for all of them. Hundreds of published results begin with the words "assuming the Riemann hypothesis". A valid proof would turn them into theorems at a stroke.

It also lands at a delicate moment for the discipline. In September OpenAI announced a claimed solution to the Navier-Stokes problem, another of the seven Millennium Prize questions. On 6 October it released hundreds of machine-written manuscripts, among them a proof of a weaker "quasi-Riemann" statement. Mathematicians are being asked to judge results faster than they can absorb them. The Alpöge claim is the sharpest test yet of a question the field has never had to answer: does a computer-checked proof that no person understands count as mathematics?

What the Riemann hypothesis proof actually claims

The claim is broader than its headline. According to Michael Rubinstein of the University of Waterloo, who maintains a public page tracking the verification, Mr Alpöge's files prove both the classical hypothesis and the Generalised Riemann Hypothesis for Dirichlet L-functions, a family of cousins of the zeta function that govern how primes fall into arithmetic progressions. The proof exists only in Lean, a programming language in which every logical step must be justified down to the axioms before the software will accept it.

Mr Alpöge has explained why there is no conventional paper. "The argument is incredibly long," he wrote, and his attempts to have it rendered in English "hit 250,000+ pages", which he said it would be "obviously inappropriate" to post. John Baez, a mathematical physicist who has written a widely read survey of the week's claims, says the argument "transplants Stepanov's proof from finite fields to number fields and uses heavy machinery from automorphic forms". Put simply, it takes a method that already worked for an analogue of the hypothesis in a simpler setting, the world of finite fields where André Weil and later Pierre Deligne settled the question in the 20th century, and forces it to work for ordinary whole numbers.

How the labour was split between man and machine is not documented in detail. According to the BBC, Mr Alpöge has been open about Claude's role and says the model often outpaced him. He told reporters he had not mastered all of the mathematics in the argument himself, SBS News reported.

A proof that passes every machine check

On 21 November the Lean Focused Research Organization and the Mathlib Initiative published a joint statement: "We have full confidence that Alpöge's proof of the Riemann Hypothesis is correct." Their verdict rested on four tests. The statement being proved is Mathlib's own definition of the hypothesis, vetted in advance by specialists in Lean and number theory. The library compiles without errors, and dozens of people reported reproducing the build. Two separate comparison tools confirmed that the final theorem is exactly that standard statement. And the exported proof was run through several independent checkers, including two that come with their own formal guarantee that they cannot accept a false proof.

Independent checks followed. Mr Rubinstein reported that all 175,187 modules compiled and that the five headline theorems depend only on Lean's three standard axioms. An independent checker called nanoda went through 1,484,729 declarations. On 25 November Luke Sernau, an Anthropic researcher, released a slimmed-down proof of the same five theorems: about 76,000 lines in a compact edition and 300,000 in a "readable" one, a cut of more than 99%. Andrew Sutherland of MIT and Mr Rubinstein confirmed it the next day; in Mr Rubinstein's run, the strictest comparison mode was accepted by all six kernels after five hours.

That has moved many sceptics. "The Lean-formalized proof of the Riemann hypothesis is exceedingly likely to be correct," wrote the mathematician Daniel Litt, before adding: "No human understands it yet." James Maynard, an Oxford number theorist and Fields medallist, told Britain's Science Media Centre: "I suspect that the proof will turn out to be correct, although even checking the lean verification will take some time." If it holds, he said, "it is clearly a historic milestone in mathematics." Thomas Prellberg of Queen Mary University of London was blunter. "Is it likely to be correct? My personal judgement is yes." Then: "Nobody knows yet."

Why "correct" is not the same as "understood"

The doubters mostly do not dispute the code. They dispute what the code can tell anyone. "This is certainly an interesting claim, but at the moment it is just a claim," said James Davenport of the University of Bath. "To me, this is more like the announcement of a forthcoming book than the book itself." His Bath colleague Kit Yates seized on Mr Alpöge's wording: "That 'believe' is doing some lifting." Proof assistants, he noted, "are exceptionally good at checking logic, but they check the proposition they have been given."

Kevin Buzzard of Imperial College London, one of Lean's best-known champions in mathematics, put the gap most starkly in remarks reported by Al Jazeera: "At the minute, we don't even know why the theorem is true."

Attempts to translate the code show how far there is to go. Mr Rubinstein has posted a 265-page companion paper that reduces the zeta-function case to thirteen hypotheses stated in classical terms, none of which it proves outright. A 45-page outline of the shorter proof says its three main theorems "rest on the formal proof". Both are labelled works in progress. Melissa Lee of Monash University wrote in The Conversation that mathematicians generally agree a Lean formalisation alone is not enough to confirm a proof in the traditional sense. A non-peer-reviewed paper on PhilArchive by Jenny Lorraine Nielsen argues that the proof is invalid; none of the teams that have published verification results has reported a fault.

250,000 pages, a joke and a race

The rollout did not help. The "250,000+ pages" line became shorthand for what critics call "math slop"; Gary Marcus, a prominent sceptic of the AI industry, called the length "hardly elegant". On 23 November Mr Alpöge wrote on X that "250,000+ pages was a joke guys!" and added "Mea culpa". He has also called his own Lean code "full of garbage", while stressing that it compiles. Scott Armstrong of Sorbonne University noted that asking a machine to translate Lean into prose "could multiply the page count by 10".

The timing raised eyebrows too. Mr Alpöge consulted Dario Amodei, Anthropic's chief executive, before announcing, and acknowledged that the timing "could be viewed cynically", SBS News reported. The company is in open competition with OpenAI for mathematical firsts. OpenAI's October release included the quasi-Riemann result, which shows that zeros keep away from the edges of the critical strip without pinning them to the centre line. Jared Duker Lichtman of Stanford told Quanta Magazine it was "the most significant AI-for-math achievement so far, by quite a margin". Maksym Radziwiłł of New York University called the papers "horribly written (in a way that would lead to immediate rejection at any mathematical journal)". Mr Prellberg pointed to OpenAI's subsequent withdrawal of several claimed results from that release as a reason for caution.

Few now dare predict the limits. When Quanta asked in October whether the full hypothesis was any closer, Will Sawin of Princeton suggested it might still feel as distant as before. Thomas Bloom of the University of Manchester was less sure: "we would have said the same about quasi-RH a few weeks ago! At this point nothing would surprise me." Five weeks later, the full claim arrived.

The human proof that arrived the same day

In an odd coincidence, 20 November also produced a rival. Ravi Vakil of Stanford, president of the American Mathematical Society, posted a "hurried announcement" of a 940-page manuscript by Alessandro Maria Masullo, titled The Music of the Primes, which also claims the Generalised Riemann Hypothesis. Mr Vakil described it as all human, with no AI. Within hours, readers reported problems.

A volunteer project formalising the manuscript in Lean, with about ninety contributors, reported in late November that all of its target theorems rest on a single unproved statement about the cancellation of zeros outside the critical strip, which it describes as equivalent to the main claim itself. It lists 293 statements it found to be false as printed and says Mr Masullo is working with the project. Mr Baez, who calls the manuscript "openly a draft", cautions that the objections "may turn out to be fixable or mistaken", and argues that "even if one of these proofs turns out to be right, it won't make the other one redundant", because the two rest on completely different ideas.

The contrast could hardly be sharper: a human proof that people can read but machines cannot yet confirm, set against a machine proof that checks out but people cannot yet read.

Who gets the $1m Millennium Prize?

Under rules adopted by its board on 26 September 2018, the Clay Institute does not accept direct submissions. Before it will even consider a solution, three conditions must be met: the work must appear in a "qualifying outlet", at least two years must have passed since publication, and it must have won "general acceptance in the global mathematics community". A 17-million-line code archive fits none of those categories neatly. Even on an optimistic timetable, with a written account published in 2027, no decision could come before 2029.

Then there is authorship. Mr Bridson's "pre-AI era" remark concedes that the rules never imagined a co-author that is software owned by a company. He had earlier called the announcement one "of historic significance" while stressing that understanding it would take a lot of work, according to SBS. Peter Sarnak of Princeton, who is repurposing a course to study OpenAI's quasi-Riemann proof, told Quanta he would not regard that result as "a Theorem" until humans had checked the details. The same standard will now be applied, at far greater scale, to Mr Alpöge's work. OpenAI, for its part, has said it will not claim the Navier-Stokes prize.

Scenarios: what happens next

The first scenario, the one most experts quoted so far consider likeliest, is that the formal proof holds. Mathematicians then spend months or years digesting it, Mr Alpöge or others produce a readable account, and a journal publishes it. The Clay clock starts, and the argument shifts to whether a human-machine partnership can be a laureate. Mr Maynard has warned that gaining real understanding "will require quite a lot of work".

The second is that a flaw turns up not in the logic but in the translation: a definition in the library that subtly differs from what mathematicians mean. The verifiers say they have closed that door by matching the final theorem against Mathlib's pre-vetted statement with two independent tools. It remains the residual risk that Mr Yates and Mr Davenport keep pointing to.

The third is that the proof is right but stays opaque. The code keeps shrinking, yet no conceptual story emerges. Mathematics would then have its first great theorem that is accepted without being understood, and the prize could sit in limbo, because "general acceptance" is a human judgement that no compiler can supply.

For Mr Masullo the question is narrower: can the central gap be closed? If not, the human challenger falls away. If it can, the field gets two proofs by unrelated routes, which would be the strongest confirmation of all.

The markers are concrete. Watch for the written account Mr Alpöge has promised, in which he says he will try "to understand and impart understanding of this argument and its certain simplifications, to speak about it, to write it properly". Watch whether the shortened proof is absorbed into Mathlib, which would place it under permanent community maintenance. Watch the formalisation project's tracker for the gap in Theorem 12.5.1.1 of Mr Masullo's manuscript, and the Clay Institute for any ruling on machine collaborators. The date that matters most has not yet been set: the day the proof appears in a qualifying publication. Only then does the two-year countdown to the $1m begin.

This article is for information purposes only and does not constitute investment advice.

Riemann hypothesis proofRiemann hypothesis solvedAlpöge Riemann hypothesisLean proof Riemann hypothesisMillennium Prize Riemann hypothesisClay Institute $1 million prize
More in Analysis