On 21 November 2026, the Lean and Mathlib communities certified that a claimed Riemann hypothesis proof is correct as a machine-checked formal proof. The claim came a day earlier from Levent Alpoge, a mathematician at Anthropic, who says he found the proof working with the company’s Claude AI model over about six weeks. The certification is real and specific: independent checkers confirmed that the 17-million-line Lean code proves exactly the statement mathematicians mean by the Riemann hypothesis. It is not the whole story. No human yet understands the argument, peer review has not begun, and the Clay Mathematics Institute still lists the problem as unsolved.

Key takeaways

  • Alpoge announced on 20 November that he believes he has proved the Riemann hypothesis working with Claude, releasing the proof as 17 million lines of Lean code.
  • On 21 November, the Lean and Mathlib communities certified that both the statement and the proof are correct as a machine-checked formal proof.
  • The checks confirm the code proves the Riemann hypothesis and the generalised version for Dirichlet L-functions. They do not mean mathematicians understand the proof.
  • A rival human-written claim appeared the same day, and it has not been checked.
  • The Clay Mathematics Institute still lists the hypothesis as unsolved, and the 1 million dollar prize has not been awarded.

What Alpoge announced

On Friday 20 November 2026, Levent Alpoge, a mathematician at Anthropic and a number theorist on leave from Harvard University, announced in a four-page note on his own website that he believes he has found a proof of the Riemann hypothesis working with Claude. “I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis,” he wrote.

The work took about six weeks with Claude, and Alpoge was open about how much of it the model did. “Claude far outpaced me near the finish line,” he wrote. “No, Claude flew, and danced, and sparkled near that finish line.” He released the proof only as Lean code, 17 million lines of it. A full written argument would be extremely long, he said, and he has not yet mastered all of the mathematics involved. He plans to write it up properly. He also says the method resolves the generalised Riemann hypothesis, a broader version of the problem.

He consulted Anthropic chief executive Dario Amodei before announcing, and acknowledged that the timing could be viewed cynically. The announcement came one day after Anthropic’s record stock market debut on 19 November. In August, Anthropic had said an unreleased version of Claude improved a long-standing result related to the Riemann hypothesis, while stressing that it had not proved it. The same day, Alpoge and Tristan Buckmaster also posted a 79-page paper claiming a finite-time blow-up result for the Navier-Stokes equations; its Lean formalisation is unchecked, so it is noted here only as an unchecked claim.

What the Lean certification actually checked

On Saturday 21 November, the Lean and Mathlib communities published a joint statement, endorsed by the Lean Focused Research Organization and the Mathlib Initiative. “We have full confidence that Alpöge’s proof of the Riemann Hypothesis is correct, and we congratulate him on this achievement,” it said. “We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct.”

Lean is a proof assistant: a program that checks every logical step of a mathematical argument against the definitions and earlier results it is given. If the code compiles without errors, each step follows. But that alone does not prove the code addresses the right statement, so the communities checked four criteria. First, the statement is correct: the hypothesis as written is Mathlib’s own definition, vetted by experts in Lean and number theory. Second, the library compiles: dozens of people reproduced the compilation with no errors. Third, the code proves the correct statement: a separate file isolates the statement, importing only Mathlib, and two independent tools, comparator and con-leche –compare, confirmed the proved theorem is exactly Mathlib’s statement. Fourth, the proof is valid: the exported proof was checked by Lean’s official kernel, the con-leche and con-ron checkers, and independent checkers written in different programming languages, running on an inert export out of reach of any hypothetical malicious code in the proof sources.

MIT mathematician Andrew Sutherland’s verification page records the numbers: all 175,187 modules compile with zero errors, the five headline theorems depend only on the three standard axioms of Lean, and the Lean kernel replayed every module and rejected none. Two independently written kernels, nanoda and con-leche, accepted the full exported proof, lean4lean accepted every compiled module, and an independent sandboxed rebuild reproduced the exported proof byte for byte. “Honestly the chance that anything is fishy here is approximately zero,” Sutherland said.

The five theorems verified are the Riemann hypothesis itself, the same statement in the submission’s own words, no zeros to the right of the critical line for every Dirichlet L-function, zeros in the critical strip on the critical line for every Dirichlet L-function, and the same for primitive characters, the form in which the generalised Riemann hypothesis is usually stated. A cross-check that does not depend on Mathlib’s definition of the zeta function at all combined the proof with an independent formalisation of Robin’s and Lagarias’s criteria, yielding two theorems about divisor sums that never mention the zeta function. Machine-checked proof is a field in its own right, and earlier formal verification work has already changed how mathematical results are checked.

What the proof covers, and what it does not

Claim Status on 22 November 2026
Riemann hypothesis for the zeta function Certified as a machine-checked formal proof
Generalised Riemann hypothesis for Dirichlet L-functions, every modulus and character Certified as a machine-checked formal proof
Dedekind zeta functions, Hecke L-functions and automorphic L-functions Not among the statements checked
A human-readable argument Does not exist yet
Peer review Not yet begun
Clay Mathematics Institute prize Not awarded; the hypothesis is still listed as unsolved

The generalised version makes the same claim for a whole family of functions called Dirichlet L-functions, not only for the zeta function; the original hypothesis is one case of it. Even stronger versions, the extended and grand Riemann hypotheses, sit beyond what was checked.

Why the problem matters

Bernhard Riemann posed the hypothesis in 1859, and it has defeated mathematicians for 167 years. It concerns the distribution of prime numbers, the whole numbers divisible only by one and themselves, such as 2, 3, 5 and 7. Primes appear scattered along the number line with no obvious pattern, but the hypothesis proposes that their distribution follows a deep, hidden order, encoded in the Riemann zeta function: apart from some obvious but uninteresting cases, all of its zeros lie on a single vertical line.

