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.CorrectedPulseAmplitude |
| 2 | import NavierStokes.ReleaseMoments |
| 3 | import NavierStokes.SchedulePressure |
| 4 | import NavierStokes.ParametricRephase |
| 5 | |
| 6 | /-! |
| 7 | # A single outgoing profile before the heat-tail edit |
| 8 | |
| 9 | The profile stores one actual scheduled angular-reset witness. Its axial |
| 10 | amplitude is the corrected energy root associated with that same witness. |
| 11 | All histories and pressures below are integrals of these fields. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open Set Filter Function MeasureTheory |
| 17 | open scoped ContDiff Topology |
| 18 | open NavierStokes.OutgoingSchedule NavierStokes.OutgoingTail |
| 19 | open NavierStokes.AngularMomentReset NavierStokes.UniformAngularReset |
| 20 | |
| 21 | namespace NavierStokes.OutgoingProfile |
| 22 | |
| 23 | /-- One reset, used by both the angular profile and the energy root. -/ |
| 24 | structure Profile where |
| 25 | data : TailData |
| 26 | coefficientBound : ℝ |
| 27 | reset : ResetWitness data coefficientBound |
| 28 | |
| 29 | namespace Profile |
| 30 | |
| 31 | def amp (F : Profile) : ℝ → ℝ := |
| 32 | CorrectedPulseAmplitude.amplitude F.data F.reset.coefficients |
| 33 | |
| 34 | def logE (F : Profile) : ℝ × ℝ → ℝ := |
| 35 | correctedAngular F.data F.reset.coefficients |
| 36 | |
| 37 | def logU (F : Profile) : ℝ × ℝ → ℝ := axial F.data.core F.amp |
| 38 | |
| 39 | def E (F : Profile) (p : ℝ × ℝ) : ℝ := F.logE (Real.log p.1, p.2) |
| 40 | |
| 41 | def U (F : Profile) (p : ℝ × ℝ) : ℝ := F.logU (Real.log p.1, p.2) |
| 42 | |
| 43 | def H (F : Profile) (p : ℝ × ℝ) : ℝ := Real.sqrt (2 * p.1) * F.E p |
| 44 | |
| 45 | def powerE (F : Profile) (X : ℝ) : ℝ := |
| 46 | powerConstant F.data * X ^ (-(1 / 2 + F.data.h)) |
| 47 | |
| 48 | def powerH (F : Profile) (X : ℝ) : ℝ := Real.sqrt (2 * X) * F.powerE X |
| 49 | |
| 50 | def massWeight (F : Profile) (eta y : ℝ) : ℝ := Real.exp y * F.logU (y, eta) |
| 51 | |
| 52 | def angularWeight (F : Profile) (eta y : ℝ) : ℝ := |
| 53 | Real.sqrt 2 * Real.exp (3 * y / 2) * F.logE (y, eta) * F.logU (y, eta) |
| 54 | |
| 55 | def M (F : Profile) (eta X : ℝ) : ℝ := ∫ u in Ioc 0 X, F.U (u, eta) |
| 56 | |
| 57 | def J (F : Profile) (eta X : ℝ) : ℝ := ∫ u in Ioc 0 X, F.H (u, eta) * F.U (u, eta) |
| 58 | |
| 59 | def energyDensity (F : Profile) (eta X : ℝ) : ℝ := |
| 60 | F.U (X, eta) ^ 2 - F.E (X, eta) ^ 2 / 2 |
| 61 | |
| 62 | def totalS (F : Profile) (eta : ℝ) : ℝ := ∫ X in Ioi 0, F.energyDensity eta X |
| 63 | |
| 64 | def pressureWeight (F : Profile) (eta y : ℝ) : ℝ := F.logE (y, eta) ^ 2 |
| 65 | |
| 66 | def logPi (F : Profile) (p : ℝ × ℝ) : ℝ := |
| 67 | -(1 / 2 : ℝ) * ∫ y in Ioi p.1, F.pressureWeight p.2 y |
| 68 | |
| 69 | def Pi (F : Profile) (p : ℝ × ℝ) : ℝ := F.logPi (Real.log p.1, p.2) |
| 70 | |
| 71 | def axisDatum (F : Profile) (eta : ℝ) : ℝ := |
| 72 | -(1 / 2 : ℝ) * ∫ y, F.pressureWeight eta y |
| 73 | |
| 74 | def pressureChange (F : Profile) (eta y : ℝ) : ℝ := |
| 75 | F.pressureWeight eta y - finalAngular F.data (y, eta) ^ 2 |
| 76 | |
| 77 | theorem amp_contDiff (F : Profile) : ContDiff ℝ ∞ F.amp := |
| 78 | CorrectedPulseAmplitude.amplitude_contDiff F.data F.reset.smooth |
| 79 | |
| 80 | theorem logE_contDiff (F : Profile) : ContDiff ℝ ∞ F.logE := |
| 81 | correctedAngular_contDiff F.data F.reset.coefficients F.reset.smooth |
| 82 | |
| 83 | theorem logU_contDiff (F : Profile) : ContDiff ℝ ∞ F.logU := |
| 84 | axial_contDiff F.data.core F.amp_contDiff |
| 85 | |
| 86 | theorem E_pos (F : Profile) (p : ℝ × ℝ) : 0 < F.E p := |
| 87 | F.reset.positive _ |
| 88 | |
| 89 | theorem logE_before (F : Profile) (eta : ℝ) {y : ℝ} (hy : y ≤ F.data.core.endpoint) : |
| 90 | F.logE (y, eta) = angular F.data.core.P F.data.core.dropLength F.data.core.lam (y, eta) := by |
| 91 | have hout : y ∉ Ioo (F.data.releaseStart - 4) F.data.releaseStart := by |
| 92 | intro h |
| 93 | linarith [last_four_after_flatten F.data, flattenEnd_gt_core F.data, h.1] |
| 94 | rw [logE, correctedAngular_unchanged F.data F.reset.coefficients eta hout, |
| 95 | finalAngular_before F.data eta hy] |
| 96 | |
| 97 | theorem logE_ideal (F : Profile) (eta : ℝ) {y : ℝ} (hy : y ≤ 0) : |
| 98 | F.logE (y, eta) = F.data.core.P * shape eta * Real.exp (y / 10) := by |
| 99 | rw [F.logE_before eta (hy.trans (SchedulePressure.endpoint_pos F.data).le)] |
| 100 | exact angular_ideal F.data.core.dropLength_pos.le hy |
| 101 | |
| 102 | theorem logU_ideal (F : Profile) (eta : ℝ) {y : ℝ} (hy : y ≤ 0) : |
| 103 | F.logU (y, eta) = 4 * eta := axial_ideal F.data.core F.amp eta hy |
| 104 | |
| 105 | theorem logU_after (F : Profile) (eta : ℝ) {y : ℝ} (hy : F.data.core.endpoint ≤ y) : |
| 106 | F.logU (y, eta) = 0 := axial_after_pulse F.data.core F.amp eta hy |
| 107 | |
| 108 | theorem angular_product_unchanged (F : Profile) (eta y : ℝ) : |
| 109 | F.logE (y, eta) * F.logU (y, eta) = |
| 110 | angular F.data.core.P F.data.core.dropLength F.data.core.lam (y, eta) * F.logU (y, eta) := by |
| 111 | by_cases hy : y ≤ F.data.core.endpoint |
| 112 | · rw [F.logE_before eta hy] |
| 113 | · rw [F.logU_after eta (le_of_not_ge hy)] |
| 114 | simp |
| 115 | |
| 116 | theorem logE_eventual (F : Profile) (eta : ℝ) {y : ℝ} (hy : tailEnd F.data ≤ y) : |
| 117 | F.logE (y, eta) = powerConstant F.data * Real.exp (-(1 / 2 + F.data.h) * y) := by |
| 118 | have hr : F.data.releaseStart ≤ y := by |
| 119 | have ht := tailStart_gt_release F.data |
| 120 | dsimp [tailEnd] at hy |
| 121 | linarith |
| 122 | rw [logE, ReleaseMoments.corrected_eq_release F.data F.reset.coefficients eta hr] |
| 123 | exact finalAngular_eventual_power F.data 0 hy |
| 124 | |
| 125 | theorem E_ideal (F : Profile) (eta : ℝ) {X : ℝ} (hX : 0 < X) (hX' : X ≤ 1) : |
| 126 | F.E (X, eta) = F.data.core.P * shape eta * X ^ (1 / 10 : ℝ) := by |
| 127 | rw [E, F.logE_ideal eta (Real.log_nonpos hX.le hX'), Real.rpow_def_of_pos hX] |
| 128 | congr 2 |
| 129 | ring |
| 130 | |
| 131 | theorem U_ideal (F : Profile) (eta : ℝ) {X : ℝ} (hX : 0 < X) (hX' : X ≤ 1) : |
| 132 | F.U (X, eta) = 4 * eta := F.logU_ideal eta (Real.log_nonpos hX.le hX') |
| 133 | |
| 134 | theorem E_eventual (F : Profile) (eta : ℝ) {X : ℝ} (hX : 0 < X) |
| 135 | (hfar : tailEnd F.data ≤ Real.log X) : F.E (X, eta) = F.powerE X := by |
| 136 | rw [E, F.logE_eventual eta hfar, powerE, Real.rpow_def_of_pos hX] |
| 137 | congr 2 |
| 138 | ring |
| 139 | |
| 140 | theorem U_after (F : Profile) (eta : ℝ) {X : ℝ} |
| 141 | (hfar : F.data.core.endpoint ≤ Real.log X) : F.U (X, eta) = 0 := F.logU_after eta hfar |
| 142 | |
| 143 | end Profile |
| 144 | |
| 145 | def domain : Set (ℝ × ℝ) := Ioi 0 ×ˢ univ |
| 146 | |
| 147 | theorem logarithmic_coordinates_contDiffOn : |
| 148 | ContDiffOn ℝ ∞ (fun p : ℝ × ℝ => (Real.log p.1, p.2)) domain := by |
| 149 | exact (contDiffOn_fst.log (fun p hp => ne_of_gt hp.1)).prodMk contDiffOn_snd |
| 150 | |
| 151 | namespace Profile |
| 152 | |
| 153 | theorem E_contDiffOn (F : Profile) : ContDiffOn ℝ ∞ F.E domain := |
| 154 | F.logE_contDiff.comp_contDiffOn logarithmic_coordinates_contDiffOn |
| 155 | |
| 156 | theorem U_contDiffOn (F : Profile) : ContDiffOn ℝ ∞ F.U domain := |
| 157 | F.logU_contDiff.comp_contDiffOn logarithmic_coordinates_contDiffOn |
| 158 | |
| 159 | theorem H_contDiffOn (F : Profile) : ContDiffOn ℝ ∞ F.H domain := by |
| 160 | exact ((contDiffOn_const.mul contDiffOn_fst).sqrt |
| 161 | (fun p hp => ne_of_gt (mul_pos (by norm_num) hp.1))).mul F.E_contDiffOn |
| 162 | |
| 163 | theorem pressureChange_zero (F : Profile) (eta : ℝ) {y : ℝ} |
| 164 | (hy : y ∉ Ioo (F.data.releaseStart - 4) F.data.releaseStart) : |
| 165 | F.pressureChange eta y = 0 := by |
| 166 | simp [pressureChange, pressureWeight, logE, |
| 167 | correctedAngular_unchanged F.data F.reset.coefficients eta hy] |
| 168 | |
| 169 | theorem pressureChange_integrable (F : Profile) (eta : ℝ) : Integrable (F.pressureChange eta) := by |
| 170 | have hc : Continuous (F.pressureChange eta) := |
| 171 | (((F.logE_contDiff.comp (contDiff_id.prodMk contDiff_const)).pow 2).sub |
| 172 | (((finalAngular_contDiff F.data).comp (contDiff_id.prodMk contDiff_const)).pow 2)).continuous |
| 173 | have hs : support (F.pressureChange eta) ⊆ Icc (F.data.releaseStart - 4) F.data.releaseStart := by |
| 174 | intro y hy |
| 175 | by_contra hn |
| 176 | apply hy |
| 177 | exact F.pressureChange_zero eta (fun hm => hn ⟨hm.1.le, hm.2.le⟩) |
| 178 | exact hc.integrable_of_hasCompactSupport |
| 179 | (HasCompactSupport.of_support_subset_isCompact isCompact_Icc hs) |
| 180 | |
| 181 | theorem pressureWeight_integrable (F : Profile) (eta : ℝ) : Integrable (F.pressureWeight eta) := by |
| 182 | have h := (F.pressureChange_integrable eta).add (SchedulePressure.angular_square_integrable F.data eta) |
| 183 | convert! h using 1 |
| 184 | funext y |
| 185 | simp [pressureChange] |
| 186 | |
| 187 | theorem pressureWeight_integral (F : Profile) (eta : ℝ) : |
| 188 | (∫ y, F.pressureWeight eta y) = ∫ y, finalAngular F.data (y, eta) ^ 2 := by |
| 189 | have h := F.reset.pressure_neutral eta |
| 190 | change (∫ y, F.pressureWeight eta y - finalAngular F.data (y, eta) ^ 2) = 0 at h |
| 191 | rw [integral_sub (F.pressureWeight_integrable eta) (SchedulePressure.angular_square_integrable F.data eta)] at h |
| 192 | linarith |
| 193 | |
| 194 | theorem axisDatum_eq (F : Profile) : F.axisDatum = SchedulePressure.axisPressure F.data := by |
| 195 | funext eta |
| 196 | exact congrArg (fun a : ℝ => -(1 / 2 : ℝ) * a) (F.pressureWeight_integral eta) |
| 197 | |
| 198 | theorem axisDatum_contDiff (F : Profile) : ContDiff ℝ ∞ F.axisDatum := by |
| 199 | rw [F.axisDatum_eq] |
| 200 | exact SchedulePressure.axisPressure_contDiff F.data |
| 201 | |
| 202 | theorem axisDatum_analytic_extension (F : Profile) : |
| 203 | AnalyticOnNhd ℂ (SchedulePressure.complexAxisPressure F.data) PressureDatum.strip ∧ |
| 204 | ∀ eta : ℝ, SchedulePressure.complexAxisPressure F.data (eta : ℂ) = (F.axisDatum eta : ℂ) := by |
| 205 | refine ⟨SchedulePressure.complexAxisPressure_analytic F.data, ?_⟩ |
| 206 | intro eta |
| 207 | rw [F.axisDatum_eq, SchedulePressure.complexAxisPressure_ofReal] |
| 208 | |
| 209 | theorem natural_axis_pressureData (F : Profile) (hP : 2 ≤ F.data.core.P) : |
| 210 | NaturalAxisData.PressureData F.axisDatum := by |
| 211 | rw [F.axisDatum_eq] |
| 212 | exact SchedulePressure.natural_axis_pressureData F.data hP |
| 213 | |
| 214 | end Profile |
| 215 | |
| 216 | /-- Actual incoming exponential tails, integrated through any nonnegative |
| 217 | clock time. No finite-prefix constant is an additional assumption. -/ |
| 218 | theorem exponential_prefix_integral (f : ℝ → ℝ) (hf : Continuous f) |
| 219 | (a b : ℝ) (hb : 0 < b) (he : ∀ y ≤ 0, f y = a * Real.exp (b * y)) |
| 220 | {y : ℝ} (hy : 0 ≤ y) : |
| 221 | IntegrableOn f (Iic y) ∧ (∫ t in Iic y, f t) = a / b + ∫ t in (0 : ℝ)..y, f t := by |
| 222 | have h0 : IntegrableOn f (Iic (0 : ℝ)) := |
| 223 | IntegrableOn.congr_fun ((integrableOn_exp_mul_Iic hb 0).const_mul a) |
| 224 | (fun t ht => (he t ht).symm) measurableSet_Iic |
| 225 | have hi : IntegrableOn f (Iic y) := by |
| 226 | rw [← Iic_union_Ioc_eq_Iic hy] |
| 227 | exact h0.union hf.integrableOn_Ioc |
| 228 | have hv : (∫ t in Iic (0 : ℝ), f t) = a / b := by |
| 229 | calc |
| 230 | _ = ∫ t in Iic (0 : ℝ), a * Real.exp (b * t) := |
| 231 | setIntegral_congr_fun measurableSet_Iic (fun t ht => he t ht) |
| 232 | _ = _ := by rw [integral_const_mul, integral_exp_mul_Iic hb]; simp [div_eq_mul_inv] |
| 233 | refine ⟨hi, ?_⟩ |
| 234 | have h := intervalIntegral.integral_Iic_sub_Iic h0 hi |
| 235 | rw [hv] at h |
| 236 | linarith |
| 237 | |
| 238 | /-- Compact parameter integration supplies joint smoothness of the actual |
| 239 | variable-endpoint primitive. -/ |
| 240 | theorem primitive_joint_contDiff (f : ℝ × ℝ → ℝ) (hf : ContDiff ℝ ∞ f) : |
| 241 | ContDiff ℝ ∞ (fun p : ℝ × ℝ => ∫ t in (0 : ℝ)..p.1, f (t, p.2)) := by |
| 242 | let G : (ℝ × ℝ) × ℝ → ℝ := fun z => f (z.1.1 * z.2, z.1.2) |
| 243 | have hG : ContDiff ℝ ∞ G := |
| 244 | hf.comp ((contDiff_fst.fst.mul contDiff_snd).prodMk contDiff_fst.snd) |
| 245 | have hi : ContDiff ℝ ∞ (fun p => ∫ t in (0 : ℝ)..1, G (p, t)) := |
| 246 | contDiffOn_univ.mp (ParametricRephase.intervalIntegral_contDiffOn_of_joint G univ |
| 247 | isOpen_univ hG.contDiffOn 0 1 (by norm_num)) |
| 248 | have he : (fun p : ℝ × ℝ => ∫ t in (0 : ℝ)..p.1, f (t, p.2)) = |
| 249 | (fun p => p.1 * ∫ t in (0 : ℝ)..1, G (p, t)) := by |
| 250 | funext p |
| 251 | simpa only [G, smul_eq_mul, mul_zero, mul_one] using |
| 252 | (intervalIntegral.smul_integral_comp_mul_left (fun t => f (t, p.2)) p.1 |
| 253 | (a := 0) (b := 1)).symm |
| 254 | rw [he] |
| 255 | exact contDiff_fst.mul hi |
| 256 | |
| 257 | namespace Profile |
| 258 | |
| 259 | theorem massWeight_continuous (F : Profile) (eta : ℝ) : Continuous (F.massWeight eta) := |
| 260 | Real.continuous_exp.mul ((F.logU_contDiff.comp (contDiff_id.prodMk contDiff_const)).continuous) |
| 261 | |
| 262 | theorem angularWeight_continuous (F : Profile) (eta : ℝ) : Continuous (F.angularWeight eta) := |
| 263 | (((contDiff_const.mul ((contDiff_const.mul contDiff_id).div_const 2).exp).mul |
| 264 | (F.logE_contDiff.comp (contDiff_id.prodMk contDiff_const))).mul |
| 265 | (F.logU_contDiff.comp (contDiff_id.prodMk contDiff_const))).continuous |
| 266 | |
| 267 | theorem massWeight_ideal (F : Profile) (eta : ℝ) {y : ℝ} (hy : y ≤ 0) : |
| 268 | F.massWeight eta y = (4 * eta) * Real.exp (1 * y) := by |
| 269 | simp only [massWeight, F.logU_ideal eta hy, one_mul] |
| 270 | ring |
| 271 | |
| 272 | theorem angularWeight_ideal (F : Profile) (eta : ℝ) {y : ℝ} (hy : y ≤ 0) : |
| 273 | F.angularWeight eta y = (4 * Real.sqrt 2 * F.data.core.P * eta * shape eta) * |
| 274 | Real.exp ((8 / 5 : ℝ) * y) := by |
| 275 | have hw := ReleaseMoments.correctedWeight_ideal F.data F.reset.coefficients eta hy |
| 276 | change Real.exp (3 * y / 2) * F.logE (y, eta) = _ at hw |
| 277 | rw [angularWeight, F.logU_ideal eta hy, mul_assoc (Real.sqrt 2), hw] |
| 278 | ring |
| 279 | |
| 280 | theorem massWeight_integral_Iic (F : Profile) (eta : ℝ) {y : ℝ} (hy : 0 ≤ y) : |
| 281 | IntegrableOn (F.massWeight eta) (Iic y) ∧ |
| 282 | (∫ t in Iic y, F.massWeight eta t) = massMoment F.data.core F.amp eta y := by |
| 283 | have h := exponential_prefix_integral (F.massWeight eta) (F.massWeight_continuous eta) |
| 284 | (4 * eta) 1 (by norm_num) (fun _ ht => F.massWeight_ideal eta ht) hy |
| 285 | simpa only [div_one, massMoment, massWeight, logU] using h |
| 286 | |
| 287 | theorem angularWeight_integral_Iic (F : Profile) (eta : ℝ) {y : ℝ} (hy : 0 ≤ y) : |
| 288 | IntegrableOn (F.angularWeight eta) (Iic y) ∧ |
| 289 | (∫ t in Iic y, F.angularWeight eta t) = angularMoment F.data.core F.amp eta y := by |
| 290 | have h := exponential_prefix_integral (F.angularWeight eta) (F.angularWeight_continuous eta) |
| 291 | (4 * Real.sqrt 2 * F.data.core.P * eta * shape eta) (8 / 5) (by norm_num) |
| 292 | (fun _ ht => F.angularWeight_ideal eta ht) hy |
| 293 | refine ⟨h.1, h.2.trans ?_⟩ |
| 294 | have he : (∫ t in (0 : ℝ)..y, F.angularWeight eta t) = |
| 295 | ∫ t in (0 : ℝ)..y, Real.sqrt 2 * Real.exp (3 * t / 2) * |
| 296 | angular F.data.core.P F.data.core.dropLength F.data.core.lam (t, eta) * F.logU (t, eta) := by |
| 297 | apply intervalIntegral.integral_congr |
| 298 | intro t _ |
| 299 | dsimp only [angularWeight] |
| 300 | simpa only [mul_assoc] using congrArg (fun z => Real.sqrt 2 * Real.exp (3 * t / 2) * z) |
| 301 | (F.angular_product_unchanged eta t) |
| 302 | rw [he] |
| 303 | unfold angularMoment logU |
| 304 | ring |
| 305 | |
| 306 | theorem massWeight_integrable (F : Profile) (eta : ℝ) : Integrable (F.massWeight eta) := by |
| 307 | apply (F.massWeight_integral_Iic eta (SchedulePressure.endpoint_pos F.data).le).1.integrable_of_forall_notMem_eq_zero |
| 308 | intro y hy |
| 309 | simp [massWeight, F.logU_after eta (le_of_lt (not_le.mp hy))] |
| 310 | |
| 311 | theorem angularWeight_integrable (F : Profile) (eta : ℝ) : Integrable (F.angularWeight eta) := by |
| 312 | apply (F.angularWeight_integral_Iic eta (SchedulePressure.endpoint_pos F.data).le).1.integrable_of_forall_notMem_eq_zero |
| 313 | intro y hy |
| 314 | simp [angularWeight, F.logU_after eta (le_of_lt (not_le.mp hy))] |
| 315 | |
| 316 | theorem massWeight_integral_zero (F : Profile) (eta : ℝ) : (∫ y, F.massWeight eta y) = 0 := by |
| 317 | have h : (∫ y in Iic F.data.core.endpoint, F.massWeight eta y) = ∫ y, F.massWeight eta y := by |
| 318 | apply setIntegral_eq_integral_of_forall_compl_eq_zero |
| 319 | intro y hy |
| 320 | simp [massWeight, F.logU_after eta (le_of_lt (not_le.mp hy))] |
| 321 | rw [← h, (F.massWeight_integral_Iic eta (SchedulePressure.endpoint_pos F.data).le).2] |
| 322 | exact massMoment_endpoint F.data.core F.amp eta |
| 323 | |
| 324 | theorem angularWeight_integral_zero (F : Profile) (eta : ℝ) : (∫ y, F.angularWeight eta y) = 0 := by |
| 325 | have h : (∫ y in Iic F.data.core.endpoint, F.angularWeight eta y) = ∫ y, F.angularWeight eta y := by |
| 326 | apply setIntegral_eq_integral_of_forall_compl_eq_zero |
| 327 | intro y hy |
| 328 | simp [angularWeight, F.logU_after eta (le_of_lt (not_le.mp hy))] |
| 329 | rw [← h, (F.angularWeight_integral_Iic eta (SchedulePressure.endpoint_pos F.data).le).2] |
| 330 | exact angularMoment_endpoint F.data.core F.amp eta |
| 331 | |
| 332 | theorem pressureWeight_ideal (F : Profile) (eta : ℝ) {y : ℝ} (hy : y ≤ 0) : |
| 333 | F.pressureWeight eta y = (F.data.core.P ^ 2 * shape eta ^ 2) * Real.exp ((1 / 5 : ℝ) * y) := by |
| 334 | simp only [pressureWeight, F.logE_ideal eta hy, mul_pow] |
| 335 | rw [pow_two (Real.exp _), ← Real.exp_add] |
| 336 | congr 2 |
| 337 | ring |
| 338 | |
| 339 | theorem pressureWeight_integral_ideal (F : Profile) (eta : ℝ) {y : ℝ} (hy : y ≤ 0) : |
| 340 | (∫ t in Iic y, F.pressureWeight eta t) = |
| 341 | 5 * F.data.core.P ^ 2 * shape eta ^ 2 * Real.exp (y / 5) := by |
| 342 | calc |
| 343 | _ = ∫ t in Iic y, (F.data.core.P ^ 2 * shape eta ^ 2) * Real.exp ((1 / 5 : ℝ) * t) := |
| 344 | setIntegral_congr_fun measurableSet_Iic (fun t ht => F.pressureWeight_ideal eta (ht.trans hy)) |
| 345 | _ = _ := by |
| 346 | rw [integral_const_mul, integral_exp_mul_Iic (by norm_num : (0 : ℝ) < 1 / 5)] |
| 347 | have he : (1 / 5 : ℝ) * y = y / 5 := by ring |
| 348 | rw [he] |
| 349 | ring |
| 350 | |
| 351 | theorem logPi_eq_primitive (F : Profile) (y eta : ℝ) : |
| 352 | F.logPi (y, eta) = F.axisDatum eta + (5 / 2) * F.data.core.P ^ 2 * shape eta ^ 2 + |
| 353 | (1 / 2) * ∫ t in (0 : ℝ)..y, F.pressureWeight eta t := by |
| 354 | have hi := F.pressureWeight_integrable eta |
| 355 | have hsplit := intervalIntegral.integral_Iic_add_Ioi |
| 356 | (hi.integrableOn (s := Iic y)) (hi.integrableOn (s := Ioi y)) |
| 357 | have hd := intervalIntegral.integral_Iic_sub_Iic |
| 358 | (hi.integrableOn (s := Iic (0 : ℝ))) (hi.integrableOn (s := Iic y)) |
| 359 | rw [F.pressureWeight_integral_ideal eta le_rfl] at hd |
| 360 | norm_num only [zero_div, Real.exp_zero, mul_one] at hd |
| 361 | dsimp only [logPi, axisDatum] |
| 362 | linarith |
| 363 | |
| 364 | theorem logPi_contDiff (F : Profile) : ContDiff ℝ ∞ F.logPi := by |
| 365 | have he : F.logPi = fun p : ℝ × ℝ => |
| 366 | F.axisDatum p.2 + (5 / 2) * F.data.core.P ^ 2 * shape p.2 ^ 2 + |
| 367 | (1 / 2) * ∫ t in (0 : ℝ)..p.1, F.pressureWeight p.2 t := by |
| 368 | funext p |
| 369 | exact F.logPi_eq_primitive p.1 p.2 |
| 370 | rw [he] |
| 371 | exact ((F.axisDatum_contDiff.comp contDiff_snd).add |
| 372 | (contDiff_const.mul ((shape_contDiff.comp contDiff_snd).pow 2))).add |
| 373 | (contDiff_const.mul (primitive_joint_contDiff (fun p => F.logE p ^ 2) (F.logE_contDiff.pow 2))) |
| 374 | |
| 375 | theorem Pi_contDiffOn (F : Profile) : ContDiffOn ℝ ∞ F.Pi domain := |
| 376 | F.logPi_contDiff.comp_contDiffOn logarithmic_coordinates_contDiffOn |
| 377 | |
| 378 | theorem logPi_ideal (F : Profile) (eta : ℝ) {y : ℝ} (hy : y ≤ 0) : |
| 379 | F.logPi (y, eta) = F.axisDatum eta + |
| 380 | (5 / 2) * F.data.core.P ^ 2 * shape eta ^ 2 * Real.exp (y / 5) := by |
| 381 | have hi := F.pressureWeight_integrable eta |
| 382 | have hs := intervalIntegral.integral_Iic_add_Ioi |
| 383 | (hi.integrableOn (s := Iic y)) (hi.integrableOn (s := Ioi y)) |
| 384 | rw [F.pressureWeight_integral_ideal eta hy] at hs |
| 385 | dsimp only [logPi, axisDatum] |
| 386 | linarith |
| 387 | |
| 388 | theorem Pi_ideal (F : Profile) (eta : ℝ) {X : ℝ} (hX : 0 < X) (hX' : X ≤ 1) : |
| 389 | F.Pi (X, eta) = F.axisDatum eta + |
| 390 | (5 / 2) * F.data.core.P ^ 2 * shape eta ^ 2 * X ^ (1 / 5 : ℝ) := by |
| 391 | rw [Pi, F.logPi_ideal eta (Real.log_nonpos hX.le hX'), Real.rpow_def_of_pos hX] |
| 392 | congr 3 |
| 393 | ring |
| 394 | |
| 395 | theorem mass_comp_exp (F : Profile) (eta y : ℝ) : |
| 396 | |Real.exp y| • F.U (Real.exp y, eta) = F.massWeight eta y := by |
| 397 | simp only [abs_of_pos (Real.exp_pos y), smul_eq_mul, U, Real.log_exp, massWeight] |
| 398 | |
| 399 | theorem angular_comp_exp (F : Profile) (eta y : ℝ) : |
| 400 | |Real.exp y| • (F.H (Real.exp y, eta) * F.U (Real.exp y, eta)) = F.angularWeight eta y := by |
| 401 | simp only [abs_of_pos (Real.exp_pos y), smul_eq_mul, H, E, U, Real.log_exp, angularWeight] |
| 402 | rw [← mul_assoc (Real.exp y), ← mul_assoc (Real.exp y), ReleaseMoments.exponential_radial_weight] |
| 403 | |
| 404 | theorem mass_integrable (F : Profile) (eta : ℝ) : |
| 405 | IntegrableOn (fun X => F.U (X, eta)) (Ioi 0) := by |
| 406 | rw [← Real.range_exp, ← image_univ] |
| 407 | apply (integrableOn_image_iff_integrableOn_abs_deriv_smul MeasurableSet.univ |
| 408 | (fun y _ => (Real.hasDerivAt_exp y).hasDerivWithinAt) Real.exp_injective.injOn _).mpr |
| 409 | simp_rw [F.mass_comp_exp] |
| 410 | exact (F.massWeight_integrable eta).integrableOn |
| 411 | |
| 412 | theorem angular_integrable (F : Profile) (eta : ℝ) : |
| 413 | IntegrableOn (fun X => F.H (X, eta) * F.U (X, eta)) (Ioi 0) := by |
| 414 | rw [← Real.range_exp, ← image_univ] |
| 415 | apply (integrableOn_image_iff_integrableOn_abs_deriv_smul MeasurableSet.univ |
| 416 | (fun y _ => (Real.hasDerivAt_exp y).hasDerivWithinAt) Real.exp_injective.injOn _).mpr |
| 417 | simp_rw [F.angular_comp_exp] |
| 418 | exact (F.angularWeight_integrable eta).integrableOn |
| 419 | |
| 420 | theorem mass_integral_zero (F : Profile) (eta : ℝ) : |
| 421 | (∫ X in Ioi 0, F.U (X, eta)) = 0 := by |
| 422 | rw [← Real.range_exp, ← image_univ, |
| 423 | integral_image_eq_integral_abs_deriv_smul MeasurableSet.univ |
| 424 | (fun y _ => (Real.hasDerivAt_exp y).hasDerivWithinAt) Real.exp_injective.injOn] |
| 425 | simp_rw [F.mass_comp_exp] |
| 426 | rw [setIntegral_univ, F.massWeight_integral_zero] |
| 427 | |
| 428 | theorem angular_integral_zero (F : Profile) (eta : ℝ) : |
| 429 | (∫ X in Ioi 0, F.H (X, eta) * F.U (X, eta)) = 0 := by |
| 430 | rw [← Real.range_exp, ← image_univ, |
| 431 | integral_image_eq_integral_abs_deriv_smul MeasurableSet.univ |
| 432 | (fun y _ => (Real.hasDerivAt_exp y).hasDerivWithinAt) Real.exp_injective.injOn] |
| 433 | simp_rw [F.angular_comp_exp] |
| 434 | rw [setIntegral_univ, F.angularWeight_integral_zero] |
| 435 | |
| 436 | theorem M_at_exp (F : Profile) (eta : ℝ) {y : ℝ} (hy : 0 ≤ y) : |
| 437 | F.M eta (Real.exp y) = massMoment F.data.core F.amp eta y := by |
| 438 | rw [M, ← ReleaseMoments.image_exp_Iic, |
| 439 | integral_image_eq_integral_abs_deriv_smul measurableSet_Iic |
| 440 | (fun t _ => (Real.hasDerivAt_exp t).hasDerivWithinAt) Real.exp_injective.injOn] |
| 441 | simp_rw [F.mass_comp_exp] |
| 442 | exact (F.massWeight_integral_Iic eta hy).2 |
| 443 | |
| 444 | theorem J_at_exp (F : Profile) (eta : ℝ) {y : ℝ} (hy : 0 ≤ y) : |
| 445 | F.J eta (Real.exp y) = angularMoment F.data.core F.amp eta y := by |
| 446 | rw [J, ← ReleaseMoments.image_exp_Iic, |
| 447 | integral_image_eq_integral_abs_deriv_smul measurableSet_Iic |
| 448 | (fun t _ => (Real.hasDerivAt_exp t).hasDerivWithinAt) Real.exp_injective.injOn] |
| 449 | simp_rw [F.angular_comp_exp] |
| 450 | exact (F.angularWeight_integral_Iic eta hy).2 |
| 451 | |
| 452 | theorem moments_after (F : Profile) (eta : ℝ) {X : ℝ} (hX : 0 < X) |
| 453 | (hfar : F.data.core.endpoint ≤ Real.log X) : F.M eta X = 0 ∧ F.J eta X = 0 := by |
| 454 | have hy : 0 ≤ Real.log X := (SchedulePressure.endpoint_pos F.data).le.trans hfar |
| 455 | have hM := F.M_at_exp eta hy |
| 456 | have hJ := F.J_at_exp eta hy |
| 457 | rw [Real.exp_log hX, massMoment_after_pulse F.data.core F.amp eta hfar] at hM |
| 458 | rw [Real.exp_log hX, angularMoment_after_pulse F.data.core F.amp eta hfar] at hJ |
| 459 | exact ⟨hM, hJ⟩ |
| 460 | |
| 461 | theorem energyDensity_eq (F : Profile) (eta : ℝ) : |
| 462 | F.energyDensity eta = CorrectedPulseAmplitude.radialEnergyIntegrand F.data F.reset.coefficients F.amp eta 1 := by |
| 463 | funext X |
| 464 | simp only [energyDensity, E, U, logE, logU, CorrectedPulseAmplitude.radialEnergyIntegrand, div_one] |
| 465 | |
| 466 | theorem energy_integrable (F : Profile) (eta : ℝ) : IntegrableOn (F.energyDensity eta) (Ioi 0) := by |
| 467 | rw [F.energyDensity_eq] |
| 468 | exact CorrectedPulseAmplitude.radialEnergy_integrable F.data F.reset.coefficients F.amp eta 1 (by norm_num) |
| 469 | |
| 470 | theorem totalS_eq (F : Profile) (eta : ℝ) : |
| 471 | F.totalS eta = CorrectedPulseAmplitude.totalEnergy F.data F.reset.coefficients (F.amp eta) eta := by |
| 472 | unfold totalS |
| 473 | rw [F.energyDensity_eq, CorrectedPulseAmplitude.radialEnergy_integral F.data F.reset.coefficients |
| 474 | F.amp eta 1 (by norm_num), one_mul] |
| 475 | |
| 476 | theorem renormalized_integrable (F : Profile) (eta : ℝ) : |
| 477 | IntegrableOn (fun X => F.H (X, eta) - F.powerH X) (Ioi 0) := |
| 478 | ReleaseMoments.ResetWitness.renormalized_radial_integrable F.reset eta |
| 479 | |
| 480 | theorem renormalized_angular_moment (F : Profile) (eta : ℝ) : |
| 481 | (∫ X in Ioi 0, F.H (X, eta) - F.powerH X) = 0 := |
| 482 | ReleaseMoments.ResetWitness.renormalized_angular_moment F.reset eta |
| 483 | |
| 484 | theorem angular_history_eventual (F : Profile) (eta : ℝ) {X : ℝ} (hX : 0 < X) |
| 485 | (hfar : tailEnd F.data ≤ Real.log X) : |
| 486 | (∫ u in Ioc 0 X, F.H (u, eta)) = X * F.H (X, eta) / (1 - F.data.h) := |
| 487 | ReleaseMoments.ResetWitness.radial_history_eventual F.reset eta hX hfar |
| 488 | |
| 489 | theorem Pi_tendsto_axis (F : Profile) (eta : ℝ) : |
| 490 | Tendsto (fun X => F.Pi (X, eta)) (𝓝[>] (0 : ℝ)) (𝓝 (F.axisDatum eta)) := by |
| 491 | have hp : Tendsto (fun X : ℝ => X ^ (1 / 5 : ℝ)) (𝓝[>] (0 : ℝ)) (𝓝 (0 : ℝ)) := by |
| 492 | have h : ContinuousAt (fun X : ℝ => X ^ (1 / 5 : ℝ)) 0 := |
| 493 | (Real.continuous_rpow_const (by norm_num : (0 : ℝ) ≤ 1 / 5)).continuousAt |
| 494 | simpa only [Real.zero_rpow (by norm_num : (1 / 5 : ℝ) ≠ 0)] using |
| 495 | h.continuousWithinAt.tendsto (s := Ioi (0 : ℝ)) |
| 496 | have he : (fun X => F.Pi (X, eta)) =ᶠ[𝓝[>] (0 : ℝ)] |
| 497 | (fun X => F.axisDatum eta + (5 / 2) * F.data.core.P ^ 2 * shape eta ^ 2 * X ^ (1 / 5 : ℝ)) := by |
| 498 | filter_upwards [self_mem_nhdsWithin, mem_nhdsWithin_of_mem_nhds (Iio_mem_nhds (by norm_num : (0 : ℝ) < 1))] with X hX hX' |
| 499 | exact F.Pi_ideal eta hX hX'.le |
| 500 | have ht : Tendsto |
| 501 | (fun X => F.axisDatum eta + (5 / 2) * F.data.core.P ^ 2 * shape eta ^ 2 * X ^ (1 / 5 : ℝ)) |
| 502 | (𝓝[>] (0 : ℝ)) (𝓝 (F.axisDatum eta + (5 / 2) * F.data.core.P ^ 2 * shape eta ^ 2 * 0)) := |
| 503 | tendsto_const_nhds.add (hp.const_mul ((5 / 2) * F.data.core.P ^ 2 * shape eta ^ 2)) |
| 504 | simpa only [mul_zero, add_zero] using ht.congr' he.symm |
| 505 | |
| 506 | end Profile |
| 507 | |
| 508 | theorem image_exp_Ioi (y : ℝ) : Real.exp '' Ioi y = Ioi (Real.exp y) := by |
| 509 | ext X |
| 510 | constructor |
| 511 | · rintro ⟨t, ht, rfl⟩ |
| 512 | exact Real.exp_lt_exp.mpr ht |
| 513 | · intro hX |
| 514 | have hp : 0 < X := (Real.exp_pos y).trans hX |
| 515 | refine ⟨Real.log X, ?_, Real.exp_log hp⟩ |
| 516 | exact Real.exp_lt_exp.mp (by rw [Real.exp_log hp]; exact hX) |
| 517 | |
| 518 | namespace Profile |
| 519 | |
| 520 | def canonicalKernel (F : Profile) (eta X : ℝ) : ℝ := F.E (X, eta) ^ 2 / X |
| 521 | |
| 522 | theorem canonicalKernel_comp_exp (F : Profile) (eta y : ℝ) : |
| 523 | |Real.exp y| • F.canonicalKernel eta (Real.exp y) = F.pressureWeight eta y := by |
| 524 | simp only [abs_of_pos (Real.exp_pos y), smul_eq_mul, canonicalKernel, E, Real.log_exp, pressureWeight] |
| 525 | field_simp |
| 526 | |
| 527 | theorem canonicalKernel_integrable (F : Profile) (eta : ℝ) : |
| 528 | IntegrableOn (F.canonicalKernel eta) (Ioi 0) := by |
| 529 | rw [← Real.range_exp, ← image_univ] |
| 530 | apply (integrableOn_image_iff_integrableOn_abs_deriv_smul MeasurableSet.univ |
| 531 | (fun y _ => (Real.hasDerivAt_exp y).hasDerivWithinAt) Real.exp_injective.injOn _).mpr |
| 532 | simp_rw [F.canonicalKernel_comp_exp] |
| 533 | exact (F.pressureWeight_integrable eta).integrableOn |
| 534 | |
| 535 | theorem Pi_canonical (F : Profile) (eta : ℝ) {X : ℝ} (hX : 0 < X) : |
| 536 | F.Pi (X, eta) = -(1 / 2 : ℝ) * ∫ u in Ioi X, F.E (u, eta) ^ 2 / u := by |
| 537 | have h := integral_image_eq_integral_abs_deriv_smul measurableSet_Ioi |
| 538 | (fun y (_ : y ∈ Ioi (Real.log X)) => (Real.hasDerivAt_exp y).hasDerivWithinAt) |
| 539 | Real.exp_injective.injOn (F.canonicalKernel eta) |
| 540 | rw [image_exp_Ioi, Real.exp_log hX] at h |
| 541 | simp_rw [F.canonicalKernel_comp_exp] at h |
| 542 | change -(1 / 2 : ℝ) * (∫ y in Ioi (Real.log X), F.pressureWeight eta y) = _ |
| 543 | rw [← h] |
| 544 | rfl |
| 545 | |
| 546 | theorem tailEnd_after_endpoint (F : Profile) : F.data.core.endpoint ≤ tailEnd F.data := by |
| 547 | have hf := flattenEnd_gt_core F.data |
| 548 | have hr := releaseStart_gt_flattenEnd F.data |
| 549 | have ht := tailStart_gt_release F.data |
| 550 | dsimp only [tailEnd] |
| 551 | linarith |
| 552 | |
| 553 | end Profile |
| 554 | |
| 555 | /-- All fields in this specification refer to one `Profile`, hence one reset |
| 556 | and its associated corrected energy root. -/ |
| 557 | structure Specification (F : Profile) (C : ℝ) : Prop where |
| 558 | amplitude_smooth : ContDiff ℝ ∞ F.amp |
| 559 | angular_smooth : ContDiffOn ℝ ∞ F.E domain |
| 560 | axial_smooth : ContDiffOn ℝ ∞ F.U domain |
| 561 | momentum_smooth : ContDiffOn ℝ ∞ F.H domain |
| 562 | pressure_smooth : ContDiffOn ℝ ∞ F.Pi domain |
| 563 | angular_positive : ∀ p ∈ domain, 0 < F.E p |
| 564 | amplitude_bounds : ∀ eta : ℝ, eta ^ 2 ≤ 1 → |
| 565 | 9 / 10 < F.amp eta ∧ F.amp eta < 6 / 5 ∧ |
| 566 | |deriv F.amp eta| ≤ C * F.data.core.lam * (1 + Real.log (1 / F.data.core.lam)) |
| 567 | mass_integrable : ∀ eta : ℝ, IntegrableOn (fun X => F.U (X, eta)) (Ioi 0) |
| 568 | angular_integrable : ∀ eta : ℝ, IntegrableOn (fun X => F.H (X, eta) * F.U (X, eta)) (Ioi 0) |
| 569 | mass_total_zero : ∀ eta : ℝ, (∫ X in Ioi 0, F.U (X, eta)) = 0 |
| 570 | angular_total_zero : ∀ eta : ℝ, (∫ X in Ioi 0, F.H (X, eta) * F.U (X, eta)) = 0 |
| 571 | after_pulse : ∀ eta X : ℝ, 0 < X → F.data.core.endpoint ≤ Real.log X → |
| 572 | F.U (X, eta) = 0 ∧ F.M eta X = 0 ∧ F.J eta X = 0 |
| 573 | energy_integrable : ∀ eta : ℝ, IntegrableOn (F.energyDensity eta) (Ioi 0) |
| 574 | energy_zero : ∀ eta : ℝ, eta ^ 2 ≤ 1 → F.totalS eta = 0 |
| 575 | renormalized_integrable : ∀ eta : ℝ, IntegrableOn (fun X => F.H (X, eta) - F.powerH X) (Ioi 0) |
| 576 | renormalized_zero : ∀ eta : ℝ, (∫ X in Ioi 0, F.H (X, eta) - F.powerH X) = 0 |
| 577 | eventual_power : ∀ eta X : ℝ, 0 < X → tailEnd F.data ≤ Real.log X → |
| 578 | F.U (X, eta) = 0 ∧ F.E (X, eta) = F.powerE X ∧ |
| 579 | (∫ u in Ioc 0 X, F.H (u, eta)) = X * F.H (X, eta) / (1 - F.data.h) |
| 580 | ideal_prefix : ∀ eta X : ℝ, 0 < X → X ≤ 1 → |
| 581 | F.E (X, eta) = F.data.core.P * shape eta * X ^ (1 / 10 : ℝ) ∧ |
| 582 | F.U (X, eta) = 4 * eta ∧ |
| 583 | F.Pi (X, eta) = F.axisDatum eta + (5 / 2) * F.data.core.P ^ 2 * shape eta ^ 2 * X ^ (1 / 5 : ℝ) |
| 584 | pressure_integrable : ∀ eta : ℝ, IntegrableOn (F.canonicalKernel eta) (Ioi 0) |
| 585 | pressure_canonical : ∀ eta X : ℝ, 0 < X → |
| 586 | F.Pi (X, eta) = -(1 / 2 : ℝ) * ∫ u in Ioi X, F.E (u, eta) ^ 2 / u |
| 587 | same_axis_datum : F.axisDatum = SchedulePressure.axisPressure F.data |
| 588 | axis_limit : ∀ eta : ℝ, Tendsto (fun X => F.Pi (X, eta)) (𝓝[>] (0 : ℝ)) (𝓝 (F.axisDatum eta)) |
| 589 | analytic_axis_datum : AnalyticOnNhd ℂ (SchedulePressure.complexAxisPressure F.data) PressureDatum.strip ∧ |
| 590 | ∀ eta : ℝ, SchedulePressure.complexAxisPressure F.data (eta : ℂ) = (F.axisDatum eta : ℂ) |
| 591 | |
| 592 | /-- Assemble the actual fields from the same witness returned by the corrected |
| 593 | amplitude construction. The smallness threshold is uniform in the tail `h`. -/ |
| 594 | theorem exists_profile_for_data (P m : ℝ) (hP : 0 < P) : |
| 595 | ∃ lam₀ C : ℝ, 0 < lam₀ ∧ 0 < C ∧ ∀ d : TailData, |
| 596 | d.core.P = P → d.core.m = m → d.core.wait = 60 * Real.log (1 / d.core.lam) → |
| 597 | d.core.lam < lam₀ → ∃ F : Profile, F.data = d ∧ Specification F C := by |
| 598 | obtain ⟨lam₀, K, C, hlam₀, _hK, hC, hc⟩ := |
| 599 | CorrectedPulseAmplitude.exists_corrected_amplitude P m hP |
| 600 | refine ⟨lam₀, C, hlam₀, hC, ?_⟩ |
| 601 | intro d hdP hdm hwait hlam |
| 602 | obtain ⟨w, hs, hspec⟩ := hc d hdP hdm hwait hlam |
| 603 | let F : Profile := ⟨d, K, w⟩ |
| 604 | refine ⟨F, rfl, { |
| 605 | amplitude_smooth := F.amp_contDiff |
| 606 | angular_smooth := F.E_contDiffOn |
| 607 | axial_smooth := F.U_contDiffOn |
| 608 | momentum_smooth := F.H_contDiffOn |
| 609 | pressure_smooth := F.Pi_contDiffOn |
| 610 | angular_positive := fun p _ => F.E_pos p |
| 611 | amplitude_bounds := ?_ |
| 612 | mass_integrable := F.mass_integrable |
| 613 | angular_integrable := F.angular_integrable |
| 614 | mass_total_zero := F.mass_integral_zero |
| 615 | angular_total_zero := F.angular_integral_zero |
| 616 | after_pulse := fun eta X hX hfar => ⟨F.U_after eta hfar, F.moments_after eta hX hfar⟩ |
| 617 | energy_integrable := F.energy_integrable |
| 618 | energy_zero := ?_ |
| 619 | renormalized_integrable := F.renormalized_integrable |
| 620 | renormalized_zero := F.renormalized_angular_moment |
| 621 | eventual_power := fun eta X hX hfar => |
| 622 | ⟨F.U_after eta (F.tailEnd_after_endpoint.trans hfar), F.E_eventual eta hX hfar, |
| 623 | F.angular_history_eventual eta hX hfar⟩ |
| 624 | ideal_prefix := fun eta X hX hX' => |
| 625 | ⟨F.E_ideal eta hX hX', F.U_ideal eta hX hX', F.Pi_ideal eta hX hX'⟩ |
| 626 | pressure_integrable := F.canonicalKernel_integrable |
| 627 | pressure_canonical := fun eta X hX => F.Pi_canonical eta hX |
| 628 | same_axis_datum := F.axisDatum_eq |
| 629 | axis_limit := F.Pi_tendsto_axis |
| 630 | analytic_axis_datum := F.axisDatum_analytic_extension }⟩ |
| 631 | · intro eta heta |
| 632 | obtain ⟨ha, ha', _, hd, _⟩ := hspec eta heta |
| 633 | exact ⟨ha, ha', hd⟩ |
| 634 | · intro eta heta |
| 635 | rw [F.totalS_eq] |
| 636 | exact (hspec eta heta).2.2.1 |
| 637 | |
| 638 | /-- Choose `lam` after the fixed prefix parameters, and then any permitted |
| 639 | `h`. The actual outgoing profile has every exact pre-heat moment constraint. -/ |
| 640 | theorem exists_outgoing_profile (P m : ℝ) (hP : 0 < P) (hm : 0 < m) : |
| 641 | ∃ lam₀ C : ℝ, 0 < lam₀ ∧ 0 < C ∧ ∀ lam : ℝ, |
| 642 | 0 < lam → lam < lam₀ → ∀ h : ℝ, 0 < h → 2 * h < lam → |
| 643 | ∃ F : Profile, F.data.core.P = P ∧ F.data.core.m = m ∧ |
| 644 | F.data.core.lam = lam ∧ F.data.h = h ∧ |
| 645 | F.data.core.wait = 60 * Real.log (1 / lam) ∧ Specification F C := by |
| 646 | obtain ⟨lam₀, C, hlam₀, hC, hc⟩ := exists_profile_for_data P m hP |
| 647 | refine ⟨min lam₀ (1 / 10), C, lt_min hlam₀ (by norm_num), hC, ?_⟩ |
| 648 | intro lam hlam hlam' h hh hsmall |
| 649 | have hl : lam < 1 / 10 := lt_of_lt_of_le hlam' (min_le_right _ _) |
| 650 | let d : TailData := ⟨paperParameters P m lam hP hm hlam hl, h, hh, hsmall⟩ |
| 651 | obtain ⟨F, hF, hs⟩ := hc d rfl rfl rfl (lt_of_lt_of_le hlam' (min_le_left _ _)) |
| 652 | refine ⟨F, ?_, ?_, ?_, ?_, ?_, hs⟩ <;> rw [hF] <;> rfl |
| 653 | |
| 654 | /-- A single positive schedule parameter works before the terminal parameter |
| 655 | is selected. -/ |
| 656 | theorem exists_fixed_lambda (P m : ℝ) (hP : 0 < P) (hm : 0 < m) : |
| 657 | ∃ lam C : ℝ, 0 < lam ∧ 0 < C ∧ ∀ h : ℝ, 0 < h → 2 * h < lam → |
| 658 | ∃ F : Profile, F.data.core.P = P ∧ F.data.core.m = m ∧ |
| 659 | F.data.core.lam = lam ∧ F.data.h = h ∧ Specification F C := by |
| 660 | obtain ⟨lam₀, C, hlam₀, hC, hc⟩ := exists_outgoing_profile P m hP hm |
| 661 | refine ⟨lam₀ / 2, C, half_pos hlam₀, hC, ?_⟩ |
| 662 | intro h hh hsmall |
| 663 | obtain ⟨F, hP', hm', hl', hh', _, hs⟩ := |
| 664 | hc (lam₀ / 2) (half_pos hlam₀) (by linarith) h hh hsmall |
| 665 | exact ⟨F, hP', hm', hl', hh', hs⟩ |
| 666 | |
| 667 | end NavierStokes.OutgoingProfile |