Download lean/OAI/NumberTheory/CubicMoment/Angular/AngularBalancedUnsplitNeighborhood.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
theoremangular_balanced_unsplit_tuple_neighborhood (hpub : PrimitiveAngularHeckeInput)
(hHuxley : HuxleyAdditiveLargeSieve)
(V : ℝ→ℂ) (hV : HasCompactSupportV) (hpos : tsupport V⊆Ioi0)
(hsm : ContDiffℝ∞V) (hVlo : ∀ x, x < 1→V x = 0)
(hVhi : ∀ x, 2 < x →V x = 0)
(hGI : ∀m : ℕ, GammaInverseFiniteOrder (1/2-(m:ℝ)+|(ℓ:ℝ)|/2) (2+|(ℓ:ℝ)|/2))
(hGQ : ∀m : ℕ, AngularGammaQuotientStripBound (|(ℓ:ℝ)|/2) (1/2-(m:ℝ))) :
∃κ : ℝ, 0 < κ ∧ κ ≤1/10000∧∃ε : ℝ, 0 < ε ∧∃Y₀ : ℝ, ∀ (FY : ℝ)
(A : ι →EisensteinArithmeticFunction) (q : ι →Eisenstein)
(η : (i : ι) →MulChar (Residues (q i)) ℂ) (t : ι →ℝ) (P : Finset (Eisenstein×Eisenstein)),
Y₀≤Y→F≤2*Y→ (∀ i, ShortArithmeticFactorF (A i)) →
(∀ i, q i ≠0) → (∀ i, AngularUnitCompatible (q i) (η i) ℓ) →
(∀ i, norm (q i) ≤Y^(1/100000:ℝ)) → (∀ i, |t i| ≤Y^(361/1000:ℝ)) →
(∀ a ∈P, PrimarySquarefreePair a ∧ norm a.1≤Y^(1/3+κ) ∧
norm a.2≤Y^(1/3+κ) ∧Y^(1/1000:ℝ) ≤ norm a.1) →
(∑ a ∈P, ‖primaryAngularUnsplitTuple ℓ A (a : Eisenstein×Eisenstein).1 (a : Eisenstein×Eisenstein).2 q η t VY‖^2) ≤Y^(7/3-ε) :=by
proof · 49
lines
letD : ℝ:=2^(Fintype.card ι+1)
havehD1 : 1≤D:= one_le_pow₀ (by norm_num)
havehD2 : 2≤D:=by
dsimp [D]
rw [pow_succ]
have h := one_le_pow₀ (show (1:ℝ) ≤2by norm_num) (n :=Fintype.card ι)
linarith
havehD : 0 < D:= zero_lt_one.trans_le hD1
obtain ⟨κ,hκ,hκhi,ε,hε,T,hw⟩ := angular_balanced_weighted_tuple_neighborhood (ι := ι) hpub ℓ hHuxley V hV hpos hsm hGI hGQ hD
obtain ⟨T₁,hT₁,hpart⟩ := norm_partition_moment_power (ι := ι) hε
refine ⟨κ,hκ,hκhi,ε/2,by positivity,max TT₁,?_⟩
intro FYA q η t P hY hF hA hq hη hqY ht hP
havehYT : T≤Y:= (le_max_left _ _).trans hY
havehYT₁ : T₁≤Y:= (le_max_right _ _).trans hY
havehY1 : 1≤Y:= hT₁.trans hYT₁
havehYp : 0 < Y:= zero_lt_one.trans_le hY1
letf : (ι →Fin (normPartitionCount (2*Y))) →P→ℂ:=fun k a =>
primaryAngularShortTupleSum ℓ (fun i => (4/3:ℝ)^(k i).val) A (a : Eisenstein×Eisenstein).1 (a : Eisenstein×Eisenstein).2 q η
(fun _ => normPartitionWeight) t VYhave hf (k : ι →Fin (normPartitionCount (2*Y))) : (∑a : P, ‖f k a‖^2) ≤Y^(7/3-ε) :=byby_cases hg : Y≤ (∏ i, (4/3:ℝ)^(k i).val) ∧ (∏ i, (4/3:ℝ)^(k i).val) ≤D*Y
· have h := hw FY (fun i => (4/3:ℝ)^(k i).val) A q η t PY hYT
(hF.trans (mul_le_mul_of_nonneg_right hD2 hYp.le)) hA
(fun i => one_le_pow₀ (by norm_num)) ((div_le_self hYp.le hD1).trans hg.1)
hg.2 hq hη hqY ht hP hYp
change (∑ a ∈P.attach, ‖f k a‖^2) ≤ _
dsimp only [f]
rw [Finset.sum_attach (f :=funa : Eisenstein×Eisenstein=>
‖primaryAngularShortTupleSum ℓ (fun i => (4/3:ℝ)^(k i).val) A (a : Eisenstein×Eisenstein).1 (a : Eisenstein×Eisenstein).2 q η
(fun _ => normPartitionWeight) t VY‖^2)]
exact h
· have hz (a : P) : f k a = 0:= primaryAngularShortTupleSum_zero_outside_scales ℓ _ A (a : Eisenstein×Eisenstein).1 (a : Eisenstein×Eisenstein).2 q η t V
(fun i => pow_pos (by norm_num) _) hYp hVlo hVhi hg
simp only [hz,norm_zero,zero_pow (bydecide : 2≠0),Finset.sum_const_zero]
exact Real.rpow_nonneg hYp.le _
have hm := hpart Y hYT₁ P f hf
have he (a : Eisenstein×Eisenstein) : primaryAngularUnsplitTuple ℓ A (a : Eisenstein×Eisenstein).1 (a : Eisenstein×Eisenstein).2 q η t VY =
∑k : ι →Fin (normPartitionCount (2*Y)),
primaryAngularShortTupleSum ℓ (fun i => (4/3:ℝ)^(k i).val) A (a : Eisenstein×Eisenstein).1 (a : Eisenstein×Eisenstein).2 q η
(fun _ => normPartitionWeight) t VY:=
primaryAngularShortTupleSum_partition ℓ A (a : Eisenstein×Eisenstein).1 (a : Eisenstein×Eisenstein).2 q η t V hY1 hVhi
simp_rw [he]
change (∑ a ∈P.attach, ‖∑ k, f k a‖^2) ≤ _ at hm
dsimp only [f] at hm
rw [Finset.sum_attach (f :=funa : Eisenstein×Eisenstein=>
‖∑k : ι →Fin (normPartitionCount (2*Y)),
primaryAngularShortTupleSum ℓ (fun i => (4/3:ℝ)^(k i).val) A (a : Eisenstein×Eisenstein).1 (a : Eisenstein×Eisenstein).2 q η
(fun _ => normPartitionWeight) t VY‖^2)] at hm
exact hm