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.OrdinarySmoothLimit |
| 2 | import Euler.OrdinaryHelmholtzField |
| 3 | |
| 4 | /-! Passing the actual nonlinear advection and Helmholtz pressure to a |
| 5 | strong ordinary Sobolev limit. Only a uniform H³ bound is used in the |
| 6 | product estimate; pressure convergence is a consequence. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerOrdinarySobolev |
| 11 | |
| 12 | open Set Filter MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal |
| 14 | EulerSmoothSobolev EulerVolterraConvolution |
| 15 | open scoped ContDiff Topology |
| 16 | |
| 17 | theorem jetLp_fieldSub (A B : SmoothL2Field Space) (n : ℕ) : |
| 18 | (fieldSub A B).jetLp n=A.jetLp n-B.jetLp n := by |
| 19 | have he : (fieldSub A B).field=A.field-B.field := funext (fieldSub_field A B) |
| 20 | apply Lp.ext |
| 21 | filter_upwards [(fieldSub A B).jetLp_ae n,A.jetLp_ae n,B.jetLp_ae n, |
| 22 | Lp.coeFn_sub (A.jetLp n) (B.jetLp n)] with x ha hb hc hd |
| 23 | rw [ha,he] |
| 24 | have hh := iteratedFDeriv_sub_apply (i := n) (x := x) |
| 25 | (A.smooth.contDiffAt.of_le (by simp)) (B.smooth.contDiffAt.of_le (by simp)) |
| 26 | exact hh.trans ((congrArg₂ (fun u v : Space [×n]→L[ℝ] Space => u-v) hb hc).symm.trans hd.symm) |
| 27 | |
| 28 | theorem advection_difference (A B : SmoothL2Field Space) : |
| 29 | fieldSub (advectionField A A) (advectionField B B)= |
| 30 | addField (advectionField (fieldSub A B) A) (advectionField B (fieldSub A B)) := by |
| 31 | apply field_ext |
| 32 | funext x |
| 33 | have he : (fieldSub A B).field=A.field-B.field := funext (fieldSub_field A B) |
| 34 | simp only [fieldSub_field,addField_field,advectionField_field] |
| 35 | rw [he,fderiv_sub (A.smooth.differentiable (by simp) x) (B.smooth.differentiable (by simp) x)] |
| 36 | simp only [map_sub,sub_apply] |
| 37 | abel |
| 38 | |
| 39 | theorem advection_norm_velocity (U W : SmoothL2Field Space) (K : ℝ) |
| 40 | (hK : ∀ x, ‖U.field x‖ ≤ K) : |
| 41 | ‖(advectionField U W).toLp‖ ≤ K*‖W.derivative.toLp‖ := by |
| 42 | apply Lp.norm_le_mul_norm_of_ae_le_mul |
| 43 | filter_upwards [(advectionField U W).toLp_ae,W.derivative.toLp_ae] with x ha hw |
| 44 | rw [ha,hw,advectionField_field] |
| 45 | exact ((fderiv ℝ W.field x).le_opNorm (U.field x)).trans |
| 46 | ((mul_le_mul_of_nonneg_left (hK x) (norm_nonneg _)).trans_eq (mul_comm _ _)) |
| 47 | |
| 48 | theorem advection_sub_norm (A B : SmoothL2Field Space) (G K : ℝ) |
| 49 | (hG : ∀ x, ‖fderiv ℝ A.field x‖ ≤ G) (hK : ∀ x, ‖B.field x‖ ≤ K) : |
| 50 | ‖(advectionField A A).toLp-(advectionField B B).toLp‖ ≤ |
| 51 | G*‖A.toLp-B.toLp‖+K*‖A.jetLp 1-B.jetLp 1‖ := by |
| 52 | rw [← toLp_fieldSub,advection_difference,toLp_addField] |
| 53 | apply (norm_add_le _ _).trans |
| 54 | have h := add_le_add (advection_norm_gradient (fieldSub A B) A G hG) |
| 55 | (advection_norm_velocity B (fieldSub A B) K hK) |
| 56 | simpa only [toLp_fieldSub,← norm_jetLp_zero (fieldSub A B).derivative, |
| 57 | norm_derivative_jetLp,jetLp_fieldSub] using h |
| 58 | |
| 59 | variable {T : ℝ} |
| 60 | |
| 61 | def advectionPath (A : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 62 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : C(Icc (0 : ℝ) T,L2) := |
| 63 | fieldPath (fun t => advectionField (A t) (A t)) (advectionField_continuous A hA) |
| 64 | |
| 65 | def projectedRhsPath (A : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 66 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : C(Icc (0 : ℝ) T,L2) := |
| 67 | fieldPath (fun t => projectedRhs (A t)) (projectedRhs_continuous A hA) |
| 68 | |
| 69 | def pressurePath (A : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 70 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : C(Icc (0 : ℝ) T,L2) := |
| 71 | fieldPath (fun t => pressureField (A t)) (pressureField_continuous A hA) |
| 72 | |
| 73 | theorem projectedRhsPath_eq (A : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 74 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : |
| 75 | projectedRhsPath A hA=(-solenoidalProjection).compLeftContinuous ℝ |
| 76 | (Icc (0 : ℝ) T) (advectionPath A hA) := by |
| 77 | apply ContinuousMap.ext |
| 78 | intro t |
| 79 | exact projectedRhs_toLp (A t) |
| 80 | |
| 81 | theorem pressurePath_eq (A : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 82 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) : |
| 83 | pressurePath A hA=(solenoidalProjection-ContinuousLinearMap.id ℝ L2).compLeftContinuous ℝ |
| 84 | (Icc (0 : ℝ) T) (advectionPath A hA) := by |
| 85 | apply ContinuousMap.ext |
| 86 | intro t |
| 87 | exact pressureField_toLp (A t) |
| 88 | |
| 89 | theorem advectionPath_sub_norm (A B : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 90 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
| 91 | (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) (G K : ℝ) (hG0 : 0 ≤ G) (hK0 : 0 ≤ K) |
| 92 | (hG : ∀ t x, ‖fderiv ℝ (A t).field x‖ ≤ G) (hK : ∀ t x, ‖(B t).field x‖ ≤ K) : |
| 93 | ‖advectionPath A hA-advectionPath B hB‖ ≤ |
| 94 | G*‖fieldPath A hA-fieldPath B hB‖+K*‖jetPath A hA 1-jetPath B hB 1‖ := by |
| 95 | apply (ContinuousMap.norm_le _ (add_nonneg (mul_nonneg hG0 (norm_nonneg _)) |
| 96 | (mul_nonneg hK0 (norm_nonneg _)))).mpr |
| 97 | intro t |
| 98 | apply (advection_sub_norm (A t) (B t) G K (hG t) (hK t)).trans |
| 99 | exact add_le_add (mul_le_mul_of_nonneg_left |
| 100 | ((fieldPath A hA-fieldPath B hB).norm_coe_le_norm t) hG0) |
| 101 | (mul_le_mul_of_nonneg_left ((jetPath A hA 1-jetPath B hB 1).norm_coe_le_norm t) hK0) |
| 102 | |
| 103 | namespace SmoothLimitData |
| 104 | |
| 105 | variable {A : ℕ → Icc (0 : ℝ) T → SmoothL2Field Space} |
| 106 | {hA : ∀ k n, Continuous (fun t => (A k t).jetLp n)} (L : SmoothLimitData A hA) |
| 107 | |
| 108 | theorem advectionPath_convergence (hT : 0 ≤ T) (M : ℝ) |
| 109 | (hb : ∀ k t, tensorNorm 3 (A k t) ≤ M) : |
| 110 | Tendsto (fun k => advectionPath (A k) (hA k)) atTop (𝓝 (advectionPath L.field L.field_continuous)) := by |
| 111 | have hM : 0 ≤ M := (tensorNorm_nonneg 3 (A 0 ⟨0,le_rfl,hT⟩)).trans (hb 0 _) |
| 112 | let G := (9*smoothEmbeddingConstant)*M |
| 113 | let K := (13*smoothEmbeddingConstant)*M |
| 114 | have hG0 : 0 ≤ G := mul_nonneg (mul_nonneg (by norm_num) smoothEmbeddingConstant_nonneg) hM |
| 115 | have hK0 : 0 ≤ K := mul_nonneg (mul_nonneg (by norm_num) smoothEmbeddingConstant_nonneg) hM |
| 116 | have hG (k : ℕ) (t : Icc (0 : ℝ) T) (x : Space) : ‖fderiv ℝ (A k t).field x‖ ≤ G := by |
| 117 | have h := real_smooth_fderiv_le_H3 3 (A k t).field (A k t).smooth |
| 118 | (fun j _ => (A k t).integrable j) x |
| 119 | rw [← tensorNorm_eq] at h |
| 120 | exact h.trans (mul_le_mul_of_nonneg_left (hb k t) |
| 121 | (mul_nonneg (by norm_num) smoothEmbeddingConstant_nonneg)) |
| 122 | have hK (t : Icc (0 : ℝ) T) (x : Space) : ‖(L.field t).field x‖ ≤ K := by |
| 123 | apply wordBound_pointwise |
| 124 | intro n hn w |
| 125 | exact (wordBound_tensorNorm 3 (L.field t) n (by omega) w).trans (L.tensorNorm_bound 3 M hb t) |
| 126 | apply tendsto_iff_norm_sub_tendsto_zero.mpr |
| 127 | have h0 : Tendsto (fun k => ‖fieldPath (A k) (hA k)-fieldPath L.field L.field_continuous‖) |
| 128 | atTop (𝓝 0) := tendsto_iff_norm_sub_tendsto_zero.mp L.fieldPath_convergence |
| 129 | have h1 : Tendsto (fun k => ‖jetPath (A k) (hA k) 1-jetPath L.field L.field_continuous 1‖) |
| 130 | atTop (𝓝 0) := tendsto_iff_norm_sub_tendsto_zero.mp (L.jetPath_convergence 1) |
| 131 | apply squeeze_zero (fun _ => norm_nonneg _) |
| 132 | (fun k => advectionPath_sub_norm (A k) L.field (hA k) L.field_continuous G K hG0 hK0 (hG k) hK) |
| 133 | simpa only [mul_zero,add_zero] using (h0.const_mul G).add (h1.const_mul K) |
| 134 | |
| 135 | theorem projectedRhsPath_convergence (hT : 0 ≤ T) (M : ℝ) |
| 136 | (hb : ∀ k t, tensorNorm 3 (A k t) ≤ M) : |
| 137 | Tendsto (fun k => projectedRhsPath (A k) (hA k)) atTop (𝓝 (projectedRhsPath L.field L.field_continuous)) := by |
| 138 | simp only [projectedRhsPath_eq] |
| 139 | exact ((-solenoidalProjection).compLeftContinuous ℝ (Icc (0 : ℝ) T)).continuous.tendsto _ |
| 140 | |>.comp (L.advectionPath_convergence hT M hb) |
| 141 | |
| 142 | theorem pressurePath_convergence (hT : 0 ≤ T) (M : ℝ) |
| 143 | (hb : ∀ k t, tensorNorm 3 (A k t) ≤ M) : |
| 144 | Tendsto (fun k => pressurePath (A k) (hA k)) atTop (𝓝 (pressurePath L.field L.field_continuous)) := by |
| 145 | simp only [pressurePath_eq] |
| 146 | exact ((solenoidalProjection-ContinuousLinearMap.id ℝ L2).compLeftContinuous ℝ |
| 147 | (Icc (0 : ℝ) T)).continuous.tendsto _ |>.comp (L.advectionPath_convergence hT M hb) |
| 148 | |
| 149 | end SmoothLimitData |
| 150 | end EulerOrdinarySobolev |