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.ActualWaveRegularity |
| 2 | import NavierStokes.ActualSignedStageControls |
| 3 | import NavierStokes.ActualParticularStageControls |
| 4 | import NavierStokes.LabelSupportPreservation |
| 5 | |
| 6 | /-! |
| 7 | # Concrete qualitative data for the actual correction waves |
| 8 | |
| 9 | All native data below use the initializer's existing choice. A common-band |
| 10 | translation is interpreted on a native cover only when the common index is |
| 11 | at most the native index. The inactive bands are handled using actual zero |
| 12 | germs; no periodicity of an unused unmasked phase is imposed on those bands. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace NavierStokes.ActualWaveRegularityData |
| 18 | |
| 19 | open Set Function Filter WeightedClasses HarmonicCalculus |
| 20 | open CorrectionInitialization CommonCoverSolve TorusInverse |
| 21 | open scoped Topology ContDiff BigOperators |
| 22 | |
| 23 | |
| 24 | abbrev Point := LocalSignedRequest.Point |
| 25 | abbrev FullPoint := Point × ℝ |
| 26 | abbrev Index (B N0 : ℕ) := ActualSignedStageControls.SignedLabel B N0 |
| 27 | |
| 28 | variable {B N0 : ℕ} |
| 29 | |
| 30 | noncomputable def Ordered (l : Index B N0) (n : ℕ) : Prop := |
| 31 | CommonWindow.index ActualPrimary.h n ≤ |
| 32 | ChartScales.nativeIndex ActualPrimary.h (BaseChartJets.cellBand l.1) |
| 33 | |
| 34 | noncomputable def deckIndex (l : Index B N0) (n : ℕ) (m : Frequency) : Frequency := |
| 35 | coverIndex ((ActualPrimary.chartGeometry n l.2 l.1).gap) m |
| 36 | |
| 37 | noncomputable def deckPermutation (l : Index B N0) (n : ℕ) (m : Frequency) : Frequency ≃ Frequency := |
| 38 | Equiv.addRight (deckIndex l n m) |
| 39 | |
| 40 | theorem nativePoint_ordered (l : Index B N0) (n : ℕ) (hn : Ordered l n) |
| 41 | (k : Frequency) (x : FullPoint) : |
| 42 | ActualSignedStageControls.nativePoint l n k x = |
| 43 | (ActualPrimary.nativeSlow l.1 (ActualPrimary.toAbsolute n x.1), |
| 44 | (ActualPrimary.chartGeometry n l.2 l.1).coordinates k x.1.2.2) := by |
| 45 | apply Prod.ext |
| 46 | · rfl |
| 47 | · exact ActualPrimary.chartGeometry_coordinates n l.2 l.1 hn k x.1.2.2 |
| 48 | |
| 49 | theorem nativePoint_deck (l : Index B N0) (n : ℕ) (hn : Ordered l n) |
| 50 | (k m : Frequency) (x : FullPoint) : |
| 51 | ActualSignedStageControls.nativePoint l n (deckPermutation l n m k) |
| 52 | (x + ActualWaveRegularity.deckShift m) = |
| 53 | ActualSignedStageControls.nativePoint l n k x := by |
| 54 | rw [nativePoint_ordered l n hn, nativePoint_ordered l n hn] |
| 55 | apply Prod.ext |
| 56 | · simp only [ActualPrimary.nativeSlow, ActualPrimary.toAbsolute, |
| 57 | ActualWaveRegularity.deckShift, Prod.add_def, add_zero] |
| 58 | · change (ActualPrimary.chartGeometry n l.2 l.1).coordinates |
| 59 | (k + coverIndex (ActualPrimary.chartGeometry n l.2 l.1).gap m) |
| 60 | (x.1.2.2 + TorusAverages.latticePoint m) = _ |
| 61 | exact Geometry.coordinates_deck _ k m x.1.2.2 |
| 62 | |
| 63 | theorem cutoff_deck (l : Index B N0) (n : ℕ) (hn : Ordered l n) |
| 64 | (k m : Frequency) (x : FullPoint) : |
| 65 | ActualSignedStageControls.cutoff l (deckPermutation l n m k) n |
| 66 | (x + ActualWaveRegularity.deckShift m) = ActualSignedStageControls.cutoff l k n x := by |
| 67 | simp only [ActualSignedStageControls.cutoff, nativePoint_deck l n hn] |
| 68 | |
| 69 | theorem signed_amplitude_deck (l : Index B N0) (s : StripData Point) |
| 70 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) (hn : Ordered l n) |
| 71 | (k m : Frequency) (x : FullPoint) |
| 72 | (hR : request n (x + ActualWaveRegularity.deckShift m) = request n x) : |
| 73 | ((ActualSignedStageControls.parameters l).copyData s request).amplitude n |
| 74 | (deckPermutation l n m k) (x + ActualWaveRegularity.deckShift m) = |
| 75 | ((ActualSignedStageControls.parameters l).copyData s request).amplitude n k x := by |
| 76 | apply ActualWaveRegularity.signed_amplitude_deck |
| 77 | · simp only [ActualSignedStageControls.parameters, ActualSignedStageControls.matrix, |
| 78 | nativePoint_deck l n hn] |
| 79 | · simp only [ActualSignedStageControls.parameters, ActualSignedStageControls.target, |
| 80 | nativePoint_deck l n hn] |
| 81 | · exact hR |
| 82 | · simp only [ActualSignedStageControls.parameters, ActualSignedStageControls.mask, |
| 83 | nativePoint_deck l n hn] |
| 84 | · simp only [ActualSignedStageControls.parameters, ActualSignedStageControls.fundamental, |
| 85 | nativePoint_deck l n hn] |
| 86 | |
| 87 | theorem fullRequest_deck (s : StripData Point) (P : SignedStressPrimitive.Patch) |
| 88 | (coord : ℝ) (c : CorrectionState.Context Point) (u : CorrectionState.State Point) |
| 89 | (n : ℕ) (m : Frequency) (x : FullPoint) : |
| 90 | LocalSignedRequest.fullRequest s P coord c u n (x + ActualWaveRegularity.deckShift m) = |
| 91 | LocalSignedRequest.fullRequest s P coord c u n x := by |
| 92 | have he := LocalSignedRequest.fullRequest_torus_frozen s P coord c u |
| 93 | (TorusAverages.latticePoint m) n x (1 : ℝ) |
| 94 | simp only [one_smul] at he |
| 95 | exact he |
| 96 | |
| 97 | theorem signed_request_amplitude_deck (l : Index B N0) (s : StripData Point) |
| 98 | (P : SignedStressPrimitive.Patch) (coord : ℝ) (c : CorrectionState.Context Point) |
| 99 | (u : CorrectionState.State Point) (n : ℕ) (hn : Ordered l n) |
| 100 | (k m : Frequency) (x : FullPoint) : |
| 101 | ((ActualSignedStageControls.parameters l).copyData s |
| 102 | (LocalSignedRequest.fullRequest s P coord c u)).amplitude n |
| 103 | (deckPermutation l n m k) (x + ActualWaveRegularity.deckShift m) = |
| 104 | ((ActualSignedStageControls.parameters l).copyData s |
| 105 | (LocalSignedRequest.fullRequest s P coord c u)).amplitude n k x := |
| 106 | signed_amplitude_deck l s _ n hn k m x (fullRequest_deck s P coord c u n m x) |
| 107 | |
| 108 | theorem clock_deck (l : Index B N0) (n : ℕ) (hn : Ordered l n) (Y : Plane) (m : Frequency) : |
| 109 | PeriodicPhaseAssembly.periodicClock (ActualPrimary.geometry l.2 l.1) |
| 110 | (ActualPrimary.clockWindow l.1).cutoff |
| 111 | ((coverPower (CommonWindow.index ActualPrimary.h n)).symm (Y + TorusAverages.latticePoint m)) = |
| 112 | PeriodicPhaseAssembly.periodicClock (ActualPrimary.geometry l.2 l.1) |
| 113 | (ActualPrimary.clockWindow l.1).cutoff |
| 114 | ((coverPower (CommonWindow.index ActualPrimary.h n)).symm Y) := by |
| 115 | rw [ActualPrimary.periodicClock_toAbsolute l.2 l.1 n hn, |
| 116 | ActualPrimary.periodicClock_toAbsolute l.2 l.1 n hn, |
| 117 | map_add, coverPower_lattice, PeriodicPhaseAssembly.periodicClock_periodic] |
| 118 | |
| 119 | theorem phase_deck (l : Index B N0) (n : ℕ) (hn : Ordered l n) (m : Frequency) : |
| 120 | ActualWaveRegularity.TranslationOn Set.univ (ActualWaveRegularity.deckShift m) |
| 121 | ((ActualSignedStageControls.parameters l).base.phase n) := by |
| 122 | intro x _ |
| 123 | simp only [ActualSignedStageControls.parameters, ActualPrimary.chartCoefficients, |
| 124 | ActualPrimary.absolutePhase, ActualPrimary.periodicPhase, |
| 125 | ActualPrimary.nativeSlow, ActualPrimary.toAbsolute, ActualWaveRegularity.deckShift, |
| 126 | Prod.add_def, add_zero] |
| 127 | have hc := clock_deck l n hn x.1.2.2 m |
| 128 | simp only [Prod.add_def, TorusAverages.latticePoint] at hc |
| 129 | rw [hc] |
| 130 | |
| 131 | theorem radius_deck (l : Index B N0) (n : ℕ) (m : Frequency) : |
| 132 | ActualWaveRegularity.TranslationOn Set.univ (ActualWaveRegularity.deckShift m) |
| 133 | ((ActualSignedStageControls.parameters l).base.radius n) := by |
| 134 | intro x _ |
| 135 | change x.1.1 + 0 = x.1.1 |
| 136 | exact add_zero _ |
| 137 | |
| 138 | theorem radial_deck (l : Index B N0) (n : ℕ) (m : Frequency) : |
| 139 | ActualWaveRegularity.TranslationOn Set.univ (ActualWaveRegularity.deckShift m) |
| 140 | ((ActualSignedStageControls.parameters l).directions.radialField n) := by |
| 141 | intro x _ |
| 142 | change _ + _ • (RadialPullback.radialJacobian _ (x.1.1 + 0) • _) = |
| 143 | _ + _ • (RadialPullback.radialJacobian _ x.1.1 • _) |
| 144 | rw [add_zero] |
| 145 | |
| 146 | noncomputable def signedAngles (l : Index B N0) (s : StripData Point) |
| 147 | (P : SignedStressPrimitive.Patch) (coord : ℝ) (c : CorrectionState.Context Point) |
| 148 | (u : CorrectionState.State Point) : |
| 149 | ActualWaveRegularity.SignedAngles (ActualSignedStageControls.parameters l) s |
| 150 | (LocalSignedRequest.fullRequest s P coord c u) where |
| 151 | slope n := (PrimaryGeometryAssembly.angularMode ActualPrimary.certificate ActualPrimary.modulation |
| 152 | (ActualPrimary.choice B N0).prepared l.2 l.1 : ℝ) / ChartScales.carrier ActualPrimary.h n |
| 153 | radius n := by |
| 154 | intro x t |
| 155 | change x.1.1 + t * 0 = x.1.1 |
| 156 | ring |
| 157 | radial n := by |
| 158 | intro x t |
| 159 | change _ + _ • (RadialPullback.radialJacobian _ (x.1.1 + t * 0) • _) = |
| 160 | _ + _ • (RadialPullback.radialJacobian _ x.1.1 • _) |
| 161 | rw [mul_zero, add_zero] |
| 162 | phase n := by |
| 163 | intro x t |
| 164 | simp only [ActualSignedStageControls.parameters, ActualPrimary.chartCoefficients, |
| 165 | ActualPrimary.absolutePhase, Prod.fst_add, Prod.smul_fst, smul_zero, add_zero, |
| 166 | Prod.snd_add, Prod.smul_snd, smul_eq_mul, mul_one] |
| 167 | ring |
| 168 | frequency_slope n := by |
| 169 | exact mul_div_cancel₀ _ (ActualPrimary.chartCoefficients_frequency_pos l.2 l.1 n).ne' |
| 170 | matrix i n := by |
| 171 | intro x t |
| 172 | simp only [ActualSignedStageControls.parameters, ActualSignedStageControls.matrix, |
| 173 | ActualSignedStageControls.nativePoint_angle] |
| 174 | target i n := by |
| 175 | intro x t |
| 176 | simp only [ActualSignedStageControls.parameters, ActualSignedStageControls.target, |
| 177 | ActualSignedStageControls.nativePoint_angle] |
| 178 | request n := LocalSignedRequest.fullRequest_angle_frozen s P coord c u n |
| 179 | mask i n := by |
| 180 | intro x t |
| 181 | simp only [ActualSignedStageControls.parameters, ActualSignedStageControls.mask, |
| 182 | ActualSignedStageControls.nativePoint_angle] |
| 183 | fundamental i n := by |
| 184 | intro x t |
| 185 | simp only [ActualSignedStageControls.parameters, ActualSignedStageControls.fundamental, |
| 186 | ActualSignedStageControls.nativePoint_angle] |
| 187 | cutoff i n := by |
| 188 | intro x t |
| 189 | simp only [ActualSignedStageControls.parameters, ActualSignedStageControls.cutoff, |
| 190 | ActualSignedStageControls.nativePoint_angle] |
| 191 | |
| 192 | /-! ## The actual slow mask selects an ordered native cover -/ |
| 193 | |
| 194 | theorem near_of_native_band (l : Index B N0) (n : ℕ) {p : PhaseCalculus.Slow} |
| 195 | (ht : 0 < p.2.2) |
| 196 | (hq0 : SimilarityHomogeneity.chartQ ActualPrimary.h p ∈ Ioo (1 / 2 : ℝ) 2) |
| 197 | (hq : SimilarityHomogeneity.chartQ ActualPrimary.h |
| 198 | (ActualSignedGeometry.slowChange ActualPrimary.h (ChartScales.Q n) |
| 199 | (ChartScales.Q (BaseChartJets.cellBand l.1)) p) ∈ Icc (1 / 2 : ℝ) 2) : |
| 200 | ActualPrimaryBounds.near (l.2, l.1) n := by |
| 201 | let q := ChartScales.Q n * SimilarityHomogeneity.chartQ ActualPrimary.h p |
| 202 | have hqpos : 0 < q := mul_pos (ChartScales.Q_pos _) (by linarith [hq0.1]) |
| 203 | have he : SimilarityHomogeneity.chartQ ActualPrimary.h |
| 204 | (ActualSignedGeometry.slowChange ActualPrimary.h (ChartScales.Q n) |
| 205 | (ChartScales.Q (BaseChartJets.cellBand l.1)) p) = |
| 206 | q / ChartScales.Q (BaseChartJets.cellBand l.1) := by |
| 207 | rw [ActualSignedGeometry.slowChange_eq_transition (ChartScales.Q_pos _) (ChartScales.Q_pos _), |
| 208 | SimilarityHomogeneity.chartQ_transition ActualPrimary.outgoing.data.h_pos |
| 209 | ActualPrimary.outgoing.data.h_lt_half (ChartScales.Q_pos _) (ChartScales.Q_pos _) ht] |
| 210 | dsimp [q] |
| 211 | ring |
| 212 | rw [he] at hq |
| 213 | have hn := PhysicalWaveSum.logCoordinate_in_band hqpos |
| 214 | (show ChartScales.Q n / 2 ≤ q by dsimp [q]; nlinarith [ChartScales.Q_pos n, hq0.1]) |
| 215 | (show q ≤ 2 * ChartScales.Q n by dsimp [q]; nlinarith [ChartScales.Q_pos n, hq0.2]) |
| 216 | have hL := PhysicalWaveSum.logCoordinate_in_band hqpos |
| 217 | (show ChartScales.Q (BaseChartJets.cellBand l.1) / 2 ≤ q by |
| 218 | have hh := (le_div_iff₀ (ChartScales.Q_pos _)).mp hq.1 |
| 219 | linarith) |
| 220 | ((div_le_iff₀ (ChartScales.Q_pos _)).mp hq.2) |
| 221 | have hnm : n ≤ BaseChartJets.cellBand l.1 + 2 := by |
| 222 | have hh : (n : ℝ) ≤ (BaseChartJets.cellBand l.1 : ℝ) + 2 := by linarith [hn.1, hL.2] |
| 223 | exact_mod_cast hh |
| 224 | have hmn : BaseChartJets.cellBand l.1 ≤ n + 2 := by |
| 225 | have hh : (BaseChartJets.cellBand l.1 : ℝ) ≤ (n : ℝ) + 2 := by linarith [hL.1, hn.2] |
| 226 | exact_mod_cast hh |
| 227 | have hm4 : 4 ≤ BaseChartJets.cellBand l.1 := |
| 228 | ((ActualPrimary.choice B N0).prepared.large _ l.1.property).four_le |
| 229 | change 1 ≤ n ∧ BaseChartJets.cellBand l.1 ∈ CommonWindow.levels n |
| 230 | refine ⟨by omega, ?_⟩ |
| 231 | apply Finset.mem_insert_of_mem |
| 232 | exact Finset.mem_Icc.mpr ⟨max_le (by omega) (by omega), hmn⟩ |
| 233 | |
| 234 | theorem ordered_of_native_band (l : Index B N0) (n : ℕ) {p : PhaseCalculus.Slow} |
| 235 | (ht : 0 < p.2.2) |
| 236 | (hq0 : SimilarityHomogeneity.chartQ ActualPrimary.h p ∈ Ioo (1 / 2 : ℝ) 2) |
| 237 | (hq : SimilarityHomogeneity.chartQ ActualPrimary.h |
| 238 | (ActualSignedGeometry.slowChange ActualPrimary.h (ChartScales.Q n) |
| 239 | (ChartScales.Q (BaseChartJets.cellBand l.1)) p) ∈ Icc (1 / 2 : ℝ) 2) : |
| 240 | Ordered l n := CommonWindow.index_le (near_of_native_band l n ht hq0 hq).2 |
| 241 | |
| 242 | theorem ordered_of_mask (l : Index B N0) (n : ℕ) (k : Frequency) {x : FullPoint} |
| 243 | (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 244 | (hm : ActualSignedStageControls.mask l k n x ≠ 0) : Ordered l n := by |
| 245 | have hx0 : 0 < x.1.2.1.1 ∧ |
| 246 | SimilarityCoordinates.coordinateQ (2 * ActualPrimary.h) x.1.2.1 ∈ Ioo (1 / 2 : ℝ) 2 := hx.1 |
| 247 | have hq := ActualPrimary.spatialMask_q_range l.1 |
| 248 | (ActualSignedStageControls.nativePoint l n k x).1 hm |
| 249 | change SimilarityHomogeneity.chartQ ActualPrimary.h |
| 250 | (ActualPrimary.nativeSlow l.1 (ActualPrimary.toAbsolute n x.1)) ∈ _ at hq |
| 251 | rw [ActualPrimary.nativeSlow_toAbsolute_eq_slowChange] at hq |
| 252 | exact ordered_of_native_band l n (p := BaseContextAssembly.slowCoordinates x.1) |
| 253 | hx0.1 hx0.2 ⟨hq.1.le, hq.2.le⟩ |
| 254 | |
| 255 | theorem mask_zero_of_not_ordered (l : Index B N0) (n : ℕ) (hn : ¬Ordered l n) |
| 256 | (k : Frequency) {x : FullPoint} |
| 257 | (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) : |
| 258 | ActualSignedStageControls.mask l k n x = 0 := |
| 259 | Classical.not_not.mp (fun hm => hn (ordered_of_mask l n k hx hm)) |
| 260 | |
| 261 | theorem mask_zero_germ_of_not_ordered (l : Index B N0) (n : ℕ) (hn : ¬Ordered l n) |
| 262 | (k : Frequency) {x : FullPoint} |
| 263 | (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) : |
| 264 | ActualSignedStageControls.mask l k n =ᶠ[𝓝 x] fun _ => 0 := by |
| 265 | filter_upwards [(ActualWaveRegularity.fullDomain_open ActualPrimary.standardRegion).mem_nhds hx] |
| 266 | with y hy |
| 267 | exact mask_zero_of_not_ordered l n hn k hy |
| 268 | |
| 269 | /-- The actual three assembled fields vanish on inactive common bands. |
| 270 | The proof uses raw zero germs before applying the curl and copy sum. -/ |
| 271 | theorem signed_zero_germs_of_not_ordered (l : Index B N0) (s : StripData Point) |
| 272 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) |
| 273 | (n : ℕ) (hn : ¬Ordered l n) {x : FullPoint} |
| 274 | (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) : |
| 275 | let a := (ActualSignedStageControls.parameters l).copyData s request |
| 276 | ((a.commonCorrected (HarmonicWaveInteraction.productStrip s) |
| 277 | (ActualSignedStageControls.parameters l).directions).amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 278 | (a.common.pressure n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 279 | (a.globalGaussian (ActualSignedStageControls.parameters l).directions n =ᶠ[𝓝 x] fun _ => 0) := by |
| 280 | dsimp only |
| 281 | apply LabelSupportPreservation.common_zero_germs_of_native _ (ActualSignedStageControls.cells l) |
| 282 | (ActualSignedStageControls.cutoff_support l) _ _ |
| 283 | · exact Filter.Eventually.of_forall (fun _ => rfl) |
| 284 | · intro k _ |
| 285 | right |
| 286 | constructor |
| 287 | · filter_upwards [mask_zero_germ_of_not_ordered l n hn k hx] with y hy |
| 288 | exact ((ActualSignedStageControls.parameters l).raw_zero_of_mask request n k y hy).1 |
| 289 | · filter_upwards [mask_zero_germ_of_not_ordered l n hn k hx] with y hy |
| 290 | exact ((ActualSignedStageControls.parameters l).raw_zero_of_mask request n k y hy).2 |
| 291 | |
| 292 | theorem signed_block_periodic (l : Index B N0) (s : StripData Point) |
| 293 | (P : SignedStressPrimitive.Patch) (coord : ℝ) (c : CorrectionState.Context Point) |
| 294 | (u : CorrectionState.State Point) : |
| 295 | CorrectionStep.OscillationPeriodic ActualPrimary.standardRegion.carrier |
| 296 | ((ActualSignedStageControls.parameters l).exactBlock s |
| 297 | (LocalSignedRequest.fullRequest s P coord c u)).oscillation := by |
| 298 | rw [(signedAngles l s P coord c u).block_eq_mode] |
| 299 | intro n R t ht θ Y k |
| 300 | let x : FullPoint := ((R, (t, Y)), θ) |
| 301 | have hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion := ⟨ht, mem_univ _⟩ |
| 302 | have hy : x + ActualWaveRegularity.deckShift k ∈ |
| 303 | ActualWaveRegularity.fullDomain ActualPrimary.standardRegion := by |
| 304 | change (t + 0) ∈ ActualPrimary.standardRegion.carrier ∧ _ |
| 305 | exact ⟨by simpa only [add_zero] using ht, mem_univ _⟩ |
| 306 | by_cases hn : Ordered l n |
| 307 | · have hp := ActualWaveRegularity.common_velocity_translation |
| 308 | ((ActualSignedStageControls.parameters l).copyData s (LocalSignedRequest.fullRequest s P coord c u)) |
| 309 | (HarmonicWaveInteraction.productStrip s) (ActualSignedStageControls.parameters l).directions |
| 310 | (ActualWaveRegularity.fullDomain_open ActualPrimary.standardRegion) n |
| 311 | (fun z _ => radius_deck l n k z (mem_univ _)) |
| 312 | (fun z _ => radial_deck l n k z (mem_univ _)) |
| 313 | (fun z _ => phase_deck l n hn k z (mem_univ _)) |
| 314 | (ActualWaveRegularity.common_amplitude_translation _ n (deckPermutation l n k) |
| 315 | (fun i z _ => cutoff_deck l n hn i k z) |
| 316 | (fun i z _ => signed_request_amplitude_deck l s P coord c u n hn i k z)) x hx |
| 317 | funext i |
| 318 | change (vectorMode _ _ _ (((R, (t, Y + ((k.1 : ℝ), (k.2 : ℝ)))), θ)) i).re = _ |
| 319 | have he : ((R, (t, Y + ((k.1 : ℝ), (k.2 : ℝ)))), θ) = |
| 320 | x + ActualWaveRegularity.deckShift k := by |
| 321 | simp only [x, ActualWaveRegularity.deckShift, Prod.add_def, add_zero] |
| 322 | rw [he, hp] |
| 323 | rfl |
| 324 | · have h0 := (signed_zero_germs_of_not_ordered l s |
| 325 | (LocalSignedRequest.fullRequest s P coord c u) n hn hx).1.eq_of_nhds |
| 326 | have h1 := (signed_zero_germs_of_not_ordered l s |
| 327 | (LocalSignedRequest.fullRequest s P coord c u) n hn hy).1.eq_of_nhds |
| 328 | have he : ((R, (t, Y + ((k.1 : ℝ), (k.2 : ℝ)))), θ) = |
| 329 | x + ActualWaveRegularity.deckShift k := by |
| 330 | simp only [x, ActualWaveRegularity.deckShift, Prod.add_def, add_zero] |
| 331 | funext i |
| 332 | change (vectorMode _ _ _ (((R, (t, Y + ((k.1 : ℝ), (k.2 : ℝ)))), θ)) i).re = |
| 333 | (vectorMode _ _ _ x i).re |
| 334 | simp only [he, vectorMode, HarmonicCalculus.mode, h0, h1, Pi.zero_apply, zero_mul] |
| 335 | |
| 336 | /-! ## The actual full-domain phase patches -/ |
| 337 | |
| 338 | noncomputable def signedPhasePatch (l : Index B N0) (n : ℕ) (k : Frequency) : Set FullPoint := |
| 339 | {x | (ActualSignedStageControls.nativePoint l n k x).1 ∈ |
| 340 | (PrimaryGeometryAssembly.domain ActualPrimary.nominal |
| 341 | (ActualPrimary.choice B N0).prepared.N).carrier l.1 ∧ |
| 342 | ActualSignedStageControls.nativeTime l n k x ∈ Ioo (0 : ℝ) 1} |
| 343 | |
| 344 | theorem signedPhasePatch_open (l : Index B N0) (n : ℕ) (k : Frequency) : |
| 345 | IsOpen (signedPhasePatch l n k) := |
| 346 | (((PrimaryGeometryAssembly.domain ActualPrimary.nominal |
| 347 | (ActualPrimary.choice B N0).prepared.N).isOpen l.1).preimage |
| 348 | (ActualSignedStageControls.nativePoint_smooth l n k).continuous.fst).inter |
| 349 | (isOpen_Ioo.preimage (ActualSignedStageControls.nativeTime_smooth l n k).continuous) |
| 350 | |
| 351 | theorem native_time_pos (l : Index B N0) (n : ℕ) (k : Frequency) {x : FullPoint} |
| 352 | (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) : |
| 353 | 0 < (ActualSignedStageControls.nativePoint l n k x).1.2.2 := by |
| 354 | change 0 < ChartScales.Q n * x.1.2.1.1 / ChartScales.Q (BaseChartJets.cellBand l.1) |
| 355 | exact div_pos (mul_pos (ChartScales.Q_pos n) (ActualPrimary.standardRegion.time_pos _ hx.1)) |
| 356 | (ChartScales.Q_pos _) |
| 357 | |
| 358 | theorem mask_zero_germ_outside_carrier (l : Index B N0) (n : ℕ) (k : Frequency) |
| 359 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 360 | (hc : (ActualSignedStageControls.nativePoint l n k x).1 ∉ |
| 361 | (PrimaryGeometryAssembly.domain ActualPrimary.nominal |
| 362 | (ActualPrimary.choice B N0).prepared.N).carrier l.1) : |
| 363 | ActualSignedStageControls.mask l k n =ᶠ[𝓝 x] fun _ => 0 := by |
| 364 | have hn : (ActualSignedStageControls.nativePoint l n k x).1 ∉ |
| 365 | tsupport (PrimaryRepresentatives.nativeMask (BaseChartJets.cellBand l.1) |
| 366 | (PrimaryGeometryAssembly.label ActualPrimary.nominal l.1).2) := by |
| 367 | intro hs |
| 368 | exact hc (PrimaryGeometryAssembly.native_support_in_carrier ActualPrimary.nominal l.1 |
| 369 | ⟨hs, native_time_pos l n k hx⟩) |
| 370 | have hz := (notMem_tsupport_iff_eventuallyEq.mp hn).comp_tendsto |
| 371 | (ActualSignedStageControls.nativePoint_smooth l n k).continuous.fst.continuousAt |
| 372 | filter_upwards [hz] with y hy |
| 373 | change PrimaryRepresentatives.nativeMask _ _ (ActualSignedStageControls.nativePoint l n k y).1 = 0 at hy |
| 374 | change ActualPrimary.spatialMask l.1 (ActualSignedStageControls.nativePoint l n k y).1 = 0 |
| 375 | rw [ActualPrimary.spatialMask_eq, hy, mul_zero] |
| 376 | |
| 377 | /-- Every point of the full slow domain either lies in the genuine |
| 378 | positive-radius, interior-clock patch, or has a zero localized raw germ. -/ |
| 379 | theorem signed_patch_cover (l : Index B N0) (s : StripData Point) |
| 380 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) (k : Frequency) |
| 381 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) : |
| 382 | x ∈ signedPhasePatch l n k ∨ |
| 383 | ((((ActualSignedStageControls.parameters l).copyData s request).localized k).amplitude n |
| 384 | =ᶠ[𝓝 x] fun _ => 0) := by |
| 385 | by_cases hc : (ActualSignedStageControls.nativePoint l n k x).1 ∈ |
| 386 | (PrimaryGeometryAssembly.domain ActualPrimary.nominal |
| 387 | (ActualPrimary.choice B N0).prepared.N).carrier l.1 |
| 388 | · by_cases ht : ActualSignedStageControls.nativeTime l n k x ∈ Ioo (0 : ℝ) 1 |
| 389 | · exact Or.inl ⟨hc, ht⟩ |
| 390 | · right |
| 391 | apply (((ActualSignedStageControls.parameters l).copyData s request).localized_zero_germs ?_).1 |
| 392 | apply ActualSignedStageControls.cutoff_zero_germ_outside_time l n k |
| 393 | intro htime |
| 394 | exact ht ⟨by linarith [htime.1], by linarith [htime.2]⟩ |
| 395 | · exact Or.inr (((ActualSignedStageControls.parameters l).localized_zero_of_mask request |
| 396 | (mask_zero_germ_outside_carrier l n k hx hc)).1) |
| 397 | |
| 398 | theorem signedPhasePatch_positive (l : Index B N0) (n : ℕ) (k : Frequency) |
| 399 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion ∩ |
| 400 | signedPhasePatch l n k) : x ∈ ActualPrimaryCoherence.positiveRadialChart := by |
| 401 | have hp := (ActualPrimary.choice B N0).prepared.radius_pos l.1 |
| 402 | (ActualSignedStageControls.nativePoint l n k x).1 hx.2.1 |
| 403 | have hq := Real.sqrt_pos.mpr (ChartScales.Q_pos (BaseChartJets.cellBand l.1)) |
| 404 | have hn := Real.sqrt_pos.mpr (ChartScales.Q_pos n) |
| 405 | change 0 < Real.sqrt (ChartScales.Q n) * x.1.1 / |
| 406 | Real.sqrt (ChartScales.Q (BaseChartJets.cellBand l.1)) at hp |
| 407 | have hmul := (div_pos_iff_of_pos_right hq).mp hp |
| 408 | exact ⟨(mul_pos_iff_of_pos_left hn).mp hmul, ActualPrimary.standardRegion.time_pos _ hx.1.1⟩ |
| 409 | |
| 410 | theorem signed_phase_smooth (l : Index B N0) (n : ℕ) (k : Frequency) : |
| 411 | ContDiffOn ℝ ∞ ((ActualSignedStageControls.parameters l).base.phase n) |
| 412 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion ∩ signedPhasePatch l n k) := |
| 413 | (ActualPrimaryDynamics.phase_smooth l.2 l.1 n).mono (fun _ hx => signedPhasePatch_positive l n k hx) |
| 414 | |
| 415 | theorem signed_geometry (l : Index B N0) (n : ℕ) (k : Frequency) : |
| 416 | CurlClassBounds.CylindricalGeometry |
| 417 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion ∩ signedPhasePatch l n k) |
| 418 | ((ActualSignedStageControls.parameters l).base.radius n) |
| 419 | ((ActualSignedStageControls.parameters l).directions.radialField n) |
| 420 | (fun _ => (ActualSignedStageControls.parameters l).directions.angular) |
| 421 | ((ActualSignedStageControls.parameters l).directions.axialField |
| 422 | (HarmonicWaveInteraction.productStrip ActualPrimaryBounds.strip) n) := |
| 423 | LocalizedCurlRealization.geometry_restrict |
| 424 | (ActualPrimaryCoherence.piece_geometry ActualPrimary.standardRegion B n) |
| 425 | ((ActualWaveRegularity.fullDomain_open ActualPrimary.standardRegion).inter |
| 426 | (signedPhasePatch_open l n k)) (fun _ hx => signedPhasePatch_positive l n k hx) |
| 427 | |
| 428 | theorem signed_normal_ne (l : Index B N0) (n : ℕ) (k : Frequency) |
| 429 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion ∩ |
| 430 | signedPhasePatch l n k) : |
| 431 | (ActualSignedStageControls.parameters l).base.normal |
| 432 | (HarmonicWaveInteraction.productStrip ActualPrimaryBounds.strip) |
| 433 | (ActualSignedStageControls.parameters l).directions n x ≠ 0 := |
| 434 | ActualPrimaryCoherence.piece_normal_ne ActualPrimary.standardRegion l.2 l.1 n |
| 435 | (signedPhasePatch_positive l n k hx) |
| 436 | |
| 437 | /-! ## Literal exterior values of the signed quotient -/ |
| 438 | |
| 439 | theorem raw_zero_of_target (l : Index B N0) (s : StripData Point) |
| 440 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) (k : Frequency) |
| 441 | (x : FullPoint) (ht : ActualSignedStageControls.target l k n x = 0) : |
| 442 | ((ActualSignedStageControls.parameters l).copyData s request).amplitude n k x = 0 ∧ |
| 443 | ((ActualSignedStageControls.parameters l).copyData s request).pressure n k x = 0 := by |
| 444 | have hamp (H : SignedWaveUpdate.Mat2) : SmoothCovariance.amplitudes H 0 = 0 := by |
| 445 | ext j |
| 446 | fin_cases j <;> simp [SmoothCovariance.amplitudes, SmoothCovariance.weights, |
| 447 | SmoothCovariance.cramerNumerator] |
| 448 | simp [CorrectionStep.PeriodizedSignedParameters.copyData, |
| 449 | CorrectionStep.PeriodizedSignedParameters.native, CorrectionStep.SignedParameters.coefficients, |
| 450 | SignedWaveUpdate.coefficients, SignedWaveUpdate.homogeneousCoefficients, |
| 451 | SignedWaveUpdate.signedVector, SignedWaveUpdate.signedScalar, |
| 452 | ActualSignedStageControls.parameters, ht, SignedCovariance.increment, hamp, |
| 453 | ParticularWaveBounds.projectedPressure, TangentProjection.pressureCoefficient] |
| 454 | |
| 455 | theorem target_zero_outside {p : PhaseCalculus.Slow} |
| 456 | (ht : 0 < p.2.2) (hr : 0 < p.1) |
| 457 | (hout : PrimaryTargetBounds.profileRadius ActualPrimary.h p ∉ |
| 458 | Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 459 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : |
| 460 | PrimaryTargetBounds.actualTarget ActualPrimary.modulation p = 0 := by |
| 461 | have hp := PrimaryTargetBounds.profileRadius_pos (F := ActualPrimary.outgoing) ht hr |
| 462 | have ha := PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal |
| 463 | have hb := PrimaryTargetBounds.rightRadius_pos ActualPrimary.nominal |
| 464 | have hasq : (PrimaryTargetBounds.leftRadius ActualPrimary.nominal)^2 = |
| 465 | 2 * NominalConeAssembly.activeLeft ActualPrimary.nominal := by |
| 466 | exact Real.sq_sqrt (mul_pos (by norm_num) (NominalConeAssembly.activeLeft_pos _)).le |
| 467 | have hbsq : (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)^2 = |
| 468 | 2 * NominalConeAssembly.activeRight ActualPrimary.nominal := by |
| 469 | exact Real.sq_sqrt (mul_pos (by norm_num) (LeadingStressWeights.activeRight_pos _)).le |
| 470 | have hn : (BaseChartJets.normalizedCoordinates ActualPrimary.h p).2.1 ∉ |
| 471 | Ioo (NominalConeAssembly.activeLeft ActualPrimary.nominal) |
| 472 | (NominalConeAssembly.activeRight ActualPrimary.nominal) := by |
| 473 | intro h |
| 474 | rw [← PrimaryTargetBounds.profileRadius_sq (F := ActualPrimary.outgoing) ht] at h |
| 475 | exact hout ⟨by nlinarith [h.1], by nlinarith [h.2]⟩ |
| 476 | have hz := PrimaryTargetBounds.stress_zero_of_not_active ActualPrimary.modulation |
| 477 | (ProfileSpectralCone.normalized_X_pos ActualPrimary.outgoing.data.h_pos |
| 478 | ActualPrimary.outgoing.data.h_lt_half ht hr) |
| 479 | (abs_le.mp (BaseChartJets.normalizedCoordinates_eta ActualPrimary.outgoing.data.h_pos |
| 480 | ActualPrimary.outgoing.data.h_lt_half ht).le) hn |
| 481 | simp only [PrimaryTargetBounds.actualTarget, hz, smul_zero] |
| 482 | |
| 483 | noncomputable def radius (x : FullPoint) : ℝ := |
| 484 | x.1.1 / VariableGaugeMean.qLength (2 * ActualPrimary.h) x.1.2.1 |
| 485 | |
| 486 | theorem radius_smooth : ContDiffOn ℝ ∞ radius |
| 487 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) := |
| 488 | (LocalSignedRequest.profileMap_smooth ActualPrimary.standardRegion).fst.comp |
| 489 | contDiffOn_fst (fun _ hx => hx.1) |
| 490 | |
| 491 | theorem native_radius (l : Index B N0) (n : ℕ) (k : Frequency) {x : FullPoint} |
| 492 | (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 493 | (hr : 0 < x.1.1) : |
| 494 | PrimaryTargetBounds.profileRadius ActualPrimary.h |
| 495 | (ActualSignedStageControls.nativePoint l n k x).1 = radius x := |
| 496 | ActualPrimaryCoherence.amplitudeRadius_chart l.1 n |
| 497 | (ActualPrimary.standardRegion.time_pos _ hx.1) hr |
| 498 | |
| 499 | theorem signed_raw_zero_outside (l : Index B N0) (s : StripData Point) |
| 500 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) (k : Frequency) |
| 501 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 502 | (hout : radius x ∉ Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 503 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : |
| 504 | ((ActualSignedStageControls.parameters l).copyData s request).amplitude n k x = 0 ∧ |
| 505 | ((ActualSignedStageControls.parameters l).copyData s request).pressure n k x = 0 := by |
| 506 | by_cases hm : ActualSignedStageControls.mask l k n x = 0 |
| 507 | · exact (ActualSignedStageControls.parameters l).raw_zero_of_mask request n k x hm |
| 508 | have hc := ActualPrimary.spatialMask_carrier l.1 (native_time_pos l n k hx) hm |
| 509 | have hp := (ActualPrimary.choice B N0).prepared.radius_pos l.1 _ hc |
| 510 | have hq := Real.sqrt_pos.mpr (ChartScales.Q_pos (BaseChartJets.cellBand l.1)) |
| 511 | have hn := Real.sqrt_pos.mpr (ChartScales.Q_pos n) |
| 512 | have hr : 0 < x.1.1 := by |
| 513 | change 0 < Real.sqrt (ChartScales.Q n) * x.1.1 / |
| 514 | Real.sqrt (ChartScales.Q (BaseChartJets.cellBand l.1)) at hp |
| 515 | exact (mul_pos_iff_of_pos_left hn).mp ((div_pos_iff_of_pos_right hq).mp hp) |
| 516 | have hnp := (ActualPrimary.choice B N0).prepared.radius_pos l.1 _ hc |
| 517 | have hzero := target_zero_outside (native_time_pos l n k hx) hnp |
| 518 | (by rwa [native_radius l n k hx hr]) |
| 519 | apply raw_zero_of_target l s request n k x |
| 520 | simp only [ActualSignedStageControls.target, hzero, PiLp.zero_apply] |
| 521 | funext q |
| 522 | simp |
| 523 | |
| 524 | theorem strip_subset_fullDomain : ActualSignedStageControls.fullStrip.domain ⊆ |
| 525 | ActualWaveRegularity.fullDomain ActualPrimary.standardRegion := by |
| 526 | intro x hx |
| 527 | exact ⟨((BaseContextAssembly.nativeStrip_mem ActualPrimary.nominal ActualPrimary.standardRegion x.1).mp hx).1, |
| 528 | mem_univ _⟩ |
| 529 | |
| 530 | theorem mask_zero_germ_outside_band (l : Index B N0) (n : ℕ) (k : Frequency) |
| 531 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 532 | (hq : SimilarityHomogeneity.chartQ ActualPrimary.h |
| 533 | (ActualSignedStageControls.nativePoint l n k x).1 ∉ Icc (1 / 2 : ℝ) 2) : |
| 534 | ActualSignedStageControls.mask l k n =ᶠ[𝓝 x] fun _ => 0 := by |
| 535 | have hs := (ActualSignedStageControls.nativePoint_smooth l n k).continuous.fst |
| 536 | have hc : ContinuousAt (fun y : FullPoint => SimilarityHomogeneity.chartQ ActualPrimary.h |
| 537 | (ActualSignedStageControls.nativePoint l n k y).1) x := |
| 538 | (SimilarityCoordinates.coordinateQ_smooth |
| 539 | (by linarith [ActualPrimary.outgoing.data.h_pos] : 0 < 2 * ActualPrimary.h) |
| 540 | (by linarith [ActualPrimary.outgoing.data.h_lt_half] : 2 * ActualPrimary.h < 1) |
| 541 | (native_time_pos l n k hx)).continuousAt.comp |
| 542 | (hs.snd.snd.prodMk hs.snd.fst).continuousAt |
| 543 | have hqg := hc (isClosed_Icc.isOpen_compl.mem_nhds hq) |
| 544 | filter_upwards [hqg] with y hy |
| 545 | have hz : SquaredPartition.dyadicProfile (SimilarityHomogeneity.chartQ ActualPrimary.h |
| 546 | (ActualSignedStageControls.nativePoint l n k y).1) = 0 := by |
| 547 | by_contra hm |
| 548 | have hm' : SimilarityHomogeneity.chartQ ActualPrimary.h |
| 549 | (ActualSignedStageControls.nativePoint l n k y).1 ∈ support SquaredPartition.dyadicProfile := hm |
| 550 | rw [SquaredPartition.dyadicProfile_support] at hm' |
| 551 | exact hy ⟨hm'.1.le, hm'.2.le⟩ |
| 552 | change ActualPrimary.spatialMask l.1 (ActualSignedStageControls.nativePoint l n k y).1 = 0 |
| 553 | rw [ActualPrimary.spatialMask_eq] |
| 554 | change SquaredPartition.dyadicProfile (SimilarityHomogeneity.chartQ ActualPrimary.h |
| 555 | (ActualSignedStageControls.nativePoint l n k y).1) * _ = 0 |
| 556 | rw [hz, zero_mul] |
| 557 | |
| 558 | /-- Actual quantitative cells cover every nonzero localized copy on the |
| 559 | whole open strip. Closed dyadic, transverse and temporal endpoints remain |
| 560 | in the cell; only genuine zero neighborhoods are used in the alternatives. -/ |
| 561 | theorem signed_phaseCell_or_zero (l : Index B N0) (n : ℕ) (k : Frequency) |
| 562 | {x : FullPoint} (hx : x ∈ ActualSignedStageControls.fullStrip.domain) : |
| 563 | x ∈ ActualSignedStageControls.phaseCell l n k ∨ |
| 564 | (ActualSignedStageControls.cutoff l k n =ᶠ[𝓝 x] fun _ => 0) ∨ |
| 565 | (ActualSignedStageControls.mask l k n =ᶠ[𝓝 x] fun _ => 0) := by |
| 566 | have hfull := strip_subset_fullDomain hx |
| 567 | by_cases hq : SimilarityHomogeneity.chartQ ActualPrimary.h |
| 568 | (ActualSignedStageControls.nativePoint l n k x).1 ∈ Icc (1 / 2 : ℝ) 2 |
| 569 | · have hq' := hq |
| 570 | change SimilarityHomogeneity.chartQ ActualPrimary.h |
| 571 | (ActualPrimary.nativeSlow l.1 (ActualPrimary.toAbsolute n x.1)) ∈ _ at hq' |
| 572 | rw [ActualPrimary.nativeSlow_toAbsolute_eq_slowChange] at hq' |
| 573 | have hbase : 0 < x.1.2.1.1 ∧ |
| 574 | SimilarityCoordinates.coordinateQ (2 * ActualPrimary.h) x.1.2.1 ∈ Ioo (1 / 2 : ℝ) 2 := hfull.1 |
| 575 | have hn := near_of_native_band l n (p := BaseContextAssembly.slowCoordinates x.1) |
| 576 | hbase.1 hbase.2 hq' |
| 577 | by_cases hc : (ActualSignedStageControls.nativePoint l n k x).1 ∈ |
| 578 | (PrimaryGeometryAssembly.domain ActualPrimary.nominal |
| 579 | (ActualPrimary.choice B N0).prepared.N).carrier l.1 |
| 580 | · by_cases hk : x ∈ (ActualSignedStageControls.cells l).carrier n k |
| 581 | · by_cases ht : ActualSignedStageControls.nativeTime l n k x ∈ Icc (1 / 10 : ℝ) (9 / 10) |
| 582 | · left |
| 583 | have he := congrFun (ActualSignedStageControls.nativePoint_eq_fullCopy l n k hn) x |
| 584 | refine ⟨⟨hn, ?_, ?_, ?_⟩, ht⟩ |
| 585 | · simpa only [← he] using hc |
| 586 | · simpa only [← he] using (ActualSignedStageControls.cells_mem l n k x).mp hk |
| 587 | · simpa only [← he] using hq |
| 588 | · exact Or.inr (Or.inl (ActualSignedStageControls.cutoff_zero_germ_outside_time l n k ht)) |
| 589 | · exact Or.inr (Or.inl (PeriodizedWaveBounds.zero_germ_of_support |
| 590 | ((ActualSignedStageControls.cells l).closed n k) |
| 591 | (ActualSignedStageControls.cutoff_support l n k) hk)) |
| 592 | · exact Or.inr (Or.inr (mask_zero_germ_outside_carrier l n k hfull hc)) |
| 593 | · exact Or.inr (Or.inr (mask_zero_germ_outside_band l n k hfull hq)) |
| 594 | |
| 595 | /-! ## The actual strip weight gives all zero edge tensors -/ |
| 596 | |
| 597 | theorem strip_domain_eq : ActualSignedStageControls.fullStrip.domain = |
| 598 | WaveEdgeExtension.windowDomain (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 599 | radius (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 600 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) := by |
| 601 | ext x |
| 602 | rw [show x ∈ ActualSignedStageControls.fullStrip.domain ↔ |
| 603 | x.1 ∈ (BaseContextAssembly.nativeStrip ActualPrimary.nominal ActualPrimary.standardRegion).domain from Iff.rfl, |
| 604 | BaseContextAssembly.nativeStrip_mem] |
| 605 | have hr : PrimaryTargetBounds.profileRadius ActualPrimary.h |
| 606 | (BaseContextAssembly.slowCoordinates x.1) = radius x := by |
| 607 | unfold PrimaryTargetBounds.profileRadius radius VariableGaugeMean.qLength |
| 608 | rw [BaseChartJets.normalizedCoordinates_eq] |
| 609 | rfl |
| 610 | rw [hr] |
| 611 | change (x.1.2.1 ∈ ActualPrimary.standardRegion.carrier ∧ |
| 612 | radius x ∈ Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 613 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) ↔ |
| 614 | ((x.1.2.1 ∈ ActualPrimary.standardRegion.carrier ∧ True) ∧ |
| 615 | radius x ∈ Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 616 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) |
| 617 | tauto |
| 618 | |
| 619 | theorem strip_zeta (x : FullPoint) : ActualSignedStageControls.fullStrip.zeta x = |
| 620 | WaveEdgeExtension.flatWeight radius (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 621 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) |
| 622 | (FinalSlowBase.edgeExponent ActualPrimary.nominal / 4) 1 x := rfl |
| 623 | |
| 624 | theorem strip_growth (n : ℕ) (x : FullPoint) : |
| 625 | ActualSignedStageControls.fullStrip.growth n x = |
| 626 | ActualSignedStageControls.fullStrip.slow n * |
| 627 | WaveEdgeExtension.edgeGrowth radius (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 628 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) x := rfl |
| 629 | |
| 630 | /-- This uses the actual product weight and actual strip growth. There |
| 631 | is no boundary-continuity premise and no change to the given function. -/ |
| 632 | theorem full_regular_of_class {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 633 | {f : ℕ → FullPoint → E} {α : ℝ} |
| 634 | (hf : MemClass ActualSignedStageControls.fullStrip |
| 635 | (fun _ x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x)) α f) |
| 636 | (hz : ∀ n x, x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion → |
| 637 | radius x ∉ Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 638 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → f n x = 0) (n : ℕ) : |
| 639 | ContDiffOn ℝ ∞ (f n) (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) ∧ |
| 640 | ∀ m x, x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion → |
| 641 | (radius x = PrimaryTargetBounds.leftRadius ActualPrimary.nominal ∨ |
| 642 | radius x = PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → |
| 643 | iteratedFDeriv ℝ m (f n) x = 0 := by |
| 644 | have hb : WaveEdgeExtension.BoundaryControls |
| 645 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) radius |
| 646 | (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 647 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) |
| 648 | ((FinalSlowBase.edgeExponent ActualPrimary.nominal / 4) / 2) (1 / 2) (f n) := by |
| 649 | apply WaveEdgeExtension.boundaryControls_of_majorants |
| 650 | (ActualWaveRegularity.fullDomain_open ActualPrimary.standardRegion) radius_smooth |
| 651 | (continuousOn_const (c := (1 : ℝ))) |
| 652 | (PrimaryTargetBounds.leftRadius_pos _) (PrimaryTargetBounds.radii_ordered _) |
| 653 | (div_pos (FinalSlowBase.edgeExponent_pos _) (by norm_num)) zero_lt_one |
| 654 | intro m |
| 655 | obtain ⟨C, hC, p, hbound⟩ := hf.bounds m |
| 656 | refine ⟨C * ActualSignedStageControls.fullStrip.epsilon n ^ α * |
| 657 | ActualSignedStageControls.fullStrip.slow n ^ p, |
| 658 | mul_nonneg (mul_nonneg hC (Real.rpow_pos_of_pos |
| 659 | (ActualSignedStageControls.fullStrip.epsilon_pos n) α).le) |
| 660 | (pow_nonneg (zero_le_one.trans (ActualSignedStageControls.fullStrip.one_le_slow n)) p), p, ?_⟩ |
| 661 | intro x hx |
| 662 | have hh := hbound n x (by rwa [strip_domain_eq]) m le_rfl |
| 663 | simp only [majorant, strip_growth, strip_zeta, mul_pow] at hh |
| 664 | convert! hh using 1 |
| 665 | ring |
| 666 | exact ActualWaveRegularity.literal_moving_regular |
| 667 | (ActualWaveRegularity.fullDomain_open ActualPrimary.standardRegion) radius_smooth |
| 668 | (PrimaryTargetBounds.leftRadius_pos _) (PrimaryTargetBounds.radii_ordered _) |
| 669 | (half_pos (div_pos (FinalSlowBase.edgeExponent_pos _) (by norm_num))) (by norm_num) |
| 670 | (by simpa only [← strip_domain_eq] using hf.smooth n) hb (hz n) |
| 671 | |
| 672 | theorem full_regular_of_envelope_class {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 673 | (l : Index B N0) {f : ℕ → FullPoint → E} {α : ℝ} |
| 674 | (hf : MemClass ActualSignedStageControls.fullStrip |
| 675 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 676 | ActualSignedStageControls.envelope l n x) α f) |
| 677 | (hz : ∀ n x, x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion → |
| 678 | radius x ∉ Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 679 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → f n x = 0) (n : ℕ) : |
| 680 | ContDiffOn ℝ ∞ (f n) (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) ∧ |
| 681 | ∀ m x, x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion → |
| 682 | (radius x = PrimaryTargetBounds.leftRadius ActualPrimary.nominal ∨ |
| 683 | radius x = PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → |
| 684 | iteratedFDeriv ℝ m (f n) x = 0 := by |
| 685 | apply full_regular_of_class |
| 686 | (hf.mono_weight (fun _ _ _ => Real.sqrt_nonneg _) (fun m x _ => ?_)) hz n |
| 687 | exact mul_le_of_le_one_right (Real.sqrt_nonneg _) |
| 688 | (ActualPrimaryBounds.fullEnvelope_le_one (l.2, l.1) m x) |
| 689 | |
| 690 | /-! ## Whole-domain regularity of the literal signed fields -/ |
| 691 | |
| 692 | noncomputable def signedCopies (l : Index B N0) |
| 693 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : |
| 694 | PeriodizedWaveBounds.CopyData FullPoint Frequency := |
| 695 | (ActualSignedStageControls.parameters l).copyData ActualPrimaryBounds.strip request |
| 696 | |
| 697 | theorem signed_common_raw_zero_outside (l : Index B N0) |
| 698 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) |
| 699 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 700 | (hout : radius x ∉ Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 701 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : |
| 702 | (signedCopies l request).common.amplitude n x = 0 ∧ |
| 703 | (signedCopies l request).common.pressure n x = 0 := by |
| 704 | have hz := fun k => signed_raw_zero_outside l ActualPrimaryBounds.strip request n k hx hout |
| 705 | constructor |
| 706 | · change (∑' k, ((ActualSignedStageControls.parameters l).copyData ActualPrimaryBounds.strip request).cutoff n k x • |
| 707 | ((ActualSignedStageControls.parameters l).copyData ActualPrimaryBounds.strip request).amplitude n k x) = 0 |
| 708 | simp only [fun k => (hz k).1, smul_zero, tsum_zero] |
| 709 | · change (∑' k, (((ActualSignedStageControls.parameters l).copyData ActualPrimaryBounds.strip request).cutoff n k x : ℂ) * |
| 710 | ((ActualSignedStageControls.parameters l).copyData ActualPrimaryBounds.strip request).pressure n k x) = 0 |
| 711 | simp only [fun k => (hz k).2, mul_zero, tsum_zero] |
| 712 | |
| 713 | theorem signed_common_raw_zero_germ (l : Index B N0) |
| 714 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) |
| 715 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 716 | (hout : radius x ∉ Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 717 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : |
| 718 | ((signedCopies l request).common.amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 719 | ((signedCopies l request).common.pressure n =ᶠ[𝓝 x] fun _ => 0) := by |
| 720 | have hΩ := ActualWaveRegularity.fullDomain_open ActualPrimary.standardRegion |
| 721 | have hc := (radius_smooth.contDiffAt (hΩ.mem_nhds hx)).continuousAt |
| 722 | have hz : ∀ᶠ y in 𝓝 x, |
| 723 | (signedCopies l request).common.amplitude n y = 0 ∧ |
| 724 | (signedCopies l request).common.pressure n y = 0 := by |
| 725 | filter_upwards [hΩ.mem_nhds hx, hc (isClosed_Icc.isOpen_compl.mem_nhds hout)] with y hy hr |
| 726 | exact signed_common_raw_zero_outside l request n hy |
| 727 | (fun hi => hr ⟨hi.1.le, hi.2.le⟩) |
| 728 | exact ⟨hz.mono (fun _ h => h.1), hz.mono (fun _ h => h.2)⟩ |
| 729 | |
| 730 | theorem radius_nonpos {x : FullPoint} |
| 731 | (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) (hr : x.1.1 ≤ 0) : |
| 732 | radius x ≤ 0 := |
| 733 | div_nonpos_of_nonpos_of_nonneg hr (VariableGaugeMean.qLength_pos |
| 734 | ActualPrimary.standardRegion.coord_pos ActualPrimary.standardRegion.coord_lt_one |
| 735 | (ActualPrimary.standardRegion.time_pos _ hx.1)).le |
| 736 | |
| 737 | theorem signed_common_zero_germ_nonpositive (l : Index B N0) |
| 738 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) |
| 739 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 740 | (hr : x.1.1 ≤ 0) : |
| 741 | ((signedCopies l request).common.amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 742 | ((signedCopies l request).common.pressure n =ᶠ[𝓝 x] fun _ => 0) := by |
| 743 | apply signed_common_raw_zero_germ l request n hx |
| 744 | intro hi |
| 745 | exact (not_lt_of_ge (radius_nonpos hx hr)) |
| 746 | ((PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal).trans_le hi.1) |
| 747 | |
| 748 | theorem signed_raw_full_regular (l : Index B N0) |
| 749 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) {α : ℝ} |
| 750 | (ha : MemClass ActualSignedStageControls.fullStrip |
| 751 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 752 | ActualSignedStageControls.envelope l n x) α (signedCopies l request).common.amplitude) |
| 753 | (n : ℕ) : |
| 754 | ContDiffOn ℝ ∞ ((signedCopies l request).common.amplitude n) |
| 755 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) ∧ |
| 756 | ∀ m x, x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion → |
| 757 | (radius x = PrimaryTargetBounds.leftRadius ActualPrimary.nominal ∨ |
| 758 | radius x = PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → |
| 759 | iteratedFDeriv ℝ m ((signedCopies l request).common.amplitude n) x = 0 := |
| 760 | full_regular_of_envelope_class l ha |
| 761 | (fun n _ hx ho => (signed_common_raw_zero_outside l request n hx ho).1) n |
| 762 | |
| 763 | theorem signed_pressure_full_regular (l : Index B N0) |
| 764 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) {α : ℝ} |
| 765 | (hp : MemClass ActualSignedStageControls.fullStrip |
| 766 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 767 | ActualSignedStageControls.envelope l n x) α (signedCopies l request).common.pressure) |
| 768 | (n : ℕ) : |
| 769 | ContDiffOn ℝ ∞ ((signedCopies l request).common.pressure n) |
| 770 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) ∧ |
| 771 | ∀ m x, x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion → |
| 772 | (radius x = PrimaryTargetBounds.leftRadius ActualPrimary.nominal ∨ |
| 773 | radius x = PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → |
| 774 | iteratedFDeriv ℝ m ((signedCopies l request).common.pressure n) x = 0 := |
| 775 | full_regular_of_envelope_class l hp |
| 776 | (fun n _ hx ho => (signed_common_raw_zero_outside l request n hx ho).2) n |
| 777 | |
| 778 | noncomputable def positiveDomain : Set FullPoint := |
| 779 | ActualWaveRegularity.fullDomain ActualPrimary.standardRegion ∩ ActualPrimaryCoherence.positiveRadialChart |
| 780 | |
| 781 | theorem positiveDomain_open : IsOpen positiveDomain := |
| 782 | (ActualWaveRegularity.fullDomain_open ActualPrimary.standardRegion).inter |
| 783 | ActualPrimaryCoherence.positiveRadialChart_open |
| 784 | |
| 785 | theorem smooth_of_positive_or_zero {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 786 | {f : FullPoint → E} (hf : ContDiffOn ℝ ∞ f positiveDomain) |
| 787 | (hz : ∀ x, x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion → |
| 788 | x.1.1 ≤ 0 → f =ᶠ[𝓝 x] fun _ => 0) : |
| 789 | ContDiffOn ℝ ∞ f (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) := by |
| 790 | intro x hx |
| 791 | apply ContDiffAt.contDiffWithinAt |
| 792 | by_cases hr : 0 < x.1.1 |
| 793 | · exact hf.contDiffAt (positiveDomain_open.mem_nhds |
| 794 | ⟨hx, hr, ActualPrimary.standardRegion.time_pos _ hx.1⟩) |
| 795 | · exact contDiffAt_const.congr_of_eventuallyEq (hz x hx (le_of_not_gt hr)) |
| 796 | |
| 797 | noncomputable def signedNormal (l : Index B N0) |
| 798 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) : FullPoint → HarmonicCalculus.ComplexVector := |
| 799 | CurlClassBounds.coefficient ((ActualSignedStageControls.parameters l).base.radius n) |
| 800 | ((ActualSignedStageControls.parameters l).directions.radialField n) |
| 801 | (fun _ => (ActualSignedStageControls.parameters l).directions.angular) |
| 802 | ((ActualSignedStageControls.parameters l).directions.axialField ActualSignedStageControls.fullStrip n) |
| 803 | ((ActualSignedStageControls.parameters l).base.phase n) ((signedCopies l request).common.amplitude n) |
| 804 | |
| 805 | noncomputable def signedCorrected (l : Index B N0) |
| 806 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) : LinearWaveBounds.WaveCoefficients FullPoint := |
| 807 | (signedCopies l request).commonCorrected ActualSignedStageControls.fullStrip |
| 808 | (ActualSignedStageControls.parameters l).directions |
| 809 | |
| 810 | theorem positive_geometry (l : Index B N0) (n : ℕ) : |
| 811 | CurlClassBounds.CylindricalGeometry positiveDomain |
| 812 | ((ActualSignedStageControls.parameters l).base.radius n) |
| 813 | ((ActualSignedStageControls.parameters l).directions.radialField n) |
| 814 | (fun _ => (ActualSignedStageControls.parameters l).directions.angular) |
| 815 | ((ActualSignedStageControls.parameters l).directions.axialField ActualSignedStageControls.fullStrip n) := |
| 816 | LocalizedCurlRealization.geometry_restrict |
| 817 | (ActualPrimaryCoherence.piece_geometry ActualPrimary.standardRegion B n) |
| 818 | positiveDomain_open inter_subset_right |
| 819 | |
| 820 | theorem positive_phase (l : Index B N0) (n : ℕ) : |
| 821 | ContDiffOn ℝ ∞ ((ActualSignedStageControls.parameters l).base.phase n) positiveDomain := |
| 822 | (ActualPrimaryDynamics.phase_smooth l.2 l.1 n).mono inter_subset_right |
| 823 | |
| 824 | theorem signed_normal_zero_germ (l : Index B N0) |
| 825 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) |
| 826 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 827 | (hout : radius x ∉ Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 828 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : |
| 829 | signedNormal l request n =ᶠ[𝓝 x] fun _ => 0 := by |
| 830 | filter_upwards [(signed_common_raw_zero_germ l request n hx hout).1] with y hy |
| 831 | simp only [signedNormal, CurlClassBounds.coefficient, hy, PeriodizedWaveBounds.normalCoefficient_zero] |
| 832 | |
| 833 | theorem signed_corrected_zero_germ (l : Index B N0) |
| 834 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) |
| 835 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 836 | (hout : radius x ∉ Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 837 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : |
| 838 | (signedCorrected l request).amplitude n =ᶠ[𝓝 x] fun _ => 0 := by |
| 839 | have hh := ParticularWaveAssembly.realizedCoefficient_germ |
| 840 | (signed_common_raw_zero_germ l request n hx hout).1 |
| 841 | ((ActualSignedStageControls.parameters l).base.frequency n) |
| 842 | ((ActualSignedStageControls.parameters l).base.radius n) |
| 843 | ((ActualSignedStageControls.parameters l).directions.radialField n) |
| 844 | (fun _ => (ActualSignedStageControls.parameters l).directions.angular) |
| 845 | ((ActualSignedStageControls.parameters l).directions.axialField ActualSignedStageControls.fullStrip n) |
| 846 | ((ActualSignedStageControls.parameters l).base.phase n) |
| 847 | simp only [PeriodizedWaveBounds.realizedCoefficient_zero] at hh ⊢ |
| 848 | exact hh |
| 849 | |
| 850 | theorem signed_normal_smooth (l : Index B N0) |
| 851 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) {α : ℝ} |
| 852 | (ha : MemClass ActualSignedStageControls.fullStrip |
| 853 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 854 | ActualSignedStageControls.envelope l n x) α (signedCopies l request).common.amplitude) |
| 855 | (n : ℕ) : ContDiffOn ℝ ∞ (signedNormal l request n) |
| 856 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) := by |
| 857 | apply smooth_of_positive_or_zero |
| 858 | · exact CurlClassBounds.normalCoefficient_contDiffOn |
| 859 | (CurlClassBounds.phaseNormal_contDiffOn (positive_geometry l n) (positive_phase l n)) |
| 860 | ((signed_raw_full_regular l request ha n).1.mono inter_subset_left) |
| 861 | (fun _ hx => ActualPrimaryCoherence.piece_normal_ne ActualPrimary.standardRegion l.2 l.1 n hx.2) |
| 862 | · intro x hx hr |
| 863 | apply signed_normal_zero_germ l request n hx |
| 864 | intro hi |
| 865 | exact (not_lt_of_ge (radius_nonpos hx hr)) |
| 866 | ((PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal).trans_le hi.1) |
| 867 | |
| 868 | theorem signed_corrected_smooth (l : Index B N0) |
| 869 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) {α : ℝ} |
| 870 | (ha : MemClass ActualSignedStageControls.fullStrip |
| 871 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 872 | ActualSignedStageControls.envelope l n x) α (signedCopies l request).common.amplitude) |
| 873 | (n : ℕ) : ContDiffOn ℝ ∞ ((signedCorrected l request).amplitude n) |
| 874 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) := by |
| 875 | apply smooth_of_positive_or_zero |
| 876 | · have G := positive_geometry l n |
| 877 | have hc := CurlClassBounds.cylindricalCurl_contDiffOn G.isOpen (G.radius_smooth.inv G.radius_ne) |
| 878 | G.radial_smooth G.angular_smooth G.axial_smooth |
| 879 | ((signed_normal_smooth l request ha n).mono inter_subset_left) |
| 880 | exact ((signed_raw_full_regular l request ha n).1.mono inter_subset_left).add |
| 881 | ((hc.const_smul Complex.I).const_smul (1 / (ActualSignedStageControls.parameters l).base.frequency n)) |
| 882 | · intro x hx hr |
| 883 | apply signed_corrected_zero_germ l request n hx |
| 884 | intro hi |
| 885 | exact (not_lt_of_ge (radius_nonpos hx hr)) |
| 886 | ((PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal).trans_le hi.1) |
| 887 | |
| 888 | noncomputable def signedField (l : Index B N0) (a : ℕ → FullPoint → HarmonicCalculus.ComplexVector) : |
| 889 | CorrectionState.Oscillation Point := fun n x i => |
| 890 | (vectorMode ((ActualSignedStageControls.parameters l).base.frequency n) |
| 891 | ((ActualSignedStageControls.parameters l).base.phase n) (a n) x i).re |
| 892 | |
| 893 | theorem signedField_smooth (l : Index B N0) (a : ℕ → FullPoint → HarmonicCalculus.ComplexVector) |
| 894 | (ha : ∀ n, ContDiffOn ℝ ∞ (a n) (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion)) |
| 895 | (hz : ∀ n x, x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion → |
| 896 | x.1.1 ≤ 0 → a n =ᶠ[𝓝 x] fun _ => 0) : |
| 897 | WaveStateRegularity.AngularSmooth |
| 898 | (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) (signedField l a) := by |
| 899 | intro n i |
| 900 | apply smooth_of_positive_or_zero |
| 901 | · exact Complex.reCLM.contDiff.comp_contDiffOn |
| 902 | (HarmonicCalculus.contDiffOn_mode _ (positive_phase l n) |
| 903 | ((ContinuousLinearMap.proj i : HarmonicCalculus.ComplexVector →L[ℝ] ℂ).contDiff.comp_contDiffOn |
| 904 | ((ha n).mono inter_subset_left))) |
| 905 | · intro x hx hr |
| 906 | filter_upwards [hz n x hx hr] with y hy |
| 907 | simp only [signedField, vectorMode, HarmonicCalculus.mode, hy, Pi.zero_apply, zero_mul] |
| 908 | rfl |
| 909 | |
| 910 | theorem signedField_support (l : Index B N0) (a : ℕ → FullPoint → HarmonicCalculus.ComplexVector) |
| 911 | (hz : ∀ n x, x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion → |
| 912 | radius x ∉ Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 913 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → a n =ᶠ[𝓝 x] fun _ => 0) : |
| 914 | WaveStateRegularity.WaveSupport ActualPrimary.standardRegion |
| 915 | (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 916 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) (signedField l a) := by |
| 917 | intro n θ i x hx hn |
| 918 | by_contra hout |
| 919 | have hq := VariableGaugeMean.qLength_pos ActualPrimary.standardRegion.coord_pos |
| 920 | ActualPrimary.standardRegion.coord_lt_one (ActualPrimary.standardRegion.time_pos _ hx) |
| 921 | have hr : radius (x, θ) ∉ Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 922 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) := by |
| 923 | intro h |
| 924 | apply hout |
| 925 | exact ⟨by simpa only [mul_comm] using (le_div_iff₀ hq).mp h.1, |
| 926 | by simpa only [mul_comm] using (div_le_iff₀ hq).mp h.2⟩ |
| 927 | have he := (hz n (x, θ) ⟨hx, mem_univ _⟩ hr).eq_of_nhds |
| 928 | apply hn |
| 929 | simp only [signedField, vectorMode, HarmonicCalculus.mode, he, Pi.zero_apply, zero_mul] |
| 930 | rfl |
| 931 | |
| 932 | theorem signed_exact_smooth (l : Index B N0) (P : SignedStressPrimitive.Patch) (coord : ℝ) |
| 933 | (c : CorrectionState.Context Point) (u : CorrectionState.State Point) {α : ℝ} |
| 934 | (ha : MemClass ActualSignedStageControls.fullStrip |
| 935 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 936 | ActualSignedStageControls.envelope l n x) α |
| 937 | (signedCopies l (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).common.amplitude) : |
| 938 | WaveStateRegularity.AngularSmooth |
| 939 | (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 940 | ((ActualSignedStageControls.parameters l).exactBlock ActualPrimaryBounds.strip |
| 941 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).oscillation := by |
| 942 | rw [(signedAngles l ActualPrimaryBounds.strip P coord c u).block_eq_mode] |
| 943 | apply signedField_smooth l |
| 944 | · exact signed_corrected_smooth l _ ha |
| 945 | · intro n x hx hr |
| 946 | apply signed_corrected_zero_germ l _ n hx |
| 947 | intro hi |
| 948 | exact (not_lt_of_ge (radius_nonpos hx hr)) |
| 949 | ((PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal).trans_le hi.1) |
| 950 | |
| 951 | theorem signed_exact_support (l : Index B N0) (P : SignedStressPrimitive.Patch) (coord : ℝ) |
| 952 | (c : CorrectionState.Context Point) (u : CorrectionState.State Point) : |
| 953 | WaveStateRegularity.WaveSupport ActualPrimary.standardRegion |
| 954 | (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 955 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) |
| 956 | ((ActualSignedStageControls.parameters l).exactBlock ActualPrimaryBounds.strip |
| 957 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).oscillation := by |
| 958 | rw [(signedAngles l ActualPrimaryBounds.strip P coord c u).block_eq_mode] |
| 959 | exact signedField_support l _ (fun n _ hx hr => signed_corrected_zero_germ l _ n hx hr) |
| 960 | |
| 961 | theorem signed_gaussian_zero_outside (l : Index B N0) |
| 962 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) |
| 963 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 964 | (hout : radius x ∉ Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 965 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : |
| 966 | (signedCopies l request).globalGaussian (ActualSignedStageControls.parameters l).directions n x = 0 := by |
| 967 | have hz := fun k => (signed_raw_zero_outside l ActualPrimaryBounds.strip request n k hx hout).1 |
| 968 | simp only [PeriodizedWaveBounds.CopyData.globalGaussian, PeriodizedWaveBounds.CopyData.globalTail, |
| 969 | PeriodizedWaveBounds.copySum, PeriodizedWaveBounds.CopyData.localTail, signedCopies, |
| 970 | CorrectionStep.PeriodizedSignedParameters.copyData] at * |
| 971 | simp only [hz, smul_zero, tsum_zero, add_zero] |
| 972 | |
| 973 | theorem signed_gaussian_full_regular (l : Index B N0) |
| 974 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) {α : ℝ} |
| 975 | (hg : MemClass ActualSignedStageControls.fullStrip |
| 976 | (fun _ x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x)) α |
| 977 | ((signedCopies l request).globalGaussian (ActualSignedStageControls.parameters l).directions)) |
| 978 | (n : ℕ) : |
| 979 | ContDiffOn ℝ ∞ ((signedCopies l request).globalGaussian (ActualSignedStageControls.parameters l).directions n) |
| 980 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) ∧ |
| 981 | ∀ m x, x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion → |
| 982 | (radius x = PrimaryTargetBounds.leftRadius ActualPrimary.nominal ∨ |
| 983 | radius x = PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → |
| 984 | iteratedFDeriv ℝ m |
| 985 | ((signedCopies l request).globalGaussian (ActualSignedStageControls.parameters l).directions n) x = 0 := |
| 986 | full_regular_of_class hg (fun n _ hx ho => signed_gaussian_zero_outside l request n hx ho) n |
| 987 | |
| 988 | theorem signed_tangent_eq_field (l : Index B N0) (P : SignedStressPrimitive.Patch) (coord : ℝ) |
| 989 | (c : CorrectionState.Context Point) (u : CorrectionState.State Point) : |
| 990 | ((ActualSignedStageControls.parameters l).tangentBlock ActualPrimaryBounds.strip |
| 991 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).oscillation = |
| 992 | signedField l (signedCopies l (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).common.amplitude := by |
| 993 | let h := signedAngles l ActualPrimaryBounds.strip P coord c u |
| 994 | have ha (n : ℕ) := (signedCopies l |
| 995 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).common_amplitude_invariant |
| 996 | ((0 : Point), 1) (fun n i => h.cutoff i n) h.raw_invariant n |
| 997 | funext n x i |
| 998 | rw [CorrectionStep.PeriodizedSignedParameters.tangentBlock, SignedWaveUpdate.blockOfCoefficients, |
| 999 | SignedWaveUpdate.coefficientBlock_velocity] |
| 1000 | have hphase : (ActualSignedStageControls.parameters l).base.frequency n * |
| 1001 | (ActualSignedStageControls.parameters l).base.phase n x = |
| 1002 | (ActualSignedStageControls.parameters l).base.frequency n * |
| 1003 | (ActualSignedStageControls.parameters l).base.phase n (x.1, 0) + |
| 1004 | ((ActualSignedStageControls.parameters l).angularFrequency n : ℝ) * x.2 := by |
| 1005 | rw [CopyAngularInvariance.affinePhase_eq_zeroSlice (h.phase n) x.1 x.2, |
| 1006 | mul_add, ← mul_assoc, h.frequency_slope] |
| 1007 | have hc := HarmonicFields.character_eq_carrier 1 |
| 1008 | ((ActualSignedStageControls.parameters l).base.frequency n) |
| 1009 | ((ActualSignedStageControls.parameters l).base.phase n) x |
| 1010 | simp only [Int.cast_one, mul_one] at hc |
| 1011 | change Complex.re (_ * HarmonicFields.character 1 |
| 1012 | ((ActualSignedStageControls.parameters l).base.frequency n * |
| 1013 | (ActualSignedStageControls.parameters l).base.phase n (x.1, 0) + |
| 1014 | ((ActualSignedStageControls.parameters l).angularFrequency n : ℝ) * x.2)) = |
| 1015 | Complex.re (_ * HarmonicCalculus.carrier _ _ x) |
| 1016 | rw [← hphase, hc] |
| 1017 | have hi := CopyAngularInvariance.invariant_eq_zeroSlice (ha n) x.1 x.2 |
| 1018 | exact congrArg (fun a : HarmonicCalculus.ComplexVector => |
| 1019 | (a i * HarmonicCalculus.carrier _ _ x).re) hi.symm |
| 1020 | |
| 1021 | theorem signed_tangent_smooth (l : Index B N0) (P : SignedStressPrimitive.Patch) (coord : ℝ) |
| 1022 | (c : CorrectionState.Context Point) (u : CorrectionState.State Point) {α : ℝ} |
| 1023 | (ha : MemClass ActualSignedStageControls.fullStrip |
| 1024 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 1025 | ActualSignedStageControls.envelope l n x) α |
| 1026 | (signedCopies l (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).common.amplitude) : |
| 1027 | WaveStateRegularity.AngularSmooth |
| 1028 | (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 1029 | ((ActualSignedStageControls.parameters l).tangentBlock ActualPrimaryBounds.strip |
| 1030 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).oscillation := by |
| 1031 | rw [signed_tangent_eq_field] |
| 1032 | exact signedField_smooth l _ (fun n => (signed_raw_full_regular l _ ha n).1) |
| 1033 | (fun n _ hx hr => (signed_common_zero_germ_nonpositive l _ n hx hr).1) |
| 1034 | |
| 1035 | theorem signed_tangent_support (l : Index B N0) (P : SignedStressPrimitive.Patch) (coord : ℝ) |
| 1036 | (c : CorrectionState.Context Point) (u : CorrectionState.State Point) : |
| 1037 | WaveStateRegularity.WaveSupport ActualPrimary.standardRegion |
| 1038 | (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1039 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) |
| 1040 | ((ActualSignedStageControls.parameters l).tangentBlock ActualPrimaryBounds.strip |
| 1041 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).oscillation := by |
| 1042 | rw [signed_tangent_eq_field] |
| 1043 | exact signedField_support l _ (fun n _ hx hr => (signed_common_raw_zero_germ l _ n hx hr).1) |
| 1044 | |
| 1045 | theorem signed_common_raw_zero_germ_of_not_ordered (l : Index B N0) |
| 1046 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) (hn : ¬Ordered l n) |
| 1047 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) : |
| 1048 | (signedCopies l request).common.amplitude n =ᶠ[𝓝 x] fun _ => 0 := by |
| 1049 | filter_upwards [(ActualWaveRegularity.fullDomain_open ActualPrimary.standardRegion).mem_nhds hx] with y hy |
| 1050 | have hz (k : Frequency) := ((ActualSignedStageControls.parameters l).raw_zero_of_mask |
| 1051 | (s := ActualPrimaryBounds.strip) request n k y (mask_zero_of_not_ordered l n hn k hy)).1 |
| 1052 | change (∑' k, ((ActualSignedStageControls.parameters l).copyData ActualPrimaryBounds.strip request).cutoff n k y • |
| 1053 | ((ActualSignedStageControls.parameters l).copyData ActualPrimaryBounds.strip request).amplitude n k y) = 0 |
| 1054 | simp only [hz, smul_zero, tsum_zero] |
| 1055 | |
| 1056 | theorem signed_tangent_periodic (l : Index B N0) (P : SignedStressPrimitive.Patch) (coord : ℝ) |
| 1057 | (c : CorrectionState.Context Point) (u : CorrectionState.State Point) : |
| 1058 | CorrectionStep.OscillationPeriodic ActualPrimary.standardRegion.carrier |
| 1059 | ((ActualSignedStageControls.parameters l).tangentBlock ActualPrimaryBounds.strip |
| 1060 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).oscillation := by |
| 1061 | rw [signed_tangent_eq_field] |
| 1062 | intro n R t ht θ Y k |
| 1063 | let x : FullPoint := ((R, (t, Y)), θ) |
| 1064 | have hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion := ⟨ht, mem_univ _⟩ |
| 1065 | have hy : x + ActualWaveRegularity.deckShift k ∈ |
| 1066 | ActualWaveRegularity.fullDomain ActualPrimary.standardRegion := by |
| 1067 | change (t + 0) ∈ ActualPrimary.standardRegion.carrier ∧ _ |
| 1068 | exact ⟨by simpa only [add_zero] using ht, mem_univ _⟩ |
| 1069 | have he : ((R, (t, Y + ((k.1 : ℝ), (k.2 : ℝ)))), θ) = x + ActualWaveRegularity.deckShift k := by |
| 1070 | simp only [x, ActualWaveRegularity.deckShift, Prod.add_def, add_zero] |
| 1071 | by_cases hn : Ordered l n |
| 1072 | · have ha := ActualWaveRegularity.common_amplitude_translation |
| 1073 | (signedCopies l (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)) n |
| 1074 | (deckPermutation l n k) |
| 1075 | (fun i y _ => cutoff_deck l n hn i k y) |
| 1076 | (fun i y _ => signed_request_amplitude_deck l ActualPrimaryBounds.strip P coord c u n hn i k y) |
| 1077 | x hx |
| 1078 | have hp := phase_deck l n hn k x (mem_univ _) |
| 1079 | funext i |
| 1080 | change (vectorMode _ _ _ ((R, (t, Y + ((k.1 : ℝ), (k.2 : ℝ)))), θ) i).re = |
| 1081 | (vectorMode _ _ _ x i).re |
| 1082 | simp only [he, vectorMode, HarmonicCalculus.mode, ha, HarmonicCalculus.carrier, hp] |
| 1083 | · have h0 := (signed_common_raw_zero_germ_of_not_ordered l |
| 1084 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u) n hn hx).eq_of_nhds |
| 1085 | have h1 := (signed_common_raw_zero_germ_of_not_ordered l |
| 1086 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u) n hn hy).eq_of_nhds |
| 1087 | funext i |
| 1088 | change (vectorMode _ _ _ ((R, (t, Y + ((k.1 : ℝ), (k.2 : ℝ)))), θ) i).re = |
| 1089 | (vectorMode _ _ _ x i).re |
| 1090 | simp only [he, vectorMode, HarmonicCalculus.mode, h0, h1, Pi.zero_apply, zero_mul] |
| 1091 | |
| 1092 | theorem smooth_conjugatePair {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 1093 | {U : Set D} {f : D → ℂ} (hf : ContDiffOn ℝ ∞ f U) (j : ℤ) : |
| 1094 | HarmonicResidual.SmoothCoefficients U (ErrorHarmonics.conjugatePair j f) := by |
| 1095 | have hs := HarmonicWaveInteraction.smoothCoefficients_single (hf.div_const 2) j |
| 1096 | exact hs.add hs.conjugateReverse |
| 1097 | |
| 1098 | theorem signed_exact_coefficients_smooth (l : Index B N0) |
| 1099 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) {α : ℝ} |
| 1100 | (ha : MemClass ActualSignedStageControls.fullStrip |
| 1101 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 1102 | ActualSignedStageControls.envelope l n x) α (signedCopies l request).common.amplitude) |
| 1103 | (n : ℕ) (i : Fin 3) : |
| 1104 | HarmonicResidual.SmoothCoefficients (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 1105 | (((ActualSignedStageControls.parameters l).exactBlock ActualPrimaryBounds.strip request).velocity n i) := by |
| 1106 | apply smooth_conjugatePair |
| 1107 | exact ((contDiffOn_pi.mp (signed_corrected_smooth l request ha n)) i).comp |
| 1108 | (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, mem_univ _⟩) |
| 1109 | |
| 1110 | theorem signed_tangent_coefficients_smooth (l : Index B N0) |
| 1111 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) {α : ℝ} |
| 1112 | (ha : MemClass ActualSignedStageControls.fullStrip |
| 1113 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 1114 | ActualSignedStageControls.envelope l n x) α (signedCopies l request).common.amplitude) |
| 1115 | (n : ℕ) (i : Fin 3) : |
| 1116 | HarmonicResidual.SmoothCoefficients (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 1117 | (((ActualSignedStageControls.parameters l).tangentBlock ActualPrimaryBounds.strip request).velocity n i) := by |
| 1118 | apply smooth_conjugatePair |
| 1119 | exact ((contDiffOn_pi.mp (signed_raw_full_regular l request ha n).1) i).comp |
| 1120 | (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, mem_univ _⟩) |
| 1121 | |
| 1122 | theorem signed_pressure_coefficients_smooth (l : Index B N0) |
| 1123 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) {α : ℝ} |
| 1124 | (hp : MemClass ActualSignedStageControls.fullStrip |
| 1125 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 1126 | ActualSignedStageControls.envelope l n x) α (signedCopies l request).common.pressure) |
| 1127 | (n : ℕ) : |
| 1128 | HarmonicResidual.SmoothCoefficients (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 1129 | (((ActualSignedStageControls.parameters l).exactBlock ActualPrimaryBounds.strip request).pressure n) := by |
| 1130 | apply smooth_conjugatePair |
| 1131 | exact (signed_pressure_full_regular l request hp n).1.comp |
| 1132 | (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, mem_univ _⟩) |
| 1133 | |
| 1134 | theorem signed_gaussian_coefficients_smooth (l : Index B N0) |
| 1135 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) {α : ℝ} |
| 1136 | (hg : MemClass ActualSignedStageControls.fullStrip |
| 1137 | (fun _ x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x)) α |
| 1138 | ((signedCopies l request).globalGaussian (ActualSignedStageControls.parameters l).directions)) |
| 1139 | (n : ℕ) (i : Fin 3) : |
| 1140 | HarmonicResidual.SmoothCoefficients (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 1141 | (((ActualSignedStageControls.parameters l).gaussianBlock ActualPrimaryBounds.strip request).velocity n i) := by |
| 1142 | apply smooth_conjugatePair |
| 1143 | exact ((contDiffOn_pi.mp (signed_gaussian_full_regular l request hg n).1) i).comp |
| 1144 | (HarmonicWaveInteraction.inclusion (D := Point)).contDiff.contDiffOn (fun _ hx => ⟨hx, mem_univ _⟩) |
| 1145 | |
| 1146 | noncomputable def zeroAngle : FullPoint →L[ℝ] FullPoint := |
| 1147 | (ContinuousLinearMap.fst ℝ Point ℝ).prod 0 |
| 1148 | |
| 1149 | theorem zeroAngle_mem {x : FullPoint} |
| 1150 | (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) : |
| 1151 | zeroAngle x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion := ⟨hx.1, mem_univ _⟩ |
| 1152 | |
| 1153 | theorem signed_pressure_smooth (l : Index B N0) (P : SignedStressPrimitive.Patch) (coord : ℝ) |
| 1154 | (c : CorrectionState.Context Point) (u : CorrectionState.State Point) {α : ℝ} |
| 1155 | (hp : MemClass ActualSignedStageControls.fullStrip |
| 1156 | (fun n x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x) * |
| 1157 | ActualSignedStageControls.envelope l n x) α |
| 1158 | (signedCopies l (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).common.pressure) |
| 1159 | (n : ℕ) : ContDiffOn ℝ ∞ |
| 1160 | (((ActualSignedStageControls.parameters l).exactBlock ActualPrimaryBounds.strip |
| 1161 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).oscillatoryPressure n) |
| 1162 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) := by |
| 1163 | let h := signedAngles l ActualPrimaryBounds.strip P coord c u |
| 1164 | let a := signedCopies l (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u) |
| 1165 | have he (x : FullPoint) : ((ActualSignedStageControls.parameters l).exactBlock ActualPrimaryBounds.strip |
| 1166 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u)).oscillatoryPressure n x = |
| 1167 | (HarmonicCalculus.mode ((ActualSignedStageControls.parameters l).base.frequency n) |
| 1168 | ((ActualSignedStageControls.parameters l).base.phase n) |
| 1169 | (fun y => a.common.pressure n (zeroAngle y)) x).re := by |
| 1170 | rw [CorrectionStep.PeriodizedSignedParameters.exactBlock, SignedWaveUpdate.blockOfCoefficients, |
| 1171 | SignedWaveUpdate.coefficientBlock_pressure] |
| 1172 | have hphase : (ActualSignedStageControls.parameters l).base.frequency n * |
| 1173 | (ActualSignedStageControls.parameters l).base.phase n x = |
| 1174 | (ActualSignedStageControls.parameters l).base.frequency n * |
| 1175 | (ActualSignedStageControls.parameters l).base.phase n (x.1, 0) + |
| 1176 | ((ActualSignedStageControls.parameters l).angularFrequency n : ℝ) * x.2 := by |
| 1177 | rw [CopyAngularInvariance.affinePhase_eq_zeroSlice (h.phase n) x.1 x.2, |
| 1178 | mul_add, ← mul_assoc, h.frequency_slope] |
| 1179 | have hc := HarmonicFields.character_eq_carrier 1 |
| 1180 | ((ActualSignedStageControls.parameters l).base.frequency n) |
| 1181 | ((ActualSignedStageControls.parameters l).base.phase n) x |
| 1182 | simp only [Int.cast_one, mul_one] at hc |
| 1183 | change Complex.re (a.common.pressure n (x.1, 0) * HarmonicFields.character 1 |
| 1184 | ((ActualSignedStageControls.parameters l).base.frequency n * |
| 1185 | (ActualSignedStageControls.parameters l).base.phase n (x.1, 0) + |
| 1186 | ((ActualSignedStageControls.parameters l).angularFrequency n : ℝ) * x.2)) = |
| 1187 | Complex.re (a.common.pressure n (zeroAngle x) * HarmonicCalculus.carrier _ _ x) |
| 1188 | rw [← hphase, hc] |
| 1189 | rfl |
| 1190 | apply (smooth_of_positive_or_zero (f := fun x => |
| 1191 | (HarmonicCalculus.mode ((ActualSignedStageControls.parameters l).base.frequency n) |
| 1192 | ((ActualSignedStageControls.parameters l).base.phase n) |
| 1193 | (fun y => a.common.pressure n (zeroAngle y)) x).re) ?_ ?_).congr (fun x _ => he x) |
| 1194 | · exact Complex.reCLM.contDiff.comp_contDiffOn |
| 1195 | (HarmonicCalculus.contDiffOn_mode _ (positive_phase l n) |
| 1196 | (((signed_pressure_full_regular l _ hp n).1.comp zeroAngle.contDiff.contDiffOn |
| 1197 | (fun _ hx => zeroAngle_mem hx)).mono inter_subset_left)) |
| 1198 | · intro x hx hr |
| 1199 | have hz := ((signed_common_zero_germ_nonpositive l |
| 1200 | (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u) n (zeroAngle_mem hx) hr).2).comp_tendsto |
| 1201 | zeroAngle.continuous.continuousAt |
| 1202 | filter_upwards [hz] with y hy |
| 1203 | change a.common.pressure n (zeroAngle y) = 0 at hy |
| 1204 | simp only [HarmonicCalculus.mode, hy, zero_mul] |
| 1205 | rfl |
| 1206 | |
| 1207 | /-! ## The same edge continuation in the particular solver's coordinates -/ |
| 1208 | |
| 1209 | noncomputable def particularFullStrip : StripData ActualWaveRegularity.ParticularSpace := |
| 1210 | ParticularWaveBounds.reindexStrip ActualWaveRegularity.particularChart.symm |
| 1211 | ActualSignedStageControls.fullStrip |
| 1212 | |
| 1213 | theorem particularFullStrip_eq : particularFullStrip = |
| 1214 | CorrectionStep.ParticularParameters.nativeStrip |
| 1215 | ActualParticularStageControls.associatedStrip := rfl |
| 1216 | |
| 1217 | theorem particular_pull_class {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1218 | {f : ℕ → ActualWaveRegularity.ParticularSpace → E} {α : ℝ} |
| 1219 | (hf : MemClass particularFullStrip (fun _ x => Real.sqrt (particularFullStrip.zeta x)) α f) : |
| 1220 | MemClass ActualSignedStageControls.fullStrip |
| 1221 | (fun _ x => Real.sqrt (ActualSignedStageControls.fullStrip.zeta x)) α |
| 1222 | (fun n x => f n (ActualWaveRegularity.particularChart x)) := by |
| 1223 | refine ⟨fun _ _ _ => Real.sqrt_nonneg _, ?_, ?_⟩ |
| 1224 | · intro n |
| 1225 | exact (hf.smooth n).comp ActualWaveRegularity.particularChart.contDiff.contDiffOn |
| 1226 | (fun x hx => by |
| 1227 | change ActualWaveRegularity.particularChart.symm (ActualWaveRegularity.particularChart x) ∈ |
| 1228 | ActualSignedStageControls.fullStrip.domain |
| 1229 | simpa only [LinearIsometryEquiv.symm_apply_apply] using hx) |
| 1230 | · intro m |
| 1231 | obtain ⟨C, hC, p, hbound⟩ := hf.bounds m |
| 1232 | refine ⟨C, hC, p, ?_⟩ |
| 1233 | intro n x hx j hj |
| 1234 | rw [StateReindex.norm_iteratedFDeriv_pull] |
| 1235 | have hmem : ActualWaveRegularity.particularChart x ∈ particularFullStrip.domain := by |
| 1236 | change ActualWaveRegularity.particularChart.symm (ActualWaveRegularity.particularChart x) ∈ |
| 1237 | ActualSignedStageControls.fullStrip.domain |
| 1238 | simpa only [LinearIsometryEquiv.symm_apply_apply] using hx |
| 1239 | have hh := hbound n (ActualWaveRegularity.particularChart x) hmem j hj |
| 1240 | simpa only [majorant, particularFullStrip, ParticularWaveBounds.reindexStrip, |
| 1241 | StripData.growth, LinearIsometryEquiv.symm_apply_apply] using hh |
| 1242 | |
| 1243 | /-- No new radial coordinate or flat weight is chosen for the particular |
| 1244 | solver. Reassociation preserves the actual derivative norms. -/ |
| 1245 | theorem particular_full_regular_of_class {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1246 | {f : ℕ → ActualWaveRegularity.ParticularSpace → E} {α : ℝ} |
| 1247 | (hf : MemClass particularFullStrip (fun _ x => Real.sqrt (particularFullStrip.zeta x)) α f) |
| 1248 | (hz : ∀ n z, z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1249 | ActualPrimary.standardRegion → |
| 1250 | radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 1251 | Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1252 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → f n z = 0) |
| 1253 | (n : ℕ) : |
| 1254 | ContDiffOn ℝ ∞ (f n) |
| 1255 | (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) ∧ |
| 1256 | ∀ m z, z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1257 | ActualPrimary.standardRegion → |
| 1258 | (radius (ActualWaveRegularity.particularChart.symm z) = PrimaryTargetBounds.leftRadius ActualPrimary.nominal ∨ |
| 1259 | radius (ActualWaveRegularity.particularChart.symm z) = PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → |
| 1260 | iteratedFDeriv ℝ m (f n) z = 0 := by |
| 1261 | have hs := full_regular_of_class (particular_pull_class hf) |
| 1262 | (fun m x hx ho => hz m (ActualWaveRegularity.particularChart x) |
| 1263 | (by simpa only [ActualWaveRegularity.nativeDomain, mem_preimage, |
| 1264 | LinearIsometryEquiv.symm_apply_apply] using hx) |
| 1265 | (by simpa only [LinearIsometryEquiv.symm_apply_apply] using ho)) n |
| 1266 | constructor |
| 1267 | · have hh := hs.1.comp ActualWaveRegularity.particularChart.symm.contDiff.contDiffOn |
| 1268 | (fun _ hz => hz) |
| 1269 | simp only [Function.comp_def, LinearIsometryEquiv.apply_symm_apply] at hh ⊢ |
| 1270 | exact hh |
| 1271 | · intro m z hz he |
| 1272 | have hj := hs.2 m (ActualWaveRegularity.particularChart.symm z) hz he |
| 1273 | have hn := StateReindex.norm_iteratedFDeriv_pull ActualWaveRegularity.particularChart |
| 1274 | (f n) m (ActualWaveRegularity.particularChart.symm z) |
| 1275 | rw [LinearIsometryEquiv.apply_symm_apply, hj, norm_zero] at hn |
| 1276 | exact norm_eq_zero.mp hn.symm |
| 1277 | |
| 1278 | /-! The particular phase below is the literal carrier of its incoming |
| 1279 | block. Its equality with the selected primary phase is a carrier invariant, |
| 1280 | not a smoothness assumption on an output. -/ |
| 1281 | |
| 1282 | noncomputable def particularCopies (l : ActualParticularStageControls.Label B N0) |
| 1283 | (c : CorrectionState.Context (CorrectionStep.CycleSlow × Plane)) |
| 1284 | (u : CorrectionState.State (CorrectionStep.CycleSlow × Plane)) |
| 1285 | (b : CorrectionState.HarmonicBlock (CorrectionStep.CycleSlow × Plane)) |
| 1286 | (G A : HarmonicResidual.BlockCoefficients (CorrectionStep.CycleSlow × Plane)) (j : ℤ) := |
| 1287 | (ActualParticularStageControls.canonicalParameters l).copyData c u b G A j |
| 1288 | |
| 1289 | noncomputable def particularPositive : Set ActualWaveRegularity.ParticularSpace := |
| 1290 | ActualWaveRegularity.particularChart.symm ⁻¹' positiveDomain |
| 1291 | |
| 1292 | theorem nativeToFull_eq : ActualParticularStageControls.nativeToFull = |
| 1293 | ActualWaveRegularity.particularChart.symm := rfl |
| 1294 | |
| 1295 | theorem particularPositive_open : IsOpen particularPositive := |
| 1296 | positiveDomain_open.preimage ActualWaveRegularity.particularChart.symm.continuous |
| 1297 | |
| 1298 | theorem particular_native_normal (l : ActualParticularStageControls.Label B N0) (n : ℕ) |
| 1299 | {z : ActualWaveRegularity.ParticularSpace} (hz : z ∈ particularPositive) : |
| 1300 | (ActualParticularStageControls.background l).normal particularFullStrip |
| 1301 | (ActualParticularStageControls.directions (B := B)) n z = |
| 1302 | (ActualPrimary.chartCoefficients l.1 l.2).normal ActualSignedStageControls.fullStrip |
| 1303 | (ActualSignedStageControls.parameters (l.2,l.1)).directions n |
| 1304 | (ActualWaveRegularity.particularChart.symm z) := by |
| 1305 | have hp := ((positive_phase (l.2,l.1) n).contDiffAt |
| 1306 | (positiveDomain_open.mem_nhds hz)).differentiableAt (by simp) |
| 1307 | have he := ParticularWaveBounds.phaseNormal_reindex ActualParticularStageControls.nativeToFull |
| 1308 | ((ActualPrimary.chartCoefficients l.1 l.2).radius n) |
| 1309 | ((ActualSignedStageControls.parameters (l.2,l.1)).directions.radialField n) |
| 1310 | (fun _ => (ActualSignedStageControls.parameters (l.2,l.1)).directions.angular) |
| 1311 | ((ActualSignedStageControls.parameters (l.2,l.1)).directions.axialField |
| 1312 | ActualSignedStageControls.fullStrip n) hp |
| 1313 | simp only [ActualParticularStageControls.background, ActualParticularStageControls.directions, |
| 1314 | ActualSignedStageControls.parameters, LinearWaveBounds.WaveCoefficients.normal, |
| 1315 | ParticularWaveBounds.reindexCoefficients, ParticularWaveBounds.reindex_radialField, nativeToFull_eq] at he ⊢ |
| 1316 | exact he |
| 1317 | |
| 1318 | theorem particular_geometry_smooth (l : ActualParticularStageControls.Label B N0) (n : ℕ) : |
| 1319 | ContDiffOn ℝ ∞ ((ActualParticularStageControls.background l).radius n) particularPositive ∧ |
| 1320 | (∀ z ∈ particularPositive, (ActualParticularStageControls.background l).radius n z ≠ 0) ∧ |
| 1321 | ContDiffOn ℝ ∞ ((ActualParticularStageControls.directions (B := B)).radialField n) particularPositive ∧ |
| 1322 | ContDiffOn ℝ ∞ (fun _ : ActualWaveRegularity.ParticularSpace => |
| 1323 | (ActualParticularStageControls.directions (B := B)).angular) particularPositive ∧ |
| 1324 | ContDiffOn ℝ ∞ ((ActualParticularStageControls.directions (B := B)).axialField particularFullStrip n) |
| 1325 | particularPositive := by |
| 1326 | let e := ActualParticularStageControls.nativeToFull |
| 1327 | have hmap : MapsTo e particularPositive positiveDomain := fun _ hz => hz |
| 1328 | have G := positive_geometry (l.2,l.1) n |
| 1329 | refine ⟨G.radius_smooth.comp e.contDiff.contDiffOn hmap, fun z hz => G.radius_ne (e z) hz, ?_, |
| 1330 | contDiffOn_const, ?_⟩ |
| 1331 | · have hs := e.symm.contDiff.comp_contDiffOn (G.radial_smooth.comp e.contDiff.contDiffOn hmap) |
| 1332 | simp only [ActualParticularStageControls.directions, ParticularWaveBounds.reindex_radialField, Function.comp_def, e] at hs ⊢ |
| 1333 | exact hs |
| 1334 | · have hs := e.symm.contDiff.comp_contDiffOn (G.axial_smooth.comp e.contDiff.contDiffOn hmap) |
| 1335 | simp only [ActualParticularStageControls.directions, Function.comp_def, e] at hs ⊢ |
| 1336 | exact hs |
| 1337 | |
| 1338 | theorem particular_zero_germ {E : Type} [NormedAddCommGroup E] |
| 1339 | (f : ℕ → ActualWaveRegularity.ParticularSpace → E) |
| 1340 | (hz : ∀ n z, z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1341 | ActualPrimary.standardRegion → |
| 1342 | radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 1343 | Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1344 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → f n z = 0) |
| 1345 | (n : ℕ) {z : ActualWaveRegularity.ParticularSpace} |
| 1346 | (hm : z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) |
| 1347 | (ho : radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 1348 | Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1349 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : |
| 1350 | f n =ᶠ[𝓝 z] fun _ => 0 := by |
| 1351 | have hΩ := ActualWaveRegularity.nativeDomain_open ActualWaveRegularity.particularChart ActualPrimary.standardRegion |
| 1352 | have hc := ((radius_smooth.comp ActualWaveRegularity.particularChart.symm.contDiff.contDiffOn |
| 1353 | (fun _ hx => hx)).contDiffAt (hΩ.mem_nhds hm)).continuousAt |
| 1354 | filter_upwards [hΩ.mem_nhds hm, hc (isClosed_Icc.isOpen_compl.mem_nhds ho)] with y hy hout |
| 1355 | exact hz n y hy (fun hi => hout ⟨hi.1.le, hi.2.le⟩) |
| 1356 | |
| 1357 | theorem particular_smooth_of_positive_or_zero {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1358 | {f : ActualWaveRegularity.ParticularSpace → E} |
| 1359 | (hp : ContDiffOn ℝ ∞ f particularPositive) |
| 1360 | (hz : ∀ z, z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1361 | ActualPrimary.standardRegion → z.1.1.1 ≤ 0 → f =ᶠ[𝓝 z] fun _ => 0) : |
| 1362 | ContDiffOn ℝ ∞ f (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1363 | ActualPrimary.standardRegion) := by |
| 1364 | have hs : ContDiffOn ℝ ∞ (fun x => f (ActualWaveRegularity.particularChart x)) |
| 1365 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) := by |
| 1366 | apply smooth_of_positive_or_zero |
| 1367 | · exact hp.comp ActualWaveRegularity.particularChart.contDiff.contDiffOn |
| 1368 | (fun x hx => by simpa only [particularPositive, mem_preimage, |
| 1369 | LinearIsometryEquiv.symm_apply_apply] using hx) |
| 1370 | · intro x hx hr |
| 1371 | exact (hz (ActualWaveRegularity.particularChart x) |
| 1372 | (by simpa only [ActualWaveRegularity.nativeDomain, mem_preimage, |
| 1373 | LinearIsometryEquiv.symm_apply_apply] using hx) hr).comp_tendsto |
| 1374 | ActualWaveRegularity.particularChart.continuous.continuousAt |
| 1375 | have hh := hs.comp ActualWaveRegularity.particularChart.symm.contDiff.contDiffOn |
| 1376 | (fun _ hx => hx) |
| 1377 | simp only [Function.comp_def, LinearIsometryEquiv.apply_symm_apply] at hh ⊢ |
| 1378 | exact hh |
| 1379 | |
| 1380 | section ParticularCoefficients |
| 1381 | |
| 1382 | variable (l : ActualParticularStageControls.Label B N0) |
| 1383 | (c : CorrectionState.Context (CorrectionStep.CycleSlow × Plane)) |
| 1384 | (u : CorrectionState.State (CorrectionStep.CycleSlow × Plane)) |
| 1385 | (b : CorrectionState.HarmonicBlock (CorrectionStep.CycleSlow × Plane)) |
| 1386 | (G A : HarmonicResidual.BlockCoefficients (CorrectionStep.CycleSlow × Plane)) (j : ℤ) |
| 1387 | |
| 1388 | noncomputable def particularNormal (n : ℕ) : ActualWaveRegularity.ParticularSpace → ComplexVector := |
| 1389 | CurlClassBounds.coefficient ((particularCopies l c u b G A j).background.radius n) |
| 1390 | ((ActualParticularStageControls.canonicalParameters l).directions.radialField n) |
| 1391 | (fun _ => (ActualParticularStageControls.canonicalParameters l).directions.angular) |
| 1392 | ((ActualParticularStageControls.canonicalParameters l).directions.axialField particularFullStrip n) |
| 1393 | ((particularCopies l c u b G A j).background.phase n) |
| 1394 | ((particularCopies l c u b G A j).common.amplitude n) |
| 1395 | |
| 1396 | variable |
| 1397 | (hphase : (particularCopies l c u b G A j).background.phase = |
| 1398 | (ActualParticularStageControls.background l).phase) |
| 1399 | {α : ℝ} |
| 1400 | (ha : MemClass particularFullStrip (fun _ z => Real.sqrt (particularFullStrip.zeta z)) α |
| 1401 | (particularCopies l c u b G A j).common.amplitude) |
| 1402 | (hz : ∀ n z, z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1403 | ActualPrimary.standardRegion → |
| 1404 | radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 1405 | Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1406 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → |
| 1407 | (particularCopies l c u b G A j).common.amplitude n z = 0) |
| 1408 | |
| 1409 | include hphase ha hz in |
| 1410 | theorem particular_normal_smooth (n : ℕ) : |
| 1411 | ContDiffOn ℝ ∞ (particularNormal l c u b G A j n) |
| 1412 | (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) := by |
| 1413 | have he (z) (hm : z ∈ particularPositive) : |
| 1414 | (particularCopies l c u b G A j).background.normal particularFullStrip |
| 1415 | (ActualParticularStageControls.canonicalParameters l).directions n z = |
| 1416 | (ActualPrimary.chartCoefficients l.1 l.2).normal ActualSignedStageControls.fullStrip |
| 1417 | (ActualSignedStageControls.parameters (l.2,l.1)).directions n |
| 1418 | (ActualWaveRegularity.particularChart.symm z) := by |
| 1419 | unfold LinearWaveBounds.WaveCoefficients.normal |
| 1420 | rw [hphase] |
| 1421 | exact particular_native_normal l n hm |
| 1422 | apply particular_smooth_of_positive_or_zero |
| 1423 | · have hN := (CurlClassBounds.phaseNormal_contDiffOn (positive_geometry (l.2,l.1) n) |
| 1424 | (positive_phase (l.2,l.1) n)).comp |
| 1425 | ActualWaveRegularity.particularChart.symm.contDiff.contDiffOn (fun _ hx => hx) |
| 1426 | apply CurlClassBounds.normalCoefficient_contDiffOn |
| 1427 | (hN.congr (fun z hm => he z hm)) |
| 1428 | (((particular_full_regular_of_class ha hz n).1).mono (fun _ hx => hx.1)) |
| 1429 | intro z hm |
| 1430 | rw [he z hm] |
| 1431 | exact ActualPrimaryCoherence.piece_normal_ne ActualPrimary.standardRegion l.1 l.2 n hm.2 |
| 1432 | · intro z hm hr |
| 1433 | have ho : radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 1434 | Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1435 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) := by |
| 1436 | intro hi |
| 1437 | exact (not_lt_of_ge (radius_nonpos hm hr)) |
| 1438 | ((PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal).trans_le hi.1) |
| 1439 | filter_upwards [particular_zero_germ _ hz n hm ho] with y hy |
| 1440 | simp only [particularNormal, CurlClassBounds.coefficient, hy, |
| 1441 | PeriodizedWaveBounds.normalCoefficient_zero] |
| 1442 | |
| 1443 | include hz in |
| 1444 | theorem particular_corrected_zero_germ (n : ℕ) {z : ActualWaveRegularity.ParticularSpace} |
| 1445 | (hm : z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) |
| 1446 | (ho : radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 1447 | Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1448 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : |
| 1449 | ((particularCopies l c u b G A j).commonCorrected particularFullStrip |
| 1450 | (ActualParticularStageControls.canonicalParameters l).directions).amplitude n =ᶠ[𝓝 z] fun _ => 0 := by |
| 1451 | have hh := ParticularWaveAssembly.realizedCoefficient_germ (particular_zero_germ _ hz n hm ho) |
| 1452 | ((particularCopies l c u b G A j).background.frequency n) |
| 1453 | ((particularCopies l c u b G A j).background.radius n) |
| 1454 | ((ActualParticularStageControls.canonicalParameters l).directions.radialField n) |
| 1455 | (fun _ => (ActualParticularStageControls.canonicalParameters l).directions.angular) |
| 1456 | ((ActualParticularStageControls.canonicalParameters l).directions.axialField particularFullStrip n) |
| 1457 | ((particularCopies l c u b G A j).background.phase n) |
| 1458 | simp only [PeriodizedWaveBounds.realizedCoefficient_zero] at hh ⊢ |
| 1459 | exact hh |
| 1460 | |
| 1461 | include hphase ha hz in |
| 1462 | theorem particular_corrected_smooth (n : ℕ) : |
| 1463 | ContDiffOn ℝ ∞ |
| 1464 | (((particularCopies l c u b G A j).commonCorrected particularFullStrip |
| 1465 | (ActualParticularStageControls.canonicalParameters l).directions).amplitude n) |
| 1466 | (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) := by |
| 1467 | apply particular_smooth_of_positive_or_zero |
| 1468 | · have hgeom := particular_geometry_smooth l n |
| 1469 | have hc := CurlClassBounds.cylindricalCurl_contDiffOn particularPositive_open |
| 1470 | (hgeom.1.inv hgeom.2.1) hgeom.2.2.1 hgeom.2.2.2.1 hgeom.2.2.2.2 |
| 1471 | ((particular_normal_smooth l c u b G A j hphase ha hz n).mono (fun _ hx => hx.1)) |
| 1472 | exact ((particular_full_regular_of_class ha hz n).1.mono (fun _ hx => hx.1)).add |
| 1473 | ((hc.const_smul Complex.I).const_smul (1 / (particularCopies l c u b G A j).background.frequency n)) |
| 1474 | · intro z hm hr |
| 1475 | apply particular_corrected_zero_germ l c u b G A j hz n hm |
| 1476 | intro hi |
| 1477 | exact (not_lt_of_ge (radius_nonpos hm hr)) |
| 1478 | ((PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal).trans_le hi.1) |
| 1479 | |
| 1480 | include hphase in |
| 1481 | theorem particular_phase_smooth (n : ℕ) : |
| 1482 | ContDiffOn ℝ ∞ ((particularCopies l c u b G A j).background.phase n) particularPositive := by |
| 1483 | rw [hphase] |
| 1484 | exact (positive_phase (l.2,l.1) n).comp ActualWaveRegularity.particularChart.symm.contDiff.contDiffOn |
| 1485 | (fun _ hx => hx) |
| 1486 | |
| 1487 | include hphase ha hz in |
| 1488 | theorem particular_mode_smooth : |
| 1489 | WaveStateRegularity.AngularSmooth |
| 1490 | (PhysicalMeanDomain.slowDomain ActualPrimary.standardRegion.carrier) |
| 1491 | (ActualWaveRegularity.modeOscillation (particularCopies l c u b G A j) particularFullStrip |
| 1492 | (ActualParticularStageControls.canonicalParameters l).directions ActualWaveRegularity.particularChart) := by |
| 1493 | intro n i |
| 1494 | have hs : ContDiffOn ℝ ∞ (fun z => (vectorMode |
| 1495 | ((particularCopies l c u b G A j).background.frequency n) |
| 1496 | ((particularCopies l c u b G A j).background.phase n) |
| 1497 | (((particularCopies l c u b G A j).commonCorrected particularFullStrip |
| 1498 | (ActualParticularStageControls.canonicalParameters l).directions).amplitude n) z i).re) |
| 1499 | (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) := by |
| 1500 | apply particular_smooth_of_positive_or_zero |
| 1501 | · exact Complex.reCLM.contDiff.comp_contDiffOn |
| 1502 | (HarmonicCalculus.contDiffOn_mode _ (particular_phase_smooth l c u b G A j hphase n) |
| 1503 | (((contDiffOn_pi.mp (particular_corrected_smooth l c u b G A j hphase ha hz n)) i).mono |
| 1504 | (fun _ hx => hx.1))) |
| 1505 | · intro z hm hr |
| 1506 | have ho : radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 1507 | Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1508 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) := by |
| 1509 | intro hi |
| 1510 | exact (not_lt_of_ge (radius_nonpos hm hr)) |
| 1511 | ((PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal).trans_le hi.1) |
| 1512 | filter_upwards [particular_corrected_zero_germ l c u b G A j hz n hm ho] with y hy |
| 1513 | simp only [vectorMode, HarmonicCalculus.mode, hy, Pi.zero_apply, zero_mul] |
| 1514 | rfl |
| 1515 | exact hs.comp ActualWaveRegularity.particularChart.contDiff.contDiffOn |
| 1516 | (fun x hx => by simp only [ActualWaveRegularity.nativeDomain, mem_preimage, |
| 1517 | LinearIsometryEquiv.symm_apply_apply]; exact hx) |
| 1518 | |
| 1519 | include hz in |
| 1520 | theorem particular_mode_support : |
| 1521 | WaveStateRegularity.WaveSupport ActualPrimary.standardRegion |
| 1522 | (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1523 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) |
| 1524 | (ActualWaveRegularity.modeOscillation (particularCopies l c u b G A j) particularFullStrip |
| 1525 | (ActualParticularStageControls.canonicalParameters l).directions ActualWaveRegularity.particularChart) := by |
| 1526 | intro n θ i x hx hn |
| 1527 | by_contra hout |
| 1528 | have hq := VariableGaugeMean.qLength_pos ActualPrimary.standardRegion.coord_pos |
| 1529 | ActualPrimary.standardRegion.coord_lt_one (ActualPrimary.standardRegion.time_pos _ hx) |
| 1530 | have hr : radius (ActualWaveRegularity.particularChart.symm (ActualWaveRegularity.particularChart (x, θ))) ∉ |
| 1531 | Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1532 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) := by |
| 1533 | rw [LinearIsometryEquiv.symm_apply_apply] |
| 1534 | intro h |
| 1535 | exact hout ⟨by simpa only [mul_comm] using (le_div_iff₀ hq).mp h.1, |
| 1536 | by simpa only [mul_comm] using (div_le_iff₀ hq).mp h.2⟩ |
| 1537 | have hm : ActualWaveRegularity.particularChart (x,θ) ∈ |
| 1538 | ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion := by |
| 1539 | simpa only [ActualWaveRegularity.nativeDomain, mem_preimage, |
| 1540 | LinearIsometryEquiv.symm_apply_apply] using (show (x,θ) ∈ |
| 1541 | ActualWaveRegularity.fullDomain ActualPrimary.standardRegion from ⟨hx, mem_univ _⟩) |
| 1542 | have he := (particular_corrected_zero_germ l c u b G A j hz n hm hr).eq_of_nhds |
| 1543 | apply hn |
| 1544 | simp only [ActualWaveRegularity.modeOscillation, vectorMode, HarmonicCalculus.mode, |
| 1545 | he, Pi.zero_apply, zero_mul] |
| 1546 | rfl |
| 1547 | |
| 1548 | include hphase in |
| 1549 | theorem particular_mode_pressure_smooth {β : ℝ} |
| 1550 | (hp : MemClass particularFullStrip (fun _ z => Real.sqrt (particularFullStrip.zeta z)) β |
| 1551 | (particularCopies l c u b G A j).common.pressure) |
| 1552 | (hzp : ∀ n z, z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1553 | ActualPrimary.standardRegion → |
| 1554 | radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 1555 | Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1556 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → |
| 1557 | (particularCopies l c u b G A j).common.pressure n z = 0) (n : ℕ) : |
| 1558 | ContDiffOn ℝ ∞ (fun x => (HarmonicCalculus.mode |
| 1559 | ((particularCopies l c u b G A j).background.frequency n) |
| 1560 | ((particularCopies l c u b G A j).background.phase n) |
| 1561 | ((particularCopies l c u b G A j).common.pressure n) (ActualWaveRegularity.particularChart x)).re) |
| 1562 | (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) := by |
| 1563 | have hs : ContDiffOn ℝ ∞ (fun z => (HarmonicCalculus.mode |
| 1564 | ((particularCopies l c u b G A j).background.frequency n) |
| 1565 | ((particularCopies l c u b G A j).background.phase n) |
| 1566 | ((particularCopies l c u b G A j).common.pressure n) z).re) |
| 1567 | (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) := by |
| 1568 | apply particular_smooth_of_positive_or_zero |
| 1569 | · exact Complex.reCLM.contDiff.comp_contDiffOn |
| 1570 | (HarmonicCalculus.contDiffOn_mode _ (particular_phase_smooth l c u b G A j hphase n) |
| 1571 | ((particular_full_regular_of_class hp hzp n).1.mono (fun _ hx => hx.1))) |
| 1572 | · intro z hm hr |
| 1573 | have ho : radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 1574 | Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1575 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) := by |
| 1576 | intro hi |
| 1577 | exact (not_lt_of_ge (radius_nonpos hm hr)) |
| 1578 | ((PrimaryTargetBounds.leftRadius_pos ActualPrimary.nominal).trans_le hi.1) |
| 1579 | filter_upwards [particular_zero_germ _ hzp n hm ho] with y hy |
| 1580 | simp only [HarmonicCalculus.mode, hy, zero_mul] |
| 1581 | rfl |
| 1582 | exact hs.comp ActualWaveRegularity.particularChart.contDiff.contDiffOn |
| 1583 | (fun x hx => by simp only [ActualWaveRegularity.nativeDomain, mem_preimage, |
| 1584 | LinearIsometryEquiv.symm_apply_apply]; exact hx) |
| 1585 | |
| 1586 | theorem particular_deck_point (z : ActualWaveRegularity.ParticularSpace) (m : Frequency) : |
| 1587 | z + ActualWaveRegularity.particularChart (ActualWaveRegularity.deckShift m) = |
| 1588 | (z.1, z.2 + TorusAverages.latticePoint m) := by |
| 1589 | change ((z.1.1 + 0, z.1.2 + 0), z.2 + TorusAverages.latticePoint m) = _ |
| 1590 | simp only [add_zero] |
| 1591 | |
| 1592 | include hphase in |
| 1593 | theorem particular_mode_periodic |
| 1594 | (hsource : ∀ n z, z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1595 | ActualPrimary.standardRegion → |
| 1596 | CommonCoverSolve.PeriodicAt ((particularCopies l c u b G A j).source n) z.1) |
| 1597 | (hzero : ∀ n, ¬Ordered (l.2,l.1) n → ∀ z, |
| 1598 | z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion → |
| 1599 | (particularCopies l c u b G A j).common.amplitude n =ᶠ[𝓝 z] fun _ => 0) : |
| 1600 | CorrectionStep.OscillationPeriodic ActualPrimary.standardRegion.carrier |
| 1601 | (ActualWaveRegularity.modeOscillation (particularCopies l c u b G A j) particularFullStrip |
| 1602 | (ActualParticularStageControls.canonicalParameters l).directions ActualWaveRegularity.particularChart) := by |
| 1603 | intro n R t ht θ Y m |
| 1604 | let x : FullPoint := ((R,(t,Y)),θ) |
| 1605 | let z := ActualWaveRegularity.particularChart x |
| 1606 | have hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion := ⟨ht, mem_univ _⟩ |
| 1607 | have hz0 : z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion := by |
| 1608 | simpa only [z, ActualWaveRegularity.nativeDomain, mem_preimage, |
| 1609 | LinearIsometryEquiv.symm_apply_apply] using hx |
| 1610 | have he : ActualWaveRegularity.particularChart ((R,(t,Y + ((m.1:ℝ),(m.2:ℝ)))),θ) = |
| 1611 | z + ActualWaveRegularity.particularChart (ActualWaveRegularity.deckShift m) := by |
| 1612 | rw [← map_add] |
| 1613 | congr 1 |
| 1614 | simp only [x, ActualWaveRegularity.deckShift, Prod.add_def, add_zero] |
| 1615 | by_cases hn : Ordered (l.2,l.1) n |
| 1616 | · have hR : ActualWaveRegularity.TranslationOn |
| 1617 | (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) |
| 1618 | (ActualWaveRegularity.particularChart (ActualWaveRegularity.deckShift m)) |
| 1619 | ((particularCopies l c u b G A j).background.radius n) := by |
| 1620 | intro v _ |
| 1621 | change v.1.1.1 + 0 = v.1.1.1 |
| 1622 | exact add_zero _ |
| 1623 | have hr : ActualWaveRegularity.TranslationOn |
| 1624 | (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) |
| 1625 | (ActualWaveRegularity.particularChart (ActualWaveRegularity.deckShift m)) |
| 1626 | ((ActualParticularStageControls.canonicalParameters l).directions.radialField n) := by |
| 1627 | intro v _ |
| 1628 | have hh := congrArg ActualWaveRegularity.particularChart |
| 1629 | (radial_deck (l.2,l.1) n m (ActualWaveRegularity.particularChart.symm v) (mem_univ _)) |
| 1630 | simp only [ActualParticularStageControls.canonicalParameters, ActualParticularStageControls.directions, |
| 1631 | ParticularWaveBounds.reindex_radialField, ParticularWaveBounds.reindexVector, |
| 1632 | nativeToFull_eq, map_add, LinearIsometryEquiv.symm_symm, |
| 1633 | LinearIsometryEquiv.symm_apply_apply] at hh ⊢ |
| 1634 | exact hh |
| 1635 | have hp : ActualWaveRegularity.TranslationOn |
| 1636 | (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) |
| 1637 | (ActualWaveRegularity.particularChart (ActualWaveRegularity.deckShift m)) |
| 1638 | ((particularCopies l c u b G A j).background.phase n) := by |
| 1639 | intro v _ |
| 1640 | rw [hphase] |
| 1641 | change (ActualPrimary.chartCoefficients l.1 l.2).phase n |
| 1642 | (ActualWaveRegularity.particularChart.symm (v + ActualWaveRegularity.particularChart |
| 1643 | (ActualWaveRegularity.deckShift m))) = _ |
| 1644 | rw [map_add, LinearIsometryEquiv.symm_apply_apply] |
| 1645 | exact phase_deck (l.2,l.1) n hn m (ActualWaveRegularity.particularChart.symm v) (mem_univ _) |
| 1646 | have ha0 := ActualWaveRegularity.common_amplitude_translation |
| 1647 | (particularCopies l c u b G A j) n |
| 1648 | (Equiv.addRight (coverIndex ((ActualParticularStageControls.canonicalParameters l).geometry n).gap m)) |
| 1649 | (Ω := ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) |
| 1650 | (z := ActualWaveRegularity.particularChart (ActualWaveRegularity.deckShift m)) |
| 1651 | (fun k v _ => by |
| 1652 | rw [particular_deck_point] |
| 1653 | change (ActualParticularStageControls.canonicalParameters l).cutoff n |
| 1654 | (((ActualParticularStageControls.canonicalParameters l).geometry n).coordinates |
| 1655 | (k + coverIndex ((ActualParticularStageControls.canonicalParameters l).geometry n).gap m) |
| 1656 | (v.2 + TorusAverages.latticePoint m)) = _ |
| 1657 | rw [Geometry.coordinates_deck] |
| 1658 | rfl) |
| 1659 | (fun k v hv => by |
| 1660 | rw [particular_deck_point] |
| 1661 | exact ParticularWaveBounds.complexCopyVelocity_deck |
| 1662 | (ParticularWaveAssembly.angleTangent ((ActualParticularStageControls.canonicalParameters l).tangent j n)) |
| 1663 | ((particularCopies l c u b G A j).source n) |
| 1664 | ((ActualParticularStageControls.canonicalParameters l).geometry n) |
| 1665 | ((ActualParticularStageControls.canonicalParameters l).length_pos n).le |
| 1666 | k m v.1 (hsource n v hv) v.2) |
| 1667 | have hv := ActualWaveRegularity.common_velocity_translation (particularCopies l c u b G A j) |
| 1668 | particularFullStrip (ActualParticularStageControls.canonicalParameters l).directions |
| 1669 | (ActualWaveRegularity.nativeDomain_open ActualWaveRegularity.particularChart ActualPrimary.standardRegion) |
| 1670 | n hR hr hp ha0 z hz0 |
| 1671 | funext i |
| 1672 | change (vectorMode _ _ _ (ActualWaveRegularity.particularChart |
| 1673 | ((R,(t,Y + ((m.1:ℝ),(m.2:ℝ)))),θ)) i).re = _ |
| 1674 | rw [he, hv] |
| 1675 | rfl |
| 1676 | · have hz1 : z + ActualWaveRegularity.particularChart (ActualWaveRegularity.deckShift m) ∈ |
| 1677 | ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion := by |
| 1678 | rw [← he] |
| 1679 | simpa only [ActualWaveRegularity.nativeDomain, mem_preimage, |
| 1680 | LinearIsometryEquiv.symm_apply_apply] using |
| 1681 | (show ((R,(t,Y + ((m.1:ℝ),(m.2:ℝ)))),θ) ∈ |
| 1682 | ActualWaveRegularity.fullDomain ActualPrimary.standardRegion from ⟨ht, mem_univ _⟩) |
| 1683 | have hvzero (v) (hv : v ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1684 | ActualPrimary.standardRegion) : |
| 1685 | ((particularCopies l c u b G A j).commonCorrected particularFullStrip |
| 1686 | (ActualParticularStageControls.canonicalParameters l).directions).amplitude n v = 0 := by |
| 1687 | have hh := ParticularWaveAssembly.realizedCoefficient_germ (hzero n hn v hv) |
| 1688 | ((particularCopies l c u b G A j).background.frequency n) |
| 1689 | ((particularCopies l c u b G A j).background.radius n) |
| 1690 | ((ActualParticularStageControls.canonicalParameters l).directions.radialField n) |
| 1691 | (fun _ => (ActualParticularStageControls.canonicalParameters l).directions.angular) |
| 1692 | ((ActualParticularStageControls.canonicalParameters l).directions.axialField particularFullStrip n) |
| 1693 | ((particularCopies l c u b G A j).background.phase n) |
| 1694 | have he := hh.eq_of_nhds |
| 1695 | simp only [PeriodizedWaveBounds.realizedCoefficient_zero] at he |
| 1696 | exact he |
| 1697 | have h0 := hvzero z hz0 |
| 1698 | have h1 := hvzero _ hz1 |
| 1699 | funext i |
| 1700 | change (vectorMode _ _ _ (ActualWaveRegularity.particularChart |
| 1701 | ((R,(t,Y + ((m.1:ℝ),(m.2:ℝ)))),θ)) i).re = (vectorMode _ _ _ z i).re |
| 1702 | simp only [he, vectorMode, HarmonicCalculus.mode, h0, h1, Pi.zero_apply, zero_mul] |
| 1703 | |
| 1704 | end ParticularCoefficients |
| 1705 | |
| 1706 | /-! Closed support and actual source continuity, unlike an interior norm |
| 1707 | bound alone, determine the literal values on the radial faces. -/ |
| 1708 | |
| 1709 | theorem zero_on_radial_faces {E : Type} [NormedAddCommGroup E] {f : FullPoint → E} |
| 1710 | (hf : ContinuousOn f (ActualWaveRegularity.fullDomain ActualPrimary.standardRegion)) |
| 1711 | (hz : ∀ x, x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion → |
| 1712 | radius x ∉ Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1713 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → f x = 0) |
| 1714 | {x : FullPoint} (hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) |
| 1715 | (ho : radius x ∉ Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1716 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : f x = 0 := by |
| 1717 | let ell := VariableGaugeMean.qLength (2 * ActualPrimary.h) x.1.2.1 |
| 1718 | have hell : 0 < ell := VariableGaugeMean.qLength_pos ActualPrimary.standardRegion.coord_pos |
| 1719 | ActualPrimary.standardRegion.coord_lt_one (ActualPrimary.standardRegion.time_pos _ hx.1) |
| 1720 | let line : ℝ → FullPoint := fun r => ((r,x.1.2),x.2) |
| 1721 | have hl : Continuous line := (continuous_id.prodMk continuous_const).prodMk continuous_const |
| 1722 | have hg : Continuous (f ∘ line) := hf.comp_continuous hl (fun _ => hx) |
| 1723 | have hlo : Set.EqOn (f ∘ line) (fun _ => 0) |
| 1724 | (Iio (ell * PrimaryTargetBounds.leftRadius ActualPrimary.nominal)) := by |
| 1725 | intro r hr |
| 1726 | apply hz (line r) hx |
| 1727 | intro hm |
| 1728 | have hR : ell * PrimaryTargetBounds.leftRadius ActualPrimary.nominal ≤ r := by |
| 1729 | simpa only [mul_comm, Set.mem_Ici] using (le_div_iff₀ hell).mp hm.1 |
| 1730 | exact (not_lt_of_ge hR) hr |
| 1731 | have hhi : Set.EqOn (f ∘ line) (fun _ => 0) |
| 1732 | (Ioi (ell * PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) := by |
| 1733 | intro r hr |
| 1734 | apply hz (line r) hx |
| 1735 | intro hm |
| 1736 | have hR : r ≤ ell * PrimaryTargetBounds.rightRadius ActualPrimary.nominal := by |
| 1737 | simpa only [mul_comm, Set.mem_Iic] using (div_le_iff₀ hell).mp hm.2 |
| 1738 | exact (not_lt_of_ge hR) hr |
| 1739 | change (f ∘ line) x.1.1 = 0 |
| 1740 | rcases not_and_or.mp ho with hleft | hright |
| 1741 | · apply hlo.closure hg continuous_const |
| 1742 | rw [closure_Iio] |
| 1743 | simpa only [mul_comm, Set.mem_Iic] using (div_le_iff₀ hell).mp (le_of_not_gt hleft) |
| 1744 | · apply hhi.closure hg continuous_const |
| 1745 | rw [closure_Ioi] |
| 1746 | simpa only [mul_comm, Set.mem_Ici] using (le_div_iff₀ hell).mp (le_of_not_gt hright) |
| 1747 | |
| 1748 | theorem particular_zero_on_radial_faces {E : Type} [NormedAddCommGroup E] |
| 1749 | {f : ActualWaveRegularity.ParticularSpace → E} |
| 1750 | (hf : ContinuousOn f (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1751 | ActualPrimary.standardRegion)) |
| 1752 | (hz : ∀ z, z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1753 | ActualPrimary.standardRegion → |
| 1754 | radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 1755 | Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1756 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) → f z = 0) |
| 1757 | {z : ActualWaveRegularity.ParticularSpace} |
| 1758 | (hm : z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion) |
| 1759 | (ho : radius (ActualWaveRegularity.particularChart.symm z) ∉ |
| 1760 | Ioo (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 1761 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal)) : f z = 0 := by |
| 1762 | have hh := zero_on_radial_faces |
| 1763 | (hf.comp ActualWaveRegularity.particularChart.continuous.continuousOn |
| 1764 | (fun x hx => by simpa only [ActualWaveRegularity.nativeDomain, mem_preimage, |
| 1765 | LinearIsometryEquiv.symm_apply_apply] using hx)) |
| 1766 | (fun x hx hout => hz (ActualWaveRegularity.particularChart x) |
| 1767 | (by simpa only [ActualWaveRegularity.nativeDomain, mem_preimage, |
| 1768 | LinearIsometryEquiv.symm_apply_apply] using hx) |
| 1769 | (by simpa only [LinearIsometryEquiv.symm_apply_apply] using hout)) hm ho |
| 1770 | simpa only [Function.comp_def, LinearIsometryEquiv.apply_symm_apply] using hh |
| 1771 | |
| 1772 | section CoefficientDeck |
| 1773 | |
| 1774 | variable {D I : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 1775 | |
| 1776 | omit [NormedSpace ℝ D] in |
| 1777 | theorem common_pressure_translation (a : PeriodizedWaveBounds.CopyData D I) |
| 1778 | {Ω : Set D} {v : D} (n : ℕ) (e : I ≃ I) |
| 1779 | (hcut : ∀ i x, x ∈ Ω → a.cutoff n (e i) (x + v) = a.cutoff n i x) |
| 1780 | (hp : ∀ i x, x ∈ Ω → a.pressure n (e i) (x + v) = a.pressure n i x) : |
| 1781 | ActualWaveRegularity.TranslationOn Ω v (a.common.pressure n) := by |
| 1782 | intro x hx |
| 1783 | change (∑' i, (a.cutoff n i (x+v) : ℂ) * a.pressure n i (x+v)) = |
| 1784 | ∑' i, (a.cutoff n i x : ℂ) * a.pressure n i x |
| 1785 | rw [← e.tsum_eq] |
| 1786 | exact tsum_congr (fun i => by rw [hcut i x hx, hp i x hx]) |
| 1787 | |
| 1788 | theorem common_gaussian_translation (a : PeriodizedWaveBounds.CopyData D I) |
| 1789 | (d : LinearWaveBounds.GraphDirections D) {Ω : Set D} {v : D} (hΩ : IsOpen Ω) |
| 1790 | (n : ℕ) (e : I ≃ I) |
| 1791 | (hcut : ∀ i x, x ∈ Ω → a.cutoff n (e i) (x + v) = a.cutoff n i x) |
| 1792 | (ha : ∀ i x, x ∈ Ω → a.amplitude n (e i) (x + v) = a.amplitude n i x) |
| 1793 | (hf : ActualWaveRegularity.TranslationOn Ω v (a.source n)) : |
| 1794 | ActualWaveRegularity.TranslationOn Ω v (a.globalGaussian d n) := by |
| 1795 | have hd (i : I) (x : D) (hx : x ∈ Ω) : |
| 1796 | fderiv ℝ (a.cutoff n (e i)) (x+v) = fderiv ℝ (a.cutoff n i) x := by |
| 1797 | have he : (fun y => a.cutoff n (e i) (y+v)) =ᶠ[𝓝 x] a.cutoff n i := by |
| 1798 | filter_upwards [hΩ.mem_nhds hx] with y hy |
| 1799 | exact hcut i y hy |
| 1800 | simpa only [fderiv_comp_add_right] using he.fderiv_eq (𝕜 := ℝ) |
| 1801 | intro x hx |
| 1802 | have hc : a.cutoffSum n (x+v) = a.cutoffSum n x := by |
| 1803 | change (∑' i, a.cutoff n i (x+v)) = ∑' i, a.cutoff n i x |
| 1804 | rw [← e.tsum_eq] |
| 1805 | exact tsum_congr (fun i => hcut i x hx) |
| 1806 | have ht : a.globalTail d n (x+v) = a.globalTail d n x := by |
| 1807 | change (∑' i, a.localTail d n i (x+v)) = ∑' i, a.localTail d n i x |
| 1808 | rw [← e.tsum_eq] |
| 1809 | apply tsum_congr |
| 1810 | intro i |
| 1811 | simp only [PeriodizedWaveBounds.CopyData.localTail, LinearWaveBounds.GraphDirections.Dfast, |
| 1812 | HarmonicCalculus.along, LinearWaveBounds.GraphDirections.fastField, hd i x hx, ha i x hx] |
| 1813 | simp only [PeriodizedWaveBounds.CopyData.globalGaussian, ht, hc, hf x hx] |
| 1814 | |
| 1815 | end CoefficientDeck |
| 1816 | |
| 1817 | theorem signed_pressure_deck (l : Index B N0) (s : StripData Point) |
| 1818 | (request : ℕ → FullPoint → SignedWaveUpdate.Vec2) (n : ℕ) (hn : Ordered l n) |
| 1819 | (k m : Frequency) (x : FullPoint) |
| 1820 | (hrequest : request n (x + ActualWaveRegularity.deckShift m) = request n x) : |
| 1821 | ((ActualSignedStageControls.parameters l).copyData s request).pressure n |
| 1822 | (deckPermutation l n m k) (x + ActualWaveRegularity.deckShift m) = |
| 1823 | ((ActualSignedStageControls.parameters l).copyData s request).pressure n k x := by |
| 1824 | have hN := ActualWaveRegularity.phaseNormal_translation isOpen_univ |
| 1825 | (radius_deck l n m) (radial_deck l n m) |
| 1826 | (ActualWaveRegularity.TranslationOn.const (ActualSignedStageControls.parameters l).directions.angular) |
| 1827 | (ActualWaveRegularity.TranslationOn.const |
| 1828 | ((HarmonicWaveInteraction.productStrip s).epsilon n • (ActualSignedStageControls.parameters l).directions.axial)) |
| 1829 | (phase_deck l n hn m) x (mem_univ _) |
| 1830 | change (ActualSignedStageControls.parameters l).base.normal (HarmonicWaveInteraction.productStrip s) |
| 1831 | (ActualSignedStageControls.parameters l).directions n (x + ActualWaveRegularity.deckShift m) = |
| 1832 | (ActualSignedStageControls.parameters l).base.normal (HarmonicWaveInteraction.productStrip s) |
| 1833 | (ActualSignedStageControls.parameters l).directions n x at hN |
| 1834 | simp only [CorrectionStep.PeriodizedSignedParameters.copyData, CorrectionStep.PeriodizedSignedParameters.native, |
| 1835 | CorrectionStep.SignedParameters.coefficients, SignedWaveUpdate.coefficients, |
| 1836 | SignedWaveUpdate.homogeneousCoefficients, ParticularWaveBounds.projectedPressure] |
| 1837 | rw [hN] |
| 1838 | simp only [ActualSignedStageControls.parameters, SignedWaveUpdate.signedVector, |
| 1839 | SignedWaveUpdate.signedScalar, ActualSignedStageControls.matrix, ActualSignedStageControls.target, |
| 1840 | ActualSignedStageControls.mask, ActualSignedStageControls.fundamental, |
| 1841 | ActualSignedStageControls.normalMotion, ActualSignedStageControls.action, |
| 1842 | nativePoint_deck l n hn, hrequest] |
| 1843 | |
| 1844 | /-- Coefficient periods for the actual signed wave, before angular or |
| 1845 | finite-label assembly. -/ |
| 1846 | theorem signed_coefficient_translations (l : Index B N0) (P : SignedStressPrimitive.Patch) |
| 1847 | (coord : ℝ) (c : CorrectionState.Context Point) (u : CorrectionState.State Point) |
| 1848 | (n : ℕ) (hn : Ordered l n) (m : Frequency) : |
| 1849 | let a := signedCopies l (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u) |
| 1850 | let Ω := ActualWaveRegularity.fullDomain ActualPrimary.standardRegion |
| 1851 | ActualWaveRegularity.TranslationOn Ω (ActualWaveRegularity.deckShift m) (a.common.amplitude n) ∧ |
| 1852 | ActualWaveRegularity.TranslationOn Ω (ActualWaveRegularity.deckShift m) |
| 1853 | ((a.commonCorrected ActualSignedStageControls.fullStrip (ActualSignedStageControls.parameters l).directions).amplitude n) ∧ |
| 1854 | ActualWaveRegularity.TranslationOn Ω (ActualWaveRegularity.deckShift m) (a.common.pressure n) ∧ |
| 1855 | ActualWaveRegularity.TranslationOn Ω (ActualWaveRegularity.deckShift m) |
| 1856 | (a.globalGaussian (ActualSignedStageControls.parameters l).directions n) := by |
| 1857 | dsimp only |
| 1858 | let a := signedCopies l (LocalSignedRequest.fullRequest ActualPrimaryBounds.strip P coord c u) |
| 1859 | have hcut i x (_hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) := |
| 1860 | cutoff_deck l n hn i m x |
| 1861 | have hamp i x (_hx : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion) := |
| 1862 | signed_request_amplitude_deck l ActualPrimaryBounds.strip P coord c u n hn i m x |
| 1863 | have hr := ActualWaveRegularity.common_amplitude_translation a n (deckPermutation l n m) hcut hamp |
| 1864 | refine ⟨hr, ActualWaveRegularity.commonCorrected_translation a ActualSignedStageControls.fullStrip |
| 1865 | (ActualSignedStageControls.parameters l).directions |
| 1866 | (ActualWaveRegularity.fullDomain_open ActualPrimary.standardRegion) n |
| 1867 | (fun x _ => radius_deck l n m x (mem_univ _)) |
| 1868 | (fun x _ => radial_deck l n m x (mem_univ _)) |
| 1869 | (fun x _ => phase_deck l n hn m x (mem_univ _)) hr, ?_, ?_⟩ |
| 1870 | · exact common_pressure_translation a n (deckPermutation l n m) hcut |
| 1871 | (fun i x _ => signed_pressure_deck l ActualPrimaryBounds.strip _ n hn i m x |
| 1872 | (fullRequest_deck ActualPrimaryBounds.strip P coord c u n m x)) |
| 1873 | · exact common_gaussian_translation a (ActualSignedStageControls.parameters l).directions |
| 1874 | (ActualWaveRegularity.fullDomain_open ActualPrimary.standardRegion) n (deckPermutation l n m) |
| 1875 | hcut hamp (fun _ _ => rfl) |
| 1876 | |
| 1877 | /-- The source callback is a per-label, complete-fiber statement. It is not |
| 1878 | replaced by periodicity of the total real oscillation. -/ |
| 1879 | theorem particular_coefficient_translations (l : ActualParticularStageControls.Label B N0) |
| 1880 | (c : CorrectionState.Context (CorrectionStep.CycleSlow × Plane)) |
| 1881 | (u : CorrectionState.State (CorrectionStep.CycleSlow × Plane)) |
| 1882 | (b : CorrectionState.HarmonicBlock (CorrectionStep.CycleSlow × Plane)) |
| 1883 | (G A : HarmonicResidual.BlockCoefficients (CorrectionStep.CycleSlow × Plane)) (j : ℤ) |
| 1884 | (hphase : (particularCopies l c u b G A j).background.phase = (ActualParticularStageControls.background l).phase) |
| 1885 | (n : ℕ) (hn : Ordered (l.2,l.1) n) (m : Frequency) |
| 1886 | (hsource : ∀ z, z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 1887 | ActualPrimary.standardRegion → CommonCoverSolve.PeriodicAt ((particularCopies l c u b G A j).source n) z.1) : |
| 1888 | let a := particularCopies l c u b G A j |
| 1889 | let Ω := ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion |
| 1890 | let v := ActualWaveRegularity.particularChart (ActualWaveRegularity.deckShift m) |
| 1891 | ActualWaveRegularity.TranslationOn Ω v (a.common.amplitude n) ∧ |
| 1892 | ActualWaveRegularity.TranslationOn Ω v |
| 1893 | ((a.commonCorrected particularFullStrip (ActualParticularStageControls.canonicalParameters l).directions).amplitude n) ∧ |
| 1894 | ActualWaveRegularity.TranslationOn Ω v (a.common.pressure n) ∧ |
| 1895 | ActualWaveRegularity.TranslationOn Ω v |
| 1896 | (a.globalGaussian (ActualParticularStageControls.canonicalParameters l).directions n) := by |
| 1897 | dsimp only |
| 1898 | let a := particularCopies l c u b G A j |
| 1899 | let p := ActualParticularStageControls.canonicalParameters l |
| 1900 | let Ω := ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart ActualPrimary.standardRegion |
| 1901 | let v := ActualWaveRegularity.particularChart (ActualWaveRegularity.deckShift m) |
| 1902 | let e := Equiv.addRight (coverIndex (p.geometry n).gap m) |
| 1903 | have hcut k z (_hz : z ∈ Ω) : a.cutoff n (e k) (z+v) = a.cutoff n k z := by |
| 1904 | rw [show z+v = (z.1,z.2+TorusAverages.latticePoint m) from particular_deck_point z m] |
| 1905 | change p.cutoff n ((p.geometry n).coordinates (k + coverIndex (p.geometry n).gap m) |
| 1906 | (z.2 + TorusAverages.latticePoint m)) = _ |
| 1907 | rw [Geometry.coordinates_deck] |
| 1908 | rfl |
| 1909 | have hamp k z (hz : z ∈ Ω) : a.amplitude n (e k) (z+v) = a.amplitude n k z := by |
| 1910 | rw [show z+v = (z.1,z.2+TorusAverages.latticePoint m) from particular_deck_point z m] |
| 1911 | exact ParticularWaveBounds.complexCopyVelocity_deck (ParticularWaveAssembly.angleTangent (p.tangent j n)) |
| 1912 | (a.source n) (p.geometry n) (p.length_pos n).le k m z.1 (hsource z hz) z.2 |
| 1913 | have hpress k z (hz : z ∈ Ω) : a.pressure n (e k) (z+v) = a.pressure n k z := by |
| 1914 | rw [show z+v = (z.1,z.2+TorusAverages.latticePoint m) from particular_deck_point z m] |
| 1915 | exact ParticularWaveBounds.complexCopyPressure_deck (ParticularWaveAssembly.angleTangent (p.tangent j n)) |
| 1916 | (a.source n) (p.geometry n) (p.length_pos n).le k m (a.background.frequency n) z.1 (hsource z hz) z.2 |
| 1917 | have hR : ActualWaveRegularity.TranslationOn Ω v (a.background.radius n) := by |
| 1918 | intro z _ |
| 1919 | change z.1.1.1 + 0 = z.1.1.1 |
| 1920 | exact add_zero _ |
| 1921 | have hrad : ActualWaveRegularity.TranslationOn Ω v (p.directions.radialField n) := by |
| 1922 | intro z _ |
| 1923 | have hh := congrArg ActualWaveRegularity.particularChart |
| 1924 | (radial_deck (l.2,l.1) n m (ActualWaveRegularity.particularChart.symm z) (mem_univ _)) |
| 1925 | simp only [p, v, ActualParticularStageControls.canonicalParameters, ActualParticularStageControls.directions, |
| 1926 | ParticularWaveBounds.reindex_radialField, ParticularWaveBounds.reindexVector, |
| 1927 | nativeToFull_eq, map_add, LinearIsometryEquiv.symm_symm, |
| 1928 | LinearIsometryEquiv.symm_apply_apply] at hh ⊢ |
| 1929 | exact hh |
| 1930 | have hΦ : ActualWaveRegularity.TranslationOn Ω v (a.background.phase n) := by |
| 1931 | intro z _ |
| 1932 | change (particularCopies l c u b G A j).background.phase n (z+v) = _ |
| 1933 | rw [hphase] |
| 1934 | change (ActualPrimary.chartCoefficients l.1 l.2).phase n |
| 1935 | (ActualWaveRegularity.particularChart.symm (z+v)) = _ |
| 1936 | rw [map_add] |
| 1937 | change (ActualPrimary.chartCoefficients l.1 l.2).phase n |
| 1938 | (ActualWaveRegularity.particularChart.symm z + ActualWaveRegularity.deckShift m) = _ |
| 1939 | exact phase_deck (l.2,l.1) n hn m (ActualWaveRegularity.particularChart.symm z) (mem_univ _) |
| 1940 | have hraw := ActualWaveRegularity.common_amplitude_translation a n e hcut hamp |
| 1941 | refine ⟨hraw, ActualWaveRegularity.commonCorrected_translation a particularFullStrip p.directions |
| 1942 | (ActualWaveRegularity.nativeDomain_open ActualWaveRegularity.particularChart ActualPrimary.standardRegion) |
| 1943 | n hR hrad hΦ hraw, common_pressure_translation a n e hcut hpress, ?_⟩ |
| 1944 | apply common_gaussian_translation a p.directions |
| 1945 | (ActualWaveRegularity.nativeDomain_open ActualWaveRegularity.particularChart ActualPrimary.standardRegion) |
| 1946 | n e hcut hamp |
| 1947 | intro z hz |
| 1948 | rw [show z+v = (z.1,z.2+TorusAverages.latticePoint m) from particular_deck_point z m] |
| 1949 | exact hsource z hz z.2 m |
| 1950 | |
| 1951 | end NavierStokes.ActualWaveRegularityData |