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 NavierStokes.RadialHeatProfile |
| 2 | import NavierStokes.OutgoingTail |
| 3 | import NavierStokes.SmoothCutoffs |
| 4 | import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals |
| 5 | |
| 6 | /-! |
| 7 | # The actual terminal heat edit and its integral debts |
| 8 | |
| 9 | The switch uses logarithmic time: it starts at tail time `1/5` and is |
| 10 | complete at tail time `1/2`. Quantitative estimates below are proved for |
| 11 | the actual improper integrals, then applied to the constructed outgoing |
| 12 | tail. No debt bound is an input to the final outgoing-tail theorems. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open Set Filter MeasureTheory |
| 18 | open scoped Topology ContDiff |
| 19 | |
| 20 | namespace NavierStokes.HeatTailEdit |
| 21 | |
| 22 | noncomputable def exponent (h : ℝ) : ℝ := 1 / 2 + h |
| 23 | |
| 24 | noncomputable def heatConstant (h ν : ℝ) : ℝ := 2 * ν * h * (1 + h) |
| 25 | |
| 26 | noncomputable def switch (K X : ℝ) : ℝ := |
| 27 | OutgoingSchedule.sigma (Real.log (X / K) / (3 / 10)) |
| 28 | |
| 29 | noncomputable def multiplier (h ν K X : ℝ) : ℝ := |
| 30 | 1 + switch K X * (RadialHeatProfile.profile (1 + h) (2 * ν / X) - 1) |
| 31 | |
| 32 | noncomputable def edit (E : ℝ → ℝ) (h ν K X : ℝ) : ℝ := |
| 33 | E X * multiplier h ν K X |
| 34 | |
| 35 | noncomputable def change (E : ℝ → ℝ) (h ν K X : ℝ) : ℝ := |
| 36 | edit E h ν K X - E X |
| 37 | |
| 38 | noncomputable def squareChange (E : ℝ → ℝ) (h ν K X : ℝ) : ℝ := |
| 39 | edit E h ν K X ^ 2 - E X ^ 2 |
| 40 | |
| 41 | theorem switch_bounds (K X : ℝ) : 0 ≤ switch K X ∧ switch K X ≤ 1 := |
| 42 | ⟨OutgoingSchedule.sigma_nonneg _, OutgoingSchedule.sigma_le_one _⟩ |
| 43 | |
| 44 | theorem switch_zero {K X : ℝ} (hK : 0 < K) (hX : 0 < X) (hXK : X ≤ K) : |
| 45 | switch K X = 0 := by |
| 46 | apply OutgoingSchedule.sigma_zero |
| 47 | exact div_nonpos_of_nonpos_of_nonneg |
| 48 | (Real.log_nonpos (div_pos hX hK).le ((div_le_one hK).mpr hXK)) (by norm_num) |
| 49 | |
| 50 | theorem switch_one {K X : ℝ} (h : 3 / 10 ≤ Real.log (X / K)) : switch K X = 1 := by |
| 51 | apply OutgoingSchedule.sigma_one |
| 52 | exact (le_div_iff₀ (by norm_num : (0 : ℝ) < 3 / 10)).mpr (by simpa using h) |
| 53 | |
| 54 | theorem edit_before (E : ℝ → ℝ) (h ν : ℝ) {K X : ℝ} |
| 55 | (hK : 0 < K) (hX : 0 < X) (hXK : X ≤ K) : edit E h ν K X = E X := by |
| 56 | simp only [edit, multiplier, switch_zero hK hX hXK, zero_mul, add_zero, mul_one] |
| 57 | |
| 58 | theorem edit_after (E : ℝ → ℝ) (h ν : ℝ) {K X : ℝ} |
| 59 | (hfull : 3 / 10 ≤ Real.log (X / K)) : |
| 60 | edit E h ν K X = E X * RadialHeatProfile.profile (1 + h) (2 * ν / X) := by |
| 61 | simp only [edit, multiplier, switch_one hfull, one_mul, add_sub_cancel] |
| 62 | |
| 63 | theorem multiplier_bounds {h ν K X : ℝ} (hh : 0 < h) (hν : 0 ≤ ν) (hX : 0 < X) : |
| 64 | 0 < multiplier h ν K X ∧ multiplier h ν K X ≤ 1 := by |
| 65 | have hz : 0 ≤ 2 * ν / X := div_nonneg (mul_nonneg (by norm_num) hν) hX.le |
| 66 | have hH := RadialHeatProfile.profile_pos (a := 1 + h) (by linarith) hz |
| 67 | have hH1 := RadialHeatProfile.profile_le_one (a := 1 + h) (by linarith) hz |
| 68 | have hs := switch_bounds K X |
| 69 | have hp := mul_nonneg (sub_nonneg.mpr hs.2) (sub_nonneg.mpr hH1) |
| 70 | have hn := mul_nonpos_of_nonneg_of_nonpos hs.1 (sub_nonpos.mpr hH1) |
| 71 | dsimp [multiplier] |
| 72 | constructor <;> nlinarith |
| 73 | |
| 74 | theorem edit_pos {E : ℝ → ℝ} {h ν K X : ℝ} (hh : 0 < h) (hν : 0 ≤ ν) |
| 75 | (hX : 0 < X) (hE : 0 < E X) : 0 < edit E h ν K X := |
| 76 | mul_pos hE (multiplier_bounds hh hν hX).1 |
| 77 | |
| 78 | theorem switch_contDiffOn {K : ℝ} (hK : 0 < K) : |
| 79 | ContDiffOn ℝ ∞ (switch K) (Ioi 0) := by |
| 80 | intro X hX |
| 81 | have hl : ContDiffAt ℝ ∞ (fun X : ℝ => Real.log (X / K)) X := |
| 82 | (Real.contDiffAt_log.mpr (div_pos hX hK).ne').comp X (contDiffAt_id.div_const K) |
| 83 | exact (OutgoingSchedule.sigma_contDiff.contDiffAt.comp X |
| 84 | (hl.div_const (3 / 10))).contDiffWithinAt |
| 85 | |
| 86 | theorem multiplier_contDiffOn {h ν K : ℝ} (hh : 0 < h) (hν : 0 < ν) (hK : 0 < K) : |
| 87 | ContDiffOn ℝ ∞ (multiplier h ν K) (Ioi 0) := by |
| 88 | apply contDiffOn_const.add |
| 89 | apply (switch_contDiffOn hK).mul |
| 90 | apply ContDiffOn.sub _ contDiffOn_const |
| 91 | apply (RadialHeatProfile.profile_contDiffOn (a := 1 + h) (by linarith)).comp |
| 92 | (contDiffOn_const.div contDiffOn_id (fun X hX => (show 0 < X from hX).ne')) |
| 93 | intro X hX |
| 94 | exact (div_pos (mul_pos (by norm_num) hν) hX).le |
| 95 | |
| 96 | theorem edit_contDiffOn {E : ℝ → ℝ} {h ν K : ℝ} (hh : 0 < h) (hν : 0 < ν) |
| 97 | (hK : 0 < K) (hE : ContDiffOn ℝ ∞ E (Ioi 0)) : |
| 98 | ContDiffOn ℝ ∞ (edit E h ν K) (Ioi 0) := |
| 99 | hE.mul (multiplier_contDiffOn hh hν hK) |
| 100 | |
| 101 | theorem heatConstant_pos {h ν : ℝ} (hh : 0 < h) (hν : 0 < ν) : |
| 102 | 0 < heatConstant h ν := by unfold heatConstant; positivity |
| 103 | |
| 104 | theorem multiplier_sub_one_bound {h ν K X : ℝ} (hh : 0 < h) (hν : 0 ≤ ν) |
| 105 | (hX : 0 < X) : |multiplier h ν K X - 1| ≤ heatConstant h ν / X := by |
| 106 | have hz : 0 ≤ 2 * ν / X := div_nonneg (mul_nonneg (by norm_num) hν) hX.le |
| 107 | have hb := RadialHeatProfile.profile_h_sub_one_bound hh hz |
| 108 | have hs := switch_bounds K X |
| 109 | have he : multiplier h ν K X - 1 = |
| 110 | switch K X * (RadialHeatProfile.profile (1 + h) (2 * ν / X) - 1) := by |
| 111 | unfold multiplier |
| 112 | ring |
| 113 | rw [he, abs_mul, abs_of_nonneg hs.1] |
| 114 | calc |
| 115 | _ ≤ 1 * |RadialHeatProfile.profile (1 + h) (2 * ν / X) - 1| := |
| 116 | mul_le_mul_of_nonneg_right hs.2 (abs_nonneg _) |
| 117 | _ ≤ h * (1 + h) * (2 * ν / X) := by simpa only [one_mul] using hb |
| 118 | _ = heatConstant h ν / X := by unfold heatConstant; ring |
| 119 | |
| 120 | theorem change_bound {E : ℝ → ℝ} {h ν K X : ℝ} (hh : 0 < h) (hν : 0 ≤ ν) |
| 121 | (hX : 0 < X) : |change E h ν K X| ≤ heatConstant h ν * |E X| / X := by |
| 122 | have he : change E h ν K X = E X * (multiplier h ν K X - 1) := by |
| 123 | unfold change edit |
| 124 | ring |
| 125 | rw [he, abs_mul] |
| 126 | calc |
| 127 | _ ≤ |E X| * (heatConstant h ν / X) := |
| 128 | mul_le_mul_of_nonneg_left (multiplier_sub_one_bound hh hν hX) (abs_nonneg _) |
| 129 | _ = _ := by ring |
| 130 | |
| 131 | theorem squareChange_bound {E : ℝ → ℝ} {h ν K X : ℝ} (hh : 0 < h) (hν : 0 ≤ ν) |
| 132 | (hX : 0 < X) : |squareChange E h ν K X| ≤ |
| 133 | 2 * heatConstant h ν * E X ^ 2 / X := by |
| 134 | have hm := multiplier_bounds (K := K) hh hν hX |
| 135 | have hs : multiplier h ν K X ^ 2 ≤ 1 := by nlinarith |
| 136 | have he : squareChange E h ν K X = E X ^ 2 * (multiplier h ν K X ^ 2 - 1) := by |
| 137 | unfold squareChange edit |
| 138 | ring |
| 139 | rw [he, abs_mul, abs_of_nonneg (sq_nonneg _), abs_of_nonpos (sub_nonpos.mpr hs)] |
| 140 | have hb := multiplier_sub_one_bound (K := K) hh hν hX |
| 141 | rw [abs_of_nonpos (sub_nonpos.mpr hm.2)] at hb |
| 142 | have hsq : -(multiplier h ν K X ^ 2 - 1) ≤ 2 * (heatConstant h ν / X) := by |
| 143 | nlinarith [sq_nonneg (multiplier h ν K X - 1)] |
| 144 | calc |
| 145 | _ ≤ E X ^ 2 * (2 * (heatConstant h ν / X)) := |
| 146 | mul_le_mul_of_nonneg_left hsq (sq_nonneg _) |
| 147 | _ = _ := by ring |
| 148 | |
| 149 | /-! ## One exact weighted power integral -/ |
| 150 | |
| 151 | noncomputable def weightedKernel (K p q X : ℝ) : ℝ := |
| 152 | X ^ q * (X / K) ^ p / X |
| 153 | |
| 154 | theorem weightedKernel_eq {K X : ℝ} (hK : 0 < K) (hX : 0 < X) (p q : ℝ) : |
| 155 | weightedKernel K p q X = X ^ (p + q - 1) / K ^ p := by |
| 156 | unfold weightedKernel |
| 157 | rw [Real.div_rpow hX.le hK.le, Real.rpow_sub hX, Real.rpow_one, |
| 158 | Real.rpow_add hX] |
| 159 | ring |
| 160 | |
| 161 | theorem weightedKernel_integrable {K p q : ℝ} (hK : 0 < K) (hpq : p + q < 0) : |
| 162 | IntegrableOn (weightedKernel K p q) (Ioi K) := by |
| 163 | apply ((integrableOn_Ioi_rpow_of_lt (a := p + q - 1) (by linarith) hK).div_const |
| 164 | (K ^ p)).congr |
| 165 | filter_upwards [ae_restrict_mem measurableSet_Ioi] with X hX |
| 166 | exact (weightedKernel_eq hK (hK.trans hX) p q).symm |
| 167 | |
| 168 | theorem integral_weightedKernel {K p q : ℝ} (hK : 0 < K) (hpq : p + q < 0) : |
| 169 | (∫ X in Ioi K, weightedKernel K p q X) = K ^ q / (-p - q) := by |
| 170 | calc |
| 171 | _ = ∫ X in Ioi K, X ^ (p + q - 1) / K ^ p := by |
| 172 | apply setIntegral_congr_fun measurableSet_Ioi |
| 173 | intro X hX |
| 174 | exact weightedKernel_eq hK (hK.trans hX) p q |
| 175 | _ = (-K ^ (p + q) / (p + q)) / K ^ p := by |
| 176 | rw [integral_div, integral_Ioi_rpow_of_lt (by linarith) hK] |
| 177 | rw [show p + q - 1 + 1 = p + q by ring] |
| 178 | _ = K ^ q / (-p - q) := by |
| 179 | rw [Real.rpow_add hK] |
| 180 | have hk : K ^ p ≠ 0 := (Real.rpow_pos_of_pos hK p).ne' |
| 181 | have hd : p + q ≠ 0 := hpq.ne |
| 182 | have hd' : -p - q ≠ 0 := by linarith |
| 183 | field_simp [hk, hd, hd'] ; ring |
| 184 | |
| 185 | theorem weighted_integral_bound {K p q B : ℝ} {g : ℝ → ℝ} (hK : 0 < K) |
| 186 | (hpq : p + q < 0) (hg : ContinuousOn g (Ioi K)) |
| 187 | (hb : ∀ X ∈ Ioi K, |g X| ≤ B * (X / K) ^ p / X) : |
| 188 | IntegrableOn (fun X => X ^ q * g X) (Ioi K) ∧ |
| 189 | |∫ X in Ioi K, X ^ q * g X| ≤ B * K ^ q / (-p - q) := by |
| 190 | have hw := (weightedKernel_integrable hK hpq).const_mul B |
| 191 | have hc : ContinuousOn (fun X => X ^ q * g X) (Ioi K) := |
| 192 | ((continuousOn_id.rpow_const (fun X hX => Or.inl (hK.trans hX).ne')).mul hg) |
| 193 | have hbound : ∀ X ∈ Ioi K, ‖X ^ q * g X‖ ≤ B * weightedKernel K p q X := by |
| 194 | intro X hX |
| 195 | rw [Real.norm_eq_abs, abs_mul, abs_of_pos (Real.rpow_pos_of_pos (hK.trans hX) q)] |
| 196 | have h := mul_le_mul_of_nonneg_left (hb X hX) (Real.rpow_nonneg (hK.trans hX).le q) |
| 197 | convert! h using 1 ; unfold weightedKernel ; ring |
| 198 | have hi : IntegrableOn (fun X => X ^ q * g X) (Ioi K) := |
| 199 | hw.mono' (hc.aestronglyMeasurable measurableSet_Ioi) |
| 200 | (by filter_upwards [ae_restrict_mem measurableSet_Ioi] with X hX; exact hbound X hX) |
| 201 | refine ⟨hi, ?_⟩ |
| 202 | have h := norm_integral_le_of_norm_le hw |
| 203 | (by filter_upwards [ae_restrict_mem measurableSet_Ioi] with X hX; exact hbound X hX) |
| 204 | simpa only [Real.norm_eq_abs, integral_const_mul, integral_weightedKernel hK hpq, |
| 205 | mul_div_assoc] using h |
| 206 | |
| 207 | /-! ## Quantitative debts for a prescribed bounded terminal shape -/ |
| 208 | |
| 209 | noncomputable def powerTail (h e K : ℝ) (f : ℝ → ℝ) (X : ℝ) : ℝ := |
| 210 | e * (X / K) ^ (-exponent h) * f (Real.log (X / K)) |
| 211 | |
| 212 | theorem powerTail_contDiffOn {K : ℝ} (hK : 0 < K) (h e : ℝ) {f : ℝ → ℝ} |
| 213 | (hf : ContDiff ℝ ∞ f) : ContDiffOn ℝ ∞ (powerTail h e K f) (Ioi 0) := by |
| 214 | intro X hX |
| 215 | have hp : ContDiffAt ℝ ∞ (fun X : ℝ => (X / K) ^ (-exponent h)) X := |
| 216 | (contDiffAt_id.div_const K).rpow_const_of_ne (div_pos hX hK).ne' |
| 217 | have hl : ContDiffAt ℝ ∞ (fun X : ℝ => Real.log (X / K)) X := |
| 218 | (Real.contDiffAt_log.mpr (div_pos hX hK).ne').comp X (contDiffAt_id.div_const K) |
| 219 | exact ((contDiffAt_const.mul hp).mul (hf.contDiffAt.comp X hl)).contDiffWithinAt |
| 220 | |
| 221 | theorem powerTail_bound {K e M X : ℝ} (hK : 0 < K) (he : 0 ≤ e) (hX : K ≤ X) |
| 222 | (h : ℝ) {f : ℝ → ℝ} (hf : ∀ t, 0 ≤ t → |f t| ≤ M) : |
| 223 | |powerTail h e K f X| ≤ e * M * (X / K) ^ (-exponent h) := by |
| 224 | have hp := div_pos (hK.trans_le hX) hK |
| 225 | have hlog : 0 ≤ Real.log (X / K) := |
| 226 | Real.log_nonneg ((one_le_div hK).mpr hX) |
| 227 | unfold powerTail |
| 228 | rw [abs_mul, abs_mul, abs_of_nonneg he, abs_of_pos (Real.rpow_pos_of_pos hp _)] |
| 229 | calc |
| 230 | _ ≤ (e * (X / K) ^ (-exponent h)) * M := |
| 231 | mul_le_mul_of_nonneg_left (hf _ hlog) |
| 232 | (mul_nonneg he (Real.rpow_pos_of_pos hp _).le) |
| 233 | _ = _ := by ring |
| 234 | |
| 235 | theorem powerTail_square_bound {K e M X : ℝ} (hK : 0 < K) (he : 0 ≤ e) |
| 236 | (hM : 0 ≤ M) (hX : K ≤ X) (h : ℝ) {f : ℝ → ℝ} |
| 237 | (hf : ∀ t, 0 ≤ t → |f t| ≤ M) : |
| 238 | powerTail h e K f X ^ 2 ≤ e ^ 2 * M ^ 2 * (X / K) ^ (-2 * exponent h) := by |
| 239 | have hb := powerTail_bound hK he hX h hf |
| 240 | have hp := div_pos (hK.trans_le hX) hK |
| 241 | have hnon : 0 ≤ e * M * (X / K) ^ (-exponent h) := by positivity |
| 242 | have hs := (sq_le_sq₀ (abs_nonneg _) hnon).mpr hb |
| 243 | rw [sq_abs, mul_pow, mul_pow, ← Real.rpow_mul_natCast hp.le] at hs |
| 244 | convert! hs using 1 |
| 245 | congr 2 |
| 246 | ring |
| 247 | |
| 248 | theorem powerTail_weighted_change {h ν K e M q : ℝ} (hh : 0 < h) (hν : 0 < ν) |
| 249 | (hK : 0 < K) (he : 0 ≤ e) {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) |
| 250 | (hbound : ∀ t, 0 ≤ t → |f t| ≤ M) (hq : q < exponent h) : |
| 251 | IntegrableOn (fun X => X ^ q * change (powerTail h e K f) h ν K X) (Ioi K) ∧ |
| 252 | |∫ X in Ioi K, X ^ q * change (powerTail h e K f) h ν K X| ≤ |
| 253 | heatConstant h ν * e * M * K ^ q / (exponent h - q) := by |
| 254 | have hE := powerTail_contDiffOn hK h e hf |
| 255 | have hg := ((edit_contDiffOn hh hν hK hE).continuousOn.fun_sub hE.continuousOn).mono |
| 256 | (Ioi_subset_Ioi hK.le) |
| 257 | have hC := (heatConstant_pos hh hν).le |
| 258 | have hres := weighted_integral_bound (p := -exponent h) (q := q) |
| 259 | (B := heatConstant h ν * e * M) hK (by linarith) hg ?_ |
| 260 | · unfold change |
| 261 | simpa only [neg_neg] using hres |
| 262 | · intro X hX |
| 263 | calc |
| 264 | _ ≤ heatConstant h ν * |powerTail h e K f X| / X := |
| 265 | change_bound hh hν.le (hK.trans hX) |
| 266 | _ ≤ heatConstant h ν * (e * M * (X / K) ^ (-exponent h)) / X := |
| 267 | div_le_div_of_nonneg_right |
| 268 | (mul_le_mul_of_nonneg_left (powerTail_bound hK he hX.le h hbound) hC) |
| 269 | (hK.trans hX).le |
| 270 | _ = _ := by ring |
| 271 | |
| 272 | theorem powerTail_weighted_squareChange {h ν K e M q : ℝ} (hh : 0 < h) (hν : 0 < ν) |
| 273 | (hK : 0 < K) (he : 0 ≤ e) (hM : 0 ≤ M) {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) |
| 274 | (hbound : ∀ t, 0 ≤ t → |f t| ≤ M) (hq : q < 2 * exponent h) : |
| 275 | IntegrableOn (fun X => X ^ q * squareChange (powerTail h e K f) h ν K X) (Ioi K) ∧ |
| 276 | |∫ X in Ioi K, X ^ q * squareChange (powerTail h e K f) h ν K X| ≤ |
| 277 | 2 * heatConstant h ν * e ^ 2 * M ^ 2 * K ^ q / (2 * exponent h - q) := by |
| 278 | have hE := powerTail_contDiffOn hK h e hf |
| 279 | have hg := (((edit_contDiffOn hh hν hK hE).continuousOn.fun_pow 2).fun_sub |
| 280 | (hE.continuousOn.fun_pow 2)).mono (Ioi_subset_Ioi hK.le) |
| 281 | have hC : 0 ≤ 2 * heatConstant h ν := |
| 282 | mul_nonneg (by norm_num) (heatConstant_pos hh hν).le |
| 283 | have hres := weighted_integral_bound (p := -2 * exponent h) (q := q) |
| 284 | (B := 2 * heatConstant h ν * e ^ 2 * M ^ 2) hK (by linarith) hg ?_ |
| 285 | · unfold squareChange |
| 286 | simpa only [neg_mul, neg_neg] using hres |
| 287 | · intro X hX |
| 288 | calc |
| 289 | _ ≤ 2 * heatConstant h ν * powerTail h e K f X ^ 2 / X := |
| 290 | squareChange_bound hh hν.le (hK.trans hX) |
| 291 | _ ≤ (2 * heatConstant h ν) * (e ^ 2 * M ^ 2 * (X / K) ^ (-2 * exponent h)) / X := |
| 292 | div_le_div_of_nonneg_right |
| 293 | (mul_le_mul_of_nonneg_left (powerTail_square_bound hK he hM hX.le h hbound) hC) |
| 294 | (hK.trans hX).le |
| 295 | _ = _ := by ring |
| 296 | |
| 297 | noncomputable def pressureDebt (E : ℝ → ℝ) (h ν K : ℝ) : ℝ := |
| 298 | ∫ X in Ioi K, squareChange E h ν K X / X |
| 299 | |
| 300 | noncomputable def energyDebt (E : ℝ → ℝ) (h ν K : ℝ) : ℝ := |
| 301 | ∫ X in Ioi K, squareChange E h ν K X |
| 302 | |
| 303 | noncomputable def angularDebt (E : ℝ → ℝ) (h ν K : ℝ) : ℝ := |
| 304 | ∫ X in Ioi K, Real.sqrt (2 * X) * change E h ν K X |
| 305 | |
| 306 | theorem pressureDebt_eq (E : ℝ → ℝ) (h ν K : ℝ) : |
| 307 | pressureDebt E h ν K = ∫ X in Ioi K, X ^ (-1 : ℝ) * squareChange E h ν K X := by |
| 308 | simp only [pressureDebt, Real.rpow_neg_one, div_eq_mul_inv, mul_comm] |
| 309 | |
| 310 | theorem angularDebt_eq (E : ℝ → ℝ) (h ν K : ℝ) : |
| 311 | angularDebt E h ν K = Real.sqrt 2 * |
| 312 | ∫ X in Ioi K, X ^ (1 / 2 : ℝ) * change E h ν K X := by |
| 313 | rw [← integral_const_mul] |
| 314 | apply setIntegral_congr_fun measurableSet_Ioi |
| 315 | intro X _ |
| 316 | simp only [ Real.sqrt_mul (by norm_num : (0 : ℝ) ≤ 2), |
| 317 | Real.sqrt_eq_rpow, mul_assoc] |
| 318 | |
| 319 | theorem powerTail_pressure {h ν K e M : ℝ} (hh : 0 < h) (hν : 0 < ν) |
| 320 | (hK : 0 < K) (he : 0 ≤ e) (hM : 0 ≤ M) {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) |
| 321 | (hbound : ∀ t, 0 ≤ t → |f t| ≤ M) : |
| 322 | IntegrableOn (fun X => squareChange (powerTail h e K f) h ν K X / X) (Ioi K) ∧ |
| 323 | |pressureDebt (powerTail h e K f) h ν K| ≤ |
| 324 | 2 * heatConstant h ν * e ^ 2 * M ^ 2 / (K * (2 * exponent h + 1)) := by |
| 325 | rcases powerTail_weighted_squareChange (q := -1) hh hν hK he hM hf hbound |
| 326 | (by unfold exponent; linarith) with ⟨hi, hb⟩ |
| 327 | constructor |
| 328 | · simpa only [Real.rpow_neg_one, div_eq_mul_inv, mul_comm] using hi |
| 329 | · rw [pressureDebt_eq] |
| 330 | convert! hb using 1 ; |
| 331 | simp only [Real.rpow_neg_one, sub_neg_eq_add, div_eq_mul_inv, mul_inv_rev] ; ring |
| 332 | |
| 333 | theorem powerTail_energy {h ν K e M : ℝ} (hh : 0 < h) (hν : 0 < ν) |
| 334 | (hK : 0 < K) (he : 0 ≤ e) (hM : 0 ≤ M) {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) |
| 335 | (hbound : ∀ t, 0 ≤ t → |f t| ≤ M) : |
| 336 | IntegrableOn (squareChange (powerTail h e K f) h ν K) (Ioi K) ∧ |
| 337 | |energyDebt (powerTail h e K f) h ν K| ≤ |
| 338 | 2 * heatConstant h ν * e ^ 2 * M ^ 2 / (2 * exponent h) := by |
| 339 | simpa only [energyDebt, Real.rpow_zero, one_mul, mul_one, sub_zero] using |
| 340 | (powerTail_weighted_squareChange (q := 0) hh hν hK he hM hf hbound |
| 341 | (by unfold exponent; linarith)) |
| 342 | |
| 343 | theorem powerTail_angular {h ν K e M : ℝ} (hh : 0 < h) (hν : 0 < ν) |
| 344 | (hK : 0 < K) (he : 0 ≤ e) {f : ℝ → ℝ} (hf : ContDiff ℝ ∞ f) |
| 345 | (hbound : ∀ t, 0 ≤ t → |f t| ≤ M) : |
| 346 | IntegrableOn (fun X => Real.sqrt (2 * X) * change (powerTail h e K f) h ν K X) (Ioi K) ∧ |
| 347 | |angularDebt (powerTail h e K f) h ν K| ≤ |
| 348 | Real.sqrt 2 * heatConstant h ν * e * M * Real.sqrt K / h := by |
| 349 | rcases powerTail_weighted_change (q := 1 / 2) hh hν hK he hf hbound |
| 350 | (by unfold exponent; linarith) with ⟨hi, hb⟩ |
| 351 | constructor |
| 352 | · have hi' := hi.const_mul (Real.sqrt 2) |
| 353 | have heq : (fun X => Real.sqrt (2 * X) * change (powerTail h e K f) h ν K X) = |
| 354 | (fun X => Real.sqrt 2 * (X ^ (1 / 2 : ℝ) * change (powerTail h e K f) h ν K X)) := by |
| 355 | funext X |
| 356 | rw [Real.sqrt_mul (by norm_num : (0 : ℝ) ≤ 2), Real.sqrt_eq_rpow X] |
| 357 | ring |
| 358 | rw [heq] |
| 359 | exact hi' |
| 360 | · rw [angularDebt_eq, abs_mul, abs_of_nonneg (Real.sqrt_nonneg 2)] |
| 361 | calc |
| 362 | _ ≤ Real.sqrt 2 * |
| 363 | (heatConstant h ν * e * M * K ^ (1 / 2 : ℝ) / (exponent h - 1 / 2)) := |
| 364 | mul_le_mul_of_nonneg_left hb (Real.sqrt_nonneg 2) |
| 365 | _ = _ := by |
| 366 | rw [← Real.sqrt_eq_rpow K, show exponent h - 1 / 2 = h by unfold exponent; ring] |
| 367 | ring |
| 368 | |
| 369 | /-! ## The actual outgoing schedule -/ |
| 370 | |
| 371 | open OutgoingTail |
| 372 | |
| 373 | noncomputable def switchStart (d : TailData) : ℝ := tailStart d + 1 / 5 |
| 374 | |
| 375 | /-- This carrier amplitude is fixed by the schedule, independently of `K`. -/ |
| 376 | noncomputable def outgoingAmplitude (d : TailData) : ℝ := |
| 377 | powerConstant d * Real.exp (-exponent d.h * switchStart d) |
| 378 | |
| 379 | noncomputable def outgoingShape (d : TailData) (t : ℝ) : ℝ := tailShape d (t + 1 / 5) |
| 380 | |
| 381 | noncomputable def outgoingProfile (d : TailData) (K eta X : ℝ) : ℝ := |
| 382 | finalAngular d (switchStart d + Real.log (X / K), eta) |
| 383 | |
| 384 | noncomputable def outgoingEdit (d : TailData) (ν K eta X : ℝ) : ℝ := |
| 385 | edit (outgoingProfile d K eta) d.h ν K X |
| 386 | |
| 387 | theorem outgoingAmplitude_pos (d : TailData) : 0 < outgoingAmplitude d := |
| 388 | mul_pos (powerConstant_pos d) (Real.exp_pos _) |
| 389 | |
| 390 | theorem outgoingShape_contDiff (d : TailData) : ContDiff ℝ ∞ (outgoingShape d) := |
| 391 | (tailShape_contDiff d).comp (contDiff_id.add contDiff_const) |
| 392 | |
| 393 | theorem outgoingShape_bound (d : TailData) (t : ℝ) : |outgoingShape d t| ≤ 1 := by |
| 394 | rw [outgoingShape, abs_of_pos (tailShape_pos d _)] |
| 395 | exact (tailShape_bounds d _).2 |
| 396 | |
| 397 | theorem outgoingProfile_pos (d : TailData) (K eta X : ℝ) : 0 < outgoingProfile d K eta X := |
| 398 | finalAngular_pos d _ |
| 399 | |
| 400 | theorem outgoingProfile_eq_powerTail_of_log (d : TailData) {K X : ℝ} |
| 401 | (hK : 0 < K) (hX : 0 < X) (hlog : 0 ≤ Real.log (X / K)) (eta : ℝ) : |
| 402 | outgoingProfile d K eta X = |
| 403 | powerTail d.h (outgoingAmplitude d) K (outgoingShape d) X := by |
| 404 | have hy : tailStart d ≤ switchStart d + Real.log (X / K) := by |
| 405 | unfold switchStart |
| 406 | linarith |
| 407 | have hshape : switchStart d + Real.log (X / K) - tailStart d = Real.log (X / K) + 1 / 5 := by |
| 408 | unfold switchStart |
| 409 | ring |
| 410 | have hex : Real.exp (-exponent d.h * (switchStart d + Real.log (X / K))) = |
| 411 | Real.exp (-exponent d.h * switchStart d) * (X / K) ^ (-exponent d.h) := by |
| 412 | rw [Real.rpow_def_of_pos (div_pos hX hK), ← Real.exp_add] |
| 413 | congr 1 |
| 414 | ring |
| 415 | unfold outgoingProfile |
| 416 | rw [finalAngular_tail d eta hy, hshape] |
| 417 | change powerConstant d * Real.exp (-exponent d.h * (switchStart d + Real.log (X / K))) * |
| 418 | tailShape d (Real.log (X / K) + 1 / 5) = _ |
| 419 | rw [hex] |
| 420 | unfold powerTail outgoingAmplitude outgoingShape |
| 421 | ring |
| 422 | |
| 423 | theorem outgoingProfile_eq_powerTail (d : TailData) {K X : ℝ} |
| 424 | (hK : 0 < K) (hX : K ≤ X) (eta : ℝ) : |
| 425 | outgoingProfile d K eta X = |
| 426 | powerTail d.h (outgoingAmplitude d) K (outgoingShape d) X := |
| 427 | outgoingProfile_eq_powerTail_of_log d hK (hK.trans_le hX) |
| 428 | (Real.log_nonneg ((one_le_div hK).mpr hX)) eta |
| 429 | |
| 430 | theorem outgoingProfile_joint_contDiffOn (d : TailData) {K : ℝ} (hK : 0 < K) : |
| 431 | ContDiffOn ℝ ∞ (fun p : ℝ × ℝ => outgoingProfile d K p.2 p.1) |
| 432 | (Ioi 0 ×ˢ univ) := by |
| 433 | intro p hp |
| 434 | have hl : ContDiffAt ℝ ∞ (fun p : ℝ × ℝ => Real.log (p.1 / K)) p := |
| 435 | (Real.contDiffAt_log.mpr (div_pos hp.1 hK).ne').comp p (contDiffAt_fst.div_const K) |
| 436 | exact ((finalAngular_contDiff d).contDiffAt.comp p |
| 437 | ((contDiffAt_const.add hl).prodMk contDiffAt_snd)).contDiffWithinAt |
| 438 | |
| 439 | theorem outgoingEdit_joint_contDiffOn (d : TailData) {ν K : ℝ} |
| 440 | (hν : 0 < ν) (hK : 0 < K) : |
| 441 | ContDiffOn ℝ ∞ (fun p : ℝ × ℝ => outgoingEdit d ν K p.2 p.1) |
| 442 | (Ioi 0 ×ˢ univ) := by |
| 443 | apply (outgoingProfile_joint_contDiffOn d hK).mul |
| 444 | exact (multiplier_contDiffOn d.h_pos hν hK).comp contDiffOn_fst (fun _ hp => hp.1) |
| 445 | |
| 446 | theorem outgoingEdit_pos (d : TailData) {ν K X : ℝ} (hν : 0 ≤ ν) (hX : 0 < X) |
| 447 | (eta : ℝ) : 0 < outgoingEdit d ν K eta X := |
| 448 | edit_pos d.h_pos hν hX (outgoingProfile_pos d K eta X) |
| 449 | |
| 450 | /-- Exact matching before tail logarithmic time `0.2`. -/ |
| 451 | theorem outgoingEdit_before (d : TailData) (ν eta : ℝ) {K X : ℝ} |
| 452 | (hK : 0 < K) (hX : 0 < X) (hXK : X ≤ K) : |
| 453 | outgoingEdit d ν K eta X = outgoingProfile d K eta X := |
| 454 | edit_before _ _ _ hK hX hXK |
| 455 | |
| 456 | /-- At tail logarithmic time `0.5`, the full heat factor is present. -/ |
| 457 | theorem outgoingEdit_full (d : TailData) (ν eta : ℝ) {K X : ℝ} |
| 458 | (hK : 0 < K) (hX : 0 < X) (hfull : 1 / 2 ≤ Real.log (X / K) + 1 / 5) : |
| 459 | outgoingEdit d ν K eta X = |
| 460 | outgoingAmplitude d * (X / K) ^ (-exponent d.h) * |
| 461 | tailShape d (Real.log (X / K) + 1 / 5) * |
| 462 | RadialHeatProfile.profile (1 + d.h) (2 * ν / X) := by |
| 463 | unfold outgoingEdit |
| 464 | rw [edit_after _ _ _ (by linarith), |
| 465 | outgoingProfile_eq_powerTail_of_log d hK hX (by linarith) eta] |
| 466 | rfl |
| 467 | |
| 468 | theorem outgoing_change_eq (d : TailData) (ν eta : ℝ) {K X : ℝ} |
| 469 | (hK : 0 < K) (hX : K ≤ X) : |
| 470 | change (outgoingProfile d K eta) d.h ν K X = |
| 471 | change (powerTail d.h (outgoingAmplitude d) K (outgoingShape d)) d.h ν K X := by |
| 472 | simp only [change, edit, outgoingProfile_eq_powerTail d hK hX eta] |
| 473 | |
| 474 | theorem outgoing_squareChange_eq (d : TailData) (ν eta : ℝ) {K X : ℝ} |
| 475 | (hK : 0 < K) (hX : K ≤ X) : |
| 476 | squareChange (outgoingProfile d K eta) d.h ν K X = |
| 477 | squareChange (powerTail d.h (outgoingAmplitude d) K (outgoingShape d)) d.h ν K X := by |
| 478 | simp only [squareChange, edit, outgoingProfile_eq_powerTail d hK hX eta] |
| 479 | |
| 480 | theorem outgoing_pressureDebt_eq (d : TailData) (ν eta : ℝ) {K : ℝ} (hK : 0 < K) : |
| 481 | pressureDebt (outgoingProfile d K eta) d.h ν K = |
| 482 | pressureDebt (powerTail d.h (outgoingAmplitude d) K (outgoingShape d)) d.h ν K := by |
| 483 | apply setIntegral_congr_fun measurableSet_Ioi |
| 484 | intro X hX |
| 485 | dsimp only |
| 486 | rw [outgoing_squareChange_eq d ν eta hK hX.le] |
| 487 | |
| 488 | theorem outgoing_energyDebt_eq (d : TailData) (ν eta : ℝ) {K : ℝ} (hK : 0 < K) : |
| 489 | energyDebt (outgoingProfile d K eta) d.h ν K = |
| 490 | energyDebt (powerTail d.h (outgoingAmplitude d) K (outgoingShape d)) d.h ν K := by |
| 491 | apply setIntegral_congr_fun measurableSet_Ioi |
| 492 | intro X hX |
| 493 | rw [outgoing_squareChange_eq d ν eta hK hX.le] |
| 494 | |
| 495 | theorem outgoing_angularDebt_eq (d : TailData) (ν eta : ℝ) {K : ℝ} (hK : 0 < K) : |
| 496 | angularDebt (outgoingProfile d K eta) d.h ν K = |
| 497 | angularDebt (powerTail d.h (outgoingAmplitude d) K (outgoingShape d)) d.h ν K := by |
| 498 | apply setIntegral_congr_fun measurableSet_Ioi |
| 499 | intro X hX |
| 500 | dsimp only |
| 501 | rw [outgoing_change_eq d ν eta hK hX.le] |
| 502 | |
| 503 | theorem outgoing_pressure (d : TailData) {ν K : ℝ} (hν : 0 < ν) (hK : 0 < K) (eta : ℝ) : |
| 504 | IntegrableOn (fun X => squareChange (outgoingProfile d K eta) d.h ν K X / X) (Ioi K) ∧ |
| 505 | |pressureDebt (outgoingProfile d K eta) d.h ν K| ≤ |
| 506 | 2 * heatConstant d.h ν * outgoingAmplitude d ^ 2 / (K * (2 * exponent d.h + 1)) := by |
| 507 | have h := powerTail_pressure d.h_pos hν hK (outgoingAmplitude_pos d).le |
| 508 | (show (0 : ℝ) ≤ 1 by norm_num) (outgoingShape_contDiff d) (fun t _ => outgoingShape_bound d t) |
| 509 | constructor |
| 510 | · apply h.1.congr |
| 511 | filter_upwards [ae_restrict_mem measurableSet_Ioi] with X hX |
| 512 | rw [outgoing_squareChange_eq d ν eta hK hX.le] |
| 513 | · rw [outgoing_pressureDebt_eq d ν eta hK] |
| 514 | simpa only [one_pow, mul_one] using h.2 |
| 515 | |
| 516 | theorem outgoing_energy (d : TailData) {ν K : ℝ} (hν : 0 < ν) (hK : 0 < K) (eta : ℝ) : |
| 517 | IntegrableOn (squareChange (outgoingProfile d K eta) d.h ν K) (Ioi K) ∧ |
| 518 | |energyDebt (outgoingProfile d K eta) d.h ν K| ≤ |
| 519 | 2 * heatConstant d.h ν * outgoingAmplitude d ^ 2 / (2 * exponent d.h) := by |
| 520 | have h := powerTail_energy d.h_pos hν hK (outgoingAmplitude_pos d).le |
| 521 | (show (0 : ℝ) ≤ 1 by norm_num) (outgoingShape_contDiff d) (fun t _ => outgoingShape_bound d t) |
| 522 | constructor |
| 523 | · apply h.1.congr |
| 524 | filter_upwards [ae_restrict_mem measurableSet_Ioi] with X hX |
| 525 | rw [outgoing_squareChange_eq d ν eta hK hX.le] |
| 526 | · rw [outgoing_energyDebt_eq d ν eta hK] |
| 527 | simpa only [one_pow, mul_one] using h.2 |
| 528 | |
| 529 | theorem outgoing_angular (d : TailData) {ν K : ℝ} (hν : 0 < ν) (hK : 0 < K) (eta : ℝ) : |
| 530 | IntegrableOn (fun X => Real.sqrt (2 * X) * change (outgoingProfile d K eta) d.h ν K X) |
| 531 | (Ioi K) ∧ |
| 532 | |angularDebt (outgoingProfile d K eta) d.h ν K| ≤ |
| 533 | Real.sqrt 2 * heatConstant d.h ν * outgoingAmplitude d * Real.sqrt K / d.h := by |
| 534 | have h := powerTail_angular d.h_pos hν hK (outgoingAmplitude_pos d).le |
| 535 | (outgoingShape_contDiff d) (M := 1) (fun t _ => outgoingShape_bound d t) |
| 536 | constructor |
| 537 | · apply h.1.congr |
| 538 | filter_upwards [ae_restrict_mem measurableSet_Ioi] with X hX |
| 539 | rw [outgoing_change_eq d ν eta hK hX.le] |
| 540 | · rw [outgoing_angularDebt_eq d ν eta hK] |
| 541 | simpa only [mul_one] using h.2 |
| 542 | |
| 543 | /-- The fully switched profile is exactly the radial heat profile times the |
| 544 | prescribed flat terminal shape, with its normalization made explicit. -/ |
| 545 | theorem outgoingEdit_heat_factorization (d : TailData) (ν eta : ℝ) {K X : ℝ} |
| 546 | (hK : 0 < K) (hX : 0 < X) (hfull : 1 / 2 ≤ Real.log (X / K) + 1 / 5) : |
| 547 | outgoingEdit d ν K eta X = |
| 548 | (outgoingAmplitude d * K ^ exponent d.h) * |
| 549 | RadialHeatProfile.spatialProfile (1 + d.h) ν X * |
| 550 | tailShape d (Real.log (X / K) + 1 / 5) := by |
| 551 | rw [outgoingEdit_full d ν eta hK hX hfull] |
| 552 | have hexp : RadialHeatProfile.spatialExponent (1 + d.h) = -exponent d.h := by |
| 553 | unfold RadialHeatProfile.spatialExponent exponent |
| 554 | ring |
| 555 | rw [RadialHeatProfile.spatialProfile, hexp, Real.div_rpow hX.le hK.le, |
| 556 | Real.rpow_neg hK.le] |
| 557 | simp only [div_inv_eq_mul] |
| 558 | ring |
| 559 | |
| 560 | /-- Beyond the terminal taper, the profile is the unmodified exact radial |
| 561 | heat solution with a positive constant normalization. -/ |
| 562 | theorem outgoingEdit_eventual_heat (d : TailData) (ν eta : ℝ) {K X : ℝ} |
| 563 | (hK : 0 < K) (hX : 0 < X) (htail : 3 ≤ Real.log (X / K) + 1 / 5) : |
| 564 | outgoingEdit d ν K eta X = |
| 565 | (outgoingAmplitude d * K ^ exponent d.h) * |
| 566 | RadialHeatProfile.spatialProfile (1 + d.h) ν X := by |
| 567 | rw [outgoingEdit_heat_factorization d ν eta hK hX (by linarith), |
| 568 | tailShape_late d htail, mul_one] |
| 569 | |
| 570 | /-- The actual switch amplitude is fixed by the schedule and comparable to |
| 571 | the carrier amplitude used in the estimates. -/ |
| 572 | theorem outgoingProfile_at_switch (d : TailData) {K : ℝ} (hK : 0 < K) (eta : ℝ) : |
| 573 | outgoingProfile d K eta K = outgoingAmplitude d * (1 - d.rho) := by |
| 574 | rw [outgoingProfile_eq_powerTail d hK le_rfl eta] |
| 575 | simp only [powerTail, div_self hK.ne', Real.one_rpow, mul_one, Real.log_one, |
| 576 | outgoingShape, zero_add, tailShape_early d (by norm_num : (1 / 5 : ℝ) ≤ 1)] |
| 577 | |
| 578 | theorem outgoing_pressure_eta_contDiff (d : TailData) (ν : ℝ) {K : ℝ} (hK : 0 < K) : |
| 579 | ContDiff ℝ ∞ (fun eta => pressureDebt (outgoingProfile d K eta) d.h ν K) := by |
| 580 | have heq : (fun eta => pressureDebt (outgoingProfile d K eta) d.h ν K) = |
| 581 | (fun _ => pressureDebt (powerTail d.h (outgoingAmplitude d) K (outgoingShape d)) d.h ν K) := |
| 582 | funext fun eta => outgoing_pressureDebt_eq d ν eta hK |
| 583 | rw [heq] |
| 584 | exact contDiff_const |
| 585 | |
| 586 | theorem outgoing_energy_eta_contDiff (d : TailData) (ν : ℝ) {K : ℝ} (hK : 0 < K) : |
| 587 | ContDiff ℝ ∞ (fun eta => energyDebt (outgoingProfile d K eta) d.h ν K) := by |
| 588 | have heq : (fun eta => energyDebt (outgoingProfile d K eta) d.h ν K) = |
| 589 | (fun _ => energyDebt (powerTail d.h (outgoingAmplitude d) K (outgoingShape d)) d.h ν K) := |
| 590 | funext fun eta => outgoing_energyDebt_eq d ν eta hK |
| 591 | rw [heq] |
| 592 | exact contDiff_const |
| 593 | |
| 594 | theorem outgoing_angular_eta_contDiff (d : TailData) (ν : ℝ) {K : ℝ} (hK : 0 < K) : |
| 595 | ContDiff ℝ ∞ (fun eta => angularDebt (outgoingProfile d K eta) d.h ν K) := by |
| 596 | have heq : (fun eta => angularDebt (outgoingProfile d K eta) d.h ν K) = |
| 597 | (fun _ => angularDebt (powerTail d.h (outgoingAmplitude d) K (outgoingShape d)) d.h ν K) := |
| 598 | funext fun eta => outgoing_angularDebt_eq d ν eta hK |
| 599 | rw [heq] |
| 600 | exact contDiff_const |
| 601 | |
| 602 | theorem outgoing_pressure_eta_jet_zero (d : TailData) (ν : ℝ) {K : ℝ} (hK : 0 < K) |
| 603 | (n : ℕ) (eta : ℝ) : |
| 604 | iteratedDeriv (n + 1) (fun eta => pressureDebt (outgoingProfile d K eta) d.h ν K) eta = 0 := by |
| 605 | have heq : (fun eta => pressureDebt (outgoingProfile d K eta) d.h ν K) = |
| 606 | (fun _ => pressureDebt (powerTail d.h (outgoingAmplitude d) K (outgoingShape d)) d.h ν K) := |
| 607 | funext fun eta => outgoing_pressureDebt_eq d ν eta hK |
| 608 | rw [heq, SmoothCutoffs.iteratedDeriv_const_succ] |
| 609 | |
| 610 | theorem outgoing_energy_eta_jet_zero (d : TailData) (ν : ℝ) {K : ℝ} (hK : 0 < K) |
| 611 | (n : ℕ) (eta : ℝ) : |
| 612 | iteratedDeriv (n + 1) (fun eta => energyDebt (outgoingProfile d K eta) d.h ν K) eta = 0 := by |
| 613 | have heq : (fun eta => energyDebt (outgoingProfile d K eta) d.h ν K) = |
| 614 | (fun _ => energyDebt (powerTail d.h (outgoingAmplitude d) K (outgoingShape d)) d.h ν K) := |
| 615 | funext fun eta => outgoing_energyDebt_eq d ν eta hK |
| 616 | rw [heq, SmoothCutoffs.iteratedDeriv_const_succ] |
| 617 | |
| 618 | theorem outgoing_angular_eta_jet_zero (d : TailData) (ν : ℝ) {K : ℝ} (hK : 0 < K) |
| 619 | (n : ℕ) (eta : ℝ) : |
| 620 | iteratedDeriv (n + 1) (fun eta => angularDebt (outgoingProfile d K eta) d.h ν K) eta = 0 := by |
| 621 | have heq : (fun eta => angularDebt (outgoingProfile d K eta) d.h ν K) = |
| 622 | (fun _ => angularDebt (powerTail d.h (outgoingAmplitude d) K (outgoingShape d)) d.h ν K) := |
| 623 | funext fun eta => outgoing_angularDebt_eq d ν eta hK |
| 624 | rw [heq, SmoothCutoffs.iteratedDeriv_const_succ] |
| 625 | |
| 626 | /-- The pressure estimate holds with every fixed slow-variable jet. -/ |
| 627 | theorem outgoing_pressure_jet_bound (d : TailData) {ν K : ℝ} (hν : 0 < ν) (hK : 0 < K) |
| 628 | (n : ℕ) (eta : ℝ) : |
| 629 | |iteratedDeriv n (fun eta => pressureDebt (outgoingProfile d K eta) d.h ν K) eta| ≤ |
| 630 | 2 * heatConstant d.h ν * outgoingAmplitude d ^ 2 / (K * (2 * exponent d.h + 1)) := by |
| 631 | cases n with |
| 632 | | zero => simpa only [iteratedDeriv_zero] using (outgoing_pressure d hν hK eta).2 |
| 633 | | succ n => |
| 634 | rw [outgoing_pressure_eta_jet_zero d ν hK n eta, abs_zero] |
| 635 | have hc := heatConstant_pos d.h_pos hν |
| 636 | have he : 0 < exponent d.h := by unfold exponent; linarith [d.h_pos] |
| 637 | positivity |
| 638 | |
| 639 | /-- The energy estimate holds with every fixed slow-variable jet. -/ |
| 640 | theorem outgoing_energy_jet_bound (d : TailData) {ν K : ℝ} (hν : 0 < ν) (hK : 0 < K) |
| 641 | (n : ℕ) (eta : ℝ) : |
| 642 | |iteratedDeriv n (fun eta => energyDebt (outgoingProfile d K eta) d.h ν K) eta| ≤ |
| 643 | 2 * heatConstant d.h ν * outgoingAmplitude d ^ 2 / (2 * exponent d.h) := by |
| 644 | cases n with |
| 645 | | zero => simpa only [iteratedDeriv_zero] using (outgoing_energy d hν hK eta).2 |
| 646 | | succ n => |
| 647 | rw [outgoing_energy_eta_jet_zero d ν hK n eta, abs_zero] |
| 648 | have hc := heatConstant_pos d.h_pos hν |
| 649 | have he : 0 < exponent d.h := by unfold exponent; linarith [d.h_pos] |
| 650 | positivity |
| 651 | |
| 652 | /-- The renormalized angular estimate holds with every fixed slow-variable jet. -/ |
| 653 | theorem outgoing_angular_jet_bound (d : TailData) {ν K : ℝ} (hν : 0 < ν) (hK : 0 < K) |
| 654 | (n : ℕ) (eta : ℝ) : |
| 655 | |iteratedDeriv n (fun eta => angularDebt (outgoingProfile d K eta) d.h ν K) eta| ≤ |
| 656 | Real.sqrt 2 * heatConstant d.h ν * outgoingAmplitude d * Real.sqrt K / d.h := by |
| 657 | cases n with |
| 658 | | zero => simpa only [iteratedDeriv_zero] using (outgoing_angular d hν hK eta).2 |
| 659 | | succ n => |
| 660 | rw [outgoing_angular_eta_jet_zero d ν hK n eta, abs_zero] |
| 661 | have hc := heatConstant_pos d.h_pos hν |
| 662 | have he := outgoingAmplitude_pos d |
| 663 | have hh := d.h_pos |
| 664 | positivity |
| 665 | |
| 666 | end NavierStokes.HeatTailEdit |