| @@ -117,10 +117,6 @@ theorem cutoff_germ {z : Plane} (hz : z ∈ w.core) : w.cutoff =ᶠ[𝓝 z] fun |
| 117 | 117 | eventually_of_mem (w.plateau_open.mem_nhds (w.core_subset_plateau hz)) |
| 118 | 118 | (fun _ hx => w.cutoff_one hx) |
| 119 | 119 | |
| 120 | | -theorem cutoff_germ_on_support {E : Type} [Zero E] {κ : Plane → E} |
| 121 | | - (hκ : tsupport κ ⊆ w.core) {z : Plane} (hz : z ∈ tsupport κ) : |
| 122 | | - w.cutoff =ᶠ[𝓝 z] fun _ => 1 := w.cutoff_germ (hκ hz) |
| 123 | | - |
| 124 | 120 | end ClockWindow |
| 125 | 121 | |
| 126 | 122 | /-- The literal lattice sum of a native scalar. -/ |
| @@ -161,17 +157,6 @@ theorem periodizeScalar_refine (g : Geometry) (f : Plane → ℝ) (d : ℕ) (Y : |
| 161 | 157 | periodizeScalar g f (coverPower d Y) := |
| 162 | 158 | CopySolveCompatibility.native_copy_sum_refine g d f Y |
| 163 | 159 | |
| 164 | | -theorem periodizeScalar_transport (g : Geometry) (f : Plane → ℝ) (d : ℕ) |
| 165 | | - (shift rate : ℝ) (hrate : rate ≠ 0) (Y : Plane) : |
| 166 | | - periodizeScalar (CopySolveCompatibility.transportGeometry g d shift rate hrate) |
| 167 | | - (f ∘ CopySolveCompatibility.nativeTimeMap shift rate) Y = |
| 168 | | - periodizeScalar g f (coverPower d Y) := by |
| 169 | | - unfold periodizeScalar |
| 170 | | - apply tsum_congr |
| 171 | | - intro k |
| 172 | | - simp only [comp_apply, CopySolveCompatibility.transportGeometry, |
| 173 | | - CopySolveCompatibility.coordinates_refine, CopySolveCompatibility.coordinates_timeGeometry] |
| 174 | | - |
| 175 | 160 | /-- The clock itself is periodicized together with its cutoff. -/ |
| 176 | 161 | noncomputable def periodicClock (g : Geometry) (χ : Plane → ℝ) : Plane → ℝ := |
| 177 | 162 | periodizeScalar g (fun z => χ z * z.2) |
| @@ -189,15 +174,6 @@ theorem periodicClock_refine (g : Geometry) (χ : Plane → ℝ) (d : ℕ) (Y : |
| 189 | 174 | periodicClock g χ (coverPower d Y) := |
| 190 | 175 | periodizeScalar_refine g _ d Y |
| 191 | 176 | |
| 192 | | -/-- Clock reparametrization transports the compact native scalar as a whole. |
| 193 | | -The shift is multiplied by the cutoff as well. -/ |
| 194 | | -theorem periodicClock_transport (g : Geometry) (χ : Plane → ℝ) (d : ℕ) |
| 195 | | - (shift rate : ℝ) (hrate : rate ≠ 0) (Y : Plane) : |
| 196 | | - periodizeScalar (CopySolveCompatibility.transportGeometry g d shift rate hrate) |
| 197 | | - (fun z => χ (CopySolveCompatibility.nativeTimeMap shift rate z) * (shift + rate * z.2)) Y = |
| 198 | | - periodicClock g χ (coverPower d Y) := |
| 199 | | - periodizeScalar_transport g (fun z => χ z * z.2) d shift rate hrate Y |
| 200 | | - |
| 201 | 177 | section Germs |
| 202 | 178 | |
| 203 | 179 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| @@ -226,31 +202,8 @@ theorem periodicClock_germ (g : Geometry) (w : ClockWindow) |
| 226 | 202 | change _ = w.cutoff (g.coordinates k x.2) * (g.coordinates k x.2).2 at hx |
| 227 | 203 | rw [hx, w.cutoff_one hp, one_mul] |
| 228 | 204 | |
| 229 | | -theorem periodicClock_jets (g : Geometry) (w : ClockWindow) |
| 230 | | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' w.outer)) |
| 231 | | - (k : Frequency) {z : P × Plane} (hz : g.coordinates k z.2 ∈ w.core) (m : ℕ) : |
| 232 | | - iteratedFDeriv ℝ m (fun x : P × Plane => periodicClock g w.cutoff x.2) z = |
| 233 | | - iteratedFDeriv ℝ m (fun x : P × Plane => (g.coordinates k x.2).2) z := |
| 234 | | - PeriodizedWaveBounds.jets_eq_of_germ (periodicClock_germ g w hinj k hz) m |
| 235 | | - |
| 236 | 205 | end Germs |
| 237 | 206 | |
| 238 | | -/-- The complete earlier-time Volterra path can be kept in the clock plateau. |
| 239 | | -This uses the full sampled interval, including points where the wave cutoff |
| 240 | | -itself vanishes. -/ |
| 241 | | -theorem periodicClock_path (g : Geometry) (w : ClockWindow) |
| 242 | | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' w.outer)) |
| 243 | | - (k : Frequency) (Y : Plane) (t : ℝ) |
| 244 | | - (htransverse : (g.coordinates k Y).1 ∈ Icc w.lower.1 w.upper.1) |
| 245 | | - (ht : t ∈ Icc w.lower.2 w.upper.2) : |
| 246 | | - periodicClock g w.cutoff (g.path k Y t) = t := by |
| 247 | | - have hc : g.coordinates k (g.path k Y t) ∈ w.core := by |
| 248 | | - rw [g.coordinates_path] |
| 249 | | - exact ⟨htransverse, ht⟩ |
| 250 | | - have he := (periodicClock_germ (P := ℝ) g w hinj k |
| 251 | | - (z := (0, g.path k Y t)) hc).self_of_nhds |
| 252 | | - simpa only [g.coordinates_path] using he |
| 253 | | - |
| 254 | 207 | /-! ## Actual phases and complete carriers -/ |
| 255 | 208 | |
| 256 | 209 | section Phases |
| @@ -291,23 +244,6 @@ theorem phase_germ (g : Geometry) (w : ClockWindow) |
| 291 | 244 | filter_upwards [periodicClock_germ g w hinj k hz] with x hx |
| 292 | 245 | simp only [phase, nativePhase, hx] |
| 293 | 246 | |
| 294 | | -theorem phase_jets (g : Geometry) (w : ClockWindow) |
| 295 | | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' w.outer)) |
| 296 | | - (A B : P → ℝ) (k : Frequency) {z : P × Plane} |
| 297 | | - (hz : g.coordinates k z.2 ∈ w.core) (m : ℕ) : |
| 298 | | - iteratedFDeriv ℝ m (phase g w.cutoff A B) z = |
| 299 | | - iteratedFDeriv ℝ m (nativePhase g A B k) z := |
| 300 | | - PeriodizedWaveBounds.jets_eq_of_germ (phase_germ g w hinj A B k hz) m |
| 301 | | - |
| 302 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 303 | | -theorem phase_path (g : Geometry) (w : ClockWindow) |
| 304 | | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' w.outer)) |
| 305 | | - (A B : P → ℝ) (k : Frequency) (p : P) (Y : Plane) (t : ℝ) |
| 306 | | - (htransverse : (g.coordinates k Y).1 ∈ Icc w.lower.1 w.upper.1) |
| 307 | | - (ht : t ∈ Icc w.lower.2 w.upper.2) : |
| 308 | | - phase g w.cutoff A B (p, g.path k Y t) = A p - t * B p := by |
| 309 | | - simp only [phase, periodicClock_path g w hinj k Y t htransverse ht] |
| 310 | | - |
| 311 | 247 | /-- The angular coordinate is distinct from the auxiliary torus. -/ |
| 312 | 248 | noncomputable def angularLift (Φ : P × Plane → ℝ) (angular : ℝ) |
| 313 | 249 | (x : (P × ℝ) × Plane) : ℝ := Φ (x.1.1, x.2) + angular * x.1.2 |
| @@ -317,14 +253,6 @@ theorem angularLift_contDiff {Φ : P × Plane → ℝ} (hΦ : ContDiff ℝ ∞ |
| 317 | 253 | (hΦ.comp (contDiff_fst.fst.prodMk contDiff_snd)).add |
| 318 | 254 | (contDiff_const.mul contDiff_fst.snd) |
| 319 | 255 | |
| 320 | | -theorem angularLift_affine (Φ : P × Plane → ℝ) (angular : ℝ) : |
| 321 | | - CopyAngularInvariance.AffinePhase (((0 : P), (1 : ℝ)), (0 : Plane)) angular |
| 322 | | - (angularLift Φ angular) := by |
| 323 | | - rintro ⟨⟨p, θ⟩, Y⟩ t |
| 324 | | - simp only [angularLift, Prod.fst_add, Prod.snd_add, Prod.smul_fst, Prod.smul_snd, |
| 325 | | - smul_zero, add_zero, smul_eq_mul, mul_one] |
| 326 | | - ring |
| 327 | | - |
| 328 | 256 | omit [NormedSpace ℝ P] in |
| 329 | 257 | theorem angularLift_germ {Φ Ψ : P × Plane → ℝ} (angular : ℝ) |
| 330 | 258 | {x : (P × ℝ) × Plane} (hΦ : Φ =ᶠ[𝓝 (x.1.1, x.2)] Ψ) : |
| @@ -344,14 +272,6 @@ theorem fullPhase_germ (g : Geometry) (w : ClockWindow) |
| 344 | 272 | angularLift (nativePhase g A B k) angular := |
| 345 | 273 | angularLift_germ angular (phase_germ g w hinj A B k hx) |
| 346 | 274 | |
| 347 | | -theorem fullPhase_jets (g : Geometry) (w : ClockWindow) |
| 348 | | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' w.outer)) |
| 349 | | - (A B : P → ℝ) (angular : ℝ) (k : Frequency) {x : (P × ℝ) × Plane} |
| 350 | | - (hx : g.coordinates k x.2 ∈ w.core) (m : ℕ) : |
| 351 | | - iteratedFDeriv ℝ m (angularLift (phase g w.cutoff A B) angular) x = |
| 352 | | - iteratedFDeriv ℝ m (angularLift (nativePhase g A B k) angular) x := |
| 353 | | - PeriodizedWaveBounds.jets_eq_of_germ (fullPhase_germ g w hinj A B angular k hx) m |
| 354 | | - |
| 355 | 275 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 356 | 276 | theorem fullPhase_periodic (g : Geometry) (χ : Plane → ℝ) (A B : P → ℝ) |
| 357 | 277 | (angular : ℝ) (p : P) (θ : ℝ) (Y : Plane) (n : Frequency) : |
| @@ -366,41 +286,6 @@ theorem carrier_periodic (g : Geometry) (χ : Plane → ℝ) (A B : P → ℝ) |
| 366 | 286 | HarmonicCalculus.carrier K (angularLift (phase g χ A B) angular) ((p, θ), Y) := by |
| 367 | 287 | simp only [HarmonicCalculus.carrier, fullPhase_periodic] |
| 368 | 288 | |
| 369 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 370 | | -theorem fullMode_periodic (g : Geometry) (χ : Plane → ℝ) (A B : P → ℝ) |
| 371 | | - (angular K : ℝ) (a : (P × ℝ) × Plane → ℂ) |
| 372 | | - (ha : ∀ p θ Y n, a ((p, θ), Y + latticePoint n) = a ((p, θ), Y)) |
| 373 | | - (p : P) (θ : ℝ) (Y : Plane) (n : Frequency) : |
| 374 | | - HarmonicCalculus.mode K (angularLift (phase g χ A B) angular) a ((p, θ), Y + latticePoint n) = |
| 375 | | - HarmonicCalculus.mode K (angularLift (phase g χ A B) angular) a ((p, θ), Y) := by |
| 376 | | - simp only [HarmonicCalculus.mode, ha, carrier_periodic] |
| 377 | | - |
| 378 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 379 | | -theorem carrier_angularLift_eq_character (Φ : P × Plane → ℝ) {K : ℝ} (hK : K ≠ 0) |
| 380 | | - (m j : ℤ) (x : (P × ℝ) × Plane) : |
| 381 | | - HarmonicCalculus.carrier ((j : ℝ) * K) (angularLift Φ ((m : ℝ) / K)) x = |
| 382 | | - HarmonicFields.character j (K * Φ (x.1.1, x.2) + (m : ℝ) * x.1.2) := by |
| 383 | | - unfold HarmonicCalculus.carrier HarmonicCalculus.phaseFactor angularLift HarmonicFields.character |
| 384 | | - congr 1 |
| 385 | | - push_cast |
| 386 | | - have hKc : (K : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hK |
| 387 | | - field_simp [hKc] |
| 388 | | - |
| 389 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 390 | | -/-- The integer angular character is retained by the actual global carrier. -/ |
| 391 | | -theorem carrier_angular_periodic (Φ : P × Plane → ℝ) {K : ℝ} (hK : K ≠ 0) |
| 392 | | - (m j : ℤ) (p : P) (Y : Plane) (θ : ℝ) : |
| 393 | | - HarmonicCalculus.carrier ((j : ℝ) * K) (angularLift Φ ((m : ℝ) / K)) |
| 394 | | - ((p, θ + 2 * Real.pi), Y) = |
| 395 | | - HarmonicCalculus.carrier ((j : ℝ) * K) (angularLift Φ ((m : ℝ) / K)) ((p, θ), Y) := by |
| 396 | | - rw [carrier_angularLift_eq_character Φ hK, carrier_angularLift_eq_character Φ hK] |
| 397 | | - have he : K * Φ (p, Y) + (m : ℝ) * (θ + 2 * Real.pi) = |
| 398 | | - (K * Φ (p, Y) + (m : ℝ) * θ) + (m : ℝ) * HarmonicFields.period := by |
| 399 | | - unfold HarmonicFields.period |
| 400 | | - ring |
| 401 | | - rw [he, HarmonicFields.character_phase_add, HarmonicFields.character_int_mul, |
| 402 | | - HarmonicFields.character_period, mul_one] |
| 403 | | - |
| 404 | 289 | end Phases |
| 405 | 290 | |
| 406 | 291 | /-! ## The manuscript phase in physical slow-coordinate order `(R,(T,Z))` -/ |
| @@ -419,15 +304,6 @@ noncomputable def profilePhase (g : Geometry) (χ : Plane → ℝ) (ε p pz x0 : |
| 419 | 304 | (F G : Parameter → ℝ) : Parameter × Plane → ℝ := |
| 420 | 305 | phase g χ (profileIntercept ε pz x0) (profileRate p pz F G) |
| 421 | 306 | |
| 422 | | -theorem profilePhase_eq_literal (g : Geometry) (χ : Plane → ℝ) (ε p pz x0 : ℝ) |
| 423 | | - (F G : Parameter → ℝ) (x : (Parameter × ℝ) × Plane) : |
| 424 | | - angularLift (profilePhase g χ ε p pz x0 F G) p x = |
| 425 | | - PhaseCalculus.phase ε p pz x0 (fun s => F (s.1, (s.2.2, s.2.1))) |
| 426 | | - (fun s => G (s.1, (s.2.2, s.2.1))) |
| 427 | | - (slowSwap x.1.1, (x.1.2, periodicClock g χ x.2)) := by |
| 428 | | - unfold angularLift profilePhase phase profileIntercept profileRate slowSwap PhaseCalculus.phase |
| 429 | | - ring |
| 430 | | - |
| 431 | 307 | theorem profilePhase_germ (g : Geometry) (w : ClockWindow) |
| 432 | 308 | (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' w.outer)) |
| 433 | 309 | (ε p pz x0 : ℝ) (F G : Parameter → ℝ) (k : Frequency) |
| @@ -443,442 +319,28 @@ theorem profilePhase_germ (g : Geometry) (w : ClockWindow) |
| 443 | 319 | unfold angularLift nativePhase profileIntercept profileRate slowSwap PhaseCalculus.phase |
| 444 | 320 | ring |
| 445 | 321 | |
| 446 | | -theorem profilePhase_jets (g : Geometry) (w : ClockWindow) |
| 447 | | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' w.outer)) |
| 448 | | - (ε p pz x0 : ℝ) (F G : Parameter → ℝ) (k : Frequency) |
| 449 | | - {x : (Parameter × ℝ) × Plane} (hx : g.coordinates k x.2 ∈ w.core) (m : ℕ) : |
| 450 | | - iteratedFDeriv ℝ m (angularLift (profilePhase g w.cutoff ε p pz x0 F G) p) x = |
| 451 | | - iteratedFDeriv ℝ m (fun y => PhaseCalculus.phase ε p pz x0 |
| 452 | | - (fun s => F (s.1, (s.2.2, s.2.1))) (fun s => G (s.1, (s.2.2, s.2.1))) |
| 453 | | - (slowSwap y.1.1, (y.1.2, (g.coordinates k y.2).2))) x := |
| 454 | | - PeriodizedWaveBounds.jets_eq_of_germ (profilePhase_germ g w hinj ε p pz x0 F G k hx) m |
| 455 | | - |
| 456 | 322 | /-! ## One reference phase under actual clock and common-cover changes -/ |
| 457 | 323 | |
| 458 | | -theorem periodicClock_scale_transport (g : Geometry) (χ : Plane → ℝ) (d : ℕ) |
| 459 | | - (rate : ℝ) (hrate : rate ≠ 0) (Y : Plane) : |
| 460 | | - rate * periodicClock (CopySolveCompatibility.transportGeometry g d 0 rate hrate) |
| 461 | | - (χ ∘ CopySolveCompatibility.nativeTimeMap 0 rate) Y = |
| 462 | | - periodicClock g χ (coverPower d Y) := by |
| 463 | | - calc |
| 464 | | - _ = periodizeScalar (CopySolveCompatibility.transportGeometry g d 0 rate hrate) |
| 465 | | - (fun z => χ (CopySolveCompatibility.nativeTimeMap 0 rate z) * (0 + rate * z.2)) Y := by |
| 466 | | - unfold periodicClock periodizeScalar |
| 467 | | - rw [← tsum_mul_left] |
| 468 | | - apply tsum_congr |
| 469 | | - intro k |
| 470 | | - simp only [comp_apply, zero_add] |
| 471 | | - ring |
| 472 | | - _ = _ := periodicClock_transport g χ d 0 rate hrate Y |
| 473 | | - |
| 474 | 324 | section Transport |
| 475 | 325 | |
| 476 | 326 | variable {P Q : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 477 | 327 | [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 478 | 328 | |
| 479 | | -/-- Each target band is a view of one fixed reference phase. -/ |
| 480 | | -noncomputable def transportPhase (Φ : P × Plane → ℝ) (φ : Q → P) (gap : ℕ) |
| 481 | | - (K Kr : ℝ) (z : Q × Plane) : ℝ := |
| 482 | | - (Kr / K) * Φ (φ z.1, coverPower gap z.2) |
| 483 | | - |
| 484 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 485 | | -theorem transportPhase_weighted (Φ : P × Plane → ℝ) (φ : Q → P) (gap : ℕ) |
| 486 | | - {K : ℝ} (hK : K ≠ 0) (Kr : ℝ) (z : Q × Plane) : |
| 487 | | - K * transportPhase Φ φ gap K Kr z = Kr * Φ (φ z.1, coverPower gap z.2) := by |
| 488 | | - unfold transportPhase |
| 489 | | - field_simp |
| 490 | | - |
| 491 | | -theorem transportPhase_contDiff {Φ : P × Plane → ℝ} {φ : Q → P} |
| 492 | | - (hΦ : ContDiff ℝ ∞ Φ) (hφ : ContDiff ℝ ∞ φ) (gap : ℕ) (K Kr : ℝ) : |
| 493 | | - ContDiff ℝ ∞ (transportPhase Φ φ gap K Kr) := |
| 494 | | - contDiff_const.mul (hΦ.comp ((hφ.comp contDiff_fst).prodMk |
| 495 | | - ((coverPower gap).contDiff.comp contDiff_snd))) |
| 496 | | - |
| 497 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 498 | | -theorem transportPhase_periodic {Φ : P × Plane → ℝ} |
| 499 | | - (hΦ : ∀ p Y k, Φ (p, Y + latticePoint k) = Φ (p, Y)) |
| 500 | | - (φ : Q → P) (gap : ℕ) (K Kr : ℝ) (p : Q) (Y : Plane) (k : Frequency) : |
| 501 | | - transportPhase Φ φ gap K Kr (p, Y + latticePoint k) = |
| 502 | | - transportPhase Φ φ gap K Kr (p, Y) := by |
| 503 | | - simp only [transportPhase, map_add, coverPower_lattice, hΦ] |
| 504 | | - |
| 505 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 506 | | -/-- Equality of the constructed fields, including off the native support. -/ |
| 507 | | -theorem transportPhase_eq_refined (g : Geometry) (χ : Plane → ℝ) (A B : P → ℝ) |
| 508 | | - (φ : Q → P) (gap : ℕ) (K Kr : ℝ) : |
| 509 | | - transportPhase (phase g χ A B) φ gap K Kr = |
| 510 | | - phase (CopySolveCompatibility.refineGeometry g gap) χ |
| 511 | | - (fun p => (Kr / K) * A (φ p)) (fun p => (Kr / K) * B (φ p)) := by |
| 512 | | - funext z |
| 513 | | - simp only [transportPhase, phase, periodicClock_refine] |
| 514 | | - ring |
| 515 | | - |
| 516 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 517 | | -/-- The actual physical clock rate and its rescaled cutoff give the same |
| 518 | | -global target phase as the weighted reference pullback. -/ |
| 519 | | -theorem transportPhase_eq_scaled_clock (g : Geometry) (χ : Plane → ℝ) (A B : P → ℝ) |
| 520 | | - (φ : Q → P) (gap : ℕ) (K Kr rate : ℝ) (hrate : rate ≠ 0) : |
| 521 | | - transportPhase (phase g χ A B) φ gap K Kr = |
| 522 | | - phase (CopySolveCompatibility.transportGeometry g gap 0 rate hrate) |
| 523 | | - (χ ∘ CopySolveCompatibility.nativeTimeMap 0 rate) |
| 524 | | - (fun p => (Kr / K) * A (φ p)) (fun p => (Kr / K) * rate * B (φ p)) := by |
| 525 | | - funext z |
| 526 | | - simp only [transportPhase, phase] |
| 527 | | - rw [← periodicClock_scale_transport g χ gap rate hrate z.2] |
| 528 | | - ring |
| 529 | | - |
| 530 | | -omit [NormedSpace ℝ P] [NormedSpace ℝ Q] in |
| 531 | | -/-- The full native phase, with its original anchor, agrees as a germ on |
| 532 | | -every transformed cell. Only continuity of the parameter change is needed |
| 533 | | -to transport the germ. -/ |
| 534 | | -theorem transportPhase_native_germ (g : Geometry) (w : ClockWindow) |
| 535 | | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' w.outer)) |
| 536 | | - (A B : P → ℝ) (φ : Q → P) (gap : ℕ) (K Kr shift rate : ℝ) (hrate : rate ≠ 0) |
| 537 | | - (copy : Frequency) {z : Q × Plane} (hφ : ContinuousAt φ z.1) |
| 538 | | - (hz : CopySolveCompatibility.nativeTimeMap shift rate |
| 539 | | - ((CopySolveCompatibility.transportGeometry g gap shift rate hrate).coordinates copy z.2) ∈ w.core) : |
| 540 | | - transportPhase (phase g w.cutoff A B) φ gap K Kr =ᶠ[𝓝 z] |
| 541 | | - nativePhase (CopySolveCompatibility.transportGeometry g gap shift rate hrate) |
| 542 | | - (fun p => (Kr / K) * (A (φ p) - shift * B (φ p))) |
| 543 | | - (fun p => (Kr / K) * rate * B (φ p)) copy := by |
| 544 | | - have hcoord (Y : Plane) : |
| 545 | | - CopySolveCompatibility.nativeTimeMap shift rate |
| 546 | | - ((CopySolveCompatibility.transportGeometry g gap shift rate hrate).coordinates copy Y) = |
| 547 | | - g.coordinates copy (coverPower gap Y) := by |
| 548 | | - simp only [CopySolveCompatibility.transportGeometry, |
| 549 | | - CopySolveCompatibility.coordinates_refine, CopySolveCompatibility.coordinates_timeGeometry] |
| 550 | | - rw [hcoord] at hz |
| 551 | | - have he := phase_germ g w hinj A B copy (z := (φ z.1, coverPower gap z.2)) hz |
| 552 | | - have ht : Tendsto (fun y : Q × Plane => (φ y.1, coverPower gap y.2)) |
| 553 | | - (𝓝 z) (𝓝 (φ z.1, coverPower gap z.2)) := |
| 554 | | - (hφ.comp continuousAt_fst).prodMk |
| 555 | | - ((coverPower gap).continuous.continuousAt.comp continuousAt_snd) |
| 556 | | - filter_upwards [ht.eventually he] with y hy |
| 557 | | - change (Kr / K) * phase g w.cutoff A B (φ y.1, coverPower gap y.2) = _ |
| 558 | | - rw [hy] |
| 559 | | - have hc := congrArg Prod.snd (hcoord y.2) |
| 560 | | - simp only [CopySolveCompatibility.nativeTimeMap] at hc |
| 561 | | - simp only [nativePhase] |
| 562 | | - rw [← hc] |
| 563 | | - ring |
| 564 | | - |
| 565 | | -omit [NormedSpace ℝ P] in |
| 566 | | -theorem transportPhase_native_jets (g : Geometry) (w : ClockWindow) |
| 567 | | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' w.outer)) |
| 568 | | - (A B : P → ℝ) (φ : Q → P) (gap : ℕ) (K Kr shift rate : ℝ) (hrate : rate ≠ 0) |
| 569 | | - (copy : Frequency) {z : Q × Plane} (hφ : ContinuousAt φ z.1) |
| 570 | | - (hz : CopySolveCompatibility.nativeTimeMap shift rate |
| 571 | | - ((CopySolveCompatibility.transportGeometry g gap shift rate hrate).coordinates copy z.2) ∈ w.core) |
| 572 | | - (m : ℕ) : |
| 573 | | - iteratedFDeriv ℝ m (transportPhase (phase g w.cutoff A B) φ gap K Kr) z = |
| 574 | | - iteratedFDeriv ℝ m |
| 575 | | - (nativePhase (CopySolveCompatibility.transportGeometry g gap shift rate hrate) |
| 576 | | - (fun p => (Kr / K) * (A (φ p) - shift * B (φ p))) |
| 577 | | - (fun p => (Kr / K) * rate * B (φ p)) copy) z := |
| 578 | | - PeriodizedWaveBounds.jets_eq_of_germ |
| 579 | | - (transportPhase_native_germ g w hinj A B φ gap K Kr shift rate hrate copy hφ hz) m |
| 580 | | - |
| 581 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 582 | | -theorem transportPhase_angular_weighted (Φ : P × Plane → ℝ) (φ : Q → P) (gap : ℕ) |
| 583 | | - {K Kr : ℝ} (hK : K ≠ 0) (hKr : Kr ≠ 0) (m : ℤ) (x : (Q × ℝ) × Plane) : |
| 584 | | - K * angularLift (transportPhase Φ φ gap K Kr) ((m : ℝ) / K) x = |
| 585 | | - Kr * angularLift Φ ((m : ℝ) / Kr) ((φ x.1.1, x.1.2), coverPower gap x.2) := by |
| 586 | | - unfold angularLift transportPhase |
| 587 | | - field_simp |
| 588 | | - |
| 589 | 329 | end Transport |
| 590 | 330 | |
| 591 | | -theorem parameterChange_self {Q : ℝ} (hQ : 0 < Q) (h : ℝ) : |
| 592 | | - PhysicalParticularWave.parameterChange h Q Q = id := by |
| 593 | | - have hr (a : ℝ) : PhysicalParticularWave.ratioPower Q Q a = 1 := |
| 594 | | - div_self (Real.rpow_pos_of_pos hQ a).ne' |
| 595 | | - funext p |
| 596 | | - simp only [PhysicalParticularWave.parameterChange, hr, one_mul, id_eq] |
| 597 | | - |
| 598 | | -/-- A literal harmonic block with one reference phase and one angular |
| 599 | | -integer. Its amplitudes and pressure coefficients are supplied by the |
| 600 | | -existing block; its phase is the constructed common-cover view. -/ |
| 601 | | -noncomputable def physicalBlock (b : CorrectionState.HarmonicBlock (Parameter × Plane)) |
| 602 | | - (h : ℝ) (Q : ℕ → ℝ) (gap : ℕ → ℕ) (reference : ℕ) (angular : ℤ) |
| 603 | | - (g : Geometry) (w : ClockWindow) (A B : Parameter → ℝ) : |
| 604 | | - CorrectionState.HarmonicBlock (Parameter × Plane) := |
| 605 | | - { b with |
| 606 | | - phase := fun n => transportPhase (phase g w.cutoff A B) |
| 607 | | - (PhysicalParticularWave.parameterChange h (Q n) (Q reference)) |
| 608 | | - (gap n) (b.frequency n) (b.frequency reference) |
| 609 | | - angularFrequency := fun _ => angular } |
| 610 | | - |
| 611 | | -theorem physicalBlock_reference (b : CorrectionState.HarmonicBlock (Parameter × Plane)) |
| 612 | | - (h : ℝ) (Q : ℕ → ℝ) (gap : ℕ → ℕ) (reference : ℕ) (angular : ℤ) |
| 613 | | - (g : Geometry) (w : ClockWindow) (A B : Parameter → ℝ) |
| 614 | | - (hQ : 0 < Q reference) (hgap : gap reference = 0) (hK : b.frequency reference ≠ 0) : |
| 615 | | - (physicalBlock b h Q gap reference angular g w A B).phase reference = phase g w.cutoff A B := by |
| 616 | | - funext z |
| 617 | | - simp only [physicalBlock, transportPhase, hgap, parameterChange_self hQ h, id_eq, |
| 618 | | - coverPower, ContinuousLinearEquiv.refl_apply, div_self hK, one_mul] |
| 619 | | - |
| 620 | | -theorem physicalBlock_weighted (b : CorrectionState.HarmonicBlock (Parameter × Plane)) |
| 621 | | - (h : ℝ) (Q : ℕ → ℝ) (gap : ℕ → ℕ) (reference : ℕ) (angular : ℤ) |
| 622 | | - (g : Geometry) (w : ClockWindow) (A B : Parameter → ℝ) |
| 623 | | - (hQ : 0 < Q reference) (hgap : gap reference = 0) |
| 624 | | - (hK : ∀ n, b.frequency n ≠ 0) (n : ℕ) (p : Parameter) (Y : Plane) : |
| 625 | | - (physicalBlock b h Q gap reference angular g w A B).frequency n * |
| 626 | | - (physicalBlock b h Q gap reference angular g w A B).phase n (p, Y) = |
| 627 | | - (physicalBlock b h Q gap reference angular g w A B).frequency reference * |
| 628 | | - (physicalBlock b h Q gap reference angular g w A B).phase reference |
| 629 | | - (PhysicalParticularWave.parameterChange h (Q n) (Q reference) p, coverPower (gap n) Y) := by |
| 630 | | - rw [physicalBlock_reference b h Q gap reference angular g w A B hQ hgap (hK reference)] |
| 631 | | - exact transportPhase_weighted _ _ _ (hK n) _ _ |
| 632 | | - |
| 633 | | -theorem physicalBlock_periodic (b : CorrectionState.HarmonicBlock (Parameter × Plane)) |
| 634 | | - (h : ℝ) (Q : ℕ → ℝ) (gap : ℕ → ℕ) (reference : ℕ) (angular : ℤ) |
| 635 | | - (g : Geometry) (w : ClockWindow) (A B : Parameter → ℝ) |
| 636 | | - (n : ℕ) (p : Parameter) (Y : Plane) (k : Frequency) : |
| 637 | | - (physicalBlock b h Q gap reference angular g w A B).phase n (p, Y + latticePoint k) = |
| 638 | | - (physicalBlock b h Q gap reference angular g w A B).phase n (p, Y) := |
| 639 | | - transportPhase_periodic (phase_periodic g w.cutoff A B) _ _ _ _ _ _ _ |
| 640 | | - |
| 641 | | -theorem physicalBlock_contDiff (b : CorrectionState.HarmonicBlock (Parameter × Plane)) |
| 642 | | - (h : ℝ) (Q : ℕ → ℝ) (gap : ℕ → ℕ) (reference : ℕ) (angular : ℤ) |
| 643 | | - (g : Geometry) (w : ClockWindow) {A B : Parameter → ℝ} |
| 644 | | - (hA : ContDiff ℝ ∞ A) (hB : ContDiff ℝ ∞ B) (n : ℕ) : |
| 645 | | - ContDiff ℝ ∞ ((physicalBlock b h Q gap reference angular g w A B).phase n) := |
| 646 | | - transportPhase_contDiff (phase_contDiff g w hA hB) |
| 647 | | - (PhysicalParticularWave.parameterChange_smooth h (Q n) (Q reference)) _ _ _ |
| 648 | | - |
| 649 | | -/-- The exact PPW clock, with its cutoff transformed by the same rate. -/ |
| 650 | | -theorem physicalBlock_eq_scaled_clock (b : CorrectionState.HarmonicBlock (Parameter × Plane)) |
| 651 | | - (h : ℝ) (Q : ℕ → ℝ) (gap : ℕ → ℕ) (reference : ℕ) (angular : ℤ) |
| 652 | | - (g : Geometry) (w : ClockWindow) (A B : Parameter → ℝ) (n : ℕ) |
| 653 | | - (hQn : 0 < Q n) (hQr : 0 < Q reference) : |
| 654 | | - (physicalBlock b h Q gap reference angular g w A B).phase n = |
| 655 | | - phase (CopySolveCompatibility.transportGeometry g (gap n) 0 |
| 656 | | - (PhysicalParticularWave.clockWeight h (Q n) (Q reference)) |
| 657 | | - (PhysicalParticularWave.ratioPower_pos hQn hQr _).ne') |
| 658 | | - (w.cutoff ∘ CopySolveCompatibility.nativeTimeMap 0 |
| 659 | | - (PhysicalParticularWave.clockWeight h (Q n) (Q reference))) |
| 660 | | - (fun p => (b.frequency reference / b.frequency n) * |
| 661 | | - A (PhysicalParticularWave.parameterChange h (Q n) (Q reference) p)) |
| 662 | | - (fun p => (b.frequency reference / b.frequency n) * |
| 663 | | - PhysicalParticularWave.clockWeight h (Q n) (Q reference) * |
| 664 | | - B (PhysicalParticularWave.parameterChange h (Q n) (Q reference) p)) := |
| 665 | | - transportPhase_eq_scaled_clock g w.cutoff A B _ _ _ _ _ _ |
| 666 | | - |
| 667 | | -/-- Assign the constructed phase family to the literal assembly record. -/ |
| 668 | | -noncomputable def periodicAssembly (D : ParticularWaveAssembly.AssemblyData Parameter) |
| 669 | | - (h : ℝ) (Q : ℕ → ℝ) (gap : ℕ → ℕ) (angular : ℤ) (w : ClockWindow) |
| 670 | | - (A B : Parameter → ℝ) : ParticularWaveAssembly.AssemblyData Parameter := |
| 671 | | - { D with carrierBlock := physicalBlock D.carrierBlock h Q gap D.reference.band angular |
| 672 | | - D.reference.geometry w A B } |
| 673 | | - |
| 674 | | -theorem bandPhase_eq_actualCarrier (D : ParticularWaveAssembly.AssemblyData Parameter) |
| 675 | | - (h : ℝ) (Q : ℕ → ℝ) (gap : ℕ → ℕ) (angular : ℤ) (w : ClockWindow) |
| 676 | | - (A B : Parameter → ℝ) (hQ : 0 < Q D.reference.band) |
| 677 | | - (hgap : gap D.reference.band = 0) (hK : ∀ n, D.carrierBlock.frequency n ≠ 0) |
| 678 | | - (n : ℕ) (j : ℤ) (hj : j ≠ 0) : |
| 679 | | - PhysicalParticularWave.bandPhase (periodicAssembly D h Q gap angular w A B) |
| 680 | | - h (Q n) (Q D.reference.band) (gap n) ((j : ℝ) * D.carrierBlock.frequency n) j = |
| 681 | | - fun x => (ParticularWaveAssembly.actualCarrier D.background |
| 682 | | - (periodicAssembly D h Q gap angular w A B).carrierBlock j).phase n |
| 683 | | - (PhysicalParticularWave.waveEquiv x) := by |
| 684 | | - apply PhysicalParticularWave.bandPhase_eq_actualCarrier |
| 685 | | - (periodicAssembly D h Q gap angular w A B) h (Q n) (Q D.reference.band) (gap n) n j hj hK |
| 686 | | - · exact physicalBlock_weighted D.carrierBlock h Q gap D.reference.band angular |
| 687 | | - D.reference.geometry w A B hQ hgap hK n |
| 688 | | - · rfl |
| 689 | | - |
| 690 | 331 | /-! ## Native support geometry and direct carrier adapters -/ |
| 691 | 332 | |
| 692 | | -theorem transportGeometry_affine (g : Geometry) (gap : ℕ) (shift rate : ℝ) |
| 693 | | - (hrate : rate ≠ 0) (z : Plane) : |
| 694 | | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate).center + |
| 695 | | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate).basis z = |
| 696 | | - g.center + g.basis (CopySolveCompatibility.nativeTimeMap shift rate z) := by |
| 697 | | - simp only [CopySolveCompatibility.transportGeometry, CopySolveCompatibility.refineGeometry, |
| 698 | | - CopySolveCompatibility.timeGeometry, CommonCoverClass.scaledBasis_apply, |
| 699 | | - CopySolveCompatibility.nativeTimeMap] |
| 700 | | - rw [show (z.1, shift + rate * z.2) = (0, shift) + (z.1, rate * z.2) by ext <;> simp] |
| 701 | | - rw [map_add] |
| 702 | | - abel |
| 703 | | - |
| 704 | | -theorem transportGeometry_injective (g : Geometry) (gap : ℕ) (shift rate : ℝ) |
| 705 | | - (hrate : rate ≠ 0) {K : Set Plane} |
| 706 | | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' K)) : |
| 707 | | - InjOn quotientPoint |
| 708 | | - ((fun z => (CopySolveCompatibility.transportGeometry g gap shift rate hrate).center + |
| 709 | | - (CopySolveCompatibility.transportGeometry g gap shift rate hrate).basis z) '' |
| 710 | | - (CopySolveCompatibility.nativeTimeMap shift rate ⁻¹' K)) := by |
| 711 | | - apply hinj.mono |
| 712 | | - rintro z ⟨x, hx, rfl⟩ |
| 713 | | - exact ⟨CopySolveCompatibility.nativeTimeMap shift rate x, hx, |
| 714 | | - (transportGeometry_affine g gap shift rate hrate x).symm⟩ |
| 715 | | - |
| 716 | 333 | section AdditionalTransport |
| 717 | 334 | |
| 718 | 335 | variable {P Q : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 719 | 336 | [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 720 | 337 | |
| 721 | | -theorem transportPhase_contDiffOn {Φ : P × Plane → ℝ} {φ : Q → P} {U : Set P} {V : Set Q} |
| 722 | | - (hΦ : ContDiffOn ℝ ∞ Φ (U ×ˢ univ)) (hφ : ContDiffOn ℝ ∞ φ V) |
| 723 | | - (hmap : MapsTo φ V U) (gap : ℕ) (K Kr : ℝ) : |
| 724 | | - ContDiffOn ℝ ∞ (transportPhase Φ φ gap K Kr) (V ×ˢ univ) := |
| 725 | | - contDiffOn_const.mul (hΦ.comp |
| 726 | | - ((hφ.comp contDiffOn_fst (fun _ hx => hx.1)).prodMk |
| 727 | | - ((coverPower gap).contDiff.comp_contDiffOn contDiffOn_snd)) |
| 728 | | - (fun _ hx => ⟨hmap hx.1, mem_univ _⟩)) |
| 729 | | - |
| 730 | | -omit [NormedSpace ℝ P] [NormedSpace ℝ Q] in |
| 731 | | -/-- Exact values on the entire transformed sampling interval, with the |
| 732 | | -original reference anchor `shift + rate*t`. -/ |
| 733 | | -theorem transportPhase_path (g : Geometry) (w : ClockWindow) |
| 734 | | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' w.outer)) |
| 735 | | - (A B : P → ℝ) (φ : Q → P) (gap : ℕ) (K Kr shift rate : ℝ) (hrate : rate ≠ 0) |
| 736 | | - (copy : Frequency) (p : Q) (hφ : ContinuousAt φ p) (Y : Plane) (t : ℝ) |
| 737 | | - (htransverse : |
| 738 | | - ((CopySolveCompatibility.transportGeometry g gap shift rate hrate).coordinates copy Y).1 ∈ |
| 739 | | - Icc w.lower.1 w.upper.1) |
| 740 | | - (ht : shift + rate * t ∈ Icc w.lower.2 w.upper.2) : |
| 741 | | - transportPhase (phase g w.cutoff A B) φ gap K Kr |
| 742 | | - (p, (CopySolveCompatibility.transportGeometry g gap shift rate hrate).path copy Y t) = |
| 743 | | - (Kr / K) * (A (φ p) - (shift + rate * t) * B (φ p)) := by |
| 744 | | - let G := CopySolveCompatibility.transportGeometry g gap shift rate hrate |
| 745 | | - have hz : CopySolveCompatibility.nativeTimeMap shift rate |
| 746 | | - (G.coordinates copy (G.path copy Y t)) ∈ w.core := by |
| 747 | | - rw [G.coordinates_path] |
| 748 | | - exact ⟨htransverse, ht⟩ |
| 749 | | - have he := (transportPhase_native_germ g w hinj A B φ gap K Kr shift rate hrate copy |
| 750 | | - (z := (p, G.path copy Y t)) hφ hz).self_of_nhds |
| 751 | | - rw [he] |
| 752 | | - change (Kr / K) * (A (φ p) - shift * B (φ p)) - |
| 753 | | - (G.coordinates copy (G.path copy Y t)).2 * ((Kr / K) * rate * B (φ p)) = _ |
| 754 | | - rw [G.coordinates_path] |
| 755 | | - ring |
| 756 | | - |
| 757 | 338 | end AdditionalTransport |
| 758 | 339 | |
| 759 | 340 | section CarrierAdapters |
| 760 | 341 | |
| 761 | 342 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 762 | 343 | |
| 763 | | -/-- Periodicity of all joint derivative tensors follows from the proved |
| 764 | | -function identity under the constant lattice translation. -/ |
| 765 | | -theorem latticePeriodic_jets {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 766 | | - {f : P × Plane → E} (hf : ∀ p Y k, f (p, Y + latticePoint k) = f (p, Y)) |
| 767 | | - (m : ℕ) (p : P) (Y : Plane) (k : Frequency) : |
| 768 | | - iteratedFDeriv ℝ m f (p, Y + latticePoint k) = iteratedFDeriv ℝ m f (p, Y) := by |
| 769 | | - have hshift (z : P × Plane) : z + ((0 : P), latticePoint k) = (z.1, z.2 + latticePoint k) := by |
| 770 | | - ext <;> simp |
| 771 | | - have he : (fun z : P × Plane => f (z + ((0 : P), latticePoint k))) = f := by |
| 772 | | - funext z |
| 773 | | - rw [hshift] |
| 774 | | - exact hf z.1 z.2 k |
| 775 | | - have ht := iteratedFDeriv_comp_add_right (𝕜 := ℝ) (f := f) m ((0 : P), latticePoint k) (p, Y) |
| 776 | | - rw [he, hshift] at ht |
| 777 | | - exact ht.symm |
| 778 | | - |
| 779 | | -omit [NormedSpace ℝ P] in |
| 780 | | -theorem carrier_germ {Φ Ψ : P → ℝ} {x : P} (hΦ : Φ =ᶠ[𝓝 x] Ψ) (K : ℝ) : |
| 781 | | - HarmonicCalculus.carrier K Φ =ᶠ[𝓝 x] HarmonicCalculus.carrier K Ψ := by |
| 782 | | - filter_upwards [hΦ] with y hy |
| 783 | | - simp only [HarmonicCalculus.carrier, hy] |
| 784 | | - |
| 785 | | -omit [NormedSpace ℝ P] in |
| 786 | | -theorem fullMode_germ {Φ Ψ : P → ℝ} {x : P} (hΦ : Φ =ᶠ[𝓝 x] Ψ) |
| 787 | | - (K : ℝ) (a : P → ℂ) : |
| 788 | | - HarmonicCalculus.mode K Φ a =ᶠ[𝓝 x] HarmonicCalculus.mode K Ψ a := by |
| 789 | | - filter_upwards [carrier_germ hΦ K] with y hy |
| 790 | | - exact congrArg (fun z => a y * z) hy |
| 791 | | - |
| 792 | | -theorem carrier_jets_of_phase_germ {Φ Ψ : P → ℝ} {x : P} (hΦ : Φ =ᶠ[𝓝 x] Ψ) |
| 793 | | - (K : ℝ) (m : ℕ) : |
| 794 | | - iteratedFDeriv ℝ m (HarmonicCalculus.carrier K Φ) x = |
| 795 | | - iteratedFDeriv ℝ m (HarmonicCalculus.carrier K Ψ) x := |
| 796 | | - PeriodizedWaveBounds.jets_eq_of_germ (carrier_germ hΦ K) m |
| 797 | | - |
| 798 | | -theorem fullMode_jets_of_phase_germ {Φ Ψ : P → ℝ} {x : P} (hΦ : Φ =ᶠ[𝓝 x] Ψ) |
| 799 | | - (K : ℝ) (a : P → ℂ) (m : ℕ) : |
| 800 | | - iteratedFDeriv ℝ m (HarmonicCalculus.mode K Φ a) x = |
| 801 | | - iteratedFDeriv ℝ m (HarmonicCalculus.mode K Ψ a) x := |
| 802 | | - PeriodizedWaveBounds.jets_eq_of_germ (fullMode_germ hΦ K a) m |
| 803 | | - |
| 804 | | -omit [NormedSpace ℝ P] in |
| 805 | | -theorem actualCarrier_phase_germ (base : LinearWaveBounds.WaveCoefficients ((P × ℝ) × Plane)) |
| 806 | | - (b : CorrectionState.HarmonicBlock (P × Plane)) (j : ℤ) (n : ℕ) |
| 807 | | - {Φ : P × Plane → ℝ} {x : (P × ℝ) × Plane} |
| 808 | | - (hΦ : b.phase n =ᶠ[𝓝 (x.1.1, x.2)] Φ) : |
| 809 | | - (ParticularWaveAssembly.actualCarrier base b j).phase n =ᶠ[𝓝 x] |
| 810 | | - angularLift Φ ((b.angularFrequency n : ℝ) / b.frequency n) := |
| 811 | | - angularLift_germ _ hΦ |
| 812 | | - |
| 813 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 814 | | -theorem actualCarrier_periodic (base : LinearWaveBounds.WaveCoefficients ((P × ℝ) × Plane)) |
| 815 | | - (b : CorrectionState.HarmonicBlock (P × Plane)) (j : ℤ) (n : ℕ) |
| 816 | | - (hΦ : ∀ p Y k, b.phase n (p, Y + latticePoint k) = b.phase n (p, Y)) |
| 817 | | - (p : P) (θ : ℝ) (Y : Plane) (k : Frequency) : |
| 818 | | - (ParticularWaveAssembly.actualCarrier base b j).phase n ((p, θ), Y + latticePoint k) = |
| 819 | | - (ParticularWaveAssembly.actualCarrier base b j).phase n ((p, θ), Y) ∧ |
| 820 | | - HarmonicCalculus.carrier ((ParticularWaveAssembly.actualCarrier base b j).frequency n) |
| 821 | | - ((ParticularWaveAssembly.actualCarrier base b j).phase n) ((p, θ), Y + latticePoint k) = |
| 822 | | - HarmonicCalculus.carrier ((ParticularWaveAssembly.actualCarrier base b j).frequency n) |
| 823 | | - ((ParticularWaveAssembly.actualCarrier base b j).phase n) ((p, θ), Y) := by |
| 824 | | - have he : (ParticularWaveAssembly.actualCarrier base b j).phase n ((p, θ), Y + latticePoint k) = |
| 825 | | - (ParticularWaveAssembly.actualCarrier base b j).phase n ((p, θ), Y) := by |
| 826 | | - simp only [ParticularWaveAssembly.actualCarrier, hΦ] |
| 827 | | - exact ⟨he, by simp only [HarmonicCalculus.carrier, he]⟩ |
| 828 | | - |
| 829 | | -omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 830 | | -theorem actualCarrier_angular_periodic (base : LinearWaveBounds.WaveCoefficients ((P × ℝ) × Plane)) |
| 831 | | - (b : CorrectionState.HarmonicBlock (P × Plane)) (j : ℤ) (n : ℕ) |
| 832 | | - (hK : b.frequency n ≠ 0) (p : P) (θ : ℝ) (Y : Plane) : |
| 833 | | - HarmonicCalculus.carrier ((ParticularWaveAssembly.actualCarrier base b j).frequency n) |
| 834 | | - ((ParticularWaveAssembly.actualCarrier base b j).phase n) ((p, θ + 2 * Real.pi), Y) = |
| 835 | | - HarmonicCalculus.carrier ((ParticularWaveAssembly.actualCarrier base b j).frequency n) |
| 836 | | - ((ParticularWaveAssembly.actualCarrier base b j).phase n) ((p, θ), Y) := |
| 837 | | - carrier_angular_periodic (b.phase n) hK (b.angularFrequency n) j p Y θ |
| 838 | | - |
| 839 | 344 | end CarrierAdapters |
| 840 | 345 | |
| 841 | | -theorem physicalBlock_native_germ (b : CorrectionState.HarmonicBlock (Parameter × Plane)) |
| 842 | | - (h : ℝ) (Q : ℕ → ℝ) (gap : ℕ → ℕ) (reference : ℕ) (angular : ℤ) |
| 843 | | - (g : Geometry) (w : ClockWindow) (A B : Parameter → ℝ) |
| 844 | | - (hinj : InjOn quotientPoint ((fun z => g.center + g.basis z) '' w.outer)) |
| 845 | | - (n : ℕ) (shift rate : ℝ) (hrate : rate ≠ 0) (copy : Frequency) {z : Parameter × Plane} |
| 846 | | - (hz : CopySolveCompatibility.nativeTimeMap shift rate |
| 847 | | - ((CopySolveCompatibility.transportGeometry g (gap n) shift rate hrate).coordinates copy z.2) ∈ w.core) : |
| 848 | | - (physicalBlock b h Q gap reference angular g w A B).phase n =ᶠ[𝓝 z] |
| 849 | | - nativePhase (CopySolveCompatibility.transportGeometry g (gap n) shift rate hrate) |
| 850 | | - (fun p => (b.frequency reference / b.frequency n) * |
| 851 | | - (A (PhysicalParticularWave.parameterChange h (Q n) (Q reference) p) - |
| 852 | | - shift * B (PhysicalParticularWave.parameterChange h (Q n) (Q reference) p))) |
| 853 | | - (fun p => (b.frequency reference / b.frequency n) * rate * |
| 854 | | - B (PhysicalParticularWave.parameterChange h (Q n) (Q reference) p)) copy := |
| 855 | | - transportPhase_native_germ g w hinj A B _ _ _ _ shift rate hrate copy |
| 856 | | - (PhysicalParticularWave.parameterChange_smooth h (Q n) (Q reference)).continuous.continuousAt hz |
| 857 | | - |
| 858 | | -/-- Exact naturality of the complete carrier, including its unchanged |
| 859 | | -integer angular character, on the free lift. -/ |
| 860 | | -theorem physicalBlock_carrier_natural (base : LinearWaveBounds.WaveCoefficients ((Parameter × ℝ) × Plane)) |
| 861 | | - (b : CorrectionState.HarmonicBlock (Parameter × Plane)) |
| 862 | | - (h : ℝ) (Q : ℕ → ℝ) (gap : ℕ → ℕ) (reference : ℕ) (angular : ℤ) |
| 863 | | - (g : Geometry) (w : ClockWindow) (A B : Parameter → ℝ) |
| 864 | | - (hQ : 0 < Q reference) (hgap : gap reference = 0) (hK : ∀ n, b.frequency n ≠ 0) |
| 865 | | - (j : ℤ) (n : ℕ) (p : Parameter) (θ : ℝ) (Y : Plane) : |
| 866 | | - HarmonicCalculus.carrier ((j : ℝ) * b.frequency n) |
| 867 | | - ((ParticularWaveAssembly.actualCarrier base |
| 868 | | - (physicalBlock b h Q gap reference angular g w A B) j).phase n) ((p, θ), Y) = |
| 869 | | - HarmonicCalculus.carrier ((j : ℝ) * b.frequency reference) |
| 870 | | - ((ParticularWaveAssembly.actualCarrier base |
| 871 | | - (physicalBlock b h Q gap reference angular g w A B) j).phase reference) |
| 872 | | - ((PhysicalParticularWave.parameterChange h (Q n) (Q reference) p, θ), coverPower (gap n) Y) := by |
| 873 | | - let Bp := physicalBlock b h Q gap reference angular g w A B |
| 874 | | - change HarmonicCalculus.carrier ((j : ℝ) * b.frequency n) |
| 875 | | - (angularLift (Bp.phase n) ((angular : ℝ) / b.frequency n)) ((p, θ), Y) = |
| 876 | | - HarmonicCalculus.carrier ((j : ℝ) * b.frequency reference) |
| 877 | | - (angularLift (Bp.phase reference) ((angular : ℝ) / b.frequency reference)) |
| 878 | | - ((PhysicalParticularWave.parameterChange h (Q n) (Q reference) p, θ), coverPower (gap n) Y) |
| 879 | | - rw [carrier_angularLift_eq_character _ (hK n), carrier_angularLift_eq_character _ (hK reference)] |
| 880 | | - congr 1 |
| 881 | | - exact congrArg (fun x => x + (angular : ℝ) * θ) |
| 882 | | - (physicalBlock_weighted b h Q gap reference angular g w A B hQ hgap hK n p Y) |
| 883 | | - |
| 884 | 346 | end NavierStokes.PeriodicPhaseAssembly |