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

perf(NavierStokes/Normal): 1 file cheaper to elaborate (−1.2%, measured) #572
Merged
+1 −1 NavierStokes/NormalScaling.lean View file
| @@ -22,7 +22,7 @@ variable {H : Type} [NormedAddCommGroup H] [InnerProductSpace ℝ H] | ||
| 22 | 22 | theorem tangentProj_smul_normal (n f : H) {s : ℝ} (hs : s ≠ 0) : |
| 23 | 23 | tangentProj (s • n) f = tangentProj n f := by |
| 24 | 24 | by_cases hn : n = 0 |
| 25 | - · simp [hn, tangentProj] | |
| 25 | + · simp [hn] | |
| 26 | 26 | have hn2 : ⟪n, n⟫_ℝ ≠ 0 := inner_self_ne_zero.mpr hn |
| 27 | 27 | simp only [tangentProj, real_inner_smul_left, real_inner_smul_right, smul_smul] |
| 28 | 28 | congr 2 |
+23 −0 routes/s2-ns-normal-1/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-normal-1 | |
| 6 | + | |
| 7 | +One unit of S-2: the family `NavierStokes/Normal*`, here the single file | |
| 8 | +`NavierStokes/NormalScaling.lean`. In the proof of `tangentProj_smul_normal`, the | |
| 9 | +`simp [hn, tangentProj]` in the `n = 0` case becomes `simp [hn]` (1 line out, | |
| 10 | +1 line in). The argument `tangentProj` did not change the goal there, so the same | |
| 11 | +proof is shorter without it. No statement line, import line or docstring changes, | |
| 12 | +and there is no `maxHeartbeats`. | |
| 13 | + | |
| 14 | +The edit is carried from Treant's `speedup_trials` stage | |
| 15 | +(TitiSkywalker/NavierStokesAndEuler, 2026-12-03, upstream `f9e8bc5`), applied to | |
| 16 | +main at `d956c7c` and counted there. Cost before and after, as `unit.json` gives | |
| 17 | +them: 9,578,317,983 and 9,464,072,022 instructions retired for `lean` elaborating | |
| 18 | +this one file alone (`−1.2%`). How the count was taken is in the pull request | |
| 19 | +description; none was taken here. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +The pull request is open into `main`; wait for `build` to report on its head. | |