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.DiagonalJetBounds |
| 2 | import NavierStokes.SpatialBorelExtension |
| 3 | import NavierStokes.SlowExpansionResidual |
| 4 | import NavierStokes.PhysicalCoordinateBounds |
| 5 | import NavierStokes.ProfileHistories |
| 6 | import Mathlib.Analysis.Calculus.ContDiff.Bounds |
| 7 | import Mathlib.Analysis.SpecialFunctions.Sqrt |
| 8 | |
| 9 | /-! |
| 10 | # Constructing the slow asymptotic base from smooth coefficient data |
| 11 | |
| 12 | The cutoff-stage bounds are derived from compactness of actual derivatives on |
| 13 | a normalized coordinate set. They are not assumptions on the output series. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace NavierStokes.SlowBorelBase |
| 19 | |
| 20 | open Set Filter Function |
| 21 | open scoped Topology ContDiff BigOperators |
| 22 | |
| 23 | abbrev Inner := ℝ × ℝ |
| 24 | abbrev Chart := ℝ × Inner |
| 25 | |
| 26 | noncomputable def scaleMap (q : ℝ) : Chart →L[ℝ] Chart := |
| 27 | SpatialBorelExtension.timeScale q |
| 28 | |
| 29 | @[simp] theorem scaleMap_apply (q : ℝ) (y : Chart) : scaleMap q y = (q * y.1, y.2) := rfl |
| 30 | |
| 31 | noncomputable def localPower (b q : ℝ) : ℝ := SmoothCutoffs.cutoff (4 * (q - 1)) * q ^ b |
| 32 | |
| 33 | theorem localPower_smooth (b : ℝ) : ContDiff ℝ ∞ (localPower b) := by |
| 34 | rw [contDiff_iff_contDiffAt] |
| 35 | intro q |
| 36 | by_cases hq : 0 < q |
| 37 | · exact (((SmoothCutoffs.cutoff_contDiff).comp |
| 38 | (contDiff_const.mul (contDiff_id.sub contDiff_const))).contDiffAt).mul |
| 39 | (contDiffAt_id.rpow_const_of_ne hq.ne') |
| 40 | · have hq' : q < 1 / 2 := by linarith |
| 41 | have he : localPower b =ᶠ[𝓝 q] (fun _ => 0) := by |
| 42 | filter_upwards [Iio_mem_nhds hq'] with r hr |
| 43 | change r < 1 / 2 at hr |
| 44 | have habs : 1 ≤ |4 * (r - 1)| := by |
| 45 | have := neg_le_abs (4 * (r - 1)) |
| 46 | linarith |
| 47 | simp only [localPower, SmoothCutoffs.cutoff_zero_of_one_le_abs habs, zero_mul] |
| 48 | exact contDiffAt_const.congr_of_eventuallyEq he |
| 49 | |
| 50 | theorem localPower_eventually_eq (b : ℝ) : localPower b =ᶠ[𝓝 1] (fun q : ℝ => q ^ b) := by |
| 51 | filter_upwards [Metric.ball_mem_nhds (1 : ℝ) (by norm_num : 0 < (1 / 8 : ℝ))] with q hq |
| 52 | have habs : |4 * (q - 1)| ≤ 1 / 2 := by |
| 53 | simp only [Metric.mem_ball, Real.dist_eq] at hq |
| 54 | rw [abs_mul] |
| 55 | norm_num |
| 56 | linarith |
| 57 | simp only [localPower, SmoothCutoffs.cutoff_one_of_abs_le habs, one_mul] |
| 58 | |
| 59 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 60 | |
| 61 | noncomputable def powerCoefficient (b : ℝ) (f : Inner → V) (y : Chart) : V := y.1 ^ b • f y.2 |
| 62 | |
| 63 | noncomputable def powerStage (c b : ℝ) (f : Inner → V) (y : Chart) : V := |
| 64 | SmoothCutoffs.scaledCutoff c y.1 • powerCoefficient b f y |
| 65 | |
| 66 | noncomputable def template (c b : ℝ) (f : Inner → V) (y : Chart) : V := |
| 67 | SmoothCutoffs.cutoff (c * y.1) • (localPower b y.1 • f y.2) |
| 68 | |
| 69 | noncomputable def jointTemplate (b : ℝ) (f : Inner → V) (z : ℝ × Chart) : V := |
| 70 | template z.1 b f z.2 |
| 71 | |
| 72 | theorem powerCoefficient_smoothAt {f : Inner → V} (hf : ContDiff ℝ ∞ f) |
| 73 | (b : ℝ) {y : Chart} (hy : 0 < y.1) : ContDiffAt ℝ ∞ (powerCoefficient b f) y := |
| 74 | (contDiffAt_fst.rpow_const_of_ne hy.ne').smul (hf.contDiffAt.comp y contDiffAt_snd) |
| 75 | |
| 76 | theorem powerStage_smoothAt {f : Inner → V} (hf : ContDiff ℝ ∞ f) |
| 77 | (c b : ℝ) {y : Chart} (hy : 0 < y.1) : ContDiffAt ℝ ∞ (powerStage c b f) y := |
| 78 | ((SmoothCutoffs.scaledCutoff_contDiff c).comp contDiff_fst).contDiffAt.smul |
| 79 | (powerCoefficient_smoothAt hf b hy) |
| 80 | |
| 81 | theorem template_smooth {f : Inner → V} (hf : ContDiff ℝ ∞ f) (c b : ℝ) : |
| 82 | ContDiff ℝ ∞ (template c b f) := |
| 83 | (SmoothCutoffs.cutoff_contDiff.comp (contDiff_const.mul contDiff_fst)).smul |
| 84 | (((localPower_smooth b).comp contDiff_fst).smul (hf.comp contDiff_snd)) |
| 85 | |
| 86 | theorem jointTemplate_smooth {f : Inner → V} (hf : ContDiff ℝ ∞ f) (b : ℝ) : |
| 87 | ContDiff ℝ ∞ (jointTemplate b f) := |
| 88 | (SmoothCutoffs.cutoff_contDiff.comp (contDiff_fst.mul contDiff_snd.fst)).smul |
| 89 | (((localPower_smooth b).comp contDiff_snd.fst).smul (hf.comp contDiff_snd.snd)) |
| 90 | |
| 91 | /-- The scale is one extra parameter. Restricting an actual full derivative to |
| 92 | the chart directions bounds the actual derivative at that fixed scale. -/ |
| 93 | theorem template_jet_bound_by_joint {f : Inner → V} (hf : ContDiff ℝ ∞ f) |
| 94 | (c b : ℝ) (m : ℕ) (y : Chart) : |
| 95 | ‖iteratedFDeriv ℝ m (template c b f) y‖ ≤ |
| 96 | ‖iteratedFDeriv ℝ m (jointTemplate b f) (c, y)‖ * |
| 97 | ‖ContinuousLinearMap.inr ℝ ℝ Chart‖ ^ m := by |
| 98 | let L := ContinuousLinearMap.inr ℝ ℝ Chart |
| 99 | let G : ℝ × Chart → V := fun z => jointTemplate b f (z + (c, 0)) |
| 100 | have hG : ContDiff ℝ ∞ G := (jointTemplate_smooth hf b).comp (contDiff_id.add contDiff_const) |
| 101 | have he : template c b f = G ∘ L := by |
| 102 | funext z |
| 103 | simp [G, L, jointTemplate, template] |
| 104 | rw [he, L.iteratedFDeriv_comp_right hG y |
| 105 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m)] |
| 106 | have hshift : iteratedFDeriv ℝ m G (L y) = |
| 107 | iteratedFDeriv ℝ m (jointTemplate b f) (c, y) := by |
| 108 | dsimp only [G] |
| 109 | rw [iteratedFDeriv_comp_add_right] |
| 110 | simp [L] |
| 111 | calc |
| 112 | _ ≤ ‖iteratedFDeriv ℝ m G (L y)‖ * ∏ _ : Fin m, ‖L‖ := |
| 113 | ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _ |
| 114 | _ = _ := by rw [hshift]; simp [L] |
| 115 | |
| 116 | /-- A compactness bound for actual normalized derivatives, uniform in every |
| 117 | active cutoff scale c∈[0,1]. No stage derivative estimate is supplied. -/ |
| 118 | theorem exists_template_jet_bound {f : Inner → V} (hf : ContDiff ℝ ∞ f) |
| 119 | (b : ℝ) {K : Set Inner} (hK : IsCompact K) (m : ℕ) : |
| 120 | ∃ C : ℝ, 0 < C ∧ ∀ c ∈ Icc (0 : ℝ) 1, ∀ w ∈ K, |
| 121 | ‖iteratedFDeriv ℝ m (template c b f) (1, w)‖ ≤ C := by |
| 122 | have hc : IsCompact (Icc (0 : ℝ) 1 ×ˢ (({1} : Set ℝ) ×ˢ K)) := |
| 123 | isCompact_Icc.prod (isCompact_singleton.prod hK) |
| 124 | have hj : Continuous (iteratedFDeriv ℝ m (jointTemplate b f)) := |
| 125 | (jointTemplate_smooth hf b).continuous_iteratedFDeriv |
| 126 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m) |
| 127 | obtain ⟨D, hD⟩ := hc.exists_bound_of_continuousOn hj.continuousOn |
| 128 | let C := max (D * ‖ContinuousLinearMap.inr ℝ ℝ Chart‖ ^ m) 0 + 1 |
| 129 | refine ⟨C, by dsimp [C]; positivity, ?_⟩ |
| 130 | intro c hc w hw |
| 131 | refine (template_jet_bound_by_joint hf c b m (1, w)).trans ?_ |
| 132 | have hb := mul_le_mul_of_nonneg_right (hD (c, (1, w)) ⟨hc, rfl, hw⟩) |
| 133 | (pow_nonneg (norm_nonneg (ContinuousLinearMap.inr ℝ ℝ Chart)) m) |
| 134 | exact hb.trans (by dsimp [C]; linarith [le_max_left (D * ‖ContinuousLinearMap.inr ℝ ℝ Chart‖ ^ m) 0]) |
| 135 | |
| 136 | /-- Jets in the chart obtained by freezing the scale at the evaluation point |
| 137 | and replacing q by q·s. The inner variables are left unscaled. -/ |
| 138 | noncomputable def blownJet (m : ℕ) (F : Chart → V) (y : Chart) := |
| 139 | iteratedFDeriv ℝ m (F ∘ scaleMap y.1) (1, y.2) |
| 140 | |
| 141 | theorem powerStage_scale_germ (c b : ℝ) (f : Inner → V) {q : ℝ} |
| 142 | (hq : 0 < q) (w : Inner) : |
| 143 | powerStage c b f ∘ scaleMap q =ᶠ[𝓝 (1, w)] |
| 144 | (fun y => q ^ b • template (c * q) b f y) := by |
| 145 | have hp : ∀ᶠ y : Chart in 𝓝 (1, w), 0 < y.1 := |
| 146 | continuous_fst.continuousAt (Ioi_mem_nhds (by norm_num : (0 : ℝ) < 1)) |
| 147 | have hl : ∀ᶠ y : Chart in 𝓝 (1, w), localPower b y.1 = y.1 ^ b := |
| 148 | (localPower_eventually_eq b).comp_tendsto continuous_fst.continuousAt |
| 149 | filter_upwards [hp, hl] with y hy hyl |
| 150 | simp only [Function.comp_apply, scaleMap_apply, powerStage, powerCoefficient, |
| 151 | SmoothCutoffs.scaledCutoff, template, hyl, Real.mul_rpow hq.le hy.le, smul_smul] |
| 152 | rw [← mul_assoc c q y.1] |
| 153 | congr 1 |
| 154 | ring |
| 155 | |
| 156 | theorem powerStage_germ (c b : ℝ) (f : Inner → V) {q : ℝ} |
| 157 | (hq : 0 < q) (w : Inner) : |
| 158 | powerStage c b f =ᶠ[𝓝 (q, w)] |
| 159 | (fun y => q ^ b • template (c * q) b f (scaleMap q⁻¹ y)) := by |
| 160 | have hinv : scaleMap q⁻¹ (q, w) = (1, w) := by simp [hq.ne'] |
| 161 | have ht : Tendsto (scaleMap q⁻¹) (𝓝 (q, w)) (𝓝 (1, w)) := by |
| 162 | rw [← hinv] |
| 163 | exact (scaleMap q⁻¹).continuous.continuousAt |
| 164 | have he := (powerStage_scale_germ c b f hq w).comp_tendsto ht |
| 165 | filter_upwards [he] with y hy |
| 166 | simpa only [Function.comp_apply, scaleMap_apply, ← mul_assoc, |
| 167 | mul_inv_cancel₀ hq.ne', one_mul, Prod.mk.eta] using hy |
| 168 | |
| 169 | theorem powerStage_blown_bound {f : Inner → V} (hf : ContDiff ℝ ∞ f) |
| 170 | (c b : ℝ) {q C : ℝ} (hq : 0 < q) (w : Inner) (m : ℕ) |
| 171 | (hb : ‖iteratedFDeriv ℝ m (template (c * q) b f) (1, w)‖ ≤ C) : |
| 172 | ‖blownJet m (powerStage c b f) (q, w)‖ ≤ C * q ^ b := by |
| 173 | have he := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 174 | (powerStage_scale_germ c b f hq w) m).self_of_nhds |
| 175 | unfold blownJet |
| 176 | rw [he, iteratedFDeriv_const_smul_apply' |
| 177 | ((template_smooth hf (c * q) b).contDiffAt.of_le |
| 178 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m))] |
| 179 | rw [norm_smul (q ^ b : ℝ) (iteratedFDeriv ℝ m (template (c * q) b f) (1, w)), |
| 180 | Real.norm_of_nonneg (Real.rpow_nonneg hq.le b)] |
| 181 | exact (mul_le_mul_of_nonneg_left hb (Real.rpow_nonneg hq.le b)).trans_eq (mul_comm _ _) |
| 182 | |
| 183 | theorem powerStage_jet_bound {f : Inner → V} (hf : ContDiff ℝ ∞ f) |
| 184 | (c b : ℝ) {q C : ℝ} (hq : 0 < q) (hq1 : q ≤ 1) (hC : 0 ≤ C) |
| 185 | (w : Inner) (m : ℕ) |
| 186 | (hb : ‖iteratedFDeriv ℝ m (template (c * q) b f) (1, w)‖ ≤ C) : |
| 187 | ‖iteratedFDeriv ℝ m (powerStage c b f) (q, w)‖ ≤ C * q ^ (b - m) := by |
| 188 | let L := scaleMap q⁻¹ |
| 189 | have ht := template_smooth hf (c * q) b |
| 190 | have hm : (m : WithTop ℕ∞) ≤ ∞ := ENat.natCast_le_of_coe_top_le_withTop le_rfl m |
| 191 | have he := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 192 | (powerStage_germ c b f hq w) m).self_of_nhds |
| 193 | change ‖iteratedFDeriv ℝ m (powerStage c b f) (q, w)‖ ≤ _ |
| 194 | rw [he] |
| 195 | change ‖iteratedFDeriv ℝ m (q ^ b • (template (c * q) b f ∘ L)) (q, w)‖ ≤ _ |
| 196 | rw [iteratedFDeriv_const_smul_apply ((ht.comp L.contDiff).contDiffAt.of_le hm), |
| 197 | norm_smul (q ^ b : ℝ) (iteratedFDeriv ℝ m (template (c * q) b f ∘ L) (q, w)), |
| 198 | Real.norm_of_nonneg (Real.rpow_nonneg hq.le b), |
| 199 | L.iteratedFDeriv_comp_right ht (q, w) hm] |
| 200 | have hL : ‖L‖ ≤ q⁻¹ := SpatialBorelExtension.norm_timeScale_le ((one_le_inv₀ hq).2 hq1) |
| 201 | have hLp : L (q, w) = (1, w) := by simp [L, hq.ne'] |
| 202 | rw [hLp] |
| 203 | calc |
| 204 | _ ≤ q ^ b * (‖iteratedFDeriv ℝ m (template (c * q) b f) (1, w)‖ * |
| 205 | ∏ _ : Fin m, ‖L‖) := mul_le_mul_of_nonneg_left |
| 206 | (ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _) (Real.rpow_nonneg hq.le b) |
| 207 | _ = q ^ b * (‖iteratedFDeriv ℝ m (template (c * q) b f) (1, w)‖ * ‖L‖ ^ m) := by simp |
| 208 | _ ≤ q ^ b * (C * (q⁻¹) ^ m) := mul_le_mul_of_nonneg_left |
| 209 | (mul_le_mul hb (pow_le_pow_left₀ (norm_nonneg _) hL m) |
| 210 | (pow_nonneg (norm_nonneg _) m) hC) (Real.rpow_nonneg hq.le b) |
| 211 | _ = C * q ^ (b - m) := by |
| 212 | rw [Real.rpow_sub hq, Real.rpow_natCast, inv_pow] |
| 213 | ring |
| 214 | |
| 215 | theorem powerStage_eventually_zero (c b : ℝ) (f : Inner → V) {q : ℝ} |
| 216 | (hcq : 1 < c * q) (w : Inner) : powerStage c b f =ᶠ[𝓝 (q, w)] (fun _ => 0) := by |
| 217 | have hz := SmoothCutoffs.scaledCutoff_eventually_zero |
| 218 | (show 1 < |c * q| from hcq.trans_le (le_abs_self _)) |
| 219 | have he := hz.comp_tendsto (continuous_fst.continuousAt : |
| 220 | Tendsto (fun y : Chart => y.1) (𝓝 (q, w)) (𝓝 q)) |
| 221 | filter_upwards [he] with y hy |
| 222 | change SmoothCutoffs.scaledCutoff c y.1 = 0 at hy |
| 223 | simp only [powerStage, hy, zero_smul] |
| 224 | |
| 225 | theorem powerStage_jet_zero (c b : ℝ) (f : Inner → V) {q : ℝ} |
| 226 | (hcq : 1 < c * q) (w : Inner) (m : ℕ) : |
| 227 | iteratedFDeriv ℝ m (powerStage c b f) (q, w) = 0 := by |
| 228 | have he := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 229 | (powerStage_eventually_zero c b f hcq w) m).self_of_nhds |
| 230 | simpa only [iteratedFDeriv_fun_zero, Pi.zero_apply] using he |
| 231 | |
| 232 | theorem powerStage_blown_zero (c b : ℝ) (f : Inner → V) {q : ℝ} |
| 233 | (hcq : 1 < c * q) (w : Inner) (m : ℕ) : |
| 234 | blownJet m (powerStage c b f) (q, w) = 0 := by |
| 235 | have hmap : scaleMap q (1, w) = (q, w) := by simp |
| 236 | have ht : Tendsto (scaleMap q) (𝓝 (1, w)) (𝓝 (q, w)) := by |
| 237 | rw [← hmap] |
| 238 | exact (scaleMap q).continuous.continuousAt |
| 239 | have he := (powerStage_eventually_zero c b f hcq w).comp_tendsto ht |
| 240 | have hj := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq he m).self_of_nhds |
| 241 | simpa only [blownJet, Function.comp_def, iteratedFDeriv_fun_zero, Pi.zero_apply] using hj |
| 242 | |
| 243 | /-- The order-zero coefficient is kept uncut. This sequence contains only the |
| 244 | positive corrections, with a zero placeholder at index zero. -/ |
| 245 | noncomputable def positiveCoefficient (h : ℝ) (f : ℕ → Inner → V) (j : ℕ) : Chart → V := |
| 246 | if j = 0 then (fun _ => 0) else powerCoefficient (2 * h * j) (f j) |
| 247 | |
| 248 | noncomputable def slowStage (a : ℕ → ℕ) (h : ℝ) (f : ℕ → Inner → V) : ℕ → Chart → V := |
| 249 | SolenoidalDiagonal.cutStage (fun j => (a j : ℝ)) Prod.fst (positiveCoefficient h f) |
| 250 | |
| 251 | noncomputable def positiveSum (a : ℕ → ℕ) (h : ℝ) (f : ℕ → Inner → V) : Chart → V := |
| 252 | SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) Prod.fst (positiveCoefficient h f) |
| 253 | |
| 254 | noncomputable def slowSum (a : ℕ → ℕ) (h : ℝ) (f : ℕ → Inner → V) (y : Chart) : V := |
| 255 | f 0 y.2 + positiveSum a h f y |
| 256 | |
| 257 | noncomputable def cutPrefix (a : ℕ → ℕ) (h : ℝ) (f : ℕ → Inner → V) |
| 258 | (J : ℕ) (y : Chart) : V := |
| 259 | f 0 y.2 + ∑ j ∈ Finset.range (J + 1), slowStage a h f j y |
| 260 | |
| 261 | noncomputable def uncutPrefix (h : ℝ) (f : ℕ → Inner → V) (J : ℕ) (y : Chart) : V := |
| 262 | f 0 y.2 + ∑ j ∈ Finset.range (J + 1), positiveCoefficient h f j y |
| 263 | |
| 264 | @[simp] theorem slowStage_zero (a : ℕ → ℕ) (h : ℝ) (f : ℕ → Inner → V) : |
| 265 | slowStage a h f 0 = 0 := by |
| 266 | funext y |
| 267 | simp [slowStage, SolenoidalDiagonal.cutStage, positiveCoefficient] |
| 268 | |
| 269 | theorem slowStage_eq {j : ℕ} (hj : j ≠ 0) (a : ℕ → ℕ) (h : ℝ) |
| 270 | (f : ℕ → Inner → V) : slowStage a h f j = powerStage (a j) (2 * h * j) (f j) := by |
| 271 | funext y |
| 272 | simp only [slowStage, SolenoidalDiagonal.cutStage, positiveCoefficient, hj, ite_false, |
| 273 | powerStage] |
| 274 | |
| 275 | theorem positiveCoefficient_smoothAt {f : ℕ → Inner → V} |
| 276 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (h : ℝ) (j : ℕ) {y : Chart} (hy : 0 < y.1) : |
| 277 | ContDiffAt ℝ ∞ (positiveCoefficient h f j) y := by |
| 278 | unfold positiveCoefficient |
| 279 | split_ifs |
| 280 | · exact contDiffAt_const |
| 281 | · exact powerCoefficient_smoothAt (hf j) _ hy |
| 282 | |
| 283 | theorem slowStage_smoothAt {f : ℕ → Inner → V} |
| 284 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (a : ℕ → ℕ) (h : ℝ) (j : ℕ) |
| 285 | {y : Chart} (hy : 0 < y.1) : ContDiffAt ℝ ∞ (slowStage a h f j) y := |
| 286 | SolenoidalDiagonal.cutStage_contDiffAt contDiffAt_fst |
| 287 | (fun j => positiveCoefficient_smoothAt hf h j hy) j |
| 288 | |
| 289 | /-- The quantitative properties proved by choosing the cutoff scales from the |
| 290 | actual coefficient derivatives. These are later reused without repeating the |
| 291 | compactness and numerical selection arguments. -/ |
| 292 | structure AdmissibleScales (h : ℝ) (f : ℕ → Inner → V) (K : Set Inner) |
| 293 | (a : ℕ → ℕ) : Prop where |
| 294 | positive : ∀ j, 0 < a j |
| 295 | doubling : ∀ j, 2 * a j ≤ a (j + 1) |
| 296 | strictMono : StrictMono a |
| 297 | ordinary : ∀ j, 1 ≤ j → ∀ m, m ≤ j + 2 → ∀ q : ℝ, 0 < q → q ≤ 1 → |
| 298 | ∀ w ∈ K, ‖iteratedFDeriv ℝ m (slowStage a h f j) (q, w)‖ ≤ |
| 299 | (1 / 2 : ℝ) ^ j * q ^ (h * j - m) |
| 300 | blown : ∀ j, 1 ≤ j → ∀ m, m ≤ j + 2 → ∀ q : ℝ, 0 < q → q ≤ 1 → |
| 301 | ∀ w ∈ K, ‖blownJet m (slowStage a h f j) (q, w)‖ ≤ |
| 302 | (1 / 2 : ℝ) ^ j * q ^ (h * j) |
| 303 | |
| 304 | /-- A single doubling schedule enforces every finite jet requirement in both |
| 305 | ordinary and rescaled coordinates. Its only analytic input is smoothness of |
| 306 | the individual coefficients on a fixed compact inner-coordinate set. -/ |
| 307 | theorem exists_admissibleScales {f : ℕ → Inner → V} |
| 308 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) {h : ℝ} (hh : 0 < h) |
| 309 | {K : Set Inner} (hK : IsCompact K) (B : ℕ) : |
| 310 | ∃ a : ℕ → ℕ, B ≤ a 0 ∧ AdmissibleScales h f K a := by |
| 311 | classical |
| 312 | choose C hCpos hC using fun j m => exists_template_jet_bound (hf j) (2 * h * j) hK m |
| 313 | have hg : ∀ j : ℕ, 1 ≤ j → 0 < 2 * h * j := by |
| 314 | intro j hj |
| 315 | have hjR : (0 : ℝ) < j := by exact_mod_cast (show 0 < j by omega) |
| 316 | positivity |
| 317 | obtain ⟨a, haB, hapos, hadouble, hamono, _, hasmall⟩ := |
| 318 | DiagonalScale.exists_diagonal_scales C (fun _ _ => 0) (fun j => 2 * h * j) hg B |
| 319 | have habsorb : ∀ j, 1 ≤ j → ∀ m, m ≤ j + 2 → ∀ q : ℝ, |
| 320 | 0 < q → q ≤ 1 / (a j : ℝ) → |
| 321 | C j m * q ^ (h * j) ≤ (1 / 2 : ℝ) ^ j := by |
| 322 | intro j hj m hm q hq hqa |
| 323 | have hb := hasmall j hj m hm q hq hqa |
| 324 | have he : 2 * h * (j : ℝ) / 2 = h * j := by ring |
| 325 | simpa only [DiagonalScale.logPowerWeight, Real.rpow_zero, mul_one, he, |
| 326 | abs_of_nonneg (mul_nonneg (hCpos j m).le (Real.rpow_nonneg hq.le _))] using hb |
| 327 | refine ⟨a, haB, hapos, hadouble, hamono, ?_, ?_⟩ |
| 328 | · intro j hj m hm q hq hq1 w hw |
| 329 | rw [slowStage_eq (by omega)] |
| 330 | by_cases hactive : (a j : ℝ) * q ≤ 1 |
| 331 | · have hac : (0 : ℝ) < a j := by exact_mod_cast hapos j |
| 332 | have hqa : q ≤ 1 / (a j : ℝ) := (le_div_iff₀ hac).2 (by nlinarith) |
| 333 | have ht := hC j m ((a j : ℝ) * q) ⟨mul_nonneg hac.le hq.le, hactive⟩ w hw |
| 334 | refine (powerStage_jet_bound (hf j) (a j) (2 * h * j) hq hq1 |
| 335 | (hCpos j m).le w m ht).trans ?_ |
| 336 | have he : 2 * h * (j : ℝ) - m = h * j + (h * j - m) := by ring |
| 337 | rw [he, Real.rpow_add hq, ← mul_assoc] |
| 338 | exact mul_le_mul_of_nonneg_right (habsorb j hj m hm q hq hqa) |
| 339 | (Real.rpow_nonneg hq.le _) |
| 340 | · rw [powerStage_jet_zero (a j) (2 * h * j) (f j) (lt_of_not_ge hactive) w m, |
| 341 | norm_zero] |
| 342 | positivity |
| 343 | · intro j hj m hm q hq hq1 w hw |
| 344 | rw [slowStage_eq (by omega)] |
| 345 | by_cases hactive : (a j : ℝ) * q ≤ 1 |
| 346 | · have hac : (0 : ℝ) < a j := by exact_mod_cast hapos j |
| 347 | have hqa : q ≤ 1 / (a j : ℝ) := (le_div_iff₀ hac).2 (by nlinarith) |
| 348 | have ht := hC j m ((a j : ℝ) * q) ⟨mul_nonneg hac.le hq.le, hactive⟩ w hw |
| 349 | refine (powerStage_blown_bound (hf j) (a j) (2 * h * j) hq w m ht).trans ?_ |
| 350 | have he : 2 * h * (j : ℝ) = h * j + h * j := by ring |
| 351 | rw [he, Real.rpow_add hq, ← mul_assoc] |
| 352 | exact mul_le_mul_of_nonneg_right (habsorb j hj m hm q hq hqa) |
| 353 | (Real.rpow_nonneg hq.le _) |
| 354 | · rw [powerStage_blown_zero (a j) (2 * h * j) (f j) (lt_of_not_ge hactive) w m, |
| 355 | norm_zero] |
| 356 | positivity |
| 357 | |
| 358 | theorem slowStage_locally_zero {a : ℕ → ℕ} (ha : StrictMono a) |
| 359 | (h : ℝ) (f : ℕ → Inner → V) {y : Chart} (hy : 0 < y.1) : |
| 360 | ∃ N : ℕ, ∀ᶠ z in 𝓝 y, ∀ j : ℕ, N ≤ j → slowStage a h f j z = 0 := |
| 361 | SolenoidalDiagonal.eventually_zero_tail (SolenoidalDiagonal.realScales_tendsto ha) |
| 362 | continuous_fst.continuousAt hy (positiveCoefficient h f) |
| 363 | |
| 364 | theorem positiveSum_smoothAt {a : ℕ → ℕ} (ha : StrictMono a) |
| 365 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (h : ℝ) |
| 366 | {y : Chart} (hy : 0 < y.1) : ContDiffAt ℝ ∞ (positiveSum a h f) y := |
| 367 | SolenoidalDiagonal.potentialSum_contDiffAt (SolenoidalDiagonal.realScales_tendsto ha) |
| 368 | hy contDiffAt_fst (fun j => positiveCoefficient_smoothAt hf h j hy) |
| 369 | |
| 370 | theorem slowSum_smoothAt {a : ℕ → ℕ} (ha : StrictMono a) |
| 371 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (h : ℝ) |
| 372 | {y : Chart} (hy : 0 < y.1) : ContDiffAt ℝ ∞ (slowSum a h f) y := |
| 373 | ((hf 0).comp contDiff_snd).contDiffAt.add (positiveSum_smoothAt ha hf h hy) |
| 374 | |
| 375 | theorem slowSum_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) |
| 376 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (h : ℝ) : |
| 377 | ContDiffOn ℝ ∞ (slowSum a h f) {y | 0 < y.1} := |
| 378 | fun _ hy => (slowSum_smoothAt ha hf h hy).contDiffWithinAt |
| 379 | |
| 380 | /-- Actual ordinary derivatives of the infinite sum minus a cut prefix. -/ |
| 381 | theorem ordinary_tail_bound {a : ℕ → ℕ} {h : ℝ} (hh : 0 < h) |
| 382 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) |
| 383 | {K : Set Inner} (ha : AdmissibleScales h f K a) |
| 384 | {q : ℝ} (hq : 0 < q) (hq1 : q ≤ 1) {w : Inner} (hw : w ∈ K) |
| 385 | (J m : ℕ) (hm : m ≤ J + 3) : |
| 386 | ‖iteratedFDeriv ℝ m (fun y => slowSum a h f y - cutPrefix a h f J y) (q, w)‖ ≤ |
| 387 | (1 / 2 : ℝ) ^ J * q ^ (h * (J + 1) - m) := by |
| 388 | have hg : Monotone (fun j : ℕ => h * j) := fun i j hij => |
| 389 | mul_le_mul_of_nonneg_left (by exact_mod_cast hij) hh.le |
| 390 | have hb := DiagonalJetBounds.norm_tsum_sub_prefix_jet_le |
| 391 | (slowStage_locally_zero ha.strictMono h f hq) |
| 392 | (fun j => slowStage_smoothAt hf a h j hq) (fun j => h * j) hg |
| 393 | (m : ℝ) q hq hq1 J m (fun j hj => |
| 394 | ha.ordinary j (by omega) m (by omega) q hq hq1 w hw) |
| 395 | simpa only [slowSum, cutPrefix, positiveSum, SolenoidalDiagonal.potentialSum, |
| 396 | slowStage, add_sub_add_left_eq_sub, Nat.cast_add, Nat.cast_one] using hb |
| 397 | |
| 398 | /-- Actual derivatives after freezing the dilation at the evaluation scale. |
| 399 | The same one schedule works for every eventually prescribed jet order. -/ |
| 400 | theorem blown_tail_bound {a : ℕ → ℕ} {h : ℝ} (hh : 0 < h) |
| 401 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) |
| 402 | {K : Set Inner} (ha : AdmissibleScales h f K a) |
| 403 | {q : ℝ} (hq : 0 < q) (hq1 : q ≤ 1) {w : Inner} (hw : w ∈ K) |
| 404 | (J m : ℕ) (hm : m ≤ J + 3) : |
| 405 | ‖blownJet m (fun y => slowSum a h f y - cutPrefix a h f J y) (q, w)‖ ≤ |
| 406 | (1 / 2 : ℝ) ^ J * q ^ (h * (J + 1)) := by |
| 407 | have hmap : scaleMap q (1, w) = (q, w) := by simp |
| 408 | have ht : Tendsto (scaleMap q) (𝓝 (1, w)) (𝓝 (q, w)) := by |
| 409 | rw [← hmap] |
| 410 | exact (scaleMap q).continuous.continuousAt |
| 411 | obtain ⟨N, hN⟩ := slowStage_locally_zero ha.strictMono h f hq (y := (q, w)) |
| 412 | have hloc : ∃ N : ℕ, ∀ᶠ z in 𝓝 (1, w), ∀ j : ℕ, N ≤ j → |
| 413 | (slowStage a h f j ∘ scaleMap q) z = 0 := ⟨N, ht.eventually hN⟩ |
| 414 | have hs : ∀ j, ContDiffAt ℝ ∞ (slowStage a h f j ∘ scaleMap q) (1, w) := by |
| 415 | intro j |
| 416 | apply ContDiffAt.comp |
| 417 | · rw [hmap] |
| 418 | exact slowStage_smoothAt hf a h j hq |
| 419 | · exact (scaleMap q).contDiff.contDiffAt |
| 420 | have hg : Monotone (fun j : ℕ => h * j) := fun i j hij => |
| 421 | mul_le_mul_of_nonneg_left (by exact_mod_cast hij) hh.le |
| 422 | have hb := DiagonalJetBounds.norm_tsum_sub_prefix_jet_le hloc hs (fun j => h * j) |
| 423 | hg 0 q hq hq1 J m (fun j hj => by |
| 424 | simpa only [sub_zero, blownJet] using ha.blown j (by omega) m (by omega) q hq hq1 w hw) |
| 425 | simpa only [slowSum, cutPrefix, positiveSum, SolenoidalDiagonal.potentialSum, |
| 426 | slowStage, blownJet, Function.comp_def, add_sub_add_left_eq_sub, |
| 427 | sub_zero, Nat.cast_add, Nat.cast_one] using hb |
| 428 | |
| 429 | theorem cutPrefix_eventually_uncut (a : ℕ → ℕ) (h : ℝ) |
| 430 | (f : ℕ → Inner → V) (J : ℕ) : |
| 431 | ∃ δ : ℝ, 0 < δ ∧ ∀ y : Chart, |y.1| < δ → |
| 432 | cutPrefix a h f J =ᶠ[𝓝 y] uncutPrefix h f J := by |
| 433 | obtain ⟨δ, hδ, hb⟩ := DiagonalJetBounds.partialPotential_eventuallyEq_uncut |
| 434 | (fun j => (a j : ℝ)) Prod.fst (positiveCoefficient h f) (J + 1) |
| 435 | refine ⟨δ, hδ, fun y hy => ?_⟩ |
| 436 | filter_upwards [hb y continuous_fst.continuousAt hy] with z hz |
| 437 | exact congrArg (fun v => f 0 z.2 + v) hz |
| 438 | |
| 439 | /-- Every requested finite ordinary jet has a sufficiently late *uncut* |
| 440 | prefix with any prescribed remainder power. The prefix depends on both |
| 441 | requests; this does not assert that one fixed tail is flat to all orders. -/ |
| 442 | theorem exists_ordinary_uncut_tail {a : ℕ → ℕ} {h : ℝ} (hh : 0 < h) |
| 443 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) |
| 444 | {K : Set Inner} (ha : AdmissibleScales h f K a) (M Jmin : ℕ) (P : ℝ) : |
| 445 | ∃ J : ℕ, Jmin ≤ J ∧ M ≤ J ∧ ∃ δ : ℝ, 0 < δ ∧ |
| 446 | ∀ m ≤ M, ∀ q : ℝ, 0 < q → q < δ → ∀ w ∈ K, |
| 447 | ‖iteratedFDeriv ℝ m (fun y => slowSum a h f y - uncutPrefix h f J y) (q, w)‖ ≤ |
| 448 | (1 / 2 : ℝ) ^ J * q ^ P := by |
| 449 | have htop : Tendsto (fun j : ℕ => h * j) atTop atTop := |
| 450 | tendsto_natCast_atTop_atTop.const_mul_atTop hh |
| 451 | obtain ⟨J, hJmin, hJM, hgain⟩ := |
| 452 | DiagonalJetBounds.exists_prefix_gain (fun j => h * j) (fun m => (m : ℝ)) htop M Jmin P |
| 453 | obtain ⟨δ, hδ, hprefix⟩ := cutPrefix_eventually_uncut a h f J |
| 454 | refine ⟨J, hJmin, hJM, min δ 1, lt_min hδ (by norm_num), ?_⟩ |
| 455 | intro m hm q hq hsmall w hw |
| 456 | have hq1 : q ≤ 1 := (hsmall.trans_le (min_le_right _ _)).le |
| 457 | have hp := hprefix (q, w) (by simpa only [abs_of_pos hq] using |
| 458 | (hsmall.trans_le (min_le_left _ _))) |
| 459 | have hdiff : (fun y => slowSum a h f y - cutPrefix a h f J y) =ᶠ[𝓝 (q, w)] |
| 460 | (fun y => slowSum a h f y - uncutPrefix h f J y) := |
| 461 | hp.mono (fun y hy => congrArg (fun z => slowSum a h f y - z) hy) |
| 462 | have he := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq hdiff m).self_of_nhds |
| 463 | rw [← he] |
| 464 | exact (ordinary_tail_bound hh hf ha hq hq1 hw J m (by omega)).trans |
| 465 | (mul_le_mul_of_nonneg_left |
| 466 | (Real.rpow_le_rpow_of_exponent_ge hq hq1 (by simpa using hgain m hm)) (by positivity)) |
| 467 | |
| 468 | theorem exists_blown_uncut_tail {a : ℕ → ℕ} {h : ℝ} (hh : 0 < h) |
| 469 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) |
| 470 | {K : Set Inner} (ha : AdmissibleScales h f K a) (M Jmin : ℕ) (P : ℝ) : |
| 471 | ∃ J : ℕ, Jmin ≤ J ∧ M ≤ J ∧ ∃ δ : ℝ, 0 < δ ∧ |
| 472 | ∀ m ≤ M, ∀ q : ℝ, 0 < q → q < δ → ∀ w ∈ K, |
| 473 | ‖blownJet m (fun y => slowSum a h f y - uncutPrefix h f J y) (q, w)‖ ≤ |
| 474 | (1 / 2 : ℝ) ^ J * q ^ P := by |
| 475 | have htop : Tendsto (fun j : ℕ => h * j) atTop atTop := |
| 476 | tendsto_natCast_atTop_atTop.const_mul_atTop hh |
| 477 | obtain ⟨J, hJmin, hJM, hgain⟩ := |
| 478 | DiagonalJetBounds.exists_prefix_gain (fun j => h * j) (fun _ => 0) htop M Jmin P |
| 479 | obtain ⟨δ, hδ, hprefix⟩ := cutPrefix_eventually_uncut a h f J |
| 480 | refine ⟨J, hJmin, hJM, min δ 1, lt_min hδ (by norm_num), ?_⟩ |
| 481 | intro m hm q hq hsmall w hw |
| 482 | have hq1 : q ≤ 1 := (hsmall.trans_le (min_le_right _ _)).le |
| 483 | have hp := hprefix (q, w) (by simpa only [abs_of_pos hq] using |
| 484 | (hsmall.trans_le (min_le_left _ _))) |
| 485 | have hmap : scaleMap q (1, w) = (q, w) := by simp |
| 486 | have ht : Tendsto (scaleMap q) (𝓝 (1, w)) (𝓝 (q, w)) := by |
| 487 | rw [← hmap] |
| 488 | exact (scaleMap q).continuous.continuousAt |
| 489 | have hdiff : (fun y => slowSum a h f y - cutPrefix a h f J y) =ᶠ[𝓝 (q, w)] |
| 490 | (fun y => slowSum a h f y - uncutPrefix h f J y) := |
| 491 | hp.mono (fun y hy => congrArg (fun z => slowSum a h f y - z) hy) |
| 492 | have he := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 493 | (hdiff.comp_tendsto ht) m).self_of_nhds |
| 494 | change ‖iteratedFDeriv ℝ m _ (1, w)‖ ≤ _ |
| 495 | rw [← he] |
| 496 | exact (blown_tail_bound hh hf ha hq hq1 hw J m (by omega)).trans |
| 497 | (mul_le_mul_of_nonneg_left |
| 498 | (Real.rpow_le_rpow_of_exponent_ge hq hq1 (by simpa using hgain m hm)) (by positivity)) |
| 499 | |
| 500 | /-- A fixed stage keeps its full q^(2hj) order. Only the tail estimates spend |
| 501 | half this gain to absorb coefficient growth. -/ |
| 502 | theorem exists_stage_blown_power_bound {f : ℕ → Inner → V} |
| 503 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) {K : Set Inner} (hK : IsCompact K) |
| 504 | (a : ℕ → ℕ) (h : ℝ) (j m : ℕ) : |
| 505 | ∃ C : ℝ, 0 < C ∧ ∀ q : ℝ, 0 < q → ∀ w ∈ K, |
| 506 | ‖blownJet m (slowStage a h f j) (q, w)‖ ≤ C * q ^ (2 * h * j) := by |
| 507 | obtain ⟨C, hC, hb⟩ := exists_template_jet_bound (hf j) (2 * h * j) hK m |
| 508 | refine ⟨C, hC, fun q hq w hw => ?_⟩ |
| 509 | by_cases hj : j = 0 |
| 510 | · subst j |
| 511 | simp [blownJet, slowStage_zero, Function.comp_def, hC.le] |
| 512 | rw [slowStage_eq hj] |
| 513 | by_cases hactive : (a j : ℝ) * q ≤ 1 |
| 514 | · exact powerStage_blown_bound (hf j) (a j) (2 * h * j) hq w m |
| 515 | (hb _ ⟨mul_nonneg (Nat.cast_nonneg _) hq.le, hactive⟩ w hw) |
| 516 | · rw [powerStage_blown_zero (a j) (2 * h * j) (f j) (lt_of_not_ge hactive) w m, |
| 517 | norm_zero] |
| 518 | positivity |
| 519 | |
| 520 | theorem blownJet_sum {ι : Type*} (s : Finset ι) (F : ι → Chart → V) |
| 521 | {q : ℝ} {w : Inner} (hF : ∀ i ∈ s, ContDiffAt ℝ ∞ (F i) (q, w)) (m : ℕ) : |
| 522 | blownJet m (fun y => ∑ i ∈ s, F i y) (q, w) = |
| 523 | ∑ i ∈ s, blownJet m (F i) (q, w) := by |
| 524 | have hs : ∀ i ∈ s, ContDiffWithinAt ℝ m (F i ∘ scaleMap q) univ (1, w) := by |
| 525 | intro i hi |
| 526 | have hm : (m : WithTop ℕ∞) ≤ ∞ := ENat.natCast_le_of_coe_top_le_withTop le_rfl m |
| 527 | apply ContDiffAt.contDiffWithinAt |
| 528 | apply ContDiffAt.of_le _ hm |
| 529 | apply ContDiffAt.comp |
| 530 | · simpa only [scaleMap_apply, mul_one] using hF i hi |
| 531 | · exact (scaleMap q).contDiff.contDiffAt |
| 532 | simpa only [blownJet, Function.comp_def, iteratedFDerivWithin_univ] using |
| 533 | iteratedFDerivWithin_fun_sum_apply uniqueDiffOn_univ (mem_univ (1, w)) hs |
| 534 | |
| 535 | theorem norm_blownJet_le_sub_add {F G : Chart → V} {q : ℝ} {w : Inner} |
| 536 | (hF : ContDiffAt ℝ ∞ F (q, w)) (hG : ContDiffAt ℝ ∞ G (q, w)) (m : ℕ) : |
| 537 | ‖blownJet m F (q, w)‖ ≤ |
| 538 | ‖blownJet m (fun y => F y - G y) (q, w)‖ + ‖blownJet m G (q, w)‖ := by |
| 539 | have hFc : ContDiffAt ℝ ∞ (F ∘ scaleMap q) (1, w) := by |
| 540 | apply ContDiffAt.comp |
| 541 | · simpa only [scaleMap_apply, mul_one] using hF |
| 542 | · exact (scaleMap q).contDiff.contDiffAt |
| 543 | have hGc : ContDiffAt ℝ ∞ (G ∘ scaleMap q) (1, w) := by |
| 544 | apply ContDiffAt.comp |
| 545 | · simpa only [scaleMap_apply, mul_one] using hG |
| 546 | · exact (scaleMap q).contDiff.contDiffAt |
| 547 | have hm : (m : WithTop ℕ∞) ≤ ∞ := ENat.natCast_le_of_coe_top_le_withTop le_rfl m |
| 548 | have hid : blownJet m (fun y => F y - G y) (q, w) = |
| 549 | blownJet m F (q, w) - blownJet m G (q, w) := by |
| 550 | have hadd := fun_iteratedFDeriv_add_apply (hFc.of_le hm) (hGc.neg.of_le hm) |
| 551 | have hneg : iteratedFDeriv ℝ m (fun y => -(G ∘ scaleMap q) y) (1, w) = |
| 552 | -iteratedFDeriv ℝ m (G ∘ scaleMap q) (1, w) := by |
| 553 | change iteratedFDeriv ℝ m (-(G ∘ scaleMap q)) (1, w) = _ |
| 554 | exact iteratedFDeriv_neg_apply |
| 555 | rw [hneg] at hadd |
| 556 | simpa only [blownJet, Function.comp_def, sub_eq_add_neg] using hadd |
| 557 | rw [hid] |
| 558 | simpa only [add_comm] using norm_le_insert' (blownJet m F (q, w)) (blownJet m G (q, w)) |
| 559 | |
| 560 | /-- The normalized correction is O(q^(2h)) in every fixed blown-up jet. |
| 561 | This estimates derivatives of the actual sum; no bound on its tail is assumed. -/ |
| 562 | theorem normalized_correction_bound {a : ℕ → ℕ} {h : ℝ} (hh : 0 < h) |
| 563 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) |
| 564 | {K : Set Inner} (hK : IsCompact K) (ha : AdmissibleScales h f K a) (m : ℕ) : |
| 565 | ∃ C : ℝ, 0 < C ∧ ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ K, |
| 566 | ‖blownJet m (fun y => slowSum a h f y - f 0 y.2) (q, w)‖ ≤ C * q ^ (2 * h) := by |
| 567 | classical |
| 568 | let J := max m 1 |
| 569 | choose C hC hCb using fun j => exists_stage_blown_power_bound hf hK a h j m |
| 570 | let D := ∑ j ∈ Finset.range (J + 1), C j |
| 571 | have hD : 0 ≤ D := Finset.sum_nonneg (fun j _ => (hC j).le) |
| 572 | refine ⟨D + (1 / 2 : ℝ) ^ J, by positivity, ?_⟩ |
| 573 | intro q hq hq1 w hw |
| 574 | let P : Chart → V := fun y => ∑ j ∈ Finset.range (J + 1), slowStage a h f j y |
| 575 | have hs : ContDiffAt ℝ ∞ P (q, w) := |
| 576 | ContDiffAt.sum (fun j _ => slowStage_smoothAt hf a h j hq) |
| 577 | have hP : ‖blownJet m P (q, w)‖ ≤ D * q ^ (2 * h) := by |
| 578 | rw [blownJet_sum _ _ (fun j _ => slowStage_smoothAt hf a h j hq) m] |
| 579 | calc |
| 580 | _ ≤ ∑ j ∈ Finset.range (J + 1), ‖blownJet m (slowStage a h f j) (q, w)‖ := |
| 581 | norm_sum_le _ _ |
| 582 | _ ≤ ∑ j ∈ Finset.range (J + 1), C j * q ^ (2 * h) := by |
| 583 | apply Finset.sum_le_sum |
| 584 | intro j hj |
| 585 | by_cases hj0 : j = 0 |
| 586 | · subst j |
| 587 | simp only [slowStage_zero, blownJet, Function.comp_def, Pi.zero_apply, |
| 588 | iteratedFDeriv_fun_zero, norm_zero] |
| 589 | exact mul_nonneg (hC 0).le (Real.rpow_nonneg hq.le _) |
| 590 | · refine (hCb j q hq w hw).trans (mul_le_mul_of_nonneg_left ?_ (hC j).le) |
| 591 | apply Real.rpow_le_rpow_of_exponent_ge hq hq1 |
| 592 | have hj1 : (1 : ℝ) ≤ j := by exact_mod_cast (show 1 ≤ j by omega) |
| 593 | nlinarith |
| 594 | _ = D * q ^ (2 * h) := by rw [Finset.sum_mul] |
| 595 | have hT : ‖blownJet m (fun y => positiveSum a h f y - P y) (q, w)‖ ≤ |
| 596 | (1 / 2 : ℝ) ^ J * q ^ (2 * h) := by |
| 597 | have hb := blown_tail_bound hh hf ha hq hq1 hw J m (by dsimp [J]; omega) |
| 598 | have he : (fun y => slowSum a h f y - cutPrefix a h f J y) = |
| 599 | (fun y => positiveSum a h f y - P y) := by |
| 600 | funext y |
| 601 | simp only [slowSum, cutPrefix, P, add_sub_add_left_eq_sub] |
| 602 | rw [he] at hb |
| 603 | refine hb.trans (mul_le_mul_of_nonneg_left ?_ (by positivity)) |
| 604 | apply Real.rpow_le_rpow_of_exponent_ge hq hq1 |
| 605 | have hJ : (1 : ℝ) ≤ J := by exact_mod_cast (le_max_right m 1) |
| 606 | nlinarith |
| 607 | have he : (fun y => slowSum a h f y - f 0 y.2) = positiveSum a h f := by |
| 608 | funext y |
| 609 | simp [slowSum] |
| 610 | rw [he] |
| 611 | exact (norm_blownJet_le_sub_add (positiveSum_smoothAt ha.strictMono hf h hq) hs m).trans |
| 612 | ((add_le_add hT hP).trans_eq (by ring)) |
| 613 | |
| 614 | section PhysicalCoordinates |
| 615 | |
| 616 | noncomputable def innerBox (lo hi : ℝ) : Set Inner := Icc lo hi ×ˢ Icc (-1) 1 |
| 617 | |
| 618 | theorem innerBox_isCompact (lo hi : ℝ) : IsCompact (innerBox lo hi) := |
| 619 | isCompact_Icc.prod isCompact_Icc |
| 620 | |
| 621 | noncomputable def physicalChart (h : ℝ) (p : Chart) : Chart := |
| 622 | (PhysicalCoordinateBounds.physicalQ (2 * h) p, |
| 623 | (PhysicalCoordinateBounds.physicalX (2 * h) p, |
| 624 | PhysicalCoordinateBounds.physicalEta (2 * h) p)) |
| 625 | |
| 626 | theorem physicalChart_smoothAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 627 | {p : Chart} (hp : p.1 < 1) : ContDiffAt ℝ ∞ (physicalChart h) p := by |
| 628 | have ha : 0 < 2 * h := by positivity |
| 629 | have ha1 : 2 * h < 1 := by linarith |
| 630 | exact (PhysicalCoordinateBounds.physicalQ_contDiffAt ha ha1 hp).prodMk |
| 631 | ((PhysicalCoordinateBounds.physicalX_contDiffAt ha ha1 hp).prodMk |
| 632 | (PhysicalCoordinateBounds.physicalEta_contDiffAt ha ha1 hp)) |
| 633 | |
| 634 | theorem physicalChart_positive {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 635 | {p : Chart} (hp : p.1 < 1) : 0 < (physicalChart h p).1 := |
| 636 | PhysicalCoordinateBounds.physicalQ_pos (by positivity) (by linarith) hp |
| 637 | |
| 638 | theorem physicalChart_inner_mem {h lo hi : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 639 | {p : Chart} (hp : p.1 < 1) |
| 640 | (hX : PhysicalCoordinateBounds.physicalX (2 * h) p ∈ Icc lo hi) : |
| 641 | (physicalChart h p).2 ∈ innerBox lo hi := by |
| 642 | have he := PhysicalCoordinateBounds.physicalEta_abs_lt_one |
| 643 | (by positivity : 0 < 2 * h) (by linarith : 2 * h < 1) hp |
| 644 | exact ⟨hX, (abs_lt.mp he).1.le, (abs_lt.mp he).2.le⟩ |
| 645 | |
| 646 | private theorem iteratedFDeriv_pair {E F G : Type*} |
| 647 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 648 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 649 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 650 | {f : E → F} {g : E → G} {x : E} {k : ℕ} |
| 651 | (hf : ContDiffAt ℝ k f x) (hg : ContDiffAt ℝ k g x) : |
| 652 | iteratedFDeriv ℝ k (fun y => (f y, g y)) x = |
| 653 | (iteratedFDeriv ℝ k f x).prod (iteratedFDeriv ℝ k g x) := by |
| 654 | have h1 := (ContinuousLinearMap.fst ℝ F G).iteratedFDeriv_comp_left (hf.prodMk hg) le_rfl |
| 655 | have h2 := (ContinuousLinearMap.snd ℝ F G).iteratedFDeriv_comp_left (hf.prodMk hg) le_rfl |
| 656 | apply ContinuousMultilinearMap.ext |
| 657 | intro v |
| 658 | apply Prod.ext |
| 659 | · exact (congrArg (fun M => M v) h1).symm |
| 660 | · exact (congrArg (fun M => M v) h2).symm |
| 661 | |
| 662 | /-- The actual similarity-coordinate map loses at most one q-power per |
| 663 | physical derivative, uniformly on a fixed bounded X range. -/ |
| 664 | theorem physicalChart_jet_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 665 | (lo hi : ℝ) (n : ℕ) : |
| 666 | ∃ C : ℝ, 0 < C ∧ ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 ≤ 1 → |
| 667 | (physicalChart h p).2.1 ∈ Icc lo hi → |
| 668 | ‖iteratedFDeriv ℝ n (physicalChart h) p‖ ≤ C * (physicalChart h p).1 ^ (-(n : ℝ)) := by |
| 669 | have ha : 0 < 2 * h := by positivity |
| 670 | have ha1 : 2 * h < 1 := by linarith |
| 671 | obtain ⟨C, hC, hb⟩ := PhysicalCoordinateBounds.physical_coordinate_derivative_bounds |
| 672 | ha ha1 lo hi 1 n |
| 673 | refine ⟨C, hC, fun p hp hq1 hX => ?_⟩ |
| 674 | have hq := (PhysicalCoordinateBounds.physicalQ_contDiffAt ha ha1 hp).of_le |
| 675 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl n) |
| 676 | have hx := (PhysicalCoordinateBounds.physicalX_contDiffAt ha ha1 hp).of_le |
| 677 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl n) |
| 678 | have he := (PhysicalCoordinateBounds.physicalEta_contDiffAt ha ha1 hp).of_le |
| 679 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl n) |
| 680 | obtain ⟨bq, be, bx⟩ := hb p hp hq1 hX |
| 681 | change ‖iteratedFDeriv ℝ n (fun y => |
| 682 | (PhysicalCoordinateBounds.physicalQ (2 * h) y, |
| 683 | (PhysicalCoordinateBounds.physicalX (2 * h) y, |
| 684 | PhysicalCoordinateBounds.physicalEta (2 * h) y))) p‖ ≤ _ |
| 685 | rw [iteratedFDeriv_pair hq (hx.prodMk he), iteratedFDeriv_pair hx he, |
| 686 | ContinuousMultilinearMap.opNorm_prod, ContinuousMultilinearMap.opNorm_prod] |
| 687 | exact max_le bq (max_le bx be) |
| 688 | |
| 689 | theorem physicalChart_finite_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 690 | (lo hi : ℝ) (n : ℕ) : |
| 691 | ∃ D : ℝ, 1 ≤ D ∧ ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 ≤ 1 → |
| 692 | (physicalChart h p).2.1 ∈ Icc lo hi → ∀ i : ℕ, 1 ≤ i → i ≤ n → |
| 693 | ‖iteratedFDeriv ℝ i (physicalChart h) p‖ ≤ (D / (physicalChart h p).1) ^ i := by |
| 694 | classical |
| 695 | choose C hC hb using fun i => physicalChart_jet_bound hh hh1 lo hi i |
| 696 | let D := 1 + ∑ i ∈ Finset.range (n + 1), C i |
| 697 | have hD : 1 ≤ D := by |
| 698 | dsimp [D] |
| 699 | exact le_add_of_nonneg_right (Finset.sum_nonneg (fun i _ => (hC i).le)) |
| 700 | refine ⟨D, hD, fun p hp hq1 hX i hi hin => ?_⟩ |
| 701 | have hq := physicalChart_positive hh hh1 hp |
| 702 | have hCi : C i ≤ D := by |
| 703 | have hsum := Finset.single_le_sum (fun j _ => (hC j).le) |
| 704 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hin)) |
| 705 | dsimp [D] |
| 706 | linarith |
| 707 | have hDp : D ≤ D ^ i := by |
| 708 | simpa only [pow_one] using pow_le_pow_right₀ hD hi |
| 709 | calc |
| 710 | _ ≤ C i * (physicalChart h p).1 ^ (-(i : ℝ)) := hb i p hp hq1 hX |
| 711 | _ ≤ D ^ i * (physicalChart h p).1 ^ (-(i : ℝ)) := |
| 712 | mul_le_mul_of_nonneg_right (hCi.trans hDp) (Real.rpow_nonneg hq.le _) |
| 713 | _ = (D / (physicalChart h p).1) ^ i := by |
| 714 | rw [Real.rpow_neg hq.le, Real.rpow_natCast, div_pow] |
| 715 | ring |
| 716 | |
| 717 | /-- A quantitative chain rule on the actual positive-time domain. -/ |
| 718 | theorem physical_composition_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 719 | {F : Chart → V} (hF : ContDiffOn ℝ ∞ F {y | 0 < y.1}) |
| 720 | {p : Chart} (hp : p.1 < 1) (n : ℕ) {C D : ℝ} |
| 721 | (hC : ∀ i ≤ n, ‖iteratedFDeriv ℝ i F (physicalChart h p)‖ ≤ C) |
| 722 | (hD : ∀ i, 1 ≤ i → i ≤ n → |
| 723 | ‖iteratedFDeriv ℝ i (physicalChart h) p‖ ≤ D ^ i) : |
| 724 | ‖iteratedFDeriv ℝ n (F ∘ physicalChart h) p‖ ≤ n.factorial * C * D ^ n := by |
| 725 | have ht : IsOpen {y : Chart | 0 < y.1} := isOpen_lt continuous_const continuous_fst |
| 726 | have hs : IsOpen {p : Chart | p.1 < 1} := isOpen_lt continuous_fst continuous_const |
| 727 | have hc : ContDiffOn ℝ ∞ (physicalChart h) {p : Chart | p.1 < 1} := |
| 728 | fun p hp => (physicalChart_smoothAt hh hh1 hp).contDiffWithinAt |
| 729 | have hmap : MapsTo (physicalChart h) {p : Chart | p.1 < 1} {y : Chart | 0 < y.1} := |
| 730 | fun p hp => physicalChart_positive hh hh1 hp |
| 731 | have hb := norm_iteratedFDerivWithin_comp_le hF hc |
| 732 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl n) ht.uniqueDiffOn hs.uniqueDiffOn hmap hp |
| 733 | (fun i hi => by simpa only [iteratedFDerivWithin_of_isOpen i ht (hmap hp)] using hC i hi) |
| 734 | (fun i hi hin => by simpa only [iteratedFDerivWithin_of_isOpen i hs hp] using hD i hi hin) |
| 735 | simpa only [iteratedFDerivWithin_of_isOpen n hs hp] using hb |
| 736 | |
| 737 | /-- Actual physical derivatives of a tail have arbitrary prescribed decay |
| 738 | after choosing the prefix for that derivative order and requested power. -/ |
| 739 | theorem exists_physical_uncut_tail {a : ℕ → ℕ} {h : ℝ} |
| 740 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 741 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi : ℝ) |
| 742 | (ha : AdmissibleScales h f (innerBox lo hi) a) (m Jmin : ℕ) (P : ℝ) : |
| 743 | ∃ J : ℕ, Jmin ≤ J ∧ m ≤ J ∧ ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ |
| 744 | ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 < δ → |
| 745 | (physicalChart h p).2.1 ∈ Icc lo hi → |
| 746 | ‖iteratedFDeriv ℝ m |
| 747 | ((fun y => slowSum a h f y - uncutPrefix h f J y) ∘ physicalChart h) p‖ ≤ |
| 748 | C * (physicalChart h p).1 ^ P := by |
| 749 | obtain ⟨J, hJmin, hJm, δ, hδ, hb⟩ := exists_ordinary_uncut_tail hh hf ha m Jmin (P + m) |
| 750 | obtain ⟨D, hD, hDb⟩ := physicalChart_finite_bound hh hh1 lo hi m |
| 751 | let C := (m.factorial : ℝ) * (1 / 2 : ℝ) ^ J * D ^ m |
| 752 | refine ⟨J, hJmin, hJm, min δ 1, C, lt_min hδ (by norm_num), ?_, ?_⟩ |
| 753 | · dsimp [C] |
| 754 | have hDpos : 0 < D := lt_of_lt_of_le zero_lt_one hD |
| 755 | positivity |
| 756 | intro p hp hsmall hX |
| 757 | have hq := physicalChart_positive hh hh1 hp |
| 758 | have hq1 : (physicalChart h p).1 ≤ 1 := (hsmall.trans_le (min_le_right _ _)).le |
| 759 | have hw := physicalChart_inner_mem hh hh1 hp hX |
| 760 | have hFs : ContDiffOn ℝ ∞ (fun y => slowSum a h f y - uncutPrefix h f J y) |
| 761 | {y | 0 < y.1} := by |
| 762 | apply (slowSum_smoothOn ha.strictMono hf h).sub |
| 763 | intro y hy |
| 764 | apply ContDiffAt.contDiffWithinAt |
| 765 | apply ((hf 0).comp contDiff_snd).contDiffAt.add |
| 766 | exact ContDiffAt.sum (fun j _ => positiveCoefficient_smoothAt hf h j hy) |
| 767 | have hbound := physical_composition_bound hh hh1 hFs hp m |
| 768 | (C := (1 / 2 : ℝ) ^ J * (physicalChart h p).1 ^ (P + m)) |
| 769 | (D := D / (physicalChart h p).1) |
| 770 | (fun i hi => hb i hi _ hq (hsmall.trans_le (min_le_left _ _)) _ hw) |
| 771 | (hDb p hp hq1 hX) |
| 772 | refine hbound.trans_eq ?_ |
| 773 | dsimp [C] |
| 774 | rw [Real.rpow_add hq, Real.rpow_natCast, div_pow] |
| 775 | have hqn : (physicalChart h p).1 ^ m ≠ 0 := pow_ne_zero m hq.ne' |
| 776 | field_simp [hq.ne', hqn] ; simp [← mul_pow] |
| 777 | congr 1 |
| 778 | field_simp |
| 779 | |
| 780 | end PhysicalCoordinates |
| 781 | |
| 782 | section PhysicalProfiles |
| 783 | |
| 784 | @[simp] theorem physicalChart_eq (h : ℝ) (p : Chart) : |
| 785 | physicalChart h p = (SimilarityProfile.q h p, SimilarityProfile.inner h p) := rfl |
| 786 | |
| 787 | /-- Restoring a fixed leading q-power after summing the normalized data. -/ |
| 788 | noncomputable def physicalProfile (a : ℕ → ℕ) (h b : ℝ) (f : ℕ → Inner → V) |
| 789 | (p : Chart) : V := (physicalChart h p).1 ^ b • slowSum a h f (physicalChart h p) |
| 790 | |
| 791 | theorem physicalProfile_smoothAt {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 792 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → V} |
| 793 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) {p : Chart} (hp : p.1 < 1) : |
| 794 | ContDiffAt ℝ ∞ (physicalProfile a h b f) p := by |
| 795 | have hc := physicalChart_smoothAt hh hh1 hp |
| 796 | exact (hc.fst.rpow_const_of_ne (physicalChart_positive hh hh1 hp).ne').smul |
| 797 | ((slowSum_smoothAt ha hf h (physicalChart_positive hh hh1 hp)).comp p hc) |
| 798 | |
| 799 | theorem physicalProfile_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 800 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → V} |
| 801 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) : |
| 802 | ContDiffOn ℝ ∞ (physicalProfile a h b f) (Iio 1 ×ˢ (univ : Set Inner)) := |
| 803 | fun _ hp => (physicalProfile_smoothAt ha hh hh1 hf b hp.1).contDiffWithinAt |
| 804 | |
| 805 | noncomputable def coefficientWeight (a : ℕ → ℕ) (h q : ℝ) (j : ℕ) : ℝ := |
| 806 | if j = 0 then 0 else SmoothCutoffs.scaledCutoff (a j) q * q ^ (2 * h * j) |
| 807 | |
| 808 | /-- For a fixed positive q, a single finite set represents every coefficient |
| 809 | family, at every inner point. This is independent of the coefficient values. -/ |
| 810 | theorem slowSum_finite_at_scale {a : ℕ → ℕ} (ha : StrictMono a) (h : ℝ) |
| 811 | {q : ℝ} (hq : 0 < q) : ∃ N : ℕ, ∀ f : ℕ → Inner → ℝ, ∀ w : Inner, |
| 812 | slowSum a h f (q, w) = f 0 w + |
| 813 | ∑ j ∈ Finset.range N, coefficientWeight a h q j * f j w := by |
| 814 | obtain ⟨N, hN⟩ := SmoothCutoffs.scaledCutoffs_zero_on_common_neighborhood |
| 815 | (fun j => (a j : ℝ)) (SolenoidalDiagonal.realScales_tendsto ha) hq |
| 816 | refine ⟨N, fun f w => ?_⟩ |
| 817 | change f 0 w + ∑' j, slowStage a h f j (q, w) = _ |
| 818 | rw [tsum_eq_sum (s := Finset.range N) (fun j hj => by |
| 819 | have hn : N ≤ j := Nat.le_of_not_gt (by simpa only [Finset.mem_range] using hj) |
| 820 | simp only [slowStage, SolenoidalDiagonal.cutStage, hN j hn q (half_lt_self hq), zero_smul])] |
| 821 | congr 1 |
| 822 | apply Finset.sum_congr rfl |
| 823 | intro j hj |
| 824 | by_cases hz : j = 0 |
| 825 | · subst j |
| 826 | simp [coefficientWeight] |
| 827 | · simp only [slowStage, SolenoidalDiagonal.cutStage, positiveCoefficient, coefficientWeight, |
| 828 | hz, ite_false, powerCoefficient, smul_eq_mul] |
| 829 | ring |
| 830 | |
| 831 | /-- Differentiation in X commutes with the actual locally finite series. |
| 832 | The cutoff depends only on q, so no radial cutoff term appears. -/ |
| 833 | theorem hasDerivAt_slowSum_X {a : ℕ → ℕ} (ha : StrictMono a) (h : ℝ) |
| 834 | {f : ℕ → Inner → ℝ} (hf : ∀ j, ContDiff ℝ ∞ (f j)) |
| 835 | {q : ℝ} (hq : 0 < q) (X eta : ℝ) : |
| 836 | HasDerivAt (fun x => slowSum a h f (q, (x, eta))) |
| 837 | (slowSum a h (fun j => SimilarityProfile.partialX (f j)) (q, (X, eta))) X := by |
| 838 | obtain ⟨N, hN⟩ := slowSum_finite_at_scale ha h hq |
| 839 | have hd : ∀ j, HasDerivAt (fun x => f j (x, eta)) |
| 840 | (SimilarityProfile.partialX (f j) (X, eta)) X := by |
| 841 | intro j |
| 842 | exact ((hf j).differentiable (by simp)).differentiableAt.hasFDerivAt.comp_hasDerivAt X |
| 843 | ((hasDerivAt_id X).prodMk (hasDerivAt_const X eta)) |
| 844 | have ht := (hd 0).add (HasDerivAt.fun_sum (fun j (_ : j ∈ Finset.range N) => |
| 845 | (hd j).const_mul (coefficientWeight a h q j))) |
| 846 | convert! ht using 1 |
| 847 | · funext x |
| 848 | exact hN f (x, eta) |
| 849 | · exact hN (fun j => SimilarityProfile.partialX (f j)) (X, eta) |
| 850 | |
| 851 | theorem hasDerivAt_physicalProfile_s {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 852 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → ℝ} |
| 853 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) {p : Chart} (hp : p.1 < 1) : |
| 854 | HasDerivAt (fun s => physicalProfile a h b f (p.1, (s, p.2.2))) |
| 855 | (physicalProfile a h (b - 1) (fun j => SimilarityProfile.partialX (f j)) p) p.2.1 := by |
| 856 | have hq := SimilarityProfile.q_pos hh hh1 hp |
| 857 | have hx : HasDerivAt (fun s => s / SimilarityProfile.q h p) |
| 858 | (1 / SimilarityProfile.q h p) p.2.1 := (hasDerivAt_id _).div_const _ |
| 859 | have hc := (hasDerivAt_slowSum_X ha h hf hq (SimilarityProfile.X h p) |
| 860 | (SimilarityProfile.eta h p)).comp p.2.1 hx |
| 861 | have hm := hc.const_mul (SimilarityProfile.q h p ^ b) |
| 862 | have he : SimilarityProfile.q h p ^ b * |
| 863 | (slowSum a h (fun j => SimilarityProfile.partialX (f j)) |
| 864 | (SimilarityProfile.q h p, SimilarityProfile.inner h p) * (1 / SimilarityProfile.q h p)) = |
| 865 | physicalProfile a h (b - 1) (fun j => SimilarityProfile.partialX (f j)) p := by |
| 866 | simp only [physicalProfile, physicalChart_eq, smul_eq_mul, |
| 867 | Real.rpow_sub_one hq.ne'] |
| 868 | ring |
| 869 | exact hm.congr_deriv he |
| 870 | |
| 871 | theorem partialS_physicalProfile {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 872 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → ℝ} |
| 873 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) {p : Chart} (hp : p.1 < 1) : |
| 874 | AxisymmetricFields.partialS (physicalProfile a h b f) p = |
| 875 | physicalProfile a h (b - 1) (fun j => SimilarityProfile.partialX (f j)) p := by |
| 876 | have hd := ((physicalProfile_smoothAt ha hh hh1 hf b hp).differentiableAt (by simp)).hasFDerivAt |
| 877 | have hc := hd.comp_hasDerivAt p.2.1 ((hasDerivAt_const p.2.1 p.1).prodMk |
| 878 | ((hasDerivAt_id p.2.1).prodMk (hasDerivAt_const p.2.1 p.2.2))) |
| 879 | exact hc.unique (hasDerivAt_physicalProfile_s ha hh hh1 hf b hp) |
| 880 | |
| 881 | end PhysicalProfiles |
| 882 | |
| 883 | section PoweredTails |
| 884 | |
| 885 | noncomputable def physicalUncutPrefix (h b : ℝ) (f : ℕ → Inner → V) (J : ℕ) |
| 886 | (p : Chart) : V := (physicalChart h p).1 ^ b • uncutPrefix h f J (physicalChart h p) |
| 887 | |
| 888 | theorem uncutPrefix_smoothOn {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) |
| 889 | (h : ℝ) (J : ℕ) : ContDiffOn ℝ ∞ (uncutPrefix h f J) {y | 0 < y.1} := by |
| 890 | intro y hy |
| 891 | apply ContDiffAt.contDiffWithinAt |
| 892 | apply ((hf 0).comp contDiff_snd).contDiffAt.add |
| 893 | exact ContDiffAt.sum (fun j _ => positiveCoefficient_smoothAt hf h j hy) |
| 894 | |
| 895 | theorem norm_smul_jet_le_on {F : Chart → ℝ} {G : Chart → V} {U : Set Chart} |
| 896 | (hU : IsOpen U) (hF : ContDiffOn ℝ ∞ F U) (hG : ContDiffOn ℝ ∞ G U) |
| 897 | {p : Chart} (hp : p ∈ U) (m : ℕ) : |
| 898 | ‖iteratedFDeriv ℝ m (fun y => F y • G y) p‖ ≤ |
| 899 | ∑ i ∈ Finset.range (m + 1), (m.choose i : ℝ) * |
| 900 | ‖iteratedFDeriv ℝ i F p‖ * ‖iteratedFDeriv ℝ (m - i) G p‖ := by |
| 901 | have hb := norm_iteratedFDerivWithin_smul_le hF hG hU.uniqueDiffOn hp |
| 902 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m) |
| 903 | simpa only [iteratedFDerivWithin_of_isOpen _ hU hp] using hb |
| 904 | |
| 905 | /-- Restoring any fixed leading q-power preserves arbitrary-order asymptotic |
| 906 | summation. All products and derivatives here are the actual physical ones. -/ |
| 907 | theorem powered_physical_tail_of_chart_bound {a : ℕ → ℕ} {h : ℝ} |
| 908 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 909 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi b : ℝ) |
| 910 | (ha : StrictMono a) (J M : ℕ) (P E δ : ℝ) (hE : 0 ≤ E) (hδ : 0 < δ) |
| 911 | (hb : ∀ m ≤ M, ∀ q : ℝ, 0 < q → q < δ → ∀ w ∈ innerBox lo hi, |
| 912 | ‖iteratedFDeriv ℝ m (fun y => slowSum a h f y - uncutPrefix h f J y) (q, w)‖ ≤ |
| 913 | E * q ^ (P - b + M)) : |
| 914 | ∃ δ' C : ℝ, 0 < δ' ∧ 0 < C ∧ |
| 915 | ∀ m ≤ M, ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 < δ' → |
| 916 | (physicalChart h p).2.1 ∈ Icc lo hi → |
| 917 | ‖iteratedFDeriv ℝ m |
| 918 | (fun y => physicalProfile a h b f y - physicalUncutPrefix h b f J y) p‖ ≤ |
| 919 | C * (physicalChart h p).1 ^ P := by |
| 920 | classical |
| 921 | let S := P - b + M |
| 922 | obtain ⟨D, hD, hDb⟩ := physicalChart_finite_bound hh hh1 lo hi M |
| 923 | choose A hA hAb using fun i => PhysicalCoordinateBounds.physical_power_derivative_bound |
| 924 | (by positivity : 0 < 2 * h) (by linarith : 2 * h < 1) b lo hi 1 i |
| 925 | let K : ℕ → ℕ → ℝ := fun m i => (m.choose i : ℝ) * A i * |
| 926 | ((m - i).factorial : ℝ) * E * D ^ (m - i) |
| 927 | let C := (∑ m ∈ Finset.range (M + 1), ∑ i ∈ Finset.range (m + 1), K m i) + 1 |
| 928 | have hDpos : 0 < D := lt_of_lt_of_le zero_lt_one hD |
| 929 | have hKn : ∀ m i, 0 ≤ K m i := by |
| 930 | intro m i |
| 931 | have := hA i |
| 932 | dsimp [K] |
| 933 | positivity |
| 934 | have hCn : 0 < C := by |
| 935 | have := Finset.sum_nonneg (s := Finset.range (M + 1)) |
| 936 | (fun m _ => Finset.sum_nonneg (s := Finset.range (m + 1)) (fun i _ => hKn m i)) |
| 937 | dsimp [C] |
| 938 | linarith |
| 939 | refine ⟨min δ 1, C, lt_min hδ (by norm_num), hCn, ?_⟩ |
| 940 | intro m hm p hp hsmall hX |
| 941 | let q := (physicalChart h p).1 |
| 942 | have hq : 0 < q := physicalChart_positive hh hh1 hp |
| 943 | have hq1 : q ≤ 1 := (hsmall.trans_le (min_le_right _ _)).le |
| 944 | have hw := physicalChart_inner_mem hh hh1 hp hX |
| 945 | let F : Chart → V := fun y => slowSum a h f y - uncutPrefix h f J y |
| 946 | have hF : ContDiffOn ℝ ∞ F {y | 0 < y.1} := |
| 947 | (slowSum_smoothOn ha hf h).sub (uncutPrefix_smoothOn hf h J) |
| 948 | have hU : IsOpen {y : Chart | y.1 < 1} := isOpen_lt continuous_fst continuous_const |
| 949 | have hPow : ContDiffOn ℝ ∞ (fun y : Chart => (physicalChart h y).1 ^ b) {y | y.1 < 1} := by |
| 950 | intro y hy |
| 951 | exact (((physicalChart_smoothAt hh hh1 hy).fst).rpow_const_of_ne |
| 952 | (physicalChart_positive hh hh1 hy).ne').contDiffWithinAt |
| 953 | have hFc : ContDiffOn ℝ ∞ (F ∘ physicalChart h) {y | y.1 < 1} := by |
| 954 | intro y hy |
| 955 | exact ((hF.contDiffAt ((isOpen_lt continuous_const continuous_fst).mem_nhds |
| 956 | (physicalChart_positive hh hh1 hy))).comp y |
| 957 | (physicalChart_smoothAt hh hh1 hy)).contDiffWithinAt |
| 958 | have heq : (fun y => physicalProfile a h b f y - physicalUncutPrefix h b f J y) = |
| 959 | (fun y => (physicalChart h y).1 ^ b • (F ∘ physicalChart h) y) := by |
| 960 | funext y |
| 961 | simp only [physicalProfile, physicalUncutPrefix, F, Function.comp_apply, smul_sub] |
| 962 | rw [heq] |
| 963 | refine (norm_smul_jet_le_on hU hPow hFc hp m).trans ?_ |
| 964 | calc |
| 965 | _ ≤ ∑ i ∈ Finset.range (m + 1), K m i * q ^ (P + M - m) := by |
| 966 | apply Finset.sum_le_sum |
| 967 | intro i hi |
| 968 | have him : i ≤ m := Nat.le_of_lt_succ (Finset.mem_range.mp hi) |
| 969 | have hFi := physical_composition_bound hh hh1 hF hp (m - i) |
| 970 | (C := E * q ^ S) (D := D / q) |
| 971 | (fun k hk => hb k (by omega) _ hq (hsmall.trans_le (min_le_left _ _)) _ hw) |
| 972 | (fun k hk hki => hDb p hp hq1 hX k hk (by omega)) |
| 973 | have hAi : ‖iteratedFDeriv ℝ i (fun y : Chart => (physicalChart h y).1 ^ b) p‖ ≤ |
| 974 | A i * q ^ (b - i) := hAb i p hp hq1 hX |
| 975 | have hi0 : 0 ≤ (m.choose i : ℝ) := by positivity |
| 976 | have hAi0 := (hA i).le |
| 977 | refine (mul_le_mul (mul_le_mul_of_nonneg_left hAi hi0) hFi |
| 978 | (norm_nonneg _) (by positivity)).trans_eq ?_ |
| 979 | have hpow : q ^ (b - i) * q ^ S / q ^ (m - i) = q ^ (P + M - m) := by |
| 980 | rw [← Real.rpow_natCast q (m - i), ← Real.rpow_add hq, ← Real.rpow_sub hq] |
| 981 | congr 1 |
| 982 | rw [Nat.cast_sub him] |
| 983 | dsimp [S] |
| 984 | ring |
| 985 | dsimp only [K] |
| 986 | calc |
| 987 | _ = ((m.choose i : ℝ) * A i * ((m - i).factorial : ℝ) * |
| 988 | E * D ^ (m - i)) * |
| 989 | (q ^ (b - i) * q ^ S / q ^ (m - i)) := by rw [div_pow]; ring |
| 990 | _ = _ := by rw [hpow] |
| 991 | _ = (∑ i ∈ Finset.range (m + 1), K m i) * q ^ (P + M - m) := |
| 992 | (Finset.sum_mul _ _ _).symm |
| 993 | _ ≤ (∑ i ∈ Finset.range (m + 1), K m i) * q ^ P := by |
| 994 | apply mul_le_mul_of_nonneg_left _ (Finset.sum_nonneg (fun i _ => hKn m i)) |
| 995 | apply Real.rpow_le_rpow_of_exponent_ge hq hq1 |
| 996 | have hmR : (m : ℝ) ≤ M := by exact_mod_cast hm |
| 997 | linarith |
| 998 | _ ≤ C * q ^ P := by |
| 999 | apply mul_le_mul_of_nonneg_right _ (Real.rpow_nonneg hq.le _) |
| 1000 | have hsingle := Finset.single_le_sum |
| 1001 | (fun k (_ : k ∈ Finset.range (M + 1)) => |
| 1002 | Finset.sum_nonneg (s := Finset.range (k + 1)) (fun i _ => hKn k i)) |
| 1003 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hm)) |
| 1004 | dsimp [C] |
| 1005 | linarith |
| 1006 | |
| 1007 | theorem exists_powered_physical_tail_finite {a : ℕ → ℕ} {h : ℝ} |
| 1008 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1009 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi b : ℝ) |
| 1010 | (ha : AdmissibleScales h f (innerBox lo hi) a) (M Jmin : ℕ) (P : ℝ) : |
| 1011 | ∃ J : ℕ, Jmin ≤ J ∧ M ≤ J ∧ ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ |
| 1012 | ∀ m ≤ M, ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 < δ → |
| 1013 | (physicalChart h p).2.1 ∈ Icc lo hi → |
| 1014 | ‖iteratedFDeriv ℝ m |
| 1015 | (fun y => physicalProfile a h b f y - physicalUncutPrefix h b f J y) p‖ ≤ |
| 1016 | C * (physicalChart h p).1 ^ P := by |
| 1017 | obtain ⟨J, hJmin, hJM, δ, hδ, hb⟩ := |
| 1018 | exists_ordinary_uncut_tail hh hf ha M Jmin (P - b + M) |
| 1019 | obtain ⟨δ', C, hδ', hC, hbound⟩ := powered_physical_tail_of_chart_bound |
| 1020 | hh hh1 hf lo hi b ha.strictMono J M P ((1 / 2 : ℝ) ^ J) δ (by positivity) hδ hb |
| 1021 | exact ⟨J, hJmin, hJM, δ', C, hδ', hC, hbound⟩ |
| 1022 | |
| 1023 | theorem exists_powered_physical_tail {a : ℕ → ℕ} {h : ℝ} |
| 1024 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1025 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi b : ℝ) |
| 1026 | (ha : AdmissibleScales h f (innerBox lo hi) a) (m Jmin : ℕ) (P : ℝ) : |
| 1027 | ∃ J : ℕ, Jmin ≤ J ∧ m ≤ J ∧ ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ |
| 1028 | ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 < δ → |
| 1029 | (physicalChart h p).2.1 ∈ Icc lo hi → |
| 1030 | ‖iteratedFDeriv ℝ m |
| 1031 | (fun y => physicalProfile a h b f y - physicalUncutPrefix h b f J y) p‖ ≤ |
| 1032 | C * (physicalChart h p).1 ^ P := by |
| 1033 | obtain ⟨J, hJ, hJm, δ, C, hδ, hC, hb⟩ := |
| 1034 | exists_powered_physical_tail_finite hh hh1 hf lo hi b ha m Jmin P |
| 1035 | exact ⟨J, hJ, hJm, δ, C, hδ, hC, hb m le_rfl⟩ |
| 1036 | |
| 1037 | end PoweredTails |
| 1038 | |
| 1039 | section LinearMaps |
| 1040 | |
| 1041 | variable {W : Type} [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 1042 | |
| 1043 | theorem slowStage_map (L : V →L[ℝ] W) (a : ℕ → ℕ) (h : ℝ) |
| 1044 | (f : ℕ → Inner → V) (j : ℕ) : |
| 1045 | slowStage a h (fun n w => L (f n w)) j = L ∘ slowStage a h f j := by |
| 1046 | funext y |
| 1047 | by_cases hj : j = 0 |
| 1048 | · subst j |
| 1049 | simp |
| 1050 | · simp [slowStage, SolenoidalDiagonal.cutStage, positiveCoefficient, hj, |
| 1051 | powerCoefficient] |
| 1052 | |
| 1053 | theorem slowSum_map (L : V →L[ℝ] W) {a : ℕ → ℕ} (ha : StrictMono a) |
| 1054 | (h : ℝ) (f : ℕ → Inner → V) {y : Chart} (hy : 0 < y.1) : |
| 1055 | slowSum a h (fun n w => L (f n w)) y = L (slowSum a h f y) := by |
| 1056 | have hs := SolenoidalDiagonal.summable_cutStage |
| 1057 | (SolenoidalDiagonal.realScales_tendsto ha) continuous_fst.continuousAt hy |
| 1058 | (positiveCoefficient h f) |
| 1059 | have hss : Summable (fun j => slowStage a h f j y) := hs |
| 1060 | change L (f 0 y.2) + ∑' j, slowStage a h (fun n w => L (f n w)) j y = |
| 1061 | L (f 0 y.2 + ∑' j, slowStage a h f j y) |
| 1062 | rw [L.map_add, L.map_tsum hss] |
| 1063 | congr 1 |
| 1064 | apply tsum_congr |
| 1065 | intro j |
| 1066 | rw [slowStage_map] |
| 1067 | rfl |
| 1068 | |
| 1069 | theorem norm_jet_map_le (L : V →L[ℝ] W) {F : Chart → V} {y : Chart} |
| 1070 | (hF : ContDiffAt ℝ ∞ F y) (m : ℕ) : |
| 1071 | ‖iteratedFDeriv ℝ m (L ∘ F) y‖ ≤ ‖L‖ * ‖iteratedFDeriv ℝ m F y‖ := by |
| 1072 | rw [L.iteratedFDeriv_comp_left hF (ENat.natCast_le_of_coe_top_le_withTop le_rfl m)] |
| 1073 | exact L.norm_compContinuousMultilinearMap_le _ |
| 1074 | |
| 1075 | theorem AdmissibleScales.map {a : ℕ → ℕ} {h : ℝ} {f : ℕ → Inner → V} {K : Set Inner} |
| 1076 | (ha : AdmissibleScales h f K a) (hf : ∀ j, ContDiff ℝ ∞ (f j)) |
| 1077 | (L : V →L[ℝ] W) (hL : ‖L‖ ≤ 1) : |
| 1078 | AdmissibleScales h (fun j w => L (f j w)) K a := by |
| 1079 | refine ⟨ha.positive, ha.doubling, ha.strictMono, ?_, ?_⟩ |
| 1080 | · intro j hj m hm q hq hq1 w hw |
| 1081 | rw [slowStage_map] |
| 1082 | exact (norm_jet_map_le L (slowStage_smoothAt hf a h j hq) m).trans |
| 1083 | ((mul_le_of_le_one_left (norm_nonneg _) hL).trans (ha.ordinary j hj m hm q hq hq1 w hw)) |
| 1084 | · intro j hj m hm q hq hq1 w hw |
| 1085 | rw [slowStage_map] |
| 1086 | have hs : ContDiffAt ℝ ∞ (slowStage a h f j ∘ scaleMap q) (1, w) := by |
| 1087 | apply ContDiffAt.comp |
| 1088 | · simpa only [scaleMap_apply, mul_one] using slowStage_smoothAt hf a h j (y := (q, w)) hq |
| 1089 | · exact (scaleMap q).contDiff.contDiffAt |
| 1090 | exact (norm_jet_map_le L hs m).trans |
| 1091 | ((mul_le_of_le_one_left (norm_nonneg _) hL).trans (ha.blown j hj m hm q hq hq1 w hw)) |
| 1092 | |
| 1093 | end LinearMaps |
| 1094 | |
| 1095 | section BaseFields |
| 1096 | |
| 1097 | /-- Smooth coefficient data before asymptotic summation. The radial and swirl |
| 1098 | potentials below are constructed by actual integration from these data. -/ |
| 1099 | structure Coefficients where |
| 1100 | axial : ℕ → Inner → ℝ |
| 1101 | phi : ℕ → Inner → ℝ |
| 1102 | pressure : ℕ → Inner → ℝ |
| 1103 | stressTheta : ℕ → Inner → ℝ |
| 1104 | stressAxial : ℕ → Inner → ℝ |
| 1105 | |
| 1106 | structure SmoothCoefficients (d : Coefficients) : Prop where |
| 1107 | axial : ∀ j, ContDiff ℝ ∞ (d.axial j) |
| 1108 | phi : ∀ j, ContDiff ℝ ∞ (d.phi j) |
| 1109 | pressure : ∀ j, ContDiff ℝ ∞ (d.pressure j) |
| 1110 | stressTheta : ∀ j, ContDiff ℝ ∞ (d.stressTheta j) |
| 1111 | stressAxial : ∀ j, ContDiff ℝ ∞ (d.stressAxial j) |
| 1112 | |
| 1113 | noncomputable def globalRadialDomain : ProfileHistories.RadialDomain where |
| 1114 | carrier := univ |
| 1115 | isOpen := isOpen_univ |
| 1116 | scale_mem := by intro p hp t ht; trivial |
| 1117 | |
| 1118 | theorem average_smooth {f : Inner → ℝ} (hf : ContDiff ℝ ∞ f) : |
| 1119 | ContDiff ℝ ∞ (ProfileHistories.average f) := |
| 1120 | contDiffOn_univ.mp (ProfileHistories.average_smooth globalRadialDomain hf.contDiffOn) |
| 1121 | |
| 1122 | theorem primitive_smooth {f : Inner → ℝ} (hf : ContDiff ℝ ∞ f) : |
| 1123 | ContDiff ℝ ∞ (ProfileHistories.primitive f) := |
| 1124 | contDiffOn_univ.mp (ProfileHistories.primitive_smooth globalRadialDomain hf.contDiffOn) |
| 1125 | |
| 1126 | theorem partialX_primitive {f : Inner → ℝ} (hf : ContDiff ℝ ∞ f) : |
| 1127 | SimilarityProfile.partialX (ProfileHistories.primitive f) = f := by |
| 1128 | funext w |
| 1129 | exact ProfileHistories.radialPartial_primitive globalRadialDomain hf.contDiffOn (mem_univ w) |
| 1130 | |
| 1131 | abbrev Bundle := Fin 7 → ℝ |
| 1132 | |
| 1133 | /-- One bundle forces one common cutoff schedule for the streams, angular |
| 1134 | data, pressure, and both stress components. -/ |
| 1135 | noncomputable def coefficientBundle (C : ℝ) (d : Coefficients) (j : ℕ) (w : Inner) : Bundle := |
| 1136 | ![ProfileHistories.average (d.axial j) w, |
| 1137 | -C⁻¹ * ProfileHistories.primitive (d.phi j) w, |
| 1138 | d.pressure j w, d.stressTheta j w, d.stressAxial j w, d.axial j w, d.phi j w] |
| 1139 | |
| 1140 | theorem coefficientBundle_smooth {d : Coefficients} (hd : SmoothCoefficients d) |
| 1141 | (C : ℝ) (j : ℕ) : ContDiff ℝ ∞ (coefficientBundle C d j) := by |
| 1142 | apply contDiff_pi.mpr |
| 1143 | intro i |
| 1144 | fin_cases i |
| 1145 | · exact average_smooth (hd.axial j) |
| 1146 | · exact contDiff_const.mul (primitive_smooth (hd.phi j)) |
| 1147 | · exact hd.pressure j |
| 1148 | · exact hd.stressTheta j |
| 1149 | · exact hd.stressAxial j |
| 1150 | · exact hd.axial j |
| 1151 | · exact hd.phi j |
| 1152 | |
| 1153 | noncomputable def bundleComponent (C : ℝ) (d : Coefficients) (i : Fin 7) : ℕ → Inner → ℝ := |
| 1154 | fun j w => coefficientBundle C d j w i |
| 1155 | |
| 1156 | theorem bundleComponent_smooth {d : Coefficients} (hd : SmoothCoefficients d) |
| 1157 | (C : ℝ) (i : Fin 7) (j : ℕ) : ContDiff ℝ ∞ (bundleComponent C d i j) := |
| 1158 | contDiff_pi.mp (coefficientBundle_smooth hd C j) i |
| 1159 | |
| 1160 | theorem admissible_component {a : ℕ → ℕ} {h C : ℝ} {d : Coefficients} |
| 1161 | (hd : SmoothCoefficients d) {K : Set Inner} |
| 1162 | (ha : AdmissibleScales h (coefficientBundle C d) K a) (i : Fin 7) : |
| 1163 | AdmissibleScales h (bundleComponent C d i) K a := by |
| 1164 | apply ha.map (coefficientBundle_smooth hd C) (ContinuousLinearMap.proj i) |
| 1165 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 1166 | intro v |
| 1167 | simpa only [ContinuousLinearMap.proj_apply, one_mul] using norm_le_pi_norm v i |
| 1168 | |
| 1169 | /-- H=S/s, with its smooth value at the axis provided by the radial average. -/ |
| 1170 | noncomputable def streamFactor (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : Chart → ℝ := |
| 1171 | physicalProfile a h (-CoordinateAlgebra.A h) (bundleComponent C d 0) |
| 1172 | |
| 1173 | noncomputable def swirlPotential (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : Chart → ℝ := |
| 1174 | physicalProfile a h (1 / 2 - CoordinateAlgebra.A h) (bundleComponent C d 1) |
| 1175 | |
| 1176 | noncomputable def integratedStream (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) |
| 1177 | (p : Chart) : ℝ := p.2.1 * streamFactor a h C d p |
| 1178 | |
| 1179 | noncomputable def baseVelocity (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : |
| 1180 | ProblemStatement.VelocityField := |
| 1181 | AxisymmetricFields.velocity (streamFactor a h C d) (swirlPotential a h C d) |
| 1182 | |
| 1183 | noncomputable def basePressure (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : |
| 1184 | ProblemStatement.PressureField := fun z => |
| 1185 | physicalProfile a h (-2 * CoordinateAlgebra.A h) (bundleComponent C d 2) |
| 1186 | (AxisymmetricFields.profilePoint z.1 z.2) |
| 1187 | |
| 1188 | noncomputable def baseStressTheta (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : Chart → ℝ := |
| 1189 | physicalProfile a h (-CoordinateAlgebra.A h - 1 / 2) (bundleComponent C d 3) |
| 1190 | |
| 1191 | noncomputable def baseStressAxial (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : Chart → ℝ := |
| 1192 | physicalProfile a h (-CoordinateAlgebra.A h - 1 / 2) (bundleComponent C d 4) |
| 1193 | |
| 1194 | theorem baseVelocity_smooth {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 1195 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) (C : ℝ) : |
| 1196 | ContDiffOn ℝ ∞ (baseVelocity a h C d) (Iio 1 ×ˢ (univ : Set ProblemStatement.Space)) := |
| 1197 | AxisymmetricFields.contDiffOn_velocity |
| 1198 | (physicalProfile_smoothOn ha hh hh1 (bundleComponent_smooth hd C 0) _) |
| 1199 | (physicalProfile_smoothOn ha hh hh1 (bundleComponent_smooth hd C 1) _) (by simp) |
| 1200 | |
| 1201 | /-- Exact Cartesian incompressibility, including the axis, follows from the |
| 1202 | actual curl of the asymptotically summed potentials. -/ |
| 1203 | theorem baseVelocity_divergence_zero {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 1204 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) (C : ℝ) |
| 1205 | {t : ℝ} (ht : t < 1) (x : ProblemStatement.Space) : |
| 1206 | ProblemStatement.spatialDivergence (baseVelocity a h C d) t x = 0 := |
| 1207 | AxisymmetricFields.divergence_velocity_on |
| 1208 | ((physicalProfile_smoothOn ha hh hh1 (bundleComponent_smooth hd C 0) _).of_le |
| 1209 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl 2)) |
| 1210 | ((physicalProfile_smoothOn ha hh hh1 (bundleComponent_smooth hd C 1) _).of_le |
| 1211 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl 2)) ht x |
| 1212 | |
| 1213 | /-- Existence of the shared schedule and the actual smooth, exactly |
| 1214 | solenoidal base uses only the supplied smooth coefficient sequence. -/ |
| 1215 | theorem exists_base_fields {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1216 | {d : Coefficients} (hd : SmoothCoefficients d) (C lo hi : ℝ) (B : ℕ) : |
| 1217 | ∃ a : ℕ → ℕ, B ≤ a 0 ∧ AdmissibleScales h (coefficientBundle C d) (innerBox lo hi) a ∧ |
| 1218 | ContDiffOn ℝ ∞ (baseVelocity a h C d) (Iio 1 ×ˢ (univ : Set ProblemStatement.Space)) ∧ |
| 1219 | ∀ t : ℝ, t < 1 → ∀ x : ProblemStatement.Space, |
| 1220 | ProblemStatement.spatialDivergence (baseVelocity a h C d) t x = 0 := by |
| 1221 | obtain ⟨a, haB, ha⟩ := exists_admissibleScales (coefficientBundle_smooth hd C) hh |
| 1222 | (innerBox_isCompact lo hi) B |
| 1223 | exact ⟨a, haB, ha, baseVelocity_smooth ha.strictMono hh hh1 hd C, |
| 1224 | fun _ ht x => baseVelocity_divergence_zero ha.strictMono hh hh1 hd C ht x⟩ |
| 1225 | |
| 1226 | end BaseFields |
| 1227 | |
| 1228 | section CoefficientIdentification |
| 1229 | |
| 1230 | theorem uncutPrefix_eq_sum (h : ℝ) (f : ℕ → Inner → V) (J : ℕ) (y : Chart) : |
| 1231 | uncutPrefix h f J y = |
| 1232 | ∑ j ∈ Finset.range (J + 1), powerCoefficient (2 * h * j) (f j) y := by |
| 1233 | induction J with |
| 1234 | | zero => simp [uncutPrefix, positiveCoefficient, powerCoefficient] |
| 1235 | | succ J ih => |
| 1236 | change f 0 y.2 + ∑ j ∈ Finset.range ((J + 1) + 1), positiveCoefficient h f j y = _ |
| 1237 | rw [Finset.sum_range_succ, ← add_assoc] |
| 1238 | change uncutPrefix h f J y + positiveCoefficient h f (J + 1) y = _ |
| 1239 | rw [ih] |
| 1240 | conv_rhs => rw [Finset.sum_range_succ] |
| 1241 | simp only [positiveCoefficient, Nat.add_eq_zero_iff, one_ne_zero, and_false, ite_false] |
| 1242 | |
| 1243 | /-- The uncut physical prefix is the same finite expansion used in the |
| 1244 | explicit coefficient residual calculation. -/ |
| 1245 | theorem physicalUncutPrefix_eq_finiteProfile {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1246 | (b : ℝ) (f : ℕ → Inner → ℝ) (J : ℕ) {p : Chart} (hp : p.1 < 1) : |
| 1247 | physicalUncutPrefix h b f J p = SlowExpansionResidual.finiteProfile J h b f p := by |
| 1248 | rw [physicalUncutPrefix, uncutPrefix_eq_sum] |
| 1249 | simp only [physicalChart_eq, smul_eq_mul, Finset.mul_sum, SlowExpansionResidual.finiteProfile, |
| 1250 | SimilarityProfile.pullback, powerCoefficient] |
| 1251 | apply Finset.sum_congr rfl |
| 1252 | intro j hj |
| 1253 | rw [Real.rpow_add (SimilarityProfile.q_pos hh hh1 hp)] |
| 1254 | have he : 2 * h * (j : ℝ) = SlowExpansionResidual.slowOrder h j := by |
| 1255 | unfold SlowExpansionResidual.slowOrder |
| 1256 | ring |
| 1257 | rw [he] |
| 1258 | ring |
| 1259 | |
| 1260 | theorem slowSum_inner_mul {a : ℕ → ℕ} (ha : StrictMono a) (h : ℝ) |
| 1261 | (f : ℕ → Inner → ℝ) (r : Inner → ℝ) {y : Chart} (hy : 0 < y.1) : |
| 1262 | slowSum a h (fun j w => r w * f j w) y = r y.2 * slowSum a h f y := by |
| 1263 | obtain ⟨N, hN⟩ := slowSum_finite_at_scale ha h hy |
| 1264 | rw [hN _ y.2, hN f y.2, mul_add, Finset.mul_sum] |
| 1265 | congr 1 |
| 1266 | apply Finset.sum_congr rfl |
| 1267 | intro j hj |
| 1268 | ring |
| 1269 | |
| 1270 | /-- The integrated stream is literally the cut sum of q^(1−A+λj) times |
| 1271 | the radial primitives, with its smooth axis factor retained. -/ |
| 1272 | theorem integratedStream_eq_primitive {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 1273 | (hh : 0 < h) (hh1 : h < 1 / 2) (C : ℝ) (d : Coefficients) |
| 1274 | {p : Chart} (hp : p.1 < 1) : |
| 1275 | integratedStream a h C d p = |
| 1276 | physicalProfile a h (1 - CoordinateAlgebra.A h) |
| 1277 | (fun j => ProfileHistories.primitive (d.axial j)) p := by |
| 1278 | have he : (fun j => ProfileHistories.primitive (d.axial j)) = |
| 1279 | (fun j w => w.1 * ProfileHistories.average (d.axial j) w) := by |
| 1280 | funext j w |
| 1281 | exact ProfileHistories.primitive_eq_mul_average _ _ |
| 1282 | rw [he, physicalProfile, slowSum_inner_mul ha h _ _ (physicalChart_positive hh hh1 hp)] |
| 1283 | change p.2.1 * ((physicalChart h p).1 ^ (-CoordinateAlgebra.A h) * |
| 1284 | slowSum a h (fun j => ProfileHistories.average (d.axial j)) (physicalChart h p)) = _ |
| 1285 | rw [physicalChart_eq] |
| 1286 | change p.2.1 * (SimilarityProfile.q h p ^ (-CoordinateAlgebra.A h) * _) = |
| 1287 | SimilarityProfile.q h p ^ (1 - CoordinateAlgebra.A h) * |
| 1288 | (SimilarityProfile.X h p * _) |
| 1289 | rw [show 1 - CoordinateAlgebra.A h = 1 + -CoordinateAlgebra.A h by ring, |
| 1290 | Real.rpow_add (SimilarityProfile.q_pos hh hh1 hp), Real.rpow_one] |
| 1291 | unfold SimilarityProfile.X |
| 1292 | field_simp [(SimilarityProfile.q_pos hh hh1 hp).ne'] |
| 1293 | |
| 1294 | theorem partialS_integratedStream {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 1295 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 1296 | (C : ℝ) {p : Chart} (hp : p.1 < 1) : |
| 1297 | AxisymmetricFields.partialS (integratedStream a h C d) p = |
| 1298 | physicalProfile a h (-CoordinateAlgebra.A h) d.axial p := by |
| 1299 | have he : integratedStream a h C d =ᶠ[𝓝 p] |
| 1300 | physicalProfile a h (1 - CoordinateAlgebra.A h) |
| 1301 | (fun j => ProfileHistories.primitive (d.axial j)) := by |
| 1302 | filter_upwards [continuousAt_fst.eventually (Iio_mem_nhds hp)] with y hy |
| 1303 | exact integratedStream_eq_primitive ha hh hh1 C d hy |
| 1304 | change fderiv ℝ (integratedStream a h C d) p (0, (1, 0)) = _ |
| 1305 | rw [he.fderiv_eq] |
| 1306 | change AxisymmetricFields.partialS |
| 1307 | (physicalProfile a h (1 - CoordinateAlgebra.A h) |
| 1308 | (fun j => ProfileHistories.primitive (d.axial j))) p = _ |
| 1309 | rw [partialS_physicalProfile ha hh hh1 (fun j => primitive_smooth (hd.axial j)) _ hp] |
| 1310 | simp_rw [partialX_primitive (hd.axial _)] |
| 1311 | rw [show 1 - CoordinateAlgebra.A h - 1 = -CoordinateAlgebra.A h by ring] |
| 1312 | |
| 1313 | theorem partialS_radial_mul {H : Chart → ℝ} {p : Chart} (hH : DifferentiableAt ℝ H p) : |
| 1314 | AxisymmetricFields.partialS (fun y => y.2.1 * H y) p = |
| 1315 | H p + p.2.1 * AxisymmetricFields.partialS H p := by |
| 1316 | have hs : HasFDerivAt (fun y : Chart => y.2.1) |
| 1317 | ((ContinuousLinearMap.fst ℝ ℝ ℝ).comp (ContinuousLinearMap.snd ℝ ℝ Inner)) p := |
| 1318 | (hasFDerivAt_fst).comp p hasFDerivAt_snd |
| 1319 | unfold AxisymmetricFields.partialS |
| 1320 | rw [(hs.fun_mul hH.hasFDerivAt).fderiv] |
| 1321 | simp |
| 1322 | ring |
| 1323 | |
| 1324 | /-- The actual axial component is the direct cut sum of the axial profiles; |
| 1325 | the derivative of the integrated stream has been computed, not postulated. -/ |
| 1326 | theorem baseVelocity_axial {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 1327 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 1328 | (C : ℝ) {t : ℝ} (ht : t < 1) (x : ProblemStatement.Space) : |
| 1329 | baseVelocity a h C d (t, x) 2 = |
| 1330 | physicalProfile a h (-CoordinateAlgebra.A h) d.axial (AxisymmetricFields.profilePoint t x) := by |
| 1331 | have hH := (physicalProfile_smoothAt ha hh hh1 (bundleComponent_smooth hd C 0) |
| 1332 | (-CoordinateAlgebra.A h) (p := AxisymmetricFields.profilePoint t x) ht).differentiableAt (by simp) |
| 1333 | have hK := (physicalProfile_smoothAt ha hh hh1 (bundleComponent_smooth hd C 1) |
| 1334 | (1 / 2 - CoordinateAlgebra.A h) (p := AxisymmetricFields.profilePoint t x) ht).differentiableAt (by simp) |
| 1335 | change DifferentiableAt ℝ (streamFactor a h C d) (AxisymmetricFields.profilePoint t x) at hH |
| 1336 | change DifferentiableAt ℝ (swirlPotential a h C d) (AxisymmetricFields.profilePoint t x) at hK |
| 1337 | rw [baseVelocity, AxisymmetricFields.velocity_two _ _ _ _ hH hK] |
| 1338 | exact (partialS_radial_mul hH).symm.trans (partialS_integratedStream ha hh hh1 hd C ht) |
| 1339 | |
| 1340 | theorem partialX_swirl_primitive {f : Inner → ℝ} (hf : ContDiff ℝ ∞ f) (C : ℝ) : |
| 1341 | SimilarityProfile.partialX (fun w => -C⁻¹ * ProfileHistories.primitive f w) = |
| 1342 | (fun w => -C⁻¹ * f w) := by |
| 1343 | funext w |
| 1344 | unfold SimilarityProfile.partialX |
| 1345 | rw [fderiv_const_mul ((primitive_smooth hf).differentiable (by simp)).differentiableAt] |
| 1346 | change -C⁻¹ * SimilarityProfile.partialX (ProfileHistories.primitive f) w = _ |
| 1347 | rw [partialX_primitive hf] |
| 1348 | |
| 1349 | theorem partialS_swirlPotential {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 1350 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 1351 | (C : ℝ) {p : Chart} (hp : p.1 < 1) : |
| 1352 | AxisymmetricFields.partialS (swirlPotential a h C d) p = |
| 1353 | -C⁻¹ * physicalProfile a h (-CoordinateAlgebra.A h - 1 / 2) d.phi p := by |
| 1354 | rw [swirlPotential, partialS_physicalProfile ha hh hh1 (bundleComponent_smooth hd C 1) _ hp] |
| 1355 | change physicalProfile a h (1 / 2 - CoordinateAlgebra.A h - 1) |
| 1356 | (fun j => SimilarityProfile.partialX (fun w => -C⁻¹ * ProfileHistories.primitive (d.phi j) w)) p = _ |
| 1357 | simp_rw [partialX_swirl_primitive (hd.phi _) C] |
| 1358 | rw [show 1 / 2 - CoordinateAlgebra.A h - 1 = -CoordinateAlgebra.A h - 1 / 2 by ring] |
| 1359 | unfold physicalProfile |
| 1360 | rw [slowSum_inner_mul ha h d.phi (fun _ => -C⁻¹) (physicalChart_positive hh hh1 hp)] |
| 1361 | simp only [smul_eq_mul] |
| 1362 | ring |
| 1363 | |
| 1364 | end CoefficientIdentification |
| 1365 | |
| 1366 | section CartesianTails |
| 1367 | |
| 1368 | theorem physicalUncutPrefix_smoothAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1369 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) (J : ℕ) |
| 1370 | {p : Chart} (hp : p.1 < 1) : ContDiffAt ℝ ∞ (physicalUncutPrefix h b f J) p := by |
| 1371 | have hc := physicalChart_smoothAt hh hh1 hp |
| 1372 | have hi := (uncutPrefix_smoothOn hf h J).contDiffAt |
| 1373 | ((isOpen_lt continuous_const continuous_fst).mem_nhds (physicalChart_positive hh hh1 hp)) |
| 1374 | exact (hc.fst.rpow_const_of_ne (physicalChart_positive hh hh1 hp).ne').smul (hi.comp p hc) |
| 1375 | |
| 1376 | theorem compact_jet_bound {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1377 | {F : E → V} {U K : Set E} (hU : IsOpen U) (hF : ContDiffOn ℝ ∞ F U) |
| 1378 | (hK : IsCompact K) (hKU : K ⊆ U) (m : ℕ) : |
| 1379 | ∃ C : ℝ, 1 ≤ C ∧ ∀ x ∈ K, ‖iteratedFDeriv ℝ m F x‖ ≤ C := by |
| 1380 | have hc := (hF.continuousOn_iteratedFDerivWithin (m := m) |
| 1381 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m) hU.uniqueDiffOn).mono hKU |
| 1382 | have he : ContinuousOn (iteratedFDeriv ℝ m F) K := by |
| 1383 | apply hc.congr |
| 1384 | intro x hx |
| 1385 | exact (iteratedFDerivWithin_of_isOpen m hU (hKU hx)).symm |
| 1386 | obtain ⟨C, hC⟩ := hK.exists_bound_of_continuousOn he |
| 1387 | exact ⟨max 1 C, le_max_left _ _, fun x hx => (hC x hx).trans (le_max_right _ _)⟩ |
| 1388 | |
| 1389 | theorem compact_map_finite_bound {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1390 | {F : E → V} (hF : ContDiff ℝ ∞ F) {K : Set E} (hK : IsCompact K) (M : ℕ) : |
| 1391 | ∃ D : ℝ, 1 ≤ D ∧ ∀ x ∈ K, ∀ i, 1 ≤ i → i ≤ M → |
| 1392 | ‖iteratedFDeriv ℝ i F x‖ ≤ D ^ i := by |
| 1393 | classical |
| 1394 | choose C hC hCb using fun i => compact_jet_bound isOpen_univ hF.contDiffOn hK |
| 1395 | (subset_univ K) i |
| 1396 | let D := 1 + ∑ i ∈ Finset.range (M + 1), C i |
| 1397 | have hD : 1 ≤ D := by |
| 1398 | dsimp [D] |
| 1399 | exact le_add_of_nonneg_right (Finset.sum_nonneg (fun i _ => (zero_le_one.trans (hC i)))) |
| 1400 | refine ⟨D, hD, fun x hx i hi hiM => ?_⟩ |
| 1401 | have hCi : C i ≤ D := by |
| 1402 | have hs := Finset.single_le_sum (fun j (_ : j ∈ Finset.range (M + 1)) => |
| 1403 | zero_le_one.trans (hC j)) (Finset.mem_range.mpr (Nat.lt_succ_of_le hiM)) |
| 1404 | dsimp [D] |
| 1405 | linarith |
| 1406 | refine (hCb i x hx).trans (hCi.trans ?_) |
| 1407 | simpa only [pow_one] using pow_le_pow_right₀ hD hi |
| 1408 | |
| 1409 | noncomputable def cartesianChart (h : ℝ) (z : ProblemStatement.SpaceTime) : Chart := |
| 1410 | physicalChart h (AxisymmetricFields.profilePoint z.1 z.2) |
| 1411 | |
| 1412 | noncomputable def cartesianProfile (a : ℕ → ℕ) (h b : ℝ) (f : ℕ → Inner → V) |
| 1413 | (z : ProblemStatement.SpaceTime) : V := |
| 1414 | physicalProfile a h b f (AxisymmetricFields.profilePoint z.1 z.2) |
| 1415 | |
| 1416 | noncomputable def cartesianUncutPrefix (h b : ℝ) (f : ℕ → Inner → V) (J : ℕ) |
| 1417 | (z : ProblemStatement.SpaceTime) : V := |
| 1418 | physicalUncutPrefix h b f J (AxisymmetricFields.profilePoint z.1 z.2) |
| 1419 | |
| 1420 | /-- The map `(t,x)↦(t,(|x_perp|²/2,x₃))` is smooth at the axis. On any fixed |
| 1421 | compact Cartesian set its derivatives have finite bounds, so the proved |
| 1422 | physical-profile tail estimates imply actual Cartesian space-time estimates. -/ |
| 1423 | theorem exists_cartesian_profile_tail {a : ℕ → ℕ} {h : ℝ} |
| 1424 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1425 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi b : ℝ) |
| 1426 | (ha : AdmissibleScales h f (innerBox lo hi) a) |
| 1427 | {K : Set ProblemStatement.SpaceTime} (hK : IsCompact K) (m Jmin : ℕ) (P : ℝ) : |
| 1428 | ∃ J : ℕ, Jmin ≤ J ∧ m ≤ J ∧ ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ |
| 1429 | ∀ z ∈ K, z.1 < 1 → (cartesianChart h z).1 < δ → |
| 1430 | (cartesianChart h z).2.1 ∈ Icc lo hi → |
| 1431 | ‖iteratedFDeriv ℝ m |
| 1432 | (fun y => cartesianProfile a h b f y - cartesianUncutPrefix h b f J y) z‖ ≤ |
| 1433 | C * (cartesianChart h z).1 ^ P := by |
| 1434 | obtain ⟨J, hJmin, hJm, δ, C, hδ, hC, hb⟩ := |
| 1435 | exists_powered_physical_tail_finite hh hh1 hf lo hi b ha m Jmin P |
| 1436 | let G : ProblemStatement.SpaceTime → Chart := fun z => AxisymmetricFields.profilePoint z.1 z.2 |
| 1437 | have hG : ContDiff ℝ ∞ G := AxisymmetricFields.contDiff_profilePoint |
| 1438 | obtain ⟨D, hD, hDb⟩ := compact_map_finite_bound hG hK m |
| 1439 | let B := (m.factorial : ℝ) * C * D ^ m |
| 1440 | have hDpos : 0 < D := lt_of_lt_of_le zero_lt_one hD |
| 1441 | refine ⟨J, hJmin, hJm, δ, B, hδ, by dsimp [B]; positivity, ?_⟩ |
| 1442 | intro z hz hzt hq hX |
| 1443 | let F : Chart → V := fun p => physicalProfile a h b f p - physicalUncutPrefix h b f J p |
| 1444 | have hU : IsOpen {p : Chart | p.1 < 1} := isOpen_lt continuous_fst continuous_const |
| 1445 | have hS : IsOpen {p : ProblemStatement.SpaceTime | p.1 < 1} := |
| 1446 | isOpen_lt continuous_fst continuous_const |
| 1447 | have hF : ContDiffOn ℝ ∞ F {p | p.1 < 1} := by |
| 1448 | intro p hp |
| 1449 | exact ((physicalProfile_smoothAt ha.strictMono hh hh1 hf b hp).sub |
| 1450 | (physicalUncutPrefix_smoothAt hh hh1 hf b J hp)).contDiffWithinAt |
| 1451 | have hmaps : MapsTo G {p | p.1 < 1} {p | p.1 < 1} := fun _ hp => hp |
| 1452 | have hc := norm_iteratedFDerivWithin_comp_le hF hG.contDiffOn |
| 1453 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m) hU.uniqueDiffOn hS.uniqueDiffOn hmaps hzt |
| 1454 | (C := C * (cartesianChart h z).1 ^ P) (D := D) |
| 1455 | (fun i hi => by |
| 1456 | rw [iteratedFDerivWithin_of_isOpen i hU hzt] |
| 1457 | exact hb i hi (G z) hzt hq hX) |
| 1458 | (fun i hi him => by |
| 1459 | rw [iteratedFDerivWithin_of_isOpen i hS hzt] |
| 1460 | exact hDb z hz i hi him) |
| 1461 | rw [iteratedFDerivWithin_of_isOpen m hS hzt] at hc |
| 1462 | exact hc.trans_eq (by dsimp [B]; ring) |
| 1463 | |
| 1464 | end CartesianTails |
| 1465 | |
| 1466 | section NormalizedTangential |
| 1467 | |
| 1468 | /-- Multiplication by a smooth fixed inner-coordinate factor preserves the |
| 1469 | derived q^(2h) bound. This handles the radius factor on an active annulus. -/ |
| 1470 | theorem normalized_correction_smul_inner {a : ℕ → ℕ} {h : ℝ} (hh : 0 < h) |
| 1471 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) |
| 1472 | {K U : Set Inner} (hK : IsCompact K) (hU : IsOpen U) (hKU : K ⊆ U) |
| 1473 | (ha : AdmissibleScales h f K a) {r : Inner → ℝ} (hr : ContDiffOn ℝ ∞ r U) |
| 1474 | (m : ℕ) : ∃ C : ℝ, 0 < C ∧ ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ K, |
| 1475 | ‖blownJet m (fun y => r y.2 • (slowSum a h f y - f 0 y.2)) (q, w)‖ ≤ |
| 1476 | C * q ^ (2 * h) := by |
| 1477 | classical |
| 1478 | let R : Chart → ℝ := fun y => r y.2 |
| 1479 | have hR : ContDiffOn ℝ ∞ R (univ ×ˢ U) := |
| 1480 | hr.comp contDiffOn_snd (fun y hy => hy.2) |
| 1481 | have hc : IsCompact (({1} : Set ℝ) ×ˢ K) := isCompact_singleton.prod hK |
| 1482 | have hcU : ({1} : Set ℝ) ×ˢ K ⊆ univ ×ˢ U := fun _ hy => ⟨mem_univ _, hKU hy.2⟩ |
| 1483 | choose A hA hAb using fun i => compact_jet_bound (isOpen_univ.prod hU) hR hc hcU i |
| 1484 | choose B hB hBb using fun i => normalized_correction_bound hh hf hK ha i |
| 1485 | let C := (∑ i ∈ Finset.range (m + 1), (m.choose i : ℝ) * A i * B (m - i)) + 1 |
| 1486 | have hsum : 0 ≤ ∑ i ∈ Finset.range (m + 1), (m.choose i : ℝ) * A i * B (m - i) := by |
| 1487 | apply Finset.sum_nonneg |
| 1488 | intro i hi |
| 1489 | have hAi := zero_le_one.trans (hA i) |
| 1490 | have hBi := (hB (m - i)).le |
| 1491 | positivity |
| 1492 | refine ⟨C, by dsimp [C]; linarith, ?_⟩ |
| 1493 | intro q hq hq1 w hw |
| 1494 | let F : Chart → V := fun y => slowSum a h f y - f 0 y.2 |
| 1495 | have hFs {y : Chart} (hy : 0 < y.1) : ContDiffAt ℝ ∞ F y := |
| 1496 | (slowSum_smoothAt ha.strictMono hf h hy).sub (((hf 0).comp contDiff_snd).contDiffAt) |
| 1497 | have hFc : ContDiffOn ℝ ∞ (F ∘ scaleMap q) (Ioi 0 ×ˢ U) := by |
| 1498 | intro y hy |
| 1499 | apply ContDiffAt.contDiffWithinAt |
| 1500 | exact (hFs (mul_pos hq hy.1)).comp y (scaleMap q).contDiff.contDiffAt |
| 1501 | have hRp : ContDiffOn ℝ ∞ R (Ioi 0 ×ˢ U) := hR.mono (prod_mono (subset_univ _) Subset.rfl) |
| 1502 | have hpoint : ((1 : ℝ), w) ∈ Ioi 0 ×ˢ U := ⟨by norm_num, hKU hw⟩ |
| 1503 | have hb := norm_smul_jet_le_on (isOpen_Ioi.prod hU) hRp hFc hpoint m |
| 1504 | change ‖iteratedFDeriv ℝ m (fun y => R y • (F ∘ scaleMap q) y) (1, w)‖ ≤ _ |
| 1505 | refine hb.trans ?_ |
| 1506 | calc |
| 1507 | _ ≤ ∑ i ∈ Finset.range (m + 1), ((m.choose i : ℝ) * A i * B (m - i)) * q ^ (2 * h) := by |
| 1508 | apply Finset.sum_le_sum |
| 1509 | intro i hi |
| 1510 | have hAi : ‖iteratedFDeriv ℝ i R (1, w)‖ ≤ A i := hAb i (1, w) ⟨rfl, hw⟩ |
| 1511 | have hBi : ‖iteratedFDeriv ℝ (m - i) (F ∘ scaleMap q) (1, w)‖ ≤ |
| 1512 | B (m - i) * q ^ (2 * h) := hBb (m - i) q hq hq1 w hw |
| 1513 | have hAi0 := zero_le_one.trans (hA i) |
| 1514 | refine (mul_le_mul (mul_le_mul_of_nonneg_left hAi (by positivity)) hBi |
| 1515 | (norm_nonneg _) (by positivity)).trans_eq ?_ |
| 1516 | ring |
| 1517 | _ = (∑ i ∈ Finset.range (m + 1), (m.choose i : ℝ) * A i * B (m - i)) * q ^ (2 * h) := |
| 1518 | (Finset.sum_mul _ _ _).symm |
| 1519 | _ ≤ C * q ^ (2 * h) := mul_le_mul_of_nonneg_right (by dsimp [C]; linarith) |
| 1520 | (Real.rpow_nonneg hq.le _) |
| 1521 | |
| 1522 | noncomputable def normalizedSwirl (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) |
| 1523 | (y : Chart) : ℝ := Real.sqrt (2 * y.2.1) / C * slowSum a h d.phi y |
| 1524 | |
| 1525 | noncomputable def leadingSwirl (C : ℝ) (d : Coefficients) (w : Inner) : ℝ := |
| 1526 | Real.sqrt (2 * w.1) / C * d.phi 0 w |
| 1527 | |
| 1528 | /-- Both normalized tangential components have the claimed O(q^(2h)) |
| 1529 | correction on every fixed active annulus, in every fixed blown-up jet. -/ |
| 1530 | theorem normalized_tangential_bounds {a : ℕ → ℕ} {h C lo hi : ℝ} |
| 1531 | (hh : 0 < h) (hlo : 0 < lo) {d : Coefficients} (hd : SmoothCoefficients d) |
| 1532 | (ha : AdmissibleScales h (coefficientBundle C d) (innerBox lo hi) a) (m : ℕ) : |
| 1533 | ∃ B : ℝ, 0 < B ∧ ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ innerBox lo hi, |
| 1534 | ‖blownJet m (fun y => normalizedSwirl a h C d y - leadingSwirl C d y.2) (q, w)‖ ≤ |
| 1535 | B * q ^ (2 * h) ∧ |
| 1536 | ‖blownJet m (fun y => slowSum a h d.axial y - d.axial 0 y.2) (q, w)‖ ≤ |
| 1537 | B * q ^ (2 * h) := by |
| 1538 | have hphi : AdmissibleScales h d.phi (innerBox lo hi) a := admissible_component hd ha 6 |
| 1539 | have hax : AdmissibleScales h d.axial (innerBox lo hi) a := admissible_component hd ha 5 |
| 1540 | have hU : IsOpen {w : Inner | 0 < w.1} := isOpen_lt continuous_const continuous_fst |
| 1541 | have hr : ContDiffOn ℝ ∞ (fun w : Inner => Real.sqrt (2 * w.1) / C) {w | 0 < w.1} := by |
| 1542 | intro w hw |
| 1543 | exact (((contDiffAt_const.mul contDiffAt_fst).sqrt |
| 1544 | (ne_of_gt (mul_pos (by norm_num) hw))).div_const C).contDiffWithinAt |
| 1545 | have hKU : innerBox lo hi ⊆ {w : Inner | 0 < w.1} := fun _ hw => hlo.trans_le hw.1.1 |
| 1546 | obtain ⟨A, hA, hAb⟩ := normalized_correction_smul_inner hh hd.phi |
| 1547 | (innerBox_isCompact lo hi) hU hKU hphi hr m |
| 1548 | obtain ⟨B, hB, hBb⟩ := normalized_correction_bound hh hd.axial (innerBox_isCompact lo hi) hax m |
| 1549 | refine ⟨A + B, add_pos hA hB, fun q hq hq1 w hw => ⟨?_, ?_⟩⟩ |
| 1550 | · have heq : (fun y => normalizedSwirl a h C d y - leadingSwirl C d y.2) = |
| 1551 | (fun y => (Real.sqrt (2 * y.2.1) / C) • (slowSum a h d.phi y - d.phi 0 y.2)) := by |
| 1552 | funext y |
| 1553 | simp only [normalizedSwirl, leadingSwirl, smul_eq_mul, mul_sub] |
| 1554 | rw [heq] |
| 1555 | exact (hAb q hq hq1 w hw).trans (mul_le_mul_of_nonneg_right |
| 1556 | (le_add_of_nonneg_right hB.le) (Real.rpow_nonneg hq.le _)) |
| 1557 | · exact (hBb q hq hq1 w hw).trans (mul_le_mul_of_nonneg_right |
| 1558 | (le_add_of_nonneg_left hA.le) (Real.rpow_nonneg hq.le _)) |
| 1559 | |
| 1560 | end NormalizedTangential |
| 1561 | |
| 1562 | section PhysicalIdentification |
| 1563 | |
| 1564 | theorem baseVelocity_angularMoment {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 1565 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 1566 | (C : ℝ) {t : ℝ} (ht : t < 1) (x : ProblemStatement.Space) : |
| 1567 | -x 1 * baseVelocity a h C d (t, x) 0 + x 0 * baseVelocity a h C d (t, x) 1 = |
| 1568 | (2 * AxisymmetricFields.radialEnergy x) * C⁻¹ * |
| 1569 | physicalProfile a h (-CoordinateAlgebra.A h - 1 / 2) d.phi |
| 1570 | (AxisymmetricFields.profilePoint t x) := by |
| 1571 | have hH : DifferentiableAt ℝ (streamFactor a h C d) (AxisymmetricFields.profilePoint t x) := |
| 1572 | (physicalProfile_smoothAt ha hh hh1 (bundleComponent_smooth hd C 0) |
| 1573 | (-CoordinateAlgebra.A h) ht).differentiableAt (by simp) |
| 1574 | have hK : DifferentiableAt ℝ (swirlPotential a h C d) (AxisymmetricFields.profilePoint t x) := |
| 1575 | (physicalProfile_smoothAt ha hh hh1 (bundleComponent_smooth hd C 1) |
| 1576 | (1 / 2 - CoordinateAlgebra.A h) ht).differentiableAt (by simp) |
| 1577 | rw [baseVelocity, AxisymmetricFields.velocity_zero _ _ _ _ hH hK, |
| 1578 | AxisymmetricFields.velocity_one _ _ _ _ hH hK, |
| 1579 | partialS_swirlPotential ha hh hh1 hd C ht] |
| 1580 | unfold AxisymmetricFields.radialEnergy |
| 1581 | ring |
| 1582 | |
| 1583 | /-- `normalizedSwirl` is the actual q^A-normalized tangential velocity: |
| 1584 | the displayed Cartesian angular momentum is r times q^(-A) times that value. |
| 1585 | The identity includes the axis without division by r. -/ |
| 1586 | theorem angularMoment_eq_normalizedSwirl {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 1587 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 1588 | (C : ℝ) {t : ℝ} (ht : t < 1) (x : ProblemStatement.Space) : |
| 1589 | -x 1 * baseVelocity a h C d (t, x) 0 + x 0 * baseVelocity a h C d (t, x) 1 = |
| 1590 | Real.sqrt (2 * AxisymmetricFields.radialEnergy x) * |
| 1591 | (cartesianChart h (t, x)).1 ^ (-CoordinateAlgebra.A h) * |
| 1592 | normalizedSwirl a h C d (cartesianChart h (t, x)) := by |
| 1593 | rw [baseVelocity_angularMoment ha hh hh1 hd C ht] |
| 1594 | let p := AxisymmetricFields.profilePoint t x |
| 1595 | let q := (physicalChart h p).1 |
| 1596 | let s := AxisymmetricFields.radialEnergy x |
| 1597 | let v := slowSum a h d.phi (physicalChart h p) |
| 1598 | have hq : 0 < q := physicalChart_positive hh hh1 ht |
| 1599 | have hs : 0 ≤ 2 * s := mul_nonneg (by norm_num) (AxisymmetricFields.radialEnergy_nonneg x) |
| 1600 | have hsqrt : Real.sqrt (2 * s) ^ 2 = 2 * s := Real.sq_sqrt hs |
| 1601 | change (2 * s) * C⁻¹ * (q ^ (-CoordinateAlgebra.A h - 1 / 2) * v) = |
| 1602 | Real.sqrt (2 * s) * q ^ (-CoordinateAlgebra.A h) * |
| 1603 | (Real.sqrt (2 * (s / q)) / C * v) |
| 1604 | symm |
| 1605 | calc |
| 1606 | _ = Real.sqrt (2 * s) ^ 2 * C⁻¹ * |
| 1607 | (q ^ (-CoordinateAlgebra.A h) / q ^ (1 / 2 : ℝ)) * v := by |
| 1608 | rw [show 2 * (s / q) = (2 * s) / q by ring, Real.sqrt_div hs q, |
| 1609 | Real.sqrt_eq_rpow q] |
| 1610 | ring |
| 1611 | _ = _ := by |
| 1612 | rw [hsqrt, Real.rpow_sub hq] |
| 1613 | ring |
| 1614 | |
| 1615 | /-- Smooth fixed inner weights, including reciprocal annular weights on |
| 1616 | compact subsets where they are smooth, preserve the proved tensor estimate. |
| 1617 | This is an interior weighted statement; it does not presume the edge bounds. -/ |
| 1618 | theorem normalized_stress_weighted_compact {a : ℕ → ℕ} {h C : ℝ} |
| 1619 | (hh : 0 < h) {d : Coefficients} (hd : SmoothCoefficients d) |
| 1620 | {K U : Set Inner} (hK : IsCompact K) (hU : IsOpen U) (hKU : K ⊆ U) |
| 1621 | (ha : AdmissibleScales h (coefficientBundle C d) K a) |
| 1622 | {r : Inner → ℝ} (hr : ContDiffOn ℝ ∞ r U) (m : ℕ) : |
| 1623 | ∃ B : ℝ, 0 < B ∧ ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ K, |
| 1624 | ‖blownJet m (fun y => r y.2 * (slowSum a h d.stressTheta y - d.stressTheta 0 y.2)) |
| 1625 | (q, w)‖ ≤ B * q ^ h ∧ |
| 1626 | ‖blownJet m (fun y => r y.2 * (slowSum a h d.stressAxial y - d.stressAxial 0 y.2)) |
| 1627 | (q, w)‖ ≤ B * q ^ h := by |
| 1628 | have htheta : AdmissibleScales h d.stressTheta K a := admissible_component hd ha 3 |
| 1629 | have haxial : AdmissibleScales h d.stressAxial K a := admissible_component hd ha 4 |
| 1630 | obtain ⟨A, hA, hAb⟩ := normalized_correction_smul_inner hh hd.stressTheta hK hU hKU htheta hr m |
| 1631 | obtain ⟨B, hB, hBb⟩ := normalized_correction_smul_inner hh hd.stressAxial hK hU hKU haxial hr m |
| 1632 | refine ⟨A + B, add_pos hA hB, fun q hq hq1 w hw => ?_⟩ |
| 1633 | have hp : q ^ (2 * h) ≤ q ^ h := Real.rpow_le_rpow_of_exponent_ge hq hq1 (by linarith) |
| 1634 | refine ⟨(hAb q hq hq1 w hw).trans ?_, (hBb q hq hq1 w hw).trans ?_⟩ |
| 1635 | · exact (mul_le_mul_of_nonneg_left hp hA.le).trans |
| 1636 | (mul_le_mul_of_nonneg_right (le_add_of_nonneg_right hB.le) (Real.rpow_nonneg hq.le _)) |
| 1637 | · exact (mul_le_mul_of_nonneg_left hp hB.le).trans |
| 1638 | (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left hA.le) (Real.rpow_nonneg hq.le _)) |
| 1639 | |
| 1640 | end PhysicalIdentification |
| 1641 | |
| 1642 | section FixedPrefixes |
| 1643 | |
| 1644 | /-- The same cutoff plateau works for every derivative of a fixed prefix. |
| 1645 | The estimate itself retains the derivative-dependent power loss. -/ |
| 1646 | theorem uncut_fixed_prefix_bound {a : ℕ → ℕ} {h : ℝ} (hh : 0 < h) |
| 1647 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) {K : Set Inner} |
| 1648 | (ha : AdmissibleScales h f K a) (J : ℕ) : |
| 1649 | ∃ δ : ℝ, 0 < δ ∧ δ ≤ 1 ∧ ∀ m, m ≤ J + 3 → |
| 1650 | ∀ q : ℝ, 0 < q → q < δ → ∀ w ∈ K, |
| 1651 | ‖iteratedFDeriv ℝ m (fun y => slowSum a h f y - uncutPrefix h f J y) (q, w)‖ ≤ |
| 1652 | (1 / 2 : ℝ) ^ J * q ^ (h * (J + 1) - m) := by |
| 1653 | obtain ⟨δ, hδ, hprefix⟩ := cutPrefix_eventually_uncut a h f J |
| 1654 | refine ⟨min δ 1, lt_min hδ (by norm_num), min_le_right _ _, ?_⟩ |
| 1655 | intro m hm q hq hsmall w hw |
| 1656 | have hq1 : q ≤ 1 := (hsmall.trans_le (min_le_right _ _)).le |
| 1657 | have hp := hprefix (q, w) (by simpa only [abs_of_pos hq] using |
| 1658 | (hsmall.trans_le (min_le_left _ _))) |
| 1659 | have he : (fun y => slowSum a h f y - cutPrefix a h f J y) =ᶠ[𝓝 (q, w)] |
| 1660 | (fun y => slowSum a h f y - uncutPrefix h f J y) := |
| 1661 | hp.mono (fun y hy => congrArg (fun z => slowSum a h f y - z) hy) |
| 1662 | rw [← (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq he m).self_of_nhds] |
| 1663 | exact ordinary_tail_bound hh hf ha hq hq1 hw J m hm |
| 1664 | |
| 1665 | /-- A fixed prefix has a growing, finite remainder order. This interface |
| 1666 | permits one common truncation across finitely many field components and |
| 1667 | leading powers. It still does not call a fixed tail flat to all orders. -/ |
| 1668 | theorem powered_fixed_prefix_bound {a : ℕ → ℕ} {h : ℝ} |
| 1669 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1670 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi b : ℝ) |
| 1671 | (ha : AdmissibleScales h f (innerBox lo hi) a) (J M : ℕ) (hMJ : M ≤ J + 3) : |
| 1672 | ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ ∀ m ≤ M, ∀ p : Chart, p.1 < 1 → |
| 1673 | (physicalChart h p).1 < δ → (physicalChart h p).2.1 ∈ Icc lo hi → |
| 1674 | ‖iteratedFDeriv ℝ m |
| 1675 | (fun y => physicalProfile a h b f y - physicalUncutPrefix h b f J y) p‖ ≤ |
| 1676 | C * (physicalChart h p).1 ^ (h * (J + 1) + b - 2 * M) := by |
| 1677 | obtain ⟨δ, hδ, hδ1, hb⟩ := uncut_fixed_prefix_bound hh hf ha J |
| 1678 | apply powered_physical_tail_of_chart_bound hh hh1 hf lo hi b ha.strictMono J M |
| 1679 | (h * (J + 1) + b - 2 * M) ((1 / 2 : ℝ) ^ J) δ (by positivity) hδ |
| 1680 | intro m hm q hq hsmall w hw |
| 1681 | refine (hb m (hm.trans hMJ) q hq hsmall w hw).trans ?_ |
| 1682 | apply mul_le_mul_of_nonneg_left _ (by positivity) |
| 1683 | apply Real.rpow_le_rpow_of_exponent_ge hq (hsmall.le.trans hδ1) |
| 1684 | have hmR : (m : ℝ) ≤ M := by exact_mod_cast hm |
| 1685 | linarith |
| 1686 | |
| 1687 | end FixedPrefixes |
| 1688 | |
| 1689 | end NavierStokes.SlowBorelBase |