cfahlgren1/math / lean /OAI /NumberTheory /DirichletL /Dictionary /InverseUniformLog.lean
cfahlgren1's picture
download
raw
3.84 kB
import OAI.NumberTheory.DirichletL.Moments.DetectorDictionaryUniformHeight
import OAI.NumberTheory.DirichletL.Hecke.InverseAmplificationRowwise
namespace OAI
noncomputable section
open scoped Classical BigOperators SchwartzMap ContDiff ComplexConjugate
open Set
namespace SevenEighths.DetectorDictionaryInverseUniform
open HeckeInverseAmplification HeckeDetectorCoefficientTransfer HeckeDetectorDyadicProfiles
open HeckeDetectorRowwisePolynomial CenteredMomentDetectorDictionary
lemma logTest_apply (W : ℝ→ℂ) (n : ℕ) (x : ℝ) :
logTest W n x=(Real.log x:ℂ)^n*W x := by
induction n with
| zero => simp [logTest]
| succ n ih => simp only [logTest,logProfile,ih,pow_succ];ring
def baseProfile (reverse : Bool) (n : ℕ) (V W : ℝ→ℂ) (R : ℝ) : ℝ→ℂ :=
logTest (orientedProfile reverse (ratioProfile V W R)) n
lemma baseProfile_support (reverse : Bool) (n : ℕ) (V W : ℝ→ℂ) (R : ℝ) :
Function.support (baseProfile reverse n V W R)⊆Function.support W := by
apply (logTest_support _ _).trans
cases reverse
· exact ratioProfile_support V W R
· rw [orientedProfile,ite_eq_left rfl,conjugate_profile_support]
exact ratioProfile_support V W R
lemma baseProfile_smooth (reverse : Bool) (n : ℕ) (V W : ℝ→ℂ) (R a b : ℝ)
(ha : 0<a) (hV : ContDiff ℝ ∞ V) (hW : ContDiff ℝ ∞ W)
(hs : Function.support W⊆Icc a b) : ContDiff ℝ ∞ (baseProfile reverse n V W R) := by
apply logTest_smooth _ n a b ha
· cases reverse
· exact (ratioProfile_support V W R).trans hs
· rw [orientedProfile,ite_eq_left rfl,conjugate_profile_support]
exact (ratioProfile_support V W R).trans hs
· have hv : ContDiff ℝ ∞ (ratioProfile V W R) :=
(hV.comp (by fun_prop)).mul hW
cases reverse
· exact hv
· exact conjugate_profile_smooth _ hv
def inverseLogFamily (reverse : Bool) (n : ℕ) (V W : ℝ→ℂ) (p : ℝ×ℝ) (x : ℝ) : ℂ :=
Real.exp (-p.1*x) • ((x:ℂ)^n*
(orientedProfile reverse V (p.2*Real.exp x)*orientedProfile reverse W (Real.exp x)))
lemma inverseLogFamily_smooth (reverse : Bool) (n : ℕ) (V W : ℝ→ℂ)
(hV : ContDiff ℝ ∞ V) (hW : ContDiff ℝ ∞ W) :
ContDiff ℝ ∞ (Function.uncurry (inverseLogFamily reverse n V W)) := by
have hv : ContDiff ℝ ∞ (orientedProfile reverse V) := by
cases reverse
· exact hV
· exact conjugate_profile_smooth _ hV
have hw : ContDiff ℝ ∞ (orientedProfile reverse W) := by
cases reverse
· exact hW
· exact conjugate_profile_smooth _ hW
unfold inverseLogFamily Function.uncurry
exact (by fun_prop : ContDiff ℝ ∞ (fun p : (ℝ×ℝ)×ℝ=>Real.exp (-p.1.1*p.2))).smul
(((Complex.ofRealCLM.contDiff.comp (contDiff_snd : ContDiff ℝ ∞ (fun p : (ℝ×ℝ)×ℝ=>p.2))).pow n).mul
((hv.comp (by fun_prop)).mul (hw.comp (by fun_prop))))
lemma inverseLogFamily_eq (reverse : Bool) (n : ℕ) (V W : ℝ→ℂ) (p : ℝ×ℝ) (x : ℝ) :
inverseLogFamily reverse n V W p x=realInterpolatedLog (baseProfile reverse n V W p.2) p x := by
unfold inverseLogFamily realInterpolatedLog baseProfile
rw [logTest_apply,Real.log_exp]
cases reverse <;> simp [orientedProfile,ratioProfile,map_mul]
lemma inverseLogFamily_support (reverse : Bool) (n : ℕ) (V W : ℝ→ℂ) (a b : ℝ)
(ha : 0<a) (hs : Function.support W⊆Icc a b) (p : ℝ×ℝ) :
Function.support (inverseLogFamily reverse n V W p)⊆Icc (-(|Real.log a|+|Real.log b|)) (|Real.log a|+|Real.log b|) := by
have he : inverseLogFamily reverse n V W p=realInterpolatedLog (baseProfile reverse n V W p.2) p :=
funext (inverseLogFamily_eq reverse n V W p)
rw [he]
exact realInterpolatedLog_support _ a b ha ((baseProfile_support reverse n V W p.2).trans hs) p
end SevenEighths.DetectorDictionaryInverseUniform
end
end OAI

Xet Storage Details

Size:
3.84 kB
·
Xet hash:
b1c265577f461102e01534ec202ca41d02d3f672921665186377aa3d7b1a3981

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.