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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #635 perf(NavierStokes/Five): 2 files cheaper to elaborate (−0.9%, measured)
1 commit
+2 −2 NavierStokes/FiveProfileMoments.lean View file
| @@ -362,7 +362,7 @@ theorem normalizedMap_identity (P : Patch) (b : ℝ) (hb : GoodExponent b) (c : | ||
| 362 | 362 | fin_cases i <;> simp [quadraticCLM, quadraticBilin, normalizedMap] |
| 363 | 363 | · ext i |
| 364 | 364 | fin_cases i <;> simp [quadraticCLM, quadraticBilin, normalizedMap, |
| 365 | - u, e, hUS, hES, hEP, Fin.sum_univ_two, Fin.sum_univ_three] <;> ring | |
| 365 | + u, e, hUS, hES, hEP, Fin.sum_univ_three] <;> ring | |
| 366 | 366 | |
| 367 | 367 | theorem spatial_jet_bound (P : Patch) (k : ℕ) : |
| 368 | 368 | ∃ C : ℝ, 0 < C ∧ ∀ (c : Coeff) (x : ℝ), |
| @@ -436,7 +436,7 @@ theorem exists_normalized_repair (P : Patch) (b : ℝ) (hb : GoodExponent b) : | ||
| 436 | 436 | have hsub : Metric.ball (0 : Coeff) ε ⊆ Metric.ball 0 (r / (4 * β)) := |
| 437 | 437 | Metric.ball_subset_ball (min_le_left _ _) |
| 438 | 438 | have hC₀ : 2 * β ≤ C := by dsimp [C]; nlinarith |
| 439 | - have hC₁ : D * (2 * β) ≤ C := by dsimp [C]; nlinarith | |
| 439 | + have hC₁ : D * (2 * β) ≤ C := by dsimp [C]; linarith | |
| 440 | 440 | have hzero : g 0 = 0 := by |
| 441 | 441 | have hz := (hgeq 0 (Metric.mem_ball_self (div_pos hr (by positivity)))).2 |
| 442 | 442 | simpa only [norm_zero, mul_zero, norm_le_zero_iff] using hz |
+2 −2 NavierStokes/FiveRowRank.lean View file
| @@ -51,7 +51,7 @@ theorem cell_lower_lt_upper {n : ℕ} (a b : ℝ) (hab : a < b) (j : Fin n) : | ||
| 51 | 51 | cellLower a b j < cellUpper a b j := by |
| 52 | 52 | have hd := cellStep_pos a b hab n |
| 53 | 53 | unfold cellLower cellUpper |
| 54 | - nlinarith | |
| 54 | + linarith | |
| 55 | 55 | |
| 56 | 56 | theorem cellUpper_lt {n : ℕ} (a b : ℝ) (hab : a < b) (j : Fin n) : |
| 57 | 57 | cellUpper a b j < b := by |
| @@ -146,7 +146,7 @@ theorem axial_moments (lam C a b : ℝ) (d : Debt) (hlam : 0 < lam) | ||
| 146 | 146 | |
| 147 | 147 | theorem angular_mass_zero (lam C a b : ℝ) (d : Debt) (hlam : 0 < lam) |
| 148 | 148 | (ha : 0 < a) (hab : a < b) : (∫ R, R ^ (2 : ℕ) * deltaV lam C a b d R) = 0 := by |
| 149 | - simpa [angularPowers, angularDebt, Real.rpow_natCast] using | |
| 149 | + simpa [angularPowers, angularDebt] using | |
| 150 | 150 | angular_moments lam C a b d hlam ha hab 0 |
| 151 | 151 | |
| 152 | 152 | theorem axial_mass_zero (lam C a b : ℝ) (d : Debt) (hlam : 0 < lam) |
+19 −0 routes/s2-ns-five-1/README.md added View file
| @@ -0,0 +1,19 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-five-1 | |
| 6 | + | |
| 7 | +One unit of S-2: makes 2 files of the family `NavierStokes/Five*` cheaper to elaborate, by edits inside proofs | |
| 8 | +only (4 lines out, 4 in). In `NavierStokes/FiveProfileMoments.lean`, a `simp` list loses `Fin.sum_univ_two`, and | |
| 9 | +`nlinarith` becomes `linarith` in one `have`; in `NavierStokes/FiveRowRank.lean`, `nlinarith` becomes `linarith` | |
| 10 | +and a `simpa` list loses `Real.rpow_natCast`. No statement, import line or docstring changes, and no | |
| 11 | +`maxHeartbeats`. The edits are Treant's `speedup_trials` stage (TitiSkywalker/NavierStokesAndEuler, run of | |
| 12 | +2026-12-03), carried onto main at `df2f18f` and counted there: 112.29 G → 111.32 G instructions for | |
| 13 | +`FiveProfileMoments.lean` (−0.9%) and 16.59 G → 16.46 G for `FiveRowRank.lean` (−0.8%). The count is instructions | |
| 14 | +retired by `lean -j1 -DElab.async=false` on the one file under `perf stat -e instructions:u`, not wall-clock time; | |
| 15 | +PR.md says how it was taken. | |
| 16 | + | |
| 17 | +## Next | |
| 18 | + | |
| 19 | +Push and open the pull request into `main`; `challenge` has passed locally, `build` says whether it compiles. | |