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/Spatial): 1 file cheaper to elaborate (−6.0%, measured) #616
Merged
+3 −3 NavierStokes/SpatialLocalization.lean View file
| @@ -63,7 +63,7 @@ theorem isClosed_supportCylinder : IsClosed supportCylinder := | ||
| 63 | 63 | theorem isCompact_supportCylinder : IsCompact supportCylinder := by |
| 64 | 64 | convert! AxisymmetricFields.isCompact_cylinder (1 / 32) (1 / 4) using 1 |
| 65 | 65 | ext x |
| 66 | - simp only [supportCylinder, Set.mem_ofPred_eq, AxisymmetricFields.radialEnergy, radialSquare] | |
| 66 | + simp only [supportCylinder, AxisymmetricFields.radialEnergy, radialSquare] | |
| 67 | 67 | constructor <;> intro hx <;> constructor |
| 68 | 68 | · linarith [hx.1] |
| 69 | 69 | · exact hx.2 |
| @@ -96,12 +96,12 @@ theorem supportCylinder_coordinate_bound {x : Space} (hx : x ∈ supportCylinder | ||
| 96 | 96 | · change |x 0| ≤ 1 / 4 |
| 97 | 97 | have hs : |x 0| ^ 2 ≤ (1 / 4 : ℝ) ^ 2 := by |
| 98 | 98 | rw [sq_abs] |
| 99 | - nlinarith [sq_nonneg (x 1)] | |
| 99 | + linarith [sq_nonneg (x 1)] | |
| 100 | 100 | nlinarith [abs_nonneg (x 0)] |
| 101 | 101 | · change |x 1| ≤ 1 / 4 |
| 102 | 102 | have hs : |x 1| ^ 2 ≤ (1 / 4 : ℝ) ^ 2 := by |
| 103 | 103 | rw [sq_abs] |
| 104 | - nlinarith [sq_nonneg (x 0)] | |
| 104 | + linarith [sq_nonneg (x 0)] | |
| 105 | 105 | nlinarith [abs_nonneg (x 1)] |
| 106 | 106 | · exact hx.2 |
| 107 | 107 | |
+22 −0 routes/s2-ns-spatial-1/README.md added View file
| @@ -0,0 +1,22 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-spatial-1 | |
| 6 | + | |
| 7 | +One unit of S-2 (issue #11): make one file of the family `NavierStokes/Spatial*` cheaper to | |
| 8 | +elaborate. This unit takes `NavierStokes/SpatialLocalization.lean`, 15.63 G → 14.69 G instructions | |
| 9 | +retired per file (−6.0%), by three edits inside proofs only: one `simp only` list loses an entry | |
| 10 | +that does not change the goal, and two `nlinarith` calls become `linarith`. No statement, import | |
| 11 | +or docstring changes; no `maxHeartbeats`. The edits are Treant's `speedup_trials` stage | |
| 12 | +(TitiSkywalker/NavierStokesAndEuler, 2026-12-03), carried onto main at `d956c7c` and counted | |
| 13 | +there; the count is `lean -j1 -DElab.async=false` under `perf stat -e instructions:u`, as PR.md | |
| 14 | +says. | |
| 15 | + | |
| 16 | +`python3 checks/challenge.py .` passes. The `build` check decides the rest. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Open the pull request for this branch. If the maintainer asks for a stronger claim, the file's | |
| 21 | +remaining expensive step is the `convert!` in `isCompact_supportCylinder`; nothing measured | |
| 22 | +beyond the counts above. | |