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.PacketFiniteProfileFields |
| 2 | import Euler.PacketFiniteAssemblyBounds |
| 3 | import Euler.PacketTailBase |
| 4 | |
| 5 | /-! Low packet grades retain fixed polynomial costs; higher grades use one common tail base. -/ |
| 6 | |
| 7 | /-! ## From `Euler/PacketFiniteProfileBounds.lean` |
| 8 | |
| 9 | The text of `Euler/PacketFiniteProfileBounds.lean`, folded into this file, which was its only importer. -/ |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The finite approximate velocity and its genuine time derivative share the profile bounds. -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace EulerPacketCylinderField |
| 18 | |
| 19 | open Set EulerSmoothLimit EulerPacketProfileRecursion EulerPacketTimeProfile EulerPacketShiftArithmetic |
| 20 | |
| 21 | theorem rawTimeDerivative_zero (T : ℝ) : rawTimeDerivative T 0=0 := by |
| 22 | funext z |
| 23 | simp [rawTimeDerivative] |
| 24 | |
| 25 | namespace ProfileRegularity |
| 26 | |
| 27 | variable {P T : ℝ} [Fact (0 < P)] {N : ℕ} {a : ℕ → Profile} {support : Set Space} |
| 28 | (hT : 0 < T) (G : ∀ i, i ≤ N → ProfileRegularity P T hT.le support (a i)) |
| 29 | {S : Scales (Icc (0 : ℝ) T)} {R : ℝ} |
| 30 | (hG : ∀ i (hi : i ≤ N), 1 ≤ i → ProfileBudget (G i hi) S R i) |
| 31 | (hR : 1 ≤ R) (ha : a 0=0) |
| 32 | |
| 33 | include hG hR ha |
| 34 | |
| 35 | theorem velocityGrade_bound (n : ℕ) : |
| 36 | (velocityGradeField hT G n).WordBound 6 R (3*S.H0^(2*n)) (highShift n) := by |
| 37 | apply Field.wordBound_assembleFamily N _ _ _ _ R S.H0 hR S.H0_one_le |
| 38 | · intro i hi |
| 39 | by_cases hi0 : i=0 |
| 40 | · subst i |
| 41 | have hz : ∀ (t : Icc (0 : ℝ) T) x θ, |
| 42 | ((a 0).high+(a 0).mean) (t,(x,θ))=0 := by |
| 43 | intro t x θ |
| 44 | rw [ha] |
| 45 | change (0 : Space)+0=0 |
| 46 | exact zero_add 0 |
| 47 | exact (Field.wordBound_of_zero ((G 0 hi).high.add (G 0 hi).mean) hz 6 R (highShift 0)).mono_amplitude |
| 48 | (zero_le_one.trans hR) (by norm_num) |
| 49 | · have h := hG i hi (by omega) |
| 50 | have hm := h.mean_unnormalized.mono_shift hR (pow_nonneg S.H0_pos.le _) |
| 51 | (show meanShift i ≤ highShift i by unfold meanShift highShift; omega) |
| 52 | simpa only [two_mul] using (h.high_unnormalized (by omega)).add hm |
| 53 | · intro i hi |
| 54 | by_cases hi0 : i=0 |
| 55 | · subst i |
| 56 | exact (Field.wordBound_of_zero (G 0 hi).corrector |
| 57 | (fun _ _ _ => by rw [ha]; rfl) 6 R (highShift 0)).mono_amplitude |
| 58 | (zero_le_one.trans hR) (by norm_num) |
| 59 | · exact (hG i hi (by omega)).corrector_unnormalized (by omega) |
| 60 | |
| 61 | theorem velocityGradeDerivative_bound (n : ℕ) : |
| 62 | (velocityGradeDerivativeField hT G n).WordBound 6 R (3*S.H0^(2*n)) (highShift n) := by |
| 63 | apply Field.wordBound_assembleFamily N _ _ _ _ R S.H0 hR S.H0_one_le |
| 64 | · intro i hi |
| 65 | by_cases hi0 : i=0 |
| 66 | · subst i |
| 67 | have hf : (a 0).high+(a 0).mean=0 := by |
| 68 | rw [ha] |
| 69 | change (0 : VectorField)+0=0 |
| 70 | exact zero_add 0 |
| 71 | have hz : ∀ (t : Icc (0 : ℝ) T) x θ, |
| 72 | rawTimeDerivative T ((a 0).high+(a 0).mean) (t,(x,θ))=0 := by |
| 73 | intro t x θ |
| 74 | rw [hf,rawTimeDerivative_zero] |
| 75 | rfl |
| 76 | exact (Field.wordBound_of_zero _ hz 6 R (highShift 0)).mono_amplitude |
| 77 | (zero_le_one.trans hR) (by norm_num) |
| 78 | · have h := hG i hi (by omega) |
| 79 | have hm := h.meanDerivative_unnormalized.mono_shift hR (pow_nonneg S.H0_pos.le _) |
| 80 | (show meanShift i ≤ highShift i by unfold meanShift highShift; omega) |
| 81 | have hs := (h.highDerivative_unnormalized (by omega)).add hm |
| 82 | have hs' : ((G i hi).highDerivative.add (G i hi).meanDerivative).WordBound |
| 83 | 6 R (2*S.H0^(2*i)) (highShift i) := by simpa only [two_mul] using hs |
| 84 | exact hs'.of_path_eq _ rfl |
| 85 | · intro i hi |
| 86 | by_cases hi0 : i=0 |
| 87 | · subst i |
| 88 | have hf : (a 0).corrector=0 := by rw [ha]; rfl |
| 89 | have hz : ∀ (t : Icc (0 : ℝ) T) x θ, |
| 90 | rawTimeDerivative T (a 0).corrector (t,(x,θ))=0 := by |
| 91 | intro t x θ |
| 92 | rw [hf,rawTimeDerivative_zero] |
| 93 | rfl |
| 94 | exact (Field.wordBound_of_zero _ hz 6 R (highShift 0)).mono_amplitude |
| 95 | (zero_le_one.trans hR) (by norm_num) |
| 96 | · exact ((hG i hi (by omega)).correctorDerivative_unnormalized (by omega)).of_path_eq _ rfl |
| 97 | |
| 98 | end ProfileRegularity |
| 99 | end EulerPacketCylinderField |
| 100 | end |
| 101 | |
| 102 | end |
| 103 | |
| 104 | noncomputable section |
| 105 | |
| 106 | namespace EulerPacketCylinderField |
| 107 | |
| 108 | open EulerPacketProfileRecursion EulerPacketShiftArithmetic EulerPacketCoarseMajorant EulerGevrey |
| 109 | |
| 110 | def fixedVelocityGradeCost (R H : ℝ) (n : ℕ) : ℝ := |
| 111 | (3*H^(2*n))*((4*R)^(highShift n)*((highShift n).factorial : ℝ)^2) |
| 112 | |
| 113 | theorem fixedVelocityGradeCost_nonneg (R H : ℝ) (hR : 0 ≤ R) (n : ℕ) : |
| 114 | 0 ≤ fixedVelocityGradeCost R H n := by |
| 115 | unfold fixedVelocityGradeCost |
| 116 | rw [pow_mul H 2 n] |
| 117 | positivity |
| 118 | |
| 119 | namespace Field |
| 120 | |
| 121 | variable {P T : ℝ} [Fact (0 < P)] {raw : VectorField} {G : Field P T raw} |
| 122 | {q d n : ℕ} {R A H : ℝ} |
| 123 | |
| 124 | theorem WordBound.split_fixed_shift (hG : G.WordBound q R A d) (hR : 0 ≤ R) (hA : 0 ≤ A) : |
| 125 | G.WordBound q (4*R) (A*((4*R)^d*(d.factorial : ℝ)^2)) 0 := by |
| 126 | intro j |
| 127 | exact (hG j).trans ((mul_le_mul_of_nonneg_left (majorant_coarse_split R hR d j) hA).trans_eq |
| 128 | (by ring)) |
| 129 | |
| 130 | theorem WordBound.fixed_velocity_grade (hG : G.WordBound q R (3*H^(2*n)) (highShift n)) |
| 131 | (hR : 0 ≤ R) (hH : 0 ≤ H) : |
| 132 | G.WordBound q (4*R) (fixedVelocityGradeCost R H n) 0 := |
| 133 | hG.split_fixed_shift hR (mul_nonneg (by norm_num) (pow_nonneg hH _)) |
| 134 | |
| 135 | theorem WordBound.coarse_velocity_grade (hG : G.WordBound q R (3*H^(2*n)) (highShift n)) |
| 136 | (hR : 1 ≤ R) (hH : 1 ≤ H) (C : ℝ) (hC : 1 ≤ C) (N : ℕ) (hN : 1 ≤ N) |
| 137 | (hn : n ≤ 2*N+2) : G.WordBound q (4*R) ((tailBase R H C N)^(n+1)) 0 := by |
| 138 | have hC0 : 0 ≤ C := zero_le_one.trans hC |
| 139 | have hH0 : 0 ≤ H := zero_le_one.trans hH |
| 140 | have hNN : (2 : ℝ) ≤ ((N+2 : ℕ) : ℝ) := by exact_mod_cast (show 2 ≤ N+2 by omega) |
| 141 | have hP : (3 : ℝ) ≤ 1+18*((N+2 : ℕ) : ℝ)^2 := by nlinarith |
| 142 | have hPC : (3 : ℝ) ≤ (1+18*((N+2 : ℕ) : ℝ)^2)*C := |
| 143 | hP.trans (le_mul_of_one_le_right (by positivity) hC) |
| 144 | have ha : 3*H^(2*n) ≤ (1+18*((N+2 : ℕ) : ℝ)^2)*C*H^(2*n+2) := by |
| 145 | calc |
| 146 | _ ≤ 3*H^(2*n+2) := mul_le_mul_of_nonneg_left (pow_le_pow_right₀ hH (by omega)) (by norm_num) |
| 147 | _ ≤ _ := mul_le_mul_of_nonneg_right hPC (pow_nonneg hH0 _) |
| 148 | have hA : 0 ≤ (1+18*((N+2 : ℕ) : ℝ)^2)*C*H^(2*n+2) := by positivity |
| 149 | have h := (hG.mono_amplitude (zero_le_one.trans hR) ha).coarse_grade hR hA N n hN hn |
| 150 | (show highShift n ≤ 110*(n+1) by unfold highShift; omega) |
| 151 | exact h.mono_amplitude (by linarith) (tailBase_absorption R H C hC0 N n) |
| 152 | |
| 153 | end Field |
| 154 | end EulerPacketCylinderField |