It is widely regarded as the most important open question in pure mathematics, and one of the seven Millennium Prize Problems selected by the Clay Mathematics Institute in 2000, each carrying a 1 million dollar prize. Hundreds of other mathematical results have been proved assuming the hypothesis is true, so a proof would settle them all at once. The timing adds a note of symmetry: Riemann was born 200 years ago this September.

The result also matters beyond pure mathematics. Kevin Buzzard, professor of pure mathematics at Imperial College London, points out that some algorithms run quickly but are not known for sure to work, and the generalised Riemann hypothesis would confirm that they do. Cryptographers have long worked on the assumption that the hypothesis is true. Prime numbers sit at the heart of modern encryption, and recent work on weaknesses in RSA encryption shows how closely prime-number mathematics and security are tied.

The claim fits a year of AI-driven advances in mathematics: an earlier AI-assisted result showed that at least 67.25 percent of a particular set of values follow the pattern the hypothesis predicts, and in September OpenAI said an AI model had solved the Navier-Stokes Millennium problem, a proof mathematicians say appears correct but is not fully vetted.

What is still missing

The most important gap is understanding. Nobody yet understands the proof. “At the minute, we don’t even know why the theorem is true,” Buzzard told Al Jazeera. “It’s 17 million lines of Lean code, and this might correspond to tens of thousands of pages of mathematics.” He added: “Right now, we honestly can’t tell you, because nobody understands the proof of it. That will change. In a matter of weeks, that will change.”

The full written argument does not exist yet, and Alpoge himself says he has not mastered all of the mathematics involved. No peer review has begun. Under the Clay Institute’s rules, a solution must be published in a peer-reviewed journal and withstand two years of scrutiny. Hours after the announcement, the hypothesis remained listed as unsolved on the institute’s website, and the 1 million dollar prize has not been awarded. Martin Bridson, president of the institute, called it “an announcement of historic significance”, but added: “The journey from today’s announcement to a place of real understanding will be long and difficult.”

The announcement drew criticism too. Andrew Granville, a number theorist at the University of Montreal, called the four-page document “garbled” and said Alpoge should have prepared a clearer write-up, citing the timing days after the stock market debut. Alpoge wrote in his note: “There is an obvious cynical view, to do with the timing, but it is false.” Fields Medal winner James Maynard said: “I suspect that the proof will turn out to be correct,” and added that if it fully checks out, “it is clearly a historic milestone in mathematics”. Abhishek Saha of Queen Mary University of London argued the credit should go to Alpoge, not to the model, saying he should get a Fields Medal for the work.

The rival claim

Hours after Alpoge’s announcement, a second claim appeared. Ravi Vakil, a mathematician at Stanford University, posted online a rival preprint by Alessandro Maria Masullo, a mathematician who received his PhD at Stanford in 2020 under the supervision of number theorist Brian Conrad. Unlike Alpoge’s, the rival proof is entirely human-written.

Vakil called it a “hurried announcement”. “The hope was to have Brian work with Alessandro for a year to polish the writing and then announce it after running it by enough people,” he wrote. “Now it seems best to put out the current draft.” Masullo’s draft has not been checked or confirmed. Two claims now target the same problem on the same day, but only Alpoge’s has a machine check behind it, and neither has been peer reviewed.

Timeline: from 1859 to the Lean certification

Date Event
1859 Bernhard Riemann poses the hypothesis in a paper on prime numbers.
2000 The Clay Mathematics Institute names it one of seven Millennium Prize Problems, with a 1 million dollar prize for each.
20 November 2026 Alpoge announces the Riemann claim; Masullo’s rival preprint appears the same day.
21 November 2026 The Lean and Mathlib communities certify the formal proof.

What happens next

Mathematicians will spend the coming weeks translating the Lean code into a human-readable argument, and Alpoge plans to write up the full proof properly. The Clay Mathematics Institute’s assessment process runs on a much longer clock: peer-reviewed publication, then two years of scrutiny, before any prize decision. A machine-checked Riemann hypothesis proof has been certified by the communities that maintain the tools used to check it. Whether mathematicians will understand it, and whether the field will accept it, is the work of the weeks and years ahead.

FAQ

Has the Riemann hypothesis actually been proved?

The Riemann hypothesis proof has been machine-checked and certified, which is a major step. But no human yet understands the argument, the full written proof does not exist, and peer review has not begun. In the usual sense of a settled result, it has not been proved yet, and the Clay Institute still lists the hypothesis as unsolved.

What is Lean, and why should a computer’s verdict be trusted?

Lean is a proof assistant, a program that checks every logical step of a mathematical argument against the definitions and earlier results it is given. A proof that compiles in Lean has no gaps in its logic. Several independent checkers, written in different programming languages, accepted the same proof, and two tools confirmed the code proves exactly the statement mathematicians mean.

Has anyone won the 1 million dollar prize?

No. The Clay Mathematics Institute offers 1 million dollars for each Millennium Prize Problem, but its rules require a solution to be published in a peer-reviewed journal and to withstand two years of scrutiny. The hypothesis is still listed as unsolved on the institute’s website.

What about the rival proof?

Stanford professor Ravi Vakil posted a human-written preprint by Alessandro Maria Masullo claiming the same result, hours after Alpoge’s announcement. It has not been checked or confirmed, and Vakil himself described the posting as hurried. Neither claim has been peer reviewed.

Does this change internet security or my passwords?

No, not directly. Cryptographers already worked on the assumption that the hypothesis is true, so nothing about everyday encryption changes. It does not break or fix any system you use.

Sources and Further Reading