cfahlgren1/math / lean /OAI /NumberTheory /DirichletL /Detector /GaussianRemoteRows.lean
cfahlgren1's picture
download
raw
6.75 kB
import OAI.NumberTheory.DirichletL.Detector.GaussianCrude
import OAI.NumberTheory.DirichletL.Detector.GaussianTailBudget
namespace OAI
noncomputable section
open scoped Classical SchwartzMap
open MeasureTheory CompletedGauss FourierBridge
namespace SevenEighths.ProbePhysical
open ProbeCompleted
local notation "O" => ActualEisensteinCubic.O
local notation "Id" => Ideal O
def gaussianCompletedFamilyIntegral {α ι : Type*} [Fintype ι]
(F : Finset α) (a : α→ℂ) (S : Finset Id) (D : α→Id) (Ψ : α→O→*ℂ)
(W : ι→ℝ→ℂ) (q : α→ι→ℝ) (V : SchwartzMap ℝ ℂ)
(hV : HasCompactSupport (V:ℝ→ℂ)) (T Z : ℝ) : ℂ :=
∫t : ℝ,(∑k∈F,a k*correctedCompletedT S (D k) (Ψ k)
(CompletedHeight.normTwistedSource gaussianFixedWindow t) T*
(∏i,W i (q k i)*logPhase (-t) (Real.log (q k i))))*gaussianJointDensity V hV (T/Z) t
def gaussianCompletedFamilyMass {α ι : Type*} [Fintype ι]
(F : Finset α) (a : α→ℂ) (W : ι→ℝ→ℂ) (q : α→ι→ℝ) : ℝ :=
∑k∈F,‖a k‖*∏i,‖W i (q k i)‖
lemma gaussianCompletedFamilyMass_nonneg {α ι : Type*} [Fintype ι]
(F : Finset α) (a : α→ℂ) (W : ι→ℝ→ℂ) (q : α→ι→ℝ) :
0≤gaussianCompletedFamilyMass F a W q := by
unfold gaussianCompletedFamilyMass
positivity
lemma gaussianCompletedFamily_integrable {α ι : Type*} [Fintype ι]
(F : Finset α) (a : α→ℂ) (S : Finset Id) (D : α→Id) (Ψ : α→O→*ℂ)
(W : ι→ℝ→ℂ) (q : α→ι→ℝ) (V : SchwartzMap ℝ ℂ)
(hV : HasCompactSupport (V:ℝ→ℂ)) (T Z : ℝ) (hT : 0<T) :
Integrable (fun t : ℝ=>(∑k∈F,a k*correctedCompletedT S (D k) (Ψ k)
(CompletedHeight.normTwistedSource gaussianFixedWindow t) T*
(∏i,W i (q k i)*logPhase (-t) (Real.log (q k i))))*gaussianJointDensity V hV (T/Z) t) := by
have hh := integrable_finsetSum F (fun k _=>(gaussian_selected_completed_integrable W (q k)
(gaussianJointDensity V hV (T/Z)) S (D k) (Ψ k) T hT).const_mul (a k))
simpa only [Finset.sum_mul,mul_assoc] using hh
theorem gaussianCompletedFamily_crude :
∃C : ℝ,0<C ∧ ∀{α ι : Type*} [Fintype ι],∀F : Finset α,∀a : α→ℂ,
∀S : Finset Id,∀D : α→Id,∀Ψ : α→O→*ℂ,
(∀k∈F,∀n,‖Ψ k n‖≤1)→∀W : ι→ℝ→ℂ,∀q : α→ι→ℝ,
∀V : SchwartzMap ℝ ℂ,∀hV : HasCompactSupport (V:ℝ→ℂ),∀T Z : ℝ,0<T→
‖gaussianCompletedFamilyIntegral F a S D Ψ W q V hV T Z‖≤
C*T^2*gaussianCompletedFamilyMass F a W q*gaussianJointMoment V hV 0 (T/Z) := by
obtain ⟨C,hC,hb⟩ := gaussianFixedWindow_completed_crude
refine ⟨C,hC,?_⟩
intro α ι _ F a S D Ψ hΨ W q V hV T Z hT
have hf := gaussianCompletedFamily_integrable F a S D Ψ W q V hV T Z hT
have hp (t : ℝ) :
‖(∑k∈F,a k*correctedCompletedT S (D k) (Ψ k)
(CompletedHeight.normTwistedSource gaussianFixedWindow t) T*
(∏i,W i (q k i)*logPhase (-t) (Real.log (q k i))))*gaussianJointDensity V hV (T/Z) t‖≤
(C*T^2*gaussianCompletedFamilyMass F a W q)*‖gaussianJointDensity V hV (T/Z) t‖ := by
rw [norm_mul]
apply mul_le_mul_of_nonneg_right _ (norm_nonneg _)
calc
_ ≤ ∑k∈F,‖a k*correctedCompletedT S (D k) (Ψ k)
(CompletedHeight.normTwistedSource gaussianFixedWindow t) T*
(∏i,W i (q k i)*logPhase (-t) (Real.log (q k i)))‖ := norm_sum_le _ _
_ ≤ ∑k∈F,‖a k‖*(C*T^2)*(∏i,‖W i (q k i)‖) := by
apply Finset.sum_le_sum
intro k hk
simp only [norm_mul,norm_prod,logPhase_norm,mul_one]
exact mul_le_mul_of_nonneg_right
(mul_le_mul_of_nonneg_left (hb S (D k) (Ψ k) (hΨ k hk) T t hT) (norm_nonneg _))
(Finset.prod_nonneg (fun _ _=>norm_nonneg _))
_ = _ := by unfold gaussianCompletedFamilyMass;rw [Finset.mul_sum];congr 1;funext k;ring
calc
_ ≤ ∫t : ℝ,‖(∑k∈F,a k*correctedCompletedT S (D k) (Ψ k)
(CompletedHeight.normTwistedSource gaussianFixedWindow t) T*
(∏i,W i (q k i)*logPhase (-t) (Real.log (q k i))))*gaussianJointDensity V hV (T/Z) t‖ :=
norm_integral_le_integral_norm _
_ ≤ ∫t : ℝ,(C*T^2*gaussianCompletedFamilyMass F a W q)*‖gaussianJointDensity V hV (T/Z) t‖ :=
integral_mono hf.norm ((gaussianJointDensity V hV (T/Z)).integrable.norm.const_mul _) hp
_ = _ := by simp only [integral_const_mul,gaussianJointMoment,pow_zero,one_mul]
theorem gaussianCompletedFamily_remote (V : SchwartzMap ℝ ℂ)
(hV : HasCompactSupport (V:ℝ→ℂ)) (N : ℕ) :
∃C : ℝ,0<C ∧ ∀{α ι : Type*} [Fintype ι],∀F : Finset α,∀a : α→ℂ,
∀S : Finset Id,∀D : α→Id,∀Ψ : α→O→*ℂ,
(∀k∈F,∀n,‖Ψ k n‖≤1)→∀W : ι→ℝ→ℂ,∀q : α→ι→ℝ,
∀Z A : ℝ,0<Z→1≤A→
Summable (fun j : ℕ=>if (2:ℝ)^j/Z≤A⁻¹ ∨ A≤(2:ℝ)^j/Z then
‖gaussianCompletedFamilyIntegral F a S D Ψ W q V hV ((2:ℝ)^j) Z‖ else 0) ∧
(∑'j : ℕ,if (2:ℝ)^j/Z≤A⁻¹ ∨ A≤(2:ℝ)^j/Z then
‖gaussianCompletedFamilyIntegral F a S D Ψ W q V hV ((2:ℝ)^j) Z‖ else 0)≤
C*gaussianCompletedFamilyMass F a W q*Z^2/A^N := by
obtain ⟨Cr,hCr,hr⟩ := gaussianCompletedFamily_crude
obtain ⟨Cg,hCg,hg⟩ := gaussianRemoteMoment_summed V hV 0 N 2 (by norm_num)
refine ⟨Cr*Cg,by positivity,?_⟩
intro α ι _ F a S D Ψ hΨ W q Z A hZ hA
obtain ⟨hs,ht⟩ := hg Z A hZ hA
let M := gaussianCompletedFamilyMass F a W q
have hM : 0≤M := gaussianCompletedFamilyMass_nonneg F a W q
have hb (j : ℕ) :
(if (2:ℝ)^j/Z≤A⁻¹ ∨ A≤(2:ℝ)^j/Z then
‖gaussianCompletedFamilyIntegral F a S D Ψ W q V hV ((2:ℝ)^j) Z‖ else 0)≤
(Cr*M)*gaussianRemoteMoment V hV 0 2 Z A j := by
unfold gaussianRemoteMoment
split_ifs
· simpa only [M,Real.rpow_two,mul_assoc,mul_comm,mul_left_comm] using
hr F a S D Ψ hΨ W q V hV ((2:ℝ)^j) Z (by positivity)
· simp
have hnon (j : ℕ) : 0≤(if (2:ℝ)^j/Z≤A⁻¹ ∨ A≤(2:ℝ)^j/Z then
‖gaussianCompletedFamilyIntegral F a S D Ψ W q V hV ((2:ℝ)^j) Z‖ else 0) := by split_ifs <;> positivity
have hsum := Summable.of_nonneg_of_le hnon hb (hs.mul_left (Cr*M))
refine ⟨hsum,?_⟩
calc
_ ≤ ∑'j : ℕ,(Cr*M)*gaussianRemoteMoment V hV 0 2 Z A j := hsum.tsum_le_tsum hb (hs.mul_left (Cr*M))
_ = (Cr*M)*∑'j : ℕ,gaussianRemoteMoment V hV 0 2 Z A j := tsum_mul_left
_ ≤ (Cr*M)*(Cg*Z^(2:ℝ)/A^N) := mul_le_mul_of_nonneg_left ht (mul_nonneg hCr.le hM)
_ = _ := by rw [Real.rpow_two];dsimp only [M];ring
end SevenEighths.ProbePhysical
end
end OAI

Xet Storage Details

Size:
6.75 kB
·
Xet hash:
800c8c12e80d49dc7c62a9841ab3d81294787563f1233b3a31984d86fc128c6f

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