Full Report
IT Home News, November 22: On November 21, the Lean and Mathlib communities issued a joint statement announcing that Levent Alpöge's proof of the Riemann Hypothesis, presented as a Lean library, has passed verification. The proof's code is approximately 17 million lines. (IT Home note: Lean is an interactive theorem prover that can mechanically verify, line by line, whether mathematical reasoning conforms to logical axioms.)

The statement was jointly issued by the Lean and Mathlib communities and endorsed by Lean FRO and the Mathlib Initiative. The statement says that Alpöge's library depends directly only on Mathlib; over the past day, the Lean and Mathlib communities have participated in verification.
The statement lists four verification criteria and says all of them have been met:
- Correct statement: The statement used in the proof comes from Mathlib's RiemannHypothesis and has been reviewed by Lean and number theory experts;
- Compilable code: Dozens of people have reported successful compilation and reproduced the same original proof export files;
- Proof corresponds to the correct statement: The community added a new file that imports only Mathlib to isolate the statement, then used two independent tools, comparator and con-leche --compare, to compare and confirm that the theorem proved in the library is exactly identical to Mathlib's statement;
- Valid proof: The original export files were checked by multiple proof checkers, including the official Lean kernel, con-leche, con-ron, and third-party checkers implemented in different programming languages.
The statement specifically notes that con-leche and con-ron come with formal proofs relative to set theory, thus guaranteeing that they will not accept incorrect proofs, which also addresses concerns that "Lean's logic itself may have flaws." The above checks were run on lazy export files and are unaffected by potentially malicious code in the source.
The statement concludes by thanking community members who provided resources for verification and expressing anticipation for follow-up work by the mathematical community to explain the new ideas in the proof.
IT Home note: The Riemann Hypothesis was proposed by German mathematician Bernhard Riemann in 1859, positing that the primes, which appear to be randomly distributed along the number line, actually follow complex and meaningful patterns. Since then, the Riemann Hypothesis has become an important guide for the entire field of number theory research and remains one of the most famous unsolved problems in mathematics.

IT Home attaches the original statement and its translation:
黎曼猜想的 Lean 验证
Lean 与 Mathlib 社区的联合声明,由 Lean FRO 和 Mathlib Initiative 背书。 2026 年 11 月 20 日,Levent Alpöge 以 Lean 库的形式发布了黎曼猜想的证明,该库包含 1700 万行代码。 我们完全相信 Alpöge 对黎曼猜想的证明是正确的,并祝贺他取得这一成就。 我们的理由概述如下。 该代码库仅直接依赖 Mathlib。在过去的一天里,Lean 与 Mathlib 社区齐心协力验证该证明的正确性。我们特此证明,黎曼猜想的陈述和证明均是正确的。https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/ 中的四项标准均已满足。
- 黎曼猜想的陈述是正确的。 该陈述是 Mathlib 的一部分:RiemannHypothesis,并已由 Lean 和数论领域的专家仔细审查。
- Alpöge 的库能够正确编译。 到目前为止,已有数十人报告该代码库编译正确,并复现出相同的原始证明导出文件。该库编译无错误,也无构建失败。
- 代码证明的是正确的陈述。 关键在于,社区添加了一个文件,该文件隔离出黎曼猜想的陈述,并且只导入 Mathlib。该陈述已使用两个独立工具( 和 )与 Alpöge 所证明的定理进行比对,两者均确认 Alpöge 库中所证明的定理正是 Mathlib 中黎曼猜想的陈述。comparatorcon-leche –compare
- Lean 证明是有效的。 导出的原始证明已由多个证明检查器检查,包括 Lean 的官方内核、 和 检查器,以及第三方贡献的、用不同编程语言实现的若干独立检查器。检查器 和 附带一个相对于集合论的形式化证明,证明它们无法接受错误的证明,从而回应了有关 Lean 的逻辑本身可能存在缺陷、而该证明可能利用这些缺陷的担忧。详细概述见 https://math.mit.edu/~drew/grh/。这些检查在一个惰性导出的证明上运行,处于 Lean 证明源码中假设性恶意代码无法触及的范围之外。con-lechecon-roncon-lechecon-ron 感谢社区中所有为验证提供资源的人。
We look forward to all the activity in the mathematical community that will help explain the new ideas in this proof.
Lean Verification of the Riemann Hypothesis A 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, presented as a Lean library containing 17 million lines of code. We are fully confident that Alpöge's proof of the Riemann Hypothesis is correct, and we congratulate him on this achievement. Our reasoning is as follows. The codebase depends directly only on Mathlib. Over the past day, the Lean and Mathlib communities have worked together to verify the correctness of the proof. We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct. All four criteria have been met. The statement of the Riemann Hypothesis is correct. The statement is part of Mathlib and has been carefully reviewed by experts in Lean and number theory. Alpöge's library compiles correctly. Dozens of people have now reported that the codebase compiles correctly, and have reproduced the same original proof export file. The library compiles without errors, and there are no build failures. The code proves the correct statement. Crucially, the community added a new file that isolates the statement of the Riemann Hypothesis and imports only Mathlib. This statement was compared against the theorem proved by Alpöge using two independent tools (comparator and con-leche --compare), and both confirmed that the theorem proved in Alpöge's library is precisely Mathlib's statement of the Riemann Hypothesis. The Lean proof is valid. The exported original proof has been checked by multiple proof checkers, including the official Lean kernel, the con-leche and con-ron checkers, and several independent checkers contributed by third parties and implemented in different programming languages. con-leche and con-ron come with formalized proofs relative to set theory showing that they cannot accept an incorrect proof, thereby addressing the concern that "Lean's logic itself might be flawed and could be exploited by this proof." These checks were run on the lazy export file of the proof, so they do not come into contact with any malicious code hypothetically present in the Lean proof source. We look forward to the mathematical community's upcoming work to help explain the new ideas in this proof.