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/Squared): 1 file cheaper to elaborate (−5.5%, measured)
Browse filesThree edits inside the proofs of NavierStokes/SquaredPartition.lean: a `simp only` list loses an entry that does not change the goal, and two `nlinarith` calls become `linarith`. No statement, import or docstring changes; no maxHeartbeats. Part of #11. 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
+3 −3 NavierStokes/SquaredPartition.lean View file
| @@ -58,7 +58,7 @@ theorem translatedBump_support (k : ℤ) : | ||
| 58 | 58 | ext x |
| 59 | 59 | change bump (x - k) ≠ 0 ↔ _ |
| 60 | 60 | rw [← mem_support, bump.support_eq] |
| 61 | - simp only [Metric.mem_ball, Real.dist_eq, sub_zero, bump, abs_lt, mem_Ioo] | |
| 61 | + simp only [Metric.mem_ball, Real.dist_eq, sub_zero, bump, abs_lt] | |
| 62 | 62 | constructor <;> intro h <;> constructor <;> linarith [h.1, h.2] |
| 63 | 63 | |
| 64 | 64 | theorem integer_intervals_locallyFinite : |
| @@ -177,7 +177,7 @@ theorem gridMask_support (δ : ℝ) (hδ : 0 < δ) (k : ℤ) : | ||
| 177 | 177 | rw [lineMask_support] |
| 178 | 178 | simp only [mem_Ioo] |
| 179 | 179 | rw [lt_div_iff₀ hδ, div_lt_iff₀ hδ] |
| 180 | - constructor <;> intro h <;> constructor <;> nlinarith [h.1, h.2] | |
| 180 | + constructor <;> intro h <;> constructor <;> linarith [h.1, h.2] | |
| 181 | 181 | |
| 182 | 182 | theorem gridMask_tsupport (δ : ℝ) (hδ : 0 < δ) (k : ℤ) : |
| 183 | 183 | tsupport (gridMask δ k) = Icc (δ * k - δ) (δ * k + δ) := by |
| @@ -589,7 +589,7 @@ theorem physicalSlowMask_tsupport_smallBox (D : ℝ) {n : ℕ} (hn : 1 ≤ n) | ||
| 589 | 589 | change x j ∈ Icc (SlotColoring.width D j n * k j - SlotColoring.width D j n) |
| 590 | 590 | (SlotColoring.width D j n * k j + SlotColoring.width D j n) |
| 591 | 591 | rw [hw] |
| 592 | - constructor <;> nlinarith | |
| 592 | + constructor <;> linarith | |
| 593 | 593 | · exact (isCompact_univ_pi fun _ => isCompact_Icc).isClosed |
| 594 | 594 | |
| 595 | 595 | /-- The constructed masks fit inside the exact enlarged boxes already colored |
+13 −0 routes/s2-ns-squared-1/README.md added View file
| @@ -0,0 +1,13 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-squared-1 | |
| 6 | + | |
| 7 | +Unit of S-2 (issue #11): make one of the slowest-elaborating files cheaper to elaborate, without changing a statement and without a `maxHeartbeats`. | |
| 8 | + | |
| 9 | +The file is `NavierStokes/SquaredPartition.lean`, of the family `NavierStokes/Squared*`. The change is three edits inside proofs only: a `simp only` argument list drops the one entry that does not change the goal, and two `nlinarith` calls become `linarith`. The measured cost is 21.82 G → 20.62 G instructions retired (−5.5%), counted as the pull request's description says; no statement, import line or docstring changes. | |
| 10 | + | |
| 11 | +## Next | |
| 12 | + | |
| 13 | +Push, let `challenge` and `build` report, and reply to the maintainer's review. If `build` rejects an edit, drop that file from the pull request (its numbers belong to all three edits), take its row out of the table and say so. | |