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.OrdinaryEulerVorticity |
| 2 | import Euler.MeanVectorIdentities |
| 3 | |
| 4 | /-! Scalar components of genuine smooth velocity and vorticity fields, |
| 5 | their exact elliptic identity, and a fixed coordinate operator bound. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerOrdinarySobolev |
| 10 | |
| 11 | open Set Filter MeasureTheory InnerProductSpace ContinuousLinearMap Laplacian |
| 12 | EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 13 | EulerVectorCalculus EulerMeanCutoffCurl EulerMeanVectorIdentities Finset |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | def componentField (A : SmoothL2Field Space) (j : Fin 3) : SmoothL2Field ℝ := |
| 17 | mapField (EuclideanSpace.proj j) A |
| 18 | |
| 19 | @[simp] theorem componentField_apply (A : SmoothL2Field Space) (j : Fin 3) (x : Space) : |
| 20 | (componentField A j).field x=A.field x j := rfl |
| 21 | |
| 22 | theorem componentField_toLp_norm (A : SmoothL2Field Space) (j : Fin 3) : |
| 23 | ‖(componentField A j).toLp‖ ≤ ‖A.toLp‖ := |
| 24 | (mapField_norm_le (EuclideanSpace.proj j : Space →L[ℝ] ℝ) A).trans |
| 25 | ((mul_le_mul_of_nonneg_right (norm_coordinate_le j) (norm_nonneg _)).trans_eq (one_mul _)) |
| 26 | |
| 27 | theorem componentField_jetLp_norm (A : SmoothL2Field Space) (j : Fin 3) (n : ℕ) : |
| 28 | ‖(componentField A j).jetLp n‖ ≤ ‖A.jetLp n‖ := by |
| 29 | have hJ : ‖jetPostcompose (EuclideanSpace.proj j : Space →L[ℝ] ℝ) n‖ ≤ 1 := by |
| 30 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 31 | intro F |
| 32 | change ‖(EuclideanSpace.proj j).compContinuousMultilinearMap F‖ ≤ 1*‖F‖ |
| 33 | exact ((EuclideanSpace.proj j : Space →L[ℝ] ℝ).norm_compContinuousMultilinearMap_le F).trans |
| 34 | (mul_le_mul_of_nonneg_right (norm_coordinate_le j) (norm_nonneg _)) |
| 35 | change ‖(mapField (EuclideanSpace.proj j) A).jetLp n‖ ≤ _ |
| 36 | rw [jetLp_mapField] |
| 37 | exact ((jetPostcompose (EuclideanSpace.proj j : Space →L[ℝ] ℝ) n).norm_compLp_le (A.jetLp n)).trans |
| 38 | ((mul_le_mul_of_nonneg_right hJ (norm_nonneg _)).trans_eq (one_mul _)) |
| 39 | |
| 40 | theorem componentField_partial (A : SmoothL2Field Space) (j i : Fin 3) (x : Space) : |
| 41 | partialDerivative (componentField A j).field i x=(fderiv ℝ A.field x (axis i)) j := |
| 42 | EulerVectorCalculus.fderiv_coordinate A.field x (A.smooth.differentiable (by simp) x) j (axis i) |
| 43 | |
| 44 | theorem componentField_laplacian (A : SmoothL2Field Space) |
| 45 | (hdiv : ∀ x, divergence A.field x=0) (j : Fin 3) (x : Space) : |
| 46 | Δ (componentField A j).field x= |
| 47 | partialDerivative (componentField (vorticityField A) (j+1)).field (j+2) x- |
| 48 | partialDerivative (componentField (vorticityField A) (j+2)).field (j+1) x := by |
| 49 | have hz : _root_.gradient (divergence A.field) x=0 := by |
| 50 | rw [show divergence A.field=(fun _ : Space => (0 : ℝ)) from funext hdiv] |
| 51 | exact gradient_fun_const x 0 |
| 52 | have hc := congrArg (fun y : Space => y j) (congrFun (vectorCurl_vectorCurl A.field A.smooth) x) |
| 53 | change (vectorCurl (vectorCurl A.field) x) j=(_root_.gradient (divergence A.field) x-Δ A.field x) j at hc |
| 54 | rw [hz,zero_sub,PiLp.neg_apply,vector_laplacian_coordinate A.field A.smooth x j] at hc |
| 55 | have hv (i : Fin 3) : (componentField (vorticityField A) i).field= |
| 56 | fun y => vectorCurl A.field y i := by |
| 57 | funext y |
| 58 | rw [componentField_apply,vorticityField_apply] |
| 59 | rw [hv (j+1),hv (j+2)] |
| 60 | change Δ (fun y => A.field y j) x=_ |
| 61 | change partialDerivative (fun y => vectorCurl A.field y (j+2)) (j+1) x- |
| 62 | partialDerivative (fun y => vectorCurl A.field y (j+1)) (j+2) x= |
| 63 | -(Δ (fun y => A.field y j) x) at hc |
| 64 | linarith |
| 65 | |
| 66 | theorem operator_norm_le_of_entries (L : Space →L[ℝ] Space) (K : ℝ) (hK : 0 ≤ K) |
| 67 | (hentries : ∀ i j : Fin 3, ‖(L (axis i)) j‖ ≤ K) : ‖L‖ ≤ 9*K := by |
| 68 | have ha (i : Fin 3) : ‖L (axis i)‖ ≤ 3*K := by |
| 69 | apply (EulerMeanCutoffCurl.norm_le_sum_coordinates _).trans |
| 70 | calc |
| 71 | _ ≤ ∑ _j : Fin 3, K := sum_le_sum (fun j _ => hentries i j) |
| 72 | _ = _ := by simp |
| 73 | apply ContinuousLinearMap.opNorm_le_bound _ (mul_nonneg (by norm_num) hK) |
| 74 | intro v |
| 75 | have hv : (∑ i : Fin 3, (v i) • axis i)=v := by |
| 76 | ext j |
| 77 | simp [axis,Pi.single_apply] |
| 78 | have hLv : L v=∑ i : Fin 3, (v i) • L (axis i) := by |
| 79 | calc |
| 80 | L v=L (∑ i : Fin 3, (v i) • axis i) := congrArg L hv.symm |
| 81 | _ = _ := by simp only [map_sum,map_smul] |
| 82 | rw [hLv] |
| 83 | apply (norm_sum_le _ _).trans |
| 84 | calc |
| 85 | _ ≤ ∑ _i : Fin 3, ‖v‖*(3*K) := by |
| 86 | apply sum_le_sum |
| 87 | intro i _ |
| 88 | rw [norm_smul] |
| 89 | exact mul_le_mul (PiLp.norm_apply_le v i) (ha i) (norm_nonneg _) (norm_nonneg _) |
| 90 | _ = _ := by simp only [sum_const,card_univ,Fintype.card_fin,nsmul_eq_mul]; ring |
| 91 | |
| 92 | end EulerOrdinarySobolev |