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.PacketKnownTermFields |
| 2 | import Euler.PacketKnownTermProfiles |
| 3 | import Euler.PacketMaskedProductBounds |
| 4 | |
| 5 | /-! Same-radius estimates for the fifteen actual forcing families, before and after angular projection. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketCylinderField |
| 10 | |
| 11 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 12 | EulerPacketTimeProfile EulerPacketShiftArithmetic EulerParameterWordGevrey |
| 13 | |
| 14 | namespace KnownTerm |
| 15 | |
| 16 | variable {P T : ℝ} [Fact (0 < P)] {O : Operators} {C : CoefficientData P T O} |
| 17 | |
| 18 | def amplitude (k : KnownTerm) (B : CoefficientBudget C) : ℝ := |
| 19 | match k with |
| 20 | | .previousLinear => B.linearCost |
| 21 | | .previousPressure => B.multiplierCost |
| 22 | | .slow _ _ => B.slowCost |
| 23 | | _ => B.fastCost |
| 24 | |
| 25 | theorem amplitude_nonneg (k : KnownTerm) (B : CoefficientBudget C) : 0 ≤ k.amplitude B := by |
| 26 | cases k <;> first |
| 27 | | exact B.linearCost_nonneg |
| 28 | | exact B.multiplierCost_nonneg |
| 29 | | exact B.slowCost_nonneg |
| 30 | | exact B.fastCost_nonneg |
| 31 | |
| 32 | theorem twice_amplitude_le (k : KnownTerm) (B : CoefficientBudget C) : |
| 33 | 2*k.amplitude B ≤ B.termCost := by |
| 34 | cases k <;> first |
| 35 | | exact B.twice_linearCost_le |
| 36 | | exact B.twice_multiplierCost_le |
| 37 | | exact B.twice_slowCost_le |
| 38 | | exact B.twice_fastCost_le |
| 39 | |
| 40 | theorem amplitude_le (k : KnownTerm) (B : CoefficientBudget C) : k.amplitude B ≤ B.termCost := by |
| 41 | have h := k.twice_amplitude_le B |
| 42 | have h0 := k.amplitude_nonneg B |
| 43 | linarith |
| 44 | |
| 45 | def meanBudgetShift (k : KnownTerm) (p i j : ℕ) : ℕ := if k.zeroMean then 0 else k.budgetShift p i j |
| 46 | |
| 47 | theorem meanBudgetShift_lt (k : KnownTerm) (p i j : ℕ) (hp : 2 ≤ p) : |
| 48 | k.meanBudgetShift p i j < meanForceShift p := by |
| 49 | by_cases hz : k.zeroMean = true |
| 50 | · simp only [meanBudgetShift,ite_eq_left hz] |
| 51 | have h := force_shift_dominates_grade p hp |
| 52 | omega |
| 53 | · simp only [meanBudgetShift,ite_eq_right hz] |
| 54 | exact k.budgetShift_lt_mean p i j hp (Bool.eq_false_of_not_eq_true hz) |
| 55 | |
| 56 | end KnownTerm |
| 57 | |
| 58 | namespace PrefixBound |
| 59 | |
| 60 | variable {P T : ℝ} [Fact (0 < P)] {p : ℕ} {a : ℕ → Profile} |
| 61 | {F : PrefixFields P T p a} {O : Operators} {C : CoefficientData P T O} |
| 62 | (hp : 2 ≤ p) (hT : 0 < T) {corrector_t : VectorField} (Ct : Field P T corrector_t) |
| 63 | (hCt : TimeDerivative hT.le (F.corrector (p-1) (by omega)) Ct) |
| 64 | (pressure : Field P T (pressureGradient (a (p-1)).highPressure)) |
| 65 | {S : Scales (Icc (0 : ℝ) T)} {R : ℝ} |
| 66 | (BF : PrefixBound F hT.le S R) (BC : CoefficientBudget C) |
| 67 | (hCtBound : (Ct.normalized hT.le (S.high (p-1)) (S.high_pos (p-1))).WordBound 6 R 1 (highShift (p-1))) |
| 68 | (hPressureBound : (pressure.normalized hT.le (S.high (p-1)) (S.high_pos (p-1))).WordBound 6 R 1 |
| 69 | (highShift (p-1))) |
| 70 | (hR : 0 ≤ R) (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ R) |
| 71 | |
| 72 | include BF hCtBound hPressureBound hR hRc |
| 73 | |
| 74 | theorem raw_term_bound (k : KnownTerm) (i j : ℕ) |
| 75 | (b : C(Icc (0 : ℝ) T,ℝ)) (hb : ∀ t, 0 < b t) (hprofile : k.ProfileFits S p i j b) : |
| 76 | ((F.termField C (by omega) hT Ct hCt pressure k i j).normalized hT.le b hb).WordBound |
| 77 | 6 R (k.amplitude BC) (k.budgetShift p i j) := by |
| 78 | cases k with |
| 79 | | previousLinear => |
| 80 | by_cases hij : i=0 ∧ j=0 |
| 81 | · have hbound := BC.previousLinear_bound hT S p b hb (F.corrector (p-1) (by omega)) Ct hCt |
| 82 | (BF.corrector (p-1) (by omega) (by omega)) hCtBound hRc hprofile |
| 83 | have ht := hbound.normalized_of_raw_eq (F.termField C (by omega) hT Ct hCt pressure .previousLinear i j) |
| 84 | hT.le b hb (fun t x θ => by simp only [KnownTerm.raw,ite_eq_left hij]) |
| 85 | simpa only [KnownTerm.amplitude,KnownTerm.budgetShift,ite_eq_left hij] using ht |
| 86 | · have hz : ∀ (t : Icc (0 : ℝ) T) x θ, KnownTerm.previousLinear.raw O p a i j (t,(x,θ)) = 0 := by |
| 87 | intro t x θ |
| 88 | simp only [KnownTerm.raw,ite_eq_right hij] |
| 89 | have ht := (Field.wordBound_normalized_of_zero |
| 90 | (F.termField C (by omega) hT Ct hCt pressure .previousLinear i j) hz hT.le b hb 6 R 0).mono_amplitude |
| 91 | hR BC.linearCost_nonneg |
| 92 | simpa only [KnownTerm.amplitude,KnownTerm.budgetShift,ite_eq_right hij] using ht |
| 93 | | previousPressure => |
| 94 | by_cases hij : i=0 ∧ j=0 |
| 95 | · have hbound := BC.previousPressure_bound hT S p b hb (a (p-1)).highPressure pressure |
| 96 | hPressureBound hRc hprofile |
| 97 | have ht := hbound.normalized_of_raw_eq (F.termField C (by omega) hT Ct hCt pressure .previousPressure i j) |
| 98 | hT.le b hb (fun t x θ => by simp only [KnownTerm.raw,ite_eq_left hij]) |
| 99 | simpa only [KnownTerm.amplitude,KnownTerm.budgetShift,ite_eq_left hij] using ht |
| 100 | · have hz : ∀ (t : Icc (0 : ℝ) T) x θ, KnownTerm.previousPressure.raw O p a i j (t,(x,θ)) = 0 := by |
| 101 | intro t x θ |
| 102 | simp only [KnownTerm.raw,ite_eq_right hij] |
| 103 | have ht := (Field.wordBound_normalized_of_zero |
| 104 | (F.termField C (by omega) hT Ct hCt pressure .previousPressure i j) hz hT.le b hb 6 R 0).mono_amplitude |
| 105 | hR BC.multiplierCost_nonneg |
| 106 | simpa only [KnownTerm.amplitude,KnownTerm.budgetShift,ite_eq_right hij] using ht |
| 107 | | slow l r => |
| 108 | exact BF.maskedSlow_bound BC l r i j p (F.termField C (by omega) hT Ct hCt pressure (.slow l r) i j) |
| 109 | (fun _ _ _ => rfl) b hb hR hRc hprofile |
| 110 | | fastMeanHigh => |
| 111 | exact BF.maskedFast_bound BC .mean .high i j (p+1) |
| 112 | (F.termField C (by omega) hT Ct hCt pressure .fastMeanHigh i j) |
| 113 | (fun _ _ _ => rfl) b hb hR hRc hprofile |
| 114 | | fastMeanCorrector => |
| 115 | exact BF.maskedFast_bound BC .mean .corrector i j (p+1) |
| 116 | (F.termField C (by omega) hT Ct hCt pressure .fastMeanCorrector i j) |
| 117 | (fun _ _ _ => rfl) b hb hR hRc hprofile |
| 118 | | fastCorrectorHigh => |
| 119 | exact BF.maskedFast_bound BC .corrector .high i j (p+1) |
| 120 | (F.termField C (by omega) hT Ct hCt pressure .fastCorrectorHigh i j) |
| 121 | (fun _ _ _ => rfl) b hb hR hRc hprofile |
| 122 | | fastCorrectorCorrector => |
| 123 | exact BF.maskedFast_bound BC .corrector .corrector i j (p+1) |
| 124 | (F.termField C (by omega) hT Ct hCt pressure .fastCorrectorCorrector i j) |
| 125 | (fun _ _ _ => rfl) b hb hR hRc hprofile |
| 126 | |
| 127 | theorem mean_term_bound (k : KnownTerm) (i j : ℕ) : |
| 128 | ((F.meanTermField C (by omega) hT Ct hCt pressure k i j).normalized hT.le (S.mean p) (S.mean_pos p)).WordBound |
| 129 | 6 R BC.termCost (k.meanBudgetShift p i j) := by |
| 130 | by_cases hz : k.zeroMean = true |
| 131 | · have hzraw : ∀ (t : Icc (0 : ℝ) T) x θ, k.meanRaw O p a i j (t,(x,θ)) = 0 := by |
| 132 | intro t x θ |
| 133 | simp only [KnownTerm.meanRaw,ite_eq_left hz,Pi.zero_apply] |
| 134 | have ht := (Field.wordBound_normalized_of_zero |
| 135 | (F.meanTermField C (by omega) hT Ct hCt pressure k i j) hzraw hT.le |
| 136 | (S.mean p) (S.mean_pos p) 6 R 0).mono_amplitude hR BC.termCost_nonneg |
| 137 | simpa only [KnownTerm.meanBudgetShift,ite_eq_left hz] using ht |
| 138 | · have hbound := raw_term_bound hp hT Ct hCt pressure BF BC hCtBound hPressureBound hR hRc |
| 139 | k i j (S.mean p) (S.mean_pos p) (k.mean_profile_fits S p i j hp (Bool.eq_false_of_not_eq_true hz)) |
| 140 | have ht := (hbound.normalized_angleMean hT.le).normalized_of_raw_eq |
| 141 | (F.meanTermField C (by omega) hT Ct hCt pressure k i j) hT.le (S.mean p) (S.mean_pos p) |
| 142 | (fun t x θ => by simp only [KnownTerm.meanRaw,ite_eq_right hz,C.period_eq]) |
| 143 | have hh := ht.mono_amplitude hR (k.amplitude_le BC) |
| 144 | simpa only [KnownTerm.meanBudgetShift,ite_eq_right hz] using hh |
| 145 | |
| 146 | theorem high_term_bound (k : KnownTerm) (i j : ℕ) : |
| 147 | ((F.highTermField C (by omega) hT Ct hCt pressure k i j).normalized hT.le (S.high p) (S.high_pos p)).WordBound |
| 148 | 6 R BC.termCost (k.budgetShift p i j) := by |
| 149 | by_cases hm : k.meanOnly = true |
| 150 | · have hzraw : ∀ (t : Icc (0 : ℝ) T) x θ, k.highRaw O p a i j (t,(x,θ)) = 0 := by |
| 151 | intro t x θ |
| 152 | simp only [KnownTerm.highRaw,ite_eq_left hm,Pi.zero_apply] |
| 153 | exact (Field.wordBound_normalized_of_zero |
| 154 | (F.highTermField C (by omega) hT Ct hCt pressure k i j) hzraw hT.le |
| 155 | (S.high p) (S.high_pos p) 6 R (k.budgetShift p i j)).mono_amplitude hR BC.termCost_nonneg |
| 156 | · have hbound := raw_term_bound hp hT Ct hCt pressure BF BC hCtBound hPressureBound hR hRc |
| 157 | k i j (S.high p) (S.high_pos p) (k.high_profile_fits S p i j (Bool.eq_false_of_not_eq_true hm)) |
| 158 | by_cases hz : k.zeroMean = true |
| 159 | · have ht := hbound.normalized_of_raw_eq (F.highTermField C (by omega) hT Ct hCt pressure k i j) |
| 160 | hT.le (S.high p) (S.high_pos p) |
| 161 | (fun t x θ => by simp only [KnownTerm.highRaw,ite_eq_right hm,ite_eq_left hz]) |
| 162 | exact ht.mono_amplitude hR (k.amplitude_le BC) |
| 163 | · have ht := (hbound.normalized_highPart hT.le (S.high p) (S.high_pos p)).normalized_of_raw_eq |
| 164 | (F.highTermField C (by omega) hT Ct hCt pressure k i j) hT.le (S.high p) (S.high_pos p) |
| 165 | (fun t x θ => by simp only [KnownTerm.highRaw,ite_eq_right hm,ite_eq_right hz,C.period_eq]) |
| 166 | exact ht.mono_amplitude hR (k.twice_amplitude_le BC) |
| 167 | |
| 168 | end PrefixBound |
| 169 | end EulerPacketCylinderField |