---
title: "Lean Community Endorses via \"Formal Verification\": Trusts Anthropic Mathematician's Proof of the Riemann Hypothesis"
type: "News"
locale: "en"
url: "https://longbridge.com/en/news/306381752.md"
description: "The Lean community and Mathlib have jointly confirmed that the formal proof of the Riemann Hypothesis, completed by Anthropic mathematician Levent Alpöge using the AI model Claude, is valid. Although skepticism arose due to the timing coinciding closely with an IPO and the massive volume of code, both parties expressed confidence in the proof's correctness after 24 hours of quadruple formal verification. While machine verification is complete, at least two years of public scrutiny are required before contending for the Clay Mathematics Institute's prize"
datetime: "2026-11-22T03:18:42.000Z"
locales:
  - [zh-CN](https://longbridge.com/zh-CN/news/306381752.md)
  - [en](https://longbridge.com/en/news/306381752.md)
  - [zh-HK](https://longbridge.com/zh-HK/news/306381752.md)
generator: "portal-rs"
---

# Lean Community Endorses via "Formal Verification": Trusts Anthropic Mathematician's Proof of the Riemann Hypothesis

On November 21, the open-source formal verification communities Lean and Mathlib issued a joint statement confirming that Anthropic mathematician Levent Alpöge’s proof of the Riemann Hypothesis is valid. The two organizations jointly endorsed the result, stating:

> “We have full confidence that Alpöge’s proof of the Riemann Hypothesis is correct.”

On November 20, the day after Anthropic’s listing, Alpöge announced that he had collaborated with the AI model Claude to find proofs for the Riemann Hypothesis and the Generalized Riemann Hypothesis, releasing over 17 million lines of Lean source code. Because the text-based proof exceeded 250,000 pages and was difficult to read, it was not made public. Coupled with the announcement’s proximity to the IPO, outsiders initially doubted its authenticity and suspected commercial motives, with odds on prediction platforms reflecting market divergence.

Twenty-four hours later, the Lean community provided a computer-grade response through quadruple formal verification. However, machine verification and human understanding of the proof are two different matters—the verification chain even included a kernel written by Claude, and some final tests were not yet complete. To claim the Clay Mathematics Institute’s $1 million prize, the proof must still undergo at least two years of public scrutiny.

## Verifying 17 Million Lines of Code in 24 Hours: How Lean Validates Truth and Where Its Boundaries Lie

Traditional mathematical breakthroughs rely on peers reviewing papers one by one to determine if each step of reasoning holds. But faced with a proof draft exceeding 250,000 pages that no one could read through in the short term, the formal verification software Lean became the mathematics world’s fastest “notary office.”

Lean was founded by Brazilian computer scientist Leonardo de Moura in 2013, initially developed at Microsoft Research, and later continued at Amazon Web Services (AWS). The rewritten version, Lean 4, was launched in 2021 and is now supported by Lean FRO. In this programming language and proof assistant, mathematicians must write every definition, prerequisite conclusion, and reasoning step into computer-readable code, allowing the program to verify the logical rigor step by step.

Its community-shared mathematics library, Mathlib, started in 2017 and has now grown to over 1 million lines. The documentation even includes a footnote regarding the Riemann Hypothesis, stating that constructing its proof is “worth a million dollars.” Lean verified Peter Scholze’s proof in condensed mathematics in 2021, assisted Terence Tao in formalizing the proof of the polynomial Freiman-Ruzsa conjecture in 2023, serves as the underlying tool for Google DeepMind’s AlphaProof, and is used for verifying Amazon’s Cedar policy language and Rust code.

However, code that compiles successfully does not mean the Riemann Hypothesis has been conquered. Mathematician Kit Yates pointed out in a Substack column that while Lean verification is far more rigorous than having another AI judge it, experts must still confirm three additional points: that the code proves the Riemann Hypothesis rather than a weaker proposition, that the definitions faithfully reproduce standard objects such as the ζ function, and that no extra assumptions are smuggled into the reasoning. The Lean language reference manual also warns that the system cannot check whether new axioms are consistent, and one must be wary of the placeholder `sorry`, which can “prove anything.”

The Lean community dared to make a decision within a day because Alpöge’s codebase passed all four hard standards proposed by Kevin Buzzard, a mathematician at Imperial College London, on November 12.

The first hurdle was checking the “problem statement.” The codebase depends directly only on Mathlib, and the theorem proved points to the standard definition of `RiemannHypothesis` built into Mathlib: among all complex numbers where the ζ function is zero, except for trivial zeros like -2, -4, and -6, the real parts are all 1/2. This definition has been repeatedly verified by Lean and number theory experts.

The second hurdle was independent reproduction. This codebase, split into 14 compressed files and covering 175,187 modules, has extremely high computational requirements. A single person would need approximately 100GB of memory and 70GB of hard drive space to verify it completely. Andrew Sutherland, a mathematician at MIT, independently completed an error-free compilation using Lean and Mathlib v4.33.1, with Mathlib files consistent with the official cache. The joint statement showed that dozens of people had reproduced the compilation, generating identical raw proof export files totaling 61.6GB.

The third hurdle concerned “black box operations.” The community created isolated files that imported only Mathlib and used two tools, `comparator` and `con-leche --compare`, to compare them. Both confirmed that the proposition proved by Alpöge matched the original Mathlib definition exactly. In the axiom review, Sutherland ran the `#print axioms` command on five theorems in the main file `Main.lean`. The results showed they relied only on three core axioms out of Lean’s seven standard axioms—`propext`, `Classical.choice`, and `Quot.sound`—without any `sorryAx`, and all originated from the core library. “The probability of there being something fishy here is close to zero,” Sutherland told Scientific American.

The final hurdle targeted the verification software itself. The official Lean kernel has historically had reliability vulnerabilities, which were fixed within 4 hours of discovery. Mathematician Elliot Glazer estimated the probability of Lean itself having vulnerabilities at less than 1%. To isolate potential malicious code in the source and avoid defects in a single kernel, the community skipped the source code and directly handed the 61.6GB lazy export file to multiple independent kernels in different languages for cross-verification.

In addition to the official Lean kernel and `leanchecker` and `lean4lean`, which fully released all 175,187 modules, the third-party kernel `nanoda`, written in Rust, accepted the full export in 27 minutes and 42 seconds. `con-leche` reviewed 1.468 million declarations in just 3 minutes and 15 seconds, rejecting none; `con-ron` also passed. `con-leche` and `con-ron` themselves come with formal consistency proofs relative to set theory, ensuring mathematically and logically that they cannot accept incorrect proofs.

The validity of the verification is already reflected in specific mathematical deductions. Combining existing formal results, Sutherland’s page confirmed that Robin’s inequality and Lagarias’ inequality regarding the sum of divisors of integers have been deduced from this proof, relying again on only the three standard axioms. In 1984, French mathematician Guy Robin proved that for any integer n greater than 5040, the sum of all its divisors is less than . This intuitive proposition is completely equivalent to the Riemann Hypothesis—where γ is the Euler-Mascheroni constant, and e^γ is approximately 1.78.

However, comparing the Lean joint statement with Sutherland’s MIT verification page, there are still a few technical boundaries that have not been fully closed.

Although the Lean joint statement announced that both `comparator` and the official kernel had passed, it did not publish specific tool versions or detailed output logs. As of 12:55 UTC on November 21, Sutherland himself had completed the proposition comparison and axiom check for the end-to-end `comparator` run on Lean v4.36.0, but the kernel phase was still ongoing, and results for the default and strict Lean kernels were not yet available. His previous builds and exports were not completed in a sandbox and still await comparison with sandbox build results. Regarding the older versions of `con-leche` and `con-ron` bundled with Lean v4.36.0, which do not support a type return in the proof and exit with code 2, Sutherland’s page noted that this does not mean the proof was rejected.

There is also a discrepancy in the scope of the proof. On November 20, Elliot Glazer stated that the formalized proposition was actually the Generalized Riemann Hypothesis. Sutherland’s page was more cautious: the main theorem is the Riemann Hypothesis as defined by Mathlib, while the other four theorems target Dirichlet L-functions, and the page mentions “GRH” only in this limited sense. Sutherland also reminded that even if the axiom check is correct, the final conclusion presupposes that the Mathlib definition is faithful to the mathematical intent and that the verification kernel itself is reliable.

## From Proof to “Grading”

Looking behind the scenes, Claude’s presence permeated multiple stages from proposing the proof to participating in the “grading.”

According to the research timeline attached by Alpöge, this work began on October 6 with the “Stepanov determinant” and was completed late on the night of November 15 to the early hours of November 16 (local time), with only the letters “GRH” remaining in the record for November 16. This timeline was reportedly organized by Claude. Alpöge stated that he was responsible for pointing out the direction, and Claude subsequently proposed the breakthrough step—a “theta lift” chain with a length approximately equal to the square root of the sum of defined primes, where each lift corresponds to “multiplicity,” which relies on classical function field arguments but is extremely difficult to find in the integer domain. “Near the finish line, Claude far surpassed me. No, Claude was simply flying, dancing, and shining near the finish line,” he wrote in the statement.

During the verification phase, Claude was still present. The signature at the beginning of Sutherland’s verification page shows that the entire check was run via Claude Code. Furthermore, `con-leche`, which reviewed 1.468 million declarations in 3 minutes and 15 seconds, was introduced last month by Lean founder Leonardo de Moura in a blog post as the first kernel written in Lean and proven to be consistent—the code and consistency proof were both completed by Claude, with strict oversight by Joachim Breitner of Lean FRO. Because there is a formal consistency proof as a safety net, and the final results are consistent with multiple third-party independent kernels such as the Rust kernel `nanoda`, the credibility of the verification does not depend on a single tool.

This pace of progress exceeded Anthropic’s own expectations from three months ago. In August this year, the company published research results using an unreleased version of Claude in combination with Lean, raising the lower bound of the proportion of critical online zeros from 41.6% to 67.2%, which passed the `comparator` test. At that time, Anthropic explicitly stated that it did not expect these techniques to ultimately prove the Riemann Hypothesis.

Achieving this leap in just three months coincided precisely with the sensitive window following the IPO on November 19. In his statement, Alpöge voluntarily admitted that “the precise timing was very poor,” revealing that he had asked Anthropic CEO Dario Amodei if it could be made public after completion, and “eventually we figured out that there were indeed restrictions to comply with.” He denied negative speculation about the timing of the release, calling such “obviously cynical views” incorrect, and admitted that he “really couldn’t wait any longer,” willing to bear full responsibility.

## Public Frenzy and Academic Restraint

At 23:12 Beijing time on November 21, the official Lean announcement was posted on social platform X, quickly sparking discussion in the tech circle and mainstream academia.

Sentiment in the AI community boiled over rapidly: AI researcher Shunyu Yao posted as early as the evening of the 20th, exclaiming, “OMG, Riemann Hypothsis?!” After the official statement was released, AI news author Rohan Paul summarized it as “After 167 years, the Riemann Hypothesis has finally been completed by AI,” while the comment account Dr Singularity lamented, “What a time to be alive.” Netizens also dug up an old post from OpenAI CEO Sam Altman on X from 2022, where he half-jokingly asked, “When will the Riemann Hypothesis be solved?” teasing that “Anthropic beat you to it.”

The wording of mainstream scholars was noticeably more restrained. In the early morning of November 21, before the official Lean joint statement was released, Brian Greene, Professor of Mathematics and Physics at Columbia University, posted introducing that AI “may have conquered the Riemann Hypothesis, which stands above all problems,” but used reserved language as it was not his own independent verification. Alex Kontorovich, Chair of the Mathematics Department at Rutgers University, although increasingly optimistic about the success of the proof, merely reposted Quanta Magazine’s report on Alpöge’s statement on X that day.

Regarding credit attribution, academia also refused to simplify this to “AI solving the problem alone.” A mathematics and AI researcher at Princeton University emphasized that human participation remains the best way to use large language models to solve mathematical problems, and Alpöge should receive recognition equal to that of Claude. After independent compilation passed, Sutherland also called this a “victory for humanity.”

A more tricky reality is that machines have verified it, but humans still cannot understand it. Thomas Bloom, a mathematician at the University of Manchester, stated bluntly on X that he was unsure what shocked him more: AI claiming to have proved the Riemann Hypothesis, or AI generating a proof that, when converted into human-readable text, exceeds 250,000 pages and is logically coherent.

Terence Tao, winner of the 2006 Fields Medal, gave a preliminary judgment on his personal blog: this proof seems to comprehensively apply modern research results from the Langlands program and arithmetic geometry, and verification and digestion will take time. “Fortunately, this time, there is at least one human author to communicate with.”

Next, dismantling and simplifying this massive proof will become the core task for the mathematics community. The Lean and Mathlib communities stated at the end of their declaration that they look forward to the mathematics community’s subsequent work elucidating the new ideas in this proof. Alpöge himself predicted that this astonishingly voluminous proof “will likely be significantly simplified, and this may be achieved quite soon.”

Even though computers have given an affirmative answer, the formal coronation by the mathematics community must still cross long institutional thresholds. According to the rules of the Clay Mathematics Institute, the $1 million prize for Millennium Prize Problems requires the solution to be formally published, undergo at least two years of public scrutiny, and gain universal recognition from the international mathematics community.

For Alpöge, what he calls “a dawn of something greater in the scientific field” is still years away from being truly settled.

Risk Warning and Disclaimer

The market carries risks, and investment requires caution. This article does not constitute personal investment advice, nor does it consider the specific investment objectives, financial status, or needs of individual users. Users should consider whether any opinions, viewpoints, or conclusions in this article align with their specific circumstances. Investment based on this content is at the user's own risk.

### Related Stocks

- [AMZN.US](https://longbridge.com/en/quote/AMZN.US.md)
- [GOOGL.US](https://longbridge.com/en/quote/GOOGL.US.md)
- [MSFT.US](https://longbridge.com/en/quote/MSFT.US.md)

## Related News & Research

- [Dukhan Bank Signs Agreement With Anthropic To Build Enterprise AI Capability With Claude](https://longbridge.com/en/news/306579917.md)
- [SoSoValue: SSI Protocol launches the Anthropic Believers Index Token - 26 Nov 2026](https://longbridge.com/en/news/306916052.md)
- [OpenAI, Anthropic and rivals seek AI agent rules to prevent commerce chaos](https://longbridge.com/en/news/306399445.md)
- [Blame game emerges after Anthropic's IPO market value plunge - WSJ](https://longbridge.com/en/news/306393740.md)
- [Seaport Global initiates coverage of Anthropic at Neutral](https://longbridge.com/en/news/306260890.md)

---
> **Disclaimer: This article is for reference only and does not constitute any investment advice.**