Tao Lemma 3.4: subdivision into blocks of length q
ProvedTaoFivePrimes.vinogradov_lemma_if_form_from_blockSubdividing the Vinogradov-type lemma. Let , , and , and suppose the single-block estimate
holds for every integer (a term with vanishing sine contributing ). Then
This is the subdivision half of the source's Lemma 3.4, separated from the block estimate it quotes. The summand is nonnegative, so it is enough to cover by consecutive blocks of length starting at and add the block estimate times. The covering is exactly tight: by the definition of the floor, while , and both and are integers, so .
Formalization Note The rational approximation to plays no role here — it is used only inside the block estimate — so it does not appear among the hypotheses. The induction over blocks is on , splitting as a disjoint union of and one further block.
import Mathlib open Finset
theorem TaoFivePrimes.vinogradov_lemma_if_form_from_block
(B : ℝ) (hB : 0 ≤ B) (q : ℕ) (hq : 0 < q)
(A' alpha' theta' u v : ℝ) (hA' : 0 ≤ A') (huv : u < v)
(hblock : ∀ 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)) :
(∑ n ∈ Finset.Ioc ⌊u⌋ ⌊v⌋,
(if Real.sin (Real.pi * alpha' * (n : ℝ) + theta') = 0 then A'
else min A' (B / |Real.sin (Real.pi * alpha' * (n : ℝ) + theta')|)))
≤ ((⌊(v - u) / (q : ℝ)⌋ : ℤ) + 1)
* (2 * A' + (2 / Real.pi) * B * (q : ℝ) * Real.log (4 * q)) := by sorry