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.PacketInitializedCorrectionData |
| 2 | import Euler.PacketFieldDrift |
| 3 | import Euler.PacketCorrectionGrowth |
| 4 | import Euler.AllOrderDriftBudget |
| 5 | |
| 6 | /-! Actual finite-order correction budgets for the initialized packet. |
| 7 | All coefficient and field bounds are supplied by the checked constructions. -/ |
| 8 | |
| 9 | /-! ## From `Euler/PacketInitializedCorrectionNorms.lean` |
| 10 | |
| 11 | The text of `Euler/PacketInitializedCorrectionNorms.lean`, folded into this file, which was its only importer. -/ |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! Cutoff-independent background, derivative, drift and residual budgets |
| 16 | for the actual initialized correction data. -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | namespace EulerPacketTerminalDatum |
| 21 | |
| 22 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 23 | EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketTimeProfile |
| 24 | EulerParameterWordGevrey EulerPacketCoarseMajorant EulerPacketCorrectionConstants |
| 25 | EulerCylinderSobolevSpace EulerSobolevGevreyOperators EulerSobolevDriftNorm |
| 26 | EulerFunctionalVelocity EulerSobolevTransport |
| 27 | |
| 28 | variable (M : EulerMeanPacketProvider.Data) |
| 29 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 30 | (D : Data U) (hTime : M.T=D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 31 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 32 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 33 | (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 34 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 35 | (H : EulerTransversePacketPrimary.Budget L) |
| 36 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 37 | (W : EulerTransversePacketJoin.Budget.GradeGuards (P := period) L NB) |
| 38 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 39 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 40 | (BC : CoefficientBudget (joinedSourceCoefficientData period M D τ hτ hτT B hTime)) |
| 41 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 42 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 43 | (WP : EulerTransversePacketPrimary.Budget.GradeGuards (P := period) H NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 44 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 45 | (hgrowth : timeProfileChange S.growth hTime=α • L.fullProfile) |
| 46 | (Cagree : SourceCoefficientAgreement M D) |
| 47 | (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 48 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 49 | |
| 50 | include H NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth hbase |
| 51 | |
| 52 | theorem initializedCorrection_background (s Q : ℕ) (hQ : Q+6 ≤ s) |
| 53 | (ρ : ℝ) (hρ : 0 < ρ) (hsmall : ρ*(4*L.R) ≤ 1/2) (t : Icc (0 : ℝ) D.T) : |
| 54 | weightedNorm period 6 Q ρ |
| 55 | ((initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk).approximation.realization s t) |
| 56 | ≤ 2*velocity L.R S.H0 BC.multiplierCost := by |
| 57 | have hz := initializedNormalizedField_bound M D hTime τ hτ hτT B δ hδ ξ hs α |
| 58 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase |
| 59 | exact hz.toFieldTower_weightedNorm_le_two (by have := L.radius_bounds.1; linarith) |
| 60 | (velocity_nonneg L.R S.H0 BC.multiplierCost (zero_le_one.trans L.radius_bounds.1) |
| 61 | BC.multiplierCost_nonneg) s Q hQ ρ hρ hsmall t |
| 62 | |
| 63 | theorem initializedCorrection_background_derivative (s Q : ℕ) (hQ : Q+6 ≤ s) |
| 64 | (ρ : ℝ) (hρ : 0 < ρ) (hsmall : ρ*(4*L.R) ≤ 1/2) (t : Icc (0 : ℝ) D.T) : |
| 65 | (∑ i : Fin 4, weightedNorm period 6 Q ρ (derivativeOperator period s i |
| 66 | ((initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk).approximation.realization (s+1) t))) |
| 67 | ≤ 12*velocity L.R S.H0 BC.multiplierCost*(4*L.R) := by |
| 68 | have hz := initializedNormalizedField_bound M D hTime τ hτ hτT B δ hδ ξ hs α |
| 69 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase |
| 70 | exact hz.toFieldTower_weightedDerivativeNorm_le_twelve (by have := L.radius_bounds.1; linarith) |
| 71 | (velocity_nonneg L.R S.H0 BC.multiplierCost (zero_le_one.trans L.radius_bounds.1) |
| 72 | BC.multiplierCost_nonneg) s Q hQ ρ hρ hsmall t |
| 73 | |
| 74 | theorem initializedCorrection_drift (s Q : ℕ) (hQ : Q+6 ≤ s) |
| 75 | (ρ : ℝ) (hρ : 0 < ρ) (hsmall : ρ*(4*L.R) ≤ 1/2) (t : Icc (0 : ℝ) D.T) : |
| 76 | weightedDriftNorm period 6 Q ρ (velocityMap (velocityComponents k⁻¹ D.m₀)) |
| 77 | ((initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk).approximation.realization s t) |
| 78 | ≤ drift L.R S.H0 BC.multiplierCost/k := by |
| 79 | have hz := initializedNormalizedField_bound M D hTime τ hτ hτT B δ hδ ξ hs α |
| 80 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase |
| 81 | have hn := initializedNormalizedField_normal_bound M D hTime τ hτ hτT B δ hδ ξ hs α |
| 82 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase |
| 83 | have hR0 := zero_le_one.trans L.radius_bounds.1 |
| 84 | have hk0 : 0 < k := by linarith |
| 85 | have hd := hz.toFieldTower_weightedDrift_le_two k⁻¹ D.m₀ hn (by linarith) |
| 86 | (velocity_nonneg L.R S.H0 BC.multiplierCost hR0 BC.multiplierCost_nonneg) |
| 87 | (div_nonneg (normal_nonneg L.R S.H0 BC.multiplierCost hR0 BC.multiplierCost_nonneg) hk0.le) |
| 88 | s Q hQ ρ hρ hsmall t |
| 89 | exact hd.trans_eq (drift_div_frequency L.R S.H0 BC.multiplierCost k hk0) |
| 90 | |
| 91 | theorem initializedCorrection_residual (X : ℝ) |
| 92 | (hcoef : BC.multiplierCost ≤ k^(1/100 : ℝ)) (hX : 6 ≤ X) (hNX : X-1 ≤ (N : ℝ)) |
| 93 | (s Q : ℕ) (hQ : Q+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) |
| 94 | (hsmall : ρ*(4*L.R) ≤ 1/2) (t : Icc (0 : ℝ) D.T) : |
| 95 | weightedNorm period 6 Q ρ |
| 96 | ((initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk).residual.realization s t) |
| 97 | ≤ 2*Real.exp (-(7/10)*X*Real.log k) := by |
| 98 | have hr := initializedNormalizedResidualField_bound M D hTime τ hτ hτT B δ hδ ξ hs α |
| 99 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth Cagree N hN k X hk hbase hcoef hX hNX |
| 100 | exact hr.toFieldTower_weightedNorm_le_two (by have := L.radius_bounds.1; linarith) |
| 101 | (Real.exp_pos _).le s Q hQ ρ hρ hsmall t |
| 102 | |
| 103 | end EulerPacketTerminalDatum |
| 104 | end |
| 105 | |
| 106 | end |
| 107 | |
| 108 | noncomputable section |
| 109 | |
| 110 | namespace EulerPacketTerminalDatum |
| 111 | |
| 112 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 113 | EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketTimeProfile |
| 114 | EulerParameterWordGevrey EulerPacketCoarseMajorant EulerPacketCorrectionConstants |
| 115 | EulerPacketCorrectionCoefficients EulerCorrectionEnergyData EulerCorrectionEnergyMajorants |
| 116 | |
| 117 | variable (M : EulerMeanPacketProvider.Data) |
| 118 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 119 | (D : Data U) (hTime : M.T=D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 120 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 121 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 122 | (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 123 | (Cagree : SourceCoefficientAgreement M D) |
| 124 | (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 125 | |
| 126 | def initializedMetricBudget (q : ℕ) : |
| 127 | MetricBudget period D.T D.T_pos.le |
| 128 | ((initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk).atOrder period (q+1)) := |
| 129 | sourceMetricBudgetOfFields D period k⁻¹ |
| 130 | (by rw [abs_of_pos (inv_pos.mpr (by linarith : 0 < k))] |
| 131 | exact inv_le_one_of_one_le₀ (by linarith)) |
| 132 | (initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α N k) |
| 133 | (initializedNormalizedResidualField M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk) q |
| 134 | |
| 135 | variable |
| 136 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 137 | (H : EulerTransversePacketPrimary.Budget L) |
| 138 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 139 | (W : EulerTransversePacketJoin.Budget.GradeGuards (P := period) L NB) |
| 140 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 141 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 142 | (BC : CoefficientBudget (joinedSourceCoefficientData period M D τ hτ hτT B hTime)) |
| 143 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 144 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 145 | (WP : EulerTransversePacketPrimary.Budget.GradeGuards (P := period) H NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 146 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 147 | (hgrowth : timeProfileChange S.growth hTime=α • L.fullProfile) |
| 148 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 149 | (X : ℝ) (hcoef : BC.multiplierCost ≤ k^(1/100 : ℝ)) (hX : 6 ≤ X) (hNX : X-1 ≤ (N : ℝ)) |
| 150 | (Kc : CorrectionCoefficientBudget D period) |
| 151 | (ρ : C(Icc (0 : ℝ) D.T,ℝ)) (hρ : ∀ t, 0 < ρ t) |
| 152 | (hpacket : ∀ t, ρ t*(4*L.R) ≤ 1/2) |
| 153 | (hpressure : ∀ t, 4*Kc.M*(ρ t*Kc.Rc) ≤ 1) |
| 154 | |
| 155 | /-- All four field estimates and all coefficient estimates are actual |
| 156 | properties of the initialized source data at this finite Sobolev order. -/ |
| 157 | def initializedSpatialBudget (q : ℕ) (hq : 6 ≤ q) : |
| 158 | SpatialBudget period (by omega : 6 ≤ (q+1)+1) |
| 159 | ((initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk).atOrder period ((q+1)+1)) |
| 160 | (q-4) ρ where |
| 161 | Rc := Kc.Rc |
| 162 | M := Kc.M |
| 163 | B := Kc.B |
| 164 | B0 := 2*velocity L.R S.H0 BC.multiplierCost |
| 165 | B1 := 12*velocity L.R S.H0 BC.multiplierCost*(4*L.R) |
| 166 | A0 := Kc.A0 |
| 167 | A2 := Kc.A2 |
| 168 | residual := 2*Real.exp (-(7/10)*X*Real.log k) |
| 169 | Rc_nonneg := Kc.Rc_nonneg |
| 170 | M_one_le := Kc.M_one_le |
| 171 | B_nonneg := Kc.B_nonneg |
| 172 | B0_nonneg := mul_nonneg (by norm_num) |
| 173 | (velocity_nonneg L.R S.H0 BC.multiplierCost (zero_le_one.trans L.radius_bounds.1) BC.multiplierCost_nonneg) |
| 174 | B1_nonneg := mul_nonneg (mul_nonneg (by norm_num) |
| 175 | (velocity_nonneg L.R S.H0 BC.multiplierCost (zero_le_one.trans L.radius_bounds.1) BC.multiplierCost_nonneg)) |
| 176 | (mul_nonneg (by norm_num) (zero_le_one.trans L.radius_bounds.1)) |
| 177 | A0_nonneg := Kc.A0_nonneg |
| 178 | A2_nonneg := Kc.A2_nonneg |
| 179 | residual_pos := mul_pos (by norm_num) (Real.exp_pos _) |
| 180 | radius_pos := hρ |
| 181 | inverse_five t := Kc.inverse_five ((q+1)+1) (by omega) t |
| 182 | inverse_six t := Kc.inverse_six ((q+1)+1) (by omega) t |
| 183 | radius_small := hpressure |
| 184 | metric_derivatives t l hl _ := Kc.metric_derivatives ((q+1)+1) t l hl |
| 185 | metric_base t r hr := Kc.metric_base ((q+1)+1) t r hr |
| 186 | background t := initializedCorrection_background M D hTime τ hτ hτT B δ hδ ξ hs α |
| 187 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth Cagree N hN k hk hbase |
| 188 | (((q+1)+1)+1) (q-4) (by omega) (ρ t) (hρ t) (hpacket t) t |
| 189 | background_derivative t := initializedCorrection_background_derivative M D hTime τ hτ hτT B δ hδ ξ hs α |
| 190 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth Cagree N hN k hk hbase |
| 191 | ((q+1)+1) (q-4) (by omega) (ρ t) (hρ t) (hpacket t) t |
| 192 | linear t := Kc.linear ((q+1)+1) (q-4) (ρ t) (hρ t) (hpressure t) t |
| 193 | quadratic t := Kc.quadratic k⁻¹ |
| 194 | (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk).scale_bound |
| 195 | ((q+1)+1) (q-4) (ρ t) (hρ t) (hpressure t) t |
| 196 | residual_bound t := initializedCorrection_residual M D hTime τ hτ hτT B δ hδ ξ hs α |
| 197 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth Cagree N hN k hk hbase |
| 198 | X hcoef hX hNX ((q+1)+1) (q-4) (by omega) (ρ t) (hρ t) (hpacket t) t |
| 199 | |
| 200 | /-- The small drift envelope is kept separate from the full background. -/ |
| 201 | def initializedDriftBudget (q : ℕ) (hq : 6 ≤ q) : |
| 202 | EulerDriftCorrectionBudget.Budget period (by omega : 6 ≤ (q+1)+1) |
| 203 | ((initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk).atOrder period ((q+1)+1)) |
| 204 | (q-4) ρ where |
| 205 | full := initializedSpatialBudget M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk |
| 206 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth hbase X hcoef hX hNX Kc ρ hρ hpacket hpressure q hq |
| 207 | drift := drift L.R S.H0 BC.multiplierCost/k |
| 208 | drift_nonneg := div_nonneg |
| 209 | (drift_nonneg L.R S.H0 BC.multiplierCost (zero_le_one.trans L.radius_bounds.1) BC.multiplierCost_nonneg) |
| 210 | (by linarith) |
| 211 | drift_bound t := initializedCorrection_drift M D hTime τ hτ hτT B δ hδ ξ hs α |
| 212 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth Cagree N hN k hk hbase |
| 213 | (((q+1)+1)+1) (q-4) (by omega) (ρ t) (hρ t) (hpacket t) t |
| 214 | |
| 215 | theorem initializedDriftBudget_growth (q : ℕ) (hq : 6 ≤ q) : |
| 216 | combinedConstant period |
| 217 | (initializedDriftBudget M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk |
| 218 | L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth hbase X hcoef hX hNX Kc ρ hρ hpacket hpressure q hq).full |
| 219 | ((initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk).metricBudget period D.T_pos.le |
| 220 | (initializedMetricBudget M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk 0) (q+1)) = |
| 221 | growthCoefficient D period Kc (2*velocity L.R S.H0 BC.multiplierCost) |
| 222 | (12*velocity L.R S.H0 BC.multiplierCost*(4*L.R)) := rfl |
| 223 | |
| 224 | end EulerPacketTerminalDatum |