Anthropic发布GRH Lean形式化证明代码库
Much shorter version of GRH Lean verification from Anthropic
GRH for Dirichlet L-functions, in Lean 4
Dirichlet L-函数的广义黎曼假设,在 Lean 4 中
Research artifact. Not maintained and not accepting contributions.
研究产物。不再维护,不接受贡献。
A Lean 4 proof of the Riemann Hypothesis and of the Generalized Riemann Hypothesis for Dirichlet L-functions, built on Mathlib and using only the axioms propext, Classical.choice and Quot.sound.
基于 Mathlib 构建的 Dirichlet L-函数的黎曼假设与广义黎曼假设的 Lean 4 证明,仅使用 propext、Classical.choice 和 Quot.sound 公理。
The proof is based on Levent Alpöge's, with Claude (https://alpo.ge/remark.pdf). This repository is a shorter version, produced in collaboration with my colleagues at Anthropic, and Claude.
该证明基于 Levent Alpöge 的工作(参见 https://alpo.ge/remark.pdf)。本仓库是与 Anthropic 同事及 Claude 合作产生的精简版本。
Two editions
两个版本
- grh/: readable edition, about 300,000 lines. Start at grh/GUIDE.md.
- grh-compact/: the same five theorems, about 76,000 lines.
- grh/:可读性版本,约 30 万行代码。从 grh/GUIDE.md 开始阅读。
- grh-compact/:相同的五个定理,约 7.6 万行代码。
Each folder is its own Lake project with its own README.
每个文件夹都是独立的 Lake 项目,拥有各自的 README。
Build
构建
Needs Lean v4.35.0 and Mathlib at commit 56a00585. In either folder:
需要 Lean v4.35.0 和 commit 56a00585 版本的 Mathlib。在任一文件夹中:
lake exe cache get
lake build
lake env lean scripts/PrintAxioms.leanA build takes one to two hours on 12 cores with 24 GB of memory (about 85 minutes more if the Mathlib cache is missing).
在 12 核 CPU 和 24 GB 内存环境下,构建耗时一至两小时(若缺少 Mathlib 缓存则多耗时约 85 分钟)。
Status
状态
The proof has passed machine checks only, listed in each folder's README. No mathematician has read it through, and no paper comes with it.
该证明仅通过机器检查,详见各文件夹中的 README。尚无数学家通读全文,也未附带正式论文。
License
许可证
Apache 2.0, Copyright 2026 Anthropic, PBC. See LICENSE, and NOTICE and ATTRIBUTION.md in each folder.
Apache 2.0 许可证,版权所有 © 2026 Anthropic, PBC。请参阅 LICENSE,以及各文件夹中的 NOTICE 和 ATTRIBUTION.md。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力