Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

README: measure the size table at 3f58ee5c and cite job 6806's build time #743
Merged
+1 −0 KNOWN.md View file
| @@ -44,3 +44,4 @@ What is established about this problem, one fact a line, each with where it come | ||
| 44 | 44 | - Upstream publishes no build cache of the project; `lake exe cache get` fetches Mathlib's only. Outside measurements of a full `lake build`: 16 min 52 s on 32 virtual CPUs (2026-09-11), 18 min 4 s in another benchmark (2026-09-23). On this site's production machine the image's own `lake build` of the starting commit took 18 min 30 s, 11,411 jobs, both Euler theorems on `propext`, `Classical.choice` and `Quot.sound` only (2026-12-02). |
| 45 | 45 | - Upstream's thirteen side experiments (eleven `*NoOptions.lean` copies made while removing `maxHeartbeats` overrides, two `*Investigation.lean`) were left out at the start: nothing imported them, and the originals have no override left. So was `formalization.yaml`. A reader counted close to 25,000 lines in files no main result imports at upstream's first commit (2026-09-08); how many remain here is S-1's first step. |
| 46 | 46 | - Counted at the starting commit: 29 files name a numbered result of the papers; all but 60 files have a module docstring; `Euler/EulerProof.lean` has 20,755 lines and 983 theorems and lemmas; 118 files have more than 1,000 lines and 203 fewer than 50. |
| 47 | +- #742 (2026-12-06) moved 11 temporal-mean declarations out of `NavierStokes/CorrectionStep.lean` into `NavierStokes/CorrectionStepTemporalMean.lean`: 277 lines moved and 23 added, no proof changed; `challenge` and `build` passed on its head (job 6805, job 6806), the four theorems reported on `propext`, `Quot.sound` and `Classical.choice` only, and no Comparator replay on that head (commit 3f58ee5c). | |
+18 −13 README.md View file
| @@ -12,7 +12,7 @@ been settled" and that its process "is deliberately unhurried"; nothing since, a | ||
| 12 | 12 | This project is a community effort to make those proofs smaller, faster to build and readable, and to tie them to the |
| 13 | 13 | papers. |
| 14 | 14 | |
| 15 | -## Where it stands (as of 2026-12-05) | |
| 15 | +## Where it stands (as of 2026-12-06) | |
| 16 | 16 | |
| 17 | 17 | | Step | State | Who, when, where it is written | |
| 18 | 18 | |---|---|---| |
| @@ -26,21 +26,26 @@ papers. | ||
| 26 | 26 | |
| 27 | 27 | The proof's size, measured with `tools/measure.py` at two commits: |
| 28 | 28 | |
| 29 | -| Measure | First commit `c7e5ae8` (2026-12-02) | `49fc479e` (2026-12-05) | | |
| 29 | +| Measure | First commit `c7e5ae8` (2026-12-02) | `3f58ee5c` (2026-12-06) | | |
| 30 | 30 | |---|---:|---:| |
| 31 | -| Lean files | 2,646 | 2,032 | | |
| 32 | -| Lines | 634,024 | 500,589 | | |
| 33 | -| Declarations | 50,533 | 39,125 | | |
| 31 | +| Lean files | 2,646 | 2,033 | | |
| 32 | +| Lines | 634,024 | 500,629 | | |
| 33 | +| Declarations | 50,533 | 39,126 | | |
| 34 | 34 | | Docstrings | 12,626 | 9,457 | |
| 35 | 35 | | Files over 1,000 lines | 118 | 67 | |
| 36 | 36 | | Longest file | 20,755 lines (`Euler/EulerProof.lean`) | 16,605 lines (`Euler/EulerProof.lean`) | |
| 37 | 37 | |
| 38 | -The `build` check's time is on its jobs: `49fc479e`'s build (job 6671), on the commit the table measures, ran from | |
| 39 | -2026-12-05 16:11 to 16:58 UTC, 46 minutes 48 seconds. The check's image holds a build of the approved main, so a job | |
| 38 | +The `build` check's time is on its jobs: `3f58ee5c`'s build (job 6806), on the commit the table measures, ran from | |
| 39 | +2026-12-06 11:24 to 12:09 UTC, 45 minutes 19 seconds. The check's image holds a build of the approved main, so a job | |
| 40 | 40 | recompiles only what the commit changed: these are a changed tree's minutes, not a full build's. |
| 41 | +[`docs/build-profile.md`](docs/build-profile.md) profiles where a full build's instructions go. | |
| 41 | 42 | |
| 42 | 43 | What to keep in mind when you read that table: |
| 43 | 44 | |
| 45 | +- **The file count fell by folding, not by deleting proofs.** Between 2026-12-05's two measurements the tree lost 556 | |
| 46 | + Lean files (2,588 to 2,032) while declarations stayed 39,121–39,126: S-5 folded 557 small modules into the one file | |
| 47 | + that imports them, their text unchanged (#694–#740; [`docs/s5-folding/README.md`](docs/s5-folding/README.md)), 54.73 T | |
| 48 | + instructions down to 50.81 T over the folds. `tools/measure.py` read both trees the same way. | |
| 44 | 49 | - **The force is the point.** Fefferman's [official description](https://www.claymath.org/wp-content/uploads/2022/06/navierstokes.pdf) |
| 45 | 50 | asks for one of four statements. (A) and (B), existence and smoothness, take the force "to be identically zero". (C) |
| 46 | 51 | and (D), breakdown, ask for a smooth initial velocity and "a smooth f" with no solution. This proof is (C) and (D): |
| @@ -83,10 +88,10 @@ Thanks to OpenAI for publishing the proofs and the papers, and to the Formal Con | ||
| 83 | 88 | To make the proof: |
| 84 | 89 | |
| 85 | 90 | - **readable**: every file tied to the section and the numbered result of the paper it formalises (a start; the rest |
| 86 | - is P-4); the two giant files split along the paper (`Euler/EulerProof.lean`, 16,605 lines at `49fc479e`; | |
| 87 | - `NavierStokes/CorrectionStep.lean`, 5,069); the proof's own words explained; no linter warnings (P-1 to P-7); | |
| 91 | + is P-4); the two giant files split along the paper (`Euler/EulerProof.lean`, 16,605 lines at `3f58ee5c`; | |
| 92 | + `NavierStokes/CorrectionStep.lean`, 4,795); the proof's own words explained; no linter warnings (P-1 to P-7); | |
| 88 | 93 | - **accessible**: imports trimmed, one proof where the two halves each carry their own, nothing kept that no theorem |
| 89 | - uses, a folder plan for the 2,032 files at `49fc479e` that sit in two flat folders (S-1 to S-5, P-7); | |
| 94 | + uses, a folder plan for the 2,033 files at `3f58ee5c` that sit in two flat folders (S-1 to S-5, P-7); | |
| 90 | 95 | - **integrated with the community**: Mathlib's lemmas in place of ours, and the general analysis here (heat kernel, |
| 91 | 96 | Sobolev spaces, Fourier weights) stated so that Mathlib could take it (M-1, M-2); |
| 92 | 97 | - **checked by reading**: the formal statements against Fefferman's text, the paper's theorems against the Lean that |
| @@ -183,14 +188,14 @@ Expect an hour or more on a laptop. Changing one file rebuilds it and everything | ||
| 183 | 188 | |
| 184 | 189 | ## Layout |
| 185 | 190 | |
| 186 | -At `49fc479e` (2026-12-05): 2,032 Lean files, 500,589 lines, 39,125 declarations and 9,457 docstrings. The first | |
| 191 | +At `3f58ee5c` (2026-12-06): 2,033 Lean files, 500,629 lines, 39,126 declarations and 9,457 docstrings. The first | |
| 187 | 192 | commit `c7e5ae8` (2026-12-02) had 2,646 files, 634,024 lines, 50,533 declarations and 12,626 docstrings. |
| 188 | 193 | |
| 189 | -- `NavierStokes/` (661 files, 309,880 lines): the Navier–Stokes blowup. 592 files sit directly in the folder, in | |
| 194 | +- `NavierStokes/` (662 files, 309,920 lines): the Navier–Stokes blowup. 593 files sit directly in the folder, in | |
| 190 | 195 | families by the first word of their names (`Actual*` 90 files, `Local*` 23, `Axis*` 21, `Sharp*` 6 …); |
| 191 | 196 | `NavierStokes/R3/` (69 files) is the whole-space case and holds the general analysis: the heat kernel, the Sobolev |
| 192 | 197 | space H³, Fourier weights. `ComparatorSolution.lean` is the proof's face to Comparator; `PaperResults.lean` |
| 193 | - collects the paper's results. The largest files are `CorrectionStep.lean` (5,069 lines) and | |
| 198 | + collects the paper's results. The largest files are `CorrectionStep.lean` (4,795 lines) and | |
| 194 | 199 | `CorrectionInitialization.lean` (3,692). |
| 195 | 200 | - `Euler/` (1,365 files in one folder, 190,131 lines): the Euler blowup, in families too (`Packet*` 367 files, |
| 196 | 201 | `Mean*` 100, `Transverse*` 79, `Cylinder*` 95 …). `Solution.lean` faces Comparator, `EulerSingularity.lean` is |
+12 −11 README.zh.md View file
| @@ -9,7 +9,7 @@ Lean 内核和 nanoda 复跑过,Sébastien Gouëzel 2026-09-11 读过陈述, | ||
| 9 | 9 | |
| 10 | 10 | 本项目把这份证明改得更小、编译更快、更好读,并把它和论文一处一处对上。 |
| 11 | 11 | |
| 12 | -## 现状(截至 2026-12-05) | |
| 12 | +## 现状(截至 2026-12-06) | |
| 13 | 13 | |
| 14 | 14 | | 步骤 | 状态 | 谁、何时、写在哪 | |
| 15 | 15 | |---|---|---| |
| @@ -23,19 +23,20 @@ Lean 内核和 nanoda 复跑过,Sébastien Gouëzel 2026-09-11 读过陈述, | ||
| 23 | 23 | |
| 24 | 24 | 用 `tools/measure.py` 在两个提交上量出的证明规模: |
| 25 | 25 | |
| 26 | -| 项目 | 第一个提交 `c7e5ae8`(2026-12-02) | `49fc479e`(2026-12-05) | | |
| 26 | +| 项目 | 第一个提交 `c7e5ae8`(2026-12-02) | `3f58ee5c`(2026-12-06) | | |
| 27 | 27 | |---|---:|---:| |
| 28 | -| Lean 文件 | 2,646 | 2,032 | | |
| 29 | -| 行数 | 634,024 | 500,589 | | |
| 30 | -| 声明 | 50,533 | 39,125 | | |
| 28 | +| Lean 文件 | 2,646 | 2,033 | | |
| 29 | +| 行数 | 634,024 | 500,629 | | |
| 30 | +| 声明 | 50,533 | 39,126 | | |
| 31 | 31 | | 文档字符串 | 12,626 | 9,457 | |
| 32 | 32 | | 超过 1,000 行的文件 | 118 | 67 | |
| 33 | 33 | | 最长的文件 | 20,755 行(`Euler/EulerProof.lean`) | 16,605 行(`Euler/EulerProof.lean`) | |
| 34 | 34 | |
| 35 | -`build` 检查的时间在它的作业上:`49fc479e` 的 `build`(job 6671,就是表里量的那个提交)于 2026-12-05 16:11 UTC 开始,16:58 UTC 结束,用时 46 分 48 秒。检查用的镜像里带着已批准的 main 的一次构建,所以作业只重编这个提交改过的部分:这是改动后那棵树的分钟数,不是整棵树完整构建的。 | |
| 35 | +`build` 检查的时间在它的作业上:`3f58ee5c` 的 `build`(job 6806,就是表里量的那个提交)于 2026-12-06 11:24 UTC 开始,12:09 UTC 结束,用时 45 分 19 秒。检查用的镜像里带着已批准的 main 的一次构建,所以作业只重编这个提交改过的部分:这是改动后那棵树的分钟数,不是整棵树完整构建的。整棵树构建的指令花在哪里,见 [`docs/build-profile.md`](docs/build-profile.md)。 | |
| 36 | 36 | |
| 37 | 37 | 读这张表时要记住: |
| 38 | 38 | |
| 39 | +- **文件数是靠折叠降下来的,不是删掉了证明。** 2026-12-05 的两次测量之间,树里少了 556 个 Lean 文件(2,588 到 2,032),声明数却一直在 39,121–39,126:S-5 把 557 个小模块折进唯一 import 它们的那个文件,文字原样不动(#694–#740;[`docs/s5-folding/README.md`](docs/s5-folding/README.md)),折叠后从 54.73 T 指令降到 50.81 T。两次都是 `tools/measure.py` 用同样的方式读的。 | |
| 39 | 40 | - **关键在外力。** Fefferman 的[官方表述](https://www.claymath.org/wp-content/uploads/2022/06/navierstokes.pdf)要求证明四个 |
| 40 | 41 | 结论之一。(A)、(B) 是存在性与光滑性,外力取“identically zero”。(C)、(D) 是爆破,要求一个光滑的初始速度和“a smooth f”, |
| 41 | 42 | 使得解不存在。这份证明是 (C) 和 (D):流体从静止出发,一个紧支的光滑外力把它推到在时刻 1 爆破。两位专家把它叫作 |
| @@ -74,9 +75,9 @@ Ilin 的 PR 405 和 570,2026 年 9 月、10 月),模块更少、import 更 | ||
| 74 | 75 | 把证明改成: |
| 75 | 76 | |
| 76 | 77 | - **读得懂**:每个文件都标明它形式化的是论文的哪一节、哪条编号结果(才刚开始,其余是 P-4);两个巨型文件 |
| 77 | - 按论文拆开(`Euler/EulerProof.lean` 16,605 行,`NavierStokes/CorrectionStep.lean` 5,069 行,按 `49fc479e`);把证明自己的用词解释清楚; | |
| 78 | + 按论文拆开(`Euler/EulerProof.lean` 16,605 行,`NavierStokes/CorrectionStep.lean` 4,795 行,按 `3f58ee5c`);把证明自己的用词解释清楚; | |
| 78 | 79 | 没有 linter 警告(P-1 到 P-7); |
| 79 | -- **用得起**:精简 import,两半各证一遍的只证一遍,没有定理用到的东西不留,给平铺在两个文件夹里的 2,032 个文件一个 | |
| 80 | +- **用得起**:精简 import,两半各证一遍的只证一遍,没有定理用到的东西不留,给平铺在两个文件夹里的 2,033 个文件一个 | |
| 80 | 81 | 目录方案(S-1 到 S-5、P-7); |
| 81 | 82 | - **和社区接上**:Mathlib 已有的引理用它的;这里的一般性分析(热核、Sobolev 空间、Fourier 权)写成 Mathlib 能收的样子 |
| 82 | 83 | (M-1、M-2); |
| @@ -162,13 +163,13 @@ Lean 镜像对起点提交自己做的 `lake build` 用了 18 分 30 秒(11,41 | ||
| 162 | 163 | |
| 163 | 164 | ## 目录 |
| 164 | 165 | |
| 165 | -在 `49fc479e`(2026-12-05):2,032 个 Lean 文件,500,589 行,39,125 条声明,9,457 条文档字符串。第一个提交 | |
| 166 | +在 `3f58ee5c`(2026-12-06):2,033 个 Lean 文件,500,629 行,39,126 条声明,9,457 条文档字符串。第一个提交 | |
| 166 | 167 | `c7e5ae8`(2026-12-02)有 2,646 个文件、634,024 行、50,533 条声明、12,626 条文档字符串。 |
| 167 | 168 | |
| 168 | -- `NavierStokes/`(661 个文件,309,880 行):纳维–斯托克斯的爆破。592 个文件直接放在这个文件夹里,按文件名的第一个词成族 | |
| 169 | +- `NavierStokes/`(662 个文件,309,920 行):纳维–斯托克斯的爆破。593 个文件直接放在这个文件夹里,按文件名的第一个词成族 | |
| 169 | 170 | (`Actual*` 90 个、`Local*` 23、`Axis*` 21、`Sharp*` 6……);`NavierStokes/R3/`(69 个文件)是全空间情形,放着一般性的 |
| 170 | 171 | 分析:热核、Sobolev 空间 H³、Fourier 权。`ComparatorSolution.lean` 是证明面向 Comparator 的那一面;`PaperResults.lean` |
| 171 | - 汇集论文的结果。最大的文件是 `CorrectionStep.lean`(5,069 行)和 `CorrectionInitialization.lean`(3,692 行)。 | |
| 172 | + 汇集论文的结果。最大的文件是 `CorrectionStep.lean`(4,795 行)和 `CorrectionInitialization.lean`(3,692 行)。 | |
| 172 | 173 | - `Euler/`(1,365 个文件全在一个文件夹里,190,131 行):欧拉方程的爆破,同样成族(`Packet*` 367 个、`Mean*` 100、 |
| 173 | 174 | `Transverse*` 79、`Cylinder*` 95……)。`Solution.lean` 面向 Comparator,`EulerSingularity.lean` 是定理, |
| 174 | 175 | `EulerProof.lean`(16,605 行,741 条定理和引理)装着大部分论证。 |
+4 −7 routes/maintainer-statement/README.md View file
| @@ -5,10 +5,7 @@ status: working | ||
| 5 | 5 | # maintainer-statement |
| 6 | 6 | |
| 7 | 7 | The README's "Where it stands" in both languages: the size table re-measured at main's last Lean-changing commit |
| 8 | -`49fc479e` (2026-12-05), the `build` time of that commit's build job (job 6671, 46 min 48 s), and the Layout | |
| 9 | -counts re-pinned to the same commit. `EulerProof.lean`'s 741 theorems and lemmas are unchanged, re-verified at | |
| 10 | -both commits. | |
| 11 | - | |
| 12 | -## Next | |
| 13 | - | |
| 14 | -Push, open the pull request, and close issue #665 once it is merged or closed. | |
| 8 | +`3f58ee5c` (2026-12-06), the `build` time of that commit's build job (job 6806, 45 min 19 s), the Layout counts | |
| 9 | +re-pinned to the same commit, and a line under "What to keep in mind" on the S-5 folds. A `KNOWN.md` line records | |
| 10 | +#742, and the build paragraph points at `docs/build-profile.md`. `EulerProof.lean`'s 741 theorems and lemmas are | |
| 11 | +unchanged, re-verified at `3f58ee5c`. | |