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.ConstantCorrectionData |
| 2 | |
| 3 | /-! An explicit positive amplitude puts any finite Gevrey datum and |
| 4 | quadratic residual envelope in the all-order correction regime. The |
| 5 | growth constant belongs to the identity-metric equation, not to an |
| 6 | assumed solution. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerSmallCorrection |
| 11 | |
| 12 | open Set EulerConstantCorrection EulerNonlinearEnergyConstants |
| 13 | |
| 14 | variable (P : ℝ) [Fact (0 < P)] |
| 15 | |
| 16 | def growth : ℝ := energyConstant P 0 0 1 1 pressureBound 1 1 0 0 1 |
| 17 | |
| 18 | theorem growth_pos : 0 < growth P := |
| 19 | energyConstant_pos P 0 0 1 1 pressureBound 1 1 0 0 1 le_rfl le_rfl |
| 20 | zero_le_one zero_le_one (zero_le_one.trans pressureBound_one_le) |
| 21 | zero_le_one zero_le_one le_rfl le_rfl zero_lt_one |
| 22 | |
| 23 | def initialRadius (R : ℝ) : ℝ := 1/(2*(R+1)) |
| 24 | |
| 25 | theorem initialRadius_pos (R : ℝ) (hR : 0 ≤ R) : 0 < initialRadius R := by |
| 26 | unfold initialRadius |
| 27 | positivity |
| 28 | |
| 29 | theorem initialRadius_mul (R : ℝ) (hR : 0 ≤ R) : initialRadius R*R ≤ 1/2 := by |
| 30 | unfold initialRadius |
| 31 | have hd : 0 < 2*(R+1) := by positivity |
| 32 | apply (le_div_iff₀ (by norm_num : (0 : ℝ) < 2)).mpr |
| 33 | calc |
| 34 | _ = R/(R+1) := by field_simp |
| 35 | _ ≤ 1 := (div_le_one (by positivity)).mpr (by linarith) |
| 36 | |
| 37 | /-- These are scalar smallness inequalities, obtained explicitly below. -/ |
| 38 | structure Scale (C R E : ℝ) where |
| 39 | value : ℝ |
| 40 | positive : 0 < value |
| 41 | one : value ≤ 1 |
| 42 | background : 2*value*C ≤ 1 |
| 43 | derivative : 12*value*C*R ≤ 1 |
| 44 | shrink : 2*growth P*(8*value*C+value) ≤ initialRadius R/2 |
| 45 | residual : 2*(value^2*E)*Real.exp (3*growth P) ≤ value/2 |
| 46 | |
| 47 | def scale (C R E : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) (hE : 0 < E) : Scale P C R E := by |
| 48 | let a := 1/(2*C+1) |
| 49 | let b := 1/(12*C*R+1) |
| 50 | let c := initialRadius R/(4*growth P*(8*C+1)+1) |
| 51 | let d := 1/(4*E*Real.exp (3*growth P)+1) |
| 52 | let v := min 1 (min a (min b (min c d))) |
| 53 | have hG := growth_pos P |
| 54 | have hr := initialRadius_pos R hR |
| 55 | have ha : 0 < a := by dsimp [a]; positivity |
| 56 | have hb : 0 < b := by dsimp [b]; positivity |
| 57 | have hc : 0 < c := by dsimp [c]; positivity |
| 58 | have hd : 0 < d := by dsimp [d]; positivity |
| 59 | have hv : 0 < v := lt_min zero_lt_one (lt_min ha (lt_min hb (lt_min hc hd))) |
| 60 | have h1 : v ≤ 1 := min_le_left _ _ |
| 61 | have h2 : v ≤ a := (min_le_right _ _).trans (min_le_left _ _) |
| 62 | have h3 : v ≤ b := (min_le_right _ _).trans ((min_le_right _ _).trans (min_le_left _ _)) |
| 63 | have h4 : v ≤ c := (min_le_right _ _).trans ((min_le_right _ _).trans |
| 64 | ((min_le_right _ _).trans (min_le_left _ _))) |
| 65 | have h5 : v ≤ d := (min_le_right _ _).trans ((min_le_right _ _).trans |
| 66 | ((min_le_right _ _).trans (min_le_right _ _))) |
| 67 | have ha' : v*(2*C+1) ≤ 1 := (le_div_iff₀ (by positivity)).mp h2 |
| 68 | have hb' : v*(12*C*R+1) ≤ 1 := (le_div_iff₀ (by positivity)).mp h3 |
| 69 | have hc' : v*(4*growth P*(8*C+1)+1) ≤ initialRadius R := |
| 70 | (le_div_iff₀ (by positivity)).mp h4 |
| 71 | have hd' : v*(4*E*Real.exp (3*growth P)+1) ≤ 1 := |
| 72 | (le_div_iff₀ (by positivity)).mp h5 |
| 73 | refine ⟨v,hv,h1,?_,?_,?_,?_⟩ |
| 74 | · nlinarith only [ha',hv] |
| 75 | · nlinarith only [hb',hv] |
| 76 | · nlinarith only [hc',hv] |
| 77 | · have hh := mul_le_mul_of_nonneg_left hd' hv.le |
| 78 | nlinarith only [hh,sq_nonneg v] |
| 79 | |
| 80 | def Scale.radius {C R E : ℝ} (S : Scale P C R E) : C(Icc (0 : ℝ) 1,ℝ) := |
| 81 | ⟨fun t => initialRadius R-2*growth P*(8*S.value*C+S.value)*t.val, |
| 82 | continuous_const.sub (continuous_const.mul continuous_subtype_val)⟩ |
| 83 | |
| 84 | theorem Scale.radius_bounds {C R E : ℝ} (S : Scale P C R E) (hC : 0 ≤ C) |
| 85 | (t : Icc (0 : ℝ) 1) : |
| 86 | initialRadius R/2 ≤ S.radius P t ∧ S.radius P t ≤ initialRadius R := by |
| 87 | have hG := growth_pos P |
| 88 | have hv := S.positive |
| 89 | have ha : 0 ≤ 2*growth P*(8*S.value*C+S.value) := by positivity |
| 90 | have hb := mul_le_mul_of_nonneg_left t.property.2 ha |
| 91 | have hc := mul_nonneg ha t.property.1 |
| 92 | have hd := S.shrink |
| 93 | change initialRadius R/2 ≤ initialRadius R-2*growth P*(8*S.value*C+S.value)*t.val ∧ |
| 94 | initialRadius R-2*growth P*(8*S.value*C+S.value)*t.val ≤ initialRadius R |
| 95 | constructor <;> linarith only [hb,hc,hd] |
| 96 | |
| 97 | theorem Scale.radius_positive {C R E : ℝ} (S : Scale P C R E) (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 98 | (t : Icc (0 : ℝ) 1) : 0 < S.radius P t := |
| 99 | (half_pos (initialRadius_pos R hR)).trans_le (S.radius_bounds P hC t).1 |
| 100 | |
| 101 | theorem Scale.radius_small {C R E : ℝ} (S : Scale P C R E) (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 102 | (t : Icc (0 : ℝ) 1) : S.radius P t*R ≤ 1/2 := |
| 103 | (mul_le_mul_of_nonneg_right (S.radius_bounds P hC t).2 hR).trans (initialRadius_mul R hR) |
| 104 | |
| 105 | end EulerSmallCorrection |