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/Smooth): 1 file cheaper to elaborate (−1.2%, measured)
Browse filesNavierStokes/SmoothCutoffs.lean, proofs only: nlinarith becomes linarith in scaledCutoff_zero_of_inv_le, and four simp/simpa argument lists drop entries the default simp set already supplies (Metric.mem_closedBall, Metric.mem_ball, Real.dist_eq). 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
ci/docs
Details
+6 −6 NavierStokes/SmoothCutoffs.lean View file
| @@ -39,11 +39,11 @@ theorem cutoff_mem_Icc (x : ℝ) : cutoff x ∈ Icc (0 : ℝ) 1 := | ||
| 39 | 39 | |
| 40 | 40 | theorem cutoff_one_of_abs_le {x : ℝ} (hx : |x| ≤ 1 / 2) : cutoff x = 1 := by |
| 41 | 41 | apply cutoffBump.one_of_mem_closedBall |
| 42 | - simpa [Metric.mem_closedBall, cutoffBump] using hx | |
| 42 | + simpa [cutoffBump] using hx | |
| 43 | 43 | |
| 44 | 44 | theorem cutoff_zero_of_one_le_abs {x : ℝ} (hx : 1 ≤ |x|) : cutoff x = 0 := by |
| 45 | 45 | apply cutoffBump.zero_of_le_dist |
| 46 | - simpa [Real.dist_eq, cutoffBump] using hx | |
| 46 | + simpa [cutoffBump] using hx | |
| 47 | 47 | |
| 48 | 48 | theorem cutoff_zero_of_one_le {x : ℝ} (hx : 1 ≤ x) : cutoff x = 0 := |
| 49 | 49 | cutoff_zero_of_one_le_abs (hx.trans (le_abs_self x)) |
| @@ -52,13 +52,13 @@ theorem cutoff_support : support cutoff = Ioo (-1 : ℝ) 1 := by | ||
| 52 | 52 | change support (cutoffBump : ℝ → ℝ) = _ |
| 53 | 53 | rw [cutoffBump.support_eq] |
| 54 | 54 | ext x |
| 55 | - simp [Metric.mem_ball, cutoffBump, abs_lt] | |
| 55 | + simp [cutoffBump, abs_lt] | |
| 56 | 56 | |
| 57 | 57 | theorem cutoff_tsupport : tsupport cutoff = Icc (-1 : ℝ) 1 := by |
| 58 | 58 | change tsupport (cutoffBump : ℝ → ℝ) = _ |
| 59 | 59 | rw [cutoffBump.tsupport_eq] |
| 60 | 60 | ext x |
| 61 | - simp [Metric.mem_closedBall, cutoffBump, abs_le] | |
| 61 | + simp [cutoffBump, abs_le] | |
| 62 | 62 | |
| 63 | 63 | theorem cutoff_hasCompactSupport : HasCompactSupport cutoff := |
| 64 | 64 | cutoffBump.hasCompactSupport |
| @@ -66,7 +66,7 @@ theorem cutoff_hasCompactSupport : HasCompactSupport cutoff := | ||
| 66 | 66 | theorem cutoff_eventually_one {x : ℝ} (hx : |x| < 1 / 2) : |
| 67 | 67 | cutoff =ᶠ[𝓝 x] (fun _ => 1) := by |
| 68 | 68 | apply cutoffBump.eventuallyEq_one_of_mem_ball |
| 69 | - simpa [Metric.mem_ball, cutoffBump] using hx | |
| 69 | + simpa [cutoffBump] using hx | |
| 70 | 70 | |
| 71 | 71 | theorem cutoff_eventually_zero {x : ℝ} (hx : 1 < |x|) : |
| 72 | 72 | cutoff =ᶠ[𝓝 x] (fun _ => 0) := by |
| @@ -140,7 +140,7 @@ theorem scaledCutoff_zero_of_inv_le {a q : ℝ} (ha : 0 < a) (hq : 1 / a ≤ q) | ||
| 140 | 140 | scaledCutoff a q = 0 := by |
| 141 | 141 | apply cutoff_zero_of_one_le |
| 142 | 142 | have hprod := (div_le_iff₀ ha).mp hq |
| 143 | - nlinarith | |
| 143 | + linarith | |
| 144 | 144 | |
| 145 | 145 | theorem scaledCutoff_eventually_one {a q : ℝ} (hq : |a * q| < 1 / 2) : |
| 146 | 146 | scaledCutoff a =ᶠ[𝓝 q] (fun _ => 1) := |
+21 −0 routes/s2-ns-smooth-1/README.md added View file
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-smooth-1 | |
| 6 | + | |
| 7 | +One unit of S-2 (#11): the file `NavierStokes/SmoothCutoffs.lean`, the whole | |
| 8 | +`NavierStokes/Smooth*` family in this tree. Inside proofs only, 6 lines out and 6 in: | |
| 9 | +`nlinarith` becomes `linarith` in `scaledCutoff_zero_of_inv_le`, and four `simp`/`simpa` | |
| 10 | +argument lists lose entries (`Metric.mem_closedBall`, `Metric.mem_ball`, `Real.dist_eq`) | |
| 11 | +that the default simp set already supplies and that do not change the goal. No statement, | |
| 12 | +import line or docstring changes, and there is no `maxHeartbeats`. The edits are Treant's | |
| 13 | +`speedup_trials` stage (TitiSkywalker/NavierStokesAndEuler, run of 2026-12-03 at upstream | |
| 14 | +`f9e8bc5`), carried onto this main at `df2f18f` and counted there: 10.75 G to 10.62 G | |
| 15 | +instructions retired elaborating the file, −1.2%. The count and how it was taken are in | |
| 16 | +the pull request description; I measured nothing myself. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Nothing in this unit; the pull request is open and the checks decide. If a later unit | |
| 21 | +touches this file, the timing and method are in the pull request description. | |