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.WeightedClasses |
| 2 | import NavierStokes.LinearWaveResidual |
| 3 | import NavierStokes.PartitionedCovariance |
| 4 | import NavierStokes.CurlClassBounds |
| 5 | |
| 6 | /-! |
| 7 | # All-jet bounds for actual nonlinear wave interactions |
| 8 | |
| 9 | Only stripped coefficients are placed in the weighted classes. The carrier is |
| 10 | retained in the exact differential identities and is removed before estimating. |
| 11 | -/ |
| 12 | |
| 13 | namespace NavierStokes.WaveInteractionBounds |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open Set Filter WeightedClasses HarmonicCalculus |
| 18 | open scoped ContDiff Topology BigOperators |
| 19 | |
| 20 | variable {D E F : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 21 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 23 | |
| 24 | theorem class_congr {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 25 | {f g : ℕ → D → E} (hf : MemClass s w α f) |
| 26 | (hfg : ∀ n, EqOn (f n) (g n) s.domain) : MemClass s w α g := by |
| 27 | refine ⟨hf.weight_nonneg, fun n => (hf.smooth n).congr (fun x hx => (hfg n hx).symm), ?_⟩ |
| 28 | intro m |
| 29 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 30 | refine ⟨C, hC, p, ?_⟩ |
| 31 | intro n x hx j hj |
| 32 | have he : f n =ᶠ[𝓝[univ] x] g n := by |
| 33 | rw [nhdsWithin_univ] |
| 34 | exact eventually_of_mem (s.isOpen_domain.mem_nhds hx) (hfg n) |
| 35 | have hjet := he.iteratedFDerivWithin_eq (𝕜 := ℝ) (hfg n hx) j |
| 36 | simp only [iteratedFDerivWithin_univ] at hjet |
| 37 | rw [← hjet] |
| 38 | exact hb n x hx j hj |
| 39 | |
| 40 | theorem class_neg {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 41 | {f : ℕ → D → E} (hf : MemClass s w α f) : |
| 42 | MemClass s w α (fun n x => -f n x) := by |
| 43 | simpa only [_root_.neg_apply, ContinuousLinearMap.id_apply] using |
| 44 | hf.map (-(ContinuousLinearMap.id ℝ E)) |
| 45 | |
| 46 | theorem class_sub {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 47 | {f g : ℕ → D → E} (hf : MemClass s w α f) (hg : MemClass s w α g) : |
| 48 | MemClass s w α (fun n x => f n x - g n x) := by |
| 49 | simpa only [sub_eq_add_neg] using hf.add (class_neg hg) |
| 50 | |
| 51 | theorem class_cmul {s : StripData D} {w v : ℕ → D → ℝ} {α β : ℝ} |
| 52 | {f g : ℕ → D → ℂ} (hf : MemClass s w α f) (hg : MemClass s v β g) : |
| 53 | MemClass s (fun n x => w n x * v n x) (α + β) (fun n x => f n x * g n x) := |
| 54 | hf.bilinear hg (ContinuousLinearMap.mul ℝ ℂ) |
| 55 | |
| 56 | theorem class_conj {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 57 | {f : ℕ → D → ℂ} (hf : MemClass s w α f) : |
| 58 | MemClass s w α (fun n x => star (f n x)) := |
| 59 | hf.map (Complex.conjCLE : ℂ →L[ℝ] ℂ) |
| 60 | |
| 61 | theorem class_const_cmul {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 62 | {f : ℕ → D → ℂ} (hf : MemClass s w α f) (c : ℂ) : |
| 63 | MemClass s w α (fun n x => c * f n x) := |
| 64 | hf.map (ContinuousLinearMap.mul ℝ ℂ c) |
| 65 | |
| 66 | theorem unweighted_cmul {s : StripData D} {w : ℕ → D → ℝ} {α β : ℝ} |
| 67 | {f g : ℕ → D → ℂ} (hf : UnweightedClass s α f) (hg : MemClass s w β g) : |
| 68 | MemClass s w (α + β) (fun n x => f n x * g n x) := by |
| 69 | simpa only [one_mul] using class_cmul hf hg |
| 70 | |
| 71 | theorem mean_wave_cmul {s : StripData D} {P : ℕ → D → ℝ} {α β : ℝ} |
| 72 | {f g : ℕ → D → ℂ} (hf : MeanClass s α f) (hg : WaveClass s P β g) |
| 73 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) : |
| 74 | WaveClass s P (α + β) (fun n x => f n x * g n x) := |
| 75 | hf.bilinear_wave hg hζ (ContinuousLinearMap.mul ℝ ℂ) |
| 76 | |
| 77 | theorem wave_mean_cmul {s : StripData D} {P : ℕ → D → ℝ} {α β : ℝ} |
| 78 | {f g : ℕ → D → ℂ} (hf : WaveClass s P α f) (hg : MeanClass s β g) |
| 79 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) : |
| 80 | WaveClass s P (α + β) (fun n x => f n x * g n x) := by |
| 81 | simpa only [add_comm β α, mul_comm] using mean_wave_cmul hg hf hζ |
| 82 | |
| 83 | theorem wave_cmul_mean {s : StripData D} {P : ℕ → D → ℝ} {α β : ℝ} |
| 84 | {f g : ℕ → D → ℂ} (hf : WaveClass s P α f) (hg : WaveClass s P β g) |
| 85 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 86 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 87 | MeanClass s (α + β) (fun n x => f n x * g n x) := |
| 88 | hf.bilinear_mean hg hP0 hP1 (ContinuousLinearMap.mul ℝ ℂ) |
| 89 | |
| 90 | theorem wave_cmul_wave {s : StripData D} {P : ℕ → D → ℝ} {α β : ℝ} |
| 91 | {f g : ℕ → D → ℂ} (hf : WaveClass s P α f) (hg : WaveClass s P β g) |
| 92 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 93 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 94 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 95 | WaveClass s P (α + β) (fun n x => f n x * g n x) := by |
| 96 | apply (class_cmul hf hg).mono_weight hf.weight_nonneg |
| 97 | intro n x hx |
| 98 | have hs0 := Real.sqrt_nonneg (s.zeta x) |
| 99 | have hs1 : Real.sqrt (s.zeta x) ≤ 1 := by |
| 100 | nlinarith [Real.sq_sqrt (s.zeta_nonneg x hx), hζ x hx] |
| 101 | have hw1 : Real.sqrt (s.zeta x) * P n x ≤ 1 := |
| 102 | (mul_le_mul hs1 (hP1 n x hx) (hP0 n x hx) (by norm_num)).trans_eq (one_mul 1) |
| 103 | exact mul_le_of_le_one_right (hf.weight_nonneg n x hx) hw1 |
| 104 | |
| 105 | /-- Evaluation of the actual derivative field at an actual vector field. -/ |
| 106 | theorem class_along {s : StripData D} {w : ℕ → D → ℝ} {α β : ℝ} |
| 107 | {f : ℕ → D → E} {V : ℕ → D → D} |
| 108 | (hf : MemClass s w α f) (hV : UnweightedClass s β V) : |
| 109 | MemClass s w (α + β) (fun n => along (V n) (f n)) := by |
| 110 | have h := hV.bilinear hf.fderiv (ContinuousLinearMap.apply ℝ E) |
| 111 | simp only [one_mul, add_comm β α, ContinuousLinearMap.apply_apply] at h |
| 112 | exact h |
| 113 | |
| 114 | theorem bandBound_const (s : StripData D) (c : ℝ) : BandBound s 0 (fun _ => c) := by |
| 115 | refine ⟨‖c‖, norm_nonneg c, 0, ?_⟩ |
| 116 | intro n |
| 117 | simp |
| 118 | |
| 119 | /-- Actual geometric coefficient fields, rather than assumed derivative closure. -/ |
| 120 | structure Geometry (s : StripData D) (κ : ℝ) where |
| 121 | radius : ℕ → D → ℝ |
| 122 | radial : ℕ → D → D |
| 123 | angular : ℕ → D → D |
| 124 | axial : ℕ → D → D |
| 125 | radius_pos : ∀ n x, x ∈ s.domain → 0 < radius n x |
| 126 | radial_class : UnweightedClass s (-κ) radial |
| 127 | axial_class : UnweightedClass s 1 axial |
| 128 | inverse_radius_class : UnweightedClass s 0 (fun n x => (radius n x)⁻¹) |
| 129 | |
| 130 | theorem graph_vector_class {s : StripData D} {κ : ℝ} {M : ℕ → ℝ} {a : D → ℝ} |
| 131 | (hκ : 0 ≤ κ) (hM : BandBound s (-κ) M) |
| 132 | (ha : UnweightedClass s 0 (fun _ => a)) (e v : D) : |
| 133 | UnweightedClass s (-κ) (fun n x => e + M n • (a x • v)) := by |
| 134 | have he := (unweighted_const s e).mono_exponent (neg_nonpos.mpr hκ) |
| 135 | have hav : UnweightedClass s 0 (fun _ x => a x • v) := by |
| 136 | unfold UnweightedClass |
| 137 | simpa only [one_mul, zero_add] using MemClass.smul ha (unweighted_const s v) |
| 138 | have hmv : UnweightedClass s (-κ) (fun n x => M n • (a x • v)) := by |
| 139 | unfold UnweightedClass |
| 140 | simpa only [zero_add] using hav.band_smul hM |
| 141 | exact he.add hmv |
| 142 | |
| 143 | theorem axial_vector_class (s : StripData D) (v : D) : |
| 144 | UnweightedClass s 1 (fun n _ => s.epsilon n • v) := by |
| 145 | unfold UnweightedClass |
| 146 | simpa only [zero_add, Real.rpow_one] using (unweighted_const s v).band_smul (bandBound_rpow s 1) |
| 147 | |
| 148 | abbrev Family (D : Type*) := ℕ → D → ComplexVector |
| 149 | |
| 150 | def WaveVector (s : StripData D) (P : ℕ → D → ℝ) (α : ℝ) (a : Family D) : Prop := |
| 151 | ∀ i, WaveClass s P α (fun n x => a n x i) |
| 152 | |
| 153 | def MeanVector (s : StripData D) (μ : ℝ) (a : Family D) : Prop := |
| 154 | MeanClass s (μ + 1) (fun n x => a n x 0) ∧ |
| 155 | MeanClass s μ (fun n x => a n x 1) ∧ MeanClass s μ (fun n x => a n x 2) |
| 156 | |
| 157 | theorem meanVector_component {s : StripData D} {μ : ℝ} {a : Family D} |
| 158 | (ha : MeanVector s μ a) (i : Fin 3) : MeanClass s μ (fun n x => a n x i) := by |
| 159 | fin_cases i |
| 160 | · exact ha.1.mono_exponent (by linarith) |
| 161 | · exact ha.2.1 |
| 162 | · exact ha.2.2 |
| 163 | |
| 164 | def AngularIndependent {s : StripData D} {κ : ℝ} (G : Geometry s κ) (a : Family D) : Prop := |
| 165 | ∀ n i x, x ∈ s.domain → along (G.angular n) (fun y => a n y i) x = 0 |
| 166 | |
| 167 | noncomputable def strippedTransport {s : StripData D} {κ : ℝ} |
| 168 | (G : Geometry s κ) (a b : Family D) : Family D := fun n x i => |
| 169 | a n x 0 * along (G.radial n) (fun y => b n y i) x + |
| 170 | (a n x 1 / (G.radius n x : ℂ)) * angularGenerator (b n x) i + |
| 171 | a n x 2 * along (G.axial n) (fun y => b n y i) x |
| 172 | |
| 173 | theorem transport_eq_stripped {s : StripData D} {κ : ℝ} (G : Geometry s κ) |
| 174 | (a b : Family D) (hb : AngularIndependent G b) (n : ℕ) {x : D} (hx : x ∈ s.domain) : |
| 175 | LinearWaveResidual.transport (G.radius n) (G.radial n) (G.angular n) (G.axial n) |
| 176 | (a n) (b n) x = strippedTransport G a b n x := by |
| 177 | funext i |
| 178 | simp only [LinearWaveResidual.transport, hb n i x hx, zero_add, strippedTransport] |
| 179 | |
| 180 | theorem generator_class {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} {a : Family D} |
| 181 | (ha : ∀ i, MemClass s w α (fun n x => a n x i)) (i : Fin 3) : |
| 182 | MemClass s w α (fun n x => angularGenerator (a n x) i) := by |
| 183 | fin_cases i |
| 184 | · exact class_neg (ha 1) |
| 185 | · exact ha 0 |
| 186 | · exact MemClass.zero (ha 0).weight_nonneg |
| 187 | |
| 188 | theorem inverse_radius_complex {s : StripData D} {κ : ℝ} (G : Geometry s κ) : |
| 189 | UnweightedClass s 0 (fun n x => ((G.radius n x : ℂ))⁻¹) := by |
| 190 | unfold UnweightedClass |
| 191 | simpa only [Complex.ofRealCLM_apply, Complex.ofReal_inv] using |
| 192 | G.inverse_radius_class.map Complex.ofRealCLM |
| 193 | |
| 194 | theorem class_div_radius {s : StripData D} {w : ℕ → D → ℝ} {α κ : ℝ} |
| 195 | (G : Geometry s κ) {f : ℕ → D → ℂ} (hf : MemClass s w α f) : |
| 196 | MemClass s w α (fun n x => f n x / (G.radius n x : ℂ)) := by |
| 197 | simpa only [zero_add, div_eq_mul_inv, mul_comm] using |
| 198 | unweighted_cmul (inverse_radius_complex G) hf |
| 199 | |
| 200 | theorem strippedTransport_class {s : StripData D} {w v : ℕ → D → ℝ} {α β κ : ℝ} |
| 201 | (G : Geometry s κ) (hκ : 0 ≤ κ) {a b : Family D} |
| 202 | (ha : ∀ i, MemClass s w α (fun n x => a n x i)) |
| 203 | (hb : ∀ i, MemClass s v β (fun n x => b n x i)) (i : Fin 3) : |
| 204 | MemClass s (fun n x => w n x * v n x) (α + β - κ) |
| 205 | (fun n x => strippedTransport G a b n x i) := by |
| 206 | have hr := class_cmul (ha 0) (class_along (hb i) G.radial_class) |
| 207 | have hr' : MemClass s (fun n x => w n x * v n x) (α + β - κ) |
| 208 | (fun n x => a n x 0 * along (G.radial n) (fun y => b n y i) x) := by |
| 209 | convert! hr using 1 |
| 210 | ring |
| 211 | have hc := class_cmul (class_div_radius G (ha 1)) (generator_class hb i) |
| 212 | have hc' := hc.mono_exponent (show α + β - κ ≤ α + β by linarith) |
| 213 | have hz := class_cmul (ha 2) (class_along (hb i) G.axial_class) |
| 214 | have hz' := hz.mono_exponent (show α + β - κ ≤ α + (β + 1) by linarith) |
| 215 | exact (hr'.add hc').add hz' |
| 216 | |
| 217 | theorem strippedDivergence_class {s : StripData D} {w : ℕ → D → ℝ} {α κ : ℝ} |
| 218 | (G : Geometry s κ) (hκ : 0 ≤ κ) {a : Family D} |
| 219 | (ha : ∀ i, MemClass s w α (fun n x => a n x i)) : |
| 220 | MemClass s w (α - κ) |
| 221 | (fun n => strippedDivergence (G.radius n) (G.radial n) (G.axial n) (a n)) := by |
| 222 | have hr : MemClass s w (α - κ) |
| 223 | (fun n => along (G.radial n) (fun y => a n y 0)) := by |
| 224 | simpa only [sub_eq_add_neg] using class_along (ha 0) G.radial_class |
| 225 | have hc := (class_div_radius G (ha 0)).mono_exponent (show α - κ ≤ α by linarith) |
| 226 | have hz := (class_along (ha 2) G.axial_class).mono_exponent |
| 227 | (show α - κ ≤ α + 1 by linarith) |
| 228 | apply class_congr ((hr.add hc).add hz) |
| 229 | intro n x _ |
| 230 | simp only [strippedDivergence, Complex.real_smul, Complex.ofReal_inv, div_eq_mul_inv] |
| 231 | ring |
| 232 | |
| 233 | theorem mean_wave_weight {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} {f : ℕ → D → E} |
| 234 | (hf : MemClass s (fun n x => s.zeta x * (Real.sqrt (s.zeta x) * P n x)) α f) |
| 235 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 236 | (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) : WaveClass s P α f := by |
| 237 | apply hf.mono_weight (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP n x hx)) |
| 238 | intro n x hx |
| 239 | exact mul_le_of_le_one_left (mul_nonneg (Real.sqrt_nonneg _) (hP n x hx)) (hζ x hx) |
| 240 | |
| 241 | theorem wave_mean_weight {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} {f : ℕ → D → E} |
| 242 | (hf : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * s.zeta x) α f) |
| 243 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 244 | (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) : WaveClass s P α f := by |
| 245 | apply hf.mono_weight (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP n x hx)) |
| 246 | intro n x hx |
| 247 | exact mul_le_of_le_one_right (mul_nonneg (Real.sqrt_nonneg _) (hP n x hx)) (hζ x hx) |
| 248 | |
| 249 | theorem wave_square_weight_mean {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} |
| 250 | {f : ℕ → D → E} |
| 251 | (hf : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * |
| 252 | (Real.sqrt (s.zeta x) * P n x)) α f) |
| 253 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 254 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : MeanClass s α f := by |
| 255 | apply hf.mono_weight (fun _ x hx => s.zeta_nonneg x hx) |
| 256 | intro n x hx |
| 257 | have hP2 : P n x * P n x ≤ 1 := by nlinarith [hP0 n x hx, hP1 n x hx] |
| 258 | calc |
| 259 | _ = (Real.sqrt (s.zeta x)) ^ 2 * (P n x * P n x) := by ring |
| 260 | _ = s.zeta x * (P n x * P n x) := by rw [Real.sq_sqrt (s.zeta_nonneg x hx)] |
| 261 | _ ≤ s.zeta x * 1 := mul_le_mul_of_nonneg_left hP2 (s.zeta_nonneg x hx) |
| 262 | _ = _ := mul_one _ |
| 263 | |
| 264 | theorem wave_square_weight_wave {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} |
| 265 | {f : ℕ → D → E} |
| 266 | (hf : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * |
| 267 | (Real.sqrt (s.zeta x) * P n x)) α f) |
| 268 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 269 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 270 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : WaveClass s P α f := by |
| 271 | apply hf.mono_weight (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP0 n x hx)) |
| 272 | intro n x hx |
| 273 | have hs1 : Real.sqrt (s.zeta x) ≤ 1 := by |
| 274 | nlinarith [Real.sqrt_nonneg (s.zeta x), Real.sq_sqrt (s.zeta_nonneg x hx), hζ x hx] |
| 275 | have hw1 : Real.sqrt (s.zeta x) * P n x ≤ 1 := by |
| 276 | simpa only [one_mul] using mul_le_mul hs1 (hP1 n x hx) (hP0 n x hx) (by norm_num : (0 : ℝ) ≤ 1) |
| 277 | exact mul_le_of_le_one_right (mul_nonneg (Real.sqrt_nonneg _) (hP0 n x hx)) hw1 |
| 278 | |
| 279 | theorem mean_advects_stripped_wave {s : StripData D} {P : ℕ → D → ℝ} {α μ κ : ℝ} |
| 280 | (G : Geometry s κ) (hκ : κ ≤ 1) {m a : Family D} |
| 281 | (hm : MeanVector s μ m) (ha : WaveVector s P α a) |
| 282 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) (i : Fin 3) : |
| 283 | WaveClass s P (α + μ) (fun n x => strippedTransport G m a n x i) := by |
| 284 | have hr := mean_wave_cmul hm.1 (class_along (ha i) G.radial_class) hζ |
| 285 | have hr' := hr.mono_exponent (show α + μ ≤ μ + 1 + (α + -κ) by linarith) |
| 286 | have hc := mean_wave_cmul (class_div_radius G hm.2.1) (generator_class ha i) hζ |
| 287 | have hc' : WaveClass s P (α + μ) |
| 288 | (fun n x => m n x 1 / (G.radius n x : ℂ) * angularGenerator (a n x) i) := by |
| 289 | simpa only [add_comm μ α] using hc |
| 290 | have hz := mean_wave_cmul hm.2.2 (class_along (ha i) G.axial_class) hζ |
| 291 | have hz' := hz.mono_exponent (show α + μ ≤ μ + (α + 1) by linarith) |
| 292 | exact (hr'.add hc').add hz' |
| 293 | |
| 294 | theorem wave_advects_stripped_mean {s : StripData D} {P : ℕ → D → ℝ} {α μ κ : ℝ} |
| 295 | (G : Geometry s κ) (hκ : 0 ≤ κ) {m a : Family D} |
| 296 | (hm : MeanVector s μ m) (ha : WaveVector s P α a) |
| 297 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 298 | (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) (i : Fin 3) : |
| 299 | WaveClass s P (α + μ - κ) (fun n x => strippedTransport G a m n x i) := |
| 300 | wave_mean_weight (strippedTransport_class G hκ ha (meanVector_component hm) i) hζ hP |
| 301 | |
| 302 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 303 | theorem carrier_add (κ κ' : ℝ) (Φ : D → ℝ) (x : D) : |
| 304 | carrier κ Φ x * carrier κ' Φ x = carrier (κ + κ') Φ x := by |
| 305 | unfold carrier |
| 306 | rw [← Complex.exp_add] |
| 307 | congr 1 |
| 308 | simp only [phaseFactor, Complex.ofReal_add] |
| 309 | ring |
| 310 | |
| 311 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 312 | theorem carrier_zero (Φ : D → ℝ) (x : D) : carrier 0 Φ x = 1 := by |
| 313 | simp [carrier, phaseFactor] |
| 314 | |
| 315 | theorem transport_mode_left (R : D → ℝ) (Vr Vθ Vz : D → D) (κ : ℝ) |
| 316 | (Φ : D → ℝ) (a b : D → ComplexVector) (x : D) (i : Fin 3) : |
| 317 | LinearWaveResidual.transport R Vr Vθ Vz (vectorMode κ Φ a) b x i = |
| 318 | LinearWaveResidual.transport R Vr Vθ Vz a b x i * carrier κ Φ x := by |
| 319 | simp only [LinearWaveResidual.transport, vectorMode, mode] |
| 320 | ring |
| 321 | |
| 322 | theorem transport_mode_right (R : D → ℝ) (Vr Vθ Vz : D → D) (κ : ℝ) |
| 323 | {Φ : D → ℝ} (a : D → ComplexVector) {b : D → ComplexVector} {x : D} |
| 324 | (hΦ : DifferentiableAt ℝ Φ x) (hb : ∀ i, DifferentiableAt ℝ (fun y => b y i) x) |
| 325 | (i : Fin 3) : |
| 326 | LinearWaveResidual.transport R Vr Vθ Vz a (vectorMode κ Φ b) x i = |
| 327 | (LinearWaveResidual.transport R Vr Vθ Vz a b x i + |
| 328 | phaseFactor κ * normalDot (phaseNormal R Vr Vθ Vz Φ x) (a x) * b x i) * carrier κ Φ x := by |
| 329 | have hd (V : D → D) (j : Fin 3) : |
| 330 | along V (fun y => vectorMode κ Φ b y j) x = |
| 331 | (along V (fun y => b y j) x + phaseFactor κ * Complex.ofReal (along V Φ x) * b x j) * |
| 332 | carrier κ Φ x := along_mode V κ hΦ (hb j) |
| 333 | simp only [LinearWaveResidual.transport, hd] |
| 334 | fin_cases i <;> simp [angularGenerator, vectorMode, mode, normalDot, phaseNormal, div_eq_mul_inv] <;> ring |
| 335 | |
| 336 | /-- The exact phase-sum coefficient of the actual bilinear differential operator. -/ |
| 337 | theorem transport_modes (R : D → ℝ) (Vr Vθ Vz : D → D) (κ κ' : ℝ) |
| 338 | {Φ : D → ℝ} (a : D → ComplexVector) {b : D → ComplexVector} {x : D} |
| 339 | (hΦ : DifferentiableAt ℝ Φ x) (hb : ∀ i, DifferentiableAt ℝ (fun y => b y i) x) |
| 340 | (i : Fin 3) : |
| 341 | LinearWaveResidual.transport R Vr Vθ Vz (vectorMode κ Φ a) (vectorMode κ' Φ b) x i = |
| 342 | (LinearWaveResidual.transport R Vr Vθ Vz a b x i + |
| 343 | phaseFactor κ' * normalDot (phaseNormal R Vr Vθ Vz Φ x) (a x) * b x i) * |
| 344 | carrier (κ + κ') Φ x := by |
| 345 | rw [transport_mode_left, transport_mode_right R Vr Vθ Vz κ' a hΦ hb, |
| 346 | ← carrier_add] |
| 347 | ring |
| 348 | |
| 349 | theorem normalDot_class {s : StripData D} {w : ℕ → D → ℝ} {α : ℝ} |
| 350 | {N : ℕ → D → EuclideanSpace ℝ (Fin 3)} {a : Family D} |
| 351 | (hN : ∀ i, UnweightedClass s 0 (fun n x => N n x i)) |
| 352 | (ha : ∀ i, MemClass s w α (fun n x => a n x i)) : |
| 353 | MemClass s w α (fun n x => normalDot (N n x) (a n x)) := by |
| 354 | have h i : MemClass s w α (fun n x => (N n x i : ℂ) * a n x i) := by |
| 355 | simpa only [zero_add, Complex.ofRealCLM_apply] using |
| 356 | unweighted_cmul ((hN i).map Complex.ofRealCLM) (ha i) |
| 357 | exact ((h 0).add (h 1)).add (h 2) |
| 358 | |
| 359 | theorem phaseFactor_class {s : StripData D} {w : ℕ → D → ℝ} {α β : ℝ} |
| 360 | {ν : ℕ → ℝ} {f : ℕ → D → ℂ} (hf : MemClass s w α f) (hν : BandBound s β ν) : |
| 361 | MemClass s w (α + β) (fun n x => phaseFactor (ν n) * f n x) := by |
| 362 | apply class_congr ((class_const_cmul hf Complex.I).band_smul hν) |
| 363 | intro n x _ |
| 364 | simp only [phaseFactor, Complex.real_smul] |
| 365 | ring |
| 366 | |
| 367 | noncomputable def waveMeanCoefficient {s : StripData D} {κ : ℝ} (G : Geometry s κ) |
| 368 | (Φ : ℕ → D → ℝ) (ν : ℕ → ℝ) (m a : Family D) : Family D := fun n x i => |
| 369 | strippedTransport G m a n x i + strippedTransport G a m n x i + |
| 370 | phaseFactor (ν n) * normalDot |
| 371 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (m n x) * a n x i |
| 372 | |
| 373 | /-- Both cross-advections, with the radial mean improvement explicitly used. -/ |
| 374 | theorem wave_mean_bound {s : StripData D} {P : ℕ → D → ℝ} {α μ κ : ℝ} |
| 375 | (G : Geometry s κ) (hκ0 : 0 ≤ κ) (hκ1 : κ ≤ 1 / 2) |
| 376 | {Φ : ℕ → D → ℝ} {ν : ℕ → ℝ} {m a : Family D} |
| 377 | (hm : MeanVector s μ m) (ha : WaveVector s P α a) |
| 378 | (hN : ∀ i, UnweightedClass s 0 (fun n x => |
| 379 | phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x i)) |
| 380 | (hν : BandBound s (-(1 / 2)) ν) |
| 381 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 382 | (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) : |
| 383 | WaveVector s P (α + μ - 1 / 2) (waveMeanCoefficient G Φ ν m a) := by |
| 384 | intro i |
| 385 | have hma := (mean_advects_stripped_wave G (by linarith) hm ha hζ i).mono_exponent |
| 386 | (show α + μ - 1 / 2 ≤ α + μ by linarith) |
| 387 | have ham := (wave_advects_stripped_mean G hκ0 hm ha hζ hP i).mono_exponent |
| 388 | (show α + μ - 1 / 2 ≤ α + μ - κ by linarith) |
| 389 | have hdot := normalDot_class hN (meanVector_component hm) |
| 390 | have hfreq := phaseFactor_class hdot hν |
| 391 | have hphase := mean_wave_cmul hfreq (ha i) hζ |
| 392 | have hphase' : WaveClass s P (α + μ - 1 / 2) (fun n x => |
| 393 | phaseFactor (ν n) * normalDot |
| 394 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (m n x) * a n x i) := by |
| 395 | convert! hphase using 1 |
| 396 | ring |
| 397 | exact (hma.add ham).add hphase' |
| 398 | |
| 399 | theorem wave_mean_identity {s : StripData D} {κ : ℝ} (G : Geometry s κ) |
| 400 | (Φ : ℕ → D → ℝ) (ν : ℕ → ℝ) (m a : Family D) |
| 401 | (hmθ : AngularIndependent G m) (haθ : AngularIndependent G a) |
| 402 | (n : ℕ) {x : D} (hx : x ∈ s.domain) (hΦ : DifferentiableAt ℝ (Φ n) x) |
| 403 | (ha : ∀ i, DifferentiableAt ℝ (fun y => a n y i) x) (i : Fin 3) : |
| 404 | LinearWaveResidual.transport (G.radius n) (G.radial n) (G.angular n) (G.axial n) |
| 405 | (m n) (vectorMode (ν n) (Φ n) (a n)) x i + |
| 406 | LinearWaveResidual.transport (G.radius n) (G.radial n) (G.angular n) (G.axial n) |
| 407 | (vectorMode (ν n) (Φ n) (a n)) (m n) x i = |
| 408 | waveMeanCoefficient G Φ ν m a n x i * carrier (ν n) (Φ n) x := by |
| 409 | rw [transport_mode_right _ _ _ _ _ _ hΦ ha, transport_mode_left, |
| 410 | transport_eq_stripped G m a haθ n hx, transport_eq_stripped G a m hmθ n hx] |
| 411 | unfold waveMeanCoefficient |
| 412 | ring |
| 413 | |
| 414 | theorem phaseFactor_ratio (ν ξ : ℝ) (hν : ν ≠ 0) : |
| 415 | ((ξ / ν : ℝ) : ℂ) * phaseFactor ν = phaseFactor ξ := by |
| 416 | have hc : (ν : ℂ) ≠ 0 := by exact_mod_cast hν |
| 417 | simp only [phaseFactor, Complex.ofReal_div] |
| 418 | field_simp |
| 419 | |
| 420 | /-- The exact divergence cancellation, before taking any norm or any jet. -/ |
| 421 | theorem switched_longitudinal (R : D → ℝ) (Vr Vθ Vz : D → D) (ν ξ : ℝ) |
| 422 | (hν : ν ≠ 0) {Φ : D → ℝ} {a : D → ComplexVector} {x : D} |
| 423 | (hΦ : DifferentiableAt ℝ Φ x) (ha : ∀ i, DifferentiableAt ℝ (fun y => a y i) x) |
| 424 | (haθ : along Vθ (fun y => a y 1) x = 0) |
| 425 | (hdiv : cylindricalDivergence R Vr Vθ Vz (vectorMode ν Φ a) x = 0) : |
| 426 | phaseFactor ξ * normalDot (phaseNormal R Vr Vθ Vz Φ x) (a x) = |
| 427 | (ξ / ν) • (-strippedDivergence R Vr Vz a x) := by |
| 428 | rw [← phaseFactor_ratio ν ξ hν, mul_assoc, |
| 429 | longitudinal_identity R Vr Vθ Vz ν hΦ ha haθ hdiv] |
| 430 | rfl |
| 431 | |
| 432 | noncomputable def sameCoefficient {s : StripData D} {κ : ℝ} (G : Geometry s κ) |
| 433 | (Φ : ℕ → D → ℝ) (ξ : ℕ → ℝ) (a b : Family D) : Family D := fun n x i => |
| 434 | strippedTransport G a b n x i + phaseFactor (ξ n) * normalDot |
| 435 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (a n x) * b n x i |
| 436 | |
| 437 | theorem same_label_identity {s : StripData D} {κ : ℝ} (G : Geometry s κ) |
| 438 | (Φ : ℕ → D → ℝ) (ν ξ : ℕ → ℝ) (a b : Family D) |
| 439 | (hbθ : AngularIndependent G b) (n : ℕ) {x : D} (hx : x ∈ s.domain) |
| 440 | (hΦ : DifferentiableAt ℝ (Φ n) x) |
| 441 | (hb : ∀ i, DifferentiableAt ℝ (fun y => b n y i) x) (i : Fin 3) : |
| 442 | LinearWaveResidual.transport (G.radius n) (G.radial n) (G.angular n) (G.axial n) |
| 443 | (vectorMode (ν n) (Φ n) (a n)) (vectorMode (ξ n) (Φ n) (b n)) x i = |
| 444 | sameCoefficient G Φ ξ a b n x i * carrier (ν n + ξ n) (Φ n) x := by |
| 445 | rw [transport_modes _ _ _ _ _ _ _ hΦ hb, |
| 446 | transport_eq_stripped G a b hbθ n hx] |
| 447 | rfl |
| 448 | |
| 449 | /-- All derivatives of the longitudinal contraction are estimated through |
| 450 | the actual divergence identity, including derivatives of the phase normal. -/ |
| 451 | theorem same_label_raw_bound {s : StripData D} {P : ℕ → D → ℝ} {α β κ : ℝ} |
| 452 | (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {ν ξ : ℕ → ℝ} |
| 453 | {a b : Family D} (ha : WaveVector s P α a) (hb : WaveVector s P β b) |
| 454 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hν : ∀ n, ν n ≠ 0) |
| 455 | (hratio : BandBound s 0 (fun n => ξ n / ν n)) |
| 456 | (haθ : AngularIndependent G a) |
| 457 | (hdiv : ∀ n x, x ∈ s.domain → cylindricalDivergence |
| 458 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) (vectorMode (ν n) (Φ n) (a n)) x = 0) |
| 459 | (i : Fin 3) : |
| 460 | MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * |
| 461 | (Real.sqrt (s.zeta x) * P n x)) (α + β - κ) |
| 462 | (fun n x => sameCoefficient G Φ ξ a b n x i) := by |
| 463 | have hs := strippedDivergence_class G hκ ha |
| 464 | have hsw : WaveClass s P (α - κ) (fun n x => |
| 465 | (ξ n / ν n) • (-strippedDivergence (G.radius n) (G.radial n) (G.axial n) (a n) x)) := by |
| 466 | unfold WaveClass |
| 467 | simpa only [add_zero] using (class_neg hs).band_smul hratio |
| 468 | have hprod := class_cmul hsw (hb i) |
| 469 | have hprod' : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * |
| 470 | (Real.sqrt (s.zeta x) * P n x)) (α + β - κ) (fun n x => |
| 471 | ((ξ n / ν n) • (-strippedDivergence (G.radius n) (G.radial n) (G.axial n) (a n) x)) * b n x i) := by |
| 472 | convert! hprod using 1 |
| 473 | ring |
| 474 | have hp : MemClass s (fun n x => (Real.sqrt (s.zeta x) * P n x) * |
| 475 | (Real.sqrt (s.zeta x) * P n x)) (α + β - κ) (fun n x => |
| 476 | phaseFactor (ξ n) * normalDot |
| 477 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (a n x) * b n x i) := by |
| 478 | apply class_congr hprod' |
| 479 | intro n x hx |
| 480 | have hp := ((hΦ n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 481 | have hd j := (((ha j).smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 482 | dsimp only |
| 483 | rw [switched_longitudinal _ _ _ _ (ν n) (ξ n) (hν n) hp hd (haθ n 1 x hx) (hdiv n x hx)] |
| 484 | exact (strippedTransport_class G hκ ha hb i).add hp |
| 485 | |
| 486 | theorem same_label_wave_bound {s : StripData D} {P : ℕ → D → ℝ} {α β κ : ℝ} |
| 487 | (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {ν ξ : ℕ → ℝ} |
| 488 | {a b : Family D} (ha : WaveVector s P α a) (hb : WaveVector s P β b) |
| 489 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hν : ∀ n, ν n ≠ 0) |
| 490 | (hratio : BandBound s 0 (fun n => ξ n / ν n)) (haθ : AngularIndependent G a) |
| 491 | (hdiv : ∀ n x, x ∈ s.domain → cylindricalDivergence |
| 492 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) (vectorMode (ν n) (Φ n) (a n)) x = 0) |
| 493 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 494 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 495 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 496 | WaveVector s P (α + β - κ) (sameCoefficient G Φ ξ a b) := by |
| 497 | intro i |
| 498 | exact wave_square_weight_wave (same_label_raw_bound G hκ ha hb hΦ hν hratio haθ hdiv i) hζ hP0 hP1 |
| 499 | |
| 500 | theorem same_label_mean_bound {s : StripData D} {P : ℕ → D → ℝ} {α β κ : ℝ} |
| 501 | (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {ν ξ : ℕ → ℝ} |
| 502 | {a b : Family D} (ha : WaveVector s P α a) (hb : WaveVector s P β b) |
| 503 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hν : ∀ n, ν n ≠ 0) |
| 504 | (hratio : BandBound s 0 (fun n => ξ n / ν n)) (haθ : AngularIndependent G a) |
| 505 | (hdiv : ∀ n x, x ∈ s.domain → cylindricalDivergence |
| 506 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) (vectorMode (ν n) (Φ n) (a n)) x = 0) |
| 507 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 508 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) (i : Fin 3) : |
| 509 | MeanClass s (α + β - κ) (fun n x => sameCoefficient G Φ ξ a b n x i) := |
| 510 | wave_square_weight_mean (same_label_raw_bound G hκ ha hb hΦ hν hratio haθ hdiv i) hP0 hP1 |
| 511 | |
| 512 | theorem int_abs_cast_one_le {j : ℤ} (hj : j ≠ 0) : (1 : ℝ) ≤ |(j : ℝ)| := by |
| 513 | have hpos : (0 : ℤ) < |j| := abs_pos.mpr hj |
| 514 | have hone : (1 : ℤ) ≤ |j| := by omega |
| 515 | exact_mod_cast hone |
| 516 | |
| 517 | theorem harmonic_ratio_bound {j l : ℤ} {M : ℝ} (hj : j ≠ 0) |
| 518 | (hM : 0 ≤ M) (hl : |(l : ℝ)| ≤ M) : |(l : ℝ) / (j : ℝ)| ≤ M := by |
| 519 | have hj1 := int_abs_cast_one_le hj |
| 520 | rw [abs_div] |
| 521 | apply (div_le_iff₀ (lt_of_lt_of_le (by norm_num : (0 : ℝ) < 1) hj1)).mpr |
| 522 | exact hl.trans (le_mul_of_one_le_right hM hj1) |
| 523 | |
| 524 | theorem bandBound_harmonic_ratio (s : StripData D) {j l : ℕ → ℤ} {M : ℝ} |
| 525 | (hj : ∀ n, j n ≠ 0) (hM : 0 ≤ M) (hl : ∀ n, |(l n : ℝ)| ≤ M) : |
| 526 | BandBound s 0 (fun n => (l n : ℝ) / (j n : ℝ)) := by |
| 527 | refine ⟨M, hM, 0, ?_⟩ |
| 528 | intro n |
| 529 | simpa only [Real.norm_eq_abs, Real.rpow_zero, pow_zero, mul_one] using |
| 530 | harmonic_ratio_bound (hj n) hM (hl n) |
| 531 | |
| 532 | theorem frequency_ratio {k : ℝ} (hk : k ≠ 0) {j : ℤ} (hj : j ≠ 0) (l : ℤ) : |
| 533 | (k * (l : ℝ)) / (k * (j : ℝ)) = (l : ℝ) / (j : ℝ) := by |
| 534 | have hj' : (j : ℝ) ≠ 0 := by exact_mod_cast hj |
| 535 | field_simp |
| 536 | |
| 537 | theorem bandBound_frequency_ratio (s : StripData D) {k : ℕ → ℝ} {j l : ℕ → ℤ} {M : ℝ} |
| 538 | (hk : ∀ n, k n ≠ 0) (hj : ∀ n, j n ≠ 0) (hM : 0 ≤ M) |
| 539 | (hl : ∀ n, |(l n : ℝ)| ≤ M) : |
| 540 | BandBound s 0 (fun n => (k n * (l n : ℝ)) / (k n * (j n : ℝ))) := by |
| 541 | simpa only [frequency_ratio (hk _) (hj _)] using bandBound_harmonic_ratio s hj hM hl |
| 542 | |
| 543 | theorem bandBound_frequency {s : StripData D} {β : ℝ} {k : ℕ → ℝ} {j : ℕ → ℤ} {M : ℝ} |
| 544 | (hk : BandBound s β k) (hM : 0 ≤ M) (hj : ∀ n, |(j n : ℝ)| ≤ M) : |
| 545 | BandBound s β (fun n => k n * (j n : ℝ)) := by |
| 546 | obtain ⟨C, hC, p, h⟩ := hk |
| 547 | refine ⟨C * M, mul_nonneg hC hM, p, ?_⟩ |
| 548 | intro n |
| 549 | rw [norm_mul] |
| 550 | have hnonneg : 0 ≤ C * s.epsilon n ^ β * s.slow n ^ p := |
| 551 | mul_nonneg (mul_nonneg hC (Real.rpow_pos_of_pos (s.epsilon_pos n) β).le) |
| 552 | (pow_nonneg (zero_le_one.trans (s.one_le_slow n)) p) |
| 553 | calc |
| 554 | _ ≤ (C * s.epsilon n ^ β * s.slow n ^ p) * M := |
| 555 | mul_le_mul (h n) (by simpa only [Real.norm_eq_abs] using hj n) (norm_nonneg _) hnonneg |
| 556 | _ = _ := by ring |
| 557 | |
| 558 | /-- Fixed-stage frequency growth is finite and independent of the band. -/ |
| 559 | theorem harmonic_stage_add {j l : ℤ} {M : ℝ} (stage : ℕ) |
| 560 | (hj : |(j : ℝ)| ≤ 2 ^ stage * M) (hl : |(l : ℝ)| ≤ 2 ^ stage * M) : |
| 561 | |((j + l : ℤ) : ℝ)| ≤ 2 ^ (stage + 1) * M := by |
| 562 | rw [Int.cast_add] |
| 563 | calc |
| 564 | _ ≤ |(j : ℝ)| + |(l : ℝ)| := abs_add_le _ _ |
| 565 | _ ≤ 2 ^ stage * M + 2 ^ stage * M := add_le_add hj hl |
| 566 | _ = _ := by rw [pow_succ]; ring |
| 567 | |
| 568 | theorem harmonic_stage_neg {j : ℤ} {M : ℝ} (stage : ℕ) |
| 569 | (hj : |(j : ℝ)| ≤ 2 ^ stage * M) : |((-j : ℤ) : ℝ)| ≤ 2 ^ stage * M := by |
| 570 | simpa only [Int.cast_neg, abs_neg] using hj |
| 571 | |
| 572 | noncomputable def conjugateFamily (a : Family D) : Family D := fun n x i => star (a n x i) |
| 573 | |
| 574 | theorem conjugate_wave {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} {a : Family D} |
| 575 | (ha : WaveVector s P α a) : WaveVector s P α (conjugateFamily a) := |
| 576 | fun i => class_conj (ha i) |
| 577 | |
| 578 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 579 | theorem carrier_neg (ν : ℝ) (Φ : D → ℝ) (x : D) : carrier (-ν) Φ x = star (carrier ν Φ x) := by |
| 580 | change Complex.exp (phaseFactor (-ν) * (Φ x : ℂ)) = (starRingEnd ℂ) (Complex.exp (phaseFactor ν * (Φ x : ℂ))) |
| 581 | rw [← Complex.exp_conj] |
| 582 | congr 1 |
| 583 | simp only [phaseFactor, map_mul, Complex.conj_ofReal, Complex.conj_I, Complex.ofReal_neg] |
| 584 | ring |
| 585 | |
| 586 | omit [NormedAddCommGroup D] [NormedSpace ℝ D] in |
| 587 | theorem vectorMode_conjugate (ν : ℝ) (Φ : D → ℝ) (a : D → ComplexVector) (x : D) (i : Fin 3) : |
| 588 | vectorMode (-ν) Φ (fun y j => star (a y j)) x i = star (vectorMode ν Φ a x i) := by |
| 589 | simp [vectorMode, mode, carrier_neg, star_mul, mul_comm] |
| 590 | |
| 591 | theorem opposite_identity {s : StripData D} {κ : ℝ} (G : Geometry s κ) |
| 592 | (Φ : ℕ → D → ℝ) (ν : ℕ → ℝ) (a b : Family D) |
| 593 | (hbθ : AngularIndependent G b) (n : ℕ) {x : D} (hx : x ∈ s.domain) |
| 594 | (hΦ : DifferentiableAt ℝ (Φ n) x) |
| 595 | (hb : ∀ i, DifferentiableAt ℝ (fun y => b n y i) x) (i : Fin 3) : |
| 596 | LinearWaveResidual.transport (G.radius n) (G.radial n) (G.angular n) (G.axial n) |
| 597 | (vectorMode (ν n) (Φ n) (a n)) (vectorMode (-(ν n)) (Φ n) (b n)) x i = |
| 598 | sameCoefficient G Φ (fun n => -(ν n)) a b n x i := by |
| 599 | rw [same_label_identity G Φ ν (fun n => -(ν n)) a b hbθ n hx hΦ hb, |
| 600 | add_neg_cancel, carrier_zero, mul_one] |
| 601 | |
| 602 | theorem opposite_mean_bound {s : StripData D} {P : ℕ → D → ℝ} {α β κ : ℝ} |
| 603 | (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {ν : ℕ → ℝ} {a b : Family D} |
| 604 | (ha : WaveVector s P α a) (hb : WaveVector s P β b) |
| 605 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hν : ∀ n, ν n ≠ 0) |
| 606 | (haθ : AngularIndependent G a) |
| 607 | (hdiv : ∀ n x, x ∈ s.domain → cylindricalDivergence |
| 608 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) (vectorMode (ν n) (Φ n) (a n)) x = 0) |
| 609 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 610 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) (i : Fin 3) : |
| 611 | MeanClass s (α + β - κ) (fun n x => sameCoefficient G Φ (fun n => -(ν n)) a b n x i) := by |
| 612 | have hr : BandBound s 0 (fun n => -(ν n) / ν n) := by |
| 613 | simpa only [neg_div, div_self (hν _)] using bandBound_const s (-1) |
| 614 | exact same_label_mean_bound G hκ ha hb hΦ hν hr haθ hdiv hP0 hP1 i |
| 615 | |
| 616 | theorem conjugate_opposite_mean_bound {s : StripData D} {P : ℕ → D → ℝ} {α β κ : ℝ} |
| 617 | (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {ν : ℕ → ℝ} {a b : Family D} |
| 618 | (ha : WaveVector s P α a) (hb : WaveVector s P β b) |
| 619 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hν : ∀ n, ν n ≠ 0) |
| 620 | (haθ : AngularIndependent G a) |
| 621 | (hdiv : ∀ n x, x ∈ s.domain → cylindricalDivergence |
| 622 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) (vectorMode (ν n) (Φ n) (a n)) x = 0) |
| 623 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 624 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) (i : Fin 3) : |
| 625 | MeanClass s (α + β - κ) (fun n x => |
| 626 | (sameCoefficient G Φ (fun n => -(ν n)) a (conjugateFamily b) n x i).re) := |
| 627 | (opposite_mean_bound G hκ ha (conjugate_wave hb) hΦ hν haθ hdiv hP0 hP1 i).map Complex.reCLM |
| 628 | |
| 629 | theorem finite_wave_sum {s : StripData D} {P : ℕ → D → ℝ} {α : ℝ} |
| 630 | {ι : Type*} (t : Finset ι) (a : ι → Family D) |
| 631 | (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 632 | (ha : ∀ j ∈ t, WaveVector s P α (a j)) : |
| 633 | WaveVector s P α (fun n x i => ∑ j ∈ t, a j n x i) := by |
| 634 | intro i |
| 635 | exact MemClass.sum t (fun j n x => a j n x i) |
| 636 | (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hP n x hx)) (fun j hj => ha j hj i) |
| 637 | |
| 638 | /-- A nonzero integer first harmonic and a bounded second harmonic give |
| 639 | the precise uniform ratio needed by the divergence cancellation. -/ |
| 640 | theorem same_label_harmonic_bound {s : StripData D} {P : ℕ → D → ℝ} {α β κ M : ℝ} |
| 641 | (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {k : ℕ → ℝ} {j l : ℕ → ℤ} |
| 642 | {a b : Family D} (ha : WaveVector s P α a) (hb : WaveVector s P β b) |
| 643 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hk : ∀ n, k n ≠ 0) |
| 644 | (hj : ∀ n, j n ≠ 0) (hM : 0 ≤ M) (hl : ∀ n, |(l n : ℝ)| ≤ M) |
| 645 | (haθ : AngularIndependent G a) |
| 646 | (hdiv : ∀ n x, x ∈ s.domain → cylindricalDivergence |
| 647 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) |
| 648 | (vectorMode (k n * (j n : ℝ)) (Φ n) (a n)) x = 0) |
| 649 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 650 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 651 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 652 | WaveVector s P (α + β - κ) |
| 653 | (sameCoefficient G Φ (fun n => k n * (l n : ℝ)) a b) := by |
| 654 | apply same_label_wave_bound G hκ ha hb hΦ |
| 655 | (fun n => mul_ne_zero (hk n) (by exact_mod_cast hj n)) |
| 656 | (bandBound_frequency_ratio s hk hj hM hl) haθ hdiv hζ hP0 hP1 |
| 657 | |
| 658 | /-- Vanishing of a product on an open set forces the differentiated second |
| 659 | factor to vanish wherever the first factor is nonzero. -/ |
| 660 | theorem mul_along_zero {U : Set D} (hU : IsOpen U) {f g : D → ℂ} {x : D} |
| 661 | (hx : x ∈ U) (hf : ContinuousAt f x) |
| 662 | (hfg : ∀ y ∈ U, f y * g y = 0) (V : D → D) : f x * along V g x = 0 := by |
| 663 | by_cases hz : f x = 0 |
| 664 | · simp [hz] |
| 665 | have hfnz : ∀ᶠ y in 𝓝 x, f y ≠ 0 := hf.eventually_ne hz |
| 666 | have hgn : g =ᶠ[𝓝 x] (fun _ => 0) := by |
| 667 | filter_upwards [hfnz, hU.mem_nhds hx] with y hfy hy |
| 668 | exact (mul_eq_zero.mp (hfg y hy)).resolve_left hfy |
| 669 | unfold along |
| 670 | rw [hgn.fderiv_eq] |
| 671 | simp |
| 672 | |
| 673 | theorem transport_zero_of_products {U : Set D} (hU : IsOpen U) |
| 674 | (R : D → ℝ) (Vr Vθ Vz : D → D) {a b : D → ComplexVector} |
| 675 | (ha : ∀ i, ContinuousOn (fun y => a y i) U) |
| 676 | (hab : ∀ i j y, y ∈ U → a y i * b y j = 0) {x : D} (hx : x ∈ U) : |
| 677 | LinearWaveResidual.transport R Vr Vθ Vz a b x = 0 := by |
| 678 | funext i |
| 679 | have hr := mul_along_zero hU hx ((ha 0 x hx).continuousAt (hU.mem_nhds hx)) (hab 0 i) Vr |
| 680 | have hθ := mul_along_zero hU hx ((ha 1 x hx).continuousAt (hU.mem_nhds hx)) (hab 1 i) Vθ |
| 681 | have hz := mul_along_zero hU hx ((ha 2 x hx).continuousAt (hU.mem_nhds hx)) (hab 2 i) Vz |
| 682 | have hc : a x 1 * angularGenerator (b x) i = 0 := by |
| 683 | fin_cases i |
| 684 | · change a x 1 * (-b x 1) = 0 |
| 685 | rw [mul_neg, hab 1 1 x hx, neg_zero] |
| 686 | · change a x 1 * b x 0 = 0 |
| 687 | exact hab 1 0 x hx |
| 688 | · change a x 1 * 0 = 0 |
| 689 | exact mul_zero _ |
| 690 | change _ = (0 : ℂ) |
| 691 | calc |
| 692 | _ = a x 0 * along Vr (fun y => b y i) x + |
| 693 | (a x 1 * along Vθ (fun y => b y i) x + a x 1 * angularGenerator (b x) i) / (R x : ℂ) + |
| 694 | a x 2 * along Vz (fun y => b y i) x := by unfold LinearWaveResidual.transport; ring |
| 695 | _ = 0 := by rw [hr, hθ, hc, hz]; simp |
| 696 | |
| 697 | theorem cross_transport_every_class {s : StripData D} {P : ℕ → D → ℝ} {γ κ : ℝ} |
| 698 | (G : Geometry s κ) {a b : Family D} |
| 699 | (ha : ∀ n i, ContinuousOn (fun y => a n y i) s.domain) |
| 700 | (hab : ∀ n i j x, x ∈ s.domain → a n x i * b n x j = 0) |
| 701 | (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) : |
| 702 | WaveVector s P γ (fun n => LinearWaveResidual.transport |
| 703 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) (a n) (b n)) := by |
| 704 | intro i |
| 705 | apply class_congr (MemClass.zero |
| 706 | (fun n x hx => mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hP n x hx))) |
| 707 | intro n x hx |
| 708 | have h := transport_zero_of_products s.isOpen_domain (G.radius n) |
| 709 | (G.radial n) (G.angular n) (G.axial n) (ha n) (hab n) hx |
| 710 | exact (congrFun h i).symm |
| 711 | |
| 712 | theorem slot_complex_product_zero {d h : ℝ} {vr vt : PartitionedCovariance.Plane} |
| 713 | (sys : PartitionedCovariance.SlotSystem d h vr vt) |
| 714 | {L M : SlotColoring.Label} (hL : 1 ≤ L.1) (hM : 1 ≤ M.1) (hne : L ≠ M) |
| 715 | {f g : PartitionedCovariance.Plane → ℝ} |
| 716 | (hf : Function.support f ⊆ PartitionedCovariance.slotSet h sys.radius vr vt L) |
| 717 | (hg : Function.support g ⊆ PartitionedCovariance.slotSet h sys.radius vr vt M) |
| 718 | {q : ℝ} (hq : 0 < q) (x : SlotColoring.Position) (Y : PartitionedCovariance.Plane) |
| 719 | (a b : ℂ) : |
| 720 | (((PartitionedCovariance.physicalMask d L q x * |
| 721 | PartitionedCovariance.covered (SlotColoring.nativeIndex h L.1) f Y : ℝ) : ℂ) * a) * |
| 722 | (((PartitionedCovariance.physicalMask d M q x * |
| 723 | PartitionedCovariance.covered (SlotColoring.nativeIndex h M.1) g Y : ℝ) : ℂ) * b) = 0 := by |
| 724 | have hz := sys.cross_product_zero hL hM hne hf hg hq x Y |
| 725 | have hc : ((PartitionedCovariance.physicalMask d L q x * |
| 726 | PartitionedCovariance.covered (SlotColoring.nativeIndex h L.1) f Y : ℝ) : ℂ) * |
| 727 | ((PartitionedCovariance.physicalMask d M q x * |
| 728 | PartitionedCovariance.covered (SlotColoring.nativeIndex h M.1) g Y : ℝ) : ℂ) = 0 := by |
| 729 | exact_mod_cast hz |
| 730 | calc |
| 731 | _ = (((PartitionedCovariance.physicalMask d L q x * |
| 732 | PartitionedCovariance.covered (SlotColoring.nativeIndex h L.1) f Y : ℝ) : ℂ) * |
| 733 | ((PartitionedCovariance.physicalMask d M q x * |
| 734 | PartitionedCovariance.covered (SlotColoring.nativeIndex h M.1) g Y : ℝ) : ℂ)) * (a * b) := by ring |
| 735 | _ = 0 := by rw [hc, zero_mul] |
| 736 | |
| 737 | /-- The actual physical partition masks and covered native slot profiles, |
| 738 | with arbitrary complex component multipliers (including harmonic carriers). -/ |
| 739 | noncomputable def slotField (d h : ℝ) (L : SlotColoring.Label) |
| 740 | (q : D → ℝ) (X : D → SlotColoring.Position) (Y : D → PartitionedCovariance.Plane) |
| 741 | (f : Fin 3 → PartitionedCovariance.Plane → ℝ) (a : D → ComplexVector) : |
| 742 | D → ComplexVector := fun x i => |
| 743 | ((PartitionedCovariance.physicalMask d L (q x) (X x) * |
| 744 | PartitionedCovariance.covered (SlotColoring.nativeIndex h L.1) (f i) (Y x) : ℝ) : ℂ) * a x i |
| 745 | |
| 746 | theorem slot_transport_zero {U : Set D} (hU : IsOpen U) |
| 747 | {d h : ℝ} {vr vt : PartitionedCovariance.Plane} |
| 748 | (sys : PartitionedCovariance.SlotSystem d h vr vt) |
| 749 | {L M : SlotColoring.Label} (hL : 1 ≤ L.1) (hM : 1 ≤ M.1) (hne : L ≠ M) |
| 750 | (q : D → ℝ) (X : D → SlotColoring.Position) (Y : D → PartitionedCovariance.Plane) |
| 751 | (hq : ∀ y ∈ U, 0 < q y) |
| 752 | (f g : Fin 3 → PartitionedCovariance.Plane → ℝ) (a b : D → ComplexVector) |
| 753 | (hf : ∀ i, Function.support (f i) ⊆ PartitionedCovariance.slotSet h sys.radius vr vt L) |
| 754 | (hg : ∀ i, Function.support (g i) ⊆ PartitionedCovariance.slotSet h sys.radius vr vt M) |
| 755 | (ha : ∀ i, ContinuousOn (fun y => slotField d h L q X Y f a y i) U) |
| 756 | (R : D → ℝ) (Vr Vθ Vz : D → D) {x : D} (hx : x ∈ U) : |
| 757 | LinearWaveResidual.transport R Vr Vθ Vz |
| 758 | (slotField d h L q X Y f a) (slotField d h M q X Y g b) x = 0 := by |
| 759 | apply transport_zero_of_products hU R Vr Vθ Vz ha _ hx |
| 760 | intro i j y hy |
| 761 | exact slot_complex_product_zero sys hL hM hne (hf i) (hg j) (hq y hy) (X y) (Y y) |
| 762 | (a y i) (b y j) |
| 763 | |
| 764 | /-- The complex operator restricts to the real cylindrical bilinear operator. -/ |
| 765 | theorem transport_realLift (R : D → ℝ) (Vr Vθ Vz : D → D) |
| 766 | (u : D → Fin 3 → ℝ) {v : D → Fin 3 → ℝ} {x : D} |
| 767 | (hv : ∀ i, DifferentiableAt ℝ (fun y => v y i) x) (i : Fin 3) : |
| 768 | LinearWaveResidual.transport R Vr Vθ Vz |
| 769 | (LinearWaveResidual.realLift u) (LinearWaveResidual.realLift v) x i = |
| 770 | (LinearWaveResidual.realTransport R Vr Vθ Vz u v x i : ℂ) := by |
| 771 | have hd (V : D → D) (j : Fin 3) := along_ofReal V (hv j) |
| 772 | fin_cases i <;> |
| 773 | simp [LinearWaveResidual.transport, LinearWaveResidual.realTransport, |
| 774 | LinearWaveResidual.realLift, angularGenerator, LinearWaveResidual.realAngularGenerator, |
| 775 | hd, Complex.ofReal_add, Complex.ofReal_mul, Complex.ofReal_div] |
| 776 | |
| 777 | /-- Real bilinear products require both ordinary and conjugate harmonic pairs. -/ |
| 778 | theorem transport_real_parts (R : D → ℝ) (Vr Vθ Vz : D → D) |
| 779 | (u : D → ComplexVector) {v : D → ComplexVector} {x : D} |
| 780 | (hv : ∀ i, DifferentiableAt ℝ (fun y => v y i) x) (i : Fin 3) : |
| 781 | LinearWaveResidual.realTransport R Vr Vθ Vz |
| 782 | (fun y j => (u y j).re) (fun y j => (v y j).re) x i = |
| 783 | ((LinearWaveResidual.transport R Vr Vθ Vz u v x i).re + |
| 784 | (LinearWaveResidual.transport R Vr Vθ Vz u (fun y j => star (v y j)) x i).re) / 2 := by |
| 785 | have hd (V : D → D) (j : Fin 3) : |
| 786 | along V (fun y => (v y j).re) x = (along V (fun y => v y j) x).re := |
| 787 | LinearWaveResidual.along_map Complex.reCLM V (hv j) |
| 788 | have hc (V : D → D) (j : Fin 3) : |
| 789 | along V (fun y => (starRingEnd ℂ) (v y j)) x = (starRingEnd ℂ) (along V (fun y => v y j) x) := |
| 790 | LinearWaveResidual.along_map (Complex.conjCLE : ℂ →L[ℝ] ℂ) V (hv j) |
| 791 | fin_cases i <;> |
| 792 | simp [LinearWaveResidual.transport, LinearWaveResidual.realTransport, |
| 793 | angularGenerator, LinearWaveResidual.realAngularGenerator, hd, hc, |
| 794 | div_eq_mul_inv, ← Complex.ofReal_inv, Complex.mul_re, Complex.mul_im] <;> ring |
| 795 | |
| 796 | theorem conjugate_angularIndependent {s : StripData D} {P : ℕ → D → ℝ} {α κ : ℝ} |
| 797 | (G : Geometry s κ) {a : Family D} (ha : WaveVector s P α a) |
| 798 | (haθ : AngularIndependent G a) : AngularIndependent G (conjugateFamily a) := by |
| 799 | intro n i x hx |
| 800 | have hd := (((ha i).smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 801 | change along (G.angular n) (fun y => (Complex.conjCLE : ℂ →L[ℝ] ℂ) (a n y i)) x = 0 |
| 802 | rw [LinearWaveResidual.along_map _ _ hd, haθ n i x hx, map_zero] |
| 803 | |
| 804 | /-- Exact real reconstruction: the two output harmonics are the sum and |
| 805 | difference of the two input harmonics. No angular averaging is assumed. -/ |
| 806 | theorem real_modes_identity {s : StripData D} {P : ℕ → D → ℝ} {β κ : ℝ} |
| 807 | (G : Geometry s κ) (Φ : ℕ → D → ℝ) (ν ξ : ℕ → ℝ) (a b : Family D) |
| 808 | (hb : WaveVector s P β b) (hbθ : AngularIndependent G b) |
| 809 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) |
| 810 | (n : ℕ) {x : D} (hx : x ∈ s.domain) (i : Fin 3) : |
| 811 | LinearWaveResidual.realTransport (G.radius n) (G.radial n) (G.angular n) (G.axial n) |
| 812 | (fun y j => (vectorMode (ν n) (Φ n) (a n) y j).re) |
| 813 | (fun y j => (vectorMode (ξ n) (Φ n) (b n) y j).re) x i = |
| 814 | ((sameCoefficient G Φ ξ a b n x i * carrier (ν n + ξ n) (Φ n) x).re + |
| 815 | (sameCoefficient G Φ (fun n => -(ξ n)) a (conjugateFamily b) n x i * |
| 816 | carrier (ν n - ξ n) (Φ n) x).re) / 2 := by |
| 817 | have hp := ((hΦ n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 818 | have hbd j := (((hb j).smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 819 | have hbc := conjugate_wave hb |
| 820 | have hbcd j := (((hbc j).smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 821 | have hmode j : DifferentiableAt ℝ (fun y => vectorMode (ξ n) (Φ n) (b n) y j) x := |
| 822 | ((contDiffOn_mode (ξ n) (hΦ n) ((hb j).smooth n)).contDiffAt |
| 823 | (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp) |
| 824 | rw [transport_real_parts _ _ _ _ _ hmode] |
| 825 | have hc : (fun y j => star (vectorMode (ξ n) (Φ n) (b n) y j)) = |
| 826 | vectorMode (-(ξ n)) (Φ n) (conjugateFamily b n) := by |
| 827 | funext y j |
| 828 | exact (vectorMode_conjugate (ξ n) (Φ n) (b n) y j).symm |
| 829 | rw [hc, same_label_identity G Φ ν ξ a b hbθ n hx hp hbd, |
| 830 | same_label_identity G Φ ν (fun n => -(ξ n)) a (conjugateFamily b) |
| 831 | (conjugate_angularIndependent G hb hbθ) n hx hp hbcd] |
| 832 | rfl |
| 833 | |
| 834 | /-- Equal input frequencies have an exact doubled-frequency term and an |
| 835 | opposite-frequency mean term, each with its real reconstruction factor. -/ |
| 836 | theorem real_equal_modes_identity {s : StripData D} {P : ℕ → D → ℝ} {β κ : ℝ} |
| 837 | (G : Geometry s κ) (Φ : ℕ → D → ℝ) (ν : ℕ → ℝ) (a b : Family D) |
| 838 | (hb : WaveVector s P β b) (hbθ : AngularIndependent G b) |
| 839 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) |
| 840 | (n : ℕ) {x : D} (hx : x ∈ s.domain) (i : Fin 3) : |
| 841 | LinearWaveResidual.realTransport (G.radius n) (G.radial n) (G.angular n) (G.axial n) |
| 842 | (fun y j => (vectorMode (ν n) (Φ n) (a n) y j).re) |
| 843 | (fun y j => (vectorMode (ν n) (Φ n) (b n) y j).re) x i = |
| 844 | (sameCoefficient G Φ ν a b n x i * carrier (2 * ν n) (Φ n) x).re / 2 + |
| 845 | (sameCoefficient G Φ (fun n => -(ν n)) a (conjugateFamily b) n x i).re / 2 := by |
| 846 | rw [real_modes_identity G Φ ν ν a b hb hbθ hΦ n hx, sub_self, carrier_zero, mul_one] |
| 847 | rw [show ν n + ν n = 2 * ν n by ring] |
| 848 | ring |
| 849 | |
| 850 | theorem real_mean_coefficient_bound {s : StripData D} {P : ℕ → D → ℝ} {α β κ : ℝ} |
| 851 | (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {ν : ℕ → ℝ} {a b : Family D} |
| 852 | (ha : WaveVector s P α a) (hb : WaveVector s P β b) |
| 853 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hν : ∀ n, ν n ≠ 0) |
| 854 | (haθ : AngularIndependent G a) |
| 855 | (hdiv : ∀ n x, x ∈ s.domain → cylindricalDivergence |
| 856 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) (vectorMode (ν n) (Φ n) (a n)) x = 0) |
| 857 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 858 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) (i : Fin 3) : |
| 859 | MeanClass s (α + β - κ) (fun n x => |
| 860 | (sameCoefficient G Φ (fun n => -(ν n)) a (conjugateFamily b) n x i).re / 2) := by |
| 861 | have h := (conjugate_opposite_mean_bound G hκ ha hb hΦ hν haθ hdiv hP0 hP1 i).map |
| 862 | ((1 / 2 : ℝ) • ContinuousLinearMap.id ℝ ℝ) |
| 863 | unfold MeanClass |
| 864 | simpa only [_root_.smul_apply, ContinuousLinearMap.id_apply, |
| 865 | smul_eq_mul, div_eq_mul_inv, one_div, one_mul, mul_comm] using h |
| 866 | |
| 867 | theorem divergence_congr {U : Set D} (hU : IsOpen U) |
| 868 | (R : D → ℝ) (Vr Vθ Vz : D → D) {a b : D → ComplexVector} |
| 869 | (hab : EqOn a b U) {x : D} (hx : x ∈ U) : |
| 870 | cylindricalDivergence R Vr Vθ Vz a x = cylindricalDivergence R Vr Vθ Vz b x := by |
| 871 | have hi (i : Fin 3) : EqOn (fun y => a y i) (fun y => b y i) U := |
| 872 | fun y hy => congrFun (hab hy) i |
| 873 | unfold cylindricalDivergence |
| 874 | rw [along_congr hU (hi 0) hx, along_congr hU (hi 1) hx, |
| 875 | along_congr hU (hi 2) hx, hab hx] |
| 876 | |
| 877 | /-- Exact curl realization supplies the solenoidality used in the saved |
| 878 | half-power estimate. The equality is required on a neighborhood, so every |
| 879 | derivative of the actual field participates in the identity. -/ |
| 880 | theorem same_label_from_curl {s : StripData D} {P : ℕ → D → ℝ} {α β κ : ℝ} |
| 881 | (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {ν ξ : ℕ → ℝ} |
| 882 | {a b B : Family D} (ha : WaveVector s P α a) (hb : WaveVector s P β b) |
| 883 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hν : ∀ n, ν n ≠ 0) |
| 884 | (hratio : BandBound s 0 (fun n => ξ n / ν n)) (haθ : AngularIndependent G a) |
| 885 | (hG : ∀ n, CurlClassBounds.CylindricalGeometry s.domain |
| 886 | (G.radius n) (G.radial n) (G.angular n) (G.axial n)) |
| 887 | (hB : ∀ n, ContDiffOn ℝ ∞ (B n) s.domain) |
| 888 | (hcurl : ∀ n, EqOn (vectorMode (ν n) (Φ n) (a n)) |
| 889 | (CurlClassBounds.cylindricalCurl (G.radius n) (G.radial n) (G.angular n) (G.axial n) (B n)) |
| 890 | s.domain) |
| 891 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 892 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 893 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 894 | WaveVector s P (α + β - κ) (sameCoefficient G Φ ξ a b) := by |
| 895 | apply same_label_wave_bound G hκ ha hb hΦ hν hratio haθ _ hζ hP0 hP1 |
| 896 | intro n x hx |
| 897 | rw [divergence_congr s.isOpen_domain _ _ _ _ (hcurl n) hx] |
| 898 | exact CurlClassBounds.divergence_curl_zero (hG n) (hB n) hx |
| 899 | |
| 900 | /-- A direct specialization to the manuscript's constructed vector potential. |
| 901 | Its curl remainder is part of the realized coefficient on both sides. -/ |
| 902 | theorem same_label_from_realized {s : StripData D} {P : ℕ → D → ℝ} {α β κ : ℝ} |
| 903 | (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {ν ξ : ℕ → ℝ} |
| 904 | {a₀ b : Family D} |
| 905 | (ha : WaveVector s P α (fun n => CurlClassBounds.realizedCoefficient (ν n) |
| 906 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) (a₀ n))) |
| 907 | (hb : WaveVector s P β b) |
| 908 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hν : ∀ n, ν n ≠ 0) |
| 909 | (hratio : BandBound s 0 (fun n => ξ n / ν n)) |
| 910 | (haθ : AngularIndependent G (fun n => CurlClassBounds.realizedCoefficient (ν n) |
| 911 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) (a₀ n))) |
| 912 | (hG : ∀ n, CurlClassBounds.CylindricalGeometry s.domain |
| 913 | (G.radius n) (G.radial n) (G.angular n) (G.axial n)) |
| 914 | (ha₀ : ∀ n, ContDiffOn ℝ ∞ (a₀ n) s.domain) |
| 915 | (hn : ∀ n x, x ∈ s.domain → |
| 916 | phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x ≠ 0) |
| 917 | (ht : ∀ n x, x ∈ s.domain → normalDot |
| 918 | (phaseNormal (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) x) (a₀ n x) = 0) |
| 919 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 920 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 921 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 922 | WaveVector s P (α + β - κ) (sameCoefficient G Φ ξ |
| 923 | (fun n => CurlClassBounds.realizedCoefficient (ν n) |
| 924 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) (Φ n) (a₀ n)) b) := by |
| 925 | apply same_label_wave_bound G hκ ha hb hΦ hν hratio haθ _ hζ hP0 hP1 |
| 926 | intro n x hx |
| 927 | exact CurlClassBounds.realizedCoefficient_divergence (hG n) (hν n) (hΦ n) (ha₀ n) |
| 928 | (hn n) (ht n) hx |
| 929 | |
| 930 | /-- Multiplying by the actual curl of the second field still vanishes on |
| 931 | disjoint supports; this includes every coefficient derivative and frame term. -/ |
| 932 | theorem product_curl_zero {U : Set D} (hU : IsOpen U) |
| 933 | (R : D → ℝ) (Vr Vθ Vz : D → D) {a b : D → ComplexVector} |
| 934 | (ha : ∀ i, ContinuousOn (fun y => a y i) U) |
| 935 | (hab : ∀ i j y, y ∈ U → a y i * b y j = 0) |
| 936 | {x : D} (hx : x ∈ U) (i j : Fin 3) : |
| 937 | a x i * CurlClassBounds.cylindricalCurl R Vr Vθ Vz b x j = 0 := by |
| 938 | have hD (V : D → D) (k : Fin 3) := |
| 939 | mul_along_zero hU hx ((ha i x hx).continuousAt (hU.mem_nhds hx)) (hab i k) V |
| 940 | fin_cases j |
| 941 | · change a x i * ((R x)⁻¹ • along Vθ (fun y => b y 2) x - along Vz (fun y => b y 1) x) = 0 |
| 942 | rw [Complex.real_smul] |
| 943 | calc |
| 944 | _ = ((R x)⁻¹ : ℂ) * (a x i * along Vθ (fun y => b y 2) x) - |
| 945 | a x i * along Vz (fun y => b y 1) x := by simp only [Complex.ofReal_inv]; ring |
| 946 | _ = 0 := by rw [hD Vθ 2, hD Vz 1]; ring |
| 947 | · change a x i * (along Vz (fun y => b y 0) x - along Vr (fun y => b y 2) x) = 0 |
| 948 | rw [mul_sub, hD Vz 0, hD Vr 2, sub_self] |
| 949 | · change a x i * (along Vr (fun y => b y 1) x + (R x)⁻¹ • b x 1 - |
| 950 | (R x)⁻¹ • along Vθ (fun y => b y 0) x) = 0 |
| 951 | simp only [Complex.real_smul] |
| 952 | calc |
| 953 | _ = a x i * along Vr (fun y => b y 1) x + ((R x)⁻¹ : ℂ) * (a x i * b x 1) - |
| 954 | ((R x)⁻¹ : ℂ) * (a x i * along Vθ (fun y => b y 0) x) := by |
| 955 | simp only [Complex.ofReal_inv] |
| 956 | ring |
| 957 | _ = 0 := by rw [hD Vr 1, hab i 1 x hx, hD Vθ 0]; ring |
| 958 | |
| 959 | theorem curl_cross_products {U : Set D} {R : D → ℝ} {Vr Vθ Vz : D → D} |
| 960 | (G : CurlClassBounds.CylindricalGeometry U R Vr Vθ Vz) {a b : D → ComplexVector} |
| 961 | (ha : ContDiffOn ℝ ∞ a U) (hb : ContDiffOn ℝ ∞ b U) |
| 962 | (hab : ∀ i j y, y ∈ U → a y i * b y j = 0) |
| 963 | {x : D} (hx : x ∈ U) (i j : Fin 3) : |
| 964 | CurlClassBounds.cylindricalCurl R Vr Vθ Vz a x i * |
| 965 | CurlClassBounds.cylindricalCurl R Vr Vθ Vz b x j = 0 := by |
| 966 | have hcb := CurlClassBounds.cylindricalCurl_contDiffOn G.isOpen |
| 967 | (G.radius_smooth.inv G.radius_ne) G.radial_smooth G.angular_smooth G.axial_smooth hb |
| 968 | have hac (k : Fin 3) : ContinuousOn (fun y => a y k) U := (contDiffOn_pi.mp ha k).continuousOn |
| 969 | have hcbc (k : Fin 3) : ContinuousOn |
| 970 | (fun y => CurlClassBounds.cylindricalCurl R Vr Vθ Vz b y k) U := |
| 971 | (contDiffOn_pi.mp hcb k).continuousOn |
| 972 | have hba : ∀ k l y, y ∈ U → CurlClassBounds.cylindricalCurl R Vr Vθ Vz b y k * a y l = 0 := by |
| 973 | intro k l y hy |
| 974 | rw [mul_comm] |
| 975 | exact product_curl_zero G.isOpen R Vr Vθ Vz hac hab hy l k |
| 976 | rw [mul_comm] |
| 977 | exact product_curl_zero G.isOpen R Vr Vθ Vz hcbc hba hx j i |
| 978 | |
| 979 | theorem curl_transport_zero {U : Set D} {R : D → ℝ} {Vr Vθ Vz : D → D} |
| 980 | (G : CurlClassBounds.CylindricalGeometry U R Vr Vθ Vz) {a b : D → ComplexVector} |
| 981 | (ha : ContDiffOn ℝ ∞ a U) (hb : ContDiffOn ℝ ∞ b U) |
| 982 | (hab : ∀ i j y, y ∈ U → a y i * b y j = 0) {x : D} (hx : x ∈ U) : |
| 983 | LinearWaveResidual.transport R Vr Vθ Vz |
| 984 | (CurlClassBounds.cylindricalCurl R Vr Vθ Vz a) |
| 985 | (CurlClassBounds.cylindricalCurl R Vr Vθ Vz b) x = 0 := by |
| 986 | have hca := CurlClassBounds.cylindricalCurl_contDiffOn G.isOpen |
| 987 | (G.radius_smooth.inv G.radius_ne) G.radial_smooth G.angular_smooth G.axial_smooth ha |
| 988 | apply transport_zero_of_products G.isOpen R Vr Vθ Vz |
| 989 | (fun i => (contDiffOn_pi.mp hca i).continuousOn) _ hx |
| 990 | intro i j y hy |
| 991 | exact curl_cross_products G ha hb hab hy i j |
| 992 | |
| 993 | theorem curl_transport_every_class {s : StripData D} {P : ℕ → D → ℝ} {γ κ : ℝ} |
| 994 | (G : Geometry s κ) {a b : Family D} |
| 995 | (hG : ∀ n, CurlClassBounds.CylindricalGeometry s.domain |
| 996 | (G.radius n) (G.radial n) (G.angular n) (G.axial n)) |
| 997 | (ha : ∀ n, ContDiffOn ℝ ∞ (a n) s.domain) (hb : ∀ n, ContDiffOn ℝ ∞ (b n) s.domain) |
| 998 | (hab : ∀ n i j x, x ∈ s.domain → a n x i * b n x j = 0) |
| 999 | (hP : ∀ n x, x ∈ s.domain → 0 ≤ P n x) : |
| 1000 | WaveVector s P γ (fun n => LinearWaveResidual.transport |
| 1001 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) |
| 1002 | (CurlClassBounds.cylindricalCurl (G.radius n) (G.radial n) (G.angular n) (G.axial n) (a n)) |
| 1003 | (CurlClassBounds.cylindricalCurl (G.radius n) (G.radial n) (G.angular n) (G.axial n) (b n))) := by |
| 1004 | intro i |
| 1005 | apply class_congr (MemClass.zero |
| 1006 | (fun n x hx => mul_nonneg (Real.sqrt_nonneg (s.zeta x)) (hP n x hx))) |
| 1007 | intro n x hx |
| 1008 | exact (congrFun (curl_transport_zero (hG n) (ha n) (hb n) (hab n) hx) i).symm |
| 1009 | |
| 1010 | /-- The separated, covered slots make the actual curl-wave interaction zero. |
| 1011 | This remains true at the boundaries of the supports. -/ |
| 1012 | theorem slot_curl_transport_zero {U : Set D} |
| 1013 | {R : D → ℝ} {Vr Vθ Vz : D → D} |
| 1014 | (G : CurlClassBounds.CylindricalGeometry U R Vr Vθ Vz) |
| 1015 | {d h : ℝ} {vr vt : PartitionedCovariance.Plane} |
| 1016 | (sys : PartitionedCovariance.SlotSystem d h vr vt) |
| 1017 | {L M : SlotColoring.Label} (hL : 1 ≤ L.1) (hM : 1 ≤ M.1) (hne : L ≠ M) |
| 1018 | (q : D → ℝ) (X : D → SlotColoring.Position) (Y : D → PartitionedCovariance.Plane) |
| 1019 | (hq : ∀ y ∈ U, 0 < q y) |
| 1020 | (f g : Fin 3 → PartitionedCovariance.Plane → ℝ) (a b : D → ComplexVector) |
| 1021 | (hf : ∀ i, Function.support (f i) ⊆ PartitionedCovariance.slotSet h sys.radius vr vt L) |
| 1022 | (hg : ∀ i, Function.support (g i) ⊆ PartitionedCovariance.slotSet h sys.radius vr vt M) |
| 1023 | (ha : ContDiffOn ℝ ∞ (slotField d h L q X Y f a) U) |
| 1024 | (hb : ContDiffOn ℝ ∞ (slotField d h M q X Y g b) U) |
| 1025 | {x : D} (hx : x ∈ U) : |
| 1026 | LinearWaveResidual.transport R Vr Vθ Vz |
| 1027 | (CurlClassBounds.cylindricalCurl R Vr Vθ Vz (slotField d h L q X Y f a)) |
| 1028 | (CurlClassBounds.cylindricalCurl R Vr Vθ Vz (slotField d h M q X Y g b)) x = 0 := by |
| 1029 | apply curl_transport_zero G ha hb _ hx |
| 1030 | intro i j y hy |
| 1031 | exact slot_complex_product_zero sys hL hM hne (hf i) (hg j) (hq y hy) (X y) (Y y) |
| 1032 | (a y i) (b y j) |
| 1033 | |
| 1034 | open ProblemStatement in |
| 1035 | theorem realTransport_coordinates (u : Space → Space) {v : Space → Space} {q : Space} |
| 1036 | (hv : DifferentiableAt ℝ v q) (i : Fin 3) : |
| 1037 | LinearWaveResidual.realTransport (fun y : Space => y 0) |
| 1038 | (fun _ => coordinateVector 0) (fun _ => coordinateVector 1) (fun _ => coordinateVector 2) |
| 1039 | (fun y j => u y j) (fun y j => v y j) q i = |
| 1040 | LinearWaveResidual.bilinearAdvection u v q i := by |
| 1041 | have hd (k j : Fin 3) : along (fun _ => coordinateVector k) (fun y => v y j) q = |
| 1042 | CylindricalResidual.dCoord k v q j := |
| 1043 | CylindricalResidual.dCoord_map (AxisymmetricFields.projection j) hv k |
| 1044 | fin_cases i <;> |
| 1045 | simp [LinearWaveResidual.realTransport, LinearWaveResidual.bilinearAdvection, hd, |
| 1046 | LinearWaveResidual.realAngularGenerator, CylindricalResidual.connection_apply] <;> ring |
| 1047 | |
| 1048 | open ProblemStatement in |
| 1049 | /-- The real bilinear operator estimated above is obtained from the actual |
| 1050 | Cartesian derivative by the cylindrical frame, on positive radius. -/ |
| 1051 | theorem cartesian_transport_components {u v : Space → Space} {q : Space} |
| 1052 | (hv : DifferentiableAt ℝ v (CylindricalResidual.chart q)) (hr : 0 < q 0) (i : Fin 3) : |
| 1053 | (CylindricalResidual.frame (-(q 1)) |
| 1054 | (fderiv ℝ v (CylindricalResidual.chart q) (u (CylindricalResidual.chart q)))) i = |
| 1055 | LinearWaveResidual.realTransport (fun y : Space => y 0) |
| 1056 | (fun _ => coordinateVector 0) (fun _ => coordinateVector 1) (fun _ => coordinateVector 2) |
| 1057 | (fun y j => CylindricalResidual.components u y j) |
| 1058 | (fun y j => CylindricalResidual.components v y j) q i := by |
| 1059 | rw [LinearWaveResidual.cartesianBilinearAdvection_components hv (ne_of_gt hr), |
| 1060 | CylindricalResidual.frame_inverse] |
| 1061 | exact (realTransport_coordinates _ (CylindricalResidual.differentiableAt_components hv) i).symm |
| 1062 | |
| 1063 | noncomputable def fixedGeometry {s : StripData D} {κ : ℝ} |
| 1064 | (R : D → ℝ) (Vr Vθ Vz : ℕ → D → D) |
| 1065 | (hR : ∀ x ∈ s.domain, 0 < R x) |
| 1066 | (hr : UnweightedClass s (-κ) Vr) (hz : UnweightedClass s 1 Vz) |
| 1067 | (hinv : UnweightedClass s 0 (fun _ x => (R x)⁻¹)) : Geometry s κ where |
| 1068 | radius := fun _ => R |
| 1069 | radial := Vr |
| 1070 | angular := Vθ |
| 1071 | axial := Vz |
| 1072 | radius_pos := fun _ => hR |
| 1073 | radial_class := hr |
| 1074 | axial_class := hz |
| 1075 | inverse_radius_class := hinv |
| 1076 | |
| 1077 | /-- The input wave classes in the interaction estimate can themselves be |
| 1078 | generated from seed amplitudes by the proved curl-remainder bounds. -/ |
| 1079 | theorem realized_seed_pair_bound {s : StripData D} {P : ℕ → D → ℝ} {α β κ δ M : ℝ} |
| 1080 | (R : D → ℝ) (Vr Vθ Vz : ℕ → D → D) |
| 1081 | (hR : ∀ x ∈ s.domain, 0 < R x) |
| 1082 | (hr : UnweightedClass s (-κ) Vr) (hθ : UnweightedClass s 0 Vθ) |
| 1083 | (hz : UnweightedClass s 1 Vz) (hinv : UnweightedClass s 0 (fun _ x => (R x)⁻¹)) |
| 1084 | {Φ : ℕ → D → ℝ} {ν ξ : ℕ → ℝ} {a₀ b₀ : Family D} |
| 1085 | (hN : PhaseJetBounds.PolynomialJets (CurlClassBounds.phaseDomain s) |
| 1086 | (fun n => phaseNormal R (Vr n) (Vθ n) (Vz n) (Φ n))) |
| 1087 | (ha₀ : WaveClass s P α a₀) (hb₀ : WaveClass s P β b₀) (hδ : 0 < δ) |
| 1088 | (hlower : ∀ n x, x ∈ s.domain → δ ≤ ‖phaseNormal R (Vr n) (Vθ n) (Vz n) (Φ n) x‖) |
| 1089 | (hupper : ∀ n x, x ∈ s.domain → ‖phaseNormal R (Vr n) (Vθ n) (Vz n) (Φ n) x‖ ≤ M) |
| 1090 | (hκ : 0 ≤ κ) (hκhalf : κ ≤ 1 / 2) |
| 1091 | (hνinv : BandBound s (1 / 2) (fun n => 1 / ν n)) |
| 1092 | (hξinv : BandBound s (1 / 2) (fun n => 1 / ξ n)) |
| 1093 | (hν : ∀ n, ν n ≠ 0) (hratio : BandBound s 0 (fun n => ξ n / ν n)) |
| 1094 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) |
| 1095 | (hG : ∀ n, CurlClassBounds.CylindricalGeometry s.domain R (Vr n) (Vθ n) (Vz n)) |
| 1096 | (ht : ∀ n x, x ∈ s.domain → normalDot (phaseNormal R (Vr n) (Vθ n) (Vz n) (Φ n) x) (a₀ n x) = 0) |
| 1097 | (haθ : ∀ n i x, x ∈ s.domain → along (Vθ n) |
| 1098 | (fun y => CurlClassBounds.realizedCoefficient (ν n) R (Vr n) (Vθ n) (Vz n) (Φ n) (a₀ n) y i) x = 0) |
| 1099 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 1100 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 1101 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 1102 | WaveVector s P (α + β - κ) |
| 1103 | (sameCoefficient (fixedGeometry R Vr Vθ Vz hR hr hz hinv) Φ ξ |
| 1104 | (fun n => CurlClassBounds.realizedCoefficient (ν n) R (Vr n) (Vθ n) (Vz n) (Φ n) (a₀ n)) |
| 1105 | (fun n => CurlClassBounds.realizedCoefficient (ξ n) R (Vr n) (Vθ n) (Vz n) (Φ n) (b₀ n))) := by |
| 1106 | have ha := CurlClassBounds.realizedCoefficient_waveClass hN ha₀ hδ hlower hupper |
| 1107 | hκ hκhalf hr hθ hz hinv hνinv |
| 1108 | have hb := CurlClassBounds.realizedCoefficient_waveClass hN hb₀ hδ hlower hupper |
| 1109 | hκ hκhalf hr hθ hz hinv hξinv |
| 1110 | apply same_label_from_realized (fixedGeometry R Vr Vθ Vz hR hr hz hinv) hκ |
| 1111 | (fun i => CurlClassBounds.class_component ha i) |
| 1112 | (fun i => CurlClassBounds.class_component hb i) |
| 1113 | hΦ hν hratio haθ hG ha₀.smooth _ ht hζ hP0 hP1 |
| 1114 | intro n x hx hn |
| 1115 | change phaseNormal R (Vr n) (Vθ n) (Vz n) (Φ n) x = 0 at hn |
| 1116 | have hh := hlower n x hx |
| 1117 | rw [hn, norm_zero] at hh |
| 1118 | linarith |
| 1119 | |
| 1120 | /-- Finite harmonic sets generated by retention, conjugation and quadratic |
| 1121 | interaction. The recursive definition retains zero harmonics as well. -/ |
| 1122 | noncomputable def stageHarmonics (initial : Finset ℤ) : ℕ → Finset ℤ |
| 1123 | | 0 => initial |
| 1124 | | stage + 1 => |
| 1125 | let current := stageHarmonics initial stage |
| 1126 | current ∪ current.image (fun j => -j) ∪ (current.product current).image (fun p => p.1 + p.2) |
| 1127 | |
| 1128 | theorem stageHarmonics_bound {initial : Finset ℤ} {M : ℝ} (hM : 0 ≤ M) |
| 1129 | (hinitial : ∀ j ∈ initial, |(j : ℝ)| ≤ M) (stage : ℕ) {j : ℤ} |
| 1130 | (hj : j ∈ stageHarmonics initial stage) : |(j : ℝ)| ≤ 2 ^ stage * M := by |
| 1131 | induction stage generalizing j with |
| 1132 | | zero => simpa only [stageHarmonics, pow_zero, one_mul] using hinitial j hj |
| 1133 | | succ stage ih => |
| 1134 | have hgrow : 2 ^ stage * M ≤ 2 ^ (stage + 1) * M := by |
| 1135 | rw [pow_succ] |
| 1136 | have hnonneg : 0 ≤ (2 : ℝ) ^ stage * M := mul_nonneg (by positivity) hM |
| 1137 | nlinarith |
| 1138 | rw [stageHarmonics, Finset.mem_union, Finset.mem_union] at hj |
| 1139 | rcases hj with (hj | hj) | hj |
| 1140 | · exact (ih hj).trans hgrow |
| 1141 | · obtain ⟨k, hk, rfl⟩ := Finset.mem_image.mp hj |
| 1142 | exact (harmonic_stage_neg stage (ih hk)).trans hgrow |
| 1143 | · obtain ⟨p, hp, rfl⟩ := Finset.mem_image.mp hj |
| 1144 | obtain ⟨hp₁, hp₂⟩ := Finset.mem_product.mp hp |
| 1145 | exact harmonic_stage_add stage (ih hp₁) (ih hp₂) |
| 1146 | |
| 1147 | theorem stage_frequency_bound {s : StripData D} {β M : ℝ} {k : ℕ → ℝ} |
| 1148 | {initial : ℕ → Finset ℤ} {j : ℕ → ℤ} (hk : BandBound s β k) (hM : 0 ≤ M) |
| 1149 | (hinitial : ∀ n l, l ∈ initial n → |(l : ℝ)| ≤ M) |
| 1150 | (stage : ℕ) (hj : ∀ n, j n ∈ stageHarmonics (initial n) stage) : |
| 1151 | BandBound s β (fun n => k n * (j n : ℝ)) := |
| 1152 | bandBound_frequency hk (mul_nonneg (by positivity) hM) |
| 1153 | (fun n => stageHarmonics_bound hM (hinitial n) stage (hj n)) |
| 1154 | |
| 1155 | /-- A complete ordered interaction endpoint: the coefficient is in the |
| 1156 | claimed all-jet class and reconstructs the actual differential product. -/ |
| 1157 | theorem same_label_curl_interaction {s : StripData D} {P : ℕ → D → ℝ} {α β κ : ℝ} |
| 1158 | (G : Geometry s κ) (hκ : 0 ≤ κ) {Φ : ℕ → D → ℝ} {ν ξ : ℕ → ℝ} |
| 1159 | {a b B : Family D} (ha : WaveVector s P α a) (hb : WaveVector s P β b) |
| 1160 | (hΦ : ∀ n, ContDiffOn ℝ ∞ (Φ n) s.domain) (hν : ∀ n, ν n ≠ 0) |
| 1161 | (hratio : BandBound s 0 (fun n => ξ n / ν n)) |
| 1162 | (haθ : AngularIndependent G a) (hbθ : AngularIndependent G b) |
| 1163 | (hG : ∀ n, CurlClassBounds.CylindricalGeometry s.domain |
| 1164 | (G.radius n) (G.radial n) (G.angular n) (G.axial n)) |
| 1165 | (hB : ∀ n, ContDiffOn ℝ ∞ (B n) s.domain) |
| 1166 | (hcurl : ∀ n, EqOn (vectorMode (ν n) (Φ n) (a n)) |
| 1167 | (CurlClassBounds.cylindricalCurl (G.radius n) (G.radial n) (G.angular n) (G.axial n) (B n)) |
| 1168 | s.domain) |
| 1169 | (hζ : ∀ x ∈ s.domain, s.zeta x ≤ 1) |
| 1170 | (hP0 : ∀ n x, x ∈ s.domain → 0 ≤ P n x) |
| 1171 | (hP1 : ∀ n x, x ∈ s.domain → P n x ≤ 1) : |
| 1172 | ∃ c : Family D, WaveVector s P (α + β - κ) c ∧ |
| 1173 | ∀ n x, x ∈ s.domain → LinearWaveResidual.transport |
| 1174 | (G.radius n) (G.radial n) (G.angular n) (G.axial n) |
| 1175 | (vectorMode (ν n) (Φ n) (a n)) (vectorMode (ξ n) (Φ n) (b n)) x = |
| 1176 | fun i => c n x i * carrier (ν n + ξ n) (Φ n) x := by |
| 1177 | refine ⟨sameCoefficient G Φ ξ a b, |
| 1178 | same_label_from_curl G hκ ha hb hΦ hν hratio haθ hG hB hcurl hζ hP0 hP1, ?_⟩ |
| 1179 | intro n x hx |
| 1180 | funext i |
| 1181 | exact same_label_identity G Φ ν ξ a b hbθ n hx |
| 1182 | (((hΦ n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) |
| 1183 | (fun j => (((hb j).smooth n).contDiffAt (s.isOpen_domain.mem_nhds hx)).differentiableAt (by simp)) i |
| 1184 | |
| 1185 | end |
| 1186 | |
| 1187 | end NavierStokes.WaveInteractionBounds |