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.PacketForwardRadiusPolynomial |
| 2 | import Euler.PacketInitializedParameterBounds |
| 3 | import Euler.PacketForwardInitializedAllOrderBudget |
| 4 | import Euler.PacketInitializedUniformBounds |
| 5 | import Euler.PacketProfileEnvelope |
| 6 | |
| 7 | /-! The actual zero-history correction from the same fixed polynomial |
| 8 | frequency comparison, together with its uniform weighted output bounds. -/ |
| 9 | |
| 10 | /-! ## From `Euler/PacketForwardCanonicalRadius.lean` |
| 11 | |
| 12 | The text of `Euler/PacketForwardCanonicalRadius.lean`, folded into this file, which was its only importer. -/ |
| 13 | |
| 14 | section |
| 15 | |
| 16 | /-! Named direct-forward budgets at the literal canonical source radius. -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | namespace EulerPacketTerminalDatum |
| 21 | |
| 22 | open EulerPacketCylinderField EulerPacketProfileRecursion EulerParameterWordGevrey |
| 23 | EulerPacketForwardCommonRadius |
| 24 | |
| 25 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 26 | {D : EulerTransversePacketProvider.Data U} |
| 27 | {M : EulerMeanPacketProvider.Data} {Rm Tc : ℝ} {O : Operators} |
| 28 | {C : CoefficientData period Tc O} |
| 29 | (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 30 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 31 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 32 | (BC : CoefficientBudget C) (δ : ℝ) (ξ : U) |
| 33 | |
| 34 | abbrev forwardInitializedRadius : ℝ := EulerPacketForwardRadius.canonicalRadius L LM NB BC δ ξ |
| 35 | |
| 36 | theorem forward_le_initializedRadius : L.R ≤ forwardInitializedRadius LM L NB BC δ ξ := |
| 37 | (commonRadius_bounds LM L NB BC (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ)).2.1 |
| 38 | |
| 39 | theorem mean_le_forwardInitializedRadius : Rm ≤ forwardInitializedRadius LM L NB BC δ ξ := |
| 40 | (commonRadius_bounds LM L NB BC (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ)).1 |
| 41 | |
| 42 | def forwardInitializedLinearBudget : EulerTransversePacketForward.Budget D (Fin 4) 6 := |
| 43 | L.enlargeRadius (forwardInitializedRadius LM L NB BC δ ξ) |
| 44 | (forward_le_initializedRadius LM L NB BC δ ξ) |
| 45 | |
| 46 | def forwardInitializedNormalBudget : EulerTransversePacketJoin.NormalBudget D 6 |
| 47 | (forwardInitializedRadius LM L NB BC δ ξ) := |
| 48 | NB.enlargeRadius (forwardInitializedRadius LM L NB BC δ ξ) |
| 49 | (forward_le_initializedRadius LM L NB BC δ ξ) |
| 50 | |
| 51 | def forwardInitializedMeanBudget : EulerMeanPacketProvider.Budget M 6 |
| 52 | (forwardInitializedRadius LM L NB BC δ ξ) := |
| 53 | LM.enlargeRadius (forwardInitializedRadius LM L NB BC δ ξ) |
| 54 | (mean_le_forwardInitializedRadius LM L NB BC δ ξ) |
| 55 | |
| 56 | theorem forwardInitializedRadius_guards : |
| 57 | EulerTransversePacketForward.Budget.GradeGuards (P := period) |
| 58 | (forwardInitializedLinearBudget LM L NB BC δ ξ) (forwardInitializedNormalBudget LM L NB BC δ ξ) 1 ∧ |
| 59 | EulerMeanPacketProvider.Budget.GradeGuards (forwardInitializedMeanBudget LM L NB BC δ ξ) ∧ |
| 60 | EulerTransversePacketForward.Budget.GradeGuards (P := period) |
| 61 | (forwardInitializedLinearBudget LM L NB BC δ ξ) (forwardInitializedNormalBudget LM L NB BC δ ξ) |
| 62 | (wordCost (Fin 4) 6 δ*‖ξ‖) ∧ |
| 63 | wordRadius (Fin 4) δ ≤ forwardInitializedRadius LM L NB BC δ ξ ∧ |
| 64 | BC.termCost ≤ forwardInitializedRadius LM L NB BC δ ξ ∧ |
| 65 | sobolevCoefficientRadius (Fin 4) BC.Rc ≤ forwardInitializedRadius LM L NB BC δ ξ := by |
| 66 | obtain ⟨_,_,hm,hf,hp,hc,hr,ht⟩ := commonRadius_guards LM L NB BC |
| 67 | (wordCost (Fin 4) 6 δ*‖ξ‖) (wordRadius (Fin 4) δ) |
| 68 | (mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ)) |
| 69 | (forwardInitializedRadius LM L NB BC δ ξ) le_rfl |
| 70 | exact ⟨hf,hm,hp,ht,hc,hr⟩ |
| 71 | |
| 72 | end EulerPacketTerminalDatum |
| 73 | end |
| 74 | |
| 75 | end |
| 76 | |
| 77 | /-! ## From `Euler/PacketForwardUniformCosts.lean` |
| 78 | |
| 79 | The text of `Euler/PacketForwardUniformCosts.lean`, folded into this file, which was its only importer. -/ |
| 80 | |
| 81 | section |
| 82 | |
| 83 | /-! The direct-forward branch uses the identical fixed polynomial cost |
| 84 | envelope as the positive-history branch. -/ |
| 85 | |
| 86 | noncomputable section |
| 87 | |
| 88 | namespace EulerPacketInitializedCost |
| 89 | |
| 90 | open EulerPacketTerminalDatum EulerPacketProfileRecursion EulerPacketCylinderField |
| 91 | EulerPacketCorrectionCoefficients EulerPacketCorrectionConstants EulerPacketCorrectionScalar |
| 92 | EulerPacketCoarseMajorant EulerPolynomialCost EulerPacketCorrectionPrimitive |
| 93 | |
| 94 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 95 | {D : EulerTransversePacketProvider.Data U} |
| 96 | {M : EulerMeanPacketProvider.Data} {Rm Tc : ℝ} {O : Operators} |
| 97 | {C : CoefficientData period Tc O} |
| 98 | (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 99 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 100 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 101 | (BC : CoefficientBudget C) (δ : ℝ) (ξ : U) |
| 102 | |
| 103 | theorem forward_actual_parameters (W H0 : ℝ) (hδ : 0 < δ) |
| 104 | (H : EulerPacketForwardRadius.RadiusPrimitives L LM NB BC δ ξ W) (hH0 : H0 ≤ W) : |
| 105 | 1 ≤ envelope W ∧ forwardInitializedRadius LM L NB BC δ ξ ≤ envelope W ∧ |
| 106 | H0 ≤ envelope W ∧ BC.multiplierCost ≤ envelope W ∧ |
| 107 | CorrectionBounds D period (L.correctionCoefficients NB period) (envelope W) := by |
| 108 | obtain ⟨h1,hW,hR,hP⟩ := envelope_bounds W (zero_le_one.trans H.one) |
| 109 | have hr := (EulerPacketForwardRadius.canonicalRadius_le_envelope L LM NB BC δ ξ W hδ H).trans hR |
| 110 | have hc : BC.multiplierCost ≤ W := by |
| 111 | have ht := BC.twice_multiplierCost_le |
| 112 | have hn := BC.multiplierCost_nonneg |
| 113 | linarith only [ht,hn,H.coefficient_cost] |
| 114 | exact ⟨h1,hr,hH0.trans hW,hc.trans hW, |
| 115 | (L.correctionCoefficients_primitive_bound NB period W H.one H.forward_radius H.normal_radius |
| 116 | H.forward_frame H.forward_first H.normal_amplitude).mono D period hP⟩ |
| 117 | |
| 118 | theorem forward_five_costs_bound (W H0 : ℝ) (hδ : 0 < δ) |
| 119 | (H : EulerPacketForwardRadius.RadiusPrimitives L LM NB BC δ ξ W) |
| 120 | (hH0 : 0 ≤ H0) (hHW : H0 ≤ W) : |
| 121 | let R := forwardInitializedRadius LM L NB BC δ ξ |
| 122 | let Kc := L.correctionCoefficients NB period |
| 123 | tailPolynomialConstant R H0 BC.termCost ≤ uniformConstant*W^uniformPower ∧ |
| 124 | BC.multiplierCost ≤ uniformConstant*W^uniformPower ∧ |
| 125 | 12*growth D period Kc R H0 BC.multiplierCost*D.T ≤ uniformConstant*W^uniformPower ∧ |
| 126 | 8*growth D period Kc R H0 BC.multiplierCost*D.T*drift R H0 BC.multiplierCost/ |
| 127 | initialRadius R Kc.M Kc.Rc ≤ uniformConstant*W^uniformPower ∧ |
| 128 | 8*growth D period Kc R H0 BC.multiplierCost*D.T/ |
| 129 | initialRadius R Kc.M Kc.Rc ≤ uniformConstant*W^uniformPower := by |
| 130 | obtain ⟨he,hr,hh,hc,hK⟩ := forward_actual_parameters LM L NB BC δ ξ W H0 hδ H hHW |
| 131 | have hR0 := zero_le_one.trans (forwardInitializedLinearBudget LM L NB BC δ ξ).radius_one |
| 132 | have hEW := (envelope_bounds W (zero_le_one.trans H.one)).2.1 |
| 133 | obtain ⟨h₁,h₂,h₃,h₄,h₅⟩ := EulerPacketFiveCost.five_costs_bound period D |
| 134 | (L.correctionCoefficients NB period) (forwardInitializedRadius LM L NB BC δ ξ) |
| 135 | H0 BC.multiplierCost BC.termCost (envelope W) he hR0 hH0 BC.multiplierCost_nonneg hr hh hc |
| 136 | (H.coefficient_cost.trans hEW) hK.inverse hK.metric hK.first hK.time hK.base hK.pressure |
| 137 | hK.linear hK.quadratic hK.radius (H.total_time.trans (H.one.trans hEW)) |
| 138 | have h := envelope_bound W H.one |
| 139 | exact ⟨h₁.trans h,h₂.trans h,h₃.trans h,h₄.trans h,h₅.trans h⟩ |
| 140 | |
| 141 | end EulerPacketInitializedCost |
| 142 | end |
| 143 | |
| 144 | end |
| 145 | |
| 146 | noncomputable section |
| 147 | |
| 148 | namespace EulerPacketTerminalDatum |
| 149 | |
| 150 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 151 | EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketTimeProfile |
| 152 | EulerPacketCorrectionConstants EulerPacketCorrectionScalar EulerPacketSourceFrequency |
| 153 | EulerPacketCorrectionCoefficients |
| 154 | open scoped ContDiff |
| 155 | |
| 156 | variable (M : EulerMeanPacketProvider.Data) |
| 157 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 158 | (D : Data U) (hTime : M.T=D.T) |
| 159 | (δ : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (ξ : U) |
| 160 | (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) (hα : 0 < α) |
| 161 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 162 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 163 | {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 164 | (Cagree : SourceCoefficientAgreement M D) |
| 165 | (W : ℝ) |
| 166 | (hW : EulerPacketForwardRadius.RadiusPrimitives L LM NB |
| 167 | (forwardCoefficientBudget period M D hTime NB) δ ξ W) |
| 168 | (hprofile : ∀ t, α*L.g t ≤ W) |
| 169 | (k : ℝ) (hk : 4 ≤ k) (hX : 64 ≤ expansion k) (hlog : 1 ≤ Real.log k) |
| 170 | (hfrequency : EulerPacketInitializedCost.uniformConstant*W^EulerPacketInitializedCost.uniformPower ≤ |
| 171 | smallPower k) |
| 172 | (Ξ : Icc (0 : ℝ) D.T → Space → Space) (hΞ : ∀ t, ContDiff ℝ ∞ (Ξ t)) |
| 173 | (hF : ∀ t x, fderiv ℝ (Ξ t) x=D.F.field t x) |
| 174 | (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) |
| 175 | |
| 176 | def forwardUniformBudget : EulerAllOrderDriftCorrection.Budget period D.T_pos |
| 177 | (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree |
| 178 | (truncation k) (truncation_bounds k (by linarith)).1 k hk) := by |
| 179 | let BC := forwardCoefficientBudget period M D hTime NB |
| 180 | let L' := forwardInitializedLinearBudget LM L NB BC δ ξ |
| 181 | let NB' := forwardInitializedNormalBudget LM L NB BC δ ξ |
| 182 | let LM' := forwardInitializedMeanBudget LM L NB BC δ ξ |
| 183 | have guards := forwardInitializedRadius_guards LM L NB BC δ ξ |
| 184 | let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα |
| 185 | have hH0 : S.H0 ≤ W := Scales.ofTimeProfile_H0_le L.g L.positive |
| 186 | hTime.symm α hα W hW.one hprofile |
| 187 | have hprofile' : timeProfileChange S.growth hTime=α • L'.g := by |
| 188 | change timeProfileChange S.growth hTime=α • L.g |
| 189 | exact Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα |
| 190 | let Kc := L.correctionCoefficients NB period |
| 191 | have costs := EulerPacketInitializedCost.forward_five_costs_bound |
| 192 | LM L NB BC δ ξ W S.H0 hδ hW S.H0_pos.le hH0 |
| 193 | exact forwardInitializedAllOrderBudget M D hTime δ hδ ξ hs α Cagree |
| 194 | L' NB' guards.1 LM' guards.2.1 BC guards.2.2.2.2.2 guards.2.2.2.2.1 |
| 195 | hδ1 hα guards.2.2.2.1 guards.2.2.1 S hprofile' Kc k hk hX hlog |
| 196 | (costs.1.trans hfrequency) (costs.2.1.trans hfrequency) (costs.2.2.1.trans hfrequency) |
| 197 | (costs.2.2.2.1.trans hfrequency) (costs.2.2.2.2.trans hfrequency) Ξ hΞ hF hdet |
| 198 | |
| 199 | |
| 200 | open EulerPacketCorrectionOutput EulerSobolevGevreyOperators EulerAllOrderDriftCorrection |
| 201 | |
| 202 | local notation "Q" => forwardUniformBudget M D hTime δ hδ hδ1 ξ hs α hα |
| 203 | L NB LM Cagree W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet |
| 204 | |
| 205 | theorem forwardUniformBudget_weighted (s N : ℕ) (hN : N+6 ≤ s) (t : Icc (0 : ℝ) D.T) : |
| 206 | weightedNorm period 6 N ((Q).initialRadius/4) (((Q).fieldTower period).realization s t) ≤ |
| 207 | EulerPacketInitializedCost.weightSize W*delta (expansion k) ∧ |
| 208 | weightedNorm period 6 N ((Q).initialRadius/4) (((Q).pressureTower period).realization s t) ≤ |
| 209 | EulerPacketInitializedCost.weightSize W*delta (expansion k) ∧ |
| 210 | weightedNorm period 6 N ((Q).initialRadius/4) (((Q).timeDerivativeTower period).realization s t) ≤ |
| 211 | EulerPacketInitializedCost.weightSize W*delta (expansion k) := by |
| 212 | let BC := forwardCoefficientBudget period M D hTime NB |
| 213 | let R := forwardInitializedRadius LM L NB BC δ ξ |
| 214 | let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα |
| 215 | let Kc := L.correctionCoefficients NB period |
| 216 | have hH0 : S.H0 ≤ W := Scales.ofTimeProfile_H0_le L.g L.positive |
| 217 | hTime.symm α hα W hW.one hprofile |
| 218 | obtain ⟨_,hR,hH,hC,hK⟩ := EulerPacketInitializedCost.forward_actual_parameters LM L NB BC δ ξ |
| 219 | W S.H0 hδ hW hH0 |
| 220 | have hR0 : 0 ≤ R := zero_le_one.trans |
| 221 | (forwardInitializedLinearBudget LM L NB BC δ ξ).radius_one |
| 222 | obtain ⟨_,_,_,he,hp,ht⟩ := correction_output_bound period D Kc R S.H0 BC.multiplierCost |
| 223 | (EulerPacketInitializedCost.envelope W) hR0 S.H0_pos.le BC.multiplierCost_nonneg |
| 224 | hR hH hC hK.inverse hK.base hK.pressure hK.linear hK.quadratic hK.radius |
| 225 | have hsize : (Q).correctionSize period=correctionBase D*delta (expansion k) := by |
| 226 | change EulerGevreyMetricEstimate.metricAmplification D.inverseBound⁻¹*(delta (expansion k)/2)=_ |
| 227 | unfold correctionBase |
| 228 | ring |
| 229 | have hpressure : (Q).pressureCost period (N+6) (by omega)= |
| 230 | correctionPressureCost D period Kc R S.H0 BC.multiplierCost := by rfl |
| 231 | have htime : (Q).timeDerivativeCost period (N+6) (by omega)= |
| 232 | correctionTimeCost D period Kc R S.H0 BC.multiplierCost := by rfl |
| 233 | have hqe := (Q).fieldTower_reducedNorm period s N hN t |
| 234 | have hqp := (Q).pressureTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t |
| 235 | have hqt := (Q).timeDerivativeTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t |
| 236 | rw [hsize] at hqe |
| 237 | rw [hpressure] at hqp |
| 238 | rw [htime] at hqt |
| 239 | exact ⟨hqe.trans (mul_le_mul_of_nonneg_right he (delta_pos _).le), |
| 240 | hqp.trans (mul_le_mul_of_nonneg_right hp (delta_pos _).le), |
| 241 | hqt.trans (mul_le_mul_of_nonneg_right ht (delta_pos _).le)⟩ |
| 242 | |
| 243 | |
| 244 | end EulerPacketTerminalDatum |