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.ActualCycleParameters |
| 2 | import NavierStokes.ActualCarrierGeometry |
| 3 | import NavierStokes.ScalarParticularSupport |
| 4 | import NavierStokes.ActualCarrierTransport |
| 5 | import NavierStokes.ActualCoreSupport |
| 6 | import NavierStokes.ActualWaveRegularityData |
| 7 | |
| 8 | /-! |
| 9 | # The actual finite signed-wave assembly |
| 10 | |
| 11 | The selected primary slots, physical windows, and absolute auxiliary |
| 12 | coordinate are shared by the current block and both wave increments. |
| 13 | Support comes from the canonical source carrier and the actual native |
| 14 | mask/cutoff product. Quantitative wave bounds are separate inputs. |
| 15 | -/ |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | namespace NavierStokes.ActualCycleAssembly |
| 20 | |
| 21 | open Set Function Filter WeightedClasses CorrectionState CorrectionStep CorrectionInitialization |
| 22 | open scoped ContDiff Topology BigOperators |
| 23 | |
| 24 | |
| 25 | abbrev Point := ActualInitialization.Point |
| 26 | abbrev Index (B N0 : ℕ) := ActualInitialization.Index B N0 |
| 27 | |
| 28 | /-- The same label map used by the actual primary covariance. -/ |
| 29 | noncomputable def label {B N0 : ℕ} (_n : ℕ) (l : Index B N0) : SlotColoring.Label := |
| 30 | ActualPrimaryCovariance.signedLabelOf l |
| 31 | |
| 32 | theorem label_injective {B N0 : ℕ} (n : ℕ) : |
| 33 | Injective (label (B := B) (N0 := N0) n) := ActualPrimaryCovariance.signedLabelOf_injective |
| 34 | |
| 35 | theorem label_level {B N0 : ℕ} (n : ℕ) (l : Index B N0) : |
| 36 | 1 ≤ (label n l).1 := l.1.val.property.1 |
| 37 | |
| 38 | /-- Canonical carrier support gives both pieces of the actual slot/window |
| 39 | support predicate. This applies to any real oscillatory field. -/ |
| 40 | theorem supported_of_zero_outside {B N0 : ℕ} |
| 41 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (u : Index B N0 → Oscillation Point) |
| 42 | (hz : ∀ l n x, x ∈ ActualInitialization.geometry.strip.domain → x ∉ ActualInitialization.labelCarrier l n → |
| 43 | ∀ θ i, u l n (x, θ) i = 0) : |
| 44 | LabelSumBounds.SupportedOscillations ActualPrimary.slots label ActualPrimaryCovariance.physicalWindow ActualPrimaryCovariance.absoluteAuxiliary |
| 45 | ActualInitialization.geometry.strip.domain u := by |
| 46 | intro l n x hx θ i hn |
| 47 | have hc : x ∈ ActualInitialization.labelCarrier l n := by |
| 48 | by_contra hc |
| 49 | exact hn (hz l n x hx hc θ i) |
| 50 | exact ⟨ActualCarrierGeometry.labelCarrier_window hN (l.2,l.1) n hx hc, |
| 51 | ActualCarrierGeometry.labelCarrier_liftedSupport (l.2,l.1) n hc⟩ |
| 52 | |
| 53 | /-- Zero nonconstant real coefficients and an actual zero mode imply |
| 54 | zero real field; no angular cancellation is postulated. -/ |
| 55 | theorem oscillation_zero_of_inputSupport |
| 56 | (b : HarmonicBlock Point) (G A : HarmonicResidual.BlockCoefficients Point) |
| 57 | {U : Set Point} {K : ℕ → Set Point} |
| 58 | (hs : HarmonicSourceSupport.InputSupportOn U K b G A) (hzero : HarmonicWaveInteraction.ZeroMode b) |
| 59 | (n : ℕ) {x : Point} (hx : x ∈ U) (hn : x ∉ K n) (θ : ℝ) (i : Fin 3) : |
| 60 | b.oscillation n (x, θ) i = 0 := by |
| 61 | have hcoeff (j : ℤ) : HarmonicResidual.realCoefficients (b.velocity n i) j x = 0 := by |
| 62 | by_cases hj : j = 0 |
| 63 | · subst j |
| 64 | simp [HarmonicResidual.realCoefficients_apply, hzero n i] |
| 65 | · exact hs.velocity n i j hj x hx hn |
| 66 | have hfield : HarmonicFields.field (HarmonicResidual.realCoefficients (b.velocity n i)) |
| 67 | (b.frequency n) (b.phase n) (b.angularFrequency n) (x, θ) = 0 := by |
| 68 | rw [HarmonicFields.field_expansion] |
| 69 | apply Finset.sum_eq_zero |
| 70 | intro j _ |
| 71 | rw [hcoeff j, zero_mul, zero_mul] |
| 72 | rw [HarmonicResidual.field_realCoefficients] at hfield |
| 73 | exact Complex.ofReal_eq_zero.mp hfield |
| 74 | |
| 75 | theorem supported_of_inputSupport {B N0 : ℕ} |
| 76 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) (b : Index B N0 → HarmonicBlock Point) |
| 77 | (G A : Index B N0 → HarmonicResidual.BlockCoefficients Point) |
| 78 | (hs : ∀ l, HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain (ActualInitialization.labelCarrier l) (b l) (G l) (A l)) |
| 79 | (hzero : ∀ l, HarmonicWaveInteraction.ZeroMode (b l)) : |
| 80 | LabelSumBounds.SupportedOscillations ActualPrimary.slots label ActualPrimaryCovariance.physicalWindow ActualPrimaryCovariance.absoluteAuxiliary |
| 81 | ActualInitialization.geometry.strip.domain (fun l => (b l).oscillation) := by |
| 82 | apply supported_of_zero_outside hN |
| 83 | intro l n x hx hn θ i |
| 84 | exact oscillation_zero_of_inputSupport (b l) (G l) (A l) (hs l) (hzero l) |
| 85 | n (ActualInitialization.geometry.strip_subset hx) hn θ i |
| 86 | |
| 87 | theorem primary_supported {B N0 : ℕ} : |
| 88 | LabelSumBounds.SupportedOscillations ActualPrimary.slots label ActualPrimaryCovariance.physicalWindow ActualPrimaryCovariance.absoluteAuxiliary |
| 89 | ActualInitialization.geometry.strip.domain (fun l : Index B N0 => (ActualInitialization.tangentBlock l).oscillation) := by |
| 90 | intro l n x hx θ i hn |
| 91 | apply ActualPrimaryCovariance.piece_support l n x hx θ |
| 92 | apply subset_closure |
| 93 | intro hz |
| 94 | change (((ActualInitialization.primaryPiece l).coefficients.withCutoff |
| 95 | (ActualInitialization.primaryPiece l).cutoff).amplitude n (x, θ)) = 0 at hz |
| 96 | apply hn |
| 97 | change (ActualInitialization.tangentBlock l).oscillation n (x, θ) i = 0 |
| 98 | rw [ActualInitialization.tangentBlock_represents] |
| 99 | change ((HarmonicCalculus.vectorMode _ _ _ _ i).re) = 0 |
| 100 | simp only [HarmonicCalculus.vectorMode, HarmonicCalculus.mode, hz, Pi.zero_apply, |
| 101 | zero_mul, Complex.zero_re] |
| 102 | |
| 103 | section SignedSupport |
| 104 | |
| 105 | variable {B N0 : ℕ} |
| 106 | |
| 107 | /-- Nonzero values of the actual spatial mask and native cutoff locate |
| 108 | the point in the fixed closed source carrier. -/ |
| 109 | theorem signed_mask_cutoff_source (l : Index B N0) (n : ℕ) |
| 110 | (k : TorusInverse.Frequency) (x : Point × ℝ) |
| 111 | (hm : ActualSignedStageControls.mask l k n x ≠ 0) |
| 112 | (hc : ActualSignedStageControls.cutoff l k n x ≠ 0) : |
| 113 | x.1 ∈ ActualInitialization.labelCarrier l n := by |
| 114 | let z := ActualSignedStageControls.nativePoint l n k x |
| 115 | have hs := ActualPrimary.spatialMask_native_support l.1 z.1 hm |
| 116 | have ht : PartitionedCovariance.cutoff ActualPrimary.slots.radius z.2.1 ≠ 0 := by |
| 117 | intro hz |
| 118 | apply hc |
| 119 | change PartitionedCovariance.cutoff ActualPrimary.slots.radius z.2.1 * |
| 120 | ActualPrimary.gaussian l.1 z = 0 |
| 121 | rw [hz, zero_mul] |
| 122 | have hg : ActualPrimary.gaussian l.1 z ≠ 0 := by |
| 123 | intro hz |
| 124 | apply hc |
| 125 | change PartitionedCovariance.cutoff ActualPrimary.slots.radius z.2.1 * |
| 126 | ActualPrimary.gaussian l.1 z = 0 |
| 127 | rw [hz, mul_zero] |
| 128 | have htrans : z.2.1 ∈ Ioo (-ActualPrimary.slots.radius) ActualPrimary.slots.radius := by |
| 129 | rw [← PartitionedCovariance.cutoff_support ActualPrimary.slots.radius_pos] |
| 130 | exact ht |
| 131 | have hga : |z.2.2 / ((ActualPrimary.phases B N0 0).L l.1) - 1 / 2| < 1 / 3 := |
| 132 | lt_of_not_ge (fun h => hg (GaussianTailFlat.profile_zero h)) |
| 133 | have hL := (ActualPrimary.phases B N0 0).L_pos l.1 |
| 134 | have hlo : (1 / 6 : ℝ) ≤ z.2.2 / ((ActualPrimary.phases B N0 0).L l.1) := by |
| 135 | linarith [(abs_lt.mp hga).1] |
| 136 | have hhi : z.2.2 / ((ActualPrimary.phases B N0 0).L l.1) ≤ 5 / 6 := by |
| 137 | linarith [(abs_lt.mp hga).2] |
| 138 | refine ⟨k, hs, ⟨htrans.1.le, htrans.2.le⟩, ?_, ?_⟩ |
| 139 | · change ((ActualPrimary.phases B N0 0).L l.1 / 1) / 6 ≤ z.2.2 |
| 140 | simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm] using |
| 141 | (le_div_iff₀ hL).mp hlo |
| 142 | · change z.2.2 ≤ 5 * ((ActualPrimary.phases B N0 0).L l.1 / 1) / 6 |
| 143 | simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm, mul_assoc, mul_left_comm] using |
| 144 | (div_le_iff₀ hL).mp hhi |
| 145 | |
| 146 | theorem signed_mask_or_cutoff_zero (l : Index B N0) (n : ℕ) |
| 147 | (k : TorusInverse.Frequency) {x : Point × ℝ} |
| 148 | (hx : x.1 ∉ ActualInitialization.labelCarrier l n) : |
| 149 | ActualSignedStageControls.mask l k n x = 0 ∨ ActualSignedStageControls.cutoff l k n x = 0 := by |
| 150 | by_cases hm : ActualSignedStageControls.mask l k n x = 0 |
| 151 | · exact Or.inl hm |
| 152 | · right |
| 153 | by_contra hc |
| 154 | exact hx (signed_mask_cutoff_source l n k x hm hc) |
| 155 | |
| 156 | theorem signed_localized_zero (l : Index B N0) (s : StripData Point) |
| 157 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) |
| 158 | (n : ℕ) (k : TorusInverse.Frequency) {x : Point × ℝ} |
| 159 | (hx : x.1 ∉ ActualInitialization.labelCarrier l n) : |
| 160 | ((((ActualSignedStageControls.parameters l).copyData s request).localized k).amplitude n x = 0) ∧ |
| 161 | ((((ActualSignedStageControls.parameters l).copyData s request).localized k).pressure n x = 0) := by |
| 162 | rcases signed_mask_or_cutoff_zero l n k hx with hm | hc |
| 163 | · have hh := PeriodizedSignedParameters.raw_zero_of_mask |
| 164 | (p := ActualSignedStageControls.parameters l) (s := s) request n k x hm |
| 165 | constructor |
| 166 | · change ActualSignedStageControls.cutoff l k n x • |
| 167 | ((ActualSignedStageControls.parameters l).copyData s request).amplitude n k x = 0 |
| 168 | rw [hh.1, smul_zero] |
| 169 | · change (ActualSignedStageControls.cutoff l k n x : ℂ) * |
| 170 | ((ActualSignedStageControls.parameters l).copyData s request).pressure n k x = 0 |
| 171 | rw [hh.2, mul_zero] |
| 172 | · constructor |
| 173 | · change ActualSignedStageControls.cutoff l k n x • _ = 0 |
| 174 | rw [hc, zero_smul] |
| 175 | · change (ActualSignedStageControls.cutoff l k n x : ℂ) * _ = 0 |
| 176 | rw [hc, Complex.ofReal_zero, zero_mul] |
| 177 | |
| 178 | theorem signed_common_zero (l : Index B N0) (s : StripData Point) |
| 179 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) |
| 180 | (n : ℕ) {x : Point × ℝ} (hx : x.1 ∉ ActualInitialization.labelCarrier l n) : |
| 181 | ((ActualSignedStageControls.parameters l).copyData s request).common.amplitude n x = 0 ∧ |
| 182 | ((ActualSignedStageControls.parameters l).copyData s request).common.pressure n x = 0 := by |
| 183 | constructor |
| 184 | · change (∑' k, _) = 0 |
| 185 | calc |
| 186 | _ = ∑' _k : TorusInverse.Frequency, (0 : Fin 3 → ℂ) := |
| 187 | tsum_congr (fun k => (signed_localized_zero l s request n k hx).1) |
| 188 | _ = 0 := tsum_zero |
| 189 | · change (∑' k, _) = 0 |
| 190 | calc |
| 191 | _ = ∑' _k : TorusInverse.Frequency, (0 : ℂ) := |
| 192 | tsum_congr (fun k => (signed_localized_zero l s request n k hx).2) |
| 193 | _ = 0 := tsum_zero |
| 194 | |
| 195 | /-- The common tangent and the exact curl-corrected amplitude both vanish |
| 196 | as genuine ambient germs outside the same closed carrier. -/ |
| 197 | theorem signed_common_zero_germs (l : Index B N0) (s : StripData Point) |
| 198 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) |
| 199 | (n : ℕ) {x : Point × ℝ} (hx : x.1 ∉ ActualInitialization.labelCarrier l n) : |
| 200 | let a := (ActualSignedStageControls.parameters l).copyData s request |
| 201 | (a.common.amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 202 | ((a.commonCorrected (HarmonicWaveInteraction.productStrip s) |
| 203 | (ActualSignedStageControls.parameters l).directions).amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 204 | (a.common.pressure n =ᶠ[𝓝 x] fun _ => 0) := by |
| 205 | let a := (ActualSignedStageControls.parameters l).copyData s request |
| 206 | have hn : ∀ᶠ y : Point × ℝ in 𝓝 x, y.1 ∉ ActualInitialization.labelCarrier l n := |
| 207 | ((ActualInitialization.labelCarrier_closed l n).preimage continuous_fst).isOpen_compl.mem_nhds hx |
| 208 | have ha : a.common.amplitude n =ᶠ[𝓝 x] fun _ => 0 := by |
| 209 | filter_upwards [hn] with y hy |
| 210 | exact (signed_common_zero l s request n hy).1 |
| 211 | have hp : a.common.pressure n =ᶠ[𝓝 x] fun _ => 0 := by |
| 212 | filter_upwards [hn] with y hy |
| 213 | exact (signed_common_zero l s request n hy).2 |
| 214 | refine ⟨ha, ?_, hp⟩ |
| 215 | have he := ParticularWaveAssembly.realizedCoefficient_germ ha |
| 216 | (a.background.frequency n) (a.background.radius n) |
| 217 | ((ActualSignedStageControls.parameters l).directions.radialField n) |
| 218 | (fun _ => (ActualSignedStageControls.parameters l).directions.angular) |
| 219 | ((ActualSignedStageControls.parameters l).directions.axialField (HarmonicWaveInteraction.productStrip s) n) |
| 220 | (a.background.phase n) |
| 221 | simp only [PeriodizedWaveBounds.realizedCoefficient_zero] at he |
| 222 | exact he |
| 223 | |
| 224 | theorem block_inputSupport_of_zero |
| 225 | (a : LinearWaveBounds.WaveCoefficients (Point × ℝ)) (kp : ℕ → ℤ) |
| 226 | {U : Set Point} {K : ℕ → Set Point} |
| 227 | (hv : ∀ n x, x ∈ U → x ∉ K n → a.amplitude n (x, 0) = 0) |
| 228 | (hp : ∀ n x, x ∈ U → x ∉ K n → a.pressure n (x, 0) = 0) : |
| 229 | HarmonicSourceSupport.InputSupportOn U K (SignedWaveUpdate.blockOfCoefficients a kp) 0 0 := by |
| 230 | have hh := LabelSupportPreservation.blockOfCoefficients_inputSupport a kp |
| 231 | (g := fun _ _ => 0) hv hp (fun _ _ _ _ => rfl) |
| 232 | refine ⟨hh.velocity, hh.pressure, ?_, ?_⟩ |
| 233 | · intro n i j hj x hx hn |
| 234 | simp [HarmonicResidual.realCoefficients_apply] |
| 235 | · intro n i j hj x hx hn |
| 236 | simp [HarmonicResidual.realCoefficients_apply] |
| 237 | |
| 238 | theorem tangent_inputSupport (l : Index B N0) (s : StripData Point) |
| 239 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : |
| 240 | HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 241 | (ActualInitialization.labelCarrier l) |
| 242 | ((ActualSignedStageControls.parameters l).tangentBlock s request) 0 0 := by |
| 243 | apply block_inputSupport_of_zero |
| 244 | · intro n x _ hn |
| 245 | exact (signed_common_zero l s request n (x := (x, 0)) hn).1 |
| 246 | · intro n x _ hn |
| 247 | exact (signed_common_zero l s request n (x := (x, 0)) hn).2 |
| 248 | |
| 249 | theorem exact_inputSupport (l : Index B N0) (s : StripData Point) |
| 250 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : |
| 251 | HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 252 | (ActualInitialization.labelCarrier l) |
| 253 | ((ActualSignedStageControls.parameters l).exactBlock s request) 0 0 := by |
| 254 | apply block_inputSupport_of_zero |
| 255 | · intro n x _ hn |
| 256 | exact (signed_common_zero_germs l s request n (x := (x, 0)) hn).2.1.self_of_nhds |
| 257 | · intro n x _ hn |
| 258 | exact (signed_common_zero l s request n (x := (x, 0)) hn).2 |
| 259 | |
| 260 | theorem inputSupport_subBlock {U : Set Point} {K : ℕ → Set Point} |
| 261 | {a b : HarmonicBlock Point} |
| 262 | (ha : HarmonicSourceSupport.InputSupportOn U K a 0 0) |
| 263 | (hb : HarmonicSourceSupport.InputSupportOn U K b 0 0) : |
| 264 | HarmonicSourceSupport.InputSupportOn U K (LabelSumBounds.subBlock a b) 0 0 := by |
| 265 | refine ⟨?_, ?_, ha.gaussian, ha.aliasError⟩ |
| 266 | · intro n i |
| 267 | change HarmonicSourceSupport.NonzeroSupportedOn U (K n) |
| 268 | (HarmonicResidual.realCoefficients (a.velocity n i - b.velocity n i)) |
| 269 | rw [HarmonicMeanInteraction.realCoefficients_sub] |
| 270 | exact (ha.velocity n i).sub (hb.velocity n i) |
| 271 | · intro n |
| 272 | change HarmonicSourceSupport.NonzeroSupportedOn U (K n) |
| 273 | (HarmonicResidual.realCoefficients (a.pressure n - b.pressure n)) |
| 274 | rw [HarmonicMeanInteraction.realCoefficients_sub] |
| 275 | exact (ha.pressure n).sub (hb.pressure n) |
| 276 | |
| 277 | theorem curl_inputSupport (l : Index B N0) (s : StripData Point) |
| 278 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : |
| 279 | HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 280 | (ActualInitialization.labelCarrier l) |
| 281 | ((ActualSignedStageControls.parameters l).curlBlock s request) 0 0 := |
| 282 | inputSupport_subBlock (exact_inputSupport l s request) (tangent_inputSupport l s request) |
| 283 | |
| 284 | theorem tangent_zeroMode (l : Index B N0) (s : StripData Point) |
| 285 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : |
| 286 | HarmonicWaveInteraction.ZeroMode ((ActualSignedStageControls.parameters l).tangentBlock s request) := |
| 287 | (SignedWaveUpdate.coefficientBlock_zero_coefficient _ _ _ _ _).1 |
| 288 | |
| 289 | theorem curl_zeroMode (l : Index B N0) (s : StripData Point) |
| 290 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : |
| 291 | HarmonicWaveInteraction.ZeroMode ((ActualSignedStageControls.parameters l).curlBlock s request) := by |
| 292 | intro n i |
| 293 | change ((ActualSignedStageControls.parameters l).exactBlock s request).velocity n i 0 - |
| 294 | ((ActualSignedStageControls.parameters l).tangentBlock s request).velocity n i 0 = 0 |
| 295 | rw [PeriodizedSignedParameters.exactBlock_zero, tangent_zeroMode, sub_self] |
| 296 | |
| 297 | theorem tangent_supported (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 298 | (s : StripData Point) (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : |
| 299 | LabelSumBounds.SupportedOscillations ActualPrimary.slots label |
| 300 | ActualPrimaryCovariance.physicalWindow ActualPrimaryCovariance.absoluteAuxiliary |
| 301 | ActualInitialization.geometry.strip.domain |
| 302 | (fun l : Index B N0 => ((ActualSignedStageControls.parameters l).tangentBlock s request).oscillation) := |
| 303 | supported_of_inputSupport hN _ (fun _ => 0) (fun _ => 0) |
| 304 | (fun l => tangent_inputSupport l s request) (fun l => tangent_zeroMode l s request) |
| 305 | |
| 306 | theorem curl_supported (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 307 | (s : StripData Point) (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : |
| 308 | LabelSumBounds.SupportedOscillations ActualPrimary.slots label |
| 309 | ActualPrimaryCovariance.physicalWindow ActualPrimaryCovariance.absoluteAuxiliary |
| 310 | ActualInitialization.geometry.strip.domain |
| 311 | (fun l : Index B N0 => ((ActualSignedStageControls.parameters l).curlBlock s request).oscillation) := |
| 312 | supported_of_inputSupport hN _ (fun _ => 0) (fun _ => 0) |
| 313 | (fun l => curl_inputSupport l s request) (fun l => curl_zeroMode l s request) |
| 314 | |
| 315 | end SignedSupport |
| 316 | |
| 317 | section RefinedSignedSupport |
| 318 | |
| 319 | variable {B N0 : ℕ} |
| 320 | |
| 321 | theorem signed_cutoff_sourceCell (l : Index B N0) (n : ℕ) |
| 322 | (k : TorusInverse.Frequency) {x : Point × ℝ} |
| 323 | (hc : ActualSignedStageControls.cutoff l k n x ≠ 0) : |
| 324 | (ActualSignedStageControls.nativePoint l n k x).2 ∈ |
| 325 | ActualGaussianCoverage.sourceCell ActualPrimary.slots.radius |
| 326 | ((ActualPrimary.phases B N0 0).L l.1) 1 := by |
| 327 | let z := ActualSignedStageControls.nativePoint l n k x |
| 328 | have ht : PartitionedCovariance.cutoff ActualPrimary.slots.radius z.2.1 ≠ 0 := by |
| 329 | intro hz |
| 330 | exact hc (by change PartitionedCovariance.cutoff _ _ * _ = 0; rw [hz, zero_mul]) |
| 331 | have hg : ActualPrimary.gaussian l.1 z ≠ 0 := by |
| 332 | intro hz |
| 333 | exact hc (by change _ * ActualPrimary.gaussian l.1 z = 0; rw [hz, mul_zero]) |
| 334 | have htrans : z.2.1 ∈ Ioo (-ActualPrimary.slots.radius) ActualPrimary.slots.radius := by |
| 335 | rw [← PartitionedCovariance.cutoff_support ActualPrimary.slots.radius_pos] |
| 336 | exact ht |
| 337 | have hga : |z.2.2 / ((ActualPrimary.phases B N0 0).L l.1) - 1 / 2| < 1 / 3 := |
| 338 | lt_of_not_ge (fun h => hg (GaussianTailFlat.profile_zero h)) |
| 339 | have hL := (ActualPrimary.phases B N0 0).L_pos l.1 |
| 340 | have hlo : (1 / 6 : ℝ) ≤ z.2.2 / ((ActualPrimary.phases B N0 0).L l.1) := by |
| 341 | linarith [(abs_lt.mp hga).1] |
| 342 | have hhi : z.2.2 / ((ActualPrimary.phases B N0 0).L l.1) ≤ 5 / 6 := by |
| 343 | linarith [(abs_lt.mp hga).2] |
| 344 | refine ⟨⟨htrans.1.le, htrans.2.le⟩, ?_, ?_⟩ |
| 345 | · change ((ActualPrimary.phases B N0 0).L l.1 / 1) / 6 ≤ z.2.2 |
| 346 | simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm] using |
| 347 | (le_div_iff₀ hL).mp hlo |
| 348 | · change z.2.2 ≤ 5 * ((ActualPrimary.phases B N0 0).L l.1 / 1) / 6 |
| 349 | simpa only [div_eq_mul_inv, inv_one, mul_one, one_mul, mul_comm, mul_assoc, mul_left_comm] using |
| 350 | (div_le_iff₀ hL).mp hhi |
| 351 | |
| 352 | /-- Outside the broad carrier the actual cutoff or the actual slow mask |
| 353 | vanishes on a neighborhood. This also controls cutoff derivatives. -/ |
| 354 | theorem signed_cutoff_or_mask_germ (l : Index B N0) (n : ℕ) |
| 355 | (k : TorusInverse.Frequency) {x : Point × ℝ} |
| 356 | (hx : x.1 ∉ ActualInitialization.labelCarrier l n) : |
| 357 | (ActualSignedStageControls.cutoff l k n =ᶠ[𝓝 x] fun _ => 0) ∨ |
| 358 | (ActualSignedStageControls.mask l k n =ᶠ[𝓝 x] fun _ => 0) := by |
| 359 | by_cases hs : (ActualSignedStageControls.nativePoint l n k x).1 ∈ |
| 360 | ActualGaussianCoverage.actualSlowCore ActualPrimary.certificate ActualPrimary.modulation |
| 361 | (ActualPrimary.choice B N0).prepared l.1 |
| 362 | · left |
| 363 | apply PeriodizedWaveBounds.zero_germ_of_support |
| 364 | ((ActualGaussianCoverage.sourceCell_compact ActualPrimary.slots.radius |
| 365 | ((ActualPrimary.phases B N0 0).L l.1) 1).isClosed.preimage |
| 366 | (ActualSignedStageControls.nativePoint_smooth l n k).continuous.snd) |
| 367 | (fun _ hy => signed_cutoff_sourceCell l n k hy) |
| 368 | intro hz |
| 369 | exact hx ⟨k, hs, hz⟩ |
| 370 | · right |
| 371 | exact PeriodizedWaveBounds.zero_germ_of_support |
| 372 | ((ActualGaussianCoverage.actualSlowCore_closed ActualPrimary.certificate ActualPrimary.modulation |
| 373 | (ActualPrimary.choice B N0).prepared l.1).preimage |
| 374 | (ActualSignedStageControls.nativePoint_smooth l n k).continuous.fst) |
| 375 | (fun y hy => ActualPrimary.spatialMask_native_support l.1 |
| 376 | (ActualSignedStageControls.nativePoint l n k y).1 hy) hs |
| 377 | |
| 378 | theorem signed_exact_gaussian_zero_germs (l : Index B N0) (s : StripData Point) |
| 379 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) (n : ℕ) {x : Point × ℝ} |
| 380 | (hx : x.1 ∉ ActualInitialization.labelCarrier l n) : |
| 381 | let a := (ActualSignedStageControls.parameters l).copyData s request |
| 382 | ((a.commonCorrected (HarmonicWaveInteraction.productStrip s) |
| 383 | (ActualSignedStageControls.parameters l).directions).amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 384 | (a.common.pressure n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 385 | (a.globalGaussian (ActualSignedStageControls.parameters l).directions n =ᶠ[𝓝 x] fun _ => 0) := by |
| 386 | dsimp only |
| 387 | apply LabelSupportPreservation.common_zero_germs_of_native _ (ActualSignedStageControls.cells l) |
| 388 | (ActualSignedStageControls.cutoff_support l) _ _ |
| 389 | · exact Filter.Eventually.of_forall (fun _ => rfl) |
| 390 | · intro k _ |
| 391 | rcases signed_cutoff_or_mask_germ l n k hx with hc | hm |
| 392 | · exact Or.inl hc |
| 393 | · right |
| 394 | constructor |
| 395 | · filter_upwards [hm] with y hy |
| 396 | exact ((ActualSignedStageControls.parameters l).raw_zero_of_mask request n k y hy).1 |
| 397 | · filter_upwards [hm] with y hy |
| 398 | exact ((ActualSignedStageControls.parameters l).raw_zero_of_mask request n k y hy).2 |
| 399 | |
| 400 | /-- The refined radial and dyadic constraints are literal factors of the |
| 401 | signed target and mask, for any request. -/ |
| 402 | theorem refined_signed_localized_zero (l : Index B N0) (s : StripData Point) |
| 403 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) (n : ℕ) (k : TorusInverse.Frequency) |
| 404 | {x : Point × ℝ} (hx : x.1 ∈ ActualInitialization.geometry.domain) |
| 405 | (hn : x.1 ∉ ActualCoreSupport.refinedCarrier l n) : |
| 406 | (((ActualSignedStageControls.parameters l).copyData s request).localized k).amplitude n x = 0 ∧ |
| 407 | (((ActualSignedStageControls.parameters l).copyData s request).localized k).pressure n x = 0 := by |
| 408 | by_cases hb : x.1 ∈ ActualInitialization.labelCarrier l n |
| 409 | · have hfull : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion := ⟨hx, mem_univ _⟩ |
| 410 | by_cases hr : ActualCoreSupport.radialRatio x.1 ∈ |
| 411 | Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 412 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) |
| 413 | · have hq : ActualCoreSupport.nativeQ l n x.1 ∉ Icc (1 / 2 : ℝ) 2 := by |
| 414 | intro hq |
| 415 | exact hn (ActualCoreSupport.mem_refinedCarrier_of_mem l n hx.1 hb hr hq) |
| 416 | have hm := ActualWaveRegularityData.mask_zero_germ_outside_band l n k hfull hq |
| 417 | have hz := (ActualSignedStageControls.parameters l).localized_zero_of_mask (s := s) request hm |
| 418 | exact ⟨hz.1.self_of_nhds, hz.2.self_of_nhds⟩ |
| 419 | · have hz := ActualWaveRegularityData.signed_raw_zero_outside l s request n k hfull |
| 420 | (fun ho => hr ⟨ho.1.le, ho.2.le⟩) |
| 421 | constructor |
| 422 | · change ActualSignedStageControls.cutoff l k n x • |
| 423 | ((ActualSignedStageControls.parameters l).copyData s request).amplitude n k x = 0 |
| 424 | rw [hz.1, smul_zero] |
| 425 | · change (ActualSignedStageControls.cutoff l k n x : ℂ) * |
| 426 | ((ActualSignedStageControls.parameters l).copyData s request).pressure n k x = 0 |
| 427 | rw [hz.2, mul_zero] |
| 428 | · exact signed_localized_zero l s request n k hb |
| 429 | |
| 430 | theorem refined_signed_common_zero (l : Index B N0) (s : StripData Point) |
| 431 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) (n : ℕ) {x : Point × ℝ} |
| 432 | (hx : x.1 ∈ ActualInitialization.geometry.domain) |
| 433 | (hn : x.1 ∉ ActualCoreSupport.refinedCarrier l n) : |
| 434 | ((ActualSignedStageControls.parameters l).copyData s request).common.amplitude n x = 0 ∧ |
| 435 | ((ActualSignedStageControls.parameters l).copyData s request).common.pressure n x = 0 := by |
| 436 | constructor |
| 437 | · change (∑' k, _) = 0 |
| 438 | calc |
| 439 | _ = ∑' _k : TorusInverse.Frequency, (0 : Fin 3 → ℂ) := |
| 440 | tsum_congr (fun k => (refined_signed_localized_zero l s request n k hx hn).1) |
| 441 | _ = 0 := tsum_zero |
| 442 | · change (∑' k, _) = 0 |
| 443 | calc |
| 444 | _ = ∑' _k : TorusInverse.Frequency, (0 : ℂ) := |
| 445 | tsum_congr (fun k => (refined_signed_localized_zero l s request n k hx hn).2) |
| 446 | _ = 0 := tsum_zero |
| 447 | |
| 448 | theorem refined_signed_common_zero_germs (l : Index B N0) (s : StripData Point) |
| 449 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) (n : ℕ) {x : Point × ℝ} |
| 450 | (hx : x.1 ∈ ActualInitialization.geometry.domain) |
| 451 | (hn : x.1 ∉ ActualCoreSupport.refinedCarrier l n) : |
| 452 | let a := (ActualSignedStageControls.parameters l).copyData s request |
| 453 | (a.common.amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 454 | ((a.commonCorrected (HarmonicWaveInteraction.productStrip s) |
| 455 | (ActualSignedStageControls.parameters l).directions).amplitude n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 456 | (a.common.pressure n =ᶠ[𝓝 x] fun _ => 0) := by |
| 457 | let a := (ActualSignedStageControls.parameters l).copyData s request |
| 458 | have hd : ∀ᶠ y : Point × ℝ in 𝓝 x, y.1 ∈ ActualInitialization.geometry.domain := |
| 459 | (ActualInitialization.geometry.domain_open.preimage continuous_fst).mem_nhds hx |
| 460 | have hk : ∀ᶠ y : Point × ℝ in 𝓝 x, y.1 ∉ ActualCoreSupport.refinedCarrier l n := |
| 461 | ((ActualCoreSupport.refinedCarrier_closed l n).preimage continuous_fst).isOpen_compl.mem_nhds hn |
| 462 | have ha : a.common.amplitude n =ᶠ[𝓝 x] fun _ => 0 := by |
| 463 | filter_upwards [hd, hk] with y hy hny |
| 464 | exact (refined_signed_common_zero l s request n hy hny).1 |
| 465 | have hp : a.common.pressure n =ᶠ[𝓝 x] fun _ => 0 := by |
| 466 | filter_upwards [hd, hk] with y hy hny |
| 467 | exact (refined_signed_common_zero l s request n hy hny).2 |
| 468 | refine ⟨ha, ?_, hp⟩ |
| 469 | have he := ParticularWaveAssembly.realizedCoefficient_germ ha |
| 470 | (a.background.frequency n) (a.background.radius n) |
| 471 | ((ActualSignedStageControls.parameters l).directions.radialField n) |
| 472 | (fun _ => (ActualSignedStageControls.parameters l).directions.angular) |
| 473 | ((ActualSignedStageControls.parameters l).directions.axialField (HarmonicWaveInteraction.productStrip s) n) |
| 474 | (a.background.phase n) |
| 475 | simp only [PeriodizedWaveBounds.realizedCoefficient_zero] at he |
| 476 | exact he |
| 477 | |
| 478 | theorem refined_signed_gaussian_zero (l : Index B N0) (s : StripData Point) |
| 479 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) (n : ℕ) {x : Point × ℝ} |
| 480 | (hx : x.1 ∈ ActualInitialization.geometry.domain) |
| 481 | (hn : x.1 ∉ ActualCoreSupport.refinedCarrier l n) : |
| 482 | ((ActualSignedStageControls.parameters l).copyData s request).globalGaussian |
| 483 | (ActualSignedStageControls.parameters l).directions n x = 0 := by |
| 484 | by_cases hb : x.1 ∈ ActualInitialization.labelCarrier l n |
| 485 | · have hfull : x ∈ ActualWaveRegularity.fullDomain ActualPrimary.standardRegion := ⟨hx, mem_univ _⟩ |
| 486 | by_cases hr : ActualCoreSupport.radialRatio x.1 ∈ |
| 487 | Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 488 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) |
| 489 | · have hq : ActualCoreSupport.nativeQ l n x.1 ∉ Icc (1 / 2 : ℝ) 2 := by |
| 490 | intro hq |
| 491 | exact hn (ActualCoreSupport.mem_refinedCarrier_of_mem l n hx.1 hb hr hq) |
| 492 | have hm := fun k => ActualWaveRegularityData.mask_zero_germ_outside_band l n k hfull hq |
| 493 | have hh : |
| 494 | ((((ActualSignedStageControls.parameters l).copyData s request).commonCorrected |
| 495 | (HarmonicWaveInteraction.productStrip s) (ActualSignedStageControls.parameters l).directions).amplitude n |
| 496 | =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 497 | (((ActualSignedStageControls.parameters l).copyData s request).common.pressure n |
| 498 | =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 499 | (((ActualSignedStageControls.parameters l).copyData s request).globalGaussian |
| 500 | (ActualSignedStageControls.parameters l).directions n =ᶠ[𝓝 x] fun _ => 0) := by |
| 501 | apply LabelSupportPreservation.common_zero_germs_of_native _ (ActualSignedStageControls.cells l) |
| 502 | (ActualSignedStageControls.cutoff_support l) _ _ |
| 503 | · exact Filter.Eventually.of_forall (fun _ => rfl) |
| 504 | · intro k _ |
| 505 | right |
| 506 | constructor |
| 507 | · filter_upwards [hm k] with y hy |
| 508 | exact ((ActualSignedStageControls.parameters l).raw_zero_of_mask request n k y hy).1 |
| 509 | · filter_upwards [hm k] with y hy |
| 510 | exact ((ActualSignedStageControls.parameters l).raw_zero_of_mask request n k y hy).2 |
| 511 | exact hh.2.2.self_of_nhds |
| 512 | · have hz := fun k => (ActualWaveRegularityData.signed_raw_zero_outside l s request n k hfull |
| 513 | (fun ho => hr ⟨ho.1.le, ho.2.le⟩)).1 |
| 514 | simp only [PeriodizedWaveBounds.CopyData.globalGaussian, PeriodizedWaveBounds.CopyData.globalTail, |
| 515 | PeriodizedWaveBounds.copySum, PeriodizedWaveBounds.CopyData.localTail, |
| 516 | PeriodizedSignedParameters.copyData] at * |
| 517 | simp only [hz, smul_zero, tsum_zero, add_zero] |
| 518 | · exact (signed_exact_gaussian_zero_germs l s request n hb).2.2.self_of_nhds |
| 519 | |
| 520 | /-- The exact signed block and its actual Gaussian error preserve the |
| 521 | refined source carrier. Neither the request nor its support is assumed. -/ |
| 522 | theorem refined_signed_inputSupport (l : Index B N0) (s : StripData Point) |
| 523 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : |
| 524 | HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 525 | (ActualCoreSupport.refinedCarrier l) |
| 526 | ((ActualSignedStageControls.parameters l).exactBlock s request) |
| 527 | ((ActualSignedStageControls.parameters l).gaussianBlock s request).velocity 0 := by |
| 528 | apply LabelSupportPreservation.blockOfCoefficients_inputSupport |
| 529 | · intro n x hx hn |
| 530 | exact (refined_signed_common_zero_germs l s request n (x := (x,0)) hx hn).2.1.self_of_nhds |
| 531 | · intro n x hx hn |
| 532 | exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).2 |
| 533 | · intro n x hx hn |
| 534 | exact refined_signed_gaussian_zero l s request n hx hn |
| 535 | |
| 536 | theorem refined_tangent_inputSupport (l : Index B N0) (s : StripData Point) |
| 537 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : |
| 538 | HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 539 | (ActualCoreSupport.refinedCarrier l) |
| 540 | ((ActualSignedStageControls.parameters l).tangentBlock s request) 0 0 := by |
| 541 | apply block_inputSupport_of_zero |
| 542 | · intro n x hx hn |
| 543 | exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).1 |
| 544 | · intro n x hx hn |
| 545 | exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).2 |
| 546 | |
| 547 | theorem refined_curl_inputSupport (l : Index B N0) (s : StripData Point) |
| 548 | (request : ℕ → Point × ℝ → SignedWaveUpdate.Vec2) : |
| 549 | HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 550 | (ActualCoreSupport.refinedCarrier l) |
| 551 | ((ActualSignedStageControls.parameters l).curlBlock s request) 0 0 := by |
| 552 | apply inputSupport_subBlock _ (refined_tangent_inputSupport l s request) |
| 553 | apply block_inputSupport_of_zero |
| 554 | · intro n x hx hn |
| 555 | exact (refined_signed_common_zero_germs l s request n (x := (x,0)) hx hn).2.1.self_of_nhds |
| 556 | · intro n x hx hn |
| 557 | exact (refined_signed_common_zero l s request n (x := (x,0)) hx hn).2 |
| 558 | |
| 559 | end RefinedSignedSupport |
| 560 | |
| 561 | |
| 562 | |
| 563 | section SupportReindex |
| 564 | |
| 565 | variable {D E : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 566 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 567 | |
| 568 | theorem inputSupport_reindex_on (e : D ≃ₗᵢ[ℝ] E) |
| 569 | {U : Set E} {K : ℕ → Set E} {V : Set D} {T : ℕ → Set D} |
| 570 | {b : HarmonicBlock E} {G A : HarmonicResidual.BlockCoefficients E} |
| 571 | (hs : HarmonicSourceSupport.InputSupportOn U K b G A) |
| 572 | (hU : ∀ z ∈ V, e z ∈ U) |
| 573 | (hK : ∀ n z, z ∈ V → e z ∈ K n → z ∈ T n) : |
| 574 | HarmonicSourceSupport.InputSupportOn V T (StateReindex.block e b) |
| 575 | (StateReindex.blockCoefficients e G) (StateReindex.blockCoefficients e A) := by |
| 576 | have hm {c : HarmonicFields.Coefficients E} {n : ℕ} |
| 577 | (hc : HarmonicSourceSupport.NonzeroSupportedOn U (K n) c) : |
| 578 | HarmonicSourceSupport.NonzeroSupportedOn V (T n) (StateReindex.coefficients e c) := by |
| 579 | intro j hj z hz hn |
| 580 | exact hc j hj (e z) (hU z hz) (fun hk => hn (hK n z hz hk)) |
| 581 | constructor |
| 582 | · intro n i |
| 583 | change HarmonicSourceSupport.NonzeroSupportedOn V (T n) |
| 584 | (HarmonicResidual.realCoefficients (StateReindex.coefficients e (b.velocity n i))) |
| 585 | rw [StateReindex.realCoefficients_pull] |
| 586 | exact hm (hs.velocity n i) |
| 587 | · intro n |
| 588 | change HarmonicSourceSupport.NonzeroSupportedOn V (T n) |
| 589 | (HarmonicResidual.realCoefficients (StateReindex.coefficients e (b.pressure n))) |
| 590 | rw [StateReindex.realCoefficients_pull] |
| 591 | exact hm (hs.pressure n) |
| 592 | · intro n i |
| 593 | change HarmonicSourceSupport.NonzeroSupportedOn V (T n) |
| 594 | (HarmonicResidual.realCoefficients (StateReindex.coefficients e (G n i))) |
| 595 | rw [StateReindex.realCoefficients_pull] |
| 596 | exact hm (hs.gaussian n i) |
| 597 | · intro n i |
| 598 | change HarmonicSourceSupport.NonzeroSupportedOn V (T n) |
| 599 | (HarmonicResidual.realCoefficients (StateReindex.coefficients e (A n i))) |
| 600 | rw [StateReindex.realCoefficients_pull] |
| 601 | exact hm (hs.aliasError n i) |
| 602 | |
| 603 | end SupportReindex |
| 604 | |
| 605 | section CanonicalParticular |
| 606 | |
| 607 | variable {B N0 : ℕ} (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 608 | (l : Index B N0) |
| 609 | |
| 610 | theorem parameterDomain_open : IsOpen ActualCarrierTransport.parameterDomain := |
| 611 | ActualPrimary.standardRegion.isOpen.preimage continuous_snd |
| 612 | |
| 613 | include hN in |
| 614 | theorem associated_inputSupport |
| 615 | {b : HarmonicBlock Point} {G A : HarmonicResidual.BlockCoefficients Point} |
| 616 | (hs : HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 617 | (ActualInitialization.labelCarrier l) b G A) : |
| 618 | HarmonicSourceSupport.InputSupportOn (ActualCarrierTransport.parameterDomain ×ˢ Set.univ) |
| 619 | (ActualCarrierTransport.canonicalSourceRegion l) (StateReindex.block cycleAssoc.symm b) |
| 620 | (StateReindex.blockCoefficients cycleAssoc.symm G) (StateReindex.blockCoefficients cycleAssoc.symm A) := by |
| 621 | apply inputSupport_reindex_on cycleAssoc.symm hs |
| 622 | · intro z hz |
| 623 | exact hz.1 |
| 624 | · intro n z hz hk |
| 625 | exact (ActualCarrierTransport.labelCarrier_iff_canonicalSourceRegion hN l n hz.1 z.2).mp hk |
| 626 | |
| 627 | theorem canonical_copyData_eq_scalar |
| 628 | (c : Context (CycleSlow × TorusInverse.Plane)) (u : State (CycleSlow × TorusInverse.Plane)) |
| 629 | (b : HarmonicBlock (CycleSlow × TorusInverse.Plane)) |
| 630 | (G A : HarmonicResidual.BlockCoefficients (CycleSlow × TorusInverse.Plane)) (j : ℤ) : |
| 631 | let p := ActualParticularStageControls.canonicalParameters (l.2,l.1) |
| 632 | p.copyData c u b G A j = |
| 633 | ScalarParticularSupport.scalarData (ParticularWaveAssembly.actualCarrier p.background b j) |
| 634 | (fun n => ParticularWaveAssembly.angleTangent (p.tangent j n)) |
| 635 | (ParticularWaveAssembly.sourceFamily c u b G A j) |
| 636 | (ActualCarrierTransport.geometry l) (fun _ => ActualPrimary.slots.radius) |
| 637 | (fun _ => ActualCarrierTransport.referenceLength l) (ActualCarrierTransport.clock l) |
| 638 | (fun _ => ActualPrimary.slots.radius_pos) (fun _ => ActualCarrierTransport.referenceLength_pos l) |
| 639 | (ActualCarrierTransport.clock_pos l) := by |
| 640 | dsimp only |
| 641 | unfold ParticularParameters.copyData ScalarParticularSupport.scalarData |
| 642 | PeriodizedWaveBounds.complexCopyData ParticularWaveBounds.complexCopyCoefficients |
| 643 | congr 1 |
| 644 | funext n k z |
| 645 | exact congrFun (ActualCarrierTransport.canonical_cutoff l n) |
| 646 | ((ActualCarrierTransport.geometry l n).coordinates k z.2) |
| 647 | |
| 648 | noncomputable def particularCells : |
| 649 | PeriodizedWaveBounds.Cells ((CycleSlow × ℝ) × TorusInverse.Plane) TorusInverse.Frequency := |
| 650 | ScalarParticularSupport.scalarCells (ActualCarrierTransport.geometry l) |
| 651 | (fun _ => ActualPrimary.slots.radius) (fun _ => ActualCarrierTransport.referenceLength l) |
| 652 | (ActualCarrierTransport.clock l) (ActualCarrierTransport.geometry_outer_injective l) |
| 653 | |
| 654 | theorem canonical_cutoff_support |
| 655 | (c : Context (CycleSlow × TorusInverse.Plane)) (u : State (CycleSlow × TorusInverse.Plane)) |
| 656 | (b : HarmonicBlock (CycleSlow × TorusInverse.Plane)) |
| 657 | (G A : HarmonicResidual.BlockCoefficients (CycleSlow × TorusInverse.Plane)) (j : ℤ) |
| 658 | (n : ℕ) (k : TorusInverse.Frequency) : |
| 659 | support (((ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData c u b G A j).cutoff n k) ⊆ |
| 660 | (particularCells l).carrier n k := by |
| 661 | rw [canonical_copyData_eq_scalar] |
| 662 | exact ScalarParticularSupport.scalarData_cutoff_support _ _ _ _ _ _ _ _ _ _ |
| 663 | (ActualCarrierTransport.geometry_outer_injective l) n k |
| 664 | |
| 665 | variable (c : Context Point) (u : State Point) (b : HarmonicBlock Point) |
| 666 | (G A : HarmonicResidual.BlockCoefficients Point) |
| 667 | (hs : HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 668 | (ActualInitialization.labelCarrier l) b G A) |
| 669 | |
| 670 | include hN hs |
| 671 | |
| 672 | theorem canonical_source_zero_germ (j : ℤ) (n : ℕ) |
| 673 | {z : (CycleSlow × ℝ) × TorusInverse.Plane} |
| 674 | (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) |
| 675 | (hn : (z.1.1, z.2) ∉ ActualCarrierTransport.canonicalSourceRegion l n) : |
| 676 | ParticularWaveAssembly.sourceFamily (StateReindex.context cycleAssoc.symm c) |
| 677 | (StateReindex.state cycleAssoc.symm u) (StateReindex.block cycleAssoc.symm b) |
| 678 | (StateReindex.blockCoefficients cycleAssoc.symm G) (StateReindex.blockCoefficients cycleAssoc.symm A) |
| 679 | j n =ᶠ[𝓝 z] fun _ => 0 := |
| 680 | ActualGaussianCoverage.sourceFamily_zero_germ _ _ _ _ _ (parameterDomain_open.prod isOpen_univ) |
| 681 | (ActualCarrierTransport.canonicalSourceRegion_closed l) (associated_inputSupport hN l hs) |
| 682 | j n ⟨hz, mem_univ _⟩ hn |
| 683 | |
| 684 | theorem canonical_copy_zero_germs (j : ℤ) |
| 685 | (s : StripData ((CycleSlow × ℝ) × TorusInverse.Plane)) |
| 686 | (d : LinearWaveBounds.GraphDirections ((CycleSlow × ℝ) × TorusInverse.Plane)) |
| 687 | (n : ℕ) {z : (CycleSlow × ℝ) × TorusInverse.Plane} |
| 688 | (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) |
| 689 | (hn : (z.1.1, z.2) ∉ ActualCarrierTransport.canonicalSourceRegion l n) : |
| 690 | let a := (ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData |
| 691 | (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) |
| 692 | (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 693 | (StateReindex.blockCoefficients cycleAssoc.symm A) j |
| 694 | ((a.commonCorrected s d).amplitude n =ᶠ[𝓝 z] fun _ => 0) ∧ |
| 695 | (a.common.pressure n =ᶠ[𝓝 z] fun _ => 0) ∧ |
| 696 | (a.globalGaussian d n =ᶠ[𝓝 z] fun _ => 0) := by |
| 697 | dsimp only |
| 698 | rw [canonical_copyData_eq_scalar] |
| 699 | exact ScalarParticularSupport.scalarData_zero_germs _ _ _ _ _ _ _ _ _ _ |
| 700 | (ActualCarrierTransport.geometry_outer_injective l) ActualCarrierTransport.parameterDomain |
| 701 | (ActualCarrierTransport.activeSlowCore l) |
| 702 | (fun n z hz hn => canonical_source_zero_germ hN l c u b G A hs j n hz hn) s d n hz hn |
| 703 | |
| 704 | end CanonicalParticular |
| 705 | |
| 706 | section FactorizedCarrier |
| 707 | |
| 708 | variable {B N0 : ℕ} (l : Index B N0) |
| 709 | (K : ℕ → Set Point) (slowCarrier : ℕ → Set CycleSlow) |
| 710 | (hK : ∀ n, IsClosed (K n)) |
| 711 | (hfactor : ∀ n p, p ∈ ActualCarrierTransport.parameterDomain → ∀ Y, |
| 712 | ActualCarrierTransport.associatedPoint p Y ∈ K n ↔ |
| 713 | (p,Y) ∈ ActualGaussianCoverage.sourceRegion (slowCarrier n) |
| 714 | (ActualCarrierTransport.geometry l n) ActualPrimary.slots.radius |
| 715 | (ActualCarrierTransport.referenceLength l) (ActualCarrierTransport.clock l n)) |
| 716 | (c : Context Point) (u : State Point) (b : HarmonicBlock Point) |
| 717 | (G A : HarmonicResidual.BlockCoefficients Point) |
| 718 | (hs : HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain K b G A) |
| 719 | |
| 720 | include hK hfactor hs |
| 721 | |
| 722 | /-- A closed incoming carrier with slow-coordinate factors supplies the |
| 723 | whole-path source germs, including additional refined slow constraints. -/ |
| 724 | theorem source_zero_germ_of_factorization (j : ℤ) (n : ℕ) |
| 725 | {z : (CycleSlow × ℝ) × TorusInverse.Plane} |
| 726 | (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) |
| 727 | (hn : (z.1.1,z.2) ∉ ActualGaussianCoverage.sourceRegion (slowCarrier n) |
| 728 | (ActualCarrierTransport.geometry l n) ActualPrimary.slots.radius |
| 729 | (ActualCarrierTransport.referenceLength l) (ActualCarrierTransport.clock l n)) : |
| 730 | ParticularWaveAssembly.sourceFamily (StateReindex.context cycleAssoc.symm c) |
| 731 | (StateReindex.state cycleAssoc.symm u) (StateReindex.block cycleAssoc.symm b) |
| 732 | (StateReindex.blockCoefficients cycleAssoc.symm G) (StateReindex.blockCoefficients cycleAssoc.symm A) |
| 733 | j n =ᶠ[𝓝 z] fun _ => 0 := by |
| 734 | have hass : HarmonicSourceSupport.InputSupportOn |
| 735 | (ActualCarrierTransport.parameterDomain ×ˢ Set.univ) |
| 736 | (fun n => cycleAssoc.symm ⁻¹' K n) |
| 737 | (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 738 | (StateReindex.blockCoefficients cycleAssoc.symm A) := |
| 739 | inputSupport_reindex_on cycleAssoc.symm hs (fun _ hx => hx.1) (fun _ _ _ hx => hx) |
| 740 | apply ActualGaussianCoverage.sourceFamily_zero_germ _ _ _ _ _ |
| 741 | (parameterDomain_open.prod isOpen_univ) |
| 742 | (fun n => (hK n).preimage cycleAssoc.symm.continuous) hass j n ⟨hz, mem_univ _⟩ |
| 743 | intro hk |
| 744 | exact hn ((hfactor n z.1.1 hz z.2).mp hk) |
| 745 | |
| 746 | /-- The source germ is retained in the raw-zero branch, as required by |
| 747 | the actual linear cancellation identity. -/ |
| 748 | theorem native_zero_alternative_of_factorization (j : ℤ) (n : ℕ) |
| 749 | (k : TorusInverse.Frequency) {z : (CycleSlow × ℝ) × TorusInverse.Plane} |
| 750 | (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) |
| 751 | (hk : z ∈ (particularCells l).carrier n k) |
| 752 | (hn : (z.1.1,z.2) ∉ ActualGaussianCoverage.sourceRegion (slowCarrier n) |
| 753 | (ActualCarrierTransport.geometry l n) ActualPrimary.slots.radius |
| 754 | (ActualCarrierTransport.referenceLength l) (ActualCarrierTransport.clock l n)) : |
| 755 | let a := (ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData |
| 756 | (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) |
| 757 | (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 758 | (StateReindex.blockCoefficients cycleAssoc.symm A) j |
| 759 | (a.cutoff n k =ᶠ[𝓝 z] fun _ => 0) ∨ |
| 760 | ((a.amplitude n k =ᶠ[𝓝 z] fun _ => 0) ∧ |
| 761 | (a.pressure n k =ᶠ[𝓝 z] fun _ => 0) ∧ |
| 762 | (a.source n =ᶠ[𝓝 z] fun _ => 0)) := by |
| 763 | dsimp only |
| 764 | rw [canonical_copyData_eq_scalar] |
| 765 | have ha := ScalarParticularSupport.scalarData_native_zero_alternative |
| 766 | (ParticularWaveAssembly.actualCarrier |
| 767 | (ActualParticularStageControls.canonicalParameters (l.2,l.1)).background |
| 768 | (StateReindex.block cycleAssoc.symm b) j) |
| 769 | (fun n => ParticularWaveAssembly.angleTangent |
| 770 | ((ActualParticularStageControls.canonicalParameters (l.2,l.1)).tangent j n)) |
| 771 | (ParticularWaveAssembly.sourceFamily (StateReindex.context cycleAssoc.symm c) |
| 772 | (StateReindex.state cycleAssoc.symm u) (StateReindex.block cycleAssoc.symm b) |
| 773 | (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 774 | (StateReindex.blockCoefficients cycleAssoc.symm A) j) |
| 775 | (ActualCarrierTransport.geometry l) (fun _ => ActualPrimary.slots.radius) |
| 776 | (fun _ => ActualCarrierTransport.referenceLength l) (ActualCarrierTransport.clock l) |
| 777 | (fun _ => ActualPrimary.slots.radius_pos) |
| 778 | (fun _ => ActualCarrierTransport.referenceLength_pos l) (ActualCarrierTransport.clock_pos l) |
| 779 | (ActualCarrierTransport.geometry_outer_injective l) ActualCarrierTransport.parameterDomain |
| 780 | slowCarrier (fun n z hz hn => source_zero_germ_of_factorization l K slowCarrier hK hfactor |
| 781 | c u b G A hs j n hz hn) n k hz hk hn |
| 782 | rcases ha with ha | ⟨ha, hp⟩ |
| 783 | · exact Or.inl ha |
| 784 | · exact Or.inr ⟨ha, hp, source_zero_germ_of_factorization l K slowCarrier hK hfactor |
| 785 | c u b G A hs j n hz hn⟩ |
| 786 | |
| 787 | theorem common_raw_zero_germ_of_factorization (j : ℤ) (n : ℕ) |
| 788 | {z : (CycleSlow × ℝ) × TorusInverse.Plane} |
| 789 | (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) |
| 790 | (hn : (z.1.1,z.2) ∉ ActualGaussianCoverage.sourceRegion (slowCarrier n) |
| 791 | (ActualCarrierTransport.geometry l n) ActualPrimary.slots.radius |
| 792 | (ActualCarrierTransport.referenceLength l) (ActualCarrierTransport.clock l n)) : |
| 793 | let a := (ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData |
| 794 | (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) |
| 795 | (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 796 | (StateReindex.blockCoefficients cycleAssoc.symm A) j |
| 797 | a.common.amplitude n =ᶠ[𝓝 z] fun _ => 0 := by |
| 798 | classical |
| 799 | let a := (ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData |
| 800 | (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) |
| 801 | (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 802 | (StateReindex.blockCoefficients cycleAssoc.symm A) j |
| 803 | have hsupp : ∀ n k, support (a.cutoff n k) ⊆ (particularCells l).carrier n k := |
| 804 | canonical_cutoff_support l _ _ _ _ _ j |
| 805 | by_cases hcell : ∃ k, z ∈ (particularCells l).carrier n k |
| 806 | · obtain ⟨k, hk⟩ := hcell |
| 807 | have hg := a.common_amplitude_germ (particularCells l) hsupp n hk |
| 808 | rcases native_zero_alternative_of_factorization l K slowCarrier hK hfactor c u b G A hs |
| 809 | j n k hz hk hn with hcut | ⟨ha, _, _⟩ |
| 810 | · exact hg.trans (a.localized_zero_germs hcut).1 |
| 811 | · apply hg.trans |
| 812 | filter_upwards [ha] with y hy |
| 813 | change a.cutoff n k y • a.amplitude n k y = 0 |
| 814 | rw [hy, smul_zero] |
| 815 | · exact (a.common_zero_germs (particularCells l) hsupp (not_exists.mp hcell)).1 |
| 816 | |
| 817 | theorem copy_zero_germs_of_factorization (j : ℤ) |
| 818 | (s : StripData ((CycleSlow × ℝ) × TorusInverse.Plane)) |
| 819 | (d : LinearWaveBounds.GraphDirections ((CycleSlow × ℝ) × TorusInverse.Plane)) |
| 820 | (n : ℕ) {z : (CycleSlow × ℝ) × TorusInverse.Plane} |
| 821 | (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) |
| 822 | (hn : (z.1.1,z.2) ∉ ActualGaussianCoverage.sourceRegion (slowCarrier n) |
| 823 | (ActualCarrierTransport.geometry l n) ActualPrimary.slots.radius |
| 824 | (ActualCarrierTransport.referenceLength l) (ActualCarrierTransport.clock l n)) : |
| 825 | let a := (ActualParticularStageControls.canonicalParameters (l.2,l.1)).copyData |
| 826 | (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) |
| 827 | (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 828 | (StateReindex.blockCoefficients cycleAssoc.symm A) j |
| 829 | ((a.commonCorrected s d).amplitude n =ᶠ[𝓝 z] fun _ => 0) ∧ |
| 830 | (a.common.pressure n =ᶠ[𝓝 z] fun _ => 0) ∧ |
| 831 | (a.globalGaussian d n =ᶠ[𝓝 z] fun _ => 0) := by |
| 832 | dsimp only |
| 833 | rw [canonical_copyData_eq_scalar] |
| 834 | exact ScalarParticularSupport.scalarData_zero_germs _ _ _ _ _ _ _ _ _ _ |
| 835 | (ActualCarrierTransport.geometry_outer_injective l) ActualCarrierTransport.parameterDomain |
| 836 | slowCarrier (fun n z hz hn => source_zero_germ_of_factorization l K slowCarrier hK hfactor |
| 837 | c u b G A hs j n hz hn) s d n hz hn |
| 838 | |
| 839 | theorem associated_update_inputSupport (s : StripData (CycleSlow × TorusInverse.Plane)) (N : ℕ) : |
| 840 | let p := ActualParticularStageControls.canonicalParameters (l.2,l.1) |
| 841 | HarmonicSourceSupport.InputSupportOn (ActualCarrierTransport.parameterDomain ×ˢ Set.univ) |
| 842 | (fun n => ActualGaussianCoverage.sourceRegion (slowCarrier n) |
| 843 | (ActualCarrierTransport.geometry l n) ActualPrimary.slots.radius |
| 844 | (ActualCarrierTransport.referenceLength l) (ActualCarrierTransport.clock l n)) |
| 845 | (p.updateBlock s (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) |
| 846 | (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 847 | (StateReindex.blockCoefficients cycleAssoc.symm A) N) |
| 848 | (p.gaussianBlock (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) |
| 849 | (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 850 | (StateReindex.blockCoefficients cycleAssoc.symm A) N).velocity 0 := by |
| 851 | dsimp only |
| 852 | apply LabelSupportPreservation.assembledBlock_inputSupport |
| 853 | · intro j hj n x hx hn |
| 854 | exact (copy_zero_germs_of_factorization l K slowCarrier hK hfactor c u b G A hs j |
| 855 | (ParticularParameters.nativeStrip s) (ActualParticularStageControls.canonicalParameters (l.2,l.1)).directions |
| 856 | n (z := ((x.1,0),x.2)) hx.1 hn).1.self_of_nhds |
| 857 | · intro j hj n x hx hn |
| 858 | exact (copy_zero_germs_of_factorization l K slowCarrier hK hfactor c u b G A hs j |
| 859 | (ParticularParameters.nativeStrip s) (ActualParticularStageControls.canonicalParameters (l.2,l.1)).directions |
| 860 | n (z := ((x.1,0),x.2)) hx.1 hn).2.1.self_of_nhds |
| 861 | · intro j hj n x hx hn |
| 862 | exact (copy_zero_germs_of_factorization l K slowCarrier hK hfactor c u b G A hs j |
| 863 | (ParticularParameters.nativeStrip s) (ActualParticularStageControls.canonicalParameters (l.2,l.1)).directions |
| 864 | n (z := ((x.1,0),x.2)) hx.1 hn).2.2.self_of_nhds |
| 865 | |
| 866 | /-- The literal finite particular update and its Gaussian error preserve |
| 867 | the closed incoming carrier. Only its slow-factor geometry is required. -/ |
| 868 | theorem particular_inputSupport_of_factorization (s : StripData Point) (N : ℕ) : |
| 869 | let p := ActualParticularStageControls.canonicalParameters (l.2,l.1) |
| 870 | HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain K |
| 871 | (StateReindex.block cycleAssoc |
| 872 | (p.updateBlock (ParticularWaveBounds.reindexStrip cycleAssoc.symm s) |
| 873 | (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) |
| 874 | (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 875 | (StateReindex.blockCoefficients cycleAssoc.symm A) N)) |
| 876 | (StateReindex.block cycleAssoc |
| 877 | (p.gaussianBlock (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) |
| 878 | (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 879 | (StateReindex.blockCoefficients cycleAssoc.symm A) N)).velocity 0 := by |
| 880 | have hass := associated_update_inputSupport l K slowCarrier hK hfactor c u b G A hs |
| 881 | (ParticularWaveBounds.reindexStrip cycleAssoc.symm s) N |
| 882 | have hout := inputSupport_reindex_on cycleAssoc hass |
| 883 | (V := ActualInitialization.geometry.domain) (T := K) |
| 884 | (fun z hz => ⟨hz, mem_univ _⟩) |
| 885 | (fun n z hz hk => (hfactor n (cycleAssoc z).1 hz (cycleAssoc z).2).mpr hk) |
| 886 | refine ⟨hout.velocity, hout.pressure, hout.gaussian, ?_⟩ |
| 887 | intro n i j hj z hz hn |
| 888 | simp [HarmonicResidual.realCoefficients_apply] |
| 889 | |
| 890 | end FactorizedCarrier |
| 891 | |
| 892 | section ConcreteCarriers |
| 893 | |
| 894 | variable {B N0 : ℕ} |
| 895 | |
| 896 | noncomputable def refinedSlowCore (l : Index B N0) (n : ℕ) : Set CycleSlow := |
| 897 | ActualCarrierTransport.activeSlowCore l n ∩ {p | |
| 898 | ActualCoreSupport.radialRatio (ActualCarrierTransport.associatedPoint p 0) ∈ |
| 899 | Icc (PrimaryTargetBounds.leftRadius ActualPrimary.nominal) |
| 900 | (PrimaryTargetBounds.rightRadius ActualPrimary.nominal) ∧ |
| 901 | ActualCoreSupport.nativeQ l n (ActualCarrierTransport.associatedPoint p 0) ∈ Icc (1/2 : ℝ) 2} |
| 902 | |
| 903 | theorem refined_carrier_factorization (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 904 | (l : Index B N0) (n : ℕ) (p : CycleSlow) |
| 905 | (hp : p ∈ ActualCarrierTransport.parameterDomain) (Y : TorusInverse.Plane) : |
| 906 | ActualCarrierTransport.associatedPoint p Y ∈ ActualCoreSupport.refinedCarrier l n ↔ |
| 907 | (p,Y) ∈ ActualGaussianCoverage.sourceRegion (refinedSlowCore l n) |
| 908 | (ActualCarrierTransport.geometry l n) ActualPrimary.slots.radius |
| 909 | (ActualCarrierTransport.referenceLength l) (ActualCarrierTransport.clock l n) := by |
| 910 | have hb : ActualCarrierTransport.associatedPoint p Y ∈ ActualInitialization.labelCarrier l n ↔ |
| 911 | (p,Y) ∈ ActualCarrierTransport.canonicalSourceRegion l n := |
| 912 | ActualCarrierTransport.labelCarrier_iff_canonicalSourceRegion hN l n hp Y |
| 913 | rw [ActualCoreSupport.mem_refinedCarrier_iff l n (show 0 < p.2.1 from hp.1), hb] |
| 914 | have hr : ActualCoreSupport.radialRatio (ActualCarrierTransport.associatedPoint p Y) = |
| 915 | ActualCoreSupport.radialRatio (ActualCarrierTransport.associatedPoint p 0) := rfl |
| 916 | have hq : ActualCoreSupport.nativeQ l n (ActualCarrierTransport.associatedPoint p Y) = |
| 917 | ActualCoreSupport.nativeQ l n (ActualCarrierTransport.associatedPoint p 0) := rfl |
| 918 | rw [hr, hq] |
| 919 | simp only [ActualCarrierTransport.canonicalSourceRegion, ActualGaussianCoverage.sourceRegion, |
| 920 | refinedSlowCore, mem_inter_iff, mem_preimage, Set.mem_ofPred_eq] |
| 921 | tauto |
| 922 | |
| 923 | theorem cycle_particular_inputSupport (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 924 | (x : CycleState (Index B N0)) (c : Context Point) |
| 925 | (hs : ∀ l, HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 926 | (ActualInitialization.labelCarrier l) (x.coefficients.blocks l) |
| 927 | (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l)) (l : Index B N0) : |
| 928 | HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 929 | (ActualInitialization.labelCarrier l) |
| 930 | ((ActualCycleParameters.fixedParameters B N0).particularBlock x.coefficients c x.state l) |
| 931 | ((ActualCycleParameters.fixedParameters B N0).particularGaussianBlock x.coefficients c x.state l).velocity 0 := |
| 932 | particular_inputSupport_of_factorization l (ActualInitialization.labelCarrier l) |
| 933 | (ActualCarrierTransport.activeSlowCore l) (ActualInitialization.labelCarrier_closed l) |
| 934 | (fun n _p hp Y => ActualCarrierTransport.labelCarrier_iff_canonicalSourceRegion hN l n hp Y) |
| 935 | c x.state (x.coefficients.blocks l) (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) |
| 936 | (hs l) ActualInitialization.geometry.strip x.coefficients.residualBand |
| 937 | |
| 938 | theorem cycle_refined_particular_inputSupport (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 939 | (x : CycleState (Index B N0)) (c : Context Point) |
| 940 | (hs : ∀ l, HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 941 | (ActualCoreSupport.refinedCarrier l) (x.coefficients.blocks l) |
| 942 | (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l)) (l : Index B N0) : |
| 943 | HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 944 | (ActualCoreSupport.refinedCarrier l) |
| 945 | ((ActualCycleParameters.fixedParameters B N0).particularBlock x.coefficients c x.state l) |
| 946 | ((ActualCycleParameters.fixedParameters B N0).particularGaussianBlock x.coefficients c x.state l).velocity 0 := |
| 947 | particular_inputSupport_of_factorization l (ActualCoreSupport.refinedCarrier l) |
| 948 | (refinedSlowCore l) (ActualCoreSupport.refinedCarrier_closed l) |
| 949 | (refined_carrier_factorization hN l) |
| 950 | c x.state (x.coefficients.blocks l) (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) |
| 951 | (hs l) ActualInitialization.geometry.strip x.coefficients.residualBand |
| 952 | |
| 953 | /-- All four actual common fields have zero germs off the refined |
| 954 | carrier. The uncorrected amplitude is retained for edge continuation. -/ |
| 955 | theorem refined_particular_zero_germs (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 956 | (l : Index B N0) (c : Context Point) (u : State Point) (b : HarmonicBlock Point) |
| 957 | (G A : HarmonicResidual.BlockCoefficients Point) |
| 958 | (hs : HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 959 | (ActualCoreSupport.refinedCarrier l) b G A) |
| 960 | (j : ℤ) (s : StripData ((CycleSlow × ℝ) × TorusInverse.Plane)) |
| 961 | (n : ℕ) {z : (CycleSlow × ℝ) × TorusInverse.Plane} |
| 962 | (hz : z.1.1 ∈ ActualCarrierTransport.parameterDomain) |
| 963 | (hn : ActualCarrierTransport.associatedPoint z.1.1 z.2 ∉ ActualCoreSupport.refinedCarrier l n) : |
| 964 | let p := ActualParticularStageControls.canonicalParameters (l.2,l.1) |
| 965 | let a := p.copyData (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) |
| 966 | (StateReindex.block cycleAssoc.symm b) (StateReindex.blockCoefficients cycleAssoc.symm G) |
| 967 | (StateReindex.blockCoefficients cycleAssoc.symm A) j |
| 968 | (a.common.amplitude n =ᶠ[𝓝 z] fun _ => 0) ∧ |
| 969 | ((a.commonCorrected s p.directions).amplitude n =ᶠ[𝓝 z] fun _ => 0) ∧ |
| 970 | (a.common.pressure n =ᶠ[𝓝 z] fun _ => 0) ∧ |
| 971 | (a.globalGaussian p.directions n =ᶠ[𝓝 z] fun _ => 0) := by |
| 972 | have hns : (z.1.1,z.2) ∉ ActualGaussianCoverage.sourceRegion (refinedSlowCore l n) |
| 973 | (ActualCarrierTransport.geometry l n) ActualPrimary.slots.radius |
| 974 | (ActualCarrierTransport.referenceLength l) (ActualCarrierTransport.clock l n) := by |
| 975 | intro hh |
| 976 | exact hn ((refined_carrier_factorization hN l n z.1.1 hz z.2).mpr hh) |
| 977 | exact ⟨common_raw_zero_germ_of_factorization l (ActualCoreSupport.refinedCarrier l) |
| 978 | (refinedSlowCore l) (ActualCoreSupport.refinedCarrier_closed l) |
| 979 | (refined_carrier_factorization hN l) c u b G A hs j n hz hns, |
| 980 | copy_zero_germs_of_factorization l (ActualCoreSupport.refinedCarrier l) |
| 981 | (refinedSlowCore l) (ActualCoreSupport.refinedCarrier_closed l) |
| 982 | (refined_carrier_factorization hN l) c u b G A hs j s |
| 983 | (ActualParticularStageControls.canonicalParameters (l.2,l.1)).directions n hz hns⟩ |
| 984 | |
| 985 | /-- The literal recomputed signed request is allowed, so this is the |
| 986 | fixed cycle's exact block and Gaussian coefficient support. -/ |
| 987 | theorem cycle_refined_signed_inputSupport (x : CycleState (Index B N0)) (c : Context Point) |
| 988 | (l : Index B N0) : |
| 989 | HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 990 | (ActualCoreSupport.refinedCarrier l) |
| 991 | ((ActualCycleParameters.fixedParameters B N0).signedBlock x.coefficients c x.state l) |
| 992 | ((ActualCycleParameters.fixedParameters B N0).signedGaussianBlock x.coefficients c x.state l).velocity 0 := |
| 993 | refined_signed_inputSupport l ActualInitialization.geometry.strip |
| 994 | ((ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients c x.state) |
| 995 | |
| 996 | end ConcreteCarriers |
| 997 | |
| 998 | section ComputedFamily |
| 999 | |
| 1000 | variable {B N0 : ℕ} {σ κ : ℝ} |
| 1001 | {P : Index B N0 → ℕ → Point → ℝ} |
| 1002 | {carrier : Index B N0 → ℕ → Set Point} |
| 1003 | (x : CycleState (Index B N0)) |
| 1004 | (H : CycleAnalyticInvariant ActualInitialization.geometry (ActualPrimary.commonContext B) |
| 1005 | ActualInitialization.tangentBlock P carrier σ x) |
| 1006 | (hσ : 1 / 5 ≤ σ) |
| 1007 | (hpart : ∀ i j, LabelSumBounds.UniformWaveClass ActualInitialization.geometry.strip P (1/2+σ) |
| 1008 | (fun l n z => ((ActualCycleParameters.fixedParameters B N0).particularBlock x.coefficients |
| 1009 | (ActualPrimary.commonContext B) x.state l).velocity n i j z)) |
| 1010 | (htangent : ∀ i j, LabelSumBounds.UniformWaveClass ActualInitialization.geometry.strip P (1/2+σ-κ) |
| 1011 | (fun l n z => ((ActualCycleParameters.fixedParameters B N0).signedTangent x.coefficients |
| 1012 | (ActualPrimary.commonContext B) x.state l).velocity n i j z)) |
| 1013 | (hcurl : ∀ i j, LabelSumBounds.UniformWaveClass ActualInitialization.geometry.strip P (1+σ-2*κ) |
| 1014 | (fun l n z => ((ActualCycleParameters.fixedParameters B N0).signedCurl x.coefficients |
| 1015 | (ActualPrimary.commonContext B) x.state l).velocity n i j z)) |
| 1016 | (hP0 : ∀ l n z, z ∈ ActualInitialization.geometry.strip.domain → 0 ≤ P l n z) |
| 1017 | (hP1 : ∀ l n z, z ∈ ActualInitialization.geometry.strip.domain → P l n z ≤ 1) |
| 1018 | |
| 1019 | theorem primary_tangent_band (l : Index B N0) : (ActualInitialization.tangentBlock l).BandLimited 1 := |
| 1020 | PrimaryHarmonics.block_band _ _ _ |
| 1021 | |
| 1022 | /-- The family is the literal cycle constructor, using the current |
| 1023 | coefficients and the fixed primary choice. -/ |
| 1024 | noncomputable def family : |
| 1025 | LabelSumBounds.SignedFamily ActualInitialization.geometry.strip P |
| 1026 | (1/2) (17/25) (1/2+σ-κ) (1+σ-2*κ) := |
| 1027 | (ActualCycleParameters.fixedParameters B N0).signedFamily x.coefficients |
| 1028 | (ActualPrimary.commonContext B) x.state ActualInitialization.tangentBlock P hσ 1 |
| 1029 | primary_tangent_band H.bands H.carrier (ActualCycleParameters.invariant_fixedParameters_signed_carrier H) |
| 1030 | H.wave H.difference hpart htangent hcurl hP0 hP1 H.angular |
| 1031 | |
| 1032 | theorem inputSupport_mono {U : Set Point} {K T : ℕ → Set Point} |
| 1033 | {b : HarmonicBlock Point} {G A : HarmonicResidual.BlockCoefficients Point} |
| 1034 | (hs : HarmonicSourceSupport.InputSupportOn U K b G A) (hKT : ∀ n, K n ⊆ T n) : |
| 1035 | HarmonicSourceSupport.InputSupportOn U T b G A := by |
| 1036 | have hm {c : HarmonicFields.Coefficients Point} {n : ℕ} |
| 1037 | (hc : HarmonicSourceSupport.NonzeroSupportedOn U (K n) c) : |
| 1038 | HarmonicSourceSupport.NonzeroSupportedOn U (T n) c := by |
| 1039 | intro j hj z hz hn |
| 1040 | exact hc j hj z hz (fun hk => hn (hKT n hk)) |
| 1041 | exact ⟨fun n i => hm (hs.velocity n i), fun n => hm (hs.pressure n), |
| 1042 | fun n i => hm (hs.gaussian n i), fun n i => hm (hs.aliasError n i)⟩ |
| 1043 | |
| 1044 | include H in |
| 1045 | theorem old_supported (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 1046 | (hcarrier : ∀ l n, carrier l n ⊆ ActualInitialization.labelCarrier l n) : |
| 1047 | LabelSumBounds.SupportedOscillations ActualPrimary.slots label |
| 1048 | ActualPrimaryCovariance.physicalWindow ActualPrimaryCovariance.absoluteAuxiliary |
| 1049 | ActualInitialization.geometry.strip.domain (fun l => (x.coefficients.blocks l).oscillation) := |
| 1050 | supported_of_inputSupport hN _ x.coefficients.gaussian x.coefficients.aliasCoefficients |
| 1051 | (fun l => inputSupport_mono (H.inputSupport l) (hcarrier l)) H.zeroVelocity |
| 1052 | |
| 1053 | variable (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 1054 | (hcarrier : ∀ l n, carrier l n ⊆ ActualInitialization.labelCarrier l n) |
| 1055 | (hpartSupport : ∀ l, HarmonicSourceSupport.InputSupportOn ActualInitialization.geometry.domain |
| 1056 | (ActualInitialization.labelCarrier l) |
| 1057 | ((ActualCycleParameters.fixedParameters B N0).particularBlock x.coefficients |
| 1058 | (ActualPrimary.commonContext B) x.state l) |
| 1059 | ((ActualCycleParameters.fixedParameters B N0).particularGaussianBlock x.coefficients |
| 1060 | (ActualPrimary.commonContext B) x.state l).velocity 0) |
| 1061 | |
| 1062 | include hN hpartSupport in |
| 1063 | theorem particular_supported_of_inputSupport : |
| 1064 | LabelSumBounds.SupportedOscillations ActualPrimary.slots label |
| 1065 | ActualPrimaryCovariance.physicalWindow ActualPrimaryCovariance.absoluteAuxiliary |
| 1066 | ActualInitialization.geometry.strip.domain |
| 1067 | (fun l => ((ActualCycleParameters.fixedParameters B N0).particularBlock x.coefficients |
| 1068 | (ActualPrimary.commonContext B) x.state l).oscillation) := |
| 1069 | supported_of_inputSupport hN _ _ (fun _ => 0) hpartSupport |
| 1070 | (fun l => (ActualCycleParameters.fixedParameters B N0).particularBlock_zero |
| 1071 | x.coefficients (ActualPrimary.commonContext B) x.state l) |
| 1072 | |
| 1073 | /-- The geometric record uses the same fixed slots and the current |
| 1074 | finite label set. The particular support adapter is supplied below. -/ |
| 1075 | noncomputable def assemblyOfParticularSupport : |
| 1076 | SignedMeanGain.Assembly (family x H hσ hpart htangent hcurl hP0 hP1) where |
| 1077 | width := CoordinateAlgebra.D ActualPrimary.h |
| 1078 | exponent := ActualPrimary.h |
| 1079 | vr := ActualPrimary.radialVector |
| 1080 | vt := ActualPrimary.temporalVector |
| 1081 | slots := ActualPrimary.slots |
| 1082 | labels := x.coefficients.labels |
| 1083 | label := label |
| 1084 | injective n := (label_injective n).injOn |
| 1085 | level n l _ := label_level n l |
| 1086 | window := ActualPrimaryCovariance.physicalWindow |
| 1087 | window_continuous := ActualPrimaryCovariance.physicalWindow_continuousOn |
| 1088 | auxiliary := ActualPrimaryCovariance.absoluteAuxiliary |
| 1089 | primary_support := primary_supported |
| 1090 | old_support := by |
| 1091 | have hs := (old_supported x H hN hcarrier).add |
| 1092 | (particular_supported_of_inputSupport x hN hpartSupport) |
| 1093 | intro l n z hz θ i hn |
| 1094 | apply hs l n z hz θ i |
| 1095 | change (LabelSumBounds.addBlock (x.coefficients.blocks l) |
| 1096 | ((ActualCycleParameters.fixedParameters B N0).particularBlock x.coefficients |
| 1097 | (ActualPrimary.commonContext B) x.state l)).oscillation n (z, θ) i ≠ 0 at hn |
| 1098 | have hcar := (ActualCycleParameters.fixedParameters B N0).particular_carrier |
| 1099 | x.coefficients (ActualPrimary.commonContext B) x.state l |
| 1100 | rwa [LabelSumBounds.addBlock_oscillation _ _ |
| 1101 | ⟨hcar.frequency, hcar.phase, hcar.angular⟩] at hn |
| 1102 | tangent_support := tangent_supported hN ActualInitialization.geometry.strip |
| 1103 | ((ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients |
| 1104 | (ActualPrimary.commonContext B) x.state) |
| 1105 | curl_support := curl_supported hN ActualInitialization.geometry.strip |
| 1106 | ((ActualCycleParameters.fixedParameters B N0).signedRequest x.coefficients |
| 1107 | (ActualPrimary.commonContext B) x.state) |
| 1108 | |
| 1109 | theorem assemblyOfParticularSupport_labels : |
| 1110 | (assemblyOfParticularSupport x H hσ hpart htangent hcurl hP0 hP1 hN hcarrier hpartSupport).labels = |
| 1111 | x.coefficients.labels := rfl |
| 1112 | |
| 1113 | /-- The actual geometric constructor. Incoming primitive support is |
| 1114 | transported through the particular solve; signed support is proved above. -/ |
| 1115 | noncomputable def assembly : |
| 1116 | SignedMeanGain.Assembly (family x H hσ hpart htangent hcurl hP0 hP1) := |
| 1117 | assemblyOfParticularSupport x H hσ hpart htangent hcurl hP0 hP1 hN hcarrier |
| 1118 | (cycle_particular_inputSupport hN x (ActualPrimary.commonContext B) |
| 1119 | (fun l => inputSupport_mono (H.inputSupport l) (hcarrier l))) |
| 1120 | |
| 1121 | theorem assembly_labels : |
| 1122 | (assembly x H hσ hpart htangent hcurl hP0 hP1 hN hcarrier).labels = x.coefficients.labels := rfl |
| 1123 | |
| 1124 | theorem family_primary : |
| 1125 | (family x H hσ hpart htangent hcurl hP0 hP1).primary = ActualInitialization.tangentBlock := rfl |
| 1126 | |
| 1127 | theorem family_tangent : |
| 1128 | (family x H hσ hpart htangent hcurl hP0 hP1).tangent = |
| 1129 | (ActualCycleParameters.fixedParameters B N0).signedTangent x.coefficients |
| 1130 | (ActualPrimary.commonContext B) x.state := rfl |
| 1131 | |
| 1132 | /-- The two additional support predicates consumed by mean composition |
| 1133 | come from the same assembly and the same finite labels. -/ |
| 1134 | theorem assembly_supports : |
| 1135 | let a := assembly x H hσ hpart htangent hcurl hP0 hP1 hN hcarrier |
| 1136 | a.labels = x.coefficients.labels ∧ |
| 1137 | LabelSumBounds.SupportedOscillations a.slots a.label a.window a.auxiliary |
| 1138 | ActualInitialization.geometry.strip.domain (fun l => (x.coefficients.blocks l).oscillation) ∧ |
| 1139 | LabelSumBounds.SupportedOscillations a.slots a.label a.window a.auxiliary |
| 1140 | ActualInitialization.geometry.strip.domain |
| 1141 | (fun l => ((ActualCycleParameters.fixedParameters B N0).particularBlock x.coefficients |
| 1142 | (ActualPrimary.commonContext B) x.state l).oscillation) := by |
| 1143 | exact ⟨rfl, old_supported x H hN hcarrier, |
| 1144 | particular_supported_of_inputSupport x hN |
| 1145 | (cycle_particular_inputSupport hN x (ActualPrimary.commonContext B) |
| 1146 | (fun l => inputSupport_mono (H.inputSupport l) (hcarrier l)))⟩ |
| 1147 | |
| 1148 | end ComputedFamily |
| 1149 | |
| 1150 | end NavierStokes.ActualCycleAssembly |