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/Reserved): 1 file cheaper to elaborate (−9.7%, measured) #647
Merged
+5 −5 NavierStokes/ReservedPatches.lean View file
| @@ -222,7 +222,7 @@ theorem xAmplitude_contDiff (F : Profile) (XR : ℝ) : ContDiff ℝ ∞ (xAmplit | ||
| 222 | 222 | theorem xAmplitude_shape (F : Profile) (XR eta : ℝ) : |
| 223 | 223 | xAmplitude F XR eta = xAmplitude F XR 0 / (1 + eta ^ 2) := by |
| 224 | 224 | simp only [xAmplitude, OutgoingSchedule.shape, ne_eq, OfNat.ofNat_ne_zero, not_false_eq_true, |
| 225 | - zero_pow, add_zero, inv_one, mul_one, div_eq_mul_inv] | |
| 225 | + zero_pow, add_zero, inv_one, div_eq_mul_inv] | |
| 226 | 226 | ring |
| 227 | 227 | |
| 228 | 228 | theorem clean_E_shaped (F : Profile) (XR eta X : ℝ) (hXR : 0 < XR) (hX : 0 < X) |
| @@ -318,9 +318,9 @@ theorem radial_support_margins (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot | ||
| 318 | 318 | have ha := left_pos F XR hXR s |
| 319 | 319 | have hb := ha.trans hl |
| 320 | 320 | have hc := hb.trans hm |
| 321 | - exact ⟨Real.sqrt_lt_sqrt (by positivity) (by nlinarith), | |
| 322 | - Real.sqrt_lt_sqrt (by positivity) (by nlinarith), | |
| 323 | - Real.sqrt_lt_sqrt (by positivity) (by nlinarith)⟩ | |
| 321 | + exact ⟨Real.sqrt_lt_sqrt (by positivity) (by linarith), | |
| 322 | + Real.sqrt_lt_sqrt (by positivity) (by linarith), | |
| 323 | + Real.sqrt_lt_sqrt (by positivity) (by linarith)⟩ | |
| 324 | 324 | |
| 325 | 325 | theorem radialSupportLeft_pos (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot) : |
| 326 | 326 | 0 < radialSupportLeft F XR s := |
| @@ -338,7 +338,7 @@ theorem square_half_mem_Ioo {a b R : ℝ} (ha : 0 < a) | ||
| 338 | 338 | have hr := (sq_lt_sq₀ hRp.le (Real.sqrt_nonneg (2 * b))).mpr hR.2 |
| 339 | 339 | rw [Real.sq_sqrt (by positivity)] at hl |
| 340 | 340 | rw [Real.sq_sqrt (by positivity)] at hr |
| 341 | - constructor <;> nlinarith | |
| 341 | + constructor <;> linarith | |
| 342 | 342 | |
| 343 | 343 | theorem radial_mem_window (F : Profile) (XR : ℝ) (hXR : 0 < XR) (s : Slot) |
| 344 | 344 | {R : ℝ} (hR : R ∈ radialWindow F XR s) : R ^ 2 / 2 ∈ window F XR s := |
+17 −0 routes/s2-ns-reserved-1/README.md added View file
| @@ -0,0 +1,17 @@ | ||
| 1 | +--- | |
| 2 | +issue: 11 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s2-ns-reserved-1 | |
| 6 | + | |
| 7 | +The family `NavierStokes/Reserved*`, taken one file at a time. This unit makes | |
| 8 | +`NavierStokes/ReservedPatches.lean` cheaper to elaborate: `nlinarith` becomes `linarith` in | |
| 9 | +`radial_support_margins` and `square_half_mem_Ioo`, and `xAmplitude_shape`'s `simp only` list | |
| 10 | +drops a `mul_one` it does not need. Proofs only; no statement, import, docstring or | |
| 11 | +`maxHeartbeats` changes. Counts (instructions retired, one file, `lean -j1 | |
| 12 | +-DElab.async=false`): 13.47 G before, 12.16 G after, at main `df2f18f`. | |
| 13 | + | |
| 14 | +## Next | |
| 15 | + | |
| 16 | +Nothing left in this unit; the pull request is open against `main`. A later unit may take the | |
| 17 | +next file of the family. | |