theoremsmooth_fourier_matching_with_origin {s : Fin3→ℝ}
(hs : ∀x y : ℝ,(1/2)*(x^2+y^2) ≤ s 0*x^2+2*s 1*x*y+s 2*y^2)
{k : ℤ} (hk : k≠0) {a b pa pb : (Fin2→ℤ) →ℝ} {ABga gb : ℝ}
(hA : 0≤A) (hB : 0≤B) (ha : ∀ h,|a h|≤A) (hb : ∀ h,|b h|≤B)
(hga : 0<ga) (hgb : 0<gb)
(hra : ∀ h,a h≠0→ ga≤torusRate s h)
(hrb : ∀ h,b h≠0→ torusRate s ![0,k]+gb≤torusRate s h)
(hpb : pb ![0,k]=0) :
∃f g : ℝ×Coord3→ℝ,
ContDiffℝ (↑(⊤:ℕ∞)) f ∧ContDiffℝ (↑(⊤:ℕ∞)) g ∧
(∀ p,AngularPeriodic (2*Real.pi) (fun x => f (p,x))) ∧
(∀ p,AngularPeriodic (2*Real.pi) (fun x => g (p,x))) ∧
(∀ x,f (0,x)=0) ∧ (∀ x,g (0,x)=0) ∧
(∀ p∈Ioc0 (1/2),∀x : Coord3,x 0∈Icc06→
f (p,x)=flatFourier s (normalizedFourierCoefficients s 0 (10+1/p) a) pa x ∧
g (p,x)=flatFourier s (normalizedFourierCoefficients s (torusRate s ![0,k]) (10+1/p) b) pb x) ∧∀ε : ℝ,0<ε →∀ᶠ p in 𝓝 (0:ℝ),p∈Ioc0 (1/2) →∃H : Coord3→Mat3,ContDiffℝ (↑(⊤:ℕ∞)) H∧AngularPeriodic (2*Real.pi) H∧
tsupport H⊆{x | x 0∈Icc (1/2) (11/2)} ∧ (∀ x,(H x).IsSymm) ∧
(∀ x,‖H x‖≤ε) ∧∀ j x,0<x 0→
symmetricSource (fun y => flatBackgroundTensor s+H y) (fun y => fourierMatchingPair s k f g (p,y)) j x=0:=by
proof · 39
lines
obtain ⟨f,hfs,hfp,hfz,hfe⟩ := exists_smooth_periodic_normalized_tail
(lam:=0) (T0:=10) (δ:=1) (R:=7) (phase:=pa) hs hga hA ha (by norm_num)
(by simpa only [zero_add] using hra) (by norm_num)
obtain ⟨g,hgs,hgp,hgz,hge⟩ := exists_smooth_periodic_normalized_tail
(lam:=torusRate s ![0,k]) (T0:=10) (δ:=1) (R:=7) (phase:=pb) hs hgb hB hb (by norm_num)
hrb (by norm_num)
have hdata (p : ℝ) (hp : p∈Ioc0 (1/2)) (x : Coord3) (hx : x 0∈Icc06) :
f (p,x)=flatFourier s (normalizedFourierCoefficients s 0 (10+1/p) a) pa x ∧
g (p,x)=flatFourier s (normalizedFourierCoefficients s (torusRate s ![0,k]) (10+1/p) b) pb x :=byhavehx' : x 0∈Icc (-7:ℝ) 7:= ⟨by linarith [hx.1],by linarith [hx.2]⟩
constructor
· rw [hfe p hp x hx',flatFourier_normalized_translation]
· rw [hge p hp x hx',flatFourier_normalized_translation]
refine ⟨f,g,hfs,hgs,hfp,hgp,hfz 0 le_rfl,hgz 0 le_rfl,hdata,?_⟩
intro ε hε
have hlam := axial_torusRate_pos hs hk
have hcor := fourierMatchingFamily_correction hs hk hfs hgs hfp hgp (hfz 0 le_rfl) (hgz 0 le_rfl) hε
filter_upwards [hcor] with p hcor
intro hp
havehT : 0≤10+1/p :=byhave hpos := hp.1; positivity
let aa := normalizedFourierCoefficients s 0 (10+1/p) a
let bb := normalizedFourierCoefficients s (torusRate s ![0,k]) (10+1/p) b
havehaa : ∀ h,|aa h|≤A:= normalizedFourierCoefficients_bound ha hT
(fun h hh => hga.le.trans (hra h hh))
havehbb : ∀ h,|bb h|≤B:= normalizedFourierCoefficients_bound hb hT
(fun h hh =>by linarith [hrb h hh])
havehraa : ∀ h,aa h≠0→ ga≤torusRate s h :=by
intro h hh
exact hra h (fun hz => hh ((normalizedFourierCoefficients_zero_iff _ _ _ _ _).mpr hz))
havehrbb : ∀ h,bb h≠0→ torusRate s ![0,k]≤torusRate s h :=by
intro h hh
havehn : b h≠0:=fun hz => hh ((normalizedFourierCoefficients_zero_iff _ _ _ _ _).mpr hz)
linarith [hrb h hn]
have hff (x : Coord3) (hx : x 0∈Icc06) : f (p,x)=flatFourier s aa pa x := (hdata p hp x hx).1have hgg (x : Coord3) (hx : x 0∈Icc06) : g (p,x)=flatFourier s bb pb x := (hdata p hp x hx).2have hm := fourierMatchingResidual_moments hs k hfs hgs hfp hgp haa hbb hpb hga hlam hraa hrbb hff hgg
obtain ⟨H,hH,hHp,hHs,hHsy,hHr,hHb⟩ := hcor hm
refine ⟨H,hH,hHp,hHs,hHsy,hHb,?_⟩
exact fourierMatching_corrected_equation hs k hfs hgs haa hbb hpb hff hgg hH hHr