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.LpSmoothFieldAlgebra |
| 2 | import Euler.SmoothCoefficientPathMap |
| 3 | import Euler.LpOperatorField |
| 4 | |
| 5 | /-! |
| 6 | # Actual smooth L² multiplication by bounded smooth coefficients |
| 7 | |
| 8 | The coefficient derivatives are genuine uniform-norm jets. The product |
| 9 | derivatives are actual Fréchet derivatives, proved square integrable by the |
| 10 | Leibniz estimate. The derivative identity remains a literal function equality. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerLpSmoothCoefficientProduct |
| 16 | |
| 17 | open MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 18 | EulerLpTranslation EulerLpTranslation.SmoothL2Field Filter |
| 19 | open scoped ContDiff BoundedContinuousFunction |
| 20 | |
| 21 | universe u v |
| 22 | variable {K : Type v} [TopologicalSpace K] [CompactSpace K] |
| 23 | {V W : Type u} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 24 | [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 25 | |
| 26 | theorem product_memLp (A : SmoothCoefficientPath K (V →L[ℝ] W)) (t : K) |
| 27 | (f : SmoothL2Field V) (n : ℕ) : |
| 28 | MemLp (iteratedFDeriv ℝ n (fun x => A.field t x (f.field x))) 2 volume := by |
| 29 | let g : ℕ → Space → ℝ := fun i x => |
| 30 | ((n.choose i : ℝ)*‖A.jet i t‖)*‖iteratedFDeriv ℝ (n-i) f.field x‖ |
| 31 | have hg (i : ℕ) : MemLp (g i) 2 volume := |
| 32 | (f.integrable (n-i)).norm.const_mul _ |
| 33 | have hsum : MemLp (∑ i ∈ Finset.range (n+1), g i) 2 volume := |
| 34 | memLp_finsetSum' _ (fun i _ => hg i) |
| 35 | have hm : AEStronglyMeasurable |
| 36 | (iteratedFDeriv ℝ n (fun x => A.field t x (f.field x))) volume := |
| 37 | (((A.smooth t).clm_apply f.smooth).continuous_iteratedFDeriv (m := n) (by simp)).aestronglyMeasurable |
| 38 | apply hsum.mono' hm |
| 39 | apply Eventually.of_forall |
| 40 | intro x |
| 41 | apply (norm_iteratedFDeriv_clm_apply (A.smooth t) f.smooth x (by simp : (n : ℕ∞ω) ≤ ∞)).trans |
| 42 | simp only [Finset.sum_apply, g] |
| 43 | apply Finset.sum_le_sum |
| 44 | intro i _ |
| 45 | have hA : ‖iteratedFDeriv ℝ i (A.field t : Space → V →L[ℝ] W) x‖ ≤ ‖A.jet i t‖ := by |
| 46 | rw [← A.jet_eq] |
| 47 | exact (A.jet i t).norm_coe_le_norm x |
| 48 | exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hA (Nat.cast_nonneg _)) (norm_nonneg _) |
| 49 | |
| 50 | def product (A : SmoothCoefficientPath K (V →L[ℝ] W)) (t : K) |
| 51 | (f : SmoothL2Field V) : SmoothL2Field W where |
| 52 | field x := A.field t x (f.field x) |
| 53 | smooth := (A.smooth t).clm_apply f.smooth |
| 54 | integrable := product_memLp A t f |
| 55 | |
| 56 | @[simp] theorem product_field (A : SmoothCoefficientPath K (V →L[ℝ] W)) (t : K) |
| 57 | (f : SmoothL2Field V) (x : Space) : (product A t f).field x = A.field t x (f.field x) := rfl |
| 58 | |
| 59 | theorem product_toLp (A : SmoothCoefficientPath K (V →L[ℝ] W)) (t : K) |
| 60 | (f : SmoothL2Field V) : |
| 61 | (product A t f).toLp = EulerLpOperatorField.full volume (A.field t) f.toLp := by |
| 62 | apply Lp.ext |
| 63 | filter_upwards [(product A t f).toLp_ae, |
| 64 | EulerLpOperatorField.full_ae volume (A.field t) f.toLp, f.toLp_ae] with x h₁ h₂ h₃ |
| 65 | exact h₁.trans ((congrArg (A.field t x) h₃).symm.trans h₂.symm) |
| 66 | |
| 67 | def leftDerivative (A : SmoothCoefficientPath K (V →L[ℝ] W)) : |
| 68 | SmoothCoefficientPath K (V →L[ℝ] (Space →L[ℝ] W)) := |
| 69 | SmoothCoefficientPath.map (flipₗᵢ ℝ Space V W).toContinuousLinearEquiv.toContinuousLinearMap A.derivative |
| 70 | |
| 71 | def rightDerivative (A : SmoothCoefficientPath K (V →L[ℝ] W)) : |
| 72 | SmoothCoefficientPath K ((Space →L[ℝ] V) →L[ℝ] (Space →L[ℝ] W)) := |
| 73 | SmoothCoefficientPath.map (compL ℝ Space V W) A |
| 74 | |
| 75 | theorem product_derivative_field (A : SmoothCoefficientPath K (V →L[ℝ] W)) (t : K) |
| 76 | (f : SmoothL2Field V) : |
| 77 | (product A t f).derivative.field = |
| 78 | (addField (product (rightDerivative A) t f.derivative) |
| 79 | (product (leftDerivative A) t f)).field := by |
| 80 | funext x |
| 81 | have hd := ((A.smooth t).differentiable (by simp) x).hasFDerivAt.clm_apply |
| 82 | (f.smooth.differentiable (by simp) x).hasFDerivAt |
| 83 | apply ContinuousLinearMap.ext |
| 84 | intro w |
| 85 | have he := congrArg (fun D : Space →L[ℝ] W => D w) hd.fderiv |
| 86 | have hflip (D : Space →L[ℝ] V →L[ℝ] W) (v : V) (a : Space) : |
| 87 | (flipₗᵢ ℝ Space V W).toContinuousLinearEquiv.toContinuousLinearMap D v a = D a v := rfl |
| 88 | simpa only [product, addField_field, SmoothL2Field.derivative, |
| 89 | leftDerivative, rightDerivative, SmoothCoefficientPath.map_apply, |
| 90 | SmoothCoefficientPath.derivative, SmoothCoefficientPath.derivativeField_eq, |
| 91 | hflip, flip_apply, compL_apply, comp_apply, add_apply] using he |
| 92 | |
| 93 | theorem jetLp_congr (f g : SmoothL2Field V) (h : f.field = g.field) (n : ℕ) : |
| 94 | f.jetLp n = g.jetLp n := by |
| 95 | apply Lp.ext |
| 96 | filter_upwards [f.jetLp_ae n, g.jetLp_ae n] with x h₁ h₂ |
| 97 | rw [h₁, h₂, h] |
| 98 | |
| 99 | theorem product_derivative_jetLp (A : SmoothCoefficientPath K (V →L[ℝ] W)) (t : K) |
| 100 | (f : SmoothL2Field V) (n : ℕ) : |
| 101 | (product A t f).derivative.jetLp n = |
| 102 | (product (rightDerivative A) t f.derivative).jetLp n+ |
| 103 | (product (leftDerivative A) t f).jetLp n := |
| 104 | (jetLp_congr _ _ (product_derivative_field A t f) n).trans (jetLp_addField _ _ n) |
| 105 | |
| 106 | end EulerLpSmoothCoefficientProduct |