cfahlgren1/math / lean /OAI /NumberTheory /DirichletL /Inversion /InitialLargeFourier.lean
cfahlgren1's picture
download
raw
6.18 kB
import OAI.NumberTheory.DirichletL.Inversion.InitialLargePool
namespace OAI
noncomputable section
open scoped BigOperators Classical SchwartzMap FourierTransform ContDiff
open MeasureTheory FourierBridge ActualEisensteinCubic CompletedGauss CanonicalQuadraticSieve
open ConcretePrimeRowBridge FirstCauchyArithmetic SecondPassArithmetic FirstPassCubeLabels
namespace SevenEighths.InverseInitialLargeFourier
open InverseMoment InverseInitialCommonLists InverseInitialCommonRatios InverseInitialCommonProfile
open InverseInitialCommonCutoff InverseInitialCommonTuples InverseInitialOverlapFourier
open InverseInitialOverlapInputFourier InverseInitialRayAttachment InverseInitialArithmetic
open InverseInitialOverlap InverseInitialPoissonBridge InverseInitialKernelBridge
open InverseInitialEnergyCallerWindow
local notation "Eis"=>ActualEisensteinCubic.O
variable {σ:Type*} [DecidableEq σ]
open InverseInitialCommonTransform InverseInitialLargePool
theorem original_tuples_large_fourier
(W wFresh:ℝ→ℂ)(a₀ b₀:ℝ)(ha₀:0<a₀)
(hs:Function.support W⊆Set.Icc a₀ b₀)(hW:ContDiff ℝ ∞ W)
(I:Finset σ)(L:σ→Finset (Ideal Eis))(hL:∀i∈I,∀P∈L i,Prime P)
(a:σ→Ideal Eis→ℂ)(j:Ideal Eis)(hj0:j≠0)
(hP:∀q∈I.pi L,Admissible (j*survivingProduct I q))
(hcop:∀q∈I.pi L,Pairwise (Function.onFun IsCoprime (fun i:I=>q i.val i.property)))
(η:Ideal Eis→*ℂ)(u:Eis)(Z r z G:ℝ)(hZ:0<Z)(ell lo hi:σ→ℝ)
(hell:∑i∈I,ell i=z-G)(jlo jhi:ℝ)
(hj:((j.absNorm:ℝ)/Z^G)∈Set.Icc jlo jhi)
(ha:∀i∈I,∀q∈L i,a i q≠0→slotRatio Z ell i q∈Set.Icc (lo i) (hi i))
(hFresh:∀(v:σ→ℝ)(yj yc:ℝ),(∀i∈I,v i∈Set.Icc (lo i) (hi i))→
yj∈Set.Icc jlo jhi→0<yc→W (yj*yc/(∏i∈I,v i))≠0→wFresh yc=1)
(F:Finset (Ideal Eis))(hF:∀c∈F,Admissible c)
(hsub:tupleColumns (originalSource Z r b₀) (I.pi L)
(fun q:∀i∈I,Ideal Eis=>j*survivingProduct I q) j⊆F) :
let S := originalSource Z r b₀
let P := fun q:∀i∈I,Ideal Eis=>j*survivingProduct I q
letI : ∀i:primePool F,(Ideal.span {poolPrimary F i}).IsMaximal :=
fun i=>by rw [poolPrimary_span F hF i];infer_instance
(∑q∈I.pi L,(∏i∈I.attach,a i.val (q i.val i.property))*
residualNormalizedPolynomial S (P q) j η (fun _=>1) W Z r z G u)=
∫t:ℝ,density (CubicReflectionKernel.logSchwartz W a₀ b₀ ha₀ hs hW)
(Real.log ((j.absNorm:ℝ)/Z^G)) t*
(((Z^(-(r+z-2*G)/2):ℝ):ℂ)*inputConjugateRow
(poolPrimary F) (poolPrimary_good F hF) Finset.univ
(elementCharacter η) (primaryGenerator j) 1 1
(initialTest (poolPrimary F)
(primeMark I (fun i=>poolList F (L i))
(fun i q=>a i q.val*logPhase (-t) (Real.log (slotRatio Z ell i q.val))))
(childLogTest wFresh t) Z (r+z-2*G)) u) := by
intro S P
let : ∀i:primePool F,(Ideal.span {poolPrimary F i}).IsMaximal :=
fun i=>by rw [poolPrimary_span F hF i];infer_instance
have hjpos : 0<(j.absNorm:ℝ)/Z^G := by
apply div_pos _ (Real.rpow_pos_of_pos hZ G)
exact_mod_cast Nat.pos_of_ne_zero (fun h=>hj0 (Ideal.absNorm_eq_zero_iff.mp h))
let g := CubicReflectionKernel.logSchwartz W a₀ b₀ ha₀ hs hW
let H : Finset (primePool F)→ℝ→ℂ := fun A t=>density g (Real.log ((j.absNorm:ℝ)/Z^G)) t*
(primeMark I (fun i=>poolList F (L i))
(fun i q=>a i q.val*logPhase (-t) (Real.log (slotRatio Z ell i q.val))) A*
childLogTest wFresh t (((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G)))
have hHi (A:Finset (primePool F)) : Integrable (H A) := by
have hh := (common_profile_integrable g F I L a Z ell A
((j.absNorm:ℝ)/Z^G) (((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G))).const_mul
(wFresh (((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G)))
convert hh using 1
funext t
dsimp [H,childLogTest]
ring
have hpoint (A:Finset (primePool F)) :
(∑q∈I.pi L,(∏i∈I.attach,a i.val (q i.val i.property))*
(if residual (P q) j∣(∏i∈A,i.val) then residualOverlapWindow (P q) j W Z z G
(((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G)) else 0))=∫t:ℝ,H A t := by
dsimp only [P]
simp_rw [actual_residual_product I _ j hj0,original_residual_window I _ j hj0 ell W Z r z G hZ hell]
apply original_profile_point W wFresh a₀ b₀ ha₀ hs hW F I L hL a hcop Z hZ ell lo hi jlo jhi ha hFresh A
((j.absNorm:ℝ)/Z^G) (((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G)) hj hjpos
apply div_pos _ (Real.rpow_pos_of_pos hZ _)
exact_mod_cast Nat.pos_of_ne_zero (fun h=>(InitialMeanSquare.poolProduct_admissible F hF A).1
(Ideal.absNorm_eq_zero_iff.mp h))
rw [original_tuples_large_input W Z r z G b₀ hZ (fun x hx=>(hs hx).2) (I.pi L) P j hP (fun q _=>dvd_mul_right j _) F hF hsub η (fun q=>∏i∈I.attach,a i.val (q i.val i.property)) u]
change ((Z^(-(r+z-2*G)/2):ℝ):ℂ)*inputConjugateRow
(poolPrimary F) (poolPrimary_good F hF) Finset.univ
(elementCharacter η) (primaryGenerator j) 1 1
(fun A=>∑q∈I.pi L,(∏i∈I.attach,a i.val (q i.val i.property))*
(if residual (P q) j∣(∏i∈A,i.val) then residualOverlapWindow (P q) j W Z z G
(((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G)) else 0)) u = _
rw [show (fun A:Finset (primePool F)=>∑q∈I.pi L, (∏i∈I.attach,a i.val (q i.val i.property))* (if residual (P q) j∣(∏i∈A,i.val) then residualOverlapWindow (P q) j W Z z G (((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G)) else 0)) = (fun A=>∫t:ℝ,H A t) from funext hpoint]
rw [input_integral (poolPrimary F) (poolPrimary_good F hF) Finset.univ (elementCharacter η) (primaryGenerator j) u H (fun A _=>hHi A),←integral_const_mul]
apply integral_congr_ae
filter_upwards with t
dsimp only [H]
rw [initial_input_row (poolPrimary F) (poolPrimary_good F hF), initial_input_row (poolPrimary F) (poolPrimary_good F hF)]
unfold supportConjugateSum
simp only [Finset.mul_sum,initialTest,InitialMeanSquare.poolPrimary_norm F hF]
apply Finset.sum_congr rfl
intro A hA
ring
end SevenEighths.InverseInitialLargeFourier
end
end OAI

Xet Storage Details

Size:
6.18 kB
·
Xet hash:
042409e0de797ec41cb0ea8705ba999dfa329658da299b5bacb2fe01b26b7df1

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