Tao Section 5: summing the Type I envelope, given the Vinogradov lemma
ProvedTaoFivePrimes.theorem51_typeI_block_summation_from_vinogradovSumming the Type I envelope, given the Vinogradov lemma. Let with , let with , let and with . Assume the Vinogradov-type lemma with , in the form of the previous display. Let be any nonnegative function satisfying, for every positive odd ,
(the second alternative dropped when the sine vanishes). Then
This is the combinatorial half of the source's Type I estimate, with the constants that its own chain of estimates yields. Writing : for one has , hence , and the odd-restricted Vinogradov lemma bounds that range by . Each block has length exactly , so that lemma applies with prefactor and the first alternative frozen at the block's left endpoint, giving . Summing the harmonic part by the integral test — including its term, which the source's display omits — produces the first term, and the rest is at most , which is within because and .
Formalization Note is an arbitrary nonnegative function on , constrained only on the positive odd , so the statement says nothing about exponential sums. The index set is the platform's theorem51Divisors U V and the sine is written . The degenerate range , where every divisor is small, is covered separately.
import Mathlib import Definitions.Def_TaoFivePrimes_Theorem51Sums open Finset
theorem TaoFivePrimes.theorem51_typeI_block_summation_from_vinogradov
(alpha beta : ℝ) (a : ℤ) (q : ℕ) (hq : 4 ≤ q) (haq : Nat.Coprime a.natAbs q)
(halpha : 4 * alpha = (a : ℝ) / q + beta) (hbeta : |beta| ≤ 1 / (q : ℝ) ^ 2)
(x U V : ℝ) (hx : 0 < x) (hU40 : 40 ≤ U) (hV40 : 40 ≤ V) (hUV : U * V ≤ x / 4)
(hvino : ∀ (A' alpha' beta' theta' u v : ℝ) (a' : ℤ), 0 ≤ A' →
alpha' = (a' : ℝ) / q + beta' → |beta'| ≤ 1 / (q : ℝ) ^ 2 → u < v →
(∑ n ∈ Finset.Ioc ⌊u⌋ ⌊v⌋,
(if Real.sin (Real.pi * alpha' * (n : ℝ) + theta') = 0 then A'
else min A' (4 * Real.log 2 * Real.log (2 * x)
/ |Real.sin (Real.pi * alpha' * (n : ℝ) + theta')|)))
≤ ((⌊(v - u) / (q : ℝ)⌋ : ℤ) + 1)
* (2 * A' + (2 / Real.pi) * (4 * Real.log 2 * Real.log (2 * x)) * (q : ℝ)
* Real.log (4 * q)))
(W : ℕ → ℝ) (hW0 : ∀ d, 0 ≤ W d)
(hWb : ∀ d ∈ TaoFivePrimes.theorem51Divisors U V,
W d ≤ (if Real.sin (Real.pi * (2 * alpha) * (d : ℝ)) = 0 then
(1 / 2) * (x / (d : ℝ)) * Real.log x + 4 * Real.log 2 * Real.log (2 * x)
else min ((1 / 2) * (x / (d : ℝ)) * Real.log x
+ 4 * Real.log 2 * Real.log (2 * x))
(4 * Real.log 2 * Real.log (2 * x)
/ |Real.sin (Real.pi * (2 * alpha) * (d : ℝ))|))) :
(∑ d ∈ TaoFivePrimes.theorem51Divisors U V, W d)
≤ (x / q) * Real.log x * (Real.log (2 * U * V / q + 4) + 4)
+ 1.78 * (U * V + (5 / 2) * q) * (8 + Real.log q) * Real.log (2 * x) := by sorry