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.LpDominatedDerivative |
| 2 | import Mathlib.Analysis.Calculus.MeanValue |
| 3 | |
| 4 | /-! Smooth parameter dependence in actual L² from square-integrable fiberwise jets. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | |
| 9 | namespace EulerLpSmoothFamily |
| 10 | |
| 11 | open MeasureTheory Filter EulerLpDerivative |
| 12 | open scoped ContDiff Topology |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {X : Type u} [MeasurableSpace X] {P : Type v} |
| 17 | [NormedAddCommGroup P] [NormedSpace ℝ P] {V : Type w} |
| 18 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 19 | |
| 20 | /-- Actual parameter jets on almost every fiber, with one L² majorant per derivative order. -/ |
| 21 | structure SmoothFamily (μ : Measure X) (P : Type v) (V : Type w) |
| 22 | [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup V] [NormedSpace ℝ V] where |
| 23 | field : P → X → V |
| 24 | smooth : ∀ᵐ x ∂μ, ContDiff ℝ ∞ (fun a => field a x) |
| 25 | jet : (n : ℕ) → P → Lp (P [×n]→L[ℝ] V) 2 μ |
| 26 | jet_ae : ∀ n a, jet n a =ᵐ[μ] fun x => iteratedFDeriv ℝ n (fun b => field b x) a |
| 27 | bound : ℕ → Lp ℝ 2 μ |
| 28 | bounded : ∀ n, ∀ᵐ x ∂μ, ∀ a, ‖iteratedFDeriv ℝ n (fun b => field b x) a‖ ≤ bound n x |
| 29 | |
| 30 | namespace SmoothFamily |
| 31 | |
| 32 | variable {μ : Measure X} |
| 33 | |
| 34 | def value (A : SmoothFamily μ P V) (a : P) : Lp V 2 μ := |
| 35 | (continuousMultilinearCurryFin0 ℝ P V).toContinuousLinearEquiv.toContinuousLinearMap.compLpL |
| 36 | 2 μ (A.jet 0 a) |
| 37 | |
| 38 | theorem value_ae (A : SmoothFamily μ P V) (a : P) : A.value a =ᵐ[μ] A.field a := by |
| 39 | filter_upwards [(continuousMultilinearCurryFin0 ℝ P V).toContinuousLinearEquiv.toContinuousLinearMap.coeFn_compLpL |
| 40 | (A.jet 0 a), A.jet_ae 0 a] with x hx hj |
| 41 | rw [show A.value a x = continuousMultilinearCurryFin0 ℝ P V (A.jet 0 a x) from hx, hj] |
| 42 | rw [iteratedFDeriv_zero_eq_comp] |
| 43 | exact (continuousMultilinearCurryFin0 ℝ P V).apply_symm_apply _ |
| 44 | |
| 45 | def derivative (A : SmoothFamily μ P V) : SmoothFamily μ P (P →L[ℝ] V) where |
| 46 | field a x := fderiv ℝ (fun b => A.field b x) a |
| 47 | smooth := A.smooth.mono (fun _ hx => hx.fderiv_right (m := ∞) (by simp)) |
| 48 | jet n a := (continuousMultilinearCurryRightEquiv' ℝ n P V).toContinuousLinearEquiv.toContinuousLinearMap.compLpL |
| 49 | 2 μ (A.jet (n+1) a) |
| 50 | jet_ae n a := by |
| 51 | let L : (P [×(n+1)]→L[ℝ] V) →L[ℝ] (P [×n]→L[ℝ] (P →L[ℝ] V)) := |
| 52 | (continuousMultilinearCurryRightEquiv' ℝ n P V).toContinuousLinearEquiv.toContinuousLinearMap |
| 53 | filter_upwards [ContinuousLinearMap.coeFn_compLpL (𝕜 := ℝ) (𝕜' := ℝ) |
| 54 | (E := P [×(n+1)]→L[ℝ] V) (F := P [×n]→L[ℝ] (P →L[ℝ] V)) |
| 55 | (σ := RingHom.id ℝ) L (A.jet (n+1) a), A.jet_ae (n+1) a] with x hx hj |
| 56 | rw [hx, hj, iteratedFDeriv_succ_eq_comp_right] |
| 57 | exact (continuousMultilinearCurryRightEquiv' ℝ n P V).apply_symm_apply _ |
| 58 | bound n := A.bound (n+1) |
| 59 | bounded n := (A.bounded (n+1)).mono (fun x hx a => by |
| 60 | simpa only [norm_iteratedFDeriv_fderiv] using hx a) |
| 61 | |
| 62 | theorem bound_nonneg (A : SmoothFamily μ P V) (n : ℕ) : ∀ᵐ x ∂μ, 0 ≤ A.bound n x := |
| 63 | (A.bounded n).mono (fun _ hx => (norm_nonneg _).trans (hx 0)) |
| 64 | |
| 65 | theorem hasFDerivAt_value (A : SmoothFamily μ P V) (a : P) : |
| 66 | HasFDerivAt A.value (derivativeMap μ (A.derivative.value a)) a := by |
| 67 | have hshift : HasFDerivAt (fun b => A.value (b+a)) |
| 68 | (derivativeMap μ (A.derivative.value a)) 0 := by |
| 69 | apply EulerLpDerivative.hasFDerivAt_of_dominated μ |
| 70 | (fun b => A.value (b+a)) (fun b x => A.field (b+a) x) |
| 71 | (fun b => A.value_ae (b+a)) (A.derivative.value a) _ (A.bound 1) |
| 72 | (Lp.memLp (A.bound 1)) (A.bound_nonneg 1) |
| 73 | · apply Eventually.of_forall |
| 74 | intro b |
| 75 | filter_upwards [A.smooth, A.bounded 1] with x hx hb |
| 76 | have hd (c : P) : ‖fderiv ℝ (fun d => A.field d x) c‖ ≤ A.bound 1 x := by |
| 77 | simpa only [norm_iteratedFDeriv_one] using hb c |
| 78 | have hh := Convex.norm_image_sub_le_of_norm_fderiv_le |
| 79 | (𝕜 := ℝ) (f := fun c => A.field c x) (s := Set.univ) |
| 80 | (fun c _ => hx.differentiable (by simp) c) (fun c _ => hd c) |
| 81 | (convex_univ : Convex ℝ (Set.univ : Set P)) (Set.mem_univ a) (Set.mem_univ (b+a)) |
| 82 | simpa only [zero_add, add_sub_cancel_right] using hh |
| 83 | · filter_upwards [A.smooth, A.derivative.value_ae a] with x hx hd |
| 84 | rw [hd] |
| 85 | change HasFDerivAt (fun b => A.field (b+a) x) |
| 86 | (fderiv ℝ (fun b => A.field b x) a) (0 : P) |
| 87 | apply (hasFDerivAt_comp_add_right (f := fun b => A.field b x) a).mpr |
| 88 | simpa only [zero_add] using (hx.differentiable (by simp) a).hasFDerivAt |
| 89 | simpa only [zero_add] using (hasFDerivAt_comp_add_right a).mp hshift |
| 90 | |
| 91 | theorem fderiv_value (A : SmoothFamily μ P V) : |
| 92 | fderiv ℝ A.value = fun a => derivativeBundling μ (A.derivative.value a) := |
| 93 | funext (fun a => (A.hasFDerivAt_value a).fderiv) |
| 94 | |
| 95 | end SmoothFamily |
| 96 | |
| 97 | end EulerLpSmoothFamily |