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

| 1 | import NavierStokes.SmoothMomentRepair |
| 2 | import Mathlib.Analysis.Normed.Ring.Units |
| 3 | |
| 4 | noncomputable section |
| 5 | |
| 6 | namespace NavierStokes.QuadraticLinearization |
| 7 | |
| 8 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 9 | |
| 10 | /-- The derivative in the correction variable is invertible throughout the |
| 11 | quantitative correction ball, by its actual Neumann-series inverse. -/ |
| 12 | theorem isInvertible (B : E ≃L[ℝ] E) (A : E →L[ℝ] E →L[ℝ] E) (c : E) |
| 13 | (ν q δ : ℝ) (hν : 0 ≤ ν) (hq : 0 ≤ q) |
| 14 | (hB : ‖B.symm.toContinuousLinearMap‖ ≤ ν) (hA : ‖A‖ ≤ q) |
| 15 | (hc : ‖c‖ ≤ 2 * ν * δ) (hsmall : 8 * ν^2 * q * δ ≤ 1) : |
| 16 | (B.toContinuousLinearMap + A c + A.flip c).IsInvertible := by |
| 17 | let P : E →L[ℝ] E := B.symm.toContinuousLinearMap.comp (A c + A.flip c) |
| 18 | have hflip : ‖A.flip‖ = ‖A‖ := ContinuousLinearMap.opNorm_flip A |
| 19 | have hnorm : ‖P‖ ≤ 4 * ν^2 * q * δ := by |
| 20 | calc |
| 21 | ‖P‖ ≤ ‖B.symm.toContinuousLinearMap‖ * ‖A c + A.flip c‖ := |
| 22 | ContinuousLinearMap.opNorm_comp_le _ _ |
| 23 | _ ≤ ν * (‖A c‖ + ‖A.flip c‖) := |
| 24 | mul_le_mul hB (norm_add_le _ _) (norm_nonneg _) hν |
| 25 | _ ≤ ν * (‖A‖*‖c‖ + ‖A‖*‖c‖) := by |
| 26 | apply mul_le_mul_of_nonneg_left _ hν |
| 27 | apply add_le_add (A.le_opNorm c) |
| 28 | simpa only [hflip] using A.flip.le_opNorm c |
| 29 | _ ≤ ν * (q*(2*ν*δ) + q*(2*ν*δ)) := by |
| 30 | apply mul_le_mul_of_nonneg_left _ hν |
| 31 | exact add_le_add (mul_le_mul hA hc (norm_nonneg _) hq) |
| 32 | (mul_le_mul hA hc (norm_nonneg _) hq) |
| 33 | _ = _ := by ring |
| 34 | have hlt : ‖-P‖ < 1 := by rw [norm_neg]; linarith |
| 35 | let u : (E →L[ℝ] E)ˣ := Units.oneSub (-P) hlt |
| 36 | refine ⟨(ContinuousLinearEquiv.ofUnit u).trans B, ?_⟩ |
| 37 | apply ContinuousLinearMap.ext |
| 38 | intro z |
| 39 | change B ((u : E →L[ℝ] E) z) = _ |
| 40 | rw [Units.val_oneSub] |
| 41 | simp only [sub_neg_eq_add, add_apply, one_apply_eq_self, |
| 42 | map_add, P, ContinuousLinearMap.comp_apply, ContinuousLinearEquiv.coe_coe, |
| 43 | ContinuousLinearEquiv.apply_symm_apply] |
| 44 | abel |
| 45 | |
| 46 | end NavierStokes.QuadraticLinearization |