| @@ -876,32 +876,6 @@ theorem covariance_weights_class |
| 876 | 876 | rw [normalizedMatrix_det, hz, mul_zero, abs_zero] at h |
| 877 | 877 | linarith |
| 878 | 878 | |
| 879 | | -/-- The primary square root retains the edge factor. Positivity is derived |
| 880 | | -from the positive edge weight and the order-zero lower bound. -/ |
| 881 | | -theorem covariance_amplitudes_class |
| 882 | | - {r : ℕ → ℝ} {H : ℕ → E → SmoothCovariance.Mat2} |
| 883 | | - {T : ℕ → E → SmoothCovariance.Vec2} {w : ℕ → E → ℝ} |
| 884 | | - (hr : PhaseJetBounds.PolynomialJets (phaseDomain s) (fun n _ => r n)) |
| 885 | | - (hrne : ∀ n, r n ≠ 0) |
| 886 | | - (hH : ∀ i j, PhaseJetBounds.PolynomialJets (phaseDomain s) (fun n x => H n x i j)) |
| 887 | | - (hT : ∀ i, MemClass s w 0 (fun n x => T n x i)) |
| 888 | | - {b M c : ℝ} (hb : 0 < b) (hM : 1 ≤ M) (hc : 0 < c) |
| 889 | | - (hdet : ∀ n x, x ∈ s.domain → b ≤ |(normalizedMatrix (r n) (H n x)).det|) |
| 890 | | - (hentry : ∀ n x, x ∈ s.domain → ∀ i j, |r n * H n x i j| ≤ M) |
| 891 | | - (hw : ∀ n x, x ∈ s.domain → 0 < w n x) |
| 892 | | - (hlower : ∀ n x, x ∈ s.domain → ∀ j, |
| 893 | | - c * w n x ≤ SmoothCovariance.weights (H n x) (T n x) j) |
| 894 | | - (j : Fin 2) : |
| 895 | | - MemClass s (fun n x => Real.sqrt (w n x)) 0 |
| 896 | | - (fun n x => SmoothCovariance.amplitudes (H n x) (T n x) j) := by |
| 897 | | - have hpos : ∀ n x, x ∈ s.domain → |
| 898 | | - 0 < SmoothCovariance.weights (H n x) (T n x) j := |
| 899 | | - fun n x hx => (mul_pos hc (hw n x hx)).trans_le (hlower n x hx j) |
| 900 | | - exact SignedCovariance.sqrt_class hw hpos |
| 901 | | - (covariance_weights_class hr hrne hH hT hb hM hdet hentry j) |
| 902 | | - (SignedCovariance.inverseControl_of_lower hpos hc 0 |
| 903 | | - (fun n x hx => by simpa only [pow_zero, div_one] using hlower n x hx j)) |
| 904 | | - |
| 905 | 879 | /-- The manuscript's normalization r=√S is a frozen polynomial family. -/ |
| 906 | 880 | theorem sqrt_slow_polynomial (s : StripData E) : |
| 907 | 881 | PhaseJetBounds.PolynomialJets (phaseDomain s) (fun n _ => Real.sqrt (s.slow n)) := by |
| @@ -921,54 +895,6 @@ open WeightedClasses |
| 921 | 895 | |
| 922 | 896 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 923 | 897 | |
| 924 | | -/-- The stripped coefficient uses exactly the positive inverse-weight |
| 925 | | -amplitude of the physical covariance construction. -/ |
| 926 | | -noncomputable def primaryCoefficient (s : StripData E) |
| 927 | | - (H : ℕ → E → SmoothCovariance.Mat2) (T : ℕ → E → SmoothCovariance.Vec2) |
| 928 | | - (mask : ℕ → E → ℝ) (v : ℕ → E → Space) (j : Fin 2) : |
| 929 | | - ℕ → E → HarmonicCalculus.ComplexVector := fun n x => |
| 930 | | - PartitionedCovariance.amplitude (s.epsilon n) (mask n x) (H n x) (T n x) j • |
| 931 | | - CurlClassBounds.complexify (v n x) |
| 932 | | - |
| 933 | | -/-- All stripped jets of the constructed amplitude retain √ζ P. The |
| 934 | | -half-power comes from the actual √ε factor, not a bound assumed on it. -/ |
| 935 | | -theorem primaryCoefficient_waveClass |
| 936 | | - {s : StripData E} {P : ℕ → E → ℝ} |
| 937 | | - {H : ℕ → E → SmoothCovariance.Mat2} {T : ℕ → E → SmoothCovariance.Vec2} |
| 938 | | - {mask : ℕ → E → ℝ} {v : ℕ → E → Space} |
| 939 | | - (hH : ∀ i j, PhaseJetBounds.PolynomialJets (phaseDomain s) (fun n x => H n x i j)) |
| 940 | | - (hT : ∀ i, MeanClass s 0 (fun n x => T n x i)) |
| 941 | | - (hmask : PhaseJetBounds.PolynomialJets (phaseDomain s) mask) |
| 942 | | - (hv : MemClass s P 0 v) |
| 943 | | - {b M c : ℝ} (hb : 0 < b) (hM : 1 ≤ M) (hc : 0 < c) |
| 944 | | - (hdet : ∀ n x, x ∈ s.domain → |
| 945 | | - b ≤ |(normalizedMatrix (Real.sqrt (s.slow n)) (H n x)).det|) |
| 946 | | - (hentry : ∀ n x, x ∈ s.domain → ∀ i j, |
| 947 | | - |Real.sqrt (s.slow n) * H n x i j| ≤ M) |
| 948 | | - (hζ : ∀ x, x ∈ s.domain → 0 < s.zeta x) |
| 949 | | - (hlower : ∀ n x, x ∈ s.domain → ∀ j, |
| 950 | | - c * s.zeta x ≤ SmoothCovariance.weights (H n x) (T n x) j) |
| 951 | | - (j : Fin 2) : WaveClass s P (1 / 2) (primaryCoefficient s H T mask v j) := by |
| 952 | | - have ha := covariance_amplitudes_class (sqrt_slow_polynomial s) |
| 953 | | - (fun n => (Real.sqrt_pos.mpr (zero_lt_one.trans_le (s.one_le_slow n))).ne') |
| 954 | | - hH hT hb hM hc hdet hentry (fun _ x hx => hζ x hx) hlower j |
| 955 | | - have ham : WaveClass s P 0 (fun n x => |
| 956 | | - SmoothCovariance.amplitudes (H n x) (T n x) j • CurlClassBounds.complexify (v n x)) := by |
| 957 | | - simpa only [zero_add] using ha.smul (hv.map CurlClassBounds.complexify) |
| 958 | | - have hm : WaveClass s P 0 (fun n x => mask n x • |
| 959 | | - (SmoothCovariance.amplitudes (H n x) (T n x) j • CurlClassBounds.complexify (v n x))) := by |
| 960 | | - simpa only [zero_add] using CurlClassBounds.class_mul_real (polynomial_memClass s hmask) ham |
| 961 | | - have hε : BandBound s (1 / 2) (fun n => Real.sqrt (s.epsilon n)) := by |
| 962 | | - simpa only [Real.sqrt_eq_rpow] using bandBound_rpow s (1 / 2) |
| 963 | | - apply CurlClassBounds.class_congr (show WaveClass s P (1 / 2) |
| 964 | | - (fun n x => Real.sqrt (s.epsilon n) • (mask n x • |
| 965 | | - (SmoothCovariance.amplitudes (H n x) (T n x) j • CurlClassBounds.complexify (v n x)))) from |
| 966 | | - by simpa only [zero_add] using hm.band_smul hε) |
| 967 | | - intro n x hx |
| 968 | | - simp only [primaryCoefficient, PartitionedCovariance.amplitude, smul_smul] |
| 969 | | - congr 1 |
| 970 | | - ring |
| 971 | | - |
| 972 | 898 | end PrimaryClass |
| 973 | 899 | |
| 974 | 900 | section EnvelopeAlgebra |
| @@ -1244,80 +1170,11 @@ theorem EnvelopeJets.polynomial_smul {D : PhaseJetBounds.Domain ι E} |
| 1244 | 1170 | (by positivity) (by positivity) (fun l hl => hm i l hl x hx) (hk i x hx) |
| 1245 | 1171 | _ = _ := by rw [pow_add]; ring |
| 1246 | 1172 | |
| 1247 | | -theorem EnvelopeJets.mono_weight {D : PhaseJetBounds.Domain ι E} |
| 1248 | | - {w v : ι → E → ℝ} {f : ι → E → F} (hf : EnvelopeJets D w f) |
| 1249 | | - (hvw : ∀ i x, x ∈ D.carrier i → w i x ≤ v i x) : EnvelopeJets D v f := by |
| 1250 | | - refine ⟨fun i x hx => (hf.nonneg i x hx).trans (hvw i x hx), hf.smooth, ?_⟩ |
| 1251 | | - intro N |
| 1252 | | - obtain ⟨C, hC, m, hm⟩ := hf.bound N |
| 1253 | | - refine ⟨C, hC, m, ?_⟩ |
| 1254 | | - intro i x hx j hj |
| 1255 | | - exact (hm i x hx j hj).trans (mul_le_mul_of_nonneg_left (hvw i x hx) |
| 1256 | | - (mul_nonneg (zero_le_one.trans hC) (pow_nonneg (zero_le_one.trans (D.one_le_scale i)) m))) |
| 1257 | | - |
| 1258 | 1173 | private theorem jet_eq_of_eventuallyEq {f g : E → F} {x : E} |
| 1259 | 1174 | (h : f =ᶠ[𝓝 x] g) (j : ℕ) : iteratedFDeriv ℝ j f x = iteratedFDeriv ℝ j g x := by |
| 1260 | 1175 | have h' : f =ᶠ[𝓝[univ] x] g := by simpa using h |
| 1261 | 1176 | simpa only [iteratedFDerivWithin_univ] using h'.iteratedFDerivWithin_eq h.eq_of_nhds j |
| 1262 | 1177 | |
| 1263 | | -/-- A compactly contained cutoff extends the actual slot solution with all |
| 1264 | | -jets. No smoothness of the uncut solution outside the slot is used. -/ |
| 1265 | | -theorem EnvelopeJets.localize {D D' : PhaseJetBounds.Domain ι E} |
| 1266 | | - {w : ι → E → ℝ} {f : ι → E → F} {a : ι → E → ℝ} |
| 1267 | | - (hf : EnvelopeJets D w f) (ha : PhaseJetBounds.PolynomialJets D' a) |
| 1268 | | - (hscale : ∀ i, D.scale i = D'.scale i) (hsub : ∀ i, D.carrier i ⊆ D'.carrier i) |
| 1269 | | - (hw : ∀ i x, x ∈ D'.carrier i → 0 ≤ w i x) |
| 1270 | | - (hsupport : ∀ i, tsupport (a i) ∩ D'.carrier i ⊆ D.carrier i) : |
| 1271 | | - EnvelopeJets D' w (fun i x => a i x • f i x) := by |
| 1272 | | - have hasmall : PhaseJetBounds.PolynomialJets D a := by |
| 1273 | | - apply ((EnvelopeJets.of_polynomial ha).restrict (D' := D) |
| 1274 | | - (fun i => (hscale i).symm) hsub).to_polynomial |
| 1275 | | - intro i x hx |
| 1276 | | - rfl |
| 1277 | | - have hp := hf.polynomial_smul hasmall |
| 1278 | | - have hout (i) (x) (hx : x ∈ D'.carrier i) (hn : x ∉ D.carrier i) : |
| 1279 | | - (fun y => a i y • f i y) =ᶠ[𝓝 x] fun _ => (0 : F) := by |
| 1280 | | - have hn' : x ∉ tsupport (a i) := fun h => hn (hsupport i ⟨h, hx⟩) |
| 1281 | | - filter_upwards [notMem_tsupport_iff_eventuallyEq.mp hn'] with y hy |
| 1282 | | - simp only [hy, Pi.zero_apply, zero_smul] |
| 1283 | | - refine ⟨hw, ?_, ?_⟩ |
| 1284 | | - · intro i x hx |
| 1285 | | - by_cases hn : x ∈ D.carrier i |
| 1286 | | - · exact ((hp.smooth i).contDiffAt ((D.isOpen i).mem_nhds hn)).contDiffWithinAt |
| 1287 | | - · exact (contDiffAt_const.congr_of_eventuallyEq (hout i x hx hn)).contDiffWithinAt |
| 1288 | | - · intro N |
| 1289 | | - obtain ⟨C, hC, m, hm⟩ := hp.bound N |
| 1290 | | - refine ⟨C, hC, m, ?_⟩ |
| 1291 | | - intro i x hx j hj |
| 1292 | | - by_cases hn : x ∈ D.carrier i |
| 1293 | | - · simpa only [hscale i] using hm i x hn j hj |
| 1294 | | - · rw [jet_eq_of_eventuallyEq (hout i x hx hn) j] |
| 1295 | | - have hz : ‖iteratedFDeriv ℝ j (fun _ : E => (0 : F)) x‖ = 0 := by |
| 1296 | | - cases j with |
| 1297 | | - | zero => simp only [norm_iteratedFDeriv_zero, norm_zero] |
| 1298 | | - | succ j => simp only [iteratedFDeriv_succ_const, Pi.zero_apply, norm_zero] |
| 1299 | | - rw [hz] |
| 1300 | | - exact mul_nonneg (mul_nonneg (zero_le_one.trans hC) |
| 1301 | | - (pow_nonneg (zero_le_one.trans (D'.one_le_scale i)) m)) (hw i x hx) |
| 1302 | | - |
| 1303 | | -/-- All profile jets are obtained from the constructed compact smooth bump. -/ |
| 1304 | | -theorem profile_linear_polynomial (D : PhaseJetBounds.Domain ι E) (L : E →L[ℝ] ℝ) : |
| 1305 | | - PhaseJetBounds.PolynomialJets D (fun _ x => GaussianTailFlat.profile (L x)) := by |
| 1306 | | - let R : PhaseJetBounds.Domain ι ℝ := { |
| 1307 | | - scale := D.scale |
| 1308 | | - carrier := fun _ => univ |
| 1309 | | - isOpen := fun _ => isOpen_univ |
| 1310 | | - one_le_scale := D.one_le_scale } |
| 1311 | | - have hp : PhaseJetBounds.PolynomialJets R (fun _ => GaussianTailFlat.profile) := by |
| 1312 | | - refine ⟨fun _ => GaussianTailFlat.profile_contDiff.contDiffOn, ?_⟩ |
| 1313 | | - intro N |
| 1314 | | - obtain ⟨C, hC, hc⟩ := GaussianTailFlat.finite_jet_bounds GaussianTailFlat.profile_jet_bounded N |
| 1315 | | - refine ⟨C + 1, by linarith, 0, ?_⟩ |
| 1316 | | - intro i j hj x hx |
| 1317 | | - simpa only [pow_zero, mul_one] using (hc j hj x).trans (le_add_of_nonneg_right zero_le_one) |
| 1318 | | - simpa only [add_zero] using hp.precomp_affine (D := D) L (fun _ => 0) (fun _ => rfl) |
| 1319 | | - (fun _ _ _ => mem_univ _) |
| 1320 | | - |
| 1321 | 1178 | end Localization |
| 1322 | 1179 | |
| 1323 | 1180 | section CutoffPulse |
| @@ -1328,50 +1185,6 @@ noncomputable def cutoffPulse (d : PrimaryODE.FrameData Q) (lam u L : ℝ) |
| 1328 | 1185 | (z : Q × ℝ) : Space := |
| 1329 | 1186 | GaussianTailFlat.profile z.2 • normalizedPulse d lam u L z |
| 1330 | 1187 | |
| 1331 | | -omit [NormedSpace ℝ Q] in |
| 1332 | | -theorem profile_tsupport_slot : |
| 1333 | | - tsupport (fun z : Q × ℝ => GaussianTailFlat.profile z.2) ⊆ |
| 1334 | | - {z : Q × ℝ | z.2 ∈ Ioo (0 : ℝ) 1} := by |
| 1335 | | - have hcl : tsupport (fun z : Q × ℝ => GaussianTailFlat.profile z.2) ⊆ |
| 1336 | | - {z : Q × ℝ | z.2 ∈ Icc (1 / 10 : ℝ) (9 / 10)} := by |
| 1337 | | - apply closure_minimal _ (isClosed_Icc.preimage continuous_snd) |
| 1338 | | - intro z hz |
| 1339 | | - exact ⟨(profile_support_covariance_interval hz).1.le, |
| 1340 | | - (profile_support_covariance_interval hz).2⟩ |
| 1341 | | - intro z hz |
| 1342 | | - obtain ⟨hl, hr⟩ := hcl hz |
| 1343 | | - constructor <;> linarith |
| 1344 | | - |
| 1345 | | -/-- The actual cutoff pulse has global slot-coordinate jets with the |
| 1346 | | -zero-extended Gaussian envelope. This is the form used in physical charts. -/ |
| 1347 | | -theorem cutoffPulse_envelope_jets |
| 1348 | | - (D : PhaseJetBounds.Domain ι Q) (d : ι → PrimaryODE.FrameData Q) (lam u L : ι → ℝ) |
| 1349 | | - (hp : EnvelopeJets (productDomain D (fun _ => Ioo (0 : ℝ) 1) (fun _ => isOpen_Ioo)) |
| 1350 | | - (fun i z => referenceP (lam i) (u i) (L i) (L i * z.2)) |
| 1351 | | - (fun i => normalizedPulse (d i) (lam i) (u i) (L i))) : |
| 1352 | | - EnvelopeJets (productDomain D (fun _ => (univ : Set ℝ)) (fun _ => isOpen_univ)) |
| 1353 | | - (fun i z => GaussianTailFlat.referenceSlotEnvelope (lam i) (u i) (L i) z.2) |
| 1354 | | - (fun i => cutoffPulse (d i) (lam i) (u i) (L i)) := by |
| 1355 | | - have hweight : ∀ i (z : Q × ℝ), |
| 1356 | | - 0 ≤ GaussianTailFlat.referenceSlotEnvelope (lam i) (u i) (L i) z.2 := by |
| 1357 | | - intro i z |
| 1358 | | - unfold GaussianTailFlat.referenceSlotEnvelope |
| 1359 | | - split_ifs |
| 1360 | | - · exact (GaussianEnvelope.envelope_pos _ _ _).le |
| 1361 | | - · rfl |
| 1362 | | - have hp' := hp.mono_weight (v := fun i z => |
| 1363 | | - GaussianTailFlat.referenceSlotEnvelope (lam i) (u i) (L i) z.2) (by |
| 1364 | | - intro i z hz |
| 1365 | | - rw [GaussianTailFlat.referenceSlotEnvelope, ite_eq_left ⟨hz.2.1.le, hz.2.2.le⟩] |
| 1366 | | - rfl) |
| 1367 | | - apply hp'.localize |
| 1368 | | - (profile_linear_polynomial |
| 1369 | | - (productDomain D (fun _ => (univ : Set ℝ)) (fun _ => isOpen_univ)) |
| 1370 | | - (ContinuousLinearMap.snd ℝ Q ℝ)) (fun _ => rfl) |
| 1371 | | - (fun _ z hz => ⟨hz.1, mem_univ _⟩) (fun i z _ => hweight i z) |
| 1372 | | - intro i z hz |
| 1373 | | - exact ⟨hz.2.1, profile_tsupport_slot hz.1⟩ |
| 1374 | | - |
| 1375 | 1188 | end CutoffPulse |
| 1376 | 1189 | |
| 1377 | 1190 | section PhaseInstantiation |
| @@ -1443,14 +1256,6 @@ noncomputable def chartCovariance |
| 1443 | 1256 | (lam u L : Fin 2 → ℕ → ℝ) (χ : ℕ → E → Q × ℝ) : |
| 1444 | 1257 | ℕ → E → SmoothCovariance.Mat2 := fun n x => primaryCovariance pref d lam u L n (χ n x).1 |
| 1445 | 1258 | |
| 1446 | | -noncomputable def primaryWave (s : StripData E) |
| 1447 | | - (pref : Fin 2 → ℕ → ℝ) (d : Fin 2 → ℕ → PrimaryODE.FrameData Q) |
| 1448 | | - (lam u L : Fin 2 → ℕ → ℝ) (χ : ℕ → E → Q × ℝ) |
| 1449 | | - (T : ℕ → E → SmoothCovariance.Vec2) (mask : ℕ → E → ℝ) (c : Fin 2) : |
| 1450 | | - ℕ → E → HarmonicCalculus.ComplexVector := |
| 1451 | | - primaryCoefficient s (chartCovariance pref d lam u L χ) T mask |
| 1452 | | - (fun n x => cutoffPulse (d c n) (lam c n) (u c n) (L c n) (χ n x)) c |
| 1453 | | - |
| 1454 | 1259 | end ChartAssembly |
| 1455 | 1260 | |
| 1456 | 1261 | section PhaseConstruction |
| @@ -1545,18 +1350,6 @@ theorem PhaseConstruction.normal_range {D : Domain ι Slow} (p : PhaseConstructi |
| 1545 | 1350 | |
| 1546 | 1351 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1547 | 1352 | |
| 1548 | | -noncomputable def phaseCovariance {D : Domain ℕ Slow} (F : Fin 2 → PhaseConstruction D) |
| 1549 | | - (pref : Fin 2 → ℕ → ℝ) : ℕ → Slow → SmoothCovariance.Mat2 := |
| 1550 | | - primaryCovariance pref (fun c => (F c).frame) (fun c => (F c).lam) |
| 1551 | | - (fun c => (F c).u) (fun c => (F c).L) |
| 1552 | | - |
| 1553 | | -noncomputable def phaseWave (s : StripData E) {D : Domain ℕ Slow} |
| 1554 | | - (F : Fin 2 → PhaseConstruction D) (pref : Fin 2 → ℕ → ℝ) |
| 1555 | | - (χ : ℕ → E → Slow × ℝ) (T : ℕ → E → SmoothCovariance.Vec2) |
| 1556 | | - (mask : ℕ → E → ℝ) (c : Fin 2) : ℕ → E → HarmonicCalculus.ComplexVector := |
| 1557 | | - primaryWave s pref (fun c => (F c).frame) (fun c => (F c).lam) |
| 1558 | | - (fun c => (F c).u) (fun c => (F c).L) χ T mask c |
| 1559 | | - |
| 1560 | 1353 | end PhaseConstruction |
| 1561 | 1354 | |
| 1562 | 1355 | section LocalProfiles |
| @@ -1820,14 +1613,6 @@ open WeightedClasses |
| 1820 | 1613 | variable {Q E : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 1821 | 1614 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 1822 | 1615 | |
| 1823 | | -noncomputable def uncutPrimaryWave (s : StripData E) |
| 1824 | | - (pref : Fin 2 → ℕ → ℝ) (d : Fin 2 → ℕ → PrimaryODE.FrameData Q) |
| 1825 | | - (lam u L : Fin 2 → ℕ → ℝ) (χ : ℕ → E → Q × ℝ) |
| 1826 | | - (T : ℕ → E → SmoothCovariance.Vec2) (mask : ℕ → E → ℝ) (c : Fin 2) : |
| 1827 | | - ℕ → E → HarmonicCalculus.ComplexVector := |
| 1828 | | - primaryCoefficient s (chartCovariance pref d lam u L χ) T mask |
| 1829 | | - (fun n x => normalizedPulse (d c n) (lam c n) (u c n) (L c n) (χ n x)) c |
| 1830 | | - |
| 1831 | 1616 | end CutoffFactorization |
| 1832 | 1617 | |
| 1833 | 1618 | end NavierStokes.PrimaryPulseBounds |