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.PacketCylinderWeightedAdvection |
| 2 | import Euler.PacketCylinderHighPartBounds |
| 3 | |
| 4 | /-! A single coefficient cost bounds every elementary nonlinear packet term. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField |
| 9 | |
| 10 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 11 | EulerMeanCoefficients EulerParameterWordGevrey EulerGevrey EulerCylinderPathProduct |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | variable {P T : ℝ} [Fact (0 < P)] {O : Operators} |
| 15 | |
| 16 | structure CoefficientBudget (C : CoefficientData P T O) where |
| 17 | Rc : ℝ |
| 18 | amplitude : ℝ |
| 19 | Rc_nonneg : 0 ≤ Rc |
| 20 | amplitude_nonneg : 0 ≤ amplitude |
| 21 | inverse_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath C.inverse.path) a‖ ≤ |
| 22 | amplitude*majorant Rc 0 n |
| 23 | strain_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath C.strain.path) a‖ ≤ |
| 24 | amplitude*majorant Rc 0 n |
| 25 | normal_bound : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath C.normal.path) a‖ ≤ |
| 26 | amplitude*majorant Rc 0 n |
| 27 | |
| 28 | namespace CoefficientBudget |
| 29 | |
| 30 | variable {C : CoefficientData P T O} (B : CoefficientBudget C) |
| 31 | |
| 32 | def multiplierCost : ℝ := 3*sobolevCoefficientAmplitude (Fin 4) 6 B.Rc B.amplitude |
| 33 | def slowCost : ℝ := 9*productBlockConstant P*B.multiplierCost |
| 34 | def fastCost : ℝ := 3*productBlockConstant P*B.multiplierCost |
| 35 | def linearCost : ℝ := 1+B.multiplierCost |
| 36 | def termCost : ℝ := 2*(1+B.multiplierCost+B.slowCost) |
| 37 | |
| 38 | omit [Fact (0 < P)] in |
| 39 | theorem multiplierCost_nonneg : 0 ≤ B.multiplierCost := |
| 40 | mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg 6 B.Rc B.amplitude |
| 41 | B.Rc_nonneg B.amplitude_nonneg) |
| 42 | |
| 43 | theorem slowCost_nonneg : 0 ≤ B.slowCost := |
| 44 | mul_nonneg (mul_nonneg (by norm_num) (productBlockConstant_nonneg P)) B.multiplierCost_nonneg |
| 45 | |
| 46 | theorem fastCost_nonneg : 0 ≤ B.fastCost := |
| 47 | mul_nonneg (mul_nonneg (by norm_num) (productBlockConstant_nonneg P)) B.multiplierCost_nonneg |
| 48 | |
| 49 | theorem fastCost_le_slowCost : B.fastCost ≤ B.slowCost := by |
| 50 | unfold fastCost slowCost |
| 51 | exact mul_le_mul_of_nonneg_right |
| 52 | (mul_le_mul_of_nonneg_right (by norm_num : (3 : ℝ) ≤ 9) (productBlockConstant_nonneg P)) |
| 53 | B.multiplierCost_nonneg |
| 54 | |
| 55 | omit [Fact (0 < P)] in |
| 56 | theorem linearCost_nonneg : 0 ≤ B.linearCost := add_nonneg zero_le_one B.multiplierCost_nonneg |
| 57 | |
| 58 | theorem termCost_nonneg : 0 ≤ B.termCost := by |
| 59 | have hm := B.multiplierCost_nonneg |
| 60 | have hs := B.slowCost_nonneg |
| 61 | unfold termCost |
| 62 | positivity |
| 63 | |
| 64 | theorem one_le_termCost : 1 ≤ B.termCost := by |
| 65 | have hm := B.multiplierCost_nonneg |
| 66 | have hs := B.slowCost_nonneg |
| 67 | unfold termCost |
| 68 | linarith |
| 69 | |
| 70 | theorem twice_slowCost_le : 2*B.slowCost ≤ B.termCost := by |
| 71 | have hm := B.multiplierCost_nonneg |
| 72 | unfold termCost |
| 73 | linarith |
| 74 | |
| 75 | theorem twice_fastCost_le : 2*B.fastCost ≤ B.termCost := |
| 76 | (mul_le_mul_of_nonneg_left B.fastCost_le_slowCost (by norm_num)).trans B.twice_slowCost_le |
| 77 | |
| 78 | theorem twice_linearCost_le : 2*B.linearCost ≤ B.termCost := by |
| 79 | have hs := B.slowCost_nonneg |
| 80 | unfold termCost linearCost |
| 81 | linarith |
| 82 | |
| 83 | theorem twice_multiplierCost_le : 2*B.multiplierCost ≤ B.termCost := by |
| 84 | have hs := B.slowCost_nonneg |
| 85 | unfold termCost |
| 86 | linarith |
| 87 | |
| 88 | variable {J K : Domain → VectorJet} (G : SpatialJetField P T J) (H : SpatialJetField P T K) |
| 89 | (hT : 0 ≤ T) (g h b : C(Icc (0 : ℝ) T,ℝ)) |
| 90 | (hg : ∀ t, 0 < g t) (hh : ∀ t, 0 < h t) (hb : ∀ t, 0 < b t) |
| 91 | |
| 92 | theorem slow_bound {R : ℝ} {d e : ℕ} |
| 93 | (hG : (G.field.normalized hT g hg).WordBound 6 R 1 d) |
| 94 | (hH : (H.field.normalized hT h hh).WordBound 6 R 1 e) |
| 95 | (hR : 0 ≤ R) (hRc : sobolevCoefficientRadius (Fin 4) B.Rc ≤ R) |
| 96 | (hp : ∀ t, g t*h t ≤ b t) : |
| 97 | ((SpatialJetField.slowAdvection C.inverse G H).normalized hT b hb).WordBound 6 R |
| 98 | B.slowCost (d+e+1) := by |
| 99 | have hbound := G.slowAdvection_normalized_bound H hT g h b hg hh hb C.inverse hG hH |
| 100 | hR zero_le_one zero_le_one B.Rc B.amplitude B.Rc_nonneg B.amplitude_nonneg hRc |
| 101 | B.inverse_bound 1 zero_le_one |
| 102 | (productProfileRatio_abs_le g h b (fun t => (hg t).le) (fun t => (hh t).le) hb 1 |
| 103 | (by simpa only [one_mul] using hp)) |
| 104 | simpa only [one_mul,mul_one,slowCost,multiplierCost] using hbound |
| 105 | |
| 106 | theorem fast_bound {R : ℝ} {d e : ℕ} |
| 107 | (hG : (G.field.normalized hT g hg).WordBound 6 R 1 d) |
| 108 | (hH : (H.field.normalized hT h hh).WordBound 6 R 1 e) |
| 109 | (hR : 0 ≤ R) (hRc : sobolevCoefficientRadius (Fin 4) B.Rc ≤ R) |
| 110 | (hp : ∀ t, g t*h t ≤ b t) : |
| 111 | ((SpatialJetField.fastAdvection C.normal G H).normalized hT b hb).WordBound 6 R |
| 112 | B.fastCost (d+e+1) := by |
| 113 | have hbound := G.fastAdvection_normalized_bound H hT g h b hg hh hb C.normal hG hH |
| 114 | hR zero_le_one zero_le_one B.Rc B.amplitude B.Rc_nonneg B.amplitude_nonneg hRc |
| 115 | B.normal_bound 1 zero_le_one |
| 116 | (productProfileRatio_abs_le g h b (fun t => (hg t).le) (fun t => (hh t).le) hb 1 |
| 117 | (by simpa only [one_mul] using hp)) |
| 118 | simpa only [one_mul,mul_one,fastCost,multiplierCost] using hbound |
| 119 | |
| 120 | end CoefficientBudget |
| 121 | end EulerPacketCylinderField |