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.LabelSumBounds |
| 2 | import NavierStokes.WeightedRadialPrimitive |
| 3 | import NavierStokes.LocalSignedRequest |
| 4 | import NavierStokes.SpatialCurl |
| 5 | |
| 6 | /-! |
| 7 | # Uniform weighted coefficients and physical wave sums |
| 8 | |
| 9 | The constants below are selected before the label and the band. The first |
| 10 | step absorbs the actual two flat edges, including every inverse-edge power. |
| 11 | Global smoothness and support then extend the estimate across the boundary. |
| 12 | The final passage uses genuine common-coordinate compositions and the |
| 13 | physical carrier estimates of `PhysicalWaveSum`. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace NavierStokes.PhysicalClassBounds |
| 19 | |
| 20 | open Set Function Filter WeightedClasses LabelSumBounds |
| 21 | open scoped Topology ContDiff BigOperators |
| 22 | |
| 23 | |
| 24 | private theorem nat_le_infty (m : ℕ) : (m : WithTop ℕ∞) ≤ ∞ := |
| 25 | ENat.natCast_le_of_coe_top_le_withTop le_rfl m |
| 26 | |
| 27 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 28 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 29 | variable {ι : Type*} |
| 30 | |
| 31 | /-- Explicit fixed flat-edge geometry, pulled back through any radial |
| 32 | coordinate. This is an equality of the weights, not a bound on them. -/ |
| 33 | structure FlatGeometry (s : StripData D) (cL cR L : ℝ) (ρ : D → ℝ) : Prop where |
| 34 | left_pos : 0 < cL |
| 35 | right_pos : 0 < cR |
| 36 | position : ∀ x ∈ s.domain, ρ x ∈ Ioo 0 L |
| 37 | delta_eq : ∀ x ∈ s.domain, s.delta x = WeightedRadialPrimitive.delta L (ρ x) |
| 38 | zeta_eq : ∀ x ∈ s.domain, s.zeta x = WeightedRadialPrimitive.zeta cL cR L (ρ x) |
| 39 | |
| 40 | theorem edge_rpow {x : ℝ} (hx : 0 < x) (a c : ℝ) : |
| 41 | FlatCutoff.edge a x ^ c = FlatCutoff.edge (c * a) x := by |
| 42 | rw [FlatCutoff.edge_of_pos a hx, FlatCutoff.edge_of_pos (c * a) hx, |
| 43 | ← Real.exp_mul] |
| 44 | congr 1 |
| 45 | ring |
| 46 | |
| 47 | theorem zeta_rpow {L x : ℝ} (hx : x ∈ Ioo 0 L) (cL cR c : ℝ) : |
| 48 | WeightedRadialPrimitive.zeta cL cR L x ^ c = WeightedRadialPrimitive.zeta (c * cL) (c * cR) L x := by |
| 49 | rw [WeightedRadialPrimitive.zeta, Real.mul_rpow (FlatCutoff.edge_nonneg _ _) |
| 50 | (FlatCutoff.edge_nonneg _ _), edge_rpow hx.1, |
| 51 | edge_rpow (sub_pos.mpr hx.2), WeightedRadialPrimitive.zeta] |
| 52 | |
| 53 | /-- Exponential flatness absorbs any fixed inverse-edge power, uniformly |
| 54 | at both endpoints and for every positive fractional power of the weight. -/ |
| 55 | theorem flat_edge_uniform {cL cR c : ℝ} (hcL : 0 < cL) (hcR : 0 < cR) |
| 56 | (hc : 0 < c) (L : ℝ) (m : ℕ) : |
| 57 | ∃ K : ℝ, 0 ≤ K ∧ ∀ x ∈ Ioo (0 : ℝ) L, |
| 58 | (max 1 (WeightedRadialPrimitive.delta L x)⁻¹) ^ m * WeightedRadialPrimitive.zeta cL cR L x ^ c ≤ K := by |
| 59 | obtain ⟨K, hK, hb⟩ := WeightedRadialPrimitive.weight_uniform_bound (mul_pos hc hcL) (mul_pos hc hcR) L m |
| 60 | refine ⟨K, hK, ?_⟩ |
| 61 | intro x hx |
| 62 | have hd : 1 ≤ (WeightedRadialPrimitive.delta L x)⁻¹ := |
| 63 | (one_le_inv₀ (WeightedRadialPrimitive.delta_pos hx)).mpr (WeightedRadialPrimitive.delta_le_one L x) |
| 64 | rw [max_eq_right hd, zeta_rpow hx] |
| 65 | simpa only [WeightedRadialPrimitive.weight, div_eq_mul_inv, inv_pow, mul_comm] using hb x hx |
| 66 | |
| 67 | theorem FlatGeometry.uniform {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} |
| 68 | (hg : FlatGeometry s cL cR L ρ) {c : ℝ} (hc : 0 < c) (m : ℕ) : |
| 69 | ∃ K : ℝ, 0 ≤ K ∧ ∀ x ∈ s.domain, |
| 70 | (max 1 (s.delta x)⁻¹) ^ m * s.zeta x ^ c ≤ K := by |
| 71 | obtain ⟨K, hK, hb⟩ := flat_edge_uniform hg.left_pos hg.right_pos hc L m |
| 72 | refine ⟨K, hK, fun x hx => ?_⟩ |
| 73 | rw [hg.delta_eq x hx, hg.zeta_eq x hx] |
| 74 | exact hb (ρ x) (hg.position x hx) |
| 75 | |
| 76 | theorem logStrip_flatGeometry {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 77 | {a b cL cR : ℝ} (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 78 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) |
| 79 | (hS : ∀ n, 1 ≤ S n) : |
| 80 | FlatGeometry (WeightedRadialPrimitive.logStripData (E := V) a b cL cR ha hcL hcR ε S hε hεone hS) |
| 81 | cL cR (WeightedRadialPrimitive.logLength a b) (fun x => WeightedRadialPrimitive.logPosition a x.1) := |
| 82 | ⟨hcL, hcR, fun _ hx => WeightedRadialPrimitive.logPosition_mem ha hx, fun _ _ => rfl, fun _ _ => rfl⟩ |
| 83 | |
| 84 | theorem movingStrip_flatGeometry {coord : ℝ} (U : LocalSignedRequest.SlowRegion coord) |
| 85 | {a b cL cR : ℝ} (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 86 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) |
| 87 | (hS : ∀ n, 1 ≤ S n) : |
| 88 | FlatGeometry (LocalSignedRequest.movingStripData U a b cL cR ha hcL hcR ε S hε hεone hS) |
| 89 | cL cR (WeightedRadialPrimitive.logLength a b) |
| 90 | (fun x => WeightedRadialPrimitive.logPosition a (LocalSignedRequest.profileMap coord x).1) := by |
| 91 | refine ⟨hcL, hcR, ?_, fun _ _ => rfl, fun _ _ => rfl⟩ |
| 92 | intro x hx |
| 93 | exact WeightedRadialPrimitive.logPosition_mem ha |
| 94 | ((LocalSignedRequest.movingStrip_domain U a b cL cR ha hcL hcR ε S hε hεone hS x).mp hx).2 |
| 95 | |
| 96 | /-- Remove the edge growth from an actual uniform coefficient class. The |
| 97 | input envelope may depend on the label and band; its domination is uniform. -/ |
| 98 | theorem UniformClass.edge_absorbed {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} |
| 99 | (hg : FlatGeometry s cL cR L ρ) {c α : ℝ} (hc : 0 < c) |
| 100 | {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} |
| 101 | (hf : UniformClass s w α f) |
| 102 | (hw : ∀ l n x, x ∈ s.domain → w l n x ≤ s.zeta x ^ c) (m : ℕ) : |
| 103 | ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ l n x, x ∈ s.domain → ∀ j ≤ m, |
| 104 | ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ A * s.epsilon n ^ α * s.slow n ^ p := by |
| 105 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 106 | obtain ⟨K, hK, hKx⟩ := hg.uniform hc p |
| 107 | refine ⟨C * K, mul_nonneg hC hK, p, ?_⟩ |
| 108 | intro l n x hx j hj |
| 109 | have he : 0 ≤ s.epsilon n ^ α := (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le |
| 110 | have hs : 0 ≤ s.slow n ^ p := pow_nonneg (zero_le_one.trans (s.one_le_slow n)) _ |
| 111 | calc |
| 112 | _ ≤ majorant s (w l) α C p n x := hb l n x hx j hj |
| 113 | _ ≤ C * s.epsilon n ^ α * s.growth n x ^ p * s.zeta x ^ c := |
| 114 | mul_le_mul_of_nonneg_left (hw l n x hx) |
| 115 | (mul_nonneg (mul_nonneg hC he) (pow_nonneg (s.growth_nonneg n x) _)) |
| 116 | _ = (C * s.epsilon n ^ α * s.slow n ^ p) * |
| 117 | ((max 1 (s.delta x)⁻¹) ^ p * s.zeta x ^ c) := by |
| 118 | rw [StripData.growth, mul_pow] |
| 119 | ring |
| 120 | _ ≤ (C * s.epsilon n ^ α * s.slow n ^ p) * K := |
| 121 | mul_le_mul_of_nonneg_left (hKx x hx) (mul_nonneg (mul_nonneg hC he) hs) |
| 122 | _ = _ := by ring |
| 123 | |
| 124 | /-- The support boundary is included by continuity of the actual jets. |
| 125 | Outside it all jets vanish, because there is an actual zero neighborhood. -/ |
| 126 | theorem jets_bound_global_of_support {f : D → E} {U : Set D} {B : ℝ} |
| 127 | (hf : ContDiff ℝ ∞ f) (hB : 0 ≤ B) (hs : tsupport f ⊆ closure U) |
| 128 | (m : ℕ) (hb : ∀ x ∈ U, ‖iteratedFDeriv ℝ m f x‖ ≤ B) : |
| 129 | ∀ x, ‖iteratedFDeriv ℝ m f x‖ ≤ B := by |
| 130 | intro x |
| 131 | by_cases hx : x ∈ closure U |
| 132 | · exact (closure_minimal hb (isClosed_le |
| 133 | (hf.continuous_iteratedFDeriv (nat_le_infty m)).norm continuous_const)) hx |
| 134 | · rw [PhysicalWaveSum.jet_zero_off_tsupport f m (fun ht => hx (hs ht)), norm_zero] |
| 135 | exact hB |
| 136 | |
| 137 | omit [NormedSpace ℝ D] [NormedSpace ℝ E] in |
| 138 | theorem tsupport_subset_closure_of_zero {f : D → E} {U : Set D} |
| 139 | (hf : ∀ x, x ∉ closure U → f x = 0) : tsupport f ⊆ closure U := by |
| 140 | apply closure_minimal _ isClosed_closure |
| 141 | intro x hx |
| 142 | by_contra hn |
| 143 | exact hx (hf x hn) |
| 144 | |
| 145 | theorem UniformClass.edge_absorbed_global {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} |
| 146 | (hg : FlatGeometry s cL cR L ρ) {c α : ℝ} (hc : 0 < c) |
| 147 | {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} |
| 148 | (hf : UniformClass s w α f) |
| 149 | (hw : ∀ l n x, x ∈ s.domain → w l n x ≤ s.zeta x ^ c) |
| 150 | (hfc : ∀ l n, ContDiff ℝ ∞ (f l n)) |
| 151 | (hs : ∀ l n, tsupport (f l n) ⊆ closure s.domain) (m : ℕ) : |
| 152 | ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ l n x, ∀ j ≤ m, |
| 153 | ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ A * s.epsilon n ^ α * s.slow n ^ p := by |
| 154 | obtain ⟨A, hA, p, hb⟩ := UniformClass.edge_absorbed hg hc hf hw m |
| 155 | refine ⟨A, hA, p, ?_⟩ |
| 156 | intro l n x j hj |
| 157 | have hp : 0 ≤ A * s.epsilon n ^ α * s.slow n ^ p := |
| 158 | mul_nonneg (mul_nonneg hA (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le) |
| 159 | (pow_nonneg (zero_le_one.trans (s.one_le_slow n)) _) |
| 160 | apply jets_bound_global_of_support (hfc l n) hp (hs l n) j |
| 161 | (fun y hy => hb l n y hy j hj) x |
| 162 | |
| 163 | /-- Conversion to physical band powers is exact; no exponent is lost when |
| 164 | the two flat edges are removed. -/ |
| 165 | theorem UniformClass.chart_bound {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} |
| 166 | (hg : FlatGeometry s cL cR L ρ) {c α h K : ℝ} {q : ℕ} |
| 167 | (hc : 0 < c) (hK : 1 ≤ K) |
| 168 | (hε : ∀ n, s.epsilon n = ChartScales.epsilon h n) |
| 169 | (hslow : ∀ n, 4 ≤ n → s.slow n ≤ K * ChartScales.S n ^ q) |
| 170 | {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} |
| 171 | (hf : UniformClass s w α f) |
| 172 | (hw : ∀ l n x, x ∈ s.domain → w l n x ≤ s.zeta x ^ c) |
| 173 | (hfc : ∀ l n, ContDiff ℝ ∞ (f l n)) |
| 174 | (hs : ∀ l n, tsupport (f l n) ⊆ closure s.domain) (m : ℕ) : |
| 175 | ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ x, ∀ j ≤ m, |
| 176 | ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ |
| 177 | A * ChartScales.Q n ^ (h * α) * ChartScales.S n ^ p := by |
| 178 | obtain ⟨A, hA, p, hb⟩ := UniformClass.edge_absorbed_global hg hc hf hw hfc hs m |
| 179 | refine ⟨A * K ^ p, mul_nonneg hA (pow_nonneg (zero_le_one.trans hK) _), q * p, ?_⟩ |
| 180 | intro l n hn x j hj |
| 181 | have he : s.epsilon n ^ α = ChartScales.Q n ^ (h * α) := by |
| 182 | rw [hε, ChartScales.epsilon, ← Real.rpow_mul (ChartScales.Q_pos n).le] |
| 183 | calc |
| 184 | _ ≤ A * s.epsilon n ^ α * s.slow n ^ p := hb l n x j hj |
| 185 | _ ≤ A * s.epsilon n ^ α * (K * ChartScales.S n ^ q) ^ p := |
| 186 | mul_le_mul_of_nonneg_left |
| 187 | (pow_le_pow_left₀ (zero_le_one.trans (s.one_le_slow n)) (hslow n hn) p) |
| 188 | (mul_nonneg hA (Real.rpow_pos_of_pos (s.epsilon_pos n) α).le) |
| 189 | _ = _ := by rw [he, mul_pow, ← pow_mul]; ring |
| 190 | |
| 191 | theorem waveWeight_le {s : StripData D} {P : ι → ℕ → D → ℝ} |
| 192 | (hP : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) : |
| 193 | ∀ l n x, x ∈ s.domain → Real.sqrt (s.zeta x) * P l n x ≤ s.zeta x ^ (1 / 2 : ℝ) := by |
| 194 | intro l n x hx |
| 195 | rw [← Real.sqrt_eq_rpow] |
| 196 | exact mul_le_of_le_one_right (Real.sqrt_nonneg _) (hP l n x hx) |
| 197 | |
| 198 | theorem UniformWaveClass.chart_bound {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} |
| 199 | (hg : FlatGeometry s cL cR L ρ) {α h K : ℝ} {q : ℕ} (hK : 1 ≤ K) |
| 200 | (hε : ∀ n, s.epsilon n = ChartScales.epsilon h n) |
| 201 | (hslow : ∀ n, 4 ≤ n → s.slow n ≤ K * ChartScales.S n ^ q) |
| 202 | {P : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} |
| 203 | (hf : UniformWaveClass s P α f) |
| 204 | (hP : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) |
| 205 | (hfc : ∀ l n, ContDiff ℝ ∞ (f l n)) |
| 206 | (hs : ∀ l n, tsupport (f l n) ⊆ closure s.domain) (m : ℕ) : |
| 207 | ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ x, ∀ j ≤ m, |
| 208 | ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ |
| 209 | A * ChartScales.Q n ^ (h * α) * ChartScales.S n ^ p := |
| 210 | UniformClass.chart_bound hg (by norm_num : (0 : ℝ) < 1 / 2) hK hε hslow hf |
| 211 | (waveWeight_le hP) hfc hs m |
| 212 | |
| 213 | theorem UniformMeanClass.chart_bound {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} |
| 214 | (hg : FlatGeometry s cL cR L ρ) {α h K : ℝ} {q : ℕ} (hK : 1 ≤ K) |
| 215 | (hε : ∀ n, s.epsilon n = ChartScales.epsilon h n) |
| 216 | (hslow : ∀ n, 4 ≤ n → s.slow n ≤ K * ChartScales.S n ^ q) |
| 217 | {f : ι → ℕ → D → E} (hf : UniformMeanClass s α f) |
| 218 | (hfc : ∀ l n, ContDiff ℝ ∞ (f l n)) |
| 219 | (hs : ∀ l n, tsupport (f l n) ⊆ closure s.domain) (m : ℕ) : |
| 220 | ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ x, ∀ j ≤ m, |
| 221 | ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ |
| 222 | A * ChartScales.Q n ^ (h * α) * ChartScales.S n ^ p := |
| 223 | UniformClass.chart_bound hg (by norm_num : (0 : ℝ) < 1) hK hε hslow hf |
| 224 | (by intro l n x hx; rw [Real.rpow_one]) hfc hs m |
| 225 | |
| 226 | /-- Primitive input for the physical bridge. In particular, `uniform` |
| 227 | places its constants before the label, and `support` concerns the actual |
| 228 | coefficient, not a prescribed bound for its derivatives. -/ |
| 229 | structure SourceBounds (s : StripData D) (h α : ℝ) |
| 230 | (w : ι → ℕ → D → ℝ) (f : ι → ℕ → D → E) : Prop where |
| 231 | uniform : UniformClass s w α f |
| 232 | flat_geometry : ∃ cL cR L : ℝ, ∃ ρ : D → ℝ, FlatGeometry s cL cR L ρ |
| 233 | weight_le : ∃ c : ℝ, 0 < c ∧ ∀ l n x, x ∈ s.domain → w l n x ≤ s.zeta x ^ c |
| 234 | epsilon_eq : ∀ n, s.epsilon n = ChartScales.epsilon h n |
| 235 | slow_le : ∃ K : ℝ, 1 ≤ K ∧ ∃ q : ℕ, |
| 236 | ∀ n, 4 ≤ n → s.slow n ≤ K * ChartScales.S n ^ q |
| 237 | smooth : ∀ l n, ContDiff ℝ ∞ (f l n) |
| 238 | support : ∀ l n, tsupport (f l n) ⊆ closure s.domain |
| 239 | |
| 240 | theorem SourceBounds.chart_bound {s : StripData D} {h α : ℝ} |
| 241 | {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} |
| 242 | (hf : SourceBounds s h α w f) (m : ℕ) : |
| 243 | ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ l n, 4 ≤ n → ∀ x, ∀ j ≤ m, |
| 244 | ‖iteratedFDeriv ℝ j (f l n) x‖ ≤ |
| 245 | A * ChartScales.Q n ^ (h * α) * ChartScales.S n ^ p := by |
| 246 | obtain ⟨cL, cR, L, ρ, hg⟩ := hf.flat_geometry |
| 247 | obtain ⟨c, hc, hw⟩ := hf.weight_le |
| 248 | obtain ⟨K, hK, q, hq⟩ := hf.slow_le |
| 249 | exact UniformClass.chart_bound hg hc hK hf.epsilon_eq hq hf.uniform hw hf.smooth hf.support m |
| 250 | |
| 251 | theorem SourceBounds.of_wave {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} |
| 252 | (hg : FlatGeometry s cL cR L ρ) {h α K : ℝ} {q : ℕ} (hK : 1 ≤ K) |
| 253 | (hε : ∀ n, s.epsilon n = ChartScales.epsilon h n) |
| 254 | (hslow : ∀ n, 4 ≤ n → s.slow n ≤ K * ChartScales.S n ^ q) |
| 255 | {P : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} |
| 256 | (hf : UniformWaveClass s P α f) |
| 257 | (hP : ∀ l n x, x ∈ s.domain → P l n x ≤ 1) |
| 258 | (hfc : ∀ l n, ContDiff ℝ ∞ (f l n)) |
| 259 | (hs : ∀ l n, tsupport (f l n) ⊆ closure s.domain) : |
| 260 | SourceBounds s h α (fun l n x => Real.sqrt (s.zeta x) * P l n x) f := |
| 261 | ⟨hf, ⟨cL, cR, L, ρ, hg⟩, ⟨1 / 2, by norm_num, waveWeight_le hP⟩, |
| 262 | hε, ⟨K, hK, q, hslow⟩, hfc, hs⟩ |
| 263 | |
| 264 | theorem SourceBounds.of_mean {s : StripData D} {cL cR L : ℝ} {ρ : D → ℝ} |
| 265 | (hg : FlatGeometry s cL cR L ρ) {h α K : ℝ} {q : ℕ} (hK : 1 ≤ K) |
| 266 | (hε : ∀ n, s.epsilon n = ChartScales.epsilon h n) |
| 267 | (hslow : ∀ n, 4 ≤ n → s.slow n ≤ K * ChartScales.S n ^ q) |
| 268 | {f : ι → ℕ → D → E} (hf : UniformMeanClass s α f) |
| 269 | (hfc : ∀ l n, ContDiff ℝ ∞ (f l n)) |
| 270 | (hs : ∀ l n, tsupport (f l n) ⊆ closure s.domain) : |
| 271 | SourceBounds s h α (fun _ _ x => s.zeta x) f := |
| 272 | ⟨hf, ⟨cL, cR, L, ρ, hg⟩, ⟨1, by norm_num, by intro l n x hx; rw [Real.rpow_one]⟩, |
| 273 | hε, ⟨K, hK, q, hslow⟩, hfc, hs⟩ |
| 274 | |
| 275 | theorem SourceBounds.map {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 276 | {s : StripData D} {h α : ℝ} {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → E} |
| 277 | (hf : SourceBounds s h α w f) (T : E →L[ℝ] V) : |
| 278 | SourceBounds s h α w (fun l n x => T (f l n x)) := by |
| 279 | refine ⟨hf.uniform.map T, hf.flat_geometry, hf.weight_le, hf.epsilon_eq, hf.slow_le, |
| 280 | fun l n => T.contDiff.comp (hf.smooth l n), ?_⟩ |
| 281 | intro l n |
| 282 | apply closure_minimal _ isClosed_closure |
| 283 | intro x hx |
| 284 | apply hf.support l n |
| 285 | apply subset_tsupport (f l n) |
| 286 | intro he |
| 287 | exact hx (by change T (f l n x) = 0; rw [he, map_zero]) |
| 288 | |
| 289 | section CommonCoordinates |
| 290 | |
| 291 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 292 | |
| 293 | /-- A local form of the genuine higher chain-rule estimate. Only positive |
| 294 | derivatives of the coordinate map are needed; the map's values may be unbounded. -/ |
| 295 | theorem composition_jet_bound {g : D → E} {φ : X → D} {U : Set X} |
| 296 | (hg : ContDiff ℝ ∞ g) (hU : IsOpen U) (hφ : ContDiffOn ℝ ∞ φ U) |
| 297 | {x : X} (hx : x ∈ U) (m : ℕ) {A B : ℝ} (hA : 0 ≤ A) (hB : 1 ≤ B) |
| 298 | (hgb : ∀ i ≤ m, ‖iteratedFDeriv ℝ i g (φ x)‖ ≤ A) |
| 299 | (hφb : ∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i φ x‖ ≤ B) : |
| 300 | ∀ j ≤ m, ‖iteratedFDeriv ℝ j (g ∘ φ) x‖ ≤ (m.factorial : ℝ) * A * B ^ m := by |
| 301 | intro j hj |
| 302 | have hb := norm_iteratedFDerivWithin_comp_le hg.contDiffOn hφ (nat_le_infty j) |
| 303 | uniqueDiffOn_univ hU.uniqueDiffOn (mapsTo_univ φ U) hx |
| 304 | (C := A) (D := B) |
| 305 | (fun i hi => by rw [iteratedFDerivWithin_univ]; exact hgb i (hi.trans hj)) |
| 306 | (fun i hi hij => by |
| 307 | rw [iteratedFDerivWithin_of_isOpen i hU hx] |
| 308 | exact (hφb i hi (hij.trans hj)).trans (by simpa using pow_le_pow_right₀ hB hi)) |
| 309 | rw [iteratedFDerivWithin_of_isOpen j hU hx] at hb |
| 310 | exact hb.trans (mul_le_mul |
| 311 | (mul_le_mul_of_nonneg_right (by exact_mod_cast Nat.factorial_le hj) hA) |
| 312 | (pow_le_pow_right₀ hB hj) (by positivity) (by positivity)) |
| 313 | |
| 314 | /-- The common-chart identity for actual amplitudes. This records only |
| 315 | the source formula and the coordinate map's jets, before any physical graph |
| 316 | or carrier has been differentiated. -/ |
| 317 | structure CommonChart {H : ℕ} (F : PhysicalWaveSum.WaveFamily H) |
| 318 | (a b h r0 σ : ℝ) (f : ι → ℕ → D → ℂ) where |
| 319 | sourceIndex : PhysicalWaveSum.WaveIndex H → ι |
| 320 | map : PhysicalWaveSum.WaveIndex H → PhysicalWaveSum.LiftPoint → D |
| 321 | domain : PhysicalWaveSum.WaveIndex H → Set PhysicalWaveSum.LiftPoint |
| 322 | open_domain : ∀ I, IsOpen (domain I) |
| 323 | smooth : ∀ I, ContDiffOn ℝ ∞ (map I) (domain I) |
| 324 | positive_jets : ∀ m : ℕ, ∃ B : ℝ, 1 ≤ B ∧ ∃ q : ℕ, |
| 325 | ∀ I x, x ∈ domain I → ∀ j, 1 ≤ j → j ≤ m → |
| 326 | ‖iteratedFDeriv ℝ j (map I) x‖ ≤ B * ChartScales.S I.1.val.1 ^ q |
| 327 | amplitude_eq : ∀ I, F.amplitude I = fun x => |
| 328 | (ChartScales.Q I.1.val.1 ^ σ) • f (sourceIndex I) I.1.val.1 (map I x) |
| 329 | contains : ∀ I z, z ∈ PhysicalWaveSum.preterminal → |
| 330 | PhysicalWaveSum.physicalParams h z ∈ |
| 331 | PhysicalWaveSum.labelRegion (CoordinateAlgebra.D h) I.1.val → |
| 332 | PhysicalGraphBounds.scaledRadial I.1.val.1 z ∈ PhysicalGraphBounds.annulus a b → |
| 333 | PhysicalWaveSum.commonLift h I.1.val.1 (F.gap I.1) z ∈ domain I |
| 334 | |
| 335 | /-- Actual composition and the explicit band prefactor produce the |
| 336 | stripped amplitude estimate. Its exponent is `h*α+σ`, and its constants |
| 337 | are independent of the label. -/ |
| 338 | theorem CommonChart.amplitude_bound {s : StripData D} {h α σ a b r0 : ℝ} |
| 339 | {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → ℂ} |
| 340 | (hf : SourceBounds s h α w f) {H : ℕ} {F : PhysicalWaveSum.WaveFamily H} |
| 341 | (hc : CommonChart F a b h r0 σ f) (m : ℕ) : |
| 342 | ∃ A : ℝ, 0 ≤ A ∧ ∃ p : ℕ, ∀ I x, x ∈ hc.domain I → ∀ j ≤ m, |
| 343 | ‖iteratedFDeriv ℝ j (F.amplitude I) x‖ ≤ |
| 344 | A * ChartScales.Q I.1.val.1 ^ (h * α + σ) * ChartScales.S I.1.val.1 ^ p := by |
| 345 | obtain ⟨A, hA, p, hb⟩ := hf.chart_bound m |
| 346 | obtain ⟨B, hB, q, hq⟩ := hc.positive_jets m |
| 347 | refine ⟨(m.factorial : ℝ) * A * B ^ m, by positivity, p + q * m, ?_⟩ |
| 348 | intro I x hx j hj |
| 349 | have hS : 1 ≤ ChartScales.S I.1.val.1 := PhysicalGraphBounds.S_ge_one (by have := I.1.property; omega) |
| 350 | have hQ := ChartScales.Q_pos I.1.val.1 |
| 351 | have hS0 : 0 ≤ ChartScales.S I.1.val.1 := zero_le_one.trans hS |
| 352 | have hA0 : 0 ≤ A * ChartScales.Q I.1.val.1 ^ (h * α) * ChartScales.S I.1.val.1 ^ p := by positivity |
| 353 | have hB0 : 1 ≤ B * ChartScales.S I.1.val.1 ^ q := |
| 354 | one_le_mul_of_one_le_of_one_le hB (one_le_pow₀ hS) |
| 355 | have hjb := composition_jet_bound (hf.smooth (hc.sourceIndex I) I.1.val.1) |
| 356 | (hc.open_domain I) (hc.smooth I) hx m hA0 hB0 |
| 357 | (fun k hk => hb (hc.sourceIndex I) I.1.val.1 I.1.property (hc.map I x) k hk) |
| 358 | (fun k hk hkm => hq I x hx k hk hkm) j hj |
| 359 | have hcomp : ContDiffAt ℝ ∞ (f (hc.sourceIndex I) I.1.val.1 ∘ hc.map I) x := |
| 360 | (hf.smooth (hc.sourceIndex I) I.1.val.1).contDiffAt.comp x |
| 361 | ((hc.smooth I).contDiffAt ((hc.open_domain I).mem_nhds hx)) |
| 362 | rw [hc.amplitude_eq I] |
| 363 | change ‖iteratedFDeriv ℝ j (fun x => (ChartScales.Q I.1.val.1 ^ σ) • |
| 364 | (f (hc.sourceIndex I) I.1.val.1 ∘ hc.map I) x) x‖ ≤ _ |
| 365 | rw [iteratedFDeriv_const_smul_apply' (hcomp.of_le (nat_le_infty j)), |
| 366 | norm_smul (ChartScales.Q I.1.val.1 ^ σ) |
| 367 | (iteratedFDeriv ℝ j (f (hc.sourceIndex I) I.1.val.1 ∘ hc.map I) x), |
| 368 | Real.norm_of_nonneg (Real.rpow_pos_of_pos hQ σ).le] |
| 369 | calc |
| 370 | _ ≤ ChartScales.Q I.1.val.1 ^ σ * ((m.factorial : ℝ) * |
| 371 | (A * ChartScales.Q I.1.val.1 ^ (h * α) * ChartScales.S I.1.val.1 ^ p) * |
| 372 | (B * ChartScales.S I.1.val.1 ^ q) ^ m) := |
| 373 | mul_le_mul_of_nonneg_left hjb (Real.rpow_pos_of_pos hQ σ).le |
| 374 | _ = _ := by rw [Real.rpow_add hQ, pow_add, mul_pow, ← pow_mul]; ring |
| 375 | |
| 376 | end CommonCoordinates |
| 377 | |
| 378 | /-- The natural slow scale for a band label is at least one because the |
| 379 | physical sum starts at band four. -/ |
| 380 | noncomputable def bandDomain {V : Type} [NormedAddCommGroup V] |
| 381 | (U : PhysicalWaveSum.BandLabel → Set V) (hU : ∀ L, IsOpen (U L)) : |
| 382 | PhaseJetBounds.Domain PhysicalWaveSum.BandLabel V where |
| 383 | scale L := ChartScales.S L.val.1 |
| 384 | carrier := U |
| 385 | isOpen := hU |
| 386 | one_le_scale L := PhysicalGraphBounds.S_ge_one (by have := L.property; omega) |
| 387 | |
| 388 | /-- Polynomial jets of the actual two base profiles entering the phase, |
| 389 | on open slow-coordinate regions containing every relevant chart point. -/ |
| 390 | structure CarrierBounds {H : ℕ} (F : PhysicalWaveSum.WaveFamily H) (a b h r0 : ℝ) where |
| 391 | region : PhysicalWaveSum.BandLabel → Set PhysicalGraphBounds.Slow |
| 392 | open_region : ∀ L, IsOpen (region L) |
| 393 | jets : PhaseJetBounds.PolynomialJets (bandDomain region open_region) |
| 394 | (fun L x => ((F.carrier L).F x, (F.carrier L).G x)) |
| 395 | contains : ∀ (I : PhysicalWaveSum.WaveIndex H) z, |
| 396 | z ∈ PhysicalWaveSum.preterminal → |
| 397 | PhysicalWaveSum.physicalParams h z ∈ |
| 398 | PhysicalWaveSum.labelRegion (CoordinateAlgebra.D h) I.1.val → |
| 399 | PhysicalGraphBounds.scaledRadial I.1.val.1 z ∈ PhysicalGraphBounds.annulus a b → |
| 400 | ∀ chart : PolarCharts.Index, |
| 401 | PhysicalGraphBounds.scaledRadial I.1.val.1 z ∈ PolarCharts.chartDomain a chart → |
| 402 | (PhysicalGraphBounds.slotMap (PolarCharts.chart a chart) |
| 403 | (ChartScales.timeCoefficient h I.1.val.1) (F.carrier I.1).center r0 |
| 404 | (PhysicalGraphBounds.physicalLift h I.1.val.1 z)).1 ∈ region I.1 |
| 405 | |
| 406 | theorem CarrierBounds.profile_bound {H : ℕ} {F : PhysicalWaveSum.WaveFamily H} |
| 407 | {a b h r0 : ℝ} (hb : CarrierBounds F a b h r0) (m : ℕ) : |
| 408 | ∃ B : ℝ, 1 ≤ B ∧ ∃ p : ℕ, ∀ L x, x ∈ hb.region L → ∀ j ≤ m, |
| 409 | ‖iteratedFDeriv ℝ j (F.carrier L).F x‖ ≤ B * ChartScales.S L.val.1 ^ p ∧ |
| 410 | ‖iteratedFDeriv ℝ j (F.carrier L).G x‖ ≤ B * ChartScales.S L.val.1 ^ p := by |
| 411 | obtain ⟨B, hB, p, hp⟩ := hb.jets.bound m |
| 412 | refine ⟨B, hB, p, ?_⟩ |
| 413 | intro L x hx j hj |
| 414 | have hpair := (hb.jets.smooth L).contDiffAt ((hb.open_region L).mem_nhds hx) |
| 415 | have he := hp L j hj x hx |
| 416 | rw [PhysicalGraphBounds.iteratedFDeriv_pair |
| 417 | (hpair.fst.of_le (nat_le_infty j)) (hpair.snd.of_le (nat_le_infty j)), |
| 418 | ContinuousMultilinearMap.opNorm_prod] at he |
| 419 | exact ⟨(le_max_left _ _).trans he, (le_max_right _ _).trans he⟩ |
| 420 | |
| 421 | /-- The full `StrippedClass` is derived from the uniform weighted source, |
| 422 | the primitive common-chart identity, and the actual base-profile jets. -/ |
| 423 | theorem strippedClass {s : StripData D} {h α σ a b r0 P : ℝ} |
| 424 | {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → ℂ} |
| 425 | (hf : SourceBounds s h α w f) {H : ℕ} {F : PhysicalWaveSum.WaveFamily H} |
| 426 | (hc : CommonChart F a b h r0 σ f) (hb : CarrierBounds F a b h r0) |
| 427 | (hp : ∀ L, |(F.carrier L).angular| ≤ P ∧ |
| 428 | |(F.carrier L).axial| ≤ P ∧ |(F.carrier L).radial| ≤ P) (m : ℕ) : |
| 429 | ∃ A : ℝ, 0 ≤ A ∧ ∃ B : ℝ, 1 ≤ B ∧ ∃ p q : ℕ, |
| 430 | PhysicalWaveSum.StrippedClass F a b h r0 P A B (h * α + σ) p q m := by |
| 431 | obtain ⟨A, hA, p, hAp⟩ := hc.amplitude_bound hf m |
| 432 | obtain ⟨B, hB, q, hBq⟩ := hb.profile_bound m |
| 433 | refine ⟨A, hA, B, hB, p, q, hp, ?_, ?_, ?_⟩ |
| 434 | · intro I z hz hregion hann j hj |
| 435 | simpa only [Real.rpow_natCast] using |
| 436 | hAp I _ (hc.contains I z hz hregion hann) j hj |
| 437 | · intro I z hz hregion hann chart hchart j hj |
| 438 | simpa only [Real.rpow_natCast] using |
| 439 | (hBq I.1 _ (hb.contains I z hz hregion hann chart hchart) j hj).1 |
| 440 | · intro I z hz hregion hann chart hchart j hj |
| 441 | simpa only [Real.rpow_natCast] using |
| 442 | (hBq I.1 _ (hb.contains I z hz hregion hann chart hchart) j hj).2 |
| 443 | |
| 444 | /-- The derivative loss includes the displayed physical field rescaling. |
| 445 | It depends on the derivative order and fixed scaling parameters only. -/ |
| 446 | noncomputable def physicalLoss (h σ : ℝ) (m : ℕ) : ℝ := |
| 447 | PhysicalGraphBounds.waveLoss h m - σ |
| 448 | |
| 449 | /-- Full physical jets of the actual locally finite wave sum. The |
| 450 | derivative-loss function does not depend on the harmonic cutoff, cover gap, |
| 451 | label, slow polynomial degrees, or correction stage. -/ |
| 452 | theorem physical_sum_jet_bound {s : StripData D} {h α σ a b r0 Z P : ℝ} |
| 453 | {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → ℂ} |
| 454 | (hf : SourceBounds s h α w f) {H Δ : ℕ} {F : PhysicalWaveSum.WaveFamily H} |
| 455 | (hc : CommonChart F a b h r0 σ f) (hb : CarrierBounds F a b h r0) |
| 456 | (hr : PhysicalWaveSum.RegularFamily F a b h r0 Z Δ) |
| 457 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hZ : 0 ≤ Z) (hr0 : 0 ≤ r0) |
| 458 | (hP : 1 ≤ P) (hp : ∀ L, |(F.carrier L).angular| ≤ P ∧ |
| 459 | |(F.carrier L).axial| ≤ P ∧ |(F.carrier L).radial| ≤ P) (m : ℕ) : |
| 460 | ∃ C : ℝ, 0 ≤ C ∧ ∀ z : ProblemStatement.SpaceTime, |
| 461 | z ∈ PhysicalWaveSum.preterminal → |z.1| ≤ 1 → |
| 462 | ‖iteratedFDeriv ℝ m (F.sum a h r0) z‖ ≤ |
| 463 | C * PhysicalWaveSum.physicalQ h z ^ (h * α - physicalLoss h σ m) := by |
| 464 | obtain ⟨A, hA, B, hB, p, q, hclass⟩ := strippedClass hf hc hb hp m |
| 465 | obtain ⟨C, hC, hbound⟩ := PhysicalWaveSum.physical_sum_jet_bound |
| 466 | (b := b) hh hh1 ha hZ hr0 hP hB (Nat.cast_nonneg q) H Δ m |
| 467 | (h * α + σ) p A hA |
| 468 | refine ⟨C, hC, ?_⟩ |
| 469 | intro z hz ht |
| 470 | convert! hbound F hr hclass z hz ht using 1 |
| 471 | congr 2 |
| 472 | unfold physicalLoss |
| 473 | ring |
| 474 | |
| 475 | theorem physical_vector_sum_jet_bound {s : StripData D} {h α σ a b r0 Z P : ℝ} |
| 476 | {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → ℂ} |
| 477 | (hf : SourceBounds s h α w f) {H Δ : ℕ} {F : Fin 3 → PhysicalWaveSum.WaveFamily H} |
| 478 | (hc : ∀ i, CommonChart (F i) a b h r0 σ f) |
| 479 | (hb : ∀ i, CarrierBounds (F i) a b h r0) |
| 480 | (hr : ∀ i, PhysicalWaveSum.RegularFamily (F i) a b h r0 Z Δ) |
| 481 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hZ : 0 ≤ Z) (hr0 : 0 ≤ r0) |
| 482 | (hP : 1 ≤ P) (hp : ∀ i L, |((F i).carrier L).angular| ≤ P ∧ |
| 483 | |((F i).carrier L).axial| ≤ P ∧ |((F i).carrier L).radial| ≤ P) (m : ℕ) : |
| 484 | ∃ C : ℝ, 0 ≤ C ∧ ∀ z : ProblemStatement.SpaceTime, |
| 485 | z ∈ PhysicalWaveSum.preterminal → |z.1| ≤ 1 → |
| 486 | ‖iteratedFDeriv ℝ m (PhysicalWaveSum.vectorSum F a h r0) z‖ ≤ |
| 487 | C * PhysicalWaveSum.physicalQ h z ^ (h * α - physicalLoss h σ m) := by |
| 488 | classical |
| 489 | have hs := fun i => physical_sum_jet_bound hf (hc i) (hb i) (hr i) |
| 490 | hh hh1 ha hZ hr0 hP (hp i) m |
| 491 | choose C hC hbound using hs |
| 492 | refine ⟨3 * ∑ i : Fin 3, C i, |
| 493 | mul_nonneg (by norm_num) (Finset.sum_nonneg (fun i _ => hC i)), ?_⟩ |
| 494 | intro z hz ht |
| 495 | have hq := PhysicalWaveSum.physicalQ_pos hh hh1 hz |
| 496 | have hi (i : Fin 3) : C i ≤ ∑ j : Fin 3, C j := |
| 497 | Finset.single_le_sum (fun j _ => hC j) (Finset.mem_univ i) |
| 498 | have he := PhysicalWaveSum.vectorSum_jet_bound hr ha hh hh1 hz m |
| 499 | (B := (∑ i : Fin 3, C i) * PhysicalWaveSum.physicalQ h z ^ (h * α - physicalLoss h σ m)) |
| 500 | (fun i => (hbound i z hz ht).trans |
| 501 | (mul_le_mul_of_nonneg_right (hi i) (Real.rpow_pos_of_pos hq _).le)) |
| 502 | exact he.trans_eq (by ring) |
| 503 | |
| 504 | /-- Taking the real part, as for the physical pressure, loses no constant. -/ |
| 505 | theorem physical_real_sum_jet_bound {s : StripData D} {h α σ a b r0 Z P : ℝ} |
| 506 | {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → ℂ} |
| 507 | (hf : SourceBounds s h α w f) {H Δ : ℕ} {F : PhysicalWaveSum.WaveFamily H} |
| 508 | (hc : CommonChart F a b h r0 σ f) (hb : CarrierBounds F a b h r0) |
| 509 | (hr : PhysicalWaveSum.RegularFamily F a b h r0 Z Δ) |
| 510 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hZ : 0 ≤ Z) (hr0 : 0 ≤ r0) |
| 511 | (hP : 1 ≤ P) (hp : ∀ L, |(F.carrier L).angular| ≤ P ∧ |
| 512 | |(F.carrier L).axial| ≤ P ∧ |(F.carrier L).radial| ≤ P) (m : ℕ) : |
| 513 | ∃ C : ℝ, 0 ≤ C ∧ ∀ z : ProblemStatement.SpaceTime, |
| 514 | z ∈ PhysicalWaveSum.preterminal → |z.1| ≤ 1 → |
| 515 | ‖iteratedFDeriv ℝ m (fun z => (F.sum a h r0 z).re) z‖ ≤ |
| 516 | C * PhysicalWaveSum.physicalQ h z ^ (h * α - physicalLoss h σ m) := by |
| 517 | obtain ⟨C, hC, hbound⟩ := physical_sum_jet_bound hf hc hb hr hh hh1 ha hZ hr0 hP hp m |
| 518 | refine ⟨C, hC, ?_⟩ |
| 519 | intro z hz ht |
| 520 | have hsm := ((hr.sum_smooth ha hh hh1).contDiffAt |
| 521 | (PhysicalWaveSum.preterminal_open.mem_nhds hz)).of_le (nat_le_infty m) |
| 522 | have he := PhysicalWaveSum.norm_jet_linear_comp_at hsm Complex.reCLM |
| 523 | have hn : ‖Complex.reCLM‖ ≤ 1 := by |
| 524 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 525 | intro c |
| 526 | simpa only [Complex.reCLM_apply, one_mul, Real.norm_eq_abs] using Complex.abs_re_le_norm c |
| 527 | exact he.trans ((mul_le_of_le_one_left (norm_nonneg _) hn).trans (hbound z hz ht)) |
| 528 | |
| 529 | /-- Inclusion of a spatial direction into a joint spacetime direction. -/ |
| 530 | noncomputable def spatialInclusion : ProblemStatement.Space →L[ℝ] ProblemStatement.SpaceTime := |
| 531 | (0 : ProblemStatement.Space →L[ℝ] ℝ).prod (ContinuousLinearMap.id ℝ ProblemStatement.Space) |
| 532 | |
| 533 | /-- A fixed continuous linear map takes the spatial curl from a joint |
| 534 | Jacobian. Its norm is independent of every band and correction stage. -/ |
| 535 | noncomputable def jointCurl : (ProblemStatement.SpaceTime →L[ℝ] ProblemStatement.Space) →L[ℝ] |
| 536 | ProblemStatement.Space := |
| 537 | SpatialCurl.curlLinear.comp |
| 538 | ((ContinuousLinearMap.compL ℝ ProblemStatement.Space ProblemStatement.SpaceTime |
| 539 | ProblemStatement.Space).flip spatialInclusion) |
| 540 | |
| 541 | theorem spatialCurl_eq_joint {A : ProblemStatement.VelocityField} {z : ProblemStatement.SpaceTime} |
| 542 | (hA : DifferentiableAt ℝ A z) : |
| 543 | SpatialCurl.spatialCurl A z = jointCurl (fderiv ℝ A z) := by |
| 544 | have hi : HasFDerivAt (fun y : ProblemStatement.Space => (z.1, y)) spatialInclusion z.2 := |
| 545 | (hasFDerivAt_const z.1 z.2).prodMk (hasFDerivAt_id z.2) |
| 546 | have hd := (hA.hasFDerivAt.comp z.2 hi).fderiv |
| 547 | change SpatialCurl.curlLinear (fderiv ℝ (fun y => A (z.1, y)) z.2) = |
| 548 | SpatialCurl.curlLinear ((fderiv ℝ A z).comp spatialInclusion) |
| 549 | exact congrArg SpatialCurl.curlLinear hd |
| 550 | |
| 551 | /-- Taking the actual spatial curl costs exactly one joint derivative |
| 552 | and a fixed linear-operator norm. -/ |
| 553 | theorem spatialCurl_jet_bound {A : ProblemStatement.VelocityField} |
| 554 | {U : Set ProblemStatement.SpaceTime} (hU : IsOpen U) (hA : ContDiffOn ℝ ∞ A U) |
| 555 | {z : ProblemStatement.SpaceTime} (hz : z ∈ U) (m : ℕ) : |
| 556 | ‖iteratedFDeriv ℝ m (SpatialCurl.spatialCurl A) z‖ ≤ |
| 557 | ‖jointCurl‖ * ‖iteratedFDeriv ℝ (m + 1) A z‖ := by |
| 558 | have he : SpatialCurl.spatialCurl A =ᶠ[𝓝 z] jointCurl ∘ fderiv ℝ A := by |
| 559 | filter_upwards [hU.mem_nhds hz] with y hy |
| 560 | exact spatialCurl_eq_joint ((hA.contDiffAt (hU.mem_nhds hy)).differentiableAt (by simp)) |
| 561 | rw [PhysicalWaveSum.iteratedFDeriv_eq_of_eventuallyEq he m] |
| 562 | have hd : ContDiffAt ℝ ∞ (fderiv ℝ A) z := |
| 563 | (hA.contDiffAt (hU.mem_nhds hz)).fderiv_right (by simp) |
| 564 | have hb := PhysicalWaveSum.norm_jet_linear_comp_at (hd.of_le (nat_le_infty m)) jointCurl |
| 565 | simpa only [norm_iteratedFDeriv_fderiv] using hb |
| 566 | |
| 567 | theorem physical_vector_curl_jet_bound {s : StripData D} {h α σ a b r0 Z P : ℝ} |
| 568 | {w : ι → ℕ → D → ℝ} {f : ι → ℕ → D → ℂ} |
| 569 | (hf : SourceBounds s h α w f) {H Δ : ℕ} {F : Fin 3 → PhysicalWaveSum.WaveFamily H} |
| 570 | (hc : ∀ i, CommonChart (F i) a b h r0 σ f) |
| 571 | (hb : ∀ i, CarrierBounds (F i) a b h r0) |
| 572 | (hr : ∀ i, PhysicalWaveSum.RegularFamily (F i) a b h r0 Z Δ) |
| 573 | (hh : 0 < h) (hh1 : h < 1 / 2) (ha : 0 < a) (hZ : 0 ≤ Z) (hr0 : 0 ≤ r0) |
| 574 | (hP : 1 ≤ P) (hp : ∀ i L, |((F i).carrier L).angular| ≤ P ∧ |
| 575 | |((F i).carrier L).axial| ≤ P ∧ |((F i).carrier L).radial| ≤ P) (m : ℕ) : |
| 576 | ∃ C : ℝ, 0 ≤ C ∧ ∀ z : ProblemStatement.SpaceTime, |
| 577 | z ∈ PhysicalWaveSum.preterminal → |z.1| ≤ 1 → |
| 578 | ‖iteratedFDeriv ℝ m (SpatialCurl.spatialCurl (PhysicalWaveSum.vectorSum F a h r0)) z‖ ≤ |
| 579 | C * PhysicalWaveSum.physicalQ h z ^ (h * α - physicalLoss h σ (m + 1)) := by |
| 580 | obtain ⟨C, hC, hbound⟩ := physical_vector_sum_jet_bound hf hc hb hr |
| 581 | hh hh1 ha hZ hr0 hP hp (m + 1) |
| 582 | refine ⟨‖jointCurl‖ * C, mul_nonneg (norm_nonneg jointCurl) hC, ?_⟩ |
| 583 | intro z hz ht |
| 584 | exact (spatialCurl_jet_bound PhysicalWaveSum.preterminal_open |
| 585 | (PhysicalWaveSum.vectorSum_smooth hr ha hh hh1) hz m).trans |
| 586 | ((mul_le_mul_of_nonneg_left (hbound z hz ht) (norm_nonneg jointCurl)).trans_eq (by ring)) |
| 587 | |
| 588 | @[simp] theorem physicalLoss_potential (h : ℝ) (m : ℕ) : |
| 589 | physicalLoss h (-h) m = PhysicalGraphBounds.waveLoss h m + h := by |
| 590 | simp [physicalLoss] |
| 591 | |
| 592 | @[simp] theorem physicalLoss_velocity (h : ℝ) (m : ℕ) : |
| 593 | physicalLoss h (-CoordinateAlgebra.A h) m = |
| 594 | PhysicalGraphBounds.waveLoss h m + CoordinateAlgebra.A h := by |
| 595 | simp [physicalLoss] |
| 596 | |
| 597 | @[simp] theorem physicalLoss_pressure (h : ℝ) (m : ℕ) : |
| 598 | physicalLoss h (-(2 * CoordinateAlgebra.A h)) m = |
| 599 | PhysicalGraphBounds.waveLoss h m + 2 * CoordinateAlgebra.A h := by |
| 600 | simp [physicalLoss] |
| 601 | |
| 602 | /-! ### The actual Cartesian-to-cylindrical coefficient map -/ |
| 603 | |
| 604 | abbrev CylindricalPoint := ℝ × ((ℝ × ℝ) × PhysicalGraphBounds.Plane) |
| 605 | |
| 606 | noncomputable def cartesianRadius (y : PhysicalGraphBounds.Plane) : ℝ := |
| 607 | Real.sqrt (y.1 ^ 2 + y.2 ^ 2) |
| 608 | |
| 609 | theorem cartesianRadius_smooth : |
| 610 | ContDiffOn ℝ ∞ cartesianRadius {y : PhysicalGraphBounds.Plane | y ≠ 0} := by |
| 611 | intro y hy |
| 612 | exact (((contDiffAt_fst.pow 2).add (contDiffAt_snd.pow 2)).sqrt |
| 613 | (PhysicalGraphBounds.sum_sq_pos hy).ne').contDiffWithinAt |
| 614 | |
| 615 | /-- Slow order `(T,Z)` and the actual common auxiliary coordinate. -/ |
| 616 | noncomputable def slowFast : PhysicalWaveSum.LiftPoint →L[ℝ] |
| 617 | ((ℝ × ℝ) × PhysicalGraphBounds.Plane) := |
| 618 | (((ContinuousLinearMap.snd ℝ ℝ ℝ).comp PhysicalGraphBounds.liftZT).prod |
| 619 | ((ContinuousLinearMap.fst ℝ ℝ ℝ).comp PhysicalGraphBounds.liftZT)).prod |
| 620 | (ContinuousLinearMap.snd ℝ PhysicalGraphBounds.ChartPoint PhysicalGraphBounds.Plane) |
| 621 | |
| 622 | @[simp] theorem slowFast_apply (x : PhysicalWaveSum.LiftPoint) : |
| 623 | slowFast x = ((x.1.1, x.1.2.2.2), x.2) := rfl |
| 624 | |
| 625 | theorem norm_slowFast_le : ‖slowFast‖ ≤ 1 := by |
| 626 | refine ContinuousLinearMap.opNorm_le_bound _ zero_le_one ?_ |
| 627 | intro x |
| 628 | rw [one_mul, slowFast_apply] |
| 629 | change max (max ‖x.1.1‖ ‖x.1.2.2.2‖) ‖x.2‖ ≤ ‖x‖ |
| 630 | exact max_le (max_le |
| 631 | ((le_max_left ‖x.1.1‖ ‖x.1.2‖).trans (le_max_left _ _)) |
| 632 | ((le_max_right ‖x.1.2.2.1‖ ‖x.1.2.2.2‖).trans |
| 633 | ((le_max_right ‖x.1.2.1‖ ‖x.1.2.2‖).trans |
| 634 | ((le_max_right ‖x.1.1‖ ‖x.1.2‖).trans (le_max_left _ _))))) |
| 635 | (le_max_right _ _) |
| 636 | |
| 637 | noncomputable def cylindricalMap (x : PhysicalWaveSum.LiftPoint) : CylindricalPoint := |
| 638 | (cartesianRadius (PhysicalGraphBounds.liftXY x), slowFast x) |
| 639 | |
| 640 | noncomputable def cylindricalDomain (a b : ℝ) : Set PhysicalWaveSum.LiftPoint := |
| 641 | (fun x => ‖PhysicalGraphBounds.liftXY x‖) ⁻¹' Ioo (a / 2) (b + 1) |
| 642 | |
| 643 | theorem cylindricalDomain_open (a b : ℝ) : IsOpen (cylindricalDomain a b) := |
| 644 | isOpen_Ioo.preimage PhysicalGraphBounds.liftXY.continuous.norm |
| 645 | |
| 646 | theorem cylindricalDomain_axisFree {a b : ℝ} (ha : 0 < a) |
| 647 | {x : PhysicalWaveSum.LiftPoint} (hx : x ∈ cylindricalDomain a b) : |
| 648 | PhysicalGraphBounds.liftXY x ≠ 0 := by |
| 649 | intro he |
| 650 | have hp : a / 2 < ‖PhysicalGraphBounds.liftXY x‖ := hx.1 |
| 651 | rw [he, norm_zero] at hp |
| 652 | linarith |
| 653 | |
| 654 | theorem cylindricalMap_smooth {a b : ℝ} (ha : 0 < a) : |
| 655 | ContDiffOn ℝ ∞ cylindricalMap (cylindricalDomain a b) := |
| 656 | (cartesianRadius_smooth.comp PhysicalGraphBounds.liftXY.contDiff.contDiffOn |
| 657 | (fun _ hx => cylindricalDomain_axisFree ha hx)).prodMk slowFast.contDiff.contDiffOn |
| 658 | |
| 659 | /-- All positive jets of the actual radius map are uniformly bounded on |
| 660 | a fixed padded annulus, regardless of slow or auxiliary coordinates. -/ |
| 661 | theorem cylindricalMap_positiveJets {a b : ℝ} (ha : 0 < a) (m : ℕ) : |
| 662 | ∃ B : ℝ, 1 ≤ B ∧ ∀ x ∈ cylindricalDomain a b, ∀ j, 1 ≤ j → j ≤ m → |
| 663 | ‖iteratedFDeriv ℝ j cylindricalMap x‖ ≤ B := by |
| 664 | obtain ⟨B, hB, hb⟩ := PhysicalGraphBounds.compact_jet_bound |
| 665 | PhysicalGraphBounds.axisFree_open cartesianRadius_smooth |
| 666 | (PhysicalGraphBounds.isCompact_annulus (a / 2) (b + 1)) |
| 667 | (PhysicalGraphBounds.annulus_axisFree (half_pos ha)) m |
| 668 | refine ⟨B, hB, ?_⟩ |
| 669 | intro x hx j hj hjm |
| 670 | have haxis := cylindricalDomain_axisFree ha hx |
| 671 | have hann : PhysicalGraphBounds.liftXY x ∈ PhysicalGraphBounds.annulus (a / 2) (b + 1) := by |
| 672 | refine ⟨?_, hx.1.le⟩ |
| 673 | simpa only [Metric.mem_closedBall, dist_zero_right] using hx.2.le |
| 674 | have hrad : ContDiffAt ℝ ∞ (cartesianRadius ∘ PhysicalGraphBounds.liftXY) x := |
| 675 | (cartesianRadius_smooth.contDiffAt (PhysicalGraphBounds.axisFree_open.mem_nhds haxis)).comp x |
| 676 | PhysicalGraphBounds.liftXY.contDiff.contDiffAt |
| 677 | have hrb : ‖iteratedFDeriv ℝ j (cartesianRadius ∘ PhysicalGraphBounds.liftXY) x‖ ≤ B := by |
| 678 | exact (PhysicalGraphBounds.norm_jet_comp_linear PhysicalGraphBounds.axisFree_open |
| 679 | cartesianRadius_smooth PhysicalGraphBounds.liftXY haxis j).trans |
| 680 | ((mul_le_mul (hb j hjm _ hann) |
| 681 | (pow_le_one₀ (norm_nonneg _) PhysicalGraphBounds.norm_liftXY_le) |
| 682 | (by positivity) (zero_le_one.trans hB)).trans_eq (mul_one B)) |
| 683 | change ‖iteratedFDeriv ℝ j |
| 684 | (fun y => ((cartesianRadius ∘ PhysicalGraphBounds.liftXY) y, slowFast y)) x‖ ≤ B |
| 685 | rw [PhysicalGraphBounds.iteratedFDeriv_pair (hrad.of_le (nat_le_infty j)) |
| 686 | (slowFast.contDiff.contDiffAt.of_le (nat_le_infty j)), ContinuousMultilinearMap.opNorm_prod] |
| 687 | exact max_le hrb ((PhysicalGraphBounds.norm_positive_jet_linear_le slowFast x hj).trans |
| 688 | (norm_slowFast_le.trans hB)) |
| 689 | |
| 690 | @[simp] theorem liftXY_commonLift (h : ℝ) (n d : ℕ) (z : ProblemStatement.SpaceTime) : |
| 691 | PhysicalGraphBounds.liftXY (PhysicalWaveSum.commonLift h n d z) = |
| 692 | PhysicalGraphBounds.scaledRadial n z := by |
| 693 | change PhysicalGraphBounds.liftXY (PhysicalGraphBounds.physicalLift h n z) = _ |
| 694 | exact PhysicalGraphBounds.liftXY_physicalLift h n z |
| 695 | |
| 696 | /-- The actual common graph has the expected cylindrical radius, scaled |
| 697 | slow variables, and inverse-covered auxiliary coordinate. -/ |
| 698 | theorem cylindricalMap_commonLift (h : ℝ) (n d : ℕ) (z : ProblemStatement.SpaceTime) : |
| 699 | cylindricalMap (PhysicalWaveSum.commonLift h n d z) = |
| 700 | (cartesianRadius (PhysicalGraphBounds.scaledRadial n z), |
| 701 | (((1 - z.1) / ChartScales.Q n, ChartScales.Q n ^ (-CoordinateAlgebra.D h) * z.2 2), |
| 702 | (CommonCoverSolve.coverPower d).symm (PhysicalGraphBounds.nativeGraph h n z))) := by |
| 703 | rw [cylindricalMap, liftXY_commonLift, slowFast_apply] |
| 704 | simp only [PhysicalWaveSum.commonLift, Function.comp_apply, PhysicalWaveSum.downLift_apply, |
| 705 | PhysicalGraphBounds.physicalLift, PhysicalGraphBounds.physicalChart_time] |
| 706 | simp [PhysicalGraphBounds.physicalChart, PhysicalGraphBounds.chartLinear_apply] |
| 707 | |
| 708 | theorem commonLift_mem_cylindricalDomain {a b : ℝ} (ha : 0 < a) |
| 709 | (h : ℝ) (n d : ℕ) (z : ProblemStatement.SpaceTime) |
| 710 | (hz : PhysicalGraphBounds.scaledRadial n z ∈ PhysicalGraphBounds.annulus a b) : |
| 711 | PhysicalWaveSum.commonLift h n d z ∈ cylindricalDomain a b := by |
| 712 | change a / 2 < ‖PhysicalGraphBounds.liftXY (PhysicalWaveSum.commonLift h n d z)‖ ∧ |
| 713 | ‖PhysicalGraphBounds.liftXY (PhysicalWaveSum.commonLift h n d z)‖ < b + 1 |
| 714 | rw [liftXY_commonLift] |
| 715 | have hlo : a ≤ ‖PhysicalGraphBounds.scaledRadial n z‖ := hz.2 |
| 716 | have hhi : ‖PhysicalGraphBounds.scaledRadial n z‖ ≤ b := by |
| 717 | simpa only [Metric.mem_closedBall, dist_zero_right] using hz.1 |
| 718 | constructor <;> linarith |
| 719 | |
| 720 | /-- Direct adapter for a genuine cylindrical coefficient. No coordinate |
| 721 | derivative estimate is assumed: the preceding theorems prove it. -/ |
| 722 | noncomputable def cylindricalCommonChart {H : ℕ} (F : PhysicalWaveSum.WaveFamily H) |
| 723 | (a b h r0 σ : ℝ) (ha : 0 < a) (f : ι → ℕ → CylindricalPoint → ℂ) |
| 724 | (index : PhysicalWaveSum.WaveIndex H → ι) |
| 725 | (he : ∀ I, F.amplitude I = fun x => |
| 726 | (ChartScales.Q I.1.val.1 ^ σ) • f (index I) I.1.val.1 (cylindricalMap x)) : |
| 727 | CommonChart F a b h r0 σ f where |
| 728 | sourceIndex := index |
| 729 | map _ := cylindricalMap |
| 730 | domain _ := cylindricalDomain a b |
| 731 | open_domain _ := cylindricalDomain_open a b |
| 732 | smooth _ := cylindricalMap_smooth ha |
| 733 | positive_jets m := by |
| 734 | obtain ⟨B, hB, hb⟩ := cylindricalMap_positiveJets (b := b) ha m |
| 735 | exact ⟨B, hB, 0, fun _ x hx j hj hjm => by simpa using hb x hx j hj hjm⟩ |
| 736 | amplitude_eq := he |
| 737 | contains I z _ _ hz := commonLift_mem_cylindricalDomain ha h I.1.val.1 (F.gap I.1) z hz |
| 738 | |
| 739 | end NavierStokes.PhysicalClassBounds |