黎曼猜想的 Lean 验证 - ……的联合声明
Lean verification of the Riemann Hypothesis

原始链接: https://leanprover-community.github.io/blog/posts/riemann-hypothesis/

Lean 和 Mathlib 社区认证 Levent Alpöge 的 1700 万行 Lean 证明黎曼猜想正确。该陈述与 Mathlib 的 RiemannHypothesis 一致,库可编译,并使用独立工具比较了定理。导出的证明经 Lean 内核及包括 con-leche 和 con-ron 在内的多个独立检查器检查,其可靠性相对集合论已形式化建立。验证使用惰性导出,将其与证明源代码隔离。社区感谢贡献者,并期待进一步的数学阐述。

Hacker News 讨论了黎曼猜想的 Lean 验证。该证明使用 Mathlib 长期审查过的陈述,并通过了多个独立 Lean 内核(包括形式化验证的 con-leche 和 con-ron)以及比较器检查,使得内核利用漏洞的可能性极低。专家普遍认为该结果已有效证明,尽管 ZFC 或类型论不一致等基础性风险仍然存在。形式化规模巨大——约 1700 万行——且由 AI 辅助,引发了关于可理解性、实用性、对 Levent Alpöge 等数学家的署名、资金以及后续是否会有人类可读简化版本的争论。评论者还提到 Alessandro Masullo 单独的、仍不完整的证明,以及形式化数学的更广泛影响。有些人质疑该证明在被提炼之前是否能产生新见解,而另一些人强调 Lean 验证超过了典型的同行评审严格程度。
相关文章

原文

Joint statement by the Lean and Mathlib communities, endorsed by the Lean FRO and the Mathlib Initiative.

On November 20, 2026, Levent Alpöge released a proof of the Riemann Hypothesis as a Lean library comprising 17 million lines of code.

We have full confidence that Alpöge's proof of the Riemann Hypothesis is correct, and we congratulate him on this achievement.

Our rationale is outlined below.

The codebase depends directly only on Mathlib. Over the past day, the Lean and Mathlib communities have rallied to verify the proof's correctness. We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct. The four criteria in https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/ are all satisfied.

  1. The statement of the Riemann Hypothesis is correct. This statement is part of Mathlib: RiemannHypothesis and has been carefully vetted by experts in Lean and number theory.
  2. Alpöge’s library compiles correctly. By now, dozens of people have reported correct compilation of the codebase, reproducing the same raw proof export file. The library compiles without errors or build failures.
  3. The code proves the correct statement. Crucially, the community has added a file that isolates the statement of the Riemann Hypothesis and imports only Mathlib. That statement was compared against the theorem proved by Alpöge using two independent tools (comparator and con-leche –compare), both confirming that the theorem proved in Alpöge’s library is exactly Mathlib’s statement of the Riemann Hypothesis.
  4. The Lean proof is valid. The exported raw proof has been checked by several proof checkers, including Lean’s official kernel, the con-leche and con-ron checkers, and several independent checkers contributed by third parties and implemented in different programming languages. The checkers con-leche and con-ron come with a formal proof, relative to set theory, that they cannot accept a false proof, thus addressing concerns that Lean’s logic itself might have flaws that the proof could exploit. An extensive overview is available at https://math.mit.edu/~drew/grh/. These checks ran on an inert export of the proof, out of reach of hypothetical malicious code in the Lean proof sources.

Thanks are owed to everyone in the community who provided resources for the verification.

We look forward to all the activity in the mathematical community that will help explain the new ideas in this proof.

联系我们 contact @ memedata.com