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.WholeSpaceLogarithmic |
| 2 | import Euler.OrdinaryVorticityCoordinates |
| 3 | |
| 4 | /-! |
| 5 | The whole-space logarithmic gradient estimate. Every input norm belongs |
| 6 | to the given smooth L² field, and the vorticity is its literal curl. |
| 7 | The proof uses the constructed Gaussian kernel and its true heat equation. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerOrdinarySobolev |
| 13 | |
| 14 | open MeasureTheory InnerProductSpace EulerSmoothLimit Filter Set Finset |
| 15 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal |
| 16 | EulerVectorCalculus EulerMeanCutoffCurl EulerMeanClassical EulerWholeSpaceGaussian |
| 17 | open scoped ContDiff ENNReal RealInnerProductSpace Topology |
| 18 | |
| 19 | def logarithmicGradientConstant : ℝ := 36*splitCost |
| 20 | |
| 21 | theorem logarithmicGradientConstant_pos : 0 < logarithmicGradientConstant := |
| 22 | mul_pos (by norm_num) splitCost_pos |
| 23 | |
| 24 | theorem logarithmicGradientConstant_nonneg : 0 ≤ logarithmicGradientConstant := |
| 25 | logarithmicGradientConstant_pos.le |
| 26 | |
| 27 | /-- A genuine whole-space BKM logarithmic estimate from the actual |
| 28 | velocity, its actual H³ tensors, and its actual vorticity. -/ |
| 29 | theorem logarithmic_gradient_bound (A : SmoothL2Field Space) |
| 30 | (hdiv : ∀ y, divergence A.field y = 0) (W : ℝ) |
| 31 | (hW : ∀ y, ‖vectorCurl A.field y‖ ≤ W) (x : Space) : |
| 32 | ‖fderiv ℝ A.field x‖ ≤ logarithmicGradientConstant* |
| 33 | (1+‖A.toLp‖+W*Real.log (Real.exp 1+tensorNorm 3 A)) := by |
| 34 | have hW0 : 0 ≤ W := (norm_nonneg (vectorCurl A.field 0)).trans (hW 0) |
| 35 | have hH0 := tensorNorm_nonneg 3 A |
| 36 | have harg : 1 ≤ Real.exp 1+tensorNorm 3 A := |
| 37 | (Real.one_le_exp (by norm_num : (0:ℝ) ≤ 1)).trans (le_add_of_nonneg_right hH0) |
| 38 | have hlog : 0 ≤ Real.log (Real.exp 1+tensorNorm 3 A) := Real.log_nonneg harg |
| 39 | let K : ℝ := 4*splitCost*(1+‖A.toLp‖+W*Real.log (Real.exp 1+tensorNorm 3 A)) |
| 40 | have hK : 0 ≤ K := by dsimp [K]; positivity [splitCost_nonneg] |
| 41 | have hcomponent (i : Fin 3) (y : Space) : |
| 42 | ‖(componentField (vorticityField A) i).field y‖ ≤ W := by |
| 43 | rw [componentField_apply] |
| 44 | exact (PiLp.norm_apply_le ((vorticityField A).field y) i).trans |
| 45 | (by simpa only [vorticityField_apply] using hW y) |
| 46 | have hjet : ‖A.jetLp 3‖ ≤ tensorNorm 3 A := |
| 47 | single_le_sum (fun _ _ => norm_nonneg _) (by decide : 3 ∈ range (3+1)) |
| 48 | have hentries (i j : Fin 3) : ‖(fderiv ℝ A.field x (axis i)) j‖ ≤ K := by |
| 49 | have h := elliptic_derivative_logarithmic (componentField A j) |
| 50 | (componentField (vorticityField A) (j+1)) (componentField (vorticityField A) (j+2)) |
| 51 | (j+2) (j+1) i (componentField_laplacian A hdiv j) W |
| 52 | (hcomponent (j+1)) (hcomponent (j+2)) (tensorNorm 3 A) |
| 53 | ((componentField_jetLp_norm A j 3).trans hjet) x |
| 54 | rw [componentField_partial] at h |
| 55 | apply h.trans |
| 56 | apply mul_le_mul_of_nonneg_left _ (mul_nonneg (by norm_num) splitCost_nonneg) |
| 57 | linarith [componentField_toLp_norm A j] |
| 58 | have h := operator_norm_le_of_entries (fderiv ℝ A.field x) K hK hentries |
| 59 | exact h.trans_eq (by unfold logarithmicGradientConstant; dsimp [K]; ring) |
| 60 | |
| 61 | /-- This form discharges the entire logarithmic-estimate hypothesis of |
| 62 | the ordinary Euler continuation theorem. -/ |
| 63 | theorem logarithmic_gradient_bound_solenoidal (A : SmoothL2Field Space) (W : ℝ) |
| 64 | (hA : A.toLp ∈ solenoidalSpace) (hW : ∀ y, ‖vectorCurl A.field y‖ ≤ W) (x : Space) : |
| 65 | ‖fderiv ℝ A.field x‖ ≤ logarithmicGradientConstant* |
| 66 | (1+‖A.toLp‖+W*Real.log (Real.exp 1+tensorNorm 3 A)) := |
| 67 | logarithmic_gradient_bound A |
| 68 | (solenoidal_representative_divergence A.toLp hA A.field A.smooth A.toLp_ae) W hW x |
| 69 | |
| 70 | end EulerOrdinarySobolev |