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/Polar): 1 file cheaper to elaborate (−1.6%, measured) #583
Merged
+3 −3 NavierStokes/PolarCharts.lean View file
| @@ -292,7 +292,7 @@ noncomputable def physicalChart (a : ℝ) (j : Index) (Q : ℝ) : Plane → Plan | ||
| 292 | 292 | chart a j ∘ scalePlane Q |
| 293 | 293 | |
| 294 | 294 | theorem rotate_smul (j : Index) (c : ℝ) (p : Plane) : rotate j (c • p) = c • rotate j p := by |
| 295 | - fin_cases j <;> ext <;> simp [rotate, mul_neg] | |
| 295 | + fin_cases j <;> ext <;> simp [rotate] | |
| 296 | 296 | |
| 297 | 297 | theorem radius_smul {c : ℝ} (hc : 0 < c) (p : Plane) : radius (c • p) = c * radius p := by |
| 298 | 298 | simp only [radius, Prod.smul_fst, Prod.smul_snd, smul_eq_mul] |
| @@ -315,7 +315,7 @@ theorem localChart_angle_difference (i j : Index) {p : Plane} | ||
| 315 | 315 | have hxj := congrArg Prod.fst (polar_localChart j hj) |
| 316 | 316 | have hyi := congrArg Prod.snd (polar_localChart i hi) |
| 317 | 317 | have hyj := congrArg Prod.snd (polar_localChart j hj) |
| 318 | - simp only [polar, localChart_apply] at hxi hxj hyi hyj | |
| 318 | + simp only [localChart_apply] at hxi hxj hyi hyj | |
| 319 | 319 | have hcos : Real.cos (localChart i p).2 = Real.cos (localChart j p).2 := by |
| 320 | 320 | apply mul_left_cancel₀ hr |
| 321 | 321 | exact hxi.trans hxj.symm |
| @@ -332,7 +332,7 @@ theorem localChart_periodic_agree {V : Type*} (f : Plane → V) | ||
| 332 | 332 | f (localChart i p) = f (localChart j p) := by |
| 333 | 333 | obtain ⟨n, hn⟩ := localChart_angle_difference i j hi hj |
| 334 | 334 | have he : (localChart i p).2 = (localChart j p).2 + n * (2 * Real.pi) := by |
| 335 | - nlinarith [hn] | |
| 335 | + linarith [hn] | |
| 336 | 336 | have hv := ((hf (radius p)).int_mul n) (localChart j p).2 |
| 337 | 337 | have hri : (localChart i p).1 = radius p := by simp only [localChart_apply] |
| 338 | 338 | have hrj : (localChart j p).1 = radius p := by simp only [localChart_apply] |
+25 −0 routes/s2-ns-polar-1/README.md added View file
| @@ -0,0 +1,25 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-polar-1 | |
| 6 | + | |
| 7 | +One unit of S-2 (issue #11): make one file of the family `NavierStokes/Polar*` cheaper to | |
| 8 | +elaborate, changing proofs only. | |
| 9 | + | |
| 10 | +The file is `NavierStokes/PolarCharts.lean` (3 lines out, 3 in, all inside proofs): in | |
| 11 | +`rotate_smul`, the `simp` list loses `mul_neg`; in `localChart_angle_difference`, a | |
| 12 | +`simp only [polar, localChart_apply]` becomes `simp only [localChart_apply]`; in | |
| 13 | +`localChart_periodic_agree`, `nlinarith [hn]` becomes `linarith [hn]`. No statement, import or | |
| 14 | +docstring changes, and no `maxHeartbeats`. The edits are Treant's `speedup_trials` edits from | |
| 15 | +upstream `f9e8bc5` (TitiSkywalker/NavierStokesAndEuler, run of 2026-12-03), carried onto main | |
| 16 | +`d956c7c` and counted there. | |
| 17 | + | |
| 18 | +Timing (from /work/unit/unit.json, not measured here): 21,800,214,627 → 21,448,502,011 | |
| 19 | +instructions retired for the file, −1.6%, counted with `lean -j1 -DElab.async=false` under | |
| 20 | +`perf stat -e instructions:u` at main `d956c7c` before and after. See the pull request | |
| 21 | +description for the full method. | |
| 22 | + | |
| 23 | +## Next | |
| 24 | + | |
| 25 | +Push, let the `challenge` and `build` checks run, and reply to the maintainer's review. | |