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.PacketPressureRemainder |
| 2 | import Euler.PacketForwardRemainder |
| 3 | import Euler.PacketForwardPressureBudgets |
| 4 | import Euler.PacketForwardInitializedPressure |
| 5 | import Euler.PacketPressureFastHessian |
| 6 | import Euler.PacketPressureFastBounds |
| 7 | import Euler.PacketForwardPrimaryShear |
| 8 | |
| 9 | /-! The actual finite pressure Hessian is its primary normal tensor plus |
| 10 | a uniform inverse-frequency error. No derivative or remainder estimate |
| 11 | is assumed for a solved field. -/ |
| 12 | |
| 13 | /-! ## From `Euler/PacketForwardPressureRemainder.lean` |
| 14 | |
| 15 | The text of `Euler/PacketForwardPressureRemainder.lean`, folded into this file, which was its only importer. -/ |
| 16 | |
| 17 | section |
| 18 | |
| 19 | /-! The actual forward finite pressure has its actual leading angular force |
| 20 | and a uniformly small covector remainder. -/ |
| 21 | |
| 22 | noncomputable section |
| 23 | |
| 24 | namespace EulerPacketTerminalDatum |
| 25 | |
| 26 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerSpatialCutoffs |
| 27 | EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion |
| 28 | EulerPacketPointJets EulerPacketTimeProfile EulerParameterWordGevrey |
| 29 | EulerPacketCoarseMajorant EulerPacketPressure EulerPacketGraphHessian |
| 30 | EulerGraphPullback EulerPacketForwardPrimary |
| 31 | open scoped ContDiff |
| 32 | |
| 33 | variable (M : EulerMeanPacketProvider.Data) |
| 34 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 35 | (D : Data U) (hTime : M.T = D.T) |
| 36 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 37 | |
| 38 | theorem forwardInitializedProfiles_one_highPressure : |
| 39 | (forwardInitializedProfiles M D δ hδ ξ hs α 1).highPressure = |
| 40 | scalar D (initialData D δ hδ (α • ξ) hs) := by |
| 41 | simp only [forwardInitializedProfiles,sourceProfiles,profiles_one] |
| 42 | rfl |
| 43 | |
| 44 | theorem forwardInitializedProfiles_one_meanPressure : |
| 45 | (forwardInitializedProfiles M D δ hδ ξ hs α 1).meanPressure = 0 := by |
| 46 | simp only [forwardInitializedProfiles,sourceProfiles,profiles_one] |
| 47 | rfl |
| 48 | |
| 49 | def forwardInitializedAngularPressure : ScalarField := fun z => |
| 50 | (pressureJet (scalar D (initialData D δ hδ (α • ξ) hs)) z).2 angleDirection |
| 51 | |
| 52 | def forwardInitializedCovectorRemainder (N : ℕ) (κ : ℝ) : VectorField := |
| 53 | covectorRemainder (N := N) (a := forwardInitializedProfiles M D δ hδ ξ hs α) D.m₀ κ |
| 54 | |
| 55 | include hTime in |
| 56 | theorem forwardInitializedPressure_gradient_decomposition (N : ℕ) (k : ℝ) (hk : k ≠ 0) |
| 57 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| 58 | (hY : HasFDerivAt Y (D.FInv.field t (Y x)) x) : |
| 59 | gradient (fun y => forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹ |
| 60 | (t,(Y y,k*⟪D.m₀,Y y⟫_ℝ))) x = |
| 61 | fastForce (fun z => forwardInitializedAngularPressure D δ hδ ξ hs α (t,z)) |
| 62 | k D.m₀ Y (fun y => D.FInv.field t (Y y)) x + |
| 63 | (D.FInv.field t (Y x)).adjoint |
| 64 | (forwardInitializedCovectorRemainder M D δ hδ ξ hs α N k⁻¹ |
| 65 | (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ))) := by |
| 66 | let tm : Icc (0 : ℝ) M.T := ⟨t.val,by simpa only [hTime] using t.property⟩ |
| 67 | let a := forwardInitializedProfiles M D δ hδ ξ hs α |
| 68 | have hm (i : ℕ) : ContDiff ℝ ∞ (fun z => (a i).meanPressure (t,z)) := |
| 69 | source_meanPressure_smooth period M D hTime (InitialData.zero period D) |
| 70 | (initialData D δ hδ (α • ξ) hs) i t |
| 71 | have hh (i : ℕ) : ContDiff ℝ ∞ (fun z => (a i).highPressure (t,z)) := |
| 72 | source_highPressure_smooth period M D hTime (InitialData.zero period D) |
| 73 | (initialData D δ hδ (α • ξ) hs) i t |
| 74 | have ha (i : ℕ) : (pressureJet (a i).meanPressure (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ))).2 angleDirection=0 := |
| 75 | source_meanPressure_angle period M D hTime (InitialData.zero period D) |
| 76 | (initialData D δ hδ (α • ξ) hs) i t _ _ |
| 77 | have hp : DifferentiableAt ℝ |
| 78 | (fun z => forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹ (t,z)) |
| 79 | (graphMap k D.m₀ (Y x)) := |
| 80 | ((forwardInitializedPressureWitness M D hTime δ hδ ξ hs α N k⁻¹).smooth tm).differentiable |
| 81 | (by simp) _ |
| 82 | rw [gradient_physical_covector k D.m₀ _ t Y _ x hY hp] |
| 83 | have he := covector_finite N k⁻¹ (inv_ne_zero hk) D.m₀ a |
| 84 | (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) |
| 85 | (fun i _ => (hm i).differentiable (by simp) _) (fun i _ => (hh i).differentiable (by simp) _) |
| 86 | (fun i _ => ha i) |
| 87 | rw [inv_inv] at he |
| 88 | change covector k D.m₀ (forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹) |
| 89 | (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) = _ at he |
| 90 | rw [he] |
| 91 | have h1 : (a 1).highPressure=scalar D (initialData D δ hδ (α • ξ) hs) := |
| 92 | forwardInitializedProfiles_one_highPressure M D δ hδ ξ hs α |
| 93 | have hv : fieldSum (N+1) k⁻¹ (covectorGrades N D.m₀ a) (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) = |
| 94 | k⁻¹ • angularPressure D.m₀ (a 1).highPressure (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) + |
| 95 | forwardInitializedCovectorRemainder M D δ hδ ξ hs α N k⁻¹ |
| 96 | (t,(Y x,k*⟪D.m₀,Y x⟫_ℝ)) := by |
| 97 | dsimp only [forwardInitializedCovectorRemainder,covectorRemainder,Pi.sub_apply,Pi.smul_apply] |
| 98 | abel |
| 99 | rw [hv,map_add,map_smul] |
| 100 | simp only [fastForce,transportedNormal,graphMap_apply,angularPressure, |
| 101 | forwardInitializedAngularPressure,map_smul,h1] |
| 102 | |
| 103 | variable |
| 104 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 105 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 106 | (W : EulerTransversePacketForward.Budget.GradeGuards (P := period) L NB 1) |
| 107 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 108 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 109 | (BC : CoefficientBudget (sourceCoefficientData period M D (InitialData.zero period D) hTime)) |
| 110 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 111 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 112 | (WP : EulerTransversePacketForward.Budget.GradeGuards (P := period) L NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 113 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 114 | (hgrowth : timeProfileChange S.growth hTime=α • L.g) |
| 115 | |
| 116 | def forwardInitializedPressureBudget (p : ℕ) := |
| 117 | Classical.choice (forwardInitializedPressureBudget_exists M D hTime δ hδ ξ hs α |
| 118 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth p) |
| 119 | |
| 120 | def forwardInitializedAngularPressureField : |
| 121 | Field period D.T (fun z => forwardInitializedAngularPressure D δ hδ ξ hs α z • D.m₀) := |
| 122 | (((forwardInitializedPressureBudget M D hTime δ hδ ξ hs α |
| 123 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth 1).angular).changeTime hTime).congr |
| 124 | (fun _ _ _ => by rw [forwardInitializedProfiles_one_highPressure]; rfl) |
| 125 | |
| 126 | theorem forwardInitializedAngularPressure_bound : |
| 127 | (forwardInitializedAngularPressureField M D hTime δ hδ ξ hs α |
| 128 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth).WordBound |
| 129 | 6 (4*L.R) (fixedVelocityGradeCost L.R S.H0 1) 0 := by |
| 130 | let K := forwardInitializedPressureBudget M D hTime δ hδ ξ hs α |
| 131 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth 1 |
| 132 | have hb := K.angular_bound.remove_profile M.T_pos.le (S.high 1) (S.high_pos 1) |
| 133 | (S.H0^(2*1)) (pow_nonneg S.H0_pos.le _) (S.high_le_coarse 1 le_rfl) |
| 134 | simp only [mul_one] at hb |
| 135 | have ha : S.H0^2 ≤ 3*S.H0^(2*1) := by |
| 136 | norm_num only [Nat.mul_one] |
| 137 | linarith [sq_nonneg S.H0] |
| 138 | have hc := (hb.mono_amplitude (zero_le_one.trans L.radius_one) ha).fixed_velocity_grade |
| 139 | (n := 1) (zero_le_one.trans L.radius_one) S.H0_pos.le |
| 140 | exact (hc.changeTime hTime).of_raw_eq _ |
| 141 | (fun _ _ _ => by rw [forwardInitializedProfiles_one_highPressure]; rfl) |
| 142 | |
| 143 | def forwardInitializedCovectorRemainderField (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) : |
| 144 | Field period D.T (forwardInitializedCovectorRemainder M D δ hδ ξ hs α N κ) := |
| 145 | (covectorRemainderField M.T_pos D.m₀ |
| 146 | (fun i (_ : i ≤ N) => forwardInitializedProfileWitness M D hTime δ hδ ξ hs α i) |
| 147 | (fun i (_ : i ≤ N) => forwardInitializedPressureBudget M D hTime δ hδ ξ hs α |
| 148 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth i) |
| 149 | (forwardInitializedProfiles_zero M D δ hδ ξ hs α) hN |
| 150 | (forwardInitializedProfiles_one_meanPressure M D δ hδ ξ hs α) κ).changeTime hTime |
| 151 | |
| 152 | include NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 153 | theorem forwardInitializedCovectorRemainder_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 154 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) : |
| 155 | (forwardInitializedCovectorRemainderField M D hTime δ hδ ξ hs α |
| 156 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k⁻¹).WordBound |
| 157 | 6 (4*L.R) ((fixedVelocityGradeCost L.R S.H0 2+2)/k^2) 0 := by |
| 158 | exact (covectorRemainder_bound M.T_pos D.m₀ |
| 159 | (fun i (_ : i ≤ N) => forwardInitializedProfileWitness M D hTime δ hδ ξ hs α i) |
| 160 | (fun i (_ : i ≤ N) => forwardInitializedPressureBudget M D hTime δ hδ ξ hs α |
| 161 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth i) |
| 162 | (fun i _ hi => forwardInitialized_profile_budgets M D hTime δ hδ ξ hs α |
| 163 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth i hi) |
| 164 | L.radius_one (forwardInitializedProfiles_zero M D δ hδ ξ hs α) hN |
| 165 | (forwardInitializedProfiles_one_meanPressure M D δ hδ ξ hs α) BC k hk hbase).changeTime hTime |
| 166 | |
| 167 | end EulerPacketTerminalDatum |
| 168 | end |
| 169 | |
| 170 | end |
| 171 | |
| 172 | noncomputable section |
| 173 | |
| 174 | namespace EulerPacketTerminalDatum |
| 175 | |
| 176 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerSpatialCutoffs |
| 177 | EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion |
| 178 | EulerPacketPointJets EulerPacketTimeProfile EulerParameterWordGevrey |
| 179 | EulerPacketCoarseMajorant EulerPacketPressure EulerPacketGraphHessian |
| 180 | EulerGraphPullback EulerPacketForwardPrimary EulerPeriodicProfile |
| 181 | EulerPacketInverseFlowGevrey EulerPacketPhysicalGevrey EulerGevrey |
| 182 | EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 183 | open scoped ContDiff |
| 184 | |
| 185 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 186 | |
| 187 | def forwardInitializedPressureHessianCost {D : Data U} {q : ℕ} {R₀ : ℝ} |
| 188 | (NB : EulerTransversePacketJoin.NormalBudget D q R₀) (R H0 Rc C : ℝ) : ℝ := |
| 189 | fastHessianCost (P := period) NB (4*R) (fixedVelocityGradeCost R H0 1)+ |
| 190 | 9*C*physicalFixedCost D Rc C (4*R) 1*sobolevEmbeddingConstant period 3* |
| 191 | (fixedVelocityGradeCost R H0 2+2) |
| 192 | |
| 193 | variable (M : EulerMeanPacketProvider.Data) (D : Data U) (hTime : M.T = D.T) |
| 194 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 195 | |
| 196 | theorem forwardInitializedAngularPressure_smooth (t : ℝ) : |
| 197 | ContDiff ℝ ∞ (fun z => forwardInitializedAngularPressure D δ hδ ξ hs α (t,z)) := by |
| 198 | have hq := pressure_smooth D (initialData D δ hδ (α • ξ) hs) t |
| 199 | simp only [forwardInitializedAngularPressure,pressureJet_angle] |
| 200 | change ContDiff ℝ ∞ (angularDerivative (fun y => |
| 201 | scalar D (initialData D δ hδ (α • ξ) hs) (t,y))) |
| 202 | exact angularDerivative_contDiff hq |
| 203 | |
| 204 | theorem forwardInitializedAngularPressure_second (t : Icc (0 : ℝ) D.T) (z : LiftTangent) : |
| 205 | angularDerivative (fun w => forwardInitializedAngularPressure D δ hδ ξ hs α (t,w)) z = |
| 206 | EulerPacketForwardShear.pressureCoefficient D ξ α t z.1 * deriv (profile δ) z.2 := by |
| 207 | have hq := pressure_smooth D (initialData D δ hδ (α • ξ) hs) t |
| 208 | simp only [forwardInitializedAngularPressure,pressureJet_angle] |
| 209 | change angularDerivative (angularDerivative (fun w => |
| 210 | scalar D (initialData D δ hδ (α • ξ) hs) (t,w))) z = _ |
| 211 | rw [angularSecond_eq_deriv hq] |
| 212 | exact EulerPacketForwardShear.scalar_second_deriv D δ hδ ξ hs α t z.1 z.2 |
| 213 | |
| 214 | variable |
| 215 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 216 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 217 | (W : EulerTransversePacketForward.Budget.GradeGuards (P := period) L NB 1) |
| 218 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 219 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 220 | (BC : CoefficientBudget (sourceCoefficientData period M D (InitialData.zero period D) hTime)) |
| 221 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 222 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 223 | (WP : EulerTransversePacketForward.Budget.GradeGuards (P := period) L NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 224 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 225 | (hgrowth : timeProfileChange S.growth hTime=α • L.g) |
| 226 | |
| 227 | include NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth |
| 228 | |
| 229 | theorem forwardInitializedPressure_hessian_bound (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 230 | (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) |
| 231 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 232 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 233 | (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) |
| 234 | (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) |
| 235 | (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 236 | ‖fderiv ℝ (gradient (fun y => forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹ |
| 237 | (t,(Y t y,k*⟪D.m₀,Y t y⟫_ℝ)))) x - |
| 238 | (EulerPacketForwardShear.pressureCoefficient D ξ α t (Y t x) * |
| 239 | deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ)) • |
| 240 | rankOne ℝ (D.normal.field t (Y t x)) (D.normal.field t (Y t x))‖ ≤ |
| 241 | forwardInitializedPressureHessianCost NB L.R S.H0 L.Rc L.C₀/k := by |
| 242 | have hk0 : 0 < k := by linarith |
| 243 | have hr0 : 0 ≤ L.R := zero_le_one.trans L.radius_one |
| 244 | let AF := forwardInitializedAngularPressureField M D hTime δ hδ ξ hs α |
| 245 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth |
| 246 | let RF := forwardInitializedCovectorRemainderField M D hTime δ hδ ξ hs α |
| 247 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k⁻¹ |
| 248 | let a : LiftTangent → ℝ := fun z => forwardInitializedAngularPressure D δ hδ ξ hs α (t,z) |
| 249 | let J : Space → Space →L[ℝ] Space := fun y => D.FInv.field t (Y t y) |
| 250 | have hYd := continuousInverse_differentiable D X Y hX hXY hY |
| 251 | have hYder := continuousInverse_hasFDerivAt D X Y hX hXY hY |
| 252 | have hJ : DifferentiableAt ℝ J x := |
| 253 | ((D.FInv.smooth t).differentiable (by simp) (Y t x)).comp x (hYd t x) |
| 254 | have ha : ContDiff ℝ ∞ a := forwardInitializedAngularPressure_smooth D δ hδ ξ hs α t |
| 255 | have hf := fastForce_hasFDerivAt a k hk0.ne' D.m₀ (Y t) J x (hYder t x) hJ |
| 256 | (ha.differentiable (by simp) _) |
| 257 | have hsecond : angularDerivative a (graphMap k D.m₀ (Y t x)) = |
| 258 | EulerPacketForwardShear.pressureCoefficient D ξ α t (Y t x)* |
| 259 | deriv (profile δ) (k*⟪D.m₀,Y t x⟫_ℝ) := |
| 260 | forwardInitializedAngularPressure_second D δ hδ ξ hs α t _ |
| 261 | have hn : transportedNormal D.m₀ J x = D.normal.field t (Y t x) := rfl |
| 262 | rw [hsecond,hn] at hf |
| 263 | have hRF := forwardInitializedCovectorRemainder_bound M D hTime δ hδ ξ hs α |
| 264 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth N hN k hk hbase |
| 265 | have hAF := forwardInitializedAngularPressure_bound M D hTime δ hδ ξ hs α |
| 266 | L NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth |
| 267 | have hfast := fastHessianRemainder_bound NB |
| 268 | (forwardInitializedAngularPressure D δ hδ ξ hs α) AF (4*L.R) |
| 269 | (fixedVelocityGradeCost L.R S.H0 1) (by positivity) |
| 270 | (fixedVelocityGradeCost_nonneg L.R S.H0 hr0 1) hAF k hk0 t (Y t) x (hYder t x) |
| 271 | (ha.differentiable (by simp) _) |
| 272 | have htail := physicalCovector_error_bound D RF (4*L.R) |
| 273 | (fixedVelocityGradeCost L.R S.H0 2+2) (by positivity) |
| 274 | (by have h := fixedVelocityGradeCost_nonneg L.R S.H0 hr0 2; linarith) |
| 275 | k (by linarith) hRF L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg hdet L.frame_bound |
| 276 | X Y hX hYd hXY t x |
| 277 | have htaild : DifferentiableAt ℝ (physicalCovector D RF k Y t) x := by |
| 278 | have hI := (adjoint.differentiableAt.comp x hJ) |
| 279 | have hR := (RF.raw_graph_contDiff t k D.m₀).differentiable (by simp) (Y t x) |
| 280 | have hRg := hR.comp x (hYd t x) |
| 281 | exact hI.clm_apply hRg |
| 282 | have he : gradient (fun y => forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹ |
| 283 | (t,(Y t y,k*⟪D.m₀,Y t y⟫_ℝ))) = |
| 284 | fastForce a k D.m₀ (Y t) J + physicalCovector D RF k Y t := by |
| 285 | funext y |
| 286 | exact forwardInitializedPressure_gradient_decomposition M D hTime δ hδ ξ hs α |
| 287 | N k hk0.ne' t (Y t) y (hYder t y) |
| 288 | calc |
| 289 | _ = ‖fastHessianRemainder a k D.m₀ (Y t) J x + |
| 290 | fderiv ℝ (physicalCovector D RF k Y t) x‖ := by |
| 291 | rw [he,fderiv_add hf.differentiableAt htaild,hf.fderiv] |
| 292 | congr 1 |
| 293 | abel |
| 294 | _ ≤ _ := (norm_add_le _ _).trans ((add_le_add hfast htail).trans_eq (by |
| 295 | unfold forwardInitializedPressureHessianCost |
| 296 | ring)) |
| 297 | |
| 298 | end EulerPacketTerminalDatum |