Levent Alpöge Announces AI-generated Formal Proof of Riemann Hypothesis

On November 20, 2026, Levent Alpöge announced that he used an internal Claude model to generate a formal proof of the Riemann hypothesis, a 167-year-old mathematical problem formulated by Bernhard Riemann in 1859.

The proof consists of 17,374,215 lines of code spread across 175,187 separate files in the Lean programming language, accompanied by an AI-generated sketch text spanning over 250,000 pages. The Lean and Mathlib communities certified the formalization on Saturday after a day of compilation and checks. Andrew Sutherland of MIT and the Lean FRO/Mathlib Initiative verified that all 175,187 modules compiled without errors. Dozens of people reported that they had compiled the library without errors or compilation failures and reproduced the same raw proof export. A community-added test file extracted the statement of the Riemann hypothesis and imported only Mathlib to verify the correct theorem was addressed. The Mathlib library used in the verification contains 818,755 theorems and lemmas. Alpöge presents himself on his page as an Anthropic employee and a junior fellow of the Harvard Society of Fellows. The Riemann hypothesis addresses the distribution of prime numbers on the number line, proposing that their apparent randomness is actually governed by a complex order linked to the zeta function. Because of its central role in number theory, the problem appeared on David Hilbert’s list of 23 mathematical problems in 1900 and among the Clay Mathematics Institute’s seven millennium problems in 2000. Proving the hypothesis automatically establishes the truth of hundreds or thousands of subsequent theorems in number theory and related fields. The result is also important for the development of physics. For mathematics, the stakes also include removing the condition "if the Riemann hypothesis is true" from many known results. Alpöge initially guided the Claude model before the AI outpaced him and led the derivation independently, Miller told Nauka w Polsce. "I believe that together with Claude I discovered the proof of the Riemann hypothesis," reads the first sentence of the four-page note posted on Alpöge's private page. The snag is that instead of a scientific paper there is a short note and a huge package of code, and no one from the outside has confirmed the proof yet. Parallel human efforts unfolded alongside the AI announcement. Alessandro Masullo, an independent Italian mathematician at Stanford University, posted a 940-page draft titled "The Music of the Primes" after working on the problem in isolation for 12 years, choosing to publish his manuscript rather than let the breakthrough be attributed solely to artificial intelligence.

Masullo began searching for a proof of the generalized Riemann hypothesis in his first year of doctoral studies at Stanford University. His former advisor Brian Conrad had read the working manuscript for months and provided comments. They planned further joint work on the text. Before the announcement the manuscript was to be read by additional specialists. Masullo's work had a broader aim, concerning a family of Hecke functions that also includes Dirichlet functions, but another year of work ceased to be relevant. A few hours after Alpöge's announcement the 940-page sketch appeared online. Brian Conrad told The Washington Post that the news of the AI result forced a difficult choice. In ordinary circumstances the author would have had time to correct errors and strengthen the argument before disclosure. "If we say nothing, the belief will solidify that human creativity requires using AI," he explained. The manuscript was shared by Ravi Vakil on the "Math 216" blog connected with his algebraic geometry lectures. "Now it is best to share the current sketch," he wrote, asking other mathematicians to check the argument.

In the manuscript Masullo addressed mathematicians discouraged by the pace and tone of the debate with the words: "We are still here. We live."

Mathematicians now face a lengthy period of analysis to determine whether the machine-generated proof contains radically new mathematical ideas or merely a novel application of existing methods. Meta AI chief Alexandr Wang warned on Sunday on platform X that the achievement marks the "beginning of a significant shift" that could lead to "handing the steering wheel of society to AI." Over time this hypothesis became a reference point for the entire theory of numbers.

We wrote about the significance of this discovery on Wszystko co Najważniejsze in the article "Riemann Hypothesis, one of the seven millennium problems, proven thanks to artificial intelligence." Karl Deisseroth, Peter Hegemann and Georg Nagel received the Nobel Prize in Physiology or Medicine. An expert emphasizes that a formal proof of the Riemann hypothesis is a kind of holy grail for mathematicians. A great breakthrough in mathematics. With the help of an artificial intelligence model it was possible to generate a formal proof of the Riemann hypothesis, the holy grail of mathematicians.