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.SmoothCylinderComposition |
| 2 | import Euler.GevreyProductLp |
| 3 | |
| 4 | /-! The actual material acceleration has cylinder L² bounds with the |
| 5 | small source amplitudes retained. The product term uses one bounded |
| 6 | derivative coefficient and one L² velocity factor. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerSmoothCylinderFlow |
| 11 | |
| 12 | open Set MeasureTheory EulerLiftedGradientSpace EulerCylinderCoverDescent |
| 13 | EulerSmoothBanachFlow EulerSmoothFlowGevrey EulerGevrey EulerOperatorGevreyCalculus |
| 14 | open scoped ContDiff BoundedContinuousFunction ENNReal |
| 15 | |
| 16 | private local instance (n : ℕ) : NormedAddCommGroup (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] LiftTangent)) := inferInstance |
| 17 | private local instance (n : ℕ) : NormedSpace ℝ (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] LiftTangent)) := inferInstance |
| 18 | private local instance (n : ℕ) : MeasurableSpace (LiftTangent [×n]→L[ℝ] LiftTangent) := borel _ |
| 19 | private local instance (n : ℕ) : BorelSpace (LiftTangent [×n]→L[ℝ] LiftTangent) := ⟨rfl⟩ |
| 20 | private local instance (n : ℕ) : FiniteDimensional ℝ (LiftTangent [×n]→L[ℝ] LiftTangent) := by |
| 21 | let J : (LiftTangent [×n]→L[ℝ] LiftTangent) →ₗ[ℝ] |
| 22 | MultilinearMap ℝ (fun _ : Fin n => LiftTangent) LiftTangent := |
| 23 | ContinuousMultilinearMap.toMultilinearMapLinear |
| 24 | exact FiniteDimensional.of_injective J ContinuousMultilinearMap.toMultilinearMap_injective |
| 25 | |
| 26 | variable (P T : ℝ) [Fact (0 < P)] |
| 27 | (A A₁ : SmoothTimeField (Icc (0 : ℝ) T) LiftTangent LiftTangent) |
| 28 | |
| 29 | def accelerationLpRadius (R S S₁ : ℝ) : ℝ := 4*R+S+S₁ |
| 30 | |
| 31 | theorem accelerationField_memLp_and_bound (B R C S C₁ S₁ : ℝ) |
| 32 | (hB : 0 ≤ B) (hR : 0 ≤ R) (hC : 0 ≤ C) (hS : 0 ≤ S) |
| 33 | (hC₁ : 0 ≤ C₁) (hS₁ : 0 ≤ S₁) |
| 34 | (hb : ∀ n, ‖A.jet n‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 35 | (hLp : ∀ (t : Icc (0 : ℝ) T) j, |
| 36 | MemLp (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) 2 (liftMeasure P)) |
| 37 | (hNorm : ∀ (t : Icc (0 : ℝ) T) j, |
| 38 | (eLpNorm (fun q => jetSeries P (A.field t : LiftTangent → LiftTangent) q j) |
| 39 | 2 (liftMeasure P)).toReal ≤ C*S^j*(j.factorial : ℝ)^2) |
| 40 | (hLp₁ : ∀ (t : Icc (0 : ℝ) T) j, |
| 41 | MemLp (fun q => jetSeries P (A₁.field t : LiftTangent → LiftTangent) q j) 2 (liftMeasure P)) |
| 42 | (hNorm₁ : ∀ (t : Icc (0 : ℝ) T) j, |
| 43 | (eLpNorm (fun q => jetSeries P (A₁.field t : LiftTangent → LiftTangent) q j) |
| 44 | 2 (liftMeasure P)).toReal ≤ C₁*S₁^j*(j.factorial : ℝ)^2) |
| 45 | (n : ℕ) (t : Icc (0 : ℝ) T) : |
| 46 | MemLp (fun q => jetSeries P (accelerationField T A A₁ t) q n) 2 (liftMeasure P) ∧ |
| 47 | (eLpNorm (fun q => jetSeries P (accelerationField T A A₁ t) q n) |
| 48 | 2 (liftMeasure P)).toReal ≤ |
| 49 | (C₁+3*B*R*C)*(accelerationLpRadius R S S₁)^n*(n.factorial : ℝ)^2 := by |
| 50 | let U := accelerationLpRadius R S S₁ |
| 51 | have hU : 0 ≤ U := by dsimp [U,accelerationLpRadius]; positivity |
| 52 | have hRU : 4*R ≤ U := by dsimp [U,accelerationLpRadius]; linarith |
| 53 | have hSU : S ≤ U := by dsimp [U,accelerationLpRadius]; linarith |
| 54 | have hS₁U : S₁ ≤ U := by dsimp [U,accelerationLpRadius]; linarith |
| 55 | let f : LiftTangent → LiftTangent →L[ℝ] LiftTangent := fderiv ℝ (A.field t : LiftTangent → LiftTangent) |
| 56 | let g : LiftTangent → LiftTangent := A.field t |
| 57 | have hf : ContDiff ℝ ∞ f := (A.smooth t).fderiv_right (m := ∞) (by simp) |
| 58 | have hg : ContDiff ℝ ∞ g := A.smooth t |
| 59 | have hfB (j : ℕ) (q : LiftDomain P) : |
| 60 | ‖iteratedFDeriv ℝ j f (sectionPoint P q)‖ ≤ (B*R)*majorant U 0 j := by |
| 61 | rw [norm_iteratedFDeriv_fderiv] |
| 62 | have h := field_jet_bound T A B R hb (j+1) t (sectionPoint P q) |
| 63 | calc |
| 64 | _ ≤ B*majorant R 1 j := by simpa only [majorant,mul_assoc] using h |
| 65 | _ ≤ B*(R*majorant (4*R) 0 j) := |
| 66 | mul_le_mul_of_nonneg_left (majorant_one_le_radius_four R hR j) hB |
| 67 | _ ≤ (B*R)*majorant U 0 j := by |
| 68 | rw [← mul_assoc] |
| 69 | exact mul_le_mul_of_nonneg_left (majorant_radius_mono (4*R) U (by positivity) hRU 0 j) |
| 70 | (mul_nonneg hB hR) |
| 71 | have hgC (j : ℕ) : |
| 72 | (eLpNorm (fun q => iteratedFDeriv ℝ j g (sectionPoint P q)) 2 (liftMeasure P)).toReal ≤ |
| 73 | C*majorant U 0 j := by |
| 74 | calc |
| 75 | _ ≤ C*S^j*(j.factorial : ℝ)^2 := hNorm t j |
| 76 | _ = C*majorant S 0 j := by simp only [majorant,Nat.add_zero,mul_assoc] |
| 77 | _ ≤ C*majorant U 0 j := |
| 78 | mul_le_mul_of_nonneg_left (majorant_radius_mono S U hS hSU 0 j) hC |
| 79 | have hm : AEStronglyMeasurable |
| 80 | (fun q => iteratedFDeriv ℝ n (fun y => f y (g y)) (sectionPoint P q)) (liftMeasure P) := |
| 81 | (((hf.clm_apply hg).continuous_iteratedFDeriv (m := n) (by simp)).measurable.comp |
| 82 | (sectionPoint_measurable P)).aestronglyMeasurable |
| 83 | obtain ⟨hp,hn⟩ := EulerGevreyProductLp.clm_apply_memLp_and_bound (liftMeasure P) (sectionPoint P) |
| 84 | f g hf hg n hm U (B*R) C hU (mul_nonneg hB hR) hC 0 0 |
| 85 | (fun j _ => hfB j) (fun j _ => hLp t j) (fun j _ => hgC j) |
| 86 | let v : LiftDomain P → LiftTangent [×n]→L[ℝ] LiftTangent := |
| 87 | fun q => jetSeries P (A₁.field t : LiftTangent → LiftTangent) q n |
| 88 | let w : LiftDomain P → LiftTangent [×n]→L[ℝ] LiftTangent := |
| 89 | fun q => iteratedFDeriv ℝ n (fun y => f y (g y)) (sectionPoint P q) |
| 90 | have he : (fun q => jetSeries P (accelerationField T A A₁ t) q n) = v+w := by |
| 91 | funext q |
| 92 | exact fun_iteratedFDeriv_add_apply ((A₁.smooth t).contDiffAt.of_le (by simp)) |
| 93 | ((hf.clm_apply hg).contDiffAt.of_le (by simp)) |
| 94 | have hv : MemLp v 2 (liftMeasure P) := hLp₁ t n |
| 95 | have hw : MemLp w 2 (liftMeasure P) := hp |
| 96 | let H : Fin 2 → LiftDomain P → ℝ := fun i q => if i=0 then ‖v q‖ else ‖w q‖ |
| 97 | have hH (i : Fin 2) : MemLp (H i) 2 (liftMeasure P) := by |
| 98 | fin_cases i |
| 99 | · exact hv.norm |
| 100 | · exact hw.norm |
| 101 | have hmacc : AEStronglyMeasurable |
| 102 | (fun q => jetSeries P (accelerationField T A A₁ t) q n) (liftMeasure P) := |
| 103 | (((accelerationField_contDiff T A A₁ t).continuous_iteratedFDeriv (m := n) (by simp)).measurable.comp |
| 104 | (sectionPoint_measurable P)).aestronglyMeasurable |
| 105 | have hdom (q : LiftDomain P) : ‖jetSeries P (accelerationField T A A₁ t) q n‖ ≤ |
| 106 | ∑ i : Fin 2, H i q := by |
| 107 | rw [congrFun he q] |
| 108 | simpa only [Fin.sum_univ_two,H,ite_true,Fin.isValue,one_ne_zero,ite_false,Pi.add_apply] |
| 109 | using norm_add_le (v q) (w q) |
| 110 | obtain ⟨hacc,hreal⟩ := EulerGevreyProductLp.finite_domination (liftMeasure P) Finset.univ |
| 111 | (fun q => jetSeries P (accelerationField T A A₁ t) q n) hmacc H (fun i _ => hH i) hdom |
| 112 | refine ⟨hacc,?_⟩ |
| 113 | have hreal' : (eLpNorm (fun q => jetSeries P (accelerationField T A A₁ t) q n) |
| 114 | 2 (liftMeasure P)).toReal ≤ (eLpNorm v 2 (liftMeasure P)).toReal+(eLpNorm w 2 (liftMeasure P)).toReal := by |
| 115 | simpa only [Fin.sum_univ_two,H,ite_true,Fin.isValue,one_ne_zero,ite_false,eLpNorm_norm] using hreal |
| 116 | have hn₁ : (eLpNorm v 2 (liftMeasure P)).toReal ≤ C₁*majorant U 0 n := by |
| 117 | apply (hNorm₁ t n).trans |
| 118 | simpa only [majorant,Nat.add_zero,mul_assoc] using |
| 119 | mul_le_mul_of_nonneg_left (majorant_radius_mono S₁ U hS₁ hS₁U 0 n) hC₁ |
| 120 | exact hreal'.trans ((add_le_add hn₁ hn).trans_eq (by |
| 121 | simp only [majorant,Nat.add_zero]; dsimp [U]; ring)) |
| 122 | |
| 123 | variable (hA : ∀ (c : AddSubgroup.zmultiples P) (t : Icc (0 : ℝ) T) z, |
| 124 | A.field t (z.1,(c : ℝ)+z.2)=A.field t z) |
| 125 | (hA₁ : ∀ (c : AddSubgroup.zmultiples P) (t : Icc (0 : ℝ) T) z, |
| 126 | A₁.field t (z.1,(c : ℝ)+z.2)=A₁.field t z) |
| 127 | |
| 128 | include hA hA₁ in |
| 129 | omit [Fact (0 < P)] in |
| 130 | theorem accelerationField_deck (t : Icc (0 : ℝ) T) (c : AddSubgroup.zmultiples P) (z : LiftTangent) : |
| 131 | accelerationField T A A₁ t (z.1,(c : ℝ)+z.2)=accelerationField T A A₁ t z := by |
| 132 | have hd : fderiv ℝ (A.field t : LiftTangent → LiftTangent) (z.1,(c : ℝ)+z.2) = |
| 133 | fderiv ℝ (A.field t : LiftTangent → LiftTangent) z := by |
| 134 | apply ContinuousLinearMap.ext |
| 135 | intro v |
| 136 | have h := congrArg (fun L : LiftTangent [×1]→L[ℝ] LiftTangent => L (fun _ => v)) |
| 137 | (iteratedFDeriv_deck P (A.field t : LiftTangent → LiftTangent) (fun d w => hA d t w) 1 c z) |
| 138 | simpa only [iteratedFDeriv_one_apply] using h |
| 139 | simp only [accelerationField,hA,hA₁,hd] |
| 140 | |
| 141 | end EulerSmoothCylinderFlow |