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.OrdinaryH3Envelope |
| 2 | import Euler.SmoothL2CoefficientPath |
| 3 | |
| 4 | /-! Uniform H³ comparison and the actual no-gradient-escape consequence |
| 5 | for genuine ordinary Euler evolutions. No energy inequality is assumed. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerOrdinarySobolev.Evolution |
| 10 | |
| 11 | open Set Filter MeasureTheory EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 12 | EulerMeanSobolevBoundedField EulerSmoothSobolev EulerVolterraConvolution Finset |
| 13 | open scoped ContDiff Topology BoundedContinuousFunction |
| 14 | |
| 15 | variable {T : ℝ} {hT : 0 ≤ T} |
| 16 | |
| 17 | def referenceNormPath (U : Evolution T hT) : C(Icc (0 : ℝ) T,ℝ) := |
| 18 | ⟨fun t => tensorNorm 4 (U.velocity t),by |
| 19 | apply continuous_finsetSum |
| 20 | intro n _ |
| 21 | exact (U.velocity_continuous n).norm⟩ |
| 22 | |
| 23 | def referenceSize (U : Evolution T hT) : ℝ := ‖U.referenceNormPath‖ |
| 24 | |
| 25 | theorem referenceSize_nonneg (U : Evolution T hT) : 0 ≤ U.referenceSize := norm_nonneg _ |
| 26 | |
| 27 | theorem referenceWordBound (U : Evolution T hT) (t : Icc (0 : ℝ) T) : |
| 28 | WordBound 4 U.referenceSize (U.velocity t) := by |
| 29 | have h := (U.referenceNormPath).norm_coe_le_norm t |
| 30 | change ‖tensorNorm 4 (U.velocity t)‖ ≤ U.referenceSize at h |
| 31 | rw [Real.norm_of_nonneg (tensorNorm_nonneg 4 (U.velocity t))] at h |
| 32 | intro n hn w |
| 33 | exact (wordBound_tensorNorm 4 (U.velocity t) n hn w).trans h |
| 34 | |
| 35 | theorem gradient_continuous (U : Evolution T hT) (x : Space) : |
| 36 | Continuous (fun t => fderiv ℝ (U.velocity t).field x) := by |
| 37 | have h := (BoundedContinuousFunction.evalCLM ℝ x : |
| 38 | (Space →ᵇ (Space →L[ℝ] Space)) →L[ℝ] (Space →L[ℝ] Space)).continuous.comp |
| 39 | (continuous_finiteField (fun t => (U.velocity t).derivative) |
| 40 | (continuous_jetLp_derivative U.velocity U.velocity_continuous)) |
| 41 | have he : (fun t => fderiv ℝ (U.velocity t).field x)= |
| 42 | fun t => (BoundedContinuousFunction.evalCLM ℝ x) |
| 43 | (finiteField ((U.velocity t).derivative)) := by |
| 44 | funext t |
| 45 | exact (finiteField_apply ((U.velocity t).derivative) x).symm |
| 46 | rw [he] |
| 47 | exact h |
| 48 | |
| 49 | theorem eventually_h3_bound (U : Evolution T hT) (V : ℕ → Evolution T hT) |
| 50 | (ε : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hlim : Tendsto ε atTop (𝓝 0)) |
| 51 | (hinit : ∀ n, tensorNorm 3 (U.difference (V n) ⟨0,le_rfl,hT⟩) ≤ ε n) : |
| 52 | ∀ᶠ n in atTop, ∀ t : Icc (0 : ℝ) T, |
| 53 | tensorNorm 3 (U.difference (V n) t) ≤ |
| 54 | 640*ε n*Real.exp (3*stabilityConstant U.referenceSize*T) := by |
| 55 | have hb : Tendsto (fun n => 640*ε n*Real.exp (3*stabilityConstant U.referenceSize*T)) |
| 56 | atTop (𝓝 0) := by |
| 57 | simpa only [mul_zero,zero_mul] using (hlim.const_mul 640).mul_const |
| 58 | (Real.exp (3*stabilityConstant U.referenceSize*T)) |
| 59 | have hs : ∀ᶠ n in atTop, 640*ε n*Real.exp (3*stabilityConstant U.referenceSize*T) ≤ 1/2 := |
| 60 | hb.eventually (eventually_le_nhds (by norm_num : (0 : ℝ) < 1/2)) |
| 61 | filter_upwards [hs] with n hn t |
| 62 | exact U.h3_stability (V n) U.referenceSize (ε n) U.referenceWordBound (hε n) (hinit n) hn t |
| 63 | |
| 64 | theorem sampled_h3_tendsto_zero (U : Evolution T hT) (V : ℕ → Evolution T hT) |
| 65 | (ε : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hlim : Tendsto ε atTop (𝓝 0)) |
| 66 | (hinit : ∀ n, tensorNorm 3 (U.difference (V n) ⟨0,le_rfl,hT⟩) ≤ ε n) |
| 67 | (times : ℕ → Icc (0 : ℝ) T) : |
| 68 | Tendsto (fun n => tensorNorm 3 (U.difference (V n) (times n))) atTop (𝓝 0) := by |
| 69 | apply squeeze_zero' (Eventually.of_forall (fun n => tensorNorm_nonneg 3 _)) |
| 70 | ((U.eventually_h3_bound V ε hε hlim hinit).mono (fun n hn => hn (times n))) |
| 71 | simpa only [mul_zero,zero_mul] using (hlim.const_mul 640).mul_const |
| 72 | (Real.exp (3*stabilityConstant U.referenceSize*T)) |
| 73 | |
| 74 | theorem no_gradient_escape (U : Evolution T hT) (V : ℕ → Evolution T hT) |
| 75 | (ε : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hlim : Tendsto ε atTop (𝓝 0)) |
| 76 | (hinit : ∀ n, tensorNorm 3 (U.difference (V n) ⟨0,le_rfl,hT⟩) ≤ ε n) |
| 77 | (times : ℕ → Icc (0 : ℝ) T) : |
| 78 | ¬ Tendsto (fun n => ‖fderiv ℝ ((V n).velocity (times n)).field 0‖) atTop atTop := by |
| 79 | let err : ℕ → ℝ := fun n => (9*smoothEmbeddingConstant)* |
| 80 | tensorNorm 3 (U.difference (V n) (times n)) |
| 81 | have he : Tendsto err atTop (𝓝 0) := by |
| 82 | simpa only [mul_zero] using |
| 83 | (U.sampled_h3_tendsto_zero V ε hε hlim hinit times).const_mul (9*smoothEmbeddingConstant) |
| 84 | have hc : Continuous (fun r => fderiv ℝ (U.velocity (projIcc 0 T hT r)).field 0) := |
| 85 | (U.gradient_continuous 0).comp continuous_projIcc |
| 86 | apply EulerBreakdownCriterion.no_escape_near_compact_trajectory |
| 87 | (fun r => fderiv ℝ (U.velocity (projIcc 0 T hT r)).field 0) |
| 88 | (fun n => fderiv ℝ ((V n).velocity (times n)).field 0) |
| 89 | (fun n => (times n : ℝ)) err T hc.continuousOn (fun n => (times n).property) he |
| 90 | apply Eventually.of_forall |
| 91 | intro n |
| 92 | have hb := real_smooth_fderiv_le_H3 3 (U.difference (V n) (times n)).field |
| 93 | (U.difference (V n) (times n)).smooth |
| 94 | (fun j _ => (U.difference (V n) (times n)).integrable j) 0 |
| 95 | have hf : (U.difference (V n) (times n)).field= |
| 96 | ((V n).velocity (times n)).field-(U.velocity (times n)).field := |
| 97 | funext (fieldSub_field _ _) |
| 98 | rw [hf,fderiv_sub (((V n).velocity (times n)).smooth.differentiable (by simp) 0) |
| 99 | ((U.velocity (times n)).smooth.differentiable (by simp) 0)] at hb |
| 100 | rw [projIcc_of_mem hT (times n).property] |
| 101 | change _ ≤ (9*smoothEmbeddingConstant)*tensorNorm 3 (U.difference (V n) (times n)) |
| 102 | rw [tensorNorm_eq,hf] |
| 103 | exact hb |
| 104 | |
| 105 | end EulerOrdinarySobolev.Evolution |