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 Euler.HilbertCoerciveParameter |
| 2 | import Mathlib.Analysis.Calculus.ContDiff.Bounds |
| 3 | |
| 4 | /-! |
| 5 | # Actual all-order estimates for a coercive inverse |
| 6 | |
| 7 | At a parameter value `x`, freeze the inverse of `A x` and write |
| 8 | `u y = (A x)⁻¹ (f y - (A y - A x) (u y))`. The coefficient difference |
| 9 | vanishes at `x`, so differentiating gives a triangular estimate with no |
| 10 | highest-order solution term on the right. The factorial estimate below is |
| 11 | therefore derived from genuine derivatives of the constructed inverse. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open scoped ContDiff |
| 17 | |
| 18 | namespace EulerHilbertCoerciveGevrey |
| 19 | |
| 20 | open ContinuousLinearMap Finset InnerProductSpace EulerGevrey |
| 21 | EulerCoerciveProjection EulerHilbertCoerciveParameter |
| 22 | |
| 23 | section Normed |
| 24 | |
| 25 | variable {P E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 26 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 27 | |
| 28 | /-- Freezing the coefficient gives the actual triangular derivative bound. -/ |
| 29 | theorem derivative_recurrence |
| 30 | (A : P → E →L[ℝ] E) (u f : P → E) |
| 31 | (hA : ContDiff ℝ ∞ A) (hu : ContDiff ℝ ∞ u) (hf : ContDiff ℝ ∞ f) |
| 32 | (heq : ∀ y, A y (u y) = f y) (x : P) |
| 33 | (I : E →L[ℝ] E) (hI : ∀ v, I (A x v) = v) (n : ℕ) : |
| 34 | ‖iteratedFDeriv ℝ n u x‖ ≤ ‖I‖ * |
| 35 | (‖iteratedFDeriv ℝ n f x‖ + ∑ j ∈ range n, |
| 36 | (n.choose (j+1) : ℝ) * ‖iteratedFDeriv ℝ (j+1) A x‖ * |
| 37 | ‖iteratedFDeriv ℝ (n-(j+1)) u x‖) := by |
| 38 | let B : P → E →L[ℝ] E := fun y => A y - A x |
| 39 | have hB : ContDiff ℝ ∞ B := hA.sub contDiff_const |
| 40 | have hBu : ContDiff ℝ ∞ (fun y => B y (u y)) := hB.clm_apply hu |
| 41 | have hfreeze : u = I ∘ (fun y => f y - B y (u y)) := by |
| 42 | funext y |
| 43 | dsimp [B] |
| 44 | rw [sub_apply, ← heq y, sub_sub_cancel] |
| 45 | exact (hI (u y)).symm |
| 46 | have hzero : ‖iteratedFDeriv ℝ 0 B x‖ = 0 := by |
| 47 | rw [norm_iteratedFDeriv_zero] |
| 48 | simp [B] |
| 49 | have hpositive (j : ℕ) : |
| 50 | iteratedFDeriv ℝ (j+1) B x = iteratedFDeriv ℝ (j+1) A x := by |
| 51 | change iteratedFDeriv ℝ (j+1) (A - fun _ => A x) x = _ |
| 52 | rw [iteratedFDeriv_sub_apply (hA.contDiffAt.of_le (by simp)) contDiffAt_const] |
| 53 | simp only [iteratedFDeriv_succ_const, Pi.zero_apply, sub_zero] |
| 54 | have hprod := norm_iteratedFDeriv_clm_apply hB hu x (n := n) (by simp) |
| 55 | rw [sum_range_succ'] at hprod |
| 56 | simp only [hzero, mul_zero, zero_mul, add_zero, hpositive] at hprod |
| 57 | have hsub : ‖iteratedFDeriv ℝ n (fun y => f y - B y (u y)) x‖ ≤ |
| 58 | ‖iteratedFDeriv ℝ n f x‖ + ‖iteratedFDeriv ℝ n (fun y => B y (u y)) x‖ := by |
| 59 | change ‖iteratedFDeriv ℝ n (f - fun y => B y (u y)) x‖ ≤ _ |
| 60 | rw [iteratedFDeriv_sub_apply (hf.contDiffAt.of_le (by simp)) |
| 61 | (hBu.contDiffAt.of_le (by simp))] |
| 62 | exact norm_sub_le _ _ |
| 63 | have hbound := I.norm_iteratedFDeriv_comp_left (x := x) |
| 64 | ((hf.sub hBu).contDiffAt) (n := n) (by simp) |
| 65 | rw [← hfreeze] at hbound |
| 66 | exact hbound.trans (mul_le_mul_of_nonneg_left |
| 67 | (hsub.trans (add_le_add (le_refl ‖iteratedFDeriv ℝ n f x‖) hprod)) (norm_nonneg I)) |
| 68 | |
| 69 | end Normed |
| 70 | |
| 71 | section Hilbert |
| 72 | |
| 73 | variable {P E : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 74 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 75 | |
| 76 | end Hilbert |
| 77 | |
| 78 | end EulerHilbertCoerciveGevrey |