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.OrdinaryEulerRestriction |
| 2 | |
| 3 | /-! H³ stability on varying initial horizons. The comparison constant |
| 4 | uses only the original reference Euler solution and its full horizon. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerOrdinarySobolev.Evolution |
| 9 | |
| 10 | open Set Filter MeasureTheory EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 11 | EulerMeanSobolevBoundedField EulerSmoothSobolev EulerVolterraConvolution |
| 12 | open scoped ContDiff Topology |
| 13 | |
| 14 | variable {T : ℝ} {hT : 0 ≤ T} (U : Evolution T hT) |
| 15 | (durations : ℕ → ℝ) (hD : ∀ n, 0 ≤ durations n) (hDT : ∀ n, durations n ≤ T) |
| 16 | (V : ∀ n, Evolution (durations n) (hD n)) |
| 17 | |
| 18 | local notation "R" => fun n => U.restrictTime (durations n) (hD n) (hDT n) |
| 19 | |
| 20 | include hDT in |
| 21 | theorem restricted_exponential_le (n : ℕ) : |
| 22 | Real.exp (3*stabilityConstant U.referenceSize*durations n) ≤ |
| 23 | Real.exp (3*stabilityConstant U.referenceSize*T) := by |
| 24 | apply Real.exp_le_exp.mpr |
| 25 | exact mul_le_mul_of_nonneg_left (hDT n) |
| 26 | (mul_nonneg (by norm_num) (stabilityConstant_pos U.referenceSize_nonneg).le) |
| 27 | |
| 28 | theorem eventually_h3_bound_varying |
| 29 | (ε : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hlim : Tendsto ε atTop (𝓝 0)) |
| 30 | (hinit : ∀ n, tensorNorm 3 ((R n).difference (V n) ⟨0,le_rfl,hD n⟩) ≤ ε n) : |
| 31 | ∀ᶠ n in atTop, ∀ t : Icc (0 : ℝ) (durations n), |
| 32 | tensorNorm 3 ((R n).difference (V n) t) ≤ |
| 33 | 640*ε n*Real.exp (3*stabilityConstant U.referenceSize*T) := by |
| 34 | have hb : Tendsto (fun n => 640*ε n*Real.exp (3*stabilityConstant U.referenceSize*T)) |
| 35 | atTop (𝓝 0) := by |
| 36 | simpa only [mul_zero,zero_mul] using (hlim.const_mul 640).mul_const |
| 37 | (Real.exp (3*stabilityConstant U.referenceSize*T)) |
| 38 | have hs : ∀ᶠ n in atTop, |
| 39 | 640*ε n*Real.exp (3*stabilityConstant U.referenceSize*T) ≤ 1/2 := |
| 40 | hb.eventually (eventually_le_nhds (by norm_num : (0 : ℝ) < 1/2)) |
| 41 | filter_upwards [hs] with n hn t |
| 42 | have hexp : 640*ε n*Real.exp (3*stabilityConstant U.referenceSize*durations n) ≤ |
| 43 | 640*ε n*Real.exp (3*stabilityConstant U.referenceSize*T) := |
| 44 | mul_le_mul_of_nonneg_left (U.restricted_exponential_le durations hDT n) |
| 45 | (mul_nonneg (by norm_num) (hε n).le) |
| 46 | exact ((R n).h3_stability (V n) U.referenceSize (ε n) |
| 47 | (U.restrictTime_referenceWordBound (durations n) (hD n) (hDT n)) |
| 48 | (hε n) (hinit n) (hexp.trans hn) t).trans hexp |
| 49 | |
| 50 | theorem sampled_h3_tendsto_zero_varying |
| 51 | (ε : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hlim : Tendsto ε atTop (𝓝 0)) |
| 52 | (hinit : ∀ n, tensorNorm 3 ((R n).difference (V n) ⟨0,le_rfl,hD n⟩) ≤ ε n) |
| 53 | (times : ∀ n, Icc (0 : ℝ) (durations n)) : |
| 54 | Tendsto (fun n => tensorNorm 3 ((R n).difference (V n) (times n))) atTop (𝓝 0) := by |
| 55 | apply squeeze_zero' (Eventually.of_forall (fun n => tensorNorm_nonneg 3 _)) |
| 56 | ((U.eventually_h3_bound_varying durations hD hDT V ε hε hlim hinit).mono |
| 57 | (fun n hn => hn (times n))) |
| 58 | simpa only [mul_zero,zero_mul] using (hlim.const_mul 640).mul_const |
| 59 | (Real.exp (3*stabilityConstant U.referenceSize*T)) |
| 60 | |
| 61 | theorem no_gradient_escape_varying |
| 62 | (ε : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hlim : Tendsto ε atTop (𝓝 0)) |
| 63 | (hinit : ∀ n, tensorNorm 3 ((R n).difference (V n) ⟨0,le_rfl,hD n⟩) ≤ ε n) |
| 64 | (times : ∀ n, Icc (0 : ℝ) (durations n)) : |
| 65 | ¬ Tendsto (fun n => ‖fderiv ℝ ((V n).velocity (times n)).field 0‖) atTop atTop := by |
| 66 | let err : ℕ → ℝ := fun n => (9*smoothEmbeddingConstant)* |
| 67 | tensorNorm 3 ((R n).difference (V n) (times n)) |
| 68 | have he : Tendsto err atTop (𝓝 0) := by |
| 69 | simpa only [mul_zero] using |
| 70 | (U.sampled_h3_tendsto_zero_varying durations hD hDT V ε hε hlim hinit times).const_mul |
| 71 | (9*smoothEmbeddingConstant) |
| 72 | have hc : Continuous (fun r => fderiv ℝ (U.velocity (projIcc 0 T hT r)).field 0) := |
| 73 | (U.gradient_continuous 0).comp continuous_projIcc |
| 74 | apply EulerBreakdownCriterion.no_escape_near_compact_trajectory |
| 75 | (fun r => fderiv ℝ (U.velocity (projIcc 0 T hT r)).field 0) |
| 76 | (fun n => fderiv ℝ ((V n).velocity (times n)).field 0) |
| 77 | (fun n => (times n : ℝ)) err T hc.continuousOn |
| 78 | (fun n => ⟨(times n).property.1,(times n).property.2.trans (hDT n)⟩) he |
| 79 | apply Eventually.of_forall |
| 80 | intro n |
| 81 | have hb := real_smooth_fderiv_le_H3 3 ((R n).difference (V n) (times n)).field |
| 82 | ((R n).difference (V n) (times n)).smooth |
| 83 | (fun j _ => ((R n).difference (V n) (times n)).integrable j) 0 |
| 84 | have hf : ((R n).difference (V n) (times n)).field = |
| 85 | ((V n).velocity (times n)).field-((R n).velocity (times n)).field := |
| 86 | funext (fieldSub_field _ _) |
| 87 | rw [hf,fderiv_sub (((V n).velocity (times n)).smooth.differentiable (by simp) 0) |
| 88 | (((R n).velocity (times n)).smooth.differentiable (by simp) 0)] at hb |
| 89 | rw [projIcc_of_mem hT ⟨(times n).property.1,(times n).property.2.trans (hDT n)⟩] |
| 90 | change ‖fderiv ℝ ((V n).velocity (times n)).field 0- |
| 91 | fderiv ℝ ((R n).velocity (times n)).field 0‖ ≤ |
| 92 | (9*smoothEmbeddingConstant)*tensorNorm 3 ((R n).difference (V n) (times n)) |
| 93 | rw [tensorNorm_eq,hf] |
| 94 | exact hb |
| 95 | |
| 96 | theorem no_gradient_escape_of_initial_tendsto_varying |
| 97 | (hinit : Tendsto (fun n => tensorNorm 3 ((R n).difference (V n) ⟨0,le_rfl,hD n⟩)) |
| 98 | atTop (𝓝 0)) (times : ∀ n, Icc (0 : ℝ) (durations n)) : |
| 99 | ¬ Tendsto (fun n => ‖fderiv ℝ ((V n).velocity (times n)).field 0‖) atTop atTop := by |
| 100 | let ε : ℕ → ℝ := fun n => tensorNorm 3 ((R n).difference (V n) ⟨0,le_rfl,hD n⟩)+1/((n : ℝ)+1) |
| 101 | have hp (n : ℕ) : 0 < ε n := |
| 102 | add_pos_of_nonneg_of_pos (tensorNorm_nonneg 3 _) (by positivity) |
| 103 | have he : Tendsto ε atTop (𝓝 0) := by |
| 104 | simpa only [add_zero] using hinit.add |
| 105 | (tendsto_one_div_add_atTop_nhds_zero_nat (𝕜 := ℝ)) |
| 106 | exact U.no_gradient_escape_varying durations hD hDT V ε hp he |
| 107 | (fun n => le_add_of_nonneg_right (by positivity)) times |
| 108 | |
| 109 | end EulerOrdinarySobolev.Evolution |