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.TransversePacketJoinedFullBounds |
| 2 | import Euler.TransversePacketParity |
| 3 | import Euler.PacketLinearCostAbsorption |
| 4 | import Euler.PacketCylinderProfileChange |
| 5 | import Euler.PacketCylinderBoundTransfer |
| 6 | |
| 7 | /-! A single source budget closes every forced transverse grade. The actual |
| 8 | profile is retained, its positive scalar factor cancels exactly, and one |
| 9 | spare derivative shift pays the fixed operator constants. -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerPacketCylinderField |
| 14 | |
| 15 | open Set EulerPacketProfileRecursion |
| 16 | |
| 17 | theorem smul_profile_pos {K : Type*} [TopologicalSpace K] |
| 18 | (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) (c : ℝ) (hc : 0 < c) (t : K) : |
| 19 | 0 < (c • g) t := mul_pos hc (hg t) |
| 20 | |
| 21 | namespace Field |
| 22 | |
| 23 | variable {P T : ℝ} [Fact (0 < P)] {raw : VectorField} {G : Field P T raw} |
| 24 | (hT : 0 ≤ T) (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 25 | (c : ℝ) (hc : 0 < c) {q d : ℕ} {R A : ℝ} |
| 26 | |
| 27 | theorem WordBound.unscale_profile |
| 28 | (hG : (G.normalized hT (c • g) (smul_profile_pos g hg c hc)).WordBound q R A d) : |
| 29 | (G.normalized hT g hg).WordBound q R (c*A) d := |
| 30 | hG.changeProfile hT g hg c hc.le (fun _ => le_rfl) |
| 31 | |
| 32 | theorem WordBound.scale_profile |
| 33 | (hG : (G.normalized hT g hg).WordBound q R (A*c) d) : |
| 34 | (G.normalized hT (c • g) (smul_profile_pos g hg c hc)).WordBound q R A d := by |
| 35 | have hh := hG.changeProfile hT (c • g) (smul_profile_pos g hg c hc) c⁻¹ |
| 36 | (inv_nonneg.mpr hc.le) (fun t => by |
| 37 | change g t ≤ c⁻¹*(c*g t) |
| 38 | rw [← mul_assoc,inv_mul_cancel₀ hc.ne',one_mul]) |
| 39 | have he : c⁻¹*(A*c) = A := by field_simp |
| 40 | simpa only [he] using hh |
| 41 | |
| 42 | end Field |
| 43 | end EulerPacketCylinderField |
| 44 | |
| 45 | namespace EulerTransversePacketJoin.Budget |
| 46 | |
| 47 | open Set EulerSmoothLimit EulerTransversePacketProvider EulerPacketCylinderField |
| 48 | EulerPacketProfileRecursion EulerPacketShiftArithmetic EulerContinuousTimeWeight |
| 49 | EulerParameterWordGevrey EulerGevrey EulerSourceNormalResidualBounds |
| 50 | open scoped ContDiff |
| 51 | |
| 52 | variable {P : ℝ} [Fact (0 < P)] |
| 53 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 54 | {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} |
| 55 | {B : HistoryData (D.initial τ hτ hτT.le)} |
| 56 | (L : Budget D τ hτ hτT B (Fin 4) 6) (N : NormalBudget D 6 L.R) |
| 57 | |
| 58 | theorem pressureAmplitude_nonneg : 0 ≤ L.pressureAmplitude (P := P) N := by |
| 59 | have hRi := N.Ri_nonneg |
| 60 | have hC := N.C_nonneg |
| 61 | have hL := L.commonCost_nonneg |
| 62 | have hP := (Fact.out : 0 < P).le |
| 63 | have hm := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) 6 (4*N.Ri) (3*N.Ri*N.C) |
| 64 | (by positivity) (by positivity) |
| 65 | have hM := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) 6 (4*N.Ri) N.C |
| 66 | (by positivity) hC |
| 67 | unfold pressureAmplitude pressureCost |
| 68 | positivity |
| 69 | |
| 70 | theorem correctorAmplitude_nonneg : 0 ≤ L.correctorAmplitude (P := P) N := by |
| 71 | have hL := L.commonCost_nonneg |
| 72 | have hP := (Fact.out : 0 < P).le |
| 73 | unfold correctorAmplitude |
| 74 | positivity |
| 75 | |
| 76 | theorem correctorTimeAmplitude_nonneg : 0 ≤ L.correctorTimeAmplitude (P := P) N := by |
| 77 | have hL := L.commonCost_nonneg |
| 78 | have hP := (Fact.out : 0 < P).le |
| 79 | unfold correctorTimeAmplitude |
| 80 | positivity |
| 81 | |
| 82 | /-- These four numerical guards depend only on the source data and the fixed |
| 83 | external radius. They are chosen before the forcing, its amplitude or grade. -/ |
| 84 | structure GradeGuards : Prop where |
| 85 | common : L.commonCost ≤ L.R |
| 86 | corrector : L.correctorAmplitude (P := P) N ≤ L.R |
| 87 | correctorTime : L.correctorTimeAmplitude (P := P) N ≤ L.R |
| 88 | pressureGradient : 3*L.pressureAmplitude (P := P) N ≤ L.R |
| 89 | |
| 90 | private theorem grade_shift_room (p : ℕ) (hp : 2 ≤ p) : |
| 91 | highForceShift p+3+1 ≤ highShift p ∧ highForceShift p+4+1 ≤ highShift p := by |
| 92 | simp only [highForceShift,highShift] |
| 93 | omega |
| 94 | |
| 95 | variable (W : GradeGuards (P := P) L N) {raw : VectorField} |
| 96 | (G : Forcing P D raw) (F : Field P D.T raw) (c : ℝ) (hc : 0 < c) |
| 97 | (p : ℕ) (hp : 2 ≤ p) |
| 98 | (hforce : (F.normalized D.T_pos.le (c • L.fullProfile) |
| 99 | (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highForceShift p)) |
| 100 | |
| 101 | include N W hp hforce |
| 102 | |
| 103 | /-- Actual A, A_t, curl corrector, its time derivative, and the literal scalar |
| 104 | pressure gradient satisfy the unit grade budget with the same time profile. -/ |
| 105 | theorem grade_bounds : |
| 106 | ((vectorField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) |
| 107 | (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) ∧ |
| 108 | ((vectorDerivativeField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) |
| 109 | (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) ∧ |
| 110 | ((correctorField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) |
| 111 | (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) ∧ |
| 112 | ((correctorDerivativeField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) |
| 113 | (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) ∧ |
| 114 | ((scalarGradientField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) |
| 115 | (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := by |
| 116 | have hf : (G.forcingField.normalized D.T_pos.le L.fullProfile L.fullProfile_pos).WordBound |
| 117 | 6 L.R c (highForceShift p) := by |
| 118 | have hh := hforce.unscale_profile D.T_pos.le L.fullProfile L.fullProfile_pos c hc |
| 119 | have hh' : (F.normalized D.T_pos.le L.fullProfile L.fullProfile_pos).WordBound |
| 120 | 6 L.R c (highForceShift p) := by simpa only [mul_one] using hh |
| 121 | exact hh'.transfer _ |
| 122 | have hv : ((vectorField τ hτ hτT B G).normalized D.T_pos.le L.fullProfile |
| 123 | L.fullProfile_pos).WordBound 6 L.R (L.commonCost*c) (highForceShift p+3) := |
| 124 | L.velocity_common_bound G c hc.le (highForceShift p) hf |
| 125 | have ht : ((vectorDerivativeField τ hτ hτT B G).normalized D.T_pos.le L.fullProfile |
| 126 | L.fullProfile_pos).WordBound 6 L.R (L.commonCost*c) (highForceShift p+3) := |
| 127 | L.derivative_common_bound G c hc.le (highForceShift p) hf |
| 128 | have hC : ((correctorField τ hτ hτT B G).normalized D.T_pos.le L.fullProfile |
| 129 | L.fullProfile_pos).WordBound 6 L.R (L.correctorAmplitude (P := P) N*c) (highForceShift p+4) := |
| 130 | L.corrector_bound N G c hc.le (highForceShift p) hf |
| 131 | have hCt : ((correctorDerivativeField τ hτ hτT B G).normalized D.T_pos.le L.fullProfile |
| 132 | L.fullProfile_pos).WordBound 6 L.R (L.correctorTimeAmplitude (P := P) N*c) (highForceShift p+4) := |
| 133 | L.corrector_time_bound N G c hc.le (highForceShift p) hf |
| 134 | have hπ : ((scalarGradientField τ hτ hτT B G).normalized D.T_pos.le L.fullProfile |
| 135 | L.fullProfile_pos).WordBound 6 L.R ((3*L.pressureAmplitude (P := P) N)*c) (highForceShift p+4) := |
| 136 | L.pressure_gradient_bound N G c hc.le (highForceShift p) hf |
| 137 | have hroom := grade_shift_room p hp |
| 138 | refine ⟨?_,?_,?_,?_,?_⟩ |
| 139 | · exact (hv.scale_profile D.T_pos.le L.fullProfile L.fullProfile_pos c hc).absorb_amplitude_to |
| 140 | L.radius_bounds.1 L.commonCost_nonneg W.common hroom.1 |
| 141 | · exact (ht.scale_profile D.T_pos.le L.fullProfile L.fullProfile_pos c hc).absorb_amplitude_to |
| 142 | L.radius_bounds.1 L.commonCost_nonneg W.common hroom.1 |
| 143 | · exact (hC.scale_profile D.T_pos.le L.fullProfile L.fullProfile_pos c hc).absorb_amplitude_to |
| 144 | L.radius_bounds.1 (L.correctorAmplitude_nonneg N) W.corrector hroom.2 |
| 145 | · exact (hCt.scale_profile D.T_pos.le L.fullProfile L.fullProfile_pos c hc).absorb_amplitude_to |
| 146 | L.radius_bounds.1 (L.correctorTimeAmplitude_nonneg N) W.correctorTime hroom.2 |
| 147 | · exact (hπ.scale_profile D.T_pos.le L.fullProfile L.fullProfile_pos c hc).absorb_amplitude_to |
| 148 | L.radius_bounds.1 (mul_nonneg (by norm_num) (L.pressureAmplitude_nonneg N)) W.pressureGradient hroom.2 |
| 149 | |
| 150 | theorem vector_grade_bound : |
| 151 | ((vectorField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) |
| 152 | (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := |
| 153 | (L.grade_bounds N W G F c hc p hp hforce).1 |
| 154 | |
| 155 | theorem derivative_grade_bound : |
| 156 | ((vectorDerivativeField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) |
| 157 | (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := |
| 158 | (L.grade_bounds N W G F c hc p hp hforce).2.1 |
| 159 | |
| 160 | theorem corrector_grade_bound : |
| 161 | ((correctorField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) |
| 162 | (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := |
| 163 | (L.grade_bounds N W G F c hc p hp hforce).2.2.1 |
| 164 | |
| 165 | theorem corrector_derivative_grade_bound : |
| 166 | ((correctorDerivativeField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) |
| 167 | (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := |
| 168 | (L.grade_bounds N W G F c hc p hp hforce).2.2.2.1 |
| 169 | |
| 170 | theorem pressure_gradient_grade_bound : |
| 171 | ((scalarGradientField τ hτ hτT B G).normalized D.T_pos.le (c • L.fullProfile) |
| 172 | (smul_profile_pos L.fullProfile L.fullProfile_pos c hc)).WordBound 6 L.R 1 (highShift p) := |
| 173 | (L.grade_bounds N W G F c hc p hp hforce).2.2.2.2 |
| 174 | |
| 175 | end EulerTransversePacketJoin.Budget |