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.PhysicalCoordinateBounds |
| 3 | import NavierStokes.PhysicalWaveSum |
| 4 | |
| 5 | /-! |
| 6 | # Physical jet estimates for the actual diagonal cutoff stages |
| 7 | |
| 8 | The cutoff is the constructed `SmoothCutoffs.scaledCutoff`. Its derivatives |
| 9 | are estimated before choosing the diagonal scales. All estimates concern |
| 10 | ordinary Fréchet derivatives on an open smooth domain; the estimate carrier |
| 11 | itself need not be open. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace NavierStokes.CutStageEstimates |
| 17 | |
| 18 | open Set Function Filter |
| 19 | open scoped Topology ContDiff BigOperators |
| 20 | |
| 21 | private theorem nat_le_infty (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := |
| 22 | ENat.natCast_le_of_coe_top_le_withTop le_rfl n |
| 23 | |
| 24 | /-- A concrete finite bound, used only for constants and derivative losses. -/ |
| 25 | noncomputable def finiteBound (f : ℕ → ℝ) (m : ℕ) : ℝ := |
| 26 | 1 + ∑ k ∈ Finset.range (m + 1), |f k| |
| 27 | |
| 28 | theorem finiteBound_one_le (f : ℕ → ℝ) (m : ℕ) : 1 ≤ finiteBound f m := by |
| 29 | exact le_add_of_nonneg_right (Finset.sum_nonneg (fun _ _ => abs_nonneg _)) |
| 30 | |
| 31 | theorem le_finiteBound (f : ℕ → ℝ) {k m : ℕ} (hkm : k ≤ m) : |
| 32 | f k ≤ finiteBound f m := by |
| 33 | have hb := Finset.single_le_sum (fun j (_ : j ∈ Finset.range (m + 1)) => abs_nonneg (f j)) |
| 34 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hkm)) |
| 35 | exact (le_abs_self _).trans (hb.trans (le_add_of_nonneg_left zero_le_one)) |
| 36 | |
| 37 | /-- At the normalized argument `1`, every derivative of every nonnegative |
| 38 | scale has a common bound. Derivative support removes the scale parameter. -/ |
| 39 | theorem scaledCutoff_jet_one_bounded (k : ℕ) : |
| 40 | ∃ C : ℝ, 0 ≤ C ∧ ∀ a : ℝ, 0 ≤ a → |
| 41 | ‖iteratedFDeriv ℝ k (SmoothCutoffs.scaledCutoff a) 1‖ ≤ C := by |
| 42 | cases k with |
| 43 | | zero => |
| 44 | refine ⟨1, zero_le_one, fun a _ => ?_⟩ |
| 45 | rw [norm_iteratedFDeriv_zero, Real.norm_eq_abs, |
| 46 | abs_of_nonneg (SmoothCutoffs.scaledCutoff_mem_Icc a 1).1] |
| 47 | exact (SmoothCutoffs.scaledCutoff_mem_Icc a 1).2 |
| 48 | | succ k => |
| 49 | obtain ⟨C, hC, hb⟩ := SmoothCutoffs.scaledCutoff_iteratedDeriv_bound k |
| 50 | refine ⟨C, hC, fun a ha => ?_⟩ |
| 51 | simpa only [norm_iteratedFDeriv_eq_norm_iteratedDeriv, Real.norm_eq_abs, |
| 52 | div_one, one_pow, mul_one] using hb a 1 ha zero_lt_one |
| 53 | |
| 54 | theorem scaledCutoff_finite_jets_one_bounded (m : ℕ) : |
| 55 | ∃ C : ℝ, 1 ≤ C ∧ ∀ a : ℝ, 0 ≤ a → ∀ k ≤ m, |
| 56 | ‖iteratedFDeriv ℝ k (SmoothCutoffs.scaledCutoff a) 1‖ ≤ C := by |
| 57 | choose C hC hb using scaledCutoff_jet_one_bounded |
| 58 | exact ⟨finiteBound C m, finiteBound_one_le _ _, fun a ha k hk => |
| 59 | (hb k a ha).trans (le_finiteBound C hk)⟩ |
| 60 | |
| 61 | /-- The scalar cutoff is flat at its support boundary, including order zero. |
| 62 | Continuity of each actual derivative supplies the boundary value. -/ |
| 63 | theorem cutoff_jets_zero_of_one_le (m : ℕ) {x : ℝ} (hx : 1 ≤ x) : |
| 64 | iteratedFDeriv ℝ m SmoothCutoffs.cutoff x = 0 := by |
| 65 | have he : EqOn (iteratedFDeriv ℝ m SmoothCutoffs.cutoff) (fun _ => 0) (Ioi 1) := by |
| 66 | intro y hy |
| 67 | have hg := SmoothCutoffs.cutoff_eventually_zero (hy.trans_le (le_abs_self y)) |
| 68 | simpa only [iteratedFDeriv_fun_zero, Pi.zero_apply] using |
| 69 | (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq hg m).self_of_nhds |
| 70 | have hc := SmoothCutoffs.cutoff_contDiff.continuous_iteratedFDeriv (nat_le_infty m) |
| 71 | exact he.closure hc continuous_const (by simpa only [closure_Ioi, mem_Ici] using hx) |
| 72 | |
| 73 | section General |
| 74 | |
| 75 | variable {E V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 76 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 77 | |
| 78 | /-- The ordinary chain-rule bound on an open domain, with a global outer map. -/ |
| 79 | theorem composition_jet_bound {f : E → ℝ} {g : ℝ → V} {U : Set E} |
| 80 | (hU : IsOpen U) (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiff ℝ ∞ g) |
| 81 | {x : E} (hx : x ∈ U) (m : ℕ) {C D : ℝ} |
| 82 | (hC : ∀ k ≤ m, ‖iteratedFDeriv ℝ k g (f x)‖ ≤ C) |
| 83 | (hD : ∀ k, 1 ≤ k → k ≤ m → ‖iteratedFDeriv ℝ k f x‖ ≤ D ^ k) : |
| 84 | ‖iteratedFDeriv ℝ m (g ∘ f) x‖ ≤ m.factorial * C * D ^ m := by |
| 85 | have hb := norm_iteratedFDerivWithin_comp_le hg.contDiffOn hf (nat_le_infty m) |
| 86 | uniqueDiffOn_univ hU.uniqueDiffOn (mapsTo_univ _ _) hx |
| 87 | (fun k hk => by simpa only [iteratedFDerivWithin_univ] using hC k hk) |
| 88 | (fun k hk hkm => by |
| 89 | simpa only [iteratedFDerivWithin_of_isOpen k hU hx] using hD k hk hkm) |
| 90 | simpa only [iteratedFDerivWithin_of_isOpen m hU hx] using hb |
| 91 | |
| 92 | /-- Sharp scale-independent cutoff loss. The relative coordinate `q/q(x)` |
| 93 | has value one at the evaluation point, so the preceding scalar estimate |
| 94 | absorbs every power of the arbitrary cutoff scale. -/ |
| 95 | theorem cutoff_jet_bound {U S : Set E} (hU : IsOpen U) (hSU : S ⊆ U) |
| 96 | {q : E → ℝ} (hq : ContDiffOn ℝ ∞ q U) |
| 97 | (hpos : ∀ x ∈ S, 0 < q x) (B : ℕ → ℝ) |
| 98 | (hB : ∀ k x, x ∈ S → |
| 99 | ‖iteratedFDeriv ℝ k q x‖ ≤ B k * q x ^ (1 - (k : ℝ))) (m : ℕ) : |
| 100 | ∃ C : ℝ, 0 < C ∧ ∀ a : ℝ, 0 ≤ a → ∀ x ∈ S, |
| 101 | ‖iteratedFDeriv ℝ m (fun y => SmoothCutoffs.scaledCutoff a (q y)) x‖ ≤ |
| 102 | C * q x ^ (-(m : ℝ)) := by |
| 103 | obtain ⟨A, hA, hAb⟩ := scaledCutoff_finite_jets_one_bounded m |
| 104 | let D := finiteBound B m |
| 105 | have hD : 1 ≤ D := finiteBound_one_le _ _ |
| 106 | have hDp : 0 < D := zero_lt_one.trans_le hD |
| 107 | refine ⟨m.factorial * A * D ^ m, by positivity, ?_⟩ |
| 108 | intro a ha x hx |
| 109 | have hqx := hpos x hx |
| 110 | let f : E → ℝ := fun y => (q x)⁻¹ • q y |
| 111 | let g : ℝ → ℝ := SmoothCutoffs.scaledCutoff (a * q x) |
| 112 | have hf : ContDiffOn ℝ ∞ f U := hq.const_smul _ |
| 113 | have hg : ContDiff ℝ ∞ g := SmoothCutoffs.scaledCutoff_contDiff _ |
| 114 | have hfx : f x = 1 := by simp [f, hqx.ne'] |
| 115 | have hfb : ∀ k, 1 ≤ k → k ≤ m → |
| 116 | ‖iteratedFDeriv ℝ k f x‖ ≤ (D / q x) ^ k := by |
| 117 | intro k hk hkm |
| 118 | have hBk : B k ≤ D ^ k := |
| 119 | (le_finiteBound B hkm).trans (by |
| 120 | simpa only [pow_one] using pow_le_pow_right₀ hD hk) |
| 121 | have he : (q x)⁻¹ * q x ^ (1 - (k : ℝ)) = q x ^ (-(k : ℝ)) := by |
| 122 | rw [Real.rpow_sub hqx, Real.rpow_one, Real.rpow_neg hqx.le] |
| 123 | field_simp [hqx.ne'] |
| 124 | calc |
| 125 | ‖iteratedFDeriv ℝ k f x‖ = (q x)⁻¹ * ‖iteratedFDeriv ℝ k q x‖ := by |
| 126 | dsimp only [f] |
| 127 | rw [iteratedFDeriv_const_smul_apply' ((hq.contDiffAt (hU.mem_nhds (hSU hx))).of_le |
| 128 | (nat_le_infty k)), norm_smul (q x)⁻¹ (iteratedFDeriv ℝ k q x), |
| 129 | Real.norm_eq_abs, abs_of_pos (inv_pos.mpr hqx)] |
| 130 | _ ≤ (q x)⁻¹ * (B k * q x ^ (1 - (k : ℝ))) := |
| 131 | mul_le_mul_of_nonneg_left (hB k x hx) (inv_nonneg.mpr hqx.le) |
| 132 | _ = B k * q x ^ (-(k : ℝ)) := by rw [← he]; ring |
| 133 | _ ≤ D ^ k * q x ^ (-(k : ℝ)) := |
| 134 | mul_le_mul_of_nonneg_right hBk (Real.rpow_nonneg hqx.le _) |
| 135 | _ = (D / q x) ^ k := by |
| 136 | rw [Real.rpow_neg hqx.le, Real.rpow_natCast, div_pow] |
| 137 | ring |
| 138 | have hb := composition_jet_bound hU hf hg (hSU hx) m |
| 139 | (fun k hk => by rw [hfx]; exact hAb _ (mul_nonneg ha hqx.le) k hk) hfb |
| 140 | have heq : g ∘ f = fun y => SmoothCutoffs.scaledCutoff a (q y) := by |
| 141 | funext y |
| 142 | simp only [Function.comp_apply, g, f, SmoothCutoffs.scaledCutoff, smul_eq_mul] |
| 143 | congr 1 |
| 144 | field_simp |
| 145 | rw [heq] at hb |
| 146 | calc |
| 147 | _ ≤ m.factorial * A * (D / q x) ^ m := hb |
| 148 | _ = (m.factorial * A * D ^ m) * q x ^ (-(m : ℝ)) := by |
| 149 | rw [div_pow, Real.rpow_neg hqx.le, Real.rpow_natCast] |
| 150 | ring |
| 151 | |
| 152 | theorem smul_jet_bound {f : E → ℝ} {g : E → V} {U : Set E} |
| 153 | (hU : IsOpen U) (hf : ContDiffOn ℝ ∞ f U) (hg : ContDiffOn ℝ ∞ g U) |
| 154 | {x : E} (hx : x ∈ U) (m : ℕ) : |
| 155 | ‖iteratedFDeriv ℝ m (fun y => f y • g y) x‖ ≤ |
| 156 | ∑ i ∈ Finset.range (m + 1), (m.choose i : ℝ) * |
| 157 | ‖iteratedFDeriv ℝ i f x‖ * ‖iteratedFDeriv ℝ (m - i) g x‖ := by |
| 158 | have hb := norm_iteratedFDerivWithin_smul_le hf hg hU.uniqueDiffOn hx (nat_le_infty m) |
| 159 | simpa only [iteratedFDerivWithin_of_isOpen _ hU hx] using hb |
| 160 | |
| 161 | /-- All jets of the composed cutoff vanish on and beyond its boundary. |
| 162 | This does not require the coordinate to cross that boundary locally. -/ |
| 163 | theorem composedCutoff_jets_zero {U : Set E} (hU : IsOpen U) {q : E → ℝ} |
| 164 | (hq : ContDiffOn ℝ ∞ q U) {x : E} (hx : x ∈ U) (a : ℝ) |
| 165 | (haq : 1 ≤ a * q x) (m : ℕ) : |
| 166 | iteratedFDeriv ℝ m (fun y => SmoothCutoffs.scaledCutoff a (q y)) x = 0 := by |
| 167 | let f : E → ℝ := fun y => a * q y |
| 168 | have hf : ContDiffOn ℝ ∞ f U := contDiffOn_const.mul hq |
| 169 | let D := finiteBound (fun k => ‖iteratedFDeriv ℝ k f x‖) m |
| 170 | have hD : 1 ≤ D := finiteBound_one_le _ _ |
| 171 | have hb := composition_jet_bound hU hf SmoothCutoffs.cutoff_contDiff hx m |
| 172 | (C := 0) (D := D) |
| 173 | (fun k _ => by rw [cutoff_jets_zero_of_one_le k haq, norm_zero]) |
| 174 | (fun k hk hkm => (le_finiteBound _ hkm).trans (by |
| 175 | simpa only [pow_one] using pow_le_pow_right₀ hD hk)) |
| 176 | apply norm_eq_zero.mp |
| 177 | simp only [mul_zero, zero_mul] at hb |
| 178 | exact le_antisymm hb (norm_nonneg _) |
| 179 | |
| 180 | theorem cut_product_jets_zero {U : Set E} (hU : IsOpen U) {q : E → ℝ} |
| 181 | (hq : ContDiffOn ℝ ∞ q U) {A : E → V} (hA : ContDiffOn ℝ ∞ A U) |
| 182 | {x : E} (hx : x ∈ U) (a : ℝ) (haq : 1 ≤ a * q x) (m : ℕ) : |
| 183 | iteratedFDeriv ℝ m (fun y => SmoothCutoffs.scaledCutoff a (q y) • A y) x = 0 := by |
| 184 | have hb := smul_jet_bound hU |
| 185 | ((SmoothCutoffs.scaledCutoff_contDiff a).comp_contDiffOn hq) hA hx m |
| 186 | simp only [Function.comp_def, composedCutoff_jets_zero hU hq hx a haq, norm_zero, mul_zero, |
| 187 | zero_mul, Finset.sum_const_zero] at hb |
| 188 | exact norm_eq_zero.mp (le_antisymm hb (norm_nonneg _)) |
| 189 | |
| 190 | /-- The loss depends only on derivative order and the original loss function. |
| 191 | It is deliberately allowed to overestimate the finite maximum. -/ |
| 192 | noncomputable def cutLoss (L : ℕ → ℝ) (m : ℕ) : ℝ := finiteBound L m + m |
| 193 | |
| 194 | /-- The logarithmic exponent can depend on the stage, but never on its cutoff. -/ |
| 195 | noncomputable def cutLog (p : ℕ → ℕ → ℝ) (j m : ℕ) : ℝ := finiteBound (p j) m |
| 196 | |
| 197 | /-- Actual uncut jets, only on the portion `q ≤ 1` of the estimate carrier. |
| 198 | No condition is imposed on order zero of the stage sequence. -/ |
| 199 | def RawStageBounds (q : E → ℝ) (A : ℕ → E → V) (g L : ℕ → ℝ) |
| 200 | (C p : ℕ → ℕ → ℝ) (S : Set E) : Prop := |
| 201 | ∀ j, 1 ≤ j → ∀ m x, x ∈ S → q x ≤ 1 → |
| 202 | ‖iteratedFDeriv ℝ m (A j) x‖ ≤ |
| 203 | C j m * (1 + |Real.log (q x)|) ^ (p j m) * q x ^ (g j - L m) |
| 204 | |
| 205 | private theorem sum_choose_real (m : ℕ) : |
| 206 | (∑ i ∈ Finset.range (m + 1), (m.choose i : ℝ)) = 2 ^ m := by |
| 207 | exact_mod_cast Nat.sum_range_choose m |
| 208 | |
| 209 | /-- Leibniz's formula converts the genuine raw jet bounds into uniform |
| 210 | cut-stage bounds. The constant and logarithmic exponent are independent of |
| 211 | the arbitrary nonnegative cutoff parameter. -/ |
| 212 | theorem cut_product_bound {U S : Set E} (hU : IsOpen U) (hSU : S ⊆ U) |
| 213 | {q : E → ℝ} (hq : ContDiffOn ℝ ∞ q U) (hpos : ∀ x ∈ S, 0 < q x) |
| 214 | {A : E → V} (hA : ContDiffOn ℝ ∞ A U) |
| 215 | (Q C p L : ℕ → ℝ) (g : ℝ) |
| 216 | (hcut : ∀ k a, 0 ≤ a → ∀ x ∈ S, q x ≤ 1 → |
| 217 | ‖iteratedFDeriv ℝ k (fun y => SmoothCutoffs.scaledCutoff a (q y)) x‖ ≤ |
| 218 | Q k * q x ^ (-(k : ℝ))) |
| 219 | (hraw : ∀ k x, x ∈ S → q x ≤ 1 → |
| 220 | ‖iteratedFDeriv ℝ k A x‖ ≤ |
| 221 | C k * (1 + |Real.log (q x)|) ^ (p k) * q x ^ (g - L k)) |
| 222 | (m : ℕ) : |
| 223 | ∃ K : ℝ, 0 < K ∧ ∀ a : ℝ, 0 ≤ a → ∀ x ∈ S, q x ≤ 1 → |
| 224 | ‖iteratedFDeriv ℝ m (fun y => SmoothCutoffs.scaledCutoff a (q y) • A y) x‖ ≤ |
| 225 | K * (1 + |Real.log (q x)|) ^ (finiteBound p m) * q x ^ (g - cutLoss L m) := by |
| 226 | let CQ := finiteBound Q m |
| 227 | let CA := finiteBound C m |
| 228 | have hCQ : 0 < CQ := zero_lt_one.trans_le (finiteBound_one_le _ _) |
| 229 | have hCA : 0 < CA := zero_lt_one.trans_le (finiteBound_one_le _ _) |
| 230 | refine ⟨2 ^ m * CQ * CA, by positivity, ?_⟩ |
| 231 | intro a ha x hx hq1 |
| 232 | have hqx := hpos x hx |
| 233 | let l : ℝ := 1 + |Real.log (q x)| |
| 234 | have hl : 1 ≤ l := le_add_of_nonneg_right (abs_nonneg _) |
| 235 | have hcut' : ∀ i ≤ m, |
| 236 | ‖iteratedFDeriv ℝ i (fun y => SmoothCutoffs.scaledCutoff a (q y)) x‖ ≤ |
| 237 | CQ * q x ^ (-(i : ℝ)) := by |
| 238 | intro i hi |
| 239 | exact (hcut i a ha x hx hq1).trans |
| 240 | (mul_le_mul_of_nonneg_right (le_finiteBound Q hi) (Real.rpow_nonneg hqx.le _)) |
| 241 | have hraw' : ∀ k ≤ m, ‖iteratedFDeriv ℝ k A x‖ ≤ |
| 242 | CA * l ^ (finiteBound p m) * q x ^ (g - L k) := by |
| 243 | intro k hk |
| 244 | apply (hraw k x hx hq1).trans |
| 245 | apply mul_le_mul_of_nonneg_right _ (Real.rpow_nonneg hqx.le _) |
| 246 | calc |
| 247 | C k * l ^ (p k) ≤ CA * l ^ (p k) := |
| 248 | mul_le_mul_of_nonneg_right (le_finiteBound C hk) (Real.rpow_nonneg (by positivity) _) |
| 249 | _ ≤ CA * l ^ (finiteBound p m) := mul_le_mul_of_nonneg_left |
| 250 | (Real.rpow_le_rpow_of_exponent_le hl (le_finiteBound p hk)) hCA.le |
| 251 | have hb := smul_jet_bound hU |
| 252 | ((SmoothCutoffs.scaledCutoff_contDiff a).comp_contDiffOn hq) hA (hSU hx) m |
| 253 | apply hb.trans |
| 254 | calc |
| 255 | _ ≤ ∑ i ∈ Finset.range (m + 1), (m.choose i : ℝ) * CQ * CA * |
| 256 | l ^ (finiteBound p m) * q x ^ (g - cutLoss L m) := by |
| 257 | apply Finset.sum_le_sum |
| 258 | intro i hi |
| 259 | have him : i ≤ m := Nat.le_of_lt_succ (Finset.mem_range.mp hi) |
| 260 | have hki : m - i ≤ m := Nat.sub_le _ _ |
| 261 | have hp : q x ^ (g - L (m - i) - (i : ℝ)) ≤ q x ^ (g - cutLoss L m) := by |
| 262 | apply Real.rpow_le_rpow_of_exponent_ge hqx hq1 |
| 263 | have hL := le_finiteBound L hki |
| 264 | have hi' : (i : ℝ) ≤ m := by exact_mod_cast him |
| 265 | dsimp only [cutLoss] |
| 266 | linarith |
| 267 | calc |
| 268 | _ ≤ (m.choose i : ℝ) * (CQ * q x ^ (-(i : ℝ))) * |
| 269 | (CA * l ^ (finiteBound p m) * q x ^ (g - L (m - i))) := by |
| 270 | apply mul_le_mul |
| 271 | · exact mul_le_mul_of_nonneg_left (hcut' i him) (Nat.cast_nonneg _) |
| 272 | · exact hraw' (m - i) hki |
| 273 | · exact norm_nonneg _ |
| 274 | · positivity |
| 275 | _ = (m.choose i : ℝ) * CQ * CA * l ^ (finiteBound p m) * |
| 276 | q x ^ (g - L (m - i) - (i : ℝ)) := by |
| 277 | rw [show g - L (m - i) - (i : ℝ) = -(i : ℝ) + (g - L (m - i)) by ring, |
| 278 | Real.rpow_add hqx] |
| 279 | ring |
| 280 | _ ≤ _ := mul_le_mul_of_nonneg_left hp (by positivity) |
| 281 | _ = (2 ^ m * CQ * CA) * l ^ (finiteBound p m) * q x ^ (g - cutLoss L m) := by |
| 282 | simp only [← Finset.sum_mul, sum_choose_real] |
| 283 | |
| 284 | /-- One family of constants works for every possible choice of cutoff |
| 285 | parameters; these are derived from the uncut jets, not supplied as data. -/ |
| 286 | theorem exists_cut_stage_constants {U S : Set E} (hU : IsOpen U) (hSU : S ⊆ U) |
| 287 | {q : E → ℝ} (hq : ContDiffOn ℝ ∞ q U) (hpos : ∀ x ∈ S, 0 < q x) |
| 288 | (B : ℕ → ℝ) |
| 289 | (hB : ∀ k x, x ∈ S → q x ≤ 1 → |
| 290 | ‖iteratedFDeriv ℝ k q x‖ ≤ B k * q x ^ (1 - (k : ℝ))) |
| 291 | {A : ℕ → E → V} (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) |
| 292 | (g L : ℕ → ℝ) (C p : ℕ → ℕ → ℝ) |
| 293 | (hraw : RawStageBounds q A g L C p S) : |
| 294 | ∃ K : ℕ → ℕ → ℝ, (∀ j m, 0 < K j m) ∧ |
| 295 | ∀ j, 1 ≤ j → ∀ m a, 0 ≤ a → ∀ x ∈ S, q x ≤ 1 → |
| 296 | ‖iteratedFDeriv ℝ m (fun y => SmoothCutoffs.scaledCutoff a (q y) • A j y) x‖ ≤ |
| 297 | K j m * (1 + |Real.log (q x)|) ^ (cutLog p j m) * q x ^ (g j - cutLoss L m) := by |
| 298 | have hc := fun m => cutoff_jet_bound hU |
| 299 | (S := S ∩ {x | q x ≤ 1}) (fun _ hx => hSU hx.1) hq |
| 300 | (fun x hx => hpos x hx.1) B (fun k x hx => hB k x hx.1 hx.2) m |
| 301 | choose Q hQ hcut using hc |
| 302 | have hcut' : ∀ k a, 0 ≤ a → ∀ x ∈ S, q x ≤ 1 → |
| 303 | ‖iteratedFDeriv ℝ k (fun y => SmoothCutoffs.scaledCutoff a (q y)) x‖ ≤ |
| 304 | Q k * q x ^ (-(k : ℝ)) := fun k a ha x hx hq1 => hcut k a ha x ⟨hx, hq1⟩ |
| 305 | have hK : ∀ j m, ∃ K : ℝ, 0 < K ∧ (1 ≤ j → |
| 306 | ∀ a, 0 ≤ a → ∀ x ∈ S, q x ≤ 1 → |
| 307 | ‖iteratedFDeriv ℝ m (fun y => SmoothCutoffs.scaledCutoff a (q y) • A j y) x‖ ≤ |
| 308 | K * (1 + |Real.log (q x)|) ^ (cutLog p j m) * q x ^ (g j - cutLoss L m)) := by |
| 309 | intro j m |
| 310 | by_cases hj : 1 ≤ j |
| 311 | · obtain ⟨K, hK, hb⟩ := cut_product_bound hU hSU hq hpos (hA j hj) |
| 312 | Q (C j) (p j) L (g j) hcut' (hraw j hj) m |
| 313 | exact ⟨K, hK, fun _ => hb⟩ |
| 314 | · exact ⟨1, zero_lt_one, fun hj' => False.elim (hj hj')⟩ |
| 315 | choose K hK hb using hK |
| 316 | exact ⟨K, hK, fun j hj m => hb j m hj⟩ |
| 317 | |
| 318 | /-- The scalar threshold estimate now applies to the actual differentiated |
| 319 | product. Outside the threshold its jets vanish, including at the boundary. -/ |
| 320 | theorem cut_product_bound_of_threshold {U S : Set E} (hU : IsOpen U) (hSU : S ⊆ U) |
| 321 | {q : E → ℝ} (hq : ContDiffOn ℝ ∞ q U) (hpos : ∀ x ∈ S, 0 < q x) |
| 322 | {A : E → V} (hA : ContDiffOn ℝ ∞ A U) (m : ℕ) |
| 323 | {K P g L a ε : ℝ} (ha : 1 ≤ a) (hε : 0 ≤ ε) |
| 324 | (hcut : ∀ c, 0 ≤ c → ∀ x ∈ S, q x ≤ 1 → |
| 325 | ‖iteratedFDeriv ℝ m (fun y => SmoothCutoffs.scaledCutoff c (q y) • A y) x‖ ≤ |
| 326 | K * (1 + |Real.log (q x)|) ^ P * q x ^ (g - L)) |
| 327 | (hsmall : ∀ r : ℝ, 0 < r → r ≤ 1 / a → |
| 328 | |DiagonalScale.logPowerWeight K P (g / 2) r| ≤ ε) : |
| 329 | ∀ x ∈ S, |
| 330 | ‖iteratedFDeriv ℝ m (fun y => SmoothCutoffs.scaledCutoff a (q y) • A y) x‖ ≤ |
| 331 | ε * q x ^ (g / 2 - L) := by |
| 332 | intro x hx |
| 333 | have hqx := hpos x hx |
| 334 | have ha0 : 0 < a := zero_lt_one.trans_le ha |
| 335 | by_cases hqa : q x ≤ 1 / a |
| 336 | · have hq1 : q x ≤ 1 := hqa.trans (by |
| 337 | simpa only [div_one] using one_div_le_one_div_of_le zero_lt_one ha) |
| 338 | exact (hcut a ha0.le x hx hq1).trans ((le_abs_self _).trans |
| 339 | (DiagonalScale.absorb_logarithmic_weight K P g L (q x) ε hqx (hsmall _ hqx hqa))) |
| 340 | · have hprod : 1 ≤ a * q x := by |
| 341 | have hh := (div_le_iff₀ ha0).mp (lt_of_not_ge hqa).le |
| 342 | simpa only [mul_comm] using hh |
| 343 | rw [cut_product_jets_zero hU hq hA (hSU hx) a hprod m, norm_zero] |
| 344 | exact mul_nonneg hε (Real.rpow_nonneg hqx.le _) |
| 345 | |
| 346 | /-- One numeric scale sequence controls every derivative budget `m ≤ j+2` |
| 347 | of every positive stage. The actual cut-stage estimate is proved from the |
| 348 | raw estimates and the coordinate estimates. -/ |
| 349 | theorem exists_diagonal_cut_bounds {U S : Set E} (hU : IsOpen U) (hSU : S ⊆ U) |
| 350 | {q : E → ℝ} (hq : ContDiffOn ℝ ∞ q U) (hpos : ∀ x ∈ S, 0 < q x) |
| 351 | (Bq : ℕ → ℝ) |
| 352 | (hBq : ∀ k x, x ∈ S → q x ≤ 1 → |
| 353 | ‖iteratedFDeriv ℝ k q x‖ ≤ Bq k * q x ^ (1 - (k : ℝ))) |
| 354 | {A : ℕ → E → V} (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) |
| 355 | (g L : ℕ → ℝ) (C p : ℕ → ℕ → ℝ) |
| 356 | (hraw : RawStageBounds q A g L C p S) (hg : ∀ j, 1 ≤ j → 0 < g j) (lower : ℕ) : |
| 357 | ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ |
| 358 | (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ |
| 359 | Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ |
| 360 | DiagonalJetBounds.CutStageBounds (fun j => (a j : ℝ)) q A |
| 361 | (fun j => g j / 2) (cutLoss L) S := by |
| 362 | obtain ⟨K, hK, hb⟩ := exists_cut_stage_constants hU hSU hq hpos Bq hBq hA g L C p hraw |
| 363 | obtain ⟨a, halower, hapos, hadouble, hamono, _, hasmall⟩ := |
| 364 | DiagonalScale.exists_diagonal_scales K (cutLog p) g hg lower |
| 365 | refine ⟨a, halower, hapos, hadouble, hamono, SolenoidalDiagonal.realScales_tendsto hamono, ?_⟩ |
| 366 | intro j hj m hm x hx |
| 367 | exact cut_product_bound_of_threshold hU hSU hq hpos (hA j hj) m |
| 368 | (by exact_mod_cast hapos j) (by positivity) (hb j hj m) (hasmall j hj m hm) x hx |
| 369 | |
| 370 | section FiniteFamilies |
| 371 | |
| 372 | variable {ι : Type*} [Fintype ι] {W : ι → Type*} |
| 373 | [∀ i, NormedAddCommGroup (W i)] [∀ i, NormedSpace ℝ (W i)] |
| 374 | |
| 375 | /-- A single doubling schedule for a finite heterogeneous family, such as |
| 376 | Cartesian stream potentials, direct angular fields, and scalar pressures. |
| 377 | The cutoff is applied directly to every component; no extra derivative is |
| 378 | introduced for components that are already velocity fields. -/ |
| 379 | theorem exists_finite_diagonal_cut_bounds {U S : Set E} (hU : IsOpen U) (hSU : S ⊆ U) |
| 380 | {q : E → ℝ} (hq : ContDiffOn ℝ ∞ q U) (hpos : ∀ x ∈ S, 0 < q x) |
| 381 | (Bq : ℕ → ℝ) |
| 382 | (hBq : ∀ k x, x ∈ S → q x ≤ 1 → |
| 383 | ‖iteratedFDeriv ℝ k q x‖ ≤ Bq k * q x ^ (1 - (k : ℝ))) |
| 384 | {A : ∀ i, ℕ → E → W i} (hA : ∀ i j, 1 ≤ j → ContDiffOn ℝ ∞ (A i j) U) |
| 385 | (g L : ℕ → ℝ) (C p : ι → ℕ → ℕ → ℝ) |
| 386 | (hraw : ∀ i, RawStageBounds q (A i) g L (C i) (p i) S) |
| 387 | (hg : ∀ j, 1 ≤ j → 0 < g j) (lower : ℕ) : |
| 388 | ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ |
| 389 | (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ |
| 390 | Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ |
| 391 | ∀ i, DiagonalJetBounds.CutStageBounds (fun j => (a j : ℝ)) q (A i) |
| 392 | (fun j => g j / 2) (cutLoss L) S := by |
| 393 | classical |
| 394 | choose K hK hb using fun i => |
| 395 | exists_cut_stage_constants hU hSU hq hpos Bq hBq (hA i) g L (C i) (p i) (hraw i) |
| 396 | let Kall : ℕ → ℕ → ℝ := fun j m => 1 + ∑ i, |K i j m| |
| 397 | let Pall : ℕ → ℕ → ℝ := fun j m => 1 + ∑ i, |cutLog (p i) j m| |
| 398 | have hKall : ∀ j m, 0 < Kall j m := by |
| 399 | intro j m |
| 400 | have := Finset.sum_nonneg (fun i (_ : i ∈ Finset.univ) => abs_nonneg (K i j m)) |
| 401 | dsimp only [Kall] |
| 402 | linarith |
| 403 | have hKle : ∀ i j m, K i j m ≤ Kall j m := by |
| 404 | intro i j m |
| 405 | exact (le_abs_self _).trans ((Finset.single_le_sum (fun i _ => abs_nonneg (K i j m)) |
| 406 | (Finset.mem_univ i)).trans (le_add_of_nonneg_left zero_le_one)) |
| 407 | have hPle : ∀ i j m, cutLog (p i) j m ≤ Pall j m := by |
| 408 | intro i j m |
| 409 | exact (le_abs_self _).trans ((Finset.single_le_sum |
| 410 | (fun i _ => abs_nonneg (cutLog (p i) j m)) (Finset.mem_univ i)).trans |
| 411 | (le_add_of_nonneg_left zero_le_one)) |
| 412 | obtain ⟨a, halower, hapos, hadouble, hamono, _, hasmall⟩ := |
| 413 | DiagonalScale.exists_diagonal_scales Kall Pall g hg lower |
| 414 | refine ⟨a, halower, hapos, hadouble, hamono, SolenoidalDiagonal.realScales_tendsto hamono, ?_⟩ |
| 415 | intro i j hj m hm x hx |
| 416 | apply cut_product_bound_of_threshold hU hSU hq hpos (hA i j hj) m |
| 417 | (by exact_mod_cast hapos j) (by positivity) (K := Kall j m) (P := Pall j m) |
| 418 | (g := g j) (L := cutLoss L m) ?_ (hasmall j hj m hm) x hx |
| 419 | intro c hc y hy hq1 |
| 420 | apply (hb i j hj m c hc y hy hq1).trans |
| 421 | have hlog : 1 ≤ 1 + |Real.log (q y)| := le_add_of_nonneg_right (abs_nonneg _) |
| 422 | apply mul_le_mul_of_nonneg_right _ (Real.rpow_nonneg (hpos y hy).le _) |
| 423 | calc |
| 424 | _ ≤ Kall j m * (1 + |Real.log (q y)|) ^ (cutLog (p i) j m) := |
| 425 | mul_le_mul_of_nonneg_right (hKle i j m) (Real.rpow_nonneg (by positivity) _) |
| 426 | _ ≤ _ := mul_le_mul_of_nonneg_left |
| 427 | (Real.rpow_le_rpow_of_exponent_le hlog (hPle i j m)) (hKall j m).le |
| 428 | |
| 429 | end FiniteFamilies |
| 430 | |
| 431 | /-- Remove the unused zeroth correction without imposing any regularity |
| 432 | or decay hypothesis on the value supplied at that index. -/ |
| 433 | noncomputable def positiveStages (A : ℕ → E → V) (j : ℕ) (x : E) : V := |
| 434 | if j = 0 then 0 else A j x |
| 435 | |
| 436 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℝ V] in |
| 437 | @[simp] theorem positiveStages_zero (A : ℕ → E → V) : positiveStages A 0 = 0 := by |
| 438 | funext x |
| 439 | simp [positiveStages] |
| 440 | |
| 441 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℝ V] in |
| 442 | theorem positiveStages_of_pos {A : ℕ → E → V} {j : ℕ} (hj : 1 ≤ j) : |
| 443 | positiveStages A j = A j := by |
| 444 | funext x |
| 445 | simp only [positiveStages, ite_eq_right (by omega : j ≠ 0)] |
| 446 | |
| 447 | theorem positiveStages_smooth {U : Set E} {A : ℕ → E → V} |
| 448 | (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) (j : ℕ) : |
| 449 | ContDiffOn ℝ ∞ (positiveStages A j) U := by |
| 450 | by_cases hj : j = 0 |
| 451 | · rw [hj, positiveStages_zero] |
| 452 | exact contDiffOn_const |
| 453 | · rw [positiveStages_of_pos (by omega : 1 ≤ j)] |
| 454 | exact hA j (by omega) |
| 455 | |
| 456 | theorem positiveStages_cut_bounds {q : E → ℝ} {A : ℕ → E → V} |
| 457 | {a : ℕ → ℝ} {g L : ℕ → ℝ} {S : Set E} |
| 458 | (hb : DiagonalJetBounds.CutStageBounds a q A g L S) : |
| 459 | DiagonalJetBounds.CutStageBounds a q (positiveStages A) g L S := by |
| 460 | intro j hj m hm x hx |
| 461 | have he : SolenoidalDiagonal.cutStage a q (positiveStages A) j = |
| 462 | SolenoidalDiagonal.cutStage a q A j := by |
| 463 | funext y |
| 464 | simp only [SolenoidalDiagonal.cutStage, positiveStages_of_pos hj] |
| 465 | rw [he] |
| 466 | exact hb j hj m hm x hx |
| 467 | |
| 468 | /-- The selected positive-stage series is the actual locally finite sum |
| 469 | and is smooth on the full positive-coordinate domain. -/ |
| 470 | theorem positive_sum_smooth {U : Set E} (hU : IsOpen U) {q : E → ℝ} |
| 471 | (hq : ContDiffOn ℝ ∞ q U) (hpos : ∀ x ∈ U, 0 < q x) |
| 472 | {A : ℕ → E → V} (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) U) |
| 473 | {a : ℕ → ℕ} (ha : StrictMono a) : |
| 474 | ContDiffOn ℝ ∞ (SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) q |
| 475 | (positiveStages A)) U := |
| 476 | SolenoidalDiagonal.potentialSum_contDiffOn (SolenoidalDiagonal.realScales_tendsto ha) |
| 477 | hU hpos hq (positiveStages_smooth hA) |
| 478 | |
| 479 | omit [NormedSpace ℝ E] in |
| 480 | /-- Beyond strict cutoff support the product has a zero germ, regardless |
| 481 | of any arbitrary totalization of the raw field there. -/ |
| 482 | theorem cut_product_eventually_zero {q : E → ℝ} {x : E} (hq : ContinuousAt q x) |
| 483 | (A : E → V) (a : ℝ) (haq : 1 < a * q x) : |
| 484 | (fun y => SmoothCutoffs.scaledCutoff a (q y) • A y) =ᶠ[𝓝 x] (fun _ => 0) := by |
| 485 | have hc := (SmoothCutoffs.scaledCutoff_eventually_zero |
| 486 | (haq.trans_le (le_abs_self _))).comp_tendsto hq |
| 487 | filter_upwards [hc] with y hy |
| 488 | simp only [Function.comp_apply] at hy |
| 489 | simp only [hy, zero_smul] |
| 490 | |
| 491 | /-- Cutting strictly inside the valid `q`-domain gives an actual smooth |
| 492 | zero extension. Smoothness of the uncut totalization outside it is unused. -/ |
| 493 | theorem cut_product_smooth_of_sublevel {U : Set E} (hU : IsOpen U) |
| 494 | {q : E → ℝ} (hq : ContDiffOn ℝ ∞ q U) {A : E → V} {qbig a : ℝ} |
| 495 | (hA : ContDiffOn ℝ ∞ A (U ∩ {x | q x < qbig})) |
| 496 | (ha : 0 < a) (hgap : 1 < a * qbig) : |
| 497 | ContDiffOn ℝ ∞ (fun y => SmoothCutoffs.scaledCutoff a (q y) • A y) U := by |
| 498 | have hsmall : IsOpen (U ∩ {x | q x < qbig}) := |
| 499 | hq.continuousOn.isOpen_inter_preimage hU isOpen_Iio |
| 500 | intro x hx |
| 501 | have hqx := hq.contDiffAt (hU.mem_nhds hx) |
| 502 | by_cases hs : q x < qbig |
| 503 | · exact (((SmoothCutoffs.scaledCutoff_contDiff a).contDiffAt.comp x hqx).smul |
| 504 | (hA.contDiffAt (hsmall.mem_nhds ⟨hx, hs⟩))).contDiffWithinAt |
| 505 | · have hg := cut_product_eventually_zero hqx.continuousAt A a |
| 506 | (hgap.trans_le (mul_le_mul_of_nonneg_left (le_of_not_gt hs) ha.le)) |
| 507 | exact (contDiffAt_const.congr_of_eventuallyEq hg).contDiffWithinAt |
| 508 | |
| 509 | end General |
| 510 | |
| 511 | section PhysicalCoordinate |
| 512 | |
| 513 | open ProblemStatement |
| 514 | |
| 515 | /-- `q` is independent of the radial coordinate. Using this linear map |
| 516 | avoids charging spurious derivatives of the squared physical radius. -/ |
| 517 | noncomputable def physicalProjection : SpaceTime →L[ℝ] PhysicalCoordinateBounds.Point := |
| 518 | (ContinuousLinearMap.fst ℝ ℝ Space).prod |
| 519 | ((0 : SpaceTime →L[ℝ] ℝ).prod |
| 520 | ((EuclideanSpace.proj (2 : Fin 3) : Space →L[ℝ] ℝ).comp |
| 521 | (ContinuousLinearMap.snd ℝ ℝ Space))) |
| 522 | |
| 523 | @[simp] theorem physicalProjection_apply (w : SpaceTime) : |
| 524 | physicalProjection w = (w.1, (0, w.2 2)) := rfl |
| 525 | |
| 526 | theorem physicalQ_linear_composition (h : ℝ) : |
| 527 | PhysicalWaveSum.physicalQ h = |
| 528 | PhysicalCoordinateBounds.physicalQ (2 * h) ∘ physicalProjection := rfl |
| 529 | |
| 530 | /-- The actual Cartesian implicit similarity coordinate has one power of |
| 531 | loss per derivative. No bound on the physical radius is required. -/ |
| 532 | theorem physicalQ_jet_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (m : ℕ) : |
| 533 | ∃ C : ℝ, 0 < C ∧ ∀ w ∈ PhysicalWaveSum.preterminal, |
| 534 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 535 | ‖iteratedFDeriv ℝ m (PhysicalWaveSum.physicalQ h) w‖ ≤ |
| 536 | C * PhysicalWaveSum.physicalQ h w ^ (1 - (m : ℝ)) := by |
| 537 | have ha : 0 < 2 * h := by positivity |
| 538 | have ha1 : 2 * h < 1 := by linarith |
| 539 | obtain ⟨C, hC, hb⟩ := PhysicalCoordinateBounds.physical_q_derivative_bound ha ha1 0 0 1 m |
| 540 | refine ⟨C * (‖physicalProjection‖ + 1) ^ m, by positivity, ?_⟩ |
| 541 | intro w hw hq1 |
| 542 | have hU : IsOpen {p : PhysicalCoordinateBounds.Point | p.1 < 1} := |
| 543 | isOpen_lt continuous_fst continuous_const |
| 544 | have hq : ContDiffOn ℝ ∞ (PhysicalCoordinateBounds.physicalQ (2 * h)) |
| 545 | {p : PhysicalCoordinateBounds.Point | p.1 < 1} := |
| 546 | fun p hp => (PhysicalCoordinateBounds.physicalQ_contDiffAt ha ha1 hp).contDiffWithinAt |
| 547 | have hlin := PhysicalGraphBounds.norm_jet_comp_linear hU hq physicalProjection |
| 548 | (x := w) hw m |
| 549 | rw [← physicalQ_linear_composition] at hlin |
| 550 | have hzero : PhysicalCoordinateBounds.physicalX (2 * h) (physicalProjection w) ∈ Icc 0 0 := by |
| 551 | simp only [PhysicalCoordinateBounds.physicalX, Function.comp_apply, |
| 552 | PhysicalCoordinateBounds.xCoord, PhysicalCoordinateBounds.timeShift, |
| 553 | physicalProjection_apply, zero_div, mem_Icc, le_refl, and_self] |
| 554 | have hqb := hb (physicalProjection w) hw hq1 hzero |
| 555 | have hpow : ‖physicalProjection‖ ^ m ≤ (‖physicalProjection‖ + 1) ^ m := |
| 556 | pow_le_pow_left₀ (norm_nonneg _) (le_add_of_nonneg_right zero_le_one) m |
| 557 | have hpos := PhysicalWaveSum.physicalQ_pos hh hh1 hw |
| 558 | calc |
| 559 | _ ≤ ‖iteratedFDeriv ℝ m (PhysicalCoordinateBounds.physicalQ (2 * h)) |
| 560 | (physicalProjection w)‖ * ‖physicalProjection‖ ^ m := hlin |
| 561 | _ ≤ (C * PhysicalWaveSum.physicalQ h w ^ (1 - (m : ℝ))) * |
| 562 | (‖physicalProjection‖ + 1) ^ m := |
| 563 | mul_le_mul hqb hpow (pow_nonneg (norm_nonneg _) _) (by positivity) |
| 564 | _ = _ := by ring |
| 565 | |
| 566 | theorem physical_cutoff_jet_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (m : ℕ) : |
| 567 | ∃ C : ℝ, 0 < C ∧ ∀ a : ℝ, 0 ≤ a → ∀ w ∈ PhysicalWaveSum.preterminal, |
| 568 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 569 | ‖iteratedFDeriv ℝ m |
| 570 | (fun z => SmoothCutoffs.scaledCutoff a (PhysicalWaveSum.physicalQ h z)) w‖ ≤ |
| 571 | C * PhysicalWaveSum.physicalQ h w ^ (-(m : ℝ)) := by |
| 572 | choose B hB hb using physicalQ_jet_bound hh hh1 |
| 573 | obtain ⟨C, hC, hc⟩ := cutoff_jet_bound PhysicalWaveSum.preterminal_open |
| 574 | (S := PhysicalWaveSum.preterminal ∩ {w | PhysicalWaveSum.physicalQ h w ≤ 1}) |
| 575 | (fun _ hw => hw.1) |
| 576 | (fun w hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).contDiffWithinAt) |
| 577 | (fun w hw => PhysicalWaveSum.physicalQ_pos hh hh1 hw.1) B |
| 578 | (fun k w hw => hb k w hw.1 hw.2) m |
| 579 | exact ⟨C, hC, fun a ha w hw hq1 => hc a ha w ⟨hw, hq1⟩⟩ |
| 580 | |
| 581 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 582 | |
| 583 | /-- Actual physical cutoff stages and their single selected schedule. |
| 584 | The only stage estimate premise concerns uncut physical derivatives. -/ |
| 585 | theorem exists_physical_diagonal_cut_bounds {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 586 | {S : Set SpaceTime} (hS : S ⊆ PhysicalWaveSum.preterminal) |
| 587 | {A : ℕ → SpaceTime → V} |
| 588 | (hA : ∀ j, 1 ≤ j → ContDiffOn ℝ ∞ (A j) PhysicalWaveSum.preterminal) |
| 589 | (g L : ℕ → ℝ) (C p : ℕ → ℕ → ℝ) |
| 590 | (hraw : RawStageBounds (PhysicalWaveSum.physicalQ h) A g L C p S) |
| 591 | (hg : ∀ j, 1 ≤ j → 0 < g j) (lower : ℕ) : |
| 592 | ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ |
| 593 | (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ |
| 594 | Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ |
| 595 | DiagonalJetBounds.CutStageBounds (fun j => (a j : ℝ)) |
| 596 | (PhysicalWaveSum.physicalQ h) A (fun j => g j / 2) (cutLoss L) S := by |
| 597 | choose B hB hb using physicalQ_jet_bound hh hh1 |
| 598 | exact exists_diagonal_cut_bounds PhysicalWaveSum.preterminal_open hS |
| 599 | (fun w hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).contDiffWithinAt) |
| 600 | (fun w hw => PhysicalWaveSum.physicalQ_pos hh hh1 (hS hw)) B |
| 601 | (fun k w hw hq1 => hb k w (hS hw) hq1) hA g L C p hraw hg lower |
| 602 | |
| 603 | variable {ι : Type*} [Fintype ι] {W : ι → Type*} |
| 604 | [∀ i, NormedAddCommGroup (W i)] [∀ i, NormedSpace ℝ (W i)] |
| 605 | |
| 606 | /-- The same actual implicit coordinate and one unchanged schedule for all |
| 607 | finite stream, direct-field, and pressure components. -/ |
| 608 | theorem exists_physical_finite_diagonal_cut_bounds {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 609 | {S : Set SpaceTime} (hS : S ⊆ PhysicalWaveSum.preterminal) |
| 610 | {A : ∀ i, ℕ → SpaceTime → W i} |
| 611 | (hA : ∀ i j, 1 ≤ j → ContDiffOn ℝ ∞ (A i j) PhysicalWaveSum.preterminal) |
| 612 | (g L : ℕ → ℝ) (C p : ι → ℕ → ℕ → ℝ) |
| 613 | (hraw : ∀ i, RawStageBounds (PhysicalWaveSum.physicalQ h) (A i) g L (C i) (p i) S) |
| 614 | (hg : ∀ j, 1 ≤ j → 0 < g j) (lower : ℕ) : |
| 615 | ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ |
| 616 | (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ |
| 617 | Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ |
| 618 | ∀ i, DiagonalJetBounds.CutStageBounds (fun j => (a j : ℝ)) |
| 619 | (PhysicalWaveSum.physicalQ h) (A i) (fun j => g j / 2) (cutLoss L) S := by |
| 620 | choose B hB hb using physicalQ_jet_bound hh hh1 |
| 621 | exact exists_finite_diagonal_cut_bounds PhysicalWaveSum.preterminal_open hS |
| 622 | (fun w hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).contDiffWithinAt) |
| 623 | (fun w hw => PhysicalWaveSum.physicalQ_pos hh hh1 (hS hw)) B |
| 624 | (fun k w hw hq1 => hb k w (hS hw) hq1) hA g L C p hraw hg lower |
| 625 | |
| 626 | /-- The common case supplied by physical-copy estimates: the uncut bounds |
| 627 | have no logarithmic factor and their constants are existential. The same |
| 628 | constructed sequence controls all positive components and gives smooth |
| 629 | actual sums on the entire preterminal spacetime domain. -/ |
| 630 | theorem exists_physical_positive_sums_of_power {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 631 | {S : Set SpaceTime} (hS : S ⊆ PhysicalWaveSum.preterminal) |
| 632 | {A : ∀ i, ℕ → SpaceTime → W i} |
| 633 | (hA : ∀ i j, 1 ≤ j → ContDiffOn ℝ ∞ (A i j) PhysicalWaveSum.preterminal) |
| 634 | (g L : ℕ → ℝ) |
| 635 | (hraw : ∀ i j, 1 ≤ j → ∀ m, ∃ C : ℝ, ∀ w ∈ S, |
| 636 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 637 | ‖iteratedFDeriv ℝ m (A i j) w‖ ≤ |
| 638 | C * PhysicalWaveSum.physicalQ h w ^ (g j - L m)) |
| 639 | (hg : ∀ j, 1 ≤ j → 0 < g j) (lower : ℕ) : |
| 640 | ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ |
| 641 | (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ |
| 642 | Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ |
| 643 | ∀ i, DiagonalJetBounds.CutStageBounds (fun j => (a j : ℝ)) |
| 644 | (PhysicalWaveSum.physicalQ h) (positiveStages (A i)) |
| 645 | (fun j => g j / 2) (cutLoss L) S ∧ |
| 646 | ContDiffOn ℝ ∞ |
| 647 | (SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) |
| 648 | (PhysicalWaveSum.physicalQ h) (positiveStages (A i))) PhysicalWaveSum.preterminal := by |
| 649 | have hex : ∀ i j m, ∃ C : ℝ, 1 ≤ j → ∀ w ∈ S, |
| 650 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 651 | ‖iteratedFDeriv ℝ m (A i j) w‖ ≤ |
| 652 | C * PhysicalWaveSum.physicalQ h w ^ (g j - L m) := by |
| 653 | intro i j m |
| 654 | by_cases hj : 1 ≤ j |
| 655 | · obtain ⟨C, hb⟩ := hraw i j hj m |
| 656 | exact ⟨C, fun _ => hb⟩ |
| 657 | · exact ⟨0, fun hj' => False.elim (hj hj')⟩ |
| 658 | choose C hC using hex |
| 659 | have hb : ∀ i, RawStageBounds (PhysicalWaveSum.physicalQ h) (A i) g L (C i) |
| 660 | (fun _ _ => 0) S := by |
| 661 | intro i j hj m w hw hq1 |
| 662 | simpa only [Real.rpow_zero, mul_one] using hC i j m hj w hw hq1 |
| 663 | obtain ⟨a, halower, hapos, hadouble, hamono, hatop, hab⟩ := |
| 664 | exists_physical_finite_diagonal_cut_bounds hh hh1 hS hA g L C (fun _ _ _ => 0) hb hg lower |
| 665 | refine ⟨a, halower, hapos, hadouble, hamono, hatop, fun i => ?_⟩ |
| 666 | exact ⟨positiveStages_cut_bounds (hab i), |
| 667 | positive_sum_smooth PhysicalWaveSum.preterminal_open |
| 668 | (fun w hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).contDiffWithinAt) |
| 669 | (fun w hw => PhysicalWaveSum.physicalQ_pos hh hh1 hw) (hA i) hamono⟩ |
| 670 | |
| 671 | /-- The genuine open validity region for locally constructed raw stages. -/ |
| 672 | noncomputable def physicalSublevel (h qbig : ℝ) : Set SpaceTime := |
| 673 | PhysicalWaveSum.preterminal ∩ {w | PhysicalWaveSum.physicalQ h w < qbig} |
| 674 | |
| 675 | theorem physicalSublevel_open {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (qbig : ℝ) : |
| 676 | IsOpen (physicalSublevel h qbig) := by |
| 677 | have hc : ContDiffOn ℝ ∞ (PhysicalWaveSum.physicalQ h) PhysicalWaveSum.preterminal := |
| 678 | fun w hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).contDiffWithinAt |
| 679 | exact hc.continuousOn.isOpen_inter_preimage PhysicalWaveSum.preterminal_open isOpen_Iio |
| 680 | |
| 681 | /-- Local raw stages suffice. The initial scale is chosen so every support |
| 682 | lies strictly inside `q < qbig`; the same actual cut products then extend |
| 683 | smoothly by zero to all preterminal points. This is the support extension |
| 684 | used in the manuscript before diagonal summation. -/ |
| 685 | theorem exists_physical_local_diagonal_cut_bounds {h qbig : ℝ} |
| 686 | (hh : 0 < h) (hh1 : h < 1 / 2) (hqbig : 0 < qbig) |
| 687 | {S : Set SpaceTime} (hS : S ⊆ PhysicalWaveSum.preterminal) |
| 688 | {A : ∀ i, ℕ → SpaceTime → W i} |
| 689 | (hA : ∀ i j, 1 ≤ j → ContDiffOn ℝ ∞ (A i j) (physicalSublevel h qbig)) |
| 690 | (g L : ℕ → ℝ) (C p : ι → ℕ → ℕ → ℝ) |
| 691 | (hraw : ∀ i, RawStageBounds (PhysicalWaveSum.physicalQ h) (A i) g L (C i) (p i) |
| 692 | (S ∩ physicalSublevel h qbig)) |
| 693 | (hg : ∀ j, 1 ≤ j → 0 < g j) (lower : ℕ) : |
| 694 | ∃ a : ℕ → ℕ, lower ≤ a 0 ∧ (∀ j, 0 < a j) ∧ |
| 695 | (∀ j, 2 * a j ≤ a (j + 1)) ∧ StrictMono a ∧ |
| 696 | Tendsto (fun j => (a j : ℝ)) atTop atTop ∧ |
| 697 | (∀ j, 1 / (a j : ℝ) < qbig) ∧ |
| 698 | ∀ i, DiagonalJetBounds.CutStageBounds (fun j => (a j : ℝ)) |
| 699 | (PhysicalWaveSum.physicalQ h) (positiveStages (A i)) |
| 700 | (fun j => g j / 2) (cutLoss L) S ∧ |
| 701 | ContDiffOn ℝ ∞ |
| 702 | (SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) |
| 703 | (PhysicalWaveSum.physicalQ h) (positiveStages (A i))) PhysicalWaveSum.preterminal := by |
| 704 | have hq : ContDiffOn ℝ ∞ (PhysicalWaveSum.physicalQ h) PhysicalWaveSum.preterminal := |
| 705 | fun w hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).contDiffWithinAt |
| 706 | have hU := physicalSublevel_open hh hh1 qbig |
| 707 | choose B hB hb using physicalQ_jet_bound hh hh1 |
| 708 | obtain ⟨n, hn⟩ := exists_nat_one_div_lt hqbig |
| 709 | obtain ⟨a, halower, hapos, hadouble, hamono, hatop, hab⟩ := |
| 710 | exists_finite_diagonal_cut_bounds hU (S := S ∩ physicalSublevel h qbig) |
| 711 | (fun _ hw => hw.2) (hq.mono inter_subset_left) |
| 712 | (fun w hw => PhysicalWaveSum.physicalQ_pos hh hh1 hw.2.1) B |
| 713 | (fun k w hw hq1 => hb k w hw.2.1 hq1) hA g L C p hraw hg (max lower (n + 1)) |
| 714 | have hrecip : ∀ j, 1 / (a j : ℝ) < qbig := by |
| 715 | intro j |
| 716 | have haj : n + 1 ≤ a j := ((le_max_right lower (n + 1)).trans halower).trans |
| 717 | (hamono.monotone (Nat.zero_le j)) |
| 718 | have hle : 1 / (a j : ℝ) ≤ 1 / ((n + 1 : ℕ) : ℝ) := |
| 719 | one_div_le_one_div_of_le (by exact_mod_cast Nat.succ_pos n) (by exact_mod_cast haj) |
| 720 | exact hle.trans_lt (by simpa only [Nat.cast_add, Nat.cast_one] using hn) |
| 721 | have hgap : ∀ j, 1 < (a j : ℝ) * qbig := by |
| 722 | intro j |
| 723 | have hp : (0 : ℝ) < a j := by exact_mod_cast hapos j |
| 724 | simpa only [mul_comm] using (div_lt_iff₀ hp).mp (hrecip j) |
| 725 | refine ⟨a, (le_max_left lower (n + 1)).trans halower, hapos, hadouble, |
| 726 | hamono, hatop, hrecip, fun i => ⟨?_, ?_⟩⟩ |
| 727 | · intro j hj m hm w hw |
| 728 | by_cases hu : w ∈ physicalSublevel h qbig |
| 729 | · exact positiveStages_cut_bounds (hab i) j hj m hm w ⟨hw, hu⟩ |
| 730 | · have hlarge : qbig ≤ PhysicalWaveSum.physicalQ h w := |
| 731 | le_of_not_gt (fun hsmall => hu ⟨hS hw, hsmall⟩) |
| 732 | have hp : (0 : ℝ) < a j := by exact_mod_cast hapos j |
| 733 | have hz := cut_product_eventually_zero |
| 734 | (PhysicalWaveSum.physicalQ_smoothAt hh hh1 (hS hw)).continuousAt |
| 735 | (positiveStages (A i) j) (a j) |
| 736 | ((hgap j).trans_le (mul_le_mul_of_nonneg_left hlarge hp.le)) |
| 737 | have hjz := (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq hz m).self_of_nhds |
| 738 | change ‖iteratedFDeriv ℝ m |
| 739 | (fun z => SmoothCutoffs.scaledCutoff (a j) (PhysicalWaveSum.physicalQ h z) • |
| 740 | positiveStages (A i) j z) w‖ ≤ _ |
| 741 | rw [hjz, iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] |
| 742 | exact mul_nonneg (by positivity) |
| 743 | (Real.rpow_nonneg (PhysicalWaveSum.physicalQ_pos hh hh1 (hS hw)).le _) |
| 744 | · have hstage : ∀ j, ContDiffOn ℝ ∞ |
| 745 | (SolenoidalDiagonal.cutStage (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) |
| 746 | (positiveStages (A i)) j) PhysicalWaveSum.preterminal := by |
| 747 | intro j |
| 748 | exact cut_product_smooth_of_sublevel PhysicalWaveSum.preterminal_open hq |
| 749 | (positiveStages_smooth (hA i) j) |
| 750 | (by change (0 : ℝ) < (a j : ℝ); exact_mod_cast hapos j) (hgap j) |
| 751 | intro w hw |
| 752 | have hloc := SolenoidalDiagonal.eventually_zero_tail hatop |
| 753 | (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).continuousAt |
| 754 | (PhysicalWaveSum.physicalQ_pos hh hh1 hw) (positiveStages (A i)) |
| 755 | exact (DiagonalJetBounds.tsum_jet_identity hloc |
| 756 | (fun j => (hstage j).contDiffAt (PhysicalWaveSum.preterminal_open.mem_nhds hw))).1.contDiffWithinAt |
| 757 | |
| 758 | end PhysicalCoordinate |
| 759 | |
| 760 | end NavierStokes.CutStageEstimates |