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.MeanBoundaryOperator |
| 2 | |
| 3 | /-! The ordinary curl as a bounded antisymmetrization of actual L² gradient tensors. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerMeanCurlTensor |
| 8 | |
| 9 | open MeasureTheory EulerSmoothLimit EulerVectorCalculus EulerMeanSolenoidal |
| 10 | EulerMeanCutoffCurl EulerMeanGradientTest EulerMeanBoundary |
| 11 | open scoped ContDiff ENNReal NNReal |
| 12 | |
| 13 | def coordinateInsertion (i j : Fin 3) : Space →L[ℝ] Space := |
| 14 | (EuclideanSpace.proj j).smulRight (EuclideanSpace.single i 1) |
| 15 | |
| 16 | theorem coordinateInsertion_norm_le (i j : Fin 3) : ‖coordinateInsertion i j‖ ≤ 1 := by |
| 17 | apply ContinuousLinearMap.opNorm_le_bound _ (by norm_num) |
| 18 | intro v |
| 19 | simpa [coordinateInsertion, ContinuousLinearMap.smulRight_apply, norm_smul] using PiLp.norm_apply_le v j |
| 20 | |
| 21 | def coordinateL2 (i j : Fin 3) : L2 →L[ℝ] L2 := |
| 22 | (coordinateInsertion i j).compLpL 2 volume |
| 23 | |
| 24 | theorem coordinateL2_ae (i j : Fin 3) (u : L2) : |
| 25 | coordinateL2 i j u =ᵐ[volume] fun x => (u x j) • EuclideanSpace.single i 1 := |
| 26 | (coordinateInsertion i j).coeFn_compLpL (p := 2) (μ := volume) u |
| 27 | |
| 28 | theorem coordinateL2_apply_norm_le (i j : Fin 3) (u : L2) : ‖coordinateL2 i j u‖ ≤ ‖u‖ := by |
| 29 | refine ((coordinateInsertion i j).norm_compLp_le u).trans ?_ |
| 30 | simpa only [one_mul] using mul_le_mul_of_nonneg_right (coordinateInsertion_norm_le i j) (norm_nonneg u) |
| 31 | |
| 32 | /-- Each output component is the difference of the two off-diagonal derivative entries. -/ |
| 33 | def curlTensor : GradientTensor →L[ℝ] L2 := |
| 34 | ∑ i : Fin 3, |
| 35 | ((coordinateL2 i (i+2)).comp (PiLp.proj 2 (fun _ : Fin 3 => L2) (i+1)) - |
| 36 | (coordinateL2 i (i+1)).comp (PiLp.proj 2 (fun _ : Fin 3 => L2) (i+2))) |
| 37 | |
| 38 | theorem curlTensor_apply (G : GradientTensor) : |
| 39 | curlTensor G = ∑ i : Fin 3, |
| 40 | (coordinateL2 i (i+2) (G (i+1)) - coordinateL2 i (i+1) (G (i+2))) := by |
| 41 | simp [curlTensor] |
| 42 | |
| 43 | /-- A fixed universal contraction bound; sharpness is not needed for localization. -/ |
| 44 | theorem curlTensor_norm_le (G : GradientTensor) : ‖curlTensor G‖ ≤ 6 * ‖G‖ := by |
| 45 | rw [curlTensor_apply] |
| 46 | calc |
| 47 | _ ≤ ∑ i : Fin 3, ‖coordinateL2 i (i+2) (G (i+1)) - coordinateL2 i (i+1) (G (i+2))‖ := |
| 48 | norm_sum_le _ _ |
| 49 | _ ≤ ∑ _i : Fin 3, 2 * ‖G‖ := by |
| 50 | apply Finset.sum_le_sum |
| 51 | intro i _ |
| 52 | have h1 := (coordinateL2_apply_norm_le i (i+2) (G (i+1))).trans (PiLp.norm_apply_le G (i+1)) |
| 53 | have h2 := (coordinateL2_apply_norm_le i (i+1) (G (i+2))).trans (PiLp.norm_apply_le G (i+2)) |
| 54 | exact (norm_sub_le _ _).trans (by linarith) |
| 55 | _ = 6 * ‖G‖ := by simp; ring |
| 56 | |
| 57 | theorem curlTensor_ae (G : GradientTensor) : |
| 58 | curlTensor G =ᵐ[volume] fun x => WithLp.toLp 2 (fun i : Fin 3 => |
| 59 | (G (i+1) x) (i+2) - (G (i+2) x) (i+1)) := by |
| 60 | rw [curlTensor_apply] |
| 61 | have hpart (i : Fin 3) : |
| 62 | (coordinateL2 i (i+2) (G (i+1)) - coordinateL2 i (i+1) (G (i+2))) =ᵐ[volume] |
| 63 | fun x => ((G (i+1) x) (i+2) - (G (i+2) x) (i+1)) • EuclideanSpace.single i 1 := by |
| 64 | filter_upwards [Lp.coeFn_sub (coordinateL2 i (i+2) (G (i+1))) |
| 65 | (coordinateL2 i (i+1) (G (i+2))), coordinateL2_ae i (i+2) (G (i+1)), |
| 66 | coordinateL2_ae i (i+1) (G (i+2))] with x hs h1 h2 |
| 67 | simp only [Pi.sub_apply] at hs |
| 68 | rw [hs, h1, h2, sub_smul] |
| 69 | filter_upwards [Lp.coeFn_finsetSum Finset.univ |
| 70 | (fun i : Fin 3 => coordinateL2 i (i+2) (G (i+1)) - coordinateL2 i (i+1) (G (i+2))), |
| 71 | ae_all_iff.mpr hpart] with x hs hp |
| 72 | simp only [Finset.sum_apply] at hs |
| 73 | rw [hs] |
| 74 | simp_rw [hp] |
| 75 | ext j |
| 76 | fin_cases j <;> simp [Fin.sum_univ_three] |
| 77 | |
| 78 | /-- On genuine test gradients the tensor operator is exactly the ordinary classical curl. -/ |
| 79 | theorem curlTensor_test_ae (f : Test) : |
| 80 | curlTensor (testGradient f) =ᵐ[volume] vectorCurl (f : Space → Space) := by |
| 81 | filter_upwards [curlTensor_ae (testGradient f), |
| 82 | ae_all_iff.mpr (fun i => derivativeColumn_ae f i)] with x hc hd |
| 83 | rw [hc, vectorCurl_eq_matrix _ x ((f.smooth.differentiable (by simp)).differentiableAt)] |
| 84 | ext i |
| 85 | change (derivativeColumn f (i+1) x) (i+2) - (derivativeColumn f (i+2) x) (i+1) = _ |
| 86 | rw [hd, hd] |
| 87 | rfl |
| 88 | |
| 89 | /-- The source's field `w`, formed directly from the weak potential's gradient tensor. -/ |
| 90 | def harmonicPart (χ : Cutoff) (z : L2) : L2 := |
| 91 | curlTensor (weakPotential χ z : GradientTensor) |
| 92 | |
| 93 | theorem harmonicPart_norm_le (χ : Cutoff) (z : L2) : |
| 94 | ‖harmonicPart χ z‖ ≤ 6 * ‖weakPotential χ z‖ := |
| 95 | curlTensor_norm_le (weakPotential χ z : GradientTensor) |
| 96 | |
| 97 | end EulerMeanCurlTensor |