Tao Section 5: summing the Type I envelope over blocks
ProvedTaoFivePrimes.theorem51_typeI_block_summationSumming the Type I pointwise envelope. Let with , let with , let and with , and let be any nonnegative function on the positive odd integers satisfying the pointwise envelope
(the second alternative dropped when the sine vanishes). Then
This is the combinatorial half of the source's Type I estimate, separated from the analysis that produces the envelope. The argument splits the range of : for one has , hence , and the odd-restricted Vinogradov lemma bounds that contribution; for each subsequent block the same lemma applies with the first alternative frozen at the left endpoint of the block, and the resulting harmonic sum over blocks is estimated by an integral test.
Why the additive 4 The integral test compares the decreasing summand with the integral over the preceding block of length , which covers the blocks but not ; the uncovered term is . At , the sum equals while . The statement above carries the restored term; the source's display omits it.
Formalization Note is an arbitrary nonnegative function on constrained only on the positive odd , so the statement is exactly the passage from the envelope to the two terms and carries no information about the exponential sums themselves. The index set is the platform's theorem51Divisors U V.
import Mathlib import Definitions.Def_TaoFivePrimes_Theorem51Sums open Finset
theorem TaoFivePrimes.theorem51_typeI_block_summation
(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)
(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)
≤ 0.5 * (x / q) * Real.log x * (Real.log (2 * U * V / q + 4) + 4)
+ 0.89 * (U * V + (5 / 2) * q) * (8 + Real.log q) * Real.log (2 * x) := by sorry