math / data /lean /OAI /NumberTheory /TwoPoint /Fourier /MajorArcPerturbedSharp.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.56 kB
import OAI.NumberTheory.TwoPoint.Fourier.MajorArcRationalSharp
import OAI.NumberTheory.TwoPoint.Fourier.MajorArcReduction
namespace OAI
/-! Preserve the square-root modulus loss through partial summation.
The estimates for shorter intervals remain explicit. -/
namespace TwoPointCorrelations
open Finset
theorem major_arc_typical_perturbed_sharp {ΞΉ : Type*} (J : Finset ΞΉ)
(P : ΞΉ β†’ Finset β„•) (hP : βˆ€ j ∈ J, βˆ€ p ∈ P j, p.Prime)
(F : β„• β†’ β„‚) (hFm : βˆ€ a b, 0 < a β†’ 0 < b β†’ F (a*b)=F a*F b) (hF : OneBounded F)
(q : β„•) (hq : 0 < q) (r : β„€) (X H : β„•) (hH : 0 < H)
(A : ℝ) (hA : 0 ≀ A) (Ξ² : ℝ)
(havoid : βˆ€ d ∈ q.divisors, mrtPrimeAvoids (J.biUnion P) d)
(hshort : βˆ€ h : β„•, 1 ≀ h β†’ h ≀ H β†’
βˆ€ d : {d : β„• // d ∈ q.divisors}, βˆ€ Ο‡ : DirichletCharacter β„‚ (q/d.val),
(d.val:ℝ)*shortExponentialIntegral (mrtTypicalCoefficient J P (twistByCharacter F Ο‡))
(X/d.val+1) (h/d.val+1) 0 ≀ A/(d.val:ℝ)) :
shortExponentialIntegral (mrtTypicalCoefficient J P F) X H ((r:ℝ)/q+Ξ²) ≀
(1+2*Real.pi*|Ξ²| *H)*Real.sqrt (q:ℝ)*((1+Real.log q)*A+(q:ℝ)*X) := by
have hq1 : (1:ℝ) ≀ q := by exact_mod_cast hq
have hK : 0 ≀ Real.sqrt (q:ℝ)*((1+Real.log q)*A+(q:ℝ)*X) := by
have hl := Real.log_nonneg hq1
positivity
have hh := major_arc_integral_perturbation_uniform (mrtTypicalCoefficient J P F)
X H hH ((r:ℝ)/q) Ξ² _ hK (fun h hh hhH =>
major_arc_typical_rational_sharp J P hP F hFm hF q hq r X h A hA havoid (hshort h hh hhH))
simpa only [mul_assoc] using hh
lemma major_arc_twist_complete {q : β„•} (F : β„• β†’ β„‚)
(hF : βˆ€ a b, 0 < a β†’ 0 < b β†’ F (a*b)=F a*F b)
(Ο‡ : DirichletCharacter β„‚ q) :
βˆ€ a b, 0 < a β†’ 0 < b β†’ twistByCharacter F Ο‡ (a*b)=twistByCharacter F Ο‡ a*twistByCharacter F Ο‡ b := by
intro a b ha hb
simp only [twistByCharacter,hF a b ha hb,Nat.cast_mul,map_mul]
ring
lemma major_arc_divisor_distance {F : β„• β†’ β„‚} {X H : β„•} {M : ℝ}
(hd : MRTDistanceLowerBound F X H M) (q : β„•) (hq : 0 < q)
(hqmax : (q:ℝ) ≀ mrtModulusCutoff X H)
(d : {d : β„• // d ∈ q.divisors}) (Ο‡ : DirichletCharacter β„‚ (q/d.val))
(t : ℝ) (ht : |t| ≀ X) :
M ≀ squaredDistance (twistByCharacter F Ο‡) (mrtArchimedeanTwist t) X := by
apply hd.major_arc_character (q/d.val) (major_arc_divisor_quotient_pos hq d) _ Ο‡ t ht
exact (show ((q/d.val:β„•):ℝ) ≀ q by exact_mod_cast Nat.div_le_self q d.val).trans hqmax
end TwoPointCorrelations
end OAI