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.PacketKnownTermBounds |
| 2 | import Euler.PacketKnownTermFields |
| 3 | import Euler.PacketCylinderFieldUnique |
| 4 | import Mathlib.Algebra.BigOperators.Option |
| 5 | |
| 6 | /-! Actual mean and high forcing estimates at one fixed radius, uniform in the packet grade. -/ |
| 7 | |
| 8 | /-! ## From `Euler/PacketKnownTermSums.lean` |
| 9 | |
| 10 | The text of `Euler/PacketKnownTermSums.lean`, folded into this file, which was its only importer. -/ |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! |
| 15 | Exact mean and high forcing sums. Periodic BA/BC terms are absent from the |
| 16 | mean force, and the angle-constant BB term is absent from the high force. |
| 17 | Every summand is the genuine continuous cylinder L² path already constructed. |
| 18 | -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | namespace EulerPacketCylinderField |
| 23 | |
| 24 | open Set MeasureTheory Finset EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 25 | |
| 26 | variable {P T : ℝ} [Fact (0 < P)] |
| 27 | |
| 28 | theorem angleMean_congr_at (P : ℝ) (f g : VectorField) (t : ℝ) (x : Space) |
| 29 | (h : ∀ θ : ℝ, f (t,(x,θ)) = g (t,(x,θ))) (θ : ℝ) : |
| 30 | angleMean P f (t,(x,θ)) = angleMean P g (t,(x,θ)) := by |
| 31 | unfold angleMean |
| 32 | congr 1 |
| 33 | apply intervalIntegral.integral_congr |
| 34 | intro s _ |
| 35 | exact h s |
| 36 | |
| 37 | theorem angleMean_neg_finsetSum {ι : Type*} (s : Finset ι) (raw : ι → VectorField) |
| 38 | (G : ∀ i, Field P T (raw i)) (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 39 | angleMean P (fun z => -(∑ i ∈ s, raw i z)) (t,(x,θ)) = |
| 40 | -(∑ i ∈ s, angleMean P (raw i) (t,(x,θ))) := by |
| 41 | unfold angleMean |
| 42 | rw [intervalIntegral.integral_neg, |
| 43 | intervalIntegral.integral_finsetSum (fun i _ => ((G i).raw_angle_continuous t x).intervalIntegrable 0 P)] |
| 44 | simp only [smul_neg, Finset.smul_sum] |
| 45 | |
| 46 | variable {O : Operators} {p : ℕ} {a : ℕ → Profile} |
| 47 | |
| 48 | theorem PrefixFields.knownForce_decomposition (F : PrefixFields P T p a) |
| 49 | (hp : 2 ≤ p) (hc : (a 0).corrector = 0) (hB₁ : (a 1).mean = 0) |
| 50 | (hA : ∀ i, i < p → ∀ (t : Icc (0 : ℝ) T) x θ, |
| 51 | inner ℝ (O.normal (t,(x,θ))) ((a i).high (t,(x,θ))) = 0) |
| 52 | (hB : ∀ i, i < p → ∀ (t : Icc (0 : ℝ) T) x θ, |
| 53 | (a i).mean (t,(x,θ)) = (a i).mean (t,(x,0))) |
| 54 | (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 55 | EulerPacketProfileRecursion.knownForce O p a (t,(x,θ)) = |
| 56 | -(∑ q ∈ knownTermIndices p, q.1.raw O p a q.2.1 q.2.2 (t,(x,θ))) := |
| 57 | knownForce_eq_term_sum O p hp a hc hB₁ (t,(x,θ)) |
| 58 | (fun i => KnownPiece.high_tangent hA i t x θ) |
| 59 | (fun i => (F.meanPiece_angleIndependent hB i t x).angular θ) |
| 60 | |
| 61 | variable (F : PrefixFields P T p a) (C : CoefficientData P T O) |
| 62 | (hp : 2 ≤ p) (hT : 0 < T) {corrector_t : VectorField} |
| 63 | (Ct : Field P T corrector_t) |
| 64 | (hCt : TimeDerivative hT.le (F.corrector (p-1) (by omega)) Ct) |
| 65 | (pressure : Field P T (pressureGradient (a (p-1)).highPressure)) |
| 66 | (hc : (a 0).corrector = 0) (hB₁ : (a 1).mean = 0) |
| 67 | (hA : ∀ i, i < p → ∀ (t : Icc (0 : ℝ) T) x θ, |
| 68 | inner ℝ (O.normal (t,(x,θ))) ((a i).high (t,(x,θ))) = 0) |
| 69 | (hB : ∀ i, i < p → ∀ (t : Icc (0 : ℝ) T) x θ, |
| 70 | (a i).mean (t,(x,θ)) = (a i).mean (t,(x,0))) |
| 71 | |
| 72 | include C hp hT Ct hCt pressure hc hB₁ hA hB in |
| 73 | theorem PrefixFields.meanForce_decomposition (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 74 | EulerPacketProfileRecursion.meanForce O p a (t,(x,θ)) = |
| 75 | -(∑ q ∈ knownTermIndices p, q.1.meanRaw O p a q.2.1 q.2.2 (t,(x,θ))) := by |
| 76 | calc |
| 77 | _ = angleMean P (fun z => -(∑ q ∈ knownTermIndices p, |
| 78 | q.1.raw O p a q.2.1 q.2.2 z)) (t,(x,θ)) := by |
| 79 | unfold EulerPacketProfileRecursion.meanForce |
| 80 | rw [C.period_eq] |
| 81 | exact angleMean_congr_at P _ _ t x (F.knownForce_decomposition hp hc hB₁ hA hB t x) θ |
| 82 | _ = -(∑ q ∈ knownTermIndices p, angleMean P (q.1.raw O p a q.2.1 q.2.2) (t,(x,θ))) := |
| 83 | angleMean_neg_finsetSum (knownTermIndices p) |
| 84 | (fun q => q.1.raw O p a q.2.1 q.2.2) |
| 85 | (fun q => F.termField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2) t x θ |
| 86 | _ = _ := by |
| 87 | congr 1 |
| 88 | apply sum_congr rfl |
| 89 | intro q _ |
| 90 | rw [KnownTerm.meanRaw_eq F C hB, C.period_eq] |
| 91 | |
| 92 | include C hp hT Ct hCt pressure hc hB₁ hA hB in |
| 93 | theorem PrefixFields.highForce_decomposition (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 94 | EulerPacketProfileRecursion.highForce O p a (t,(x,θ)) = |
| 95 | -(∑ q ∈ knownTermIndices p, q.1.highRaw O p a q.2.1 q.2.2 (t,(x,θ))) - |
| 96 | fastAdvection (O.normal (t,(x,θ))) |
| 97 | (slicedJet O.interval (meanResult O p a).1 (t,(x,θ))) |
| 98 | (slicedJet O.interval (a 1).high (t,(x,θ))) := by |
| 99 | have he : (∑ q ∈ knownTermIndices p, q.1.highRaw O p a q.2.1 q.2.2 (t,(x,θ))) = |
| 100 | (∑ q ∈ knownTermIndices p, q.1.raw O p a q.2.1 q.2.2 (t,(x,θ))) - |
| 101 | (∑ q ∈ knownTermIndices p, q.1.meanRaw O p a q.2.1 q.2.2 (t,(x,θ))) := by |
| 102 | rw [← sum_sub_distrib] |
| 103 | apply sum_congr rfl |
| 104 | intro q _ |
| 105 | rw [KnownTerm.highRaw_eq F C hB, KnownTerm.meanRaw_eq F C hB] |
| 106 | unfold EulerPacketProfileRecursion.highForce |
| 107 | rw [F.knownForce_decomposition hp hc hB₁ hA hB, |
| 108 | F.meanForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB, he] |
| 109 | abel |
| 110 | |
| 111 | end EulerPacketCylinderField |
| 112 | end |
| 113 | |
| 114 | end |
| 115 | |
| 116 | noncomputable section |
| 117 | |
| 118 | namespace EulerPacketCylinderField.PrefixBound |
| 119 | |
| 120 | open Set Finset EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 121 | EulerPacketTimeProfile EulerPacketShiftArithmetic EulerParameterWordGevrey |
| 122 | |
| 123 | variable {P T : ℝ} [Fact (0 < P)] {p : ℕ} {a : ℕ → Profile} |
| 124 | {F : PrefixFields P T p a} {O : Operators} {C : CoefficientData P T O} |
| 125 | (hp : 2 ≤ p) (hT : 0 < T) {corrector_t : VectorField} (Ct : Field P T corrector_t) |
| 126 | (hCt : TimeDerivative hT.le (F.corrector (p-1) (by omega)) Ct) |
| 127 | (pressure : Field P T (pressureGradient (a (p-1)).highPressure)) |
| 128 | {S : Scales (Icc (0 : ℝ) T)} {R : ℝ} |
| 129 | (BF : PrefixBound F hT.le S R) (BC : CoefficientBudget C) |
| 130 | (hCtBound : (Ct.normalized hT.le (S.high (p-1)) (S.high_pos (p-1))).WordBound 6 R 1 (highShift (p-1))) |
| 131 | (hPressureBound : (pressure.normalized hT.le (S.high (p-1)) (S.high_pos (p-1))).WordBound 6 R 1 |
| 132 | (highShift (p-1))) |
| 133 | (hR : 1 ≤ R) (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ R) (hcost : BC.termCost ≤ R) |
| 134 | (hc : (a 0).corrector = 0) (hB₁ : (a 1).mean = 0) |
| 135 | (hA : ∀ i, i < p → ∀ (t : Icc (0 : ℝ) T) x θ, |
| 136 | inner ℝ (O.normal (t,(x,θ))) ((a i).high (t,(x,θ))) = 0) |
| 137 | (hB : ∀ i, i < p → ∀ (t : Icc (0 : ℝ) T) x θ, |
| 138 | (a i).mean (t,(x,θ)) = (a i).mean (t,(x,0))) |
| 139 | |
| 140 | include BF hCtBound hPressureBound hR hRc hcost hc hB₁ hA hB |
| 141 | |
| 142 | theorem meanForce_bound : |
| 143 | ((F.meanForce C (by omega) hT Ct hCt pressure).normalized hT.le (S.mean p) (S.mean_pos p)).WordBound |
| 144 | 6 R 1 (meanForceShift p) := by |
| 145 | let f : KnownTermIndex → VectorField := fun q => q.1.meanRaw O p a q.2.1 q.2.2 |
| 146 | let W : ∀ q, Field P T (f q) := fun q => F.meanTermField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2 |
| 147 | let G := Field.finsetSum (knownTermIndices p) f W |
| 148 | have hd : 0 < meanForceShift p := by have h := force_shift_dominates_grade p hp; omega |
| 149 | have hcount : (knownTermIndices p).card ≤ (meanForceShift p)^2 := by |
| 150 | have hc0 := knownTermIndices_card_room p |
| 151 | have hc1 := (padded_grade_count p hp).1 |
| 152 | omega |
| 153 | have hs : (G.normalized hT.le (S.mean p) (S.mean_pos p)).WordBound 6 R 1 (meanForceShift p) := |
| 154 | Field.wordBound_normalized_finset_absorb hT.le (S.mean p) (S.mean_pos p) |
| 155 | (knownTermIndices p) f W 6 R BC.termCost (meanForceShift p) |
| 156 | (fun q => q.1.meanBudgetShift p q.2.1 q.2.2) hR BC.termCost_nonneg hcost hd hcount |
| 157 | (fun q _ => q.1.meanBudgetShift_lt p q.2.1 q.2.2 hp) |
| 158 | (fun q _ => mean_term_bound hp hT Ct hCt pressure BF BC hCtBound hPressureBound |
| 159 | (zero_le_one.trans hR) hRc q.1 q.2.1 q.2.2) |
| 160 | exact (hs.normalized_neg hT.le).normalized_of_raw_eq |
| 161 | (F.meanForce C (by omega) hT Ct hCt pressure) hT.le (S.mean p) (S.mean_pos p) |
| 162 | (fun t x θ => by |
| 163 | simpa only [Pi.neg_apply,Finset.sum_apply,f] using |
| 164 | F.meanForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB t x θ) |
| 165 | |
| 166 | theorem highForce_bound (newMean : Field P T (meanResult O p a).1) |
| 167 | (hnew : (newMean.normalized hT.le (S.mean p) (S.mean_pos p)).WordBound 6 R 1 (meanShift p)) : |
| 168 | ((F.highForce C hp hT Ct hCt pressure newMean).normalized hT.le (S.high p) (S.high_pos p)).WordBound |
| 169 | 6 R 1 (highForceShift p) := by |
| 170 | let A := SpatialJetField.fastAdvection C.normal (SpatialJetField.ofField O.interval newMean) |
| 171 | (SpatialJetField.ofField O.interval (F.high 1 (by omega))) |
| 172 | have hA0 : (A.normalized hT.le (S.high p) (S.high_pos p)).WordBound 6 R BC.fastCost |
| 173 | (meanShift p+highShift 1+1) := |
| 174 | BC.fast_bound (SpatialJetField.ofField O.interval newMean) |
| 175 | (SpatialJetField.ofField O.interval (F.high 1 (by omega))) hT.le |
| 176 | (S.mean p) (S.high 1) (S.high p) (S.mean_pos p) (S.high_pos 1) (S.high_pos p) |
| 177 | hnew (BF.high 1 (by omega) (by omega)) (zero_le_one.trans hR) hRc |
| 178 | (fun t => (S.fast_mean_high_bound p 1 p (by omega) (by omega) rfl t).le) |
| 179 | have hA1 := hA0.mono_amplitude (zero_le_one.trans hR) BC.fastCost_le |
| 180 | let f : Option KnownTermIndex → VectorField := fun q => |
| 181 | match q with |
| 182 | | none => fun z => fastAdvection (O.normal z) (slicedJet O.interval (meanResult O p a).1 z) |
| 183 | (slicedJet O.interval (a 1).high z) |
| 184 | | some q => q.1.highRaw O p a q.2.1 q.2.2 |
| 185 | let W : ∀ q, Field P T (f q) := fun q => |
| 186 | match q with |
| 187 | | none => A |
| 188 | | some q => F.highTermField C (by omega) hT Ct hCt pressure q.1 q.2.1 q.2.2 |
| 189 | let shift : Option KnownTermIndex → ℕ := fun q => |
| 190 | match q with |
| 191 | | none => meanShift p+highShift 1+1 |
| 192 | | some q => q.1.budgetShift p q.2.1 q.2.2 |
| 193 | let G := Field.finsetSum (knownTermIndices p).insertNone f W |
| 194 | have hd : 0 < highForceShift p := by have h := force_shift_dominates_grade p hp; omega |
| 195 | have hcount : (knownTermIndices p).insertNone.card ≤ (highForceShift p)^2 := by |
| 196 | rw [card_insertNone] |
| 197 | exact (knownTermIndices_card_room p).trans (padded_grade_count p hp).2 |
| 198 | have hshift : ∀ q ∈ (knownTermIndices p).insertNone, shift q < highForceShift p := by |
| 199 | intro q _ |
| 200 | cases q with |
| 201 | | none => |
| 202 | change meanShift p+highShift 1+1 < highForceShift p |
| 203 | have hh := fast_mean_high_room p 1 p hp (by omega) rfl |
| 204 | omega |
| 205 | | some q => exact q.1.budgetShift_lt_high p q.2.1 q.2.2 hp |
| 206 | have hblocks : ∀ q ∈ (knownTermIndices p).insertNone, |
| 207 | ((W q).normalized hT.le (S.high p) (S.high_pos p)).WordBound 6 R BC.termCost (shift q) := by |
| 208 | intro q _ |
| 209 | cases q with |
| 210 | | none => exact hA1 |
| 211 | | some q => |
| 212 | exact high_term_bound hp hT Ct hCt pressure BF BC hCtBound hPressureBound |
| 213 | (zero_le_one.trans hR) hRc q.1 q.2.1 q.2.2 |
| 214 | have hs : (G.normalized hT.le (S.high p) (S.high_pos p)).WordBound 6 R 1 (highForceShift p) := |
| 215 | Field.wordBound_normalized_finset_absorb hT.le (S.high p) (S.high_pos p) |
| 216 | (knownTermIndices p).insertNone f W 6 R BC.termCost (highForceShift p) shift |
| 217 | hR BC.termCost_nonneg hcost hd hcount hshift hblocks |
| 218 | apply (hs.normalized_neg hT.le).normalized_of_raw_eq |
| 219 | (F.highForce C hp hT Ct hCt pressure newMean) hT.le (S.high p) (S.high_pos p) |
| 220 | intro t x θ |
| 221 | simp only [Pi.neg_apply,Finset.sum_apply] |
| 222 | change highForce O p a (t,(x,θ)) = -(∑ q ∈ (knownTermIndices p).insertNone, f q (t,(x,θ))) |
| 223 | rw [F.highForce_decomposition C hp hT Ct hCt pressure hc hB₁ hA hB,Finset.sum_insertNone] |
| 224 | dsimp only [f] |
| 225 | abel |
| 226 | |
| 227 | end EulerPacketCylinderField.PrefixBound |