Poincaré conjecture: the Lean proof, cleaned up together
The 2026 Lean proof of the Poincaré conjecture after Morgan and Tian, 3 million lines, cleaned up together: smaller, faster to build, more readable, the theorems unchanged

docs: reconcile the sizes bullet with the progress table
Browse filesNames the scope and commit of the table's counts, points the launch note at KNOWN.md, and dates the running build row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
ci/docs
Details
+5 −4 README.md View file
| @@ -34,14 +34,15 @@ What to keep in mind when you read that table: | ||
| 34 | 34 | - **The Lean does not always follow the book.** The authors: "the Lean proofs produced by the agents do not always |
| 35 | 35 | follow the same route as the reference". About 48% of the source is background theory, by their count. |
| 36 | 36 | - **Section 19.2 of the book was corrected in 2015.** A citation of it says which version it read. |
| 37 | -- **Sizes depend on what is counted.** 3,060,326 lines in 23,555 files; 2,522,977 lines of code without blanks and | |
| 38 | - comments. The announcement's "3.2 million" and the paper's "2.8 million" count other states of the code. | |
| 37 | +- **Sizes depend on what is counted.** The progress table below counts every `.lean` file in this tree at the commits | |
| 38 | + it names: 23,560 files and 3,061,775 lines at the first commit here. The announcement's "3.2 million" and the | |
| 39 | + paper's "2.8 million" count other states of the code. | |
| 39 | 40 | |
| 40 | 41 | ### Progress |
| 41 | 42 | |
| 42 | 43 | Measured from git with the maintainers' `measure.py` at the first commit here and at main, 2026-12-02; every `.lean` |
| 43 | 44 | file in the tree is counted. The build row reads the site's `build` job of the commit; the first commit's build is the |
| 44 | -launch's own note, not a job of this project. | |
| 45 | +launch's own note in `KNOWN.md`, not a job of this project. | |
| 45 | 46 | |
| 46 | 47 | | Measure | First commit `7fb9add0` | Main `eb1af26d` | |
| 47 | 48 | |---|---:|---:| |
| @@ -58,7 +59,7 @@ launch's own note, not a job of this project. | ||
| 58 | 59 | | `run_tac` | 0 | 0 | |
| 59 | 60 | | `set_option backward.*` | 9,660 | 9,660 | |
| 60 | 61 | | Linters switched off | 55 | 55 | |
| 61 | -| `build` | 1 h 46 min (32,265 jobs, 32 cores; launch notes) | running (job 1381, started 2026-12-02 19:50 UTC) | | |
| 62 | +| `build` | 1 h 46 min (32,265 jobs, 32 cores; the launch note in `KNOWN.md`) | running at 2026-12-02 20:33 UTC (job 1381, started 19:50); refreshed after each merge | | |
| 62 | 63 | |
| 63 | 64 | A number here says nothing about readability by itself: fewer lines can be harder to read. The counters after |
| 64 | 65 | `Docstrings` are the debt counters of `riemann-hypothesis`'s technical-debt script, which gate nothing. |
+4 −4 README.zh.md View file
| @@ -29,12 +29,12 @@ nanoda);本项目起点的提交在本站的机器上能编译,Comparator | ||
| 29 | 29 | - **Lean 不总是照着书走。** 作者说:“the Lean proofs produced by the agents do not always follow the same route as the |
| 30 | 30 | reference”。按他们的统计,约 48% 的源码是背景理论。 |
| 31 | 31 | - **书的第 19.2 节 2015 年更正过。** 引用它时要写明读的是哪个版本。 |
| 32 | -- **行数取决于怎么数。** 23,555 个文件共 3,060,326 行;去掉空行和注释是 2,522,977 行代码。公告里的“320 万”和论文里的 | |
| 33 | - “280 万”数的是代码的其他状态。 | |
| 32 | +- **行数取决于怎么数。** 下面的进度表统计这棵树里每一个 `.lean` 文件:第一个提交处 23,560 个文件、3,061,775 行。公告里的“320 万”和 | |
| 33 | + 论文里的“280 万”数的是代码的其他状态。 | |
| 34 | 34 | |
| 35 | 35 | ### 进度 |
| 36 | 36 | |
| 37 | -以下数字由维护者的 `measure.py` 从 git 数出:本项目的第一个提交与当前 main,2026-12-02;统计树中所有 `.lean` 文件。`build` 一行取站点上该提交的 `build` 作业;第一个提交的编译时间是上线时的记录,不是本项目的作业。 | |
| 37 | +以下数字由维护者的 `measure.py` 从 git 数出:本项目的第一个提交与当前 main,2026-12-02;统计树中所有 `.lean` 文件。`build` 一行取站点上该提交的 `build` 作业;第一个提交的编译时间是 `KNOWN.md` 里的上线记录,不是本项目的作业。 | |
| 38 | 38 | |
| 39 | 39 | | 指标 | 第一个提交 `7fb9add0` | main `eb1af26d` | |
| 40 | 40 | |---|---:|---:| |
| @@ -51,7 +51,7 @@ nanoda);本项目起点的提交在本站的机器上能编译,Comparator | ||
| 51 | 51 | | `run_tac` | 0 | 0 | |
| 52 | 52 | | `set_option backward.*` | 9,660 | 9,660 | |
| 53 | 53 | | 关掉的 linter | 55 | 55 | |
| 54 | -| `build` | 1 小时 46 分(32,265 个作业,32 核;上线记录) | 运行中(作业 1381,2026-12-02 19:50 UTC 开始) | | |
| 54 | +| `build` | 1 小时 46 分(32,265 个作业,32 核;`KNOWN.md` 中的上线记录) | 2026-12-02 20:33 UTC 时运行中(作业 1381,19:50 开始);每次合并后刷新 | | |
| 55 | 55 | |
| 56 | 56 | 数字本身说明不了可读性:行数更少也可能更难读。`文档注释` 以下的计数是 `riemann-hypothesis` 的技术债脚本的计数器,不构成任何检验门槛。 |
| 57 | 57 | |