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.FlatPrimitiveFactor |
| 2 | import NavierStokes.ParametricFlatFactor |
| 3 | import NavierStokes.UniformCone |
| 4 | import NavierStokes.TransportPrimitive |
| 5 | import NavierStokes.WeightedClasses |
| 6 | import Mathlib.MeasureTheory.Integral.IntervalIntegral.IntegrationByParts |
| 7 | import Mathlib.Algebra.Order.Algebra |
| 8 | import Mathlib.Analysis.Normed.Group.Basic |
| 9 | import Mathlib.Analysis.Real.Sqrt |
| 10 | import Mathlib.Data.EReal.Inv |
| 11 | import Mathlib.Tactic.GCongr |
| 12 | |
| 13 | /-! |
| 14 | # Uniform flat-weight estimates for radial primitives |
| 15 | |
| 16 | The initial coordinate is additive distance from the left endpoint of a fixed |
| 17 | interval `(0,L)`. The constants in the estimates are independent of the point |
| 18 | approaching either endpoint and of any auxiliary shifts in the source. |
| 19 | -/ |
| 20 | |
| 21 | noncomputable section |
| 22 | |
| 23 | namespace NavierStokes.WeightedRadialPrimitive |
| 24 | |
| 25 | open Set Filter MeasureTheory |
| 26 | open scoped Topology ContDiff BigOperators |
| 27 | open FlatCutoff |
| 28 | |
| 29 | private theorem nat_le_smooth (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := |
| 30 | le_of_lt (WithTop.coe_lt_coe.mpr (ENat.natCast_lt_top n)) |
| 31 | |
| 32 | def delta (L x : ℝ) : ℝ := min 1 (min x (L - x)) |
| 33 | def zeta (cL cR L x : ℝ) : ℝ := edge cL x * edge cR (L - x) |
| 34 | def weight (cL cR L : ℝ) (m : ℕ) (x : ℝ) : ℝ := zeta cL cR L x / delta L x ^ m |
| 35 | def singleWeight (c : ℝ) (m : ℕ) (x : ℝ) : ℝ := edge c x / x ^ m |
| 36 | |
| 37 | theorem delta_pos {L x : ℝ} (hx : x ∈ Ioo 0 L) : 0 < delta L x := by |
| 38 | exact lt_min zero_lt_one (lt_min hx.1 (sub_pos.mpr hx.2)) |
| 39 | |
| 40 | theorem delta_le_one (L x : ℝ) : delta L x ≤ 1 := min_le_left _ _ |
| 41 | theorem delta_le_left (L x : ℝ) : delta L x ≤ x := |
| 42 | (min_le_right _ _).trans (min_le_left _ _) |
| 43 | theorem delta_le_right (L x : ℝ) : delta L x ≤ L - x := |
| 44 | (min_le_right _ _).trans (min_le_right _ _) |
| 45 | |
| 46 | theorem zeta_pos (cL cR : ℝ) {L x : ℝ} (hx : x ∈ Ioo 0 L) : 0 < zeta cL cR L x := |
| 47 | mul_pos (edge_pos cL hx.1) (edge_pos cR (sub_pos.mpr hx.2)) |
| 48 | |
| 49 | theorem zeta_continuous {cL cR : ℝ} (hL : 0 < cL) (hR : 0 < cR) (L : ℝ) : |
| 50 | Continuous (zeta cL cR L) := |
| 51 | (edge_contDiff hL : ContDiff ℝ ∞ _).continuous.mul |
| 52 | ((edge_contDiff hR : ContDiff ℝ ∞ _).continuous.comp (continuous_const.sub continuous_id)) |
| 53 | |
| 54 | theorem weight_pos (cL cR : ℝ) (m : ℕ) {L x : ℝ} (hx : x ∈ Ioo 0 L) : |
| 55 | 0 < weight cL cR L m x := div_pos (zeta_pos cL cR hx) (pow_pos (delta_pos hx) m) |
| 56 | |
| 57 | theorem zeta_le_weight (cL cR : ℝ) (m : ℕ) {L x : ℝ} (hx : x ∈ Ioo 0 L) : |
| 58 | zeta cL cR L x ≤ weight cL cR L m x := by |
| 59 | apply (le_div_iff₀ (pow_pos (delta_pos hx) m)).mpr |
| 60 | exact mul_le_of_le_one_right (zeta_pos cL cR hx).le |
| 61 | (pow_le_one₀ (delta_pos hx).le (delta_le_one L x)) |
| 62 | |
| 63 | /-- Single-edge monotonicity is proved from the exponential formula. -/ |
| 64 | theorem edge_mono {c : ℝ} (hc : 0 ≤ c) : Monotone (edge c) := by |
| 65 | intro x y hxy |
| 66 | by_cases hx : x ≤ 0 |
| 67 | · rw [edge_of_nonpos c hx] |
| 68 | exact edge_nonneg c y |
| 69 | · have hx0 : 0 < x := lt_of_not_ge hx |
| 70 | have hy0 : 0 < y := lt_of_lt_of_le hx0 hxy |
| 71 | rw [edge_of_pos c hx0, edge_of_pos c hy0] |
| 72 | apply Real.exp_le_exp.mpr |
| 73 | have hsq : x ^ 2 ≤ y ^ 2 := by nlinarith |
| 74 | have hd := div_le_div_of_nonneg_left hc (sq_pos_of_pos hx0) hsq |
| 75 | simpa only [neg_div] using neg_le_neg hd |
| 76 | |
| 77 | theorem edge_le_one {c : ℝ} (hc : 0 ≤ c) (x : ℝ) : edge c x ≤ 1 := by |
| 78 | by_cases hx : x ≤ 0 |
| 79 | · rw [edge_of_nonpos c hx] |
| 80 | exact zero_le_one |
| 81 | · rw [edge_of_pos c (lt_of_not_ge hx)] |
| 82 | exact Real.exp_le_one_iff.mpr (div_nonpos_of_nonpos_of_nonneg (neg_nonpos.mpr hc) (sq_nonneg x)) |
| 83 | |
| 84 | theorem singleWeight_nonneg (c : ℝ) (m : ℕ) (x : ℝ) : 0 ≤ singleWeight c m x := by |
| 85 | by_cases hx : x ≤ 0 |
| 86 | · simp [singleWeight, edge_of_nonpos c hx] |
| 87 | · exact div_nonneg (edge_nonneg c x) (pow_nonneg (le_of_not_ge hx) m) |
| 88 | |
| 89 | theorem singleWeight_continuous {c : ℝ} (hc : 0 < c) (m : ℕ) : |
| 90 | Continuous (singleWeight c m) := (edge_div_pow_contDiff hc m : ContDiff ℝ ∞ _).continuous |
| 91 | |
| 92 | /-- Compactness of the actual transformed improper integral gives one constant |
| 93 | for the primitive, uniformly down to the flat endpoint. -/ |
| 94 | theorem single_primitive_uniform {c : ℝ} (hc : 0 < c) (m : ℕ) {R : ℝ} (hR : 0 < R) : |
| 95 | ∃ C : ℝ, 0 ≤ C ∧ ∀ x : ℝ, 0 < x → x ≤ R → |
| 96 | intervalIntegral (singleWeight c m) 0 x volume ≤ C * singleWeight c m x := by |
| 97 | have hF : Continuous (FlatPrimitiveFactor.factor c m (fun _ => 1)) := |
| 98 | (FlatPrimitiveFactor.factor_contDiff hc m contDiff_const).continuous |
| 99 | obtain ⟨C₀, hC₀⟩ := isCompact_Icc.exists_bound_of_continuousOn |
| 100 | (hF.continuousOn : ContinuousOn _ (Icc (0 : ℝ) R)) |
| 101 | let C := max C₀ 0 |
| 102 | refine ⟨C * R ^ 3, mul_nonneg (le_max_right _ _) (pow_nonneg hR.le _), ?_⟩ |
| 103 | intro x hx hxR |
| 104 | have hfac : FlatPrimitiveFactor.factor c m (fun _ => 1) x ≤ C := |
| 105 | (le_abs_self _).trans ((hC₀ x ⟨hx.le, hxR⟩).trans (le_max_left _ _)) |
| 106 | have hid : intervalIntegral (singleWeight c m) 0 x volume = |
| 107 | (singleWeight c m x * x ^ 3) * FlatPrimitiveFactor.factor c m (fun _ => 1) x := by |
| 108 | unfold singleWeight |
| 109 | simpa only [FlatPrimitive.primitive, FlatPrimitive.integrand, FlatPrimitive.scale, |
| 110 | singleWeight, mul_one] using |
| 111 | FlatPrimitiveFactor.primitive_eq_scale_mul_factor c m (fun _ => 1) hx |
| 112 | rw [hid] |
| 113 | calc |
| 114 | _ ≤ (singleWeight c m x * x ^ 3) * C := |
| 115 | mul_le_mul_of_nonneg_left hfac |
| 116 | (mul_nonneg (singleWeight_nonneg c m x) (pow_nonneg hx.le _)) |
| 117 | _ ≤ (singleWeight c m x * R ^ 3) * C := by |
| 118 | apply mul_le_mul_of_nonneg_right _ (show 0 ≤ C from le_max_right _ _) |
| 119 | exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ hx.le hxR 3) (singleWeight_nonneg c m x) |
| 120 | _ = (C * R ^ 3) * singleWeight c m x := by ring |
| 121 | |
| 122 | theorem delta_left_half {L x : ℝ} (hx : x ≤ L / 2) : delta L x = min 1 x := by |
| 123 | unfold delta |
| 124 | rw [min_eq_left (by linarith : x ≤ L - x)] |
| 125 | |
| 126 | /-- The two-edge weight on the left half is controlled by two integrable |
| 127 | single-edge weights. This includes all powers of the clipped edge distance. -/ |
| 128 | theorem weight_le_left_majorant {cL cR L x : ℝ} (hcR : 0 ≤ cR) |
| 129 | (m : ℕ) (hx : 0 < x) (hxL : x ≤ L / 2) : |
| 130 | weight cL cR L m x ≤ singleWeight cL 0 x + singleWeight cL m x := by |
| 131 | have he : edge cL x * edge cR (L - x) ≤ edge cL x := |
| 132 | mul_le_of_le_one_right (edge_nonneg cL x) (edge_le_one hcR _) |
| 133 | unfold weight zeta |
| 134 | rw [delta_left_half hxL] |
| 135 | by_cases hx1 : x ≤ 1 |
| 136 | · rw [min_eq_right hx1] |
| 137 | exact (div_le_div_of_nonneg_right he (pow_nonneg hx.le m)).trans |
| 138 | (le_add_of_nonneg_left (singleWeight_nonneg cL 0 x)) |
| 139 | · rw [min_eq_left (le_of_not_ge hx1), one_pow, div_one] |
| 140 | have h0 : singleWeight cL 0 x = edge cL x := by simp [singleWeight] |
| 141 | apply he.trans |
| 142 | rw [h0] |
| 143 | exact le_add_of_nonneg_right (singleWeight_nonneg cL m x) |
| 144 | |
| 145 | theorem weight_reflect (cL cR L : ℝ) (m : ℕ) (x : ℝ) : |
| 146 | weight cL cR L m (L - x) = weight cR cL L m x := by |
| 147 | simp only [weight, zeta, delta, sub_sub_cancel, mul_comm, min_comm (L - x) x] |
| 148 | |
| 149 | /-- Dividing by the opposite-edge value at the midpoint is a fixed constant, |
| 150 | independent of the variable tending to the left endpoint. -/ |
| 151 | theorem left_single_le_weight {cL cR L x : ℝ} (hcR : 0 ≤ cR) |
| 152 | (m : ℕ) (hx : 0 < x) (hxL : x ≤ L / 2) : |
| 153 | singleWeight cL m x ≤ (edge cR (L / 2))⁻¹ * weight cL cR L m x := by |
| 154 | have hL : 0 < L := by linarith |
| 155 | have hxi : x ∈ Ioo 0 L := ⟨hx, by linarith⟩ |
| 156 | have hδ : 0 < delta L x := delta_pos hxi |
| 157 | have he : edge cR (L / 2) ≤ edge cR (L - x) := edge_mono hcR (by linarith) |
| 158 | have hem : 0 < edge cR (L / 2) := edge_pos cR (half_pos hL) |
| 159 | have hp : singleWeight cL m x ≤ edge cL x / delta L x ^ m := |
| 160 | div_le_div_of_nonneg_left (edge_nonneg cL x) (pow_pos hδ m) |
| 161 | (pow_le_pow_left₀ hδ.le (delta_le_left L x) m) |
| 162 | have hr : 1 ≤ edge cR (L - x) / edge cR (L / 2) := |
| 163 | (le_div_iff₀ hem).mpr (by simpa using he) |
| 164 | refine hp.trans ?_ |
| 165 | calc |
| 166 | edge cL x / delta L x ^ m ≤ |
| 167 | (edge cL x / delta L x ^ m) * (edge cR (L - x) / edge cR (L / 2)) := |
| 168 | le_mul_of_one_le_right (div_nonneg (edge_nonneg cL x) (pow_nonneg hδ.le m)) hr |
| 169 | _ = (edge cR (L / 2))⁻¹ * weight cL cR L m x := by |
| 170 | unfold weight zeta |
| 171 | ring |
| 172 | |
| 173 | theorem left_base_le_weight {cL cR L x : ℝ} (hcR : 0 ≤ cR) |
| 174 | (m : ℕ) (hx : 0 < x) (hxL : x ≤ L / 2) : |
| 175 | singleWeight cL 0 x ≤ (edge cR (L / 2))⁻¹ * weight cL cR L m x := by |
| 176 | have hxi : x ∈ Ioo 0 L := ⟨hx, by linarith⟩ |
| 177 | have h0 := left_single_le_weight (cL := cL) hcR 0 hx hxL |
| 178 | have hw : weight cL cR L 0 x ≤ weight cL cR L m x := by |
| 179 | simpa only [weight, pow_zero, div_one] using zeta_le_weight cL cR m hxi |
| 180 | exact h0.trans (mul_le_mul_of_nonneg_left hw (inv_nonneg.mpr (edge_nonneg _ _))) |
| 181 | |
| 182 | def wholeMajorant (cL cR L : ℝ) (m : ℕ) (x : ℝ) : ℝ := |
| 183 | singleWeight cL 0 x + singleWeight cL m x + |
| 184 | (singleWeight cR 0 (L - x) + singleWeight cR m (L - x)) |
| 185 | |
| 186 | theorem weight_le_wholeMajorant {cL cR L x : ℝ} (hcL : 0 ≤ cL) (hcR : 0 ≤ cR) |
| 187 | (m : ℕ) (hx : x ∈ Ioo 0 L) : |
| 188 | weight cL cR L m x ≤ wholeMajorant cL cR L m x := by |
| 189 | by_cases hh : x ≤ L / 2 |
| 190 | · exact (weight_le_left_majorant hcR m hx.1 hh).trans |
| 191 | (le_add_of_nonneg_right (add_nonneg (singleWeight_nonneg cR 0 _) |
| 192 | (singleWeight_nonneg cR m _))) |
| 193 | · have hr := weight_le_left_majorant (cL := cR) hcL m (sub_pos.mpr hx.2) |
| 194 | (show L - x ≤ L / 2 by linarith) |
| 195 | rw [weight_reflect] at hr |
| 196 | exact hr.trans (le_add_of_nonneg_left |
| 197 | (add_nonneg (singleWeight_nonneg cL 0 _) (singleWeight_nonneg cL m _))) |
| 198 | |
| 199 | theorem wholeMajorant_continuous {cL cR : ℝ} (hcL : 0 < cL) (hcR : 0 < cR) |
| 200 | (L : ℝ) (m : ℕ) : Continuous (wholeMajorant cL cR L m) := |
| 201 | ((singleWeight_continuous hcL 0).add (singleWeight_continuous hcL m)).add |
| 202 | (((singleWeight_continuous hcR 0).add (singleWeight_continuous hcR m)).comp |
| 203 | (continuous_const.sub continuous_id)) |
| 204 | |
| 205 | /-- A single global bound for the weighted envelope on the whole finite shell. -/ |
| 206 | theorem weight_uniform_bound {cL cR : ℝ} (hcL : 0 < cL) (hcR : 0 < cR) |
| 207 | (L : ℝ) (m : ℕ) : |
| 208 | ∃ D : ℝ, 0 ≤ D ∧ ∀ x ∈ Ioo (0 : ℝ) L, weight cL cR L m x ≤ D := by |
| 209 | obtain ⟨D, hD⟩ := isCompact_Icc.exists_bound_of_continuousOn |
| 210 | ((wholeMajorant_continuous hcL hcR L m).continuousOn : |
| 211 | ContinuousOn _ (Icc (0 : ℝ) L)) |
| 212 | refine ⟨max D 0, le_max_right _ _, ?_⟩ |
| 213 | intro x hx |
| 214 | exact (weight_le_wholeMajorant hcL.le hcR.le m hx).trans |
| 215 | ((le_abs_self _).trans ((hD x ⟨hx.1.le, hx.2.le⟩).trans (le_max_left _ _))) |
| 216 | |
| 217 | theorem middle_weight_lower_bound {cL cR L ρ : ℝ} |
| 218 | (hcL : 0 < cL) (hcR : 0 < cR) (hρ : 0 < ρ) : |
| 219 | ∃ d : ℝ, 0 < d ∧ ∀ m : ℕ, ∀ x ∈ Icc ρ (L - ρ), d ≤ weight cL cR L m x := by |
| 220 | obtain ⟨d, hd, hb⟩ := UniformCone.positive_uniform_margin isCompact_Icc |
| 221 | (zeta_continuous hcL hcR L).continuousOn |
| 222 | (fun x (hx : x ∈ Icc ρ (L - ρ)) => zeta_pos cL cR |
| 223 | (show x ∈ Ioo 0 L from ⟨lt_of_lt_of_le hρ hx.1, by linarith [hx.2]⟩)) |
| 224 | refine ⟨d, hd, ?_⟩ |
| 225 | intro m x hx |
| 226 | exact (hb x hx).trans (zeta_le_weight cL cR m |
| 227 | ⟨lt_of_lt_of_le hρ hx.1, by linarith [hx.2]⟩) |
| 228 | |
| 229 | section Integrals |
| 230 | |
| 231 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 232 | |
| 233 | /-- The left inverse estimate is uniform at the endpoint, with no loss of |
| 234 | the polynomial edge exponent. It applies to arbitrary Banach-valued sources. -/ |
| 235 | theorem left_primitive_uniform |
| 236 | {cL cR L : ℝ} (hcL : 0 < cL) (hcR : 0 < cR) (hL : 0 < L) (m : ℕ) : |
| 237 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ → V) (A : ℝ), 0 ≤ A → |
| 238 | (∀ s ∈ Ioo (0 : ℝ) L, ‖f s‖ ≤ A * weight cL cR L m s) → |
| 239 | ∀ x : ℝ, 0 < x → x ≤ L / 2 → |
| 240 | ‖intervalIntegral f 0 x volume‖ ≤ K * A * weight cL cR L m x := by |
| 241 | obtain ⟨K₀, hK₀, hb₀⟩ := single_primitive_uniform hcL 0 (half_pos hL) |
| 242 | obtain ⟨Kₘ, hKₘ, hbₘ⟩ := single_primitive_uniform hcL m (half_pos hL) |
| 243 | let R := (edge cR (L / 2))⁻¹ |
| 244 | have hR : 0 ≤ R := inv_nonneg.mpr (edge_nonneg _ _) |
| 245 | refine ⟨(K₀ + Kₘ) * R, mul_nonneg (add_nonneg hK₀ hKₘ) hR, ?_⟩ |
| 246 | intro f A hA hf x hx hxL |
| 247 | let g : ℝ → ℝ := fun s => A * (singleWeight cL 0 s + singleWeight cL m s) |
| 248 | have hgc : Continuous g := |
| 249 | continuous_const.mul ((singleWeight_continuous hcL 0).add (singleWeight_continuous hcL m)) |
| 250 | have hgn : ∀ s, 0 ≤ g s := fun s => mul_nonneg hA |
| 251 | (add_nonneg (singleWeight_nonneg cL 0 s) (singleWeight_nonneg cL m s)) |
| 252 | have hbound : ∀ᵐ s ∂volume.restrict (uIoc 0 x), ‖f s‖ ≤ g s := by |
| 253 | rw [uIoc_of_le hx.le] |
| 254 | filter_upwards [ae_restrict_mem measurableSet_Ioc] with s hs |
| 255 | have hsL : s < L := by linarith [hs.2] |
| 256 | exact (hf s ⟨hs.1, hsL⟩).trans (mul_le_mul_of_nonneg_left |
| 257 | (weight_le_left_majorant hcR.le m hs.1 (hs.2.trans hxL)) hA) |
| 258 | have hi := intervalIntegral.norm_integral_le_abs_of_norm_le hbound (hgc.intervalIntegrable 0 x) |
| 259 | rw [abs_of_nonneg (intervalIntegral.integral_nonneg_of_forall hx.le hgn)] at hi |
| 260 | calc |
| 261 | ‖intervalIntegral f 0 x volume‖ ≤ intervalIntegral g 0 x volume := hi |
| 262 | _ = A * (intervalIntegral (singleWeight cL 0) 0 x volume + |
| 263 | intervalIntegral (singleWeight cL m) 0 x volume) := by |
| 264 | dsimp only [g] |
| 265 | rw [intervalIntegral.integral_const_mul, |
| 266 | intervalIntegral.integral_add ((singleWeight_continuous hcL 0).intervalIntegrable 0 x) |
| 267 | ((singleWeight_continuous hcL m).intervalIntegrable 0 x)] |
| 268 | _ ≤ A * (K₀ * singleWeight cL 0 x + Kₘ * singleWeight cL m x) := |
| 269 | mul_le_mul_of_nonneg_left (add_le_add (hb₀ x hx hxL) (hbₘ x hx hxL)) hA |
| 270 | _ ≤ A * (K₀ * (R * weight cL cR L m x) + Kₘ * (R * weight cL cR L m x)) := by |
| 271 | exact mul_le_mul_of_nonneg_left |
| 272 | (add_le_add (mul_le_mul_of_nonneg_left (left_base_le_weight hcR.le m hx hxL) hK₀) |
| 273 | (mul_le_mul_of_nonneg_left (left_single_le_weight hcR.le m hx hxL) hKₘ)) hA |
| 274 | _ = (K₀ + Kₘ) * R * A * weight cL cR L m x := by ring |
| 275 | |
| 276 | /-- Reflection gives the corresponding endpoint-uniform right inverse bound. -/ |
| 277 | theorem right_primitive_uniform |
| 278 | {cL cR L : ℝ} (hcL : 0 < cL) (hcR : 0 < cR) (hL : 0 < L) (m : ℕ) : |
| 279 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ → V) (A : ℝ), 0 ≤ A → |
| 280 | (∀ s ∈ Ioo (0 : ℝ) L, ‖f s‖ ≤ A * weight cL cR L m s) → |
| 281 | ∀ x : ℝ, L / 2 ≤ x → x < L → |
| 282 | ‖intervalIntegral f x L volume‖ ≤ K * A * weight cL cR L m x := by |
| 283 | obtain ⟨K, hK, hb⟩ := left_primitive_uniform (V := V) hcR hcL hL m |
| 284 | refine ⟨K, hK, ?_⟩ |
| 285 | intro f A hA hf x hxL hx |
| 286 | have hg : ∀ s ∈ Ioo (0 : ℝ) L, |
| 287 | ‖f (L - s)‖ ≤ A * weight cR cL L m s := by |
| 288 | intro s hs |
| 289 | have h := hf (L - s) ⟨sub_pos.mpr hs.2, by linarith [hs.1]⟩ |
| 290 | simpa only [weight_reflect] using h |
| 291 | have h := hb (fun s => f (L - s)) A hA hg (L - x) (sub_pos.mpr hx) (by linarith) |
| 292 | simpa only [intervalIntegral.integral_comp_sub_left, sub_sub_cancel, sub_zero, |
| 293 | weight_reflect] using h |
| 294 | |
| 295 | /-- Uniform total and partial mass bounds on the finite shell. Endpoint values |
| 296 | of the source are immaterial to this Lebesgue-integral statement. -/ |
| 297 | theorem interval_primitive_uniform |
| 298 | {cL cR L : ℝ} (hcL : 0 < cL) (hcR : 0 < cR) (hL : 0 < L) (m : ℕ) : |
| 299 | ∃ D : ℝ, 0 ≤ D ∧ ∀ (f : ℝ → V) (A : ℝ), 0 ≤ A → |
| 300 | (∀ s ∈ Ioo (0 : ℝ) L, ‖f s‖ ≤ A * weight cL cR L m s) → |
| 301 | ∀ a b : ℝ, 0 ≤ a → a ≤ b → b ≤ L → |
| 302 | ‖intervalIntegral f a b volume‖ ≤ D * A := by |
| 303 | obtain ⟨D, hD, hb⟩ := weight_uniform_bound hcL hcR L m |
| 304 | refine ⟨D * L, mul_nonneg hD hL.le, ?_⟩ |
| 305 | intro f A hA hf a b ha hab hbL |
| 306 | have hbound : ∀ s ∈ Ioo a b, ‖f s‖ ≤ A * D := by |
| 307 | intro s hs |
| 308 | have hsi : s ∈ Ioo 0 L := ⟨lt_of_le_of_lt ha hs.1, lt_of_lt_of_le hs.2 hbL⟩ |
| 309 | exact (hf s hsi).trans (mul_le_mul_of_nonneg_left (hb s hsi) hA) |
| 310 | rw [intervalIntegral.integral_of_le hab, integral_Ioc_eq_integral_Ioo] |
| 311 | have hi := norm_setIntegral_le_of_norm_le_const |
| 312 | (by simp only [Real.volume_Ioo, ENNReal.ofReal_lt_top] : volume (Ioo a b) < ⊤) hbound |
| 313 | rw [Real.volume_real_Ioo_of_le hab] at hi |
| 314 | calc |
| 315 | _ ≤ (A * D) * (b - a) := hi |
| 316 | _ ≤ (A * D) * L := mul_le_mul_of_nonneg_left (by linarith) (mul_nonneg hA hD) |
| 317 | _ = (D * L) * A := by ring |
| 318 | |
| 319 | def compactPrimitive (χ : ℝ → ℝ) (f : ℝ → V) (L x : ℝ) : V := |
| 320 | intervalIntegral f 0 x volume - χ x • intervalIntegral f 0 L volume |
| 321 | |
| 322 | /-- The actual compactified primitive preserves the same two-edge weighted |
| 323 | envelope. The cutoff is only required to have two plateaus and remain bounded; |
| 324 | no monotonicity of the weight or inverse estimate is assumed. -/ |
| 325 | theorem compact_primitive_uniform |
| 326 | {cL cR L ρ : ℝ} (hcL : 0 < cL) (hcR : 0 < cR) (hL : 0 < L) |
| 327 | (hρ : 0 < ρ) (hρL : ρ ≤ L / 2) (m : ℕ) (χ : ℝ → ℝ) |
| 328 | (hχ : ∀ x, |χ x| ≤ 1) |
| 329 | (hleft : ∀ x, x ≤ ρ → χ x = 0) |
| 330 | (hright : ∀ x, L - ρ ≤ x → χ x = 1) : |
| 331 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ → V), Continuous f → ∀ A : ℝ, 0 ≤ A → |
| 332 | (∀ s ∈ Ioo (0 : ℝ) L, ‖f s‖ ≤ A * weight cL cR L m s) → |
| 333 | ∀ x ∈ Ioo (0 : ℝ) L, |
| 334 | ‖compactPrimitive χ f L x‖ ≤ K * A * weight cL cR L m x := by |
| 335 | obtain ⟨KL, hKL, hbL⟩ := left_primitive_uniform (V := V) hcL hcR hL m |
| 336 | obtain ⟨KR, hKR, hbR⟩ := right_primitive_uniform (V := V) hcL hcR hL m |
| 337 | obtain ⟨D, hD, hbD⟩ := interval_primitive_uniform (V := V) hcL hcR hL m |
| 338 | obtain ⟨d, hd, hbd⟩ := middle_weight_lower_bound (L := L) hcL hcR hρ |
| 339 | let KM : ℝ := 2 * D / d |
| 340 | have hKM : 0 ≤ KM := div_nonneg (by positivity) hd.le |
| 341 | let K : ℝ := KL + KR + KM |
| 342 | have hKKL : KL ≤ K := by dsimp [K]; linarith |
| 343 | have hKKR : KR ≤ K := by dsimp [K]; linarith |
| 344 | have hKKM : KM ≤ K := by dsimp [K]; linarith |
| 345 | refine ⟨K, le_trans hKL hKKL, ?_⟩ |
| 346 | intro f hfc A hA hf x hx |
| 347 | have hw := (weight_pos cL cR m hx).le |
| 348 | by_cases hl : x ≤ ρ |
| 349 | · simp only [compactPrimitive, hleft x hl, zero_smul, sub_zero] |
| 350 | exact (hbL f A hA hf x hx.1 (hl.trans hρL)).trans |
| 351 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hKKL hA) hw) |
| 352 | · by_cases hr : L - ρ ≤ x |
| 353 | · have heq : compactPrimitive χ f L x = -intervalIntegral f x L volume := by |
| 354 | simp only [compactPrimitive, hright x hr, one_smul] |
| 355 | rw [intervalIntegral.integral_interval_sub_left (hfc.intervalIntegrable 0 x) |
| 356 | (hfc.intervalIntegrable 0 L), intervalIntegral.integral_symm] |
| 357 | rw [heq, norm_neg] |
| 358 | exact (hbR f A hA hf x (by linarith) hx.2).trans |
| 359 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hKKR hA) hw) |
| 360 | · have hxd : d ≤ weight cL cR L m x := hbd m x ⟨le_of_not_ge hl, le_of_not_ge hr⟩ |
| 361 | have hp := hbD f A hA hf 0 x le_rfl hx.1.le hx.2.le |
| 362 | have ht := hbD f A hA hf 0 L le_rfl hL.le le_rfl |
| 363 | have hn : ‖compactPrimitive χ f L x‖ ≤ 2 * D * A := by |
| 364 | calc |
| 365 | _ ≤ ‖intervalIntegral f 0 x volume‖ + ‖χ x • intervalIntegral f 0 L volume‖ := norm_sub_le _ _ |
| 366 | _ ≤ D * A + 1 * (D * A) := by |
| 367 | rw [norm_smul, Real.norm_eq_abs] |
| 368 | exact add_le_add hp (mul_le_mul (hχ x) ht (norm_nonneg _) zero_le_one) |
| 369 | _ = 2 * D * A := by ring |
| 370 | have hm : 2 * D * A ≤ KM * A * weight cL cR L m x := by |
| 371 | calc |
| 372 | _ = KM * A * d := by dsimp [KM]; field_simp |
| 373 | _ ≤ KM * A * weight cL cR L m x := mul_le_mul_of_nonneg_left hxd (mul_nonneg hKM hA) |
| 374 | exact (hn.trans hm).trans |
| 375 | (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hKKM hA) hw) |
| 376 | |
| 377 | end Integrals |
| 378 | |
| 379 | /-! ### Pullback to logarithmic edge distances on a fixed positive annulus -/ |
| 380 | |
| 381 | def logLength (a b : ℝ) : ℝ := Real.log (b / a) |
| 382 | def logPosition (a X : ℝ) : ℝ := Real.log (X / a) |
| 383 | def logWeight (cL cR a b : ℝ) (m : ℕ) (X : ℝ) : ℝ := |
| 384 | weight cL cR (logLength a b) m (logPosition a X) |
| 385 | |
| 386 | theorem logLength_pos {a b : ℝ} (ha : 0 < a) (hab : a < b) : 0 < logLength a b := |
| 387 | Real.log_pos ((one_lt_div ha).mpr hab) |
| 388 | |
| 389 | theorem logPosition_mem {a b X : ℝ} (ha : 0 < a) (hX : X ∈ Ioo a b) : |
| 390 | logPosition a X ∈ Ioo 0 (logLength a b) := by |
| 391 | exact ⟨Real.log_pos ((one_lt_div ha).mpr hX.1), |
| 392 | Real.log_lt_log (div_pos (lt_trans ha hX.1) ha) (div_lt_div_of_pos_right hX.2 ha)⟩ |
| 393 | |
| 394 | theorem log_remaining {a b X : ℝ} (ha : 0 < a) (hX : X ∈ Ioo a b) : |
| 395 | logLength a b - logPosition a X = Real.log (b / X) := by |
| 396 | have hx := lt_trans ha hX.1 |
| 397 | have hb := lt_trans hx hX.2 |
| 398 | simp only [logLength, logPosition, Real.log_div hb.ne' ha.ne', Real.log_div hx.ne' ha.ne', |
| 399 | Real.log_div hb.ne' hx.ne'] |
| 400 | ring |
| 401 | |
| 402 | /-- The weight is exactly the manuscript's two logarithmic-edge exponential, |
| 403 | with its clipped inverse-edge power. -/ |
| 404 | theorem logWeight_formula {a b X : ℝ} (ha : 0 < a) (hX : X ∈ Ioo a b) |
| 405 | (cL cR : ℝ) (m : ℕ) : |
| 406 | logWeight cL cR a b m X = |
| 407 | Real.exp (-cL / (Real.log (X / a)) ^ 2 - cR / (Real.log (b / X)) ^ 2) / |
| 408 | (min 1 (min (Real.log (X / a)) (Real.log (b / X)))) ^ m := by |
| 409 | have hp := logPosition_mem ha hX |
| 410 | rw [logWeight, weight, zeta, delta, edge_of_pos cL hp.1, |
| 411 | edge_of_pos cR (sub_pos.mpr hp.2), log_remaining ha hX] |
| 412 | rw [← Real.exp_add] |
| 413 | simp only [logPosition, neg_div, sub_eq_add_neg] |
| 414 | |
| 415 | def expCoordinate (a s : ℝ) : ℝ := a * Real.exp s |
| 416 | |
| 417 | theorem expCoordinate_logPosition {a X : ℝ} (ha : 0 < a) (hX : 0 < X) : |
| 418 | expCoordinate a (logPosition a X) = X := by |
| 419 | unfold expCoordinate logPosition |
| 420 | rw [Real.exp_log (div_pos hX ha)] |
| 421 | field_simp |
| 422 | |
| 423 | theorem logPosition_expCoordinate {a : ℝ} (ha : 0 < a) (s : ℝ) : |
| 424 | logPosition a (expCoordinate a s) = s := by |
| 425 | unfold logPosition expCoordinate |
| 426 | have h : a * Real.exp s / a = Real.exp s := by field_simp |
| 427 | rw [h, Real.log_exp] |
| 428 | |
| 429 | theorem expCoordinate_mem {a b s : ℝ} (ha : 0 < a) (hab : a < b) |
| 430 | (hs : s ∈ Ioo 0 (logLength a b)) : expCoordinate a s ∈ Ioo a b := by |
| 431 | have hb := lt_trans ha hab |
| 432 | have hlo : 1 < Real.exp s := Real.one_lt_exp_iff.mpr hs.1 |
| 433 | have hhi : Real.exp s < b / a := by |
| 434 | have h := Real.exp_lt_exp.mpr hs.2 |
| 435 | simpa only [logLength, Real.exp_log (div_pos hb ha)] using h |
| 436 | constructor |
| 437 | · unfold expCoordinate |
| 438 | nlinarith |
| 439 | · unfold expCoordinate |
| 440 | have h := (lt_div_iff₀ ha).mp hhi |
| 441 | simpa only [mul_comm] using h |
| 442 | |
| 443 | section LogIntegrals |
| 444 | |
| 445 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 446 | |
| 447 | def expPullback (a : ℝ) (f : ℝ → V) (s : ℝ) : V := |
| 448 | expCoordinate a s • f (expCoordinate a s) |
| 449 | |
| 450 | /-- Actual change of variables, including the radial integration Jacobian. -/ |
| 451 | theorem expPullback_integral (a : ℝ) (f : ℝ → V) (hf : Continuous f) (l r : ℝ) : |
| 452 | intervalIntegral (expPullback a f) l r volume = |
| 453 | intervalIntegral f (expCoordinate a l) (expCoordinate a r) volume := by |
| 454 | have hd : ∀ s ∈ uIcc l r, HasDerivAt (expCoordinate a) (expCoordinate a s) s := |
| 455 | fun s _ => (Real.hasDerivAt_exp s).const_mul a |
| 456 | exact intervalIntegral.integral_deriv_smul_comp hd |
| 457 | (continuous_const.mul Real.continuous_exp).continuousOn hf |
| 458 | |
| 459 | theorem expPullback_bound {a b cL cR A : ℝ} (ha : 0 < a) (hab : a < b) |
| 460 | (m : ℕ) (f : ℝ → V) (_hA : 0 ≤ A) |
| 461 | (hf : ∀ X ∈ Ioo a b, ‖f X‖ ≤ A * logWeight cL cR a b m X) : |
| 462 | ∀ s ∈ Ioo 0 (logLength a b), |
| 463 | ‖expPullback a f s‖ ≤ (b * A) * weight cL cR (logLength a b) m s := by |
| 464 | intro s hs |
| 465 | have hX := expCoordinate_mem ha hab hs |
| 466 | have hXpos := lt_trans ha hX.1 |
| 467 | have hbpos := lt_trans ha hab |
| 468 | unfold expPullback |
| 469 | rw [norm_smul, Real.norm_eq_abs, abs_of_pos hXpos] |
| 470 | have h := mul_le_mul hX.2.le (hf _ hX) (norm_nonneg _) hbpos.le |
| 471 | simpa only [logWeight, logPosition_expCoordinate ha s, mul_assoc] using h |
| 472 | |
| 473 | /-- Left logarithmic-edge estimate in the original positive radial variable. |
| 474 | The extra constant is only the fixed upper radial endpoint b. -/ |
| 475 | theorem log_left_primitive_uniform |
| 476 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) (m : ℕ) : |
| 477 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ → V), Continuous f → ∀ A : ℝ, 0 ≤ A → |
| 478 | (∀ X ∈ Ioo a b, ‖f X‖ ≤ A * logWeight cL cR a b m X) → |
| 479 | ∀ X ∈ Ioo a b, logPosition a X ≤ logLength a b / 2 → |
| 480 | ‖intervalIntegral f a X volume‖ ≤ K * A * logWeight cL cR a b m X := by |
| 481 | obtain ⟨K, hK, hbound⟩ := left_primitive_uniform (V := V) hcL hcR (logLength_pos ha hab) m |
| 482 | refine ⟨K * b, mul_nonneg hK (lt_trans ha hab).le, ?_⟩ |
| 483 | intro f hfc A hA hf X hX hhalf |
| 484 | have hx := logPosition_mem ha hX |
| 485 | have h := hbound (expPullback a f) (b * A) (mul_nonneg (lt_trans ha hab).le hA) |
| 486 | (expPullback_bound ha hab m f hA hf) (logPosition a X) hx.1 hhalf |
| 487 | rw [expPullback_integral a f hfc, |
| 488 | expCoordinate_logPosition ha (lt_trans ha hX.1)] at h |
| 489 | simpa only [expCoordinate, Real.exp_zero, mul_one, logWeight, mul_assoc] using h |
| 490 | |
| 491 | /-- Right logarithmic-edge estimate in the original positive radial variable. -/ |
| 492 | theorem log_right_primitive_uniform |
| 493 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) (m : ℕ) : |
| 494 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ → V), Continuous f → ∀ A : ℝ, 0 ≤ A → |
| 495 | (∀ X ∈ Ioo a b, ‖f X‖ ≤ A * logWeight cL cR a b m X) → |
| 496 | ∀ X ∈ Ioo a b, logLength a b / 2 ≤ logPosition a X → |
| 497 | ‖intervalIntegral f X b volume‖ ≤ K * A * logWeight cL cR a b m X := by |
| 498 | obtain ⟨K, hK, hbound⟩ := right_primitive_uniform (V := V) hcL hcR (logLength_pos ha hab) m |
| 499 | refine ⟨K * b, mul_nonneg hK (lt_trans ha hab).le, ?_⟩ |
| 500 | intro f hfc A hA hf X hX hhalf |
| 501 | have hx := logPosition_mem ha hX |
| 502 | have h := hbound (expPullback a f) (b * A) (mul_nonneg (lt_trans ha hab).le hA) |
| 503 | (expPullback_bound ha hab m f hA hf) (logPosition a X) hhalf hx.2 |
| 504 | have htop : expCoordinate a (logLength a b) = b := expCoordinate_logPosition ha (lt_trans ha hab) |
| 505 | rw [expPullback_integral a f hfc, expCoordinate_logPosition ha (lt_trans ha hX.1), htop] at h |
| 506 | simpa only [logWeight, mul_assoc] using h |
| 507 | |
| 508 | /-- The entire weighted source has uniformly bounded mass on the positive |
| 509 | annulus. This also bounds every interior subinterval. -/ |
| 510 | theorem log_interval_primitive_uniform |
| 511 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) (m : ℕ) : |
| 512 | ∃ D : ℝ, 0 ≤ D ∧ ∀ (f : ℝ → V) (A : ℝ), 0 ≤ A → |
| 513 | (∀ X ∈ Ioo a b, ‖f X‖ ≤ A * logWeight cL cR a b m X) → |
| 514 | ∀ l r : ℝ, a ≤ l → l ≤ r → r ≤ b → |
| 515 | ‖intervalIntegral f l r volume‖ ≤ D * A := by |
| 516 | obtain ⟨D, hD, hbound⟩ := weight_uniform_bound hcL hcR (logLength a b) m |
| 517 | refine ⟨D * (b - a), mul_nonneg hD (sub_pos.mpr hab).le, ?_⟩ |
| 518 | intro f A hA hf l r hal hlr hrb |
| 519 | have hb : ∀ X ∈ Ioo l r, ‖f X‖ ≤ A * D := by |
| 520 | intro X hX |
| 521 | have hXi : X ∈ Ioo a b := ⟨hal.trans_lt hX.1, hX.2.trans_le hrb⟩ |
| 522 | exact (hf X hXi).trans |
| 523 | (mul_le_mul_of_nonneg_left (hbound _ (logPosition_mem ha hXi)) hA) |
| 524 | rw [intervalIntegral.integral_of_le hlr, integral_Ioc_eq_integral_Ioo] |
| 525 | have hi := norm_setIntegral_le_of_norm_le_const |
| 526 | (by simp only [Real.volume_Ioo, ENNReal.ofReal_lt_top] : volume (Ioo l r) < ⊤) hb |
| 527 | rw [Real.volume_real_Ioo_of_le hlr] at hi |
| 528 | calc |
| 529 | _ ≤ (A * D) * (r - l) := hi |
| 530 | _ ≤ (A * D) * (b - a) := |
| 531 | mul_le_mul_of_nonneg_left (by linarith) (mul_nonneg hA hD) |
| 532 | _ = (D * (b - a)) * A := by ring |
| 533 | |
| 534 | def logCompactPrimitive (χ : ℝ → ℝ) (f : ℝ → V) (a b X : ℝ) : V := |
| 535 | intervalIntegral f a X volume - χ (logPosition a X) • intervalIntegral f a b volume |
| 536 | |
| 537 | /-- The compactified primitive preserves the explicit logarithmic two-edge |
| 538 | weight uniformly on the whole positive annulus. -/ |
| 539 | theorem log_compact_primitive_uniform |
| 540 | {a b cL cR ρ : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 541 | (hρ : 0 < ρ) (hρL : ρ ≤ logLength a b / 2) (m : ℕ) (χ : ℝ → ℝ) |
| 542 | (hχ : ∀ x, |χ x| ≤ 1) |
| 543 | (hleft : ∀ x, x ≤ ρ → χ x = 0) |
| 544 | (hright : ∀ x, logLength a b - ρ ≤ x → χ x = 1) : |
| 545 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ → V), Continuous f → ∀ A : ℝ, 0 ≤ A → |
| 546 | (∀ X ∈ Ioo a b, ‖f X‖ ≤ A * logWeight cL cR a b m X) → |
| 547 | ∀ X ∈ Ioo a b, |
| 548 | ‖logCompactPrimitive χ f a b X‖ ≤ K * A * logWeight cL cR a b m X := by |
| 549 | obtain ⟨K, hK, hbound⟩ := compact_primitive_uniform (V := V) hcL hcR (logLength_pos ha hab) |
| 550 | hρ hρL m χ hχ hleft hright |
| 551 | refine ⟨K * b, mul_nonneg hK (lt_trans ha hab).le, ?_⟩ |
| 552 | intro f hfc A hA hf X hX |
| 553 | have hgp : Continuous (expPullback a f) := |
| 554 | (continuous_const.mul Real.continuous_exp).smul |
| 555 | (hfc.comp (continuous_const.mul Real.continuous_exp)) |
| 556 | have h := hbound (expPullback a f) hgp (b * A) (mul_nonneg (lt_trans ha hab).le hA) |
| 557 | (expPullback_bound ha hab m f hA hf) (logPosition a X) (logPosition_mem ha hX) |
| 558 | have htop : expCoordinate a (logLength a b) = b := expCoordinate_logPosition ha (lt_trans ha hab) |
| 559 | unfold compactPrimitive at h |
| 560 | rw [expPullback_integral a f hfc, expPullback_integral a f hfc, |
| 561 | expCoordinate_logPosition ha (lt_trans ha hX.1), htop] at h |
| 562 | simpa only [logCompactPrimitive, logWeight, expCoordinate, Real.exp_zero, mul_one, |
| 563 | mul_assoc] using h |
| 564 | |
| 565 | end LogIntegrals |
| 566 | |
| 567 | /-! ### Physical cutoffs and auxiliary shifts -/ |
| 568 | |
| 569 | section PhysicalIntegrals |
| 570 | |
| 571 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 572 | |
| 573 | def radialCompactPrimitive (χ : ℝ → ℝ) (f : ℝ → V) (a b X : ℝ) : V := |
| 574 | intervalIntegral f a X volume - χ X • intervalIntegral f a b volume |
| 575 | |
| 576 | /-- Any fixed pair of interior physical plateau thresholds gives positive |
| 577 | logarithmic collars. This derives the collars from the endpoints. -/ |
| 578 | theorem exists_log_plateau_width |
| 579 | {a b c d : ℝ} (ha : 0 < a) (hac : a < c) (hcd : c < d) (hdb : d < b) |
| 580 | (χ : ℝ → ℝ) (hleft : ∀ X, X ≤ c → χ X = 0) |
| 581 | (hright : ∀ X, d ≤ X → χ X = 1) : |
| 582 | ∃ ρ : ℝ, 0 < ρ ∧ ρ ≤ logLength a b / 2 ∧ |
| 583 | (∀ s, s ≤ ρ → χ (expCoordinate a s) = 0) ∧ |
| 584 | (∀ s, logLength a b - ρ ≤ s → χ (expCoordinate a s) = 1) := by |
| 585 | have hab : a < b := hac.trans (hcd.trans hdb) |
| 586 | have hc := logPosition_mem ha (show c ∈ Ioo a b from ⟨hac, hcd.trans hdb⟩) |
| 587 | have hd := logPosition_mem ha (show d ∈ Ioo a b from ⟨hac.trans hcd, hdb⟩) |
| 588 | let ρ := min (logPosition a c) (min (logLength a b - logPosition a d) (logLength a b / 2)) |
| 589 | have hρ : 0 < ρ := lt_min hc.1 (lt_min (sub_pos.mpr hd.2) (half_pos (logLength_pos ha hab))) |
| 590 | have hρc : ρ ≤ logPosition a c := min_le_left _ _ |
| 591 | have hρd : ρ ≤ logLength a b - logPosition a d := |
| 592 | (min_le_right _ _).trans (min_le_left _ _) |
| 593 | have hρL : ρ ≤ logLength a b / 2 := (min_le_right _ _).trans (min_le_right _ _) |
| 594 | refine ⟨ρ, hρ, hρL, ?_, ?_⟩ |
| 595 | · intro s hs |
| 596 | apply hleft |
| 597 | calc |
| 598 | expCoordinate a s ≤ expCoordinate a (logPosition a c) := |
| 599 | mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr (hs.trans hρc)) ha.le |
| 600 | _ = c := expCoordinate_logPosition ha (ha.trans hac) |
| 601 | · intro s hs |
| 602 | apply hright |
| 603 | calc |
| 604 | d = expCoordinate a (logPosition a d) := (expCoordinate_logPosition ha (ha.trans (hac.trans hcd))).symm |
| 605 | _ ≤ expCoordinate a s := |
| 606 | mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr (by linarith)) ha.le |
| 607 | |
| 608 | /-- The cutoff can be specified directly in the physical radial coordinate. |
| 609 | No logarithmic cutoff regularity or assumed inverse bound is required. -/ |
| 610 | theorem radial_compact_primitive_uniform |
| 611 | {a b c d cL cR : ℝ} (ha : 0 < a) (hac : a < c) (hcd : c < d) (hdb : d < b) |
| 612 | (hcL : 0 < cL) (hcR : 0 < cR) (m : ℕ) (χ : ℝ → ℝ) |
| 613 | (hχ : ∀ X, |χ X| ≤ 1) |
| 614 | (hleft : ∀ X, X ≤ c → χ X = 0) (hright : ∀ X, d ≤ X → χ X = 1) : |
| 615 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ → V), Continuous f → ∀ A : ℝ, 0 ≤ A → |
| 616 | (∀ X ∈ Ioo a b, ‖f X‖ ≤ A * logWeight cL cR a b m X) → |
| 617 | ∀ X ∈ Ioo a b, |
| 618 | ‖radialCompactPrimitive χ f a b X‖ ≤ K * A * logWeight cL cR a b m X := by |
| 619 | obtain ⟨ρ, hρ, hρL, hl, hr⟩ := exists_log_plateau_width ha hac hcd hdb χ hleft hright |
| 620 | obtain ⟨K, hK, hbound⟩ := log_compact_primitive_uniform (V := V) ha (hac.trans (hcd.trans hdb)) |
| 621 | hcL hcR hρ hρL m (fun s => χ (expCoordinate a s)) (fun s => hχ _) hl hr |
| 622 | refine ⟨K, hK, ?_⟩ |
| 623 | intro f hfc A hA hf X hX |
| 624 | have h := hbound f hfc A hA hf X hX |
| 625 | simpa only [logCompactPrimitive, radialCompactPrimitive, |
| 626 | expCoordinate_logPosition ha (ha.trans hX.1)] using h |
| 627 | |
| 628 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 629 | |
| 630 | /-- A source slice along the actual affine shifted radial characteristic. -/ |
| 631 | def radialSlice (M : ℝ) (v : E) (f : ℝ × E → V) (z : ℝ × E) (s : ℝ) : V := |
| 632 | f (s, z.2 + (M * (s - z.1)) • v) |
| 633 | |
| 634 | omit [NormedSpace ℝ V] in |
| 635 | theorem radialSlice_continuous {f : ℝ × E → V} (hf : Continuous f) |
| 636 | (M : ℝ) (v : E) (z : ℝ × E) : Continuous (radialSlice M v f z) := by |
| 637 | exact hf.comp (continuous_id.prodMk |
| 638 | (continuous_const.add ((continuous_const.mul (continuous_id.sub continuous_const)).smul continuous_const))) |
| 639 | |
| 640 | /-- Auxiliary translation does not change a radial bound that is uniform in |
| 641 | the auxiliary variable. Constants are independent of M, v, and the base point. -/ |
| 642 | theorem shifted_radial_compact_primitive_uniform |
| 643 | {a b c d cL cR : ℝ} (ha : 0 < a) (hac : a < c) (hcd : c < d) (hdb : d < b) |
| 644 | (hcL : 0 < cL) (hcR : 0 < cR) (m : ℕ) (χ : ℝ → ℝ) |
| 645 | (hχ : ∀ X, |χ X| ≤ 1) |
| 646 | (hleft : ∀ X, X ≤ c → χ X = 0) (hright : ∀ X, d ≤ X → χ X = 1) : |
| 647 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (M : ℝ) (v : E) (f : ℝ × E → V), Continuous f → |
| 648 | ∀ A : ℝ, 0 ≤ A → |
| 649 | (∀ X ∈ Ioo a b, ∀ Y : E, ‖f (X, Y)‖ ≤ A * logWeight cL cR a b m X) → |
| 650 | ∀ z : ℝ × E, z.1 ∈ Ioo a b → |
| 651 | ‖radialCompactPrimitive χ (radialSlice M v f z) a b z.1‖ ≤ |
| 652 | K * A * logWeight cL cR a b m z.1 := by |
| 653 | obtain ⟨K, hK, hbound⟩ := radial_compact_primitive_uniform (V := V) |
| 654 | ha hac hcd hdb hcL hcR m χ hχ hleft hright |
| 655 | refine ⟨K, hK, ?_⟩ |
| 656 | intro M v f hfc A hA hf z hz |
| 657 | exact hbound (radialSlice M v f z) (radialSlice_continuous hfc M v z) A hA |
| 658 | (fun X hX => hf X hX _) z.1 hz |
| 659 | |
| 660 | end PhysicalIntegrals |
| 661 | |
| 662 | /-! ### The actual transport operator -/ |
| 663 | |
| 664 | section Transport |
| 665 | |
| 666 | variable {E V : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 667 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 668 | |
| 669 | theorem compactIntegral_eq_radialCompactPrimitive |
| 670 | {a b M : ℝ} {v : E} {f : ℝ × E → V} (χ : ℝ → ℝ) |
| 671 | (hf : Continuous f) (hs : RadialAlias.RadiallySupported a b f) (z : ℝ × E) : |
| 672 | TransportPrimitive.compactIntegral χ M v f z = |
| 673 | radialCompactPrimitive χ (radialSlice M v f z) a b z.1 := by |
| 674 | rw [TransportPrimitive.compactIntegral, |
| 675 | TransportPrimitive.pastIntegral_eq_radialInterval hf hs, |
| 676 | TransportPrimitive.totalIntegral_eq_radialInterval hf hs] |
| 677 | rfl |
| 678 | |
| 679 | /-- A uniform weighted inverse bound for the manuscript's actual shifted, |
| 680 | compactified transport primitive. All shifts are quantified after the constant. -/ |
| 681 | theorem transport_compact_primitive_uniform |
| 682 | {a b c d cL cR : ℝ} (ha : 0 < a) (hac : a < c) (hcd : c < d) (hdb : d < b) |
| 683 | (hcL : 0 < cL) (hcR : 0 < cR) (m : ℕ) (χ : ℝ → ℝ) |
| 684 | (hχ : ∀ X, |χ X| ≤ 1) |
| 685 | (hleft : ∀ X, X ≤ c → χ X = 0) (hright : ∀ X, d ≤ X → χ X = 1) : |
| 686 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (M : ℝ) (v : E) (f : ℝ × E → V), Continuous f → |
| 687 | RadialAlias.RadiallySupported a b f → ∀ A : ℝ, 0 ≤ A → |
| 688 | (∀ X ∈ Ioo a b, ∀ Y : E, ‖f (X, Y)‖ ≤ A * logWeight cL cR a b m X) → |
| 689 | ∀ z : ℝ × E, z.1 ∈ Ioo a b → |
| 690 | ‖TransportPrimitive.compactIntegral χ M v f z‖ ≤ |
| 691 | K * A * logWeight cL cR a b m z.1 := by |
| 692 | obtain ⟨K, hK, hbound⟩ := shifted_radial_compact_primitive_uniform (E := E) (V := V) |
| 693 | ha hac hcd hdb hcL hcR m χ hχ hleft hright |
| 694 | refine ⟨K, hK, ?_⟩ |
| 695 | intro M v f hf hs A hA hb z hz |
| 696 | rw [compactIntegral_eq_radialCompactPrimitive χ hf hs] |
| 697 | exact hbound M v f hf A hA hb z hz |
| 698 | |
| 699 | /-- The cutoff itself is the explicit smooth transition constructed in |
| 700 | `TransportPrimitive`; there is no cutoff-existence hypothesis. -/ |
| 701 | theorem canonical_transport_compact_uniform |
| 702 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) |
| 703 | (hcL : 0 < cL) (hcR : 0 < cR) (m : ℕ) : |
| 704 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (M : ℝ) (v : E) (f : ℝ × E → V), Continuous f → |
| 705 | RadialAlias.RadiallySupported a b f → ∀ A : ℝ, 0 ≤ A → |
| 706 | (∀ X ∈ Ioo a b, ∀ Y : E, ‖f (X, Y)‖ ≤ A * logWeight cL cR a b m X) → |
| 707 | ∀ z : ℝ × E, z.1 ∈ Ioo a b → |
| 708 | ‖TransportPrimitive.compactIntegral (TransportPrimitive.interiorCutoff a b) M v f z‖ ≤ |
| 709 | K * A * logWeight cL cR a b m z.1 := by |
| 710 | apply transport_compact_primitive_uniform ha |
| 711 | (c := (2 * a + b) / 3) (d := (a + 2 * b) / 3) |
| 712 | (by linarith) (by linarith) (by linarith) hcL hcR m |
| 713 | · intro X |
| 714 | have h := TransportPrimitive.cutoff_mem_Icc ((2 * a + b) / 3) ((a + 2 * b) / 3) X |
| 715 | exact (abs_of_nonneg h.1).le.trans h.2 |
| 716 | · exact fun X hX => TransportPrimitive.interiorCutoff_zero hab hX |
| 717 | · exact fun X hX => TransportPrimitive.interiorCutoff_one hab hX |
| 718 | |
| 719 | /-- The uncorrected past primitive obeys the left weighted estimate uniformly |
| 720 | in every auxiliary shift. -/ |
| 721 | theorem transport_past_left_uniform |
| 722 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) |
| 723 | (hcL : 0 < cL) (hcR : 0 < cR) (m : ℕ) : |
| 724 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (M : ℝ) (v : E) (f : ℝ × E → V), Continuous f → |
| 725 | RadialAlias.RadiallySupported a b f → ∀ A : ℝ, 0 ≤ A → |
| 726 | (∀ X ∈ Ioo a b, ∀ Y : E, ‖f (X, Y)‖ ≤ A * logWeight cL cR a b m X) → |
| 727 | ∀ z : ℝ × E, z.1 ∈ Ioo a b → logPosition a z.1 ≤ logLength a b / 2 → |
| 728 | ‖TransportPrimitive.pastIntegral M v f z‖ ≤ K * A * logWeight cL cR a b m z.1 := by |
| 729 | obtain ⟨K, hK, hb⟩ := log_left_primitive_uniform (V := V) ha hab hcL hcR m |
| 730 | refine ⟨K, hK, ?_⟩ |
| 731 | intro M v f hf hs A hA hbound z hz hzhalf |
| 732 | rw [TransportPrimitive.pastIntegral_eq_radialInterval hf hs] |
| 733 | exact hb (radialSlice M v f z) (radialSlice_continuous hf M v z) A hA |
| 734 | (fun X hX => hbound X hX _) z.1 hz hzhalf |
| 735 | |
| 736 | /-- The future primitive obeys the right weighted estimate. -/ |
| 737 | theorem transport_future_right_uniform |
| 738 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) |
| 739 | (hcL : 0 < cL) (hcR : 0 < cR) (m : ℕ) : |
| 740 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (M : ℝ) (v : E) (f : ℝ × E → V), Continuous f → |
| 741 | RadialAlias.RadiallySupported a b f → ∀ A : ℝ, 0 ≤ A → |
| 742 | (∀ X ∈ Ioo a b, ∀ Y : E, ‖f (X, Y)‖ ≤ A * logWeight cL cR a b m X) → |
| 743 | ∀ z : ℝ × E, z.1 ∈ Ioo a b → logLength a b / 2 ≤ logPosition a z.1 → |
| 744 | ‖TransportPrimitive.futureIntegral M v f z‖ ≤ K * A * logWeight cL cR a b m z.1 := by |
| 745 | obtain ⟨K, hK, hb⟩ := log_right_primitive_uniform (V := V) ha hab hcL hcR m |
| 746 | refine ⟨K, hK, ?_⟩ |
| 747 | intro M v f hf hs A hA hbound z hz hzhalf |
| 748 | rw [TransportPrimitive.futureIntegral_eq_radialInterval hf hs] |
| 749 | exact hb (radialSlice M v f z) (radialSlice_continuous hf M v z) A hA |
| 750 | (fun X hX => hbound X hX _) z.1 hz hzhalf |
| 751 | |
| 752 | /-- A common bound for past and total mass, uniform in every shift and in the |
| 753 | point in the annulus. It is used only on a compact interior collar. -/ |
| 754 | theorem transport_mass_uniform |
| 755 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) |
| 756 | (hcL : 0 < cL) (hcR : 0 < cR) (m : ℕ) : |
| 757 | ∃ D : ℝ, 0 ≤ D ∧ ∀ (M : ℝ) (v : E) (f : ℝ × E → V), Continuous f → |
| 758 | RadialAlias.RadiallySupported a b f → ∀ A : ℝ, 0 ≤ A → |
| 759 | (∀ X ∈ Ioo a b, ∀ Y : E, ‖f (X, Y)‖ ≤ A * logWeight cL cR a b m X) → |
| 760 | ∀ z : ℝ × E, z.1 ∈ Ioo a b → |
| 761 | ‖TransportPrimitive.pastIntegral M v f z‖ ≤ D * A ∧ |
| 762 | ‖TransportPrimitive.totalIntegral M v f z‖ ≤ D * A := by |
| 763 | obtain ⟨D, hD, hb⟩ := log_interval_primitive_uniform (V := V) ha hab hcL hcR m |
| 764 | refine ⟨D, hD, ?_⟩ |
| 765 | intro M v f hf hs A hA hbound z hz |
| 766 | have hsource : ∀ X ∈ Ioo a b, |
| 767 | ‖radialSlice M v f z X‖ ≤ A * logWeight cL cR a b m X := fun X hX => hbound X hX _ |
| 768 | rw [TransportPrimitive.pastIntegral_eq_radialInterval hf hs, |
| 769 | TransportPrimitive.totalIntegral_eq_radialInterval hf hs] |
| 770 | exact ⟨hb _ A hA hsource a z.1 le_rfl hz.1.le hz.2.le, |
| 771 | hb _ A hA hsource a b le_rfl hab.le le_rfl⟩ |
| 772 | |
| 773 | /-- A smooth scalar radial cutoff has bounded actual Fréchet jets on the |
| 774 | entire strip, including its unbounded auxiliary directions. -/ |
| 775 | theorem cutoff_finiteJet_bound (a b : ℝ) (χ : ℝ → ℝ) (hχ : ContDiff ℝ ∞ χ) (m : ℕ) : |
| 776 | ∃ B : ℝ, 0 ≤ B ∧ ∀ j : ℕ, j ≤ m → ∀ z : ℝ × E, z.1 ∈ Icc a b → |
| 777 | ‖iteratedFDeriv ℝ j (fun y : ℝ × E => χ y.1) z‖ ≤ B := by |
| 778 | classical |
| 779 | have hex : ∀ j : Fin (m + 1), ∃ C : ℝ, 0 ≤ C ∧ |
| 780 | ∀ x ∈ Icc a b, ‖iteratedFDeriv ℝ (j : ℕ) χ x‖ ≤ C := by |
| 781 | intro j |
| 782 | obtain ⟨C, hC⟩ := isCompact_Icc.exists_bound_of_continuousOn |
| 783 | ((hχ.continuous_iteratedFDeriv (m := (j : ℕ)) (nat_le_smooth j)).continuousOn : |
| 784 | ContinuousOn (iteratedFDeriv ℝ (j : ℕ) χ) (Icc a b)) |
| 785 | exact ⟨max C 0, le_max_right _ _, fun x hx => (hC x hx).trans (le_max_left _ _)⟩ |
| 786 | choose C hC hb using hex |
| 787 | refine ⟨∑ j, C j, Finset.sum_nonneg (fun j _ => hC j), ?_⟩ |
| 788 | intro j hj z hz |
| 789 | let j' : Fin (m + 1) := ⟨j, Nat.lt_succ_of_le hj⟩ |
| 790 | have hCj : C j' ≤ ∑ k, C k := Finset.single_le_sum (fun k _ => hC k) (Finset.mem_univ j') |
| 791 | have hcomp := (ContinuousLinearMap.fst ℝ ℝ E).iteratedFDeriv_comp_right hχ z |
| 792 | (i := j) (nat_le_smooth j) |
| 793 | change iteratedFDeriv ℝ j (fun y : ℝ × E => χ y.1) z = _ at hcomp |
| 794 | rw [hcomp] |
| 795 | calc |
| 796 | _ ≤ ‖iteratedFDeriv ℝ j χ z.1‖ * |
| 797 | ∏ _ : Fin j, ‖ContinuousLinearMap.fst ℝ ℝ E‖ := |
| 798 | ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _ |
| 799 | _ ≤ ‖iteratedFDeriv ℝ j χ z.1‖ * 1 := by |
| 800 | apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) |
| 801 | exact Finset.prod_le_one (fun _ _ => norm_nonneg _) (fun _ _ => ContinuousLinearMap.norm_fst_le _ _ _) |
| 802 | _ = ‖iteratedFDeriv ℝ j χ z.1‖ := mul_one _ |
| 803 | _ ≤ C j' := hb j' z.1 hz |
| 804 | _ ≤ ∑ k, C k := hCj |
| 805 | |
| 806 | private theorem iteratedFDeriv_eq_of_eventuallyEq |
| 807 | {f g : ℝ × E → V} {z : ℝ × E} (h : f =ᶠ[𝓝 z] g) (j : ℕ) : |
| 808 | iteratedFDeriv ℝ j f z = iteratedFDeriv ℝ j g z := by |
| 809 | have hw : f =ᶠ[𝓝[Set.univ] z] g := by simpa only [nhdsWithin_univ] using h |
| 810 | simpa only [iteratedFDerivWithin_univ] using hw.iteratedFDerivWithin_eq h.self_of_nhds j |
| 811 | |
| 812 | /-- On an open left logarithmic collar, every actual derivative of the |
| 813 | compactified operator equals the corresponding derivative of the past integral. -/ |
| 814 | theorem compact_jet_eq_past_on_left |
| 815 | {a M ρ : ℝ} {v : E} {f : ℝ × E → V} {χ : ℝ → ℝ} |
| 816 | (ha : 0 < a) (hleft : ∀ s, s ≤ ρ → χ (expCoordinate a s) = 0) |
| 817 | (z : ℝ × E) (hz : 0 < z.1) (hzρ : logPosition a z.1 < ρ) (j : ℕ) : |
| 818 | iteratedFDeriv ℝ j (TransportPrimitive.compactIntegral χ M v f) z = |
| 819 | iteratedFDeriv ℝ j (TransportPrimitive.pastIntegral M v f) z := by |
| 820 | apply iteratedFDeriv_eq_of_eventuallyEq (j := j) |
| 821 | have hp : ∀ᶠ y : ℝ × E in 𝓝 z, 0 < y.1 := |
| 822 | continuous_fst.continuousAt.eventually (lt_mem_nhds hz) |
| 823 | have hinner : ContinuousAt (fun y : ℝ × E => y.1 / a) z := |
| 824 | (continuous_fst.div_const a).continuousAt |
| 825 | have hlog : ContinuousAt (fun y : ℝ × E => logPosition a y.1) z := |
| 826 | hinner.log (div_ne_zero hz.ne' ha.ne') |
| 827 | have hl : ∀ᶠ y : ℝ × E in 𝓝 z, logPosition a y.1 < ρ := |
| 828 | hlog.eventually (gt_mem_nhds hzρ) |
| 829 | filter_upwards [hp, hl] with y hyp hyl |
| 830 | have hc : χ y.1 = 0 := by |
| 831 | simpa only [expCoordinate_logPosition ha hyp] using hleft (logPosition a y.1) hyl.le |
| 832 | simp only [TransportPrimitive.compactIntegral, hc, zero_smul, sub_zero] |
| 833 | |
| 834 | /-- On an open right logarithmic collar the compactified operator equals |
| 835 | the negative future integral, including all its actual derivatives. -/ |
| 836 | theorem compact_jet_eq_neg_future_on_right |
| 837 | {a b M ρ : ℝ} {v : E} {f : ℝ × E → V} {χ : ℝ → ℝ} |
| 838 | (ha : 0 < a) (hf : Continuous f) (hs : RadialAlias.RadiallySupported a b f) |
| 839 | (hright : ∀ s, logLength a b - ρ ≤ s → χ (expCoordinate a s) = 1) |
| 840 | (z : ℝ × E) (hz : 0 < z.1) (hzρ : logLength a b - ρ < logPosition a z.1) (j : ℕ) : |
| 841 | iteratedFDeriv ℝ j (TransportPrimitive.compactIntegral χ M v f) z = |
| 842 | -iteratedFDeriv ℝ j (TransportPrimitive.futureIntegral M v f) z := by |
| 843 | have heq : TransportPrimitive.compactIntegral χ M v f =ᶠ[𝓝 z] |
| 844 | -TransportPrimitive.futureIntegral M v f := by |
| 845 | have hp : ∀ᶠ y : ℝ × E in 𝓝 z, 0 < y.1 := |
| 846 | continuous_fst.continuousAt.eventually (lt_mem_nhds hz) |
| 847 | have hinner : ContinuousAt (fun y : ℝ × E => y.1 / a) z := |
| 848 | (continuous_fst.div_const a).continuousAt |
| 849 | have hlog : ContinuousAt (fun y : ℝ × E => logPosition a y.1) z := |
| 850 | hinner.log (div_ne_zero hz.ne' ha.ne') |
| 851 | have hr : ∀ᶠ y : ℝ × E in 𝓝 z, logLength a b - ρ < logPosition a y.1 := |
| 852 | hlog.eventually (lt_mem_nhds hzρ) |
| 853 | filter_upwards [hp, hr] with y hyp hyr |
| 854 | have hc : χ y.1 = 1 := by |
| 855 | simpa only [expCoordinate_logPosition ha hyp] using hright (logPosition a y.1) hyr.le |
| 856 | exact TransportPrimitive.compactIntegral_eq_neg_future hf hs y hc |
| 857 | rw [iteratedFDeriv_eq_of_eventuallyEq heq j, iteratedFDeriv_neg_apply] |
| 858 | |
| 859 | variable [CompleteSpace V] |
| 860 | |
| 861 | /-- Every finite prefix of actual Fréchet derivatives of the compactified |
| 862 | transport inverse preserves the same flat radial envelope. The estimate is |
| 863 | uniform in the shift and in all auxiliary variables. -/ |
| 864 | theorem transport_compact_finiteJets_uniform |
| 865 | {a b c d cL cR : ℝ} (ha : 0 < a) (hac : a < c) (hcd : c < d) (hdb : d < b) |
| 866 | (hcL : 0 < cL) (hcR : 0 < cR) (p m : ℕ) (χ : ℝ → ℝ) |
| 867 | (hχ : ContDiff ℝ ∞ χ) |
| 868 | (hleft : ∀ X, X ≤ c → χ X = 0) (hright : ∀ X, d ≤ X → χ X = 1) : |
| 869 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (M : ℝ) (v : E) (f : ℝ × E → V), ContDiff ℝ ∞ f → |
| 870 | RadialAlias.RadiallySupported a b f → ∀ A : ℝ, 0 ≤ A → |
| 871 | (∀ j : ℕ, j ≤ m → ∀ X ∈ Ioo a b, ∀ Y : E, |
| 872 | ‖iteratedFDeriv ℝ j f (X, Y)‖ ≤ A * logWeight cL cR a b p X) → |
| 873 | ∀ z : ℝ × E, z.1 ∈ Ioo a b → ∀ j : ℕ, j ≤ m → |
| 874 | ‖iteratedFDeriv ℝ j (TransportPrimitive.compactIntegral χ M v f) z‖ ≤ |
| 875 | K * A * logWeight cL cR a b p z.1 := by |
| 876 | classical |
| 877 | have hab : a < b := hac.trans (hcd.trans hdb) |
| 878 | obtain ⟨ρ, hρ, hρL, hl, hr⟩ := exists_log_plateau_width ha hac hcd hdb χ hleft hright |
| 879 | obtain ⟨d₀, hd₀, hmiddle⟩ := middle_weight_lower_bound |
| 880 | (L := logLength a b) hcL hcR (half_pos hρ) |
| 881 | obtain ⟨B, hB, hcut⟩ := cutoff_finiteJet_bound (E := E) a b χ hχ m |
| 882 | choose KL hKL hbL using fun j : Fin (m + 1) => |
| 883 | transport_past_left_uniform (E := E) |
| 884 | (V := ContinuousMultilinearMap ℝ (fun _ : Fin (j : ℕ) => ℝ × E) V) |
| 885 | ha hab hcL hcR p |
| 886 | choose KR hKR hbR using fun j : Fin (m + 1) => |
| 887 | transport_future_right_uniform (E := E) |
| 888 | (V := ContinuousMultilinearMap ℝ (fun _ : Fin (j : ℕ) => ℝ × E) V) |
| 889 | ha hab hcL hcR p |
| 890 | choose DS hDS hbD using fun j : Fin (m + 1) => |
| 891 | transport_mass_uniform (E := E) |
| 892 | (V := ContinuousMultilinearMap ℝ (fun _ : Fin (j : ℕ) => ℝ × E) V) |
| 893 | ha hab hcL hcR p |
| 894 | let L := ∑ j, KL j |
| 895 | let R := ∑ j, KR j |
| 896 | let D := ∑ j, DS j |
| 897 | have hL : 0 ≤ L := Finset.sum_nonneg (fun j _ => hKL j) |
| 898 | have hR : 0 ≤ R := Finset.sum_nonneg (fun j _ => hKR j) |
| 899 | have hD : 0 ≤ D := Finset.sum_nonneg (fun j _ => hDS j) |
| 900 | have hLL (j : Fin (m + 1)) : KL j ≤ L := Finset.single_le_sum (fun k _ => hKL k) (Finset.mem_univ j) |
| 901 | have hRR (j : Fin (m + 1)) : KR j ≤ R := Finset.single_le_sum (fun k _ => hKR k) (Finset.mem_univ j) |
| 902 | have hDD (j : Fin (m + 1)) : DS j ≤ D := Finset.single_le_sum (fun k _ => hDS k) (Finset.mem_univ j) |
| 903 | let KM := D * (1 + (2 : ℝ) ^ m * B) / d₀ |
| 904 | have hKM : 0 ≤ KM := div_nonneg (mul_nonneg hD (by positivity)) hd₀.le |
| 905 | let K := L + R + KM |
| 906 | have hLK : L ≤ K := by dsimp [K]; linarith |
| 907 | have hRK : R ≤ K := by dsimp [K]; linarith |
| 908 | have hMK : KM ≤ K := by dsimp [K]; linarith |
| 909 | refine ⟨K, hL.trans hLK, ?_⟩ |
| 910 | intro M v f hf hs A hA hsource z hz j hj |
| 911 | let j' : Fin (m + 1) := ⟨j, Nat.lt_succ_of_le hj⟩ |
| 912 | have hmass (i : ℕ) (hi : i ≤ m) : |
| 913 | ‖TransportPrimitive.pastIntegral M v (iteratedFDeriv ℝ i f) z‖ ≤ D * A ∧ |
| 914 | ‖TransportPrimitive.totalIntegral M v (iteratedFDeriv ℝ i f) z‖ ≤ D * A := by |
| 915 | let i' : Fin (m + 1) := ⟨i, Nat.lt_succ_of_le hi⟩ |
| 916 | have h := hbD i' M v (iteratedFDeriv ℝ i f) |
| 917 | (TransportPrimitive.iteratedFDeriv_contDiff hf i).continuous |
| 918 | (TransportPrimitive.iteratedFDeriv_supported hs i) A hA (hsource i hi) z hz |
| 919 | exact ⟨h.1.trans (mul_le_mul_of_nonneg_right (hDD i') hA), |
| 920 | h.2.trans (mul_le_mul_of_nonneg_right (hDD i') hA)⟩ |
| 921 | have hw : 0 ≤ logWeight cL cR a b p z.1 := |
| 922 | (weight_pos cL cR p (logPosition_mem ha hz)).le |
| 923 | by_cases hzl : logPosition a z.1 ≤ ρ / 2 |
| 924 | · rw [compact_jet_eq_past_on_left ha hl z (ha.trans hz.1) (by linarith) j, |
| 925 | TransportPrimitive.iteratedFDeriv_pastIntegral hf hs] |
| 926 | have h := hbL j' M v (iteratedFDeriv ℝ j f) |
| 927 | (TransportPrimitive.iteratedFDeriv_contDiff hf j).continuous |
| 928 | (TransportPrimitive.iteratedFDeriv_supported hs j) A hA (hsource j hj) z hz (by linarith) |
| 929 | exact h.trans (mul_le_mul_of_nonneg_right |
| 930 | (mul_le_mul_of_nonneg_right ((hLL j').trans hLK) hA) hw) |
| 931 | · by_cases hzr : logLength a b - ρ / 2 ≤ logPosition a z.1 |
| 932 | · rw [compact_jet_eq_neg_future_on_right ha hf.continuous hs hr z (ha.trans hz.1) (by linarith) j, |
| 933 | norm_neg, TransportPrimitive.iteratedFDeriv_futureIntegral hf hs] |
| 934 | have h := hbR j' M v (iteratedFDeriv ℝ j f) |
| 935 | (TransportPrimitive.iteratedFDeriv_contDiff hf j).continuous |
| 936 | (TransportPrimitive.iteratedFDeriv_supported hs j) A hA (hsource j hj) z hz (by linarith) |
| 937 | exact h.trans (mul_le_mul_of_nonneg_right |
| 938 | (mul_le_mul_of_nonneg_right ((hRR j').trans hRK) hA) hw) |
| 939 | · have hwm : d₀ ≤ logWeight cL cR a b p z.1 := |
| 940 | hmiddle p (logPosition a z.1) ⟨le_of_not_ge hzl, le_of_not_ge hzr⟩ |
| 941 | have hsum : (∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * |
| 942 | ‖iteratedFDeriv ℝ i (fun y : ℝ × E => χ y.1) z‖ * |
| 943 | ‖TransportPrimitive.totalIntegral M v (iteratedFDeriv ℝ (j - i) f) z‖) ≤ |
| 944 | (2 : ℝ) ^ j * B * (D * A) := by |
| 945 | calc |
| 946 | _ ≤ ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * B * (D * A) := by |
| 947 | apply Finset.sum_le_sum |
| 948 | intro i hi |
| 949 | have him : i ≤ m := (Nat.le_of_lt_succ (Finset.mem_range.mp hi)).trans hj |
| 950 | exact mul_le_mul |
| 951 | (mul_le_mul_of_nonneg_left (hcut i him z ⟨hz.1.le, hz.2.le⟩) (Nat.cast_nonneg _)) |
| 952 | (hmass (j - i) ((Nat.sub_le j i).trans hj)).2 (norm_nonneg _) |
| 953 | (mul_nonneg (Nat.cast_nonneg _) hB) |
| 954 | _ = (2 : ℝ) ^ j * B * (D * A) := by |
| 955 | rw [← Finset.sum_mul, ← Finset.sum_mul] |
| 956 | congr 2 |
| 957 | exact_mod_cast Nat.sum_range_choose j |
| 958 | calc |
| 959 | _ ≤ ‖TransportPrimitive.pastIntegral M v (iteratedFDeriv ℝ j f) z‖ + |
| 960 | ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * |
| 961 | ‖iteratedFDeriv ℝ i (fun y : ℝ × E => χ y.1) z‖ * |
| 962 | ‖TransportPrimitive.totalIntegral M v (iteratedFDeriv ℝ (j - i) f) z‖ := |
| 963 | TransportPrimitive.iteratedFDeriv_compactIntegral_norm_le hχ hf hs j z |
| 964 | _ ≤ D * A + (2 : ℝ) ^ j * B * (D * A) := add_le_add (hmass j hj).1 hsum |
| 965 | _ ≤ D * A + (2 : ℝ) ^ m * B * (D * A) := by |
| 966 | exact add_le_add_right |
| 967 | (mul_le_mul_of_nonneg_right |
| 968 | (mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by norm_num : (1 : ℝ) ≤ 2) hj) hB) |
| 969 | (mul_nonneg hD hA)) _ |
| 970 | _ = (D * (1 + (2 : ℝ) ^ m * B)) * A := by ring |
| 971 | _ = KM * A * d₀ := by dsimp [KM]; field_simp |
| 972 | _ ≤ KM * A * logWeight cL cR a b p z.1 := |
| 973 | mul_le_mul_of_nonneg_left hwm (mul_nonneg hKM hA) |
| 974 | _ ≤ K * A * logWeight cL cR a b p z.1 := |
| 975 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hMK hA) hw |
| 976 | |
| 977 | theorem canonical_transport_finiteJets_uniform |
| 978 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) |
| 979 | (hcL : 0 < cL) (hcR : 0 < cR) (p m : ℕ) : |
| 980 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (M : ℝ) (v : E) (f : ℝ × E → V), ContDiff ℝ ∞ f → |
| 981 | RadialAlias.RadiallySupported a b f → ∀ A : ℝ, 0 ≤ A → |
| 982 | (∀ j : ℕ, j ≤ m → ∀ X ∈ Ioo a b, ∀ Y : E, |
| 983 | ‖iteratedFDeriv ℝ j f (X, Y)‖ ≤ A * logWeight cL cR a b p X) → |
| 984 | ∀ z : ℝ × E, z.1 ∈ Ioo a b → ∀ j : ℕ, j ≤ m → |
| 985 | ‖iteratedFDeriv ℝ j |
| 986 | (TransportPrimitive.compactIntegral (TransportPrimitive.interiorCutoff a b) M v f) z‖ ≤ |
| 987 | K * A * logWeight cL cR a b p z.1 := by |
| 988 | exact transport_compact_finiteJets_uniform (E := E) (V := V) ha |
| 989 | (c := (2 * a + b) / 3) (d := (a + 2 * b) / 3) |
| 990 | (by linarith) (by linarith) (by linarith) hcL hcR p m |
| 991 | (TransportPrimitive.interiorCutoff a b) (TransportPrimitive.interiorCutoff_contDiff a b) |
| 992 | (fun X hX => TransportPrimitive.interiorCutoff_zero hab hX) |
| 993 | (fun X hX => TransportPrimitive.interiorCutoff_one hab hX) |
| 994 | |
| 995 | end Transport |
| 996 | |
| 997 | /-! ### The manuscript's all-jet mean class on a concrete annulus -/ |
| 998 | |
| 999 | section LogStrip |
| 1000 | |
| 1001 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1002 | |
| 1003 | /-- A concrete `StripData`: the radial domain and both weights are explicit; |
| 1004 | the only inputs beyond the annulus are the positive band scales. -/ |
| 1005 | noncomputable def logStripData (a b cL cR : ℝ) (ha : 0 < a) |
| 1006 | (hcL : 0 < cL) (hcR : 0 < cR) (ε S : ℕ → ℝ) |
| 1007 | (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) : |
| 1008 | WeightedClasses.StripData (ℝ × E) where |
| 1009 | domain := Prod.fst ⁻¹' Ioo a b |
| 1010 | isOpen_domain := isOpen_Ioo.preimage continuous_fst |
| 1011 | epsilon := ε |
| 1012 | epsilon_pos := hε |
| 1013 | epsilon_le_one := hεone |
| 1014 | slow := S |
| 1015 | one_le_slow := hS |
| 1016 | delta := fun z => delta (logLength a b) (logPosition a z.1) |
| 1017 | delta_pos := fun _ hz => delta_pos (logPosition_mem ha hz) |
| 1018 | zeta := fun z => zeta cL cR (logLength a b) (logPosition a z.1) |
| 1019 | zeta_smooth := by |
| 1020 | have hlog : ContDiffOn ℝ ∞ (fun z : ℝ × E => logPosition a z.1) |
| 1021 | (Prod.fst ⁻¹' Ioo a b) := |
| 1022 | (contDiffOn_fst.div_const a).log (fun z hz => div_ne_zero (ha.trans hz.1).ne' ha.ne') |
| 1023 | exact ((edge_contDiff hcL : ContDiff ℝ ∞ _).comp_contDiffOn hlog).mul |
| 1024 | ((edge_contDiff hcR : ContDiff ℝ ∞ _).comp_contDiffOn (contDiffOn_const.sub hlog)) |
| 1025 | zeta_nonneg := fun _ hz => (zeta_pos cL cR (logPosition_mem ha hz)).le |
| 1026 | |
| 1027 | /-- On the concrete strip, the library majorant is exactly a band amplitude |
| 1028 | times the explicit logarithmic radial weight. -/ |
| 1029 | theorem logStrip_majorant_eq |
| 1030 | {a b cL cR : ℝ} (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 1031 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) |
| 1032 | (α C : ℝ) (p n : ℕ) (z : ℝ × E) (hz : z.1 ∈ Ioo a b) : |
| 1033 | WeightedClasses.majorant (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) |
| 1034 | (fun _ y => (logStripData a b cL cR ha hcL hcR ε S hε hεone hS).zeta y) α C p n z = |
| 1035 | (C * (ε n) ^ α * (S n) ^ p) * logWeight cL cR a b p z.1 := by |
| 1036 | have hi : 1 ≤ (delta (logLength a b) (logPosition a z.1))⁻¹ := |
| 1037 | (one_le_inv₀ (delta_pos (logPosition_mem ha hz))).mpr (delta_le_one _ _) |
| 1038 | simp only [WeightedClasses.majorant, WeightedClasses.StripData.growth, logStripData, |
| 1039 | max_eq_right hi, mul_pow, inv_pow, logWeight, weight, div_eq_mul_inv] |
| 1040 | ring |
| 1041 | |
| 1042 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] [CompleteSpace V] |
| 1043 | |
| 1044 | /-- The concrete compactified shifted inverse preserves the all-jet mean |
| 1045 | class `M_α` on the explicit logarithmic annulus. Both radial support and global |
| 1046 | smoothness of the input are named hypotheses; neither the inverse estimate nor |
| 1047 | smoothness of the output is assumed. The bandwise shifts may be arbitrary. -/ |
| 1048 | theorem meanClass_canonical_transport |
| 1049 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 1050 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) |
| 1051 | (α : ℝ) (M : ℕ → ℝ) (v : ℕ → E) (f : ℕ → ℝ × E → V) |
| 1052 | (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 1053 | (hclass : WeightedClasses.MeanClass |
| 1054 | (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) : |
| 1055 | WeightedClasses.MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α |
| 1056 | (fun n => TransportPrimitive.compactIntegral (TransportPrimitive.interiorCutoff a b) |
| 1057 | (M n) (v n) (f n)) := by |
| 1058 | refine ⟨hclass.weight_nonneg, ?_, ?_⟩ |
| 1059 | · intro n |
| 1060 | exact (TransportPrimitive.compactIntegral_contDiff |
| 1061 | (TransportPrimitive.interiorCutoff_contDiff a b) (hf n) (hs n)).contDiffOn |
| 1062 | · intro m |
| 1063 | obtain ⟨C, hC, p, hsource⟩ := hclass.bounds m |
| 1064 | obtain ⟨K, hK, hbound⟩ := canonical_transport_finiteJets_uniform (E := E) (V := V) |
| 1065 | ha hab hcL hcR p m |
| 1066 | refine ⟨K * C, mul_nonneg hK hC, p, ?_⟩ |
| 1067 | intro n z hz j hj |
| 1068 | change z.1 ∈ Ioo a b at hz |
| 1069 | have hA : 0 ≤ C * (ε n) ^ α * (S n) ^ p := |
| 1070 | mul_nonneg (mul_nonneg hC (Real.rpow_pos_of_pos (hε n) α).le) |
| 1071 | (pow_nonneg (zero_le_one.trans (hS n)) p) |
| 1072 | have hinput : ∀ i : ℕ, i ≤ m → ∀ X ∈ Ioo a b, ∀ Y : E, |
| 1073 | ‖iteratedFDeriv ℝ i (f n) (X, Y)‖ ≤ |
| 1074 | (C * (ε n) ^ α * (S n) ^ p) * logWeight cL cR a b p X := by |
| 1075 | intro i hi X hX Y |
| 1076 | have hpnt := hsource n (X, Y) hX i hi |
| 1077 | rw [logStrip_majorant_eq ha hcL hcR ε S hε hεone hS α C p n (X, Y) hX] at hpnt |
| 1078 | exact hpnt |
| 1079 | have hout := hbound (M n) (v n) (f n) (hf n) (hs n) |
| 1080 | (C * (ε n) ^ α * (S n) ^ p) hA hinput z hz j hj |
| 1081 | rw [logStrip_majorant_eq ha hcL hcR ε S hε hεone hS α (K * C) p n z hz] |
| 1082 | simpa only [mul_assoc] using hout |
| 1083 | |
| 1084 | /-- The full supported-mean conclusion includes global smoothness and the |
| 1085 | original radial support, as required by the smooth zero-extension convention. -/ |
| 1086 | theorem supported_meanClass_canonical_transport |
| 1087 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) |
| 1088 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) |
| 1089 | (α : ℝ) (M : ℕ → ℝ) (v : ℕ → E) (f : ℕ → ℝ × E → V) |
| 1090 | (hf : ∀ n, ContDiff ℝ ∞ (f n)) (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 1091 | (hclass : WeightedClasses.MeanClass |
| 1092 | (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) : |
| 1093 | let g := fun n => TransportPrimitive.compactIntegral (TransportPrimitive.interiorCutoff a b) |
| 1094 | (M n) (v n) (f n) |
| 1095 | (∀ n, ContDiff ℝ ∞ (g n)) ∧ |
| 1096 | (∀ n, RadialAlias.RadiallySupported a b (g n)) ∧ |
| 1097 | WeightedClasses.MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α g := by |
| 1098 | refine ⟨?_, ?_, meanClass_canonical_transport ha hab hcL hcR ε S hε hεone hS α M v f hf hs hclass⟩ |
| 1099 | · exact fun n => TransportPrimitive.compactIntegral_contDiff |
| 1100 | (TransportPrimitive.interiorCutoff_contDiff a b) (hf n) (hs n) |
| 1101 | · exact fun n => TransportPrimitive.canonicalCompact_supported hab (hf n).continuous (hs n) |
| 1102 | |
| 1103 | end LogStrip |
| 1104 | |
| 1105 | end NavierStokes.WeightedRadialPrimitive |