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(Euler/Cylinder): 3 files cheaper to elaborate (−2.8%, measured)
Browse filesProof-only edits in three files of the Euler/Cylinder* family: two `nlinarith` steps become `linarith`, and one `simp only` set loses `map_add`, which does not change its goal. No statement, import or docstring changes; no `maxHeartbeats`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+1 −1 Euler/CylinderPhysicalTensor.lean View file
| @@ -38,7 +38,7 @@ theorem graphMap_norm_le (k : ℝ) (m : Vector3) : ‖graphMap k m‖ ≤ 1+|k| | ||
| 38 | 38 | rw [norm_mul,Real.norm_eq_abs] |
| 39 | 39 | calc |
| 40 | 40 | |k| * ‖inner ℝ m x‖ ≤ |k| * (‖m‖*‖x‖) := mul_le_mul_of_nonneg_left hi (abs_nonneg k) |
| 41 | - _ ≤ (1+|k| * ‖m‖)*‖x‖ := by nlinarith [norm_nonneg x] | |
| 41 | + _ ≤ (1+|k| * ‖m‖)*‖x‖ := by linarith [norm_nonneg x] | |
| 42 | 42 | |
| 43 | 43 | theorem graphCoordinates_norm_le (k : ℝ) (m : Vector3) : |
| 44 | 44 | ‖graphCoordinates k m‖ ≤ frequencyFactor k m := |
+1 −1 Euler/CylinderPotentialTime.lean View file
| @@ -28,7 +28,7 @@ def potentialDerivative : C(Icc (0 : ℝ) T,LiftL2 P) := | ||
| 28 | 28 | include hB hB₁ hp hf in |
| 29 | 29 | theorem potentialDerivative_orbit : |
| 30 | 30 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (potentialDerivative P T B B₁ p f)) := by |
| 31 | - simp only [potentialDerivative, map_add] | |
| 31 | + simp only [potentialDerivative] | |
| 32 | 32 | exact (potentialPath_orbit P B₁ hB₁ p hp).add (potentialPath_orbit P B hB f hf) |
| 33 | 33 | |
| 34 | 34 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
+1 −1 Euler/CylinderSpatialEmbedding.lean View file
| @@ -105,7 +105,7 @@ theorem embedding_inner (u v : SpatialL2 V) : | ||
| 105 | 105 | have h := lift_norm_sq P (u+v) |
| 106 | 106 | rw [lift_add, norm_add_sq_real, norm_add_sq_real, lift_norm_sq, lift_norm_sq] at h |
| 107 | 107 | change inner ℝ (lift P u) (lift P v) = _ |
| 108 | - nlinarith | |
| 108 | + linarith | |
| 109 | 109 | |
| 110 | 110 | end Inner |
| 111 | 111 | end EulerCylinderSpatialEmbedding |
+44 −0 routes/s2-euler-cylinder-1/README.md added View file
| @@ -0,0 +1,44 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-euler-cylinder-1 | |
| 6 | + | |
| 7 | +The family `Euler/Cylinder*`, three of its files, made cheaper to elaborate by | |
| 8 | +edits inside proofs only (3 lines out, 3 in): | |
| 9 | + | |
| 10 | +- `Euler/CylinderPhysicalTensor.lean`: in `graphMap_norm_le`, the last step of | |
| 11 | + the `calc` goes from `nlinarith [norm_nonneg x]` to `linarith [norm_nonneg x]`. | |
| 12 | +- `Euler/CylinderPotentialTime.lean`: in `potentialDerivative_orbit`, | |
| 13 | + `simp only [potentialDerivative, map_add]` loses `map_add`, which does not | |
| 14 | + change the goal. | |
| 15 | +- `Euler/CylinderSpatialEmbedding.lean`: `embedding_inner` ends with `linarith` | |
| 16 | + where it had `nlinarith`. | |
| 17 | + | |
| 18 | +No statement, no import line and no docstring changes, and there is no | |
| 19 | +`maxHeartbeats`. | |
| 20 | + | |
| 21 | +The edits are Treant's `speedup_trials` stage (TitiSkywalker/NavierStokesAndEuler, | |
| 22 | +the run of 2026-12-03 at upstream `f9e8bc5`), carried onto this project's main and | |
| 23 | +counted there. The counts are the unit's, not taken again here: instructions | |
| 24 | +retired in user space by `lean -j1 -DElab.async=false` under | |
| 25 | +`perf stat -e instructions:u`, one file alone, against the compiled tree of main | |
| 26 | +at `df2f18f` before and the same tree with the edits after. | |
| 27 | + | |
| 28 | +| file | before | after | | |
| 29 | +|---|---|---| | |
| 30 | +| `Euler/CylinderPhysicalTensor.lean` | 12.02 G | 11.91 G | | |
| 31 | +| `Euler/CylinderPotentialTime.lean` | 45.63 G | 45.32 G | | |
| 32 | +| `Euler/CylinderSpatialEmbedding.lean` | 18.48 G | 16.79 G | | |
| 33 | +| these 3 files | 76.13 G | 74.02 G (−2.8%) | | |
| 34 | + | |
| 35 | +The diff reads as a proof-only change: each changed line sits below the `:=` of a | |
| 36 | +declaration whose statement is untouched. `python3 checks/challenge.py .` ends | |
| 37 | +`ok: 4 challenge files and the build configuration as approved; …`. | |
| 38 | + | |
| 39 | +## Next | |
| 40 | + | |
| 41 | +Nothing left in this unit. The pull request into `main` is open; what remains is | |
| 42 | +the site's `build` check and the maintainer's review. If `build` fails on one of | |
| 43 | +the three files, the proof that fails goes back to its old tactic and that file | |
| 44 | +leaves the table. | |