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.OrdinaryPerturbedEnergy |
| 2 | import Euler.OrdinaryRegularizedEnergy |
| 3 | |
| 4 | /-! The true smooth regularized Euler flows are Cauchy in continuous |
| 5 | L² on the common energy-controlled interval. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerOrdinarySobolev |
| 10 | |
| 11 | open Set Filter MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 12 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal |
| 13 | EulerSmoothSobolev EulerVolterraConvolution Finset |
| 14 | open scoped ContDiff Topology |
| 15 | |
| 16 | def regularizedComparisonCost (T M : ℝ) : ℝ := |
| 17 | regularizationCost M*Real.sqrt (Real.exp ((2*((360*smoothEmbeddingConstant)*M)+1)*T)) |
| 18 | |
| 19 | theorem regularizedComparisonCost_nonneg (T M : ℝ) : 0 ≤ regularizedComparisonCost T M := |
| 20 | mul_nonneg (regularizationCost_nonneg M) (Real.sqrt_nonneg _) |
| 21 | |
| 22 | theorem regularized_l2_comparison {T : ℝ} {hT : 0 ≤ T} {j k : ℕ} |
| 23 | (U : RegularizedEvolution (regularizer j) T hT) |
| 24 | (V : RegularizedEvolution (regularizer k) T hT) |
| 25 | (M : ℝ) (hU : ∀ t, WordBound 4 M (U.velocity t)) |
| 26 | (hV : ∀ t, WordBound 4 M (V.velocity t)) |
| 27 | (hinit : (V.velocity ⟨0,le_rfl,hT⟩).toLp=(U.velocity ⟨0,le_rfl,hT⟩).toLp) : |
| 28 | ‖fieldPath V.velocity V.velocity_continuous-fieldPath U.velocity U.velocity_continuous‖ ≤ |
| 29 | (regularizerError j+regularizerError k)*regularizedComparisonCost T M := by |
| 30 | let G := (360*smoothEmbeddingConstant)*M |
| 31 | let C := 2*G+1 |
| 32 | let E := (regularizerError j+regularizerError k)*regularizationCost M |
| 33 | have hM : 0 ≤ M := wordBound_nonneg (hU ⟨0,le_rfl,hT⟩) |
| 34 | have hG : 0 ≤ G := mul_nonneg (mul_nonneg (by norm_num) smoothEmbeddingConstant_nonneg) hM |
| 35 | have hC : 1 ≤ C := by dsimp [C]; linarith |
| 36 | have hE : 0 ≤ E := mul_nonneg (add_nonneg (regularizerError_nonneg j) (regularizerError_nonneg k)) |
| 37 | (regularizationCost_nonneg M) |
| 38 | let X (r : ℝ) := ‖(V.velocity (projIcc 0 T hT r)).toLp-(U.velocity (projIcc 0 T hT r)).toLp‖^2 |
| 39 | let X' (r : ℝ) := 2*⟪(V.velocity (projIcc 0 T hT r)).toLp-(U.velocity (projIcc 0 T hT r)).toLp, |
| 40 | (V.derivative (projIcc 0 T hT r)).toLp-(U.derivative (projIcc 0 T hT r)).toLp⟫_ℝ |
| 41 | have hc : ContinuousOn X (Icc 0 T) := by |
| 42 | exact ((((fieldPath V.velocity V.velocity_continuous).continuous.sub |
| 43 | (fieldPath U.velocity U.velocity_continuous).continuous).comp continuous_projIcc).norm.pow 2).continuousOn |
| 44 | have hx0 : X 0=0 := by |
| 45 | simp only [X,projIcc_of_mem hT (show (0 : ℝ) ∈ Icc 0 T from ⟨le_rfl,hT⟩), |
| 46 | hinit,sub_self,norm_zero,zero_pow (by decide : 2 ≠ 0)] |
| 47 | have hd (r : ℝ) (hr : r ∈ Icc 0 T) : HasDerivWithinAt X (X' r) (Icc 0 T) r := by |
| 48 | have h := ((V.l2_time ⟨r,hr⟩).sub (U.l2_time ⟨r,hr⟩)).norm_sq |
| 49 | simpa only [X,X',Pi.sub_apply,projIcc_of_mem hT hr] using h |
| 50 | have hb (r : ℝ) (_hr : r ∈ Icc 0 T) : X' r ≤ C*X r+E^2 := by |
| 51 | have h := perturbed_difference_energy (U.velocity (projIcc 0 T hT r)) |
| 52 | (V.velocity (projIcc 0 T hT r)) (U.solenoidal _) (V.solenoidal _) |
| 53 | (U.derivative (projIcc 0 T hT r)).toLp (V.derivative (projIcc 0 T hT r)).toLp |
| 54 | G (regularizerError j*regularizationCost M) (regularizerError k*regularizationCost M) |
| 55 | (wordBound_gradient (wordBound_mono (hU _) (by omega))) |
| 56 | (regularized_rhs_error j _ (U.solenoidal _) M (hU _)) |
| 57 | (regularized_rhs_error k _ (V.solenoidal _) M (hV _)) |
| 58 | simpa only [X,X',C,E,add_mul] using h |
| 59 | have hnorm (t : Icc (0 : ℝ) T) : |
| 60 | ‖(V.velocity t).toLp-(U.velocity t).toLp‖ ≤ E*Real.sqrt (Real.exp (C*T)) := by |
| 61 | have h := forced_linear_zero_bound T C E hC X X' hc hx0 hd hb t t.property |
| 62 | simp only [X,projIcc_of_mem hT t.property] at h |
| 63 | have hs := Real.sq_sqrt ((Real.exp_pos (C*T)).le) |
| 64 | have he : 0 ≤ E*Real.sqrt (Real.exp (C*T)) := mul_nonneg hE (Real.sqrt_nonneg _) |
| 65 | nlinarith [norm_nonneg ((V.velocity t).toLp-(U.velocity t).toLp)] |
| 66 | apply (ContinuousMap.norm_le _ (mul_nonneg |
| 67 | (add_nonneg (regularizerError_nonneg j) (regularizerError_nonneg k)) |
| 68 | (regularizedComparisonCost_nonneg T M))).mpr |
| 69 | intro t |
| 70 | exact (hnorm t).trans_eq (by dsimp [E,C,G,regularizedComparisonCost]; ring) |
| 71 | |
| 72 | theorem regularized_cauchy {T : ℝ} {hT : 0 ≤ T} |
| 73 | (U : ∀ n, RegularizedEvolution (regularizer n) T hT) |
| 74 | (M : ℝ) (hM : ∀ n t, WordBound 4 M ((U n).velocity t)) |
| 75 | (hinit : ∀ j k, ((U k).velocity ⟨0,le_rfl,hT⟩).toLp=((U j).velocity ⟨0,le_rfl,hT⟩).toLp) : |
| 76 | CauchySeq (fun n => fieldPath (U n).velocity (U n).velocity_continuous) := by |
| 77 | have he : Tendsto (fun n => regularizerError n*regularizedComparisonCost T M) atTop (𝓝 (0 : ℝ)) := by |
| 78 | simpa only [zero_mul] using regularizerError_tendsto.mul_const (regularizedComparisonCost T M) |
| 79 | apply Metric.cauchySeq_iff.mpr |
| 80 | intro ε hε |
| 81 | have hh : ∀ᶠ n in atTop, regularizerError n*regularizedComparisonCost T M < ε/2 := |
| 82 | (tendsto_order.mp he).2 _ (half_pos hε) |
| 83 | obtain ⟨N,hN⟩ := eventually_atTop.mp hh |
| 84 | refine ⟨N,fun j hj k hk => ?_⟩ |
| 85 | rw [dist_eq_norm,norm_sub_rev] |
| 86 | apply (regularized_l2_comparison (U j) (U k) M (hM j) (hM k) (hinit j k)).trans_lt |
| 87 | have hj' := hN j hj |
| 88 | have hk' := hN k hk |
| 89 | nlinarith |
| 90 | |
| 91 | end EulerOrdinarySobolev |