| @@ -239,12 +239,6 @@ section ActualMeanAndDivergence |
| 239 | 239 | |
| 240 | 240 | open CorrectionState |
| 241 | 241 | |
| 242 | | -theorem angularMean_fullGoodResidual {U : Set D} {c : Context D} {u : State D} |
| 243 | | - (H : LiftedMeanResidual.MeanHypotheses U c u) (n : ℕ) {x : D} |
| 244 | | - (hx : x ∈ U) (i : Fin 3) : |
| 245 | | - angularMeanVector (fullGoodResidual c u) n x i = u.meanGoodResidual c n x i := |
| 246 | | - LiftedMeanResidual.angularMean_fullGoodResidual H n hx i |
| 247 | | - |
| 248 | 242 | noncomputable def meanLift (m : Triple D) : Oscillation D := |
| 249 | 243 | fun n x => meanComponents m n x.1 |
| 250 | 244 | |
| @@ -1333,10 +1327,6 @@ theorem withCarrier_of_same {a b : HarmonicBlock D} (h : SameCarrier a b) : |
| 1333 | 1327 | subst bkp |
| 1334 | 1328 | rfl |
| 1335 | 1329 | |
| 1336 | | -noncomputable def SignedParameters.gaussianBlock (p : SignedParameters D) (s : StripData D) |
| 1337 | | - (request : ℕ → D × ℝ → SignedWaveUpdate.Vec2) : HarmonicBlock D := |
| 1338 | | - SignedWaveUpdate.gaussianBlock (p.coefficients s request) p.directions p.cutoff p.angularFrequency |
| 1339 | | - |
| 1340 | 1330 | end ConstructedSignedLinear |
| 1341 | 1331 | |
| 1342 | 1332 | section ConstructedSignedInvariants |
| @@ -2690,36 +2680,6 @@ theorem NativeControl.global_bounds (h : p.NativeControl s c u b G A j W α κ) |
| 2690 | 2680 | (LocalizedWaveBounds.LocalClass.band_const h.inverse_frequency) |
| 2691 | 2681 | (fun n i x hx hi => (h.phase_cover n i x hx hi).imp_right localized_zero_of_source_path) |
| 2692 | 2682 | |
| 2693 | | -theorem sectionStrip_nativeStrip (s : StripData (Q × Plane)) : |
| 2694 | | - ParticularWaveAssembly.sectionStrip (nativeStrip s) = s := by |
| 2695 | | - cases s |
| 2696 | | - rfl |
| 2697 | | - |
| 2698 | | -theorem assembled_bounds (p : ParticularParameters Q) (s : StripData (Q × Plane)) |
| 2699 | | - (c : Context (Q × Plane)) (u : State (Q × Plane)) (b : HarmonicBlock (Q × Plane)) |
| 2700 | | - (G A : HarmonicResidual.BlockCoefficients (Q × Plane)) (N : ℕ) |
| 2701 | | - {W : ℕ → (Q × ℝ) × Plane → ℝ} {α κ : ℝ} |
| 2702 | | - (C : ∀ j ∈ ParticularWaveAssembly.modes N, p.NativeControl s c u b G A j W α κ) |
| 2703 | | - (hW : ∀ n x, x ∈ (nativeStrip s).domain → 0 ≤ W n x) (hκ : κ ≤ 1 / 2) : |
| 2704 | | - (p.updateBlock s c u b G A N).WaveBounds s |
| 2705 | | - (fun n x => W n (ParticularWaveAssembly.angleShuffle (x,0))) α ∧ |
| 2706 | | - (p.updateBlock s c u b G A N).PressureBounds s |
| 2707 | | - (fun n x => W n (ParticularWaveAssembly.angleShuffle (x,0))) (α + 1 / 2) ∧ |
| 2708 | | - (p.goodBlock s c u b G A N).WaveBounds s |
| 2709 | | - (fun n x => W n (ParticularWaveAssembly.angleShuffle (x,0))) (α + 1 / 2 - 3 * κ) := by |
| 2710 | | - have hu := ParticularWaveAssembly.assembledBlock_classes |
| 2711 | | - (s := ParticularWaveAssembly.sectionStrip (nativeStrip s)) N b.frequency b.phase b.angularFrequency |
| 2712 | | - (fun n x hx => hW n _ hx) |
| 2713 | | - (fun j hj => ParticularWaveAssembly.nativeSlice_waveClass ((C j hj).global_bounds hκ).2.1) |
| 2714 | | - (fun j hj => ParticularWaveAssembly.nativeSlice_waveClass ((C j hj).global_bounds hκ).2.2.1) |
| 2715 | | - have hg := ParticularWaveAssembly.assembledBlock_classes |
| 2716 | | - (s := ParticularWaveAssembly.sectionStrip (nativeStrip s)) (γ := (0 : ℝ)) N |
| 2717 | | - b.frequency b.phase b.angularFrequency (fun n x hx => hW n _ hx) |
| 2718 | | - (fun j hj => ParticularWaveAssembly.nativeSlice_waveClass ((C j hj).global_bounds hκ).2.2.2.2) |
| 2719 | | - (fun _ _ => MemClass.zero (fun n x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n _ hx))) |
| 2720 | | - rw [sectionStrip_nativeStrip] at hu hg |
| 2721 | | - exact ⟨hu.1, hu.2, hg.1⟩ |
| 2722 | | - |
| 2723 | 2683 | end ParticularParameters |
| 2724 | 2684 | |
| 2725 | 2685 | end PeriodizedNativeBounds |
| @@ -2894,26 +2854,6 @@ variable {a : PeriodizedWaveBounds.CopyData D I} {s : StripData D} |
| 2894 | 2854 | |
| 2895 | 2855 | include g |
| 2896 | 2856 | |
| 2897 | | -theorem common_amplitude (n : ℕ) : |
| 2898 | | - CopyAngularInvariance.Invariant d.angular (a.common.amplitude n) := |
| 2899 | | - a.common_amplitude_invariant d.angular (fun n i => g.cutoff i n) |
| 2900 | | - (fun n i => g.amplitude i n) n |
| 2901 | | - |
| 2902 | | -theorem common_pressure (n : ℕ) : |
| 2903 | | - CopyAngularInvariance.Invariant d.angular (a.common.pressure n) := |
| 2904 | | - a.common_pressure_invariant d.angular (fun n i => g.cutoff i n) |
| 2905 | | - (fun n i => g.pressure i n) n |
| 2906 | | - |
| 2907 | | -theorem good (n : ℕ) : |
| 2908 | | - CopyAngularInvariance.Invariant d.angular (a.globalGood s d n) := |
| 2909 | | - a.globalGood_invariant s d (fun n i => g.cutoff i n) (fun n i => g.amplitude i n) |
| 2910 | | - (fun n i => g.pressure i n) g.radius g.radial_base g.frequency_base g.axial_base |
| 2911 | | - g.radial_field (fun _ => CopyAngularInvariance.Invariant.const _) g.phase n |
| 2912 | | - |
| 2913 | | -theorem gaussian (hf : ∀ n, CopyAngularInvariance.Invariant d.angular (a.source n)) (n : ℕ) : |
| 2914 | | - CopyAngularInvariance.Invariant d.angular (a.globalGaussian d n) := |
| 2915 | | - a.globalGaussian_invariant d d.angular (fun n i => g.cutoff i n) |
| 2916 | | - (fun n i => g.amplitude i n) hf n |
| 2917 | 2857 | end NativeAngularGeometry |
| 2918 | 2858 | |
| 2919 | 2859 | namespace PeriodizedSignedParameters |
| @@ -3233,15 +3173,6 @@ theorem iterate_representation (p : ℕ → CycleParameters ι) (c : Context Cyc |
| 3233 | 3173 | | succ n ih => |
| 3234 | 3174 | exact (p n).next_representation (iterate p c seed n).coefficients c (iterate p c seed n).state ih (hc n) |
| 3235 | 3175 | |
| 3236 | | -theorem iterate_bands (p : ℕ → CycleParameters ι) (c : Context CyclePoint) (seed : CycleState ι) |
| 3237 | | - (hseed : CoefficientBands seed.coefficients) : |
| 3238 | | - ∀ n, CoefficientBands (iterate p c seed n).coefficients := by |
| 3239 | | - intro n |
| 3240 | | - induction n with |
| 3241 | | - | zero => exact hseed |
| 3242 | | - | succ n ih => |
| 3243 | | - exact (p n).next_coefficient_bands (iterate p c seed n).coefficients c (iterate p c seed n).state ih |
| 3244 | | - |
| 3245 | 3176 | end CycleState |
| 3246 | 3177 | |
| 3247 | 3178 | end ActualRecurrence |
| @@ -3880,46 +3811,6 @@ noncomputable def fromReference |
| 3880 | 3811 | background := D.background |
| 3881 | 3812 | directions := D.directions |
| 3882 | 3813 | |
| 3883 | | -theorem fromReference_amplitude |
| 3884 | | - (D : AssemblyData PhysicalParticularWave.Parameter) (h : ℝ) (gap : ℕ→ℕ) (j : ℤ) (n : ℕ) : |
| 3885 | | - ((fromReference D h gap).copyData D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.amplitude n = |
| 3886 | | - angleLift (PhysicalParticularWave.residualBandAmplitude D h (ChartScales.Q_pos n) |
| 3887 | | - (ChartScales.Q_pos D.reference.band) (gap n) ((j:ℝ)*D.carrierBlock.frequency n) j n) := |
| 3888 | | - common_amplitude _ _ _ _ _ _ _ _ |
| 3889 | | - |
| 3890 | | -theorem fromReference_pressure |
| 3891 | | - (D : AssemblyData PhysicalParticularWave.Parameter) (h : ℝ) (gap : ℕ→ℕ) (j : ℤ) (n : ℕ) |
| 3892 | | - (hk : (j:ℝ)*D.carrierBlock.frequency n ≠ 0) : |
| 3893 | | - ((fromReference D h gap).copyData D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.pressure n = |
| 3894 | | - angleLift (PhysicalParticularWave.residualBandPressure D h (ChartScales.Q_pos n) |
| 3895 | | - (ChartScales.Q_pos D.reference.band) (gap n) ((j:ℝ)*D.carrierBlock.frequency n) j n) := |
| 3896 | | - common_pressure _ _ _ _ _ _ _ _ hk |
| 3897 | | - |
| 3898 | | -/-- Full-lift current-state coherence identifies the actual solved amplitude |
| 3899 | | -with the one reference physical wave, before taking a graph restriction. -/ |
| 3900 | | -theorem fromReference_coherent_amplitude |
| 3901 | | - (D : AssemblyData PhysicalParticularWave.Parameter) (h : ℝ) (gap : ℕ→ℕ) (j : ℤ) (n i : ℕ) |
| 3902 | | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) |
| 3903 | | - (ChartScales.Q_pos D.reference.band) i (gap n) n) |
| 3904 | | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 3905 | | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) : |
| 3906 | | - ((fromReference D h gap).copyData D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.amplitude n = |
| 3907 | | - angleLift (PhysicalParticularWave.bandAmplitude D h (ChartScales.Q_pos n) |
| 3908 | | - (ChartScales.Q_pos D.reference.band) (gap n) ((j:ℝ)*D.carrierBlock.frequency n) j) := by |
| 3909 | | - rw [fromReference_amplitude, H.residualBandAmplitude_eq hn hr] |
| 3910 | | - |
| 3911 | | -theorem fromReference_coherent_pressure |
| 3912 | | - (D : AssemblyData PhysicalParticularWave.Parameter) (h : ℝ) (gap : ℕ→ℕ) (j : ℤ) (n i : ℕ) |
| 3913 | | - (H : PhysicalResidualNaturality.BandCoherence D h (ChartScales.Q_pos n) |
| 3914 | | - (ChartScales.Q_pos D.reference.band) i (gap n) n) |
| 3915 | | - (hn : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput n) |
| 3916 | | - (hr : PhysicalResidualNaturality.PositiveSupport D.carrierBlock D.gaussianInput D.aliasInput D.reference.band) |
| 3917 | | - (hk : (j:ℝ)*D.carrierBlock.frequency n ≠ 0) : |
| 3918 | | - ((fromReference D h gap).copyData D.context D.state D.carrierBlock D.gaussianInput D.aliasInput j).common.pressure n = |
| 3919 | | - angleLift (PhysicalParticularWave.bandPressure D h (ChartScales.Q_pos n) |
| 3920 | | - (ChartScales.Q_pos D.reference.band) (gap n) ((j:ℝ)*D.carrierBlock.frequency n) j) := by |
| 3921 | | - rw [fromReference_pressure D h gap j n hk, H.residualBandPressure_eq hn hr] |
| 3922 | | - |
| 3923 | 3814 | end ParticularParameters |
| 3924 | 3815 | |
| 3925 | 3816 | end CoherentReferenceParticular |
| @@ -4642,14 +4533,6 @@ theorem withAxis (h : CycleRepresentation v u axis) : |
| 4642 | 4533 | AxisymmetricResidualGrouping.Representation v.labels v.blocks v.gaussian v.aliasCoefficients u axis := |
| 4643 | 4534 | ⟨h.velocity, h.pressure, h.gaussian, h.aliasError⟩ |
| 4644 | 4535 | |
| 4645 | | -theorem fullGoodWaveResidual_grouped_local (h : CycleRepresentation v u axis) |
| 4646 | | - {U : Set CyclePoint} (hU : IsOpen U) {c : Context CyclePoint} {n : ℕ} |
| 4647 | | - (hr : LocalResidualGrouping.ExtractionRegular U c u v.labels v.blocks v.gaussian v.aliasCoefficients n) |
| 4648 | | - {x : CyclePoint × ℝ} (hx : x ∈ HarmonicResidual.liftDomain U) (i : Fin 3) : |
| 4649 | | - fullGoodWaveResidual c u n x i = ∑ l ∈ v.labels n, |
| 4650 | | - (HarmonicResidual.residualBlock c u (v.blocks l) (v.gaussian l) (v.aliasCoefficients l)).oscillation n x i := |
| 4651 | | - LocalResidualGrouping.stateGoodWaveResidual_grouped hU h.withAxis hr hx i |
| 4652 | | - |
| 4653 | 4536 | theorem fullResidual_reconstructed_local (h : CycleRepresentation v u axis) |
| 4654 | 4537 | {U : Set CyclePoint} (hU : IsOpen U) {c : Context CyclePoint} {n : ℕ} |
| 4655 | 4538 | (hr : LocalResidualGrouping.ExtractionRegular U c u v.labels v.blocks v.gaussian v.aliasCoefficients n) |