Tao Lemma 3.4: the Dress-Ramare block estimate
DisprovedTaoFivePrimes.vinogradov_block_if_formThe single-block estimate behind the Vinogradov-type lemma. Let with and , let and . Then for every integer ,
a term whose sine vanishes contributing .
This is the block estimate the source quotes from Dress and Ramaré as the engine of its Lemma 3.4: over consecutive integers the points are, up to the error , spread over the residues mod , so at most two of them come within of an integer and the rest are handled by the harmonic sum . The source notes that the phase shift , absent from the quoted statement, does not affect the argument.
Formalization Note is needed: with every term equals and the left side has of them against on the right. The convention at the zeros of the sine is made explicit through the if, so that the statement is the one the Type I estimate of Section 5 consumes; in Lean the literal min A' (B / 0) would be rather than .
import Mathlib open Finset
theorem TaoFivePrimes.vinogradov_block_if_form
(B : ℝ) (hB : 0 ≤ B) (q : ℕ) (hq : 0 < q)
(A' alpha' beta' theta' : ℝ) (a' : ℤ) (hA' : 0 ≤ A')
(halpha' : alpha' = (a' : ℝ) / q + beta') (hbeta' : |beta'| ≤ 1 / (q : ℝ) ^ 2)
(m : ℤ) :
(∑ n ∈ Finset.Ioc m (m + (q : ℤ)),
(if Real.sin (Real.pi * alpha' * (n : ℝ) + theta') = 0 then A'
else min A' (B / |Real.sin (Real.pi * alpha' * (n : ℝ) + theta')|)))
≤ 2 * A' + (2 / Real.pi) * B * (q : ℝ) * Real.log (4 * q) := by sorry