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.StaticEulerRegularity |
| 2 | import Euler.StaticEulerCorrection |
| 3 | import Euler.AllOrderDriftPressureBounds |
| 4 | import Euler.AllOrderDriftFieldDecomposition |
| 5 | import Euler.FieldTowerGraphGevrey |
| 6 | import Euler.SmoothTimeAmplitudeBounds |
| 7 | |
| 8 | /-! Uniform source-only Gevrey bounds for the actual local Euler solution |
| 9 | and its genuine time derivative. The same spatial radius works for sup |
| 10 | and ordinary L² norms. All constants depend only on P,C,R, not on the |
| 11 | particular solenoidal datum realizing the input bounds. -/ |
| 12 | |
| 13 | /-! ## From `Euler/StaticEulerWeightedBounds.lean` |
| 14 | |
| 15 | The text of `Euler/StaticEulerWeightedBounds.lean`, folded into this file, which was its only importer. -/ |
| 16 | |
| 17 | section |
| 18 | |
| 19 | /-! Explicit bounds for the constructed small-data solution. All constants |
| 20 | are functions of the datum's supplied Gevrey bounds and the fixed period; |
| 21 | none depends on which datum realizes those bounds. -/ |
| 22 | |
| 23 | noncomputable section |
| 24 | |
| 25 | namespace EulerStaticEuler |
| 26 | |
| 27 | open Set EulerSmoothLimit EulerLiftedGradientSpace EulerLpTranslation |
| 28 | EulerAllOrderDriftCorrection EulerAllOrderCorrectionData EulerSobolevGevreyOperators |
| 29 | EulerGevreyCorrectionSourceBounds EulerGevreyMetricEstimate EulerConstantCorrection |
| 30 | |
| 31 | /-- A fixed positive radius retained by the actual correction. -/ |
| 32 | def retainedRadius (R : ℝ) : ℝ := EulerSmallCorrection.initialRadius (mixedRadius R)/4 |
| 33 | |
| 34 | def baseErrorFactor : ℝ := metricAmplification 1/2 |
| 35 | |
| 36 | theorem retainedRadius_pos (R : ℝ) (hR : 0 ≤ R) : 0 < retainedRadius R := |
| 37 | div_pos (EulerSmallCorrection.initialRadius_pos _ (mixedRadius_nonneg R hR)) (by norm_num) |
| 38 | |
| 39 | theorem retainedRadius_small (R : ℝ) (hR : 0 ≤ R) : |
| 40 | retainedRadius R*mixedRadius R ≤ 1/2 := by |
| 41 | have h := EulerSmallCorrection.initialRadius_mul _ (mixedRadius_nonneg R hR) |
| 42 | have hn := mul_nonneg (EulerSmallCorrection.initialRadius_pos _ (mixedRadius_nonneg R hR)).le |
| 43 | (mixedRadius_nonneg R hR) |
| 44 | dsimp [retainedRadius] |
| 45 | linarith |
| 46 | |
| 47 | theorem baseErrorFactor_nonneg : 0 ≤ baseErrorFactor := |
| 48 | div_nonneg (zero_le_one.trans (metricAmplification_one_le (by norm_num : (0 : ℝ) < 1))) (by norm_num) |
| 49 | |
| 50 | variable (P : ℝ) [Fact (0 < P)] |
| 51 | |
| 52 | def staticSourceCost (R : ℝ) : ℝ := |
| 53 | sourceBound P 1 1 0 0 1 baseErrorFactor |
| 54 | ((8/EulerSmallCorrection.initialRadius (mixedRadius R))*baseErrorFactor) |
| 55 | |
| 56 | def staticTimeCost (R : ℝ) : ℝ := (1+2*pressureBound*(448*1+1))*staticSourceCost P R |
| 57 | |
| 58 | theorem staticSourceCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ staticSourceCost P R := |
| 59 | sourceBound_nonneg P zero_le_one zero_le_one le_rfl le_rfl zero_le_one baseErrorFactor_nonneg |
| 60 | (mul_nonneg (div_nonneg (by norm_num) |
| 61 | (EulerSmallCorrection.initialRadius_pos _ (mixedRadius_nonneg R hR)).le) baseErrorFactor_nonneg) |
| 62 | |
| 63 | theorem staticTimeCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ staticTimeCost P R := by |
| 64 | have hS := staticSourceCost_nonneg P R hR |
| 65 | have hP := zero_le_one.trans pressureBound_one_le |
| 66 | unfold staticTimeCost |
| 67 | positivity |
| 68 | |
| 69 | variable (u : SmoothL2Field Space) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 70 | (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 71 | |
| 72 | theorem budget_retainedRadius : |
| 73 | (correctionBudget P u C R hC hR hu hdiv).reducedRadius P=retainedRadius R := rfl |
| 74 | |
| 75 | theorem budget_staticTimeCost (q : ℕ) (hq : 6 ≤ q) : |
| 76 | (correctionBudget P u C R hC hR hu hdiv).timeDerivativeCost P q hq=staticTimeCost P R := rfl |
| 77 | |
| 78 | theorem correction_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : |
| 79 | weightedNorm P 6 n (retainedRadius R) |
| 80 | (((correctionBudget P u C R hC hR hu hdiv).fieldTower P).realization (n+6) t) ≤ |
| 81 | amplitude P C R hC hR*baseErrorFactor := by |
| 82 | have h := (correctionBudget P u C R hC hR hu hdiv).fieldTower_reducedNorm P (n+6) n le_rfl t |
| 83 | change _ ≤ metricAmplification 1*(amplitude P C R hC hR/2) at h |
| 84 | exact h.trans_eq (by unfold baseErrorFactor; ring) |
| 85 | |
| 86 | theorem exact_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : |
| 87 | weightedNorm P 6 n (retainedRadius R) |
| 88 | ((exactPacket P u C R hC hR hu hdiv).velocity.realization (n+6) t) ≤ |
| 89 | amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor) := by |
| 90 | have hw := EulerSmallCorrection.scaled_word (EulerStaticCylinder.field P 1 u) |
| 91 | (EulerStaticCylinder.field_wordBound P 1 u 6 C R hC hR hu) |
| 92 | (amplitude P C R hC hR) (amplitude_pos P C R hC hR).le |
| 93 | have hb := hw.toFieldTower_weightedNorm_le_two (mixedRadius_nonneg R hR) |
| 94 | (mul_nonneg (amplitude_pos P C R hC hR).le (mixedAmplitude_nonneg P C R hC hR)) |
| 95 | (n+6) n le_rfl (retainedRadius R) (retainedRadius_pos R hR) (retainedRadius_small R hR) t |
| 96 | change weightedNorm P 6 n (retainedRadius R) |
| 97 | (((EulerStaticCylinder.field P 1 u).smul (amplitude P C R hC hR)).toFieldTower.realization (n+6) t+ |
| 98 | ((correctionBudget P u C R hC hR hu hdiv).fieldTower P).realization (n+6) t) ≤ _ |
| 99 | apply (weightedNorm_add_le P 6 n le_rfl (retainedRadius R) (retainedRadius_pos R hR) _ _).trans |
| 100 | exact (add_le_add hb (correction_weighted P u C R hC hR hu hdiv n t)).trans_eq (by unfold mixedAmplitude; ring) |
| 101 | |
| 102 | theorem time_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : |
| 103 | weightedNorm P 6 n (retainedRadius R) |
| 104 | (((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).realization (n+6) t) ≤ |
| 105 | amplitude P C R hC hR*staticTimeCost P R := by |
| 106 | have h := (correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower_reducedNorm_delta |
| 107 | P (n+6) (by omega) n (by omega) (n+6) le_rfl t |
| 108 | rw [budget_retainedRadius,budget_staticTimeCost] at h |
| 109 | exact h.trans_eq (mul_comm _ _) |
| 110 | |
| 111 | end EulerStaticEuler |
| 112 | end |
| 113 | |
| 114 | end |
| 115 | |
| 116 | noncomputable section |
| 117 | |
| 118 | namespace EulerStaticEuler |
| 119 | |
| 120 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLpTranslation |
| 121 | EulerLiftedGradientSpace EulerAllOrderCorrectionData EulerAllOrderDriftCorrection |
| 122 | EulerCylinderCoordinates EulerCylinderSobolevSpace EulerPacketCylinderField |
| 123 | open scoped ContDiff BoundedContinuousFunction |
| 124 | |
| 125 | private local instance : NormedAddCommGroup Space := inferInstance |
| 126 | private local instance : NormedSpace ℝ Space := inferInstance |
| 127 | private local instance (n : ℕ) : NormedAddCommGroup (Space [×n]→L[ℝ] Space) := inferInstance |
| 128 | private local instance (n : ℕ) : NormedSpace ℝ (Space [×n]→L[ℝ] Space) := inferInstance |
| 129 | private local instance (n : ℕ) : NormedAddCommGroup (Space →ᵇ (Space [×n]→L[ℝ] Space)) := inferInstance |
| 130 | private local instance (n : ℕ) : NormedSpace ℝ (Space →ᵇ (Space [×n]→L[ℝ] Space)) := inferInstance |
| 131 | |
| 132 | def coverRadius (R : ℝ) : ℝ := ‖coordinateEquiv.symm.toContinuousLinearMap‖*(retainedRadius R)⁻¹ |
| 133 | |
| 134 | def outputRadius (R : ℝ) : ℝ := 1+4*coverRadius R |
| 135 | |
| 136 | theorem coverRadius_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ coverRadius R := |
| 137 | mul_nonneg (norm_nonneg _) (inv_nonneg.mpr (retainedRadius_pos R hR).le) |
| 138 | |
| 139 | theorem outputRadius_pos (R : ℝ) (hR : 0 ≤ R) : 0 < outputRadius R := by |
| 140 | have h := coverRadius_nonneg R hR |
| 141 | unfold outputRadius |
| 142 | positivity |
| 143 | |
| 144 | variable (P : ℝ) [Fact (0 < P)] |
| 145 | |
| 146 | def graphCost (R : ℝ) : ℝ := |
| 147 | 1+sobolevEmbeddingConstant P 3+Real.sqrt (2/P+2*P)*(1+coverRadius R) |
| 148 | |
| 149 | def outputVelocitySize (C R : ℝ) : ℝ := |
| 150 | graphCost P R*(2*mixedAmplitude P C R+baseErrorFactor) |
| 151 | |
| 152 | def outputDerivativeSize (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : ℝ := |
| 153 | (amplitude P C R hC hR)⁻¹*graphCost P R*staticTimeCost P R |
| 154 | |
| 155 | theorem graphCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ graphCost P R := by |
| 156 | have h₁ := sobolevEmbeddingConstant_nonneg P 3 |
| 157 | have h₂ := coverRadius_nonneg R hR |
| 158 | unfold graphCost |
| 159 | positivity |
| 160 | |
| 161 | theorem outputVelocitySize_nonneg (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : |
| 162 | 0 ≤ outputVelocitySize P C R := |
| 163 | mul_nonneg (graphCost_nonneg P R hR) |
| 164 | (add_nonneg (mul_nonneg (by norm_num) (mixedAmplitude_nonneg P C R hC hR)) baseErrorFactor_nonneg) |
| 165 | |
| 166 | theorem outputDerivativeSize_nonneg (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : |
| 167 | 0 ≤ outputDerivativeSize P C R hC hR := by |
| 168 | exact mul_nonneg (mul_nonneg (inv_nonneg.mpr (amplitude_pos P C R hC hR).le) |
| 169 | (graphCost_nonneg P R hR)) (staticTimeCost_nonneg P R hR) |
| 170 | |
| 171 | private theorem graphCost_embedding (R : ℝ) (hR : 0 ≤ R) : |
| 172 | sobolevEmbeddingConstant P 3 ≤ graphCost P R := by |
| 173 | have h := mul_nonneg (Real.sqrt_nonneg (2/P+2*P)) |
| 174 | (add_nonneg zero_le_one (coverRadius_nonneg R hR)) |
| 175 | unfold graphCost |
| 176 | linarith |
| 177 | |
| 178 | private theorem graphCost_trace (R : ℝ) : |
| 179 | Real.sqrt (2/P+2*P)*(1+coverRadius R) ≤ graphCost P R := by |
| 180 | have h := sobolevEmbeddingConstant_nonneg P 3 |
| 181 | unfold graphCost |
| 182 | linarith |
| 183 | |
| 184 | private theorem jet_mono {a b r s : ℝ} (hb : 0 ≤ b) (hr : 0 ≤ r) |
| 185 | (hab : a ≤ b) (hrs : r ≤ s) (n : ℕ) : |
| 186 | a*r^n*(n.factorial : ℝ)^2 ≤ b*s^n*(n.factorial : ℝ)^2 := |
| 187 | mul_le_mul_of_nonneg_right |
| 188 | (mul_le_mul hab (pow_le_pow_left₀ hr hrs n) (pow_nonneg hr n) hb) (sq_nonneg _) |
| 189 | |
| 190 | variable (u : SmoothL2Field Space) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 191 | (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 192 | |
| 193 | theorem unitVelocityCoefficient_graph (t : Icc (0 : ℝ) 1) (x : Space) : |
| 194 | (unitVelocityCoefficient P u C R hC hR hu hdiv).field t x = |
| 195 | (exactPacket P u C R hC hR hu hdiv).velocity.zeroGraphCoefficient.field t x := by |
| 196 | rw [unitVelocityCoefficient_apply,FieldTower.zeroGraphCoefficient_apply,FieldTower.zeroGraphField_apply] |
| 197 | simp only [EulerConstantEuler.velocity,ExactLiftedPacket.rawVelocity,FieldTower.rawField, |
| 198 | projIcc_of_mem zero_le_one t.property] |
| 199 | |
| 200 | theorem unitDerivativeCoefficient_graph (t : Icc (0 : ℝ) 1) (x : Space) : |
| 201 | (unitDerivativeCoefficient P u C R hC hR hu hdiv).field t x = |
| 202 | ((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphCoefficient.field t x := by |
| 203 | change ((Field.zero P 1).smul (amplitude P C R hC hR)).toSmoothTimeField.field t (x,0)+_=_ |
| 204 | rw [Field.toSmoothTimeField_apply] |
| 205 | change amplitude P C R hC hR • (0 : Space)+_=_ |
| 206 | rw [smul_zero,zero_add] |
| 207 | rfl |
| 208 | |
| 209 | def localDerivativeField (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : SmoothL2Field Space := |
| 210 | SmoothL2Field.mapField (((amplitude P C R hC hR)⁻¹)^2 • ContinuousLinearMap.id ℝ Space) |
| 211 | (((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphField |
| 212 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t)) |
| 213 | |
| 214 | theorem localDerivativeField_apply (t : Icc (0 : ℝ) (amplitude P C R hC hR)) (x : Space) : |
| 215 | (localDerivativeField P u C R hC hR hu hdiv t).field x = |
| 216 | (derivativeCoefficient P u C R hC hR hu hdiv).field t x := by |
| 217 | let st := EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t |
| 218 | change ((amplitude P C R hC hR)⁻¹)^2 • |
| 219 | (((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphField st).field x = |
| 220 | ((amplitude P C R hC hR)⁻¹)^2 • |
| 221 | (unitDerivativeCoefficient P u C R hC hR hu hdiv).field st x |
| 222 | have he := unitDerivativeCoefficient_graph P u C R hC hR hu hdiv st x |
| 223 | rw [FieldTower.zeroGraphCoefficient_apply] at he |
| 224 | exact congrArg (fun v : Space => ((amplitude P C R hC hR)⁻¹)^2 • v) he.symm |
| 225 | |
| 226 | theorem velocityCoefficient_bound (n : ℕ) : |
| 227 | ‖(velocityCoefficient P u C R hC hR hu hdiv).jet n‖ ≤ |
| 228 | outputVelocitySize P C R*(outputRadius R)^n*(n.factorial : ℝ)^2 := by |
| 229 | have hV : 0 ≤ 2*mixedAmplitude P C R+baseErrorFactor := |
| 230 | add_nonneg (mul_nonneg (by norm_num) (mixedAmplitude_nonneg P C R hC hR)) baseErrorFactor_nonneg |
| 231 | have he := (amplitude_pos P C R hC hR).le |
| 232 | have hunit := (exactPacket P u C R hC hR hu hdiv).velocity.zeroGraphCoefficient_bound |
| 233 | (retainedRadius R) (amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor)) |
| 234 | (retainedRadius_pos R hR) (mul_nonneg he hV) (exact_weighted P u C R hC hR hu hdiv) n |
| 235 | rw [← SmoothTimeField.jet_eq_of_field_eq _ _ (unitVelocityCoefficient_graph P u C R hC hR hu hdiv) n] at hunit |
| 236 | have h := (EulerTimeRescaling.coefficient_jet_norm (amplitude P C R hC hR) |
| 237 | (amplitude_pos P C R hC hR) (unitVelocityCoefficient P u C R hC hR hu hdiv) n).trans |
| 238 | (mul_le_mul_of_nonneg_left hunit (inv_nonneg.mpr he)) |
| 239 | have hi : (amplitude P C R hC hR)⁻¹*amplitude P C R hC hR=1 := |
| 240 | inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne' |
| 241 | apply h.trans |
| 242 | calc |
| 243 | _ = (sobolevEmbeddingConstant P 3*(2*mixedAmplitude P C R+baseErrorFactor))* |
| 244 | (coverRadius R)^n*(n.factorial : ℝ)^2 := by |
| 245 | unfold coverRadius |
| 246 | calc |
| 247 | _ = ((amplitude P C R hC hR)⁻¹*amplitude P C R hC hR)* |
| 248 | ((sobolevEmbeddingConstant P 3*(2*mixedAmplitude P C R+baseErrorFactor))* |
| 249 | (‖coordinateEquiv.symm.toContinuousLinearMap‖*(retainedRadius R)⁻¹)^n*(n.factorial : ℝ)^2) := by ring |
| 250 | _ = _ := by rw [hi,one_mul] |
| 251 | _ ≤ _ := jet_mono (outputVelocitySize_nonneg P C R hC hR) (coverRadius_nonneg R hR) |
| 252 | (mul_le_mul_of_nonneg_right (graphCost_embedding P R hR) hV) |
| 253 | (by have hc := coverRadius_nonneg R hR; unfold outputRadius; linarith) n |
| 254 | |
| 255 | theorem localField_bound (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : |
| 256 | (localField P u C R hC hR hu hdiv t).HasJetBound (outputVelocitySize P C R) (outputRadius R) := by |
| 257 | have hV : 0 ≤ 2*mixedAmplitude P C R+baseErrorFactor := |
| 258 | add_nonneg (mul_nonneg (by norm_num) (mixedAmplitude_nonneg P C R hC hR)) baseErrorFactor_nonneg |
| 259 | have he := (amplitude_pos P C R hC hR).le |
| 260 | have hunit := (exactPacket P u C R hC hR hu hdiv).velocity.zeroGraphField_bound |
| 261 | (retainedRadius R) (amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor)) |
| 262 | (retainedRadius_pos R hR) (mul_nonneg he hV) (exact_weighted P u C R hC hR hu hdiv) |
| 263 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t) |
| 264 | have h := EulerTimeRescaling.mapField_hasJetBound (amplitude P C R hC hR)⁻¹ |
| 265 | (inv_nonneg.mpr he) _ _ _ hunit |
| 266 | have hi : (amplitude P C R hC hR)⁻¹*amplitude P C R hC hR=1 := |
| 267 | inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne' |
| 268 | have ha : (amplitude P C R hC hR)⁻¹* |
| 269 | (Real.sqrt (2/P+2*P)*(amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor))*(1+coverRadius R)) = |
| 270 | (Real.sqrt (2/P+2*P)*(1+coverRadius R))*(2*mixedAmplitude P C R+baseErrorFactor) := by |
| 271 | calc |
| 272 | _ = ((amplitude P C R hC hR)⁻¹*amplitude P C R hC hR)* |
| 273 | ((Real.sqrt (2/P+2*P)*(1+coverRadius R))*(2*mixedAmplitude P C R+baseErrorFactor)) := by ring |
| 274 | _ = _ := by rw [hi,one_mul] |
| 275 | change (localField P u C R hC hR hu hdiv t).HasJetBound |
| 276 | ((amplitude P C R hC hR)⁻¹*(Real.sqrt (2/P+2*P)* |
| 277 | (amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor))*(1+coverRadius R))) |
| 278 | (4*coverRadius R) at h |
| 279 | rw [ha] at h |
| 280 | exact h.mono (by have hc := coverRadius_nonneg R hR; positivity) |
| 281 | (mul_nonneg (by norm_num) (coverRadius_nonneg R hR)) |
| 282 | (mul_le_mul_of_nonneg_right (graphCost_trace P R) hV) |
| 283 | (by unfold outputRadius; linarith) |
| 284 | |
| 285 | theorem localDerivativeField_bound (t : Icc (0 : ℝ) (amplitude P C R hC hR)) : |
| 286 | (localDerivativeField P u C R hC hR hu hdiv t).HasJetBound |
| 287 | (outputDerivativeSize P C R hC hR) (outputRadius R) := by |
| 288 | have he := (amplitude_pos P C R hC hR).le |
| 289 | have hT := staticTimeCost_nonneg P R hR |
| 290 | have hunit := ((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).zeroGraphField_bound |
| 291 | (retainedRadius R) (amplitude P C R hC hR*staticTimeCost P R) |
| 292 | (retainedRadius_pos R hR) (mul_nonneg he hT) (time_weighted P u C R hC hR hu hdiv) |
| 293 | (EulerTimeRescaling.timeMap (amplitude P C R hC hR) (amplitude_pos P C R hC hR) t) |
| 294 | have h := EulerTimeRescaling.mapField_hasJetBound (((amplitude P C R hC hR)⁻¹)^2) |
| 295 | (sq_nonneg _) _ _ _ hunit |
| 296 | have hi : (amplitude P C R hC hR)⁻¹*amplitude P C R hC hR=1 := |
| 297 | inv_mul_cancel₀ (amplitude_pos P C R hC hR).ne' |
| 298 | have ha : ((amplitude P C R hC hR)⁻¹)^2* |
| 299 | (Real.sqrt (2/P+2*P)*(amplitude P C R hC hR*staticTimeCost P R)*(1+coverRadius R)) = |
| 300 | (amplitude P C R hC hR)⁻¹*(Real.sqrt (2/P+2*P)*(1+coverRadius R))*staticTimeCost P R := by |
| 301 | calc |
| 302 | _ = ((amplitude P C R hC hR)⁻¹*amplitude P C R hC hR)* |
| 303 | ((amplitude P C R hC hR)⁻¹*(Real.sqrt (2/P+2*P)*(1+coverRadius R))*staticTimeCost P R) := by ring |
| 304 | _ = _ := by rw [hi,one_mul] |
| 305 | change (localDerivativeField P u C R hC hR hu hdiv t).HasJetBound |
| 306 | (((amplitude P C R hC hR)⁻¹)^2*(Real.sqrt (2/P+2*P)* |
| 307 | (amplitude P C R hC hR*staticTimeCost P R)*(1+coverRadius R))) |
| 308 | (4*coverRadius R) at h |
| 309 | rw [ha] at h |
| 310 | exact h.mono (by have hc := coverRadius_nonneg R hR; positivity) |
| 311 | (mul_nonneg (by norm_num) (coverRadius_nonneg R hR)) |
| 312 | (mul_le_mul_of_nonneg_right |
| 313 | (mul_le_mul_of_nonneg_left (graphCost_trace P R) (inv_nonneg.mpr he)) hT) |
| 314 | (by unfold outputRadius; linarith) |
| 315 | |
| 316 | end EulerStaticEuler |