Theorem 9.5: a neighbourhood where the sets are locally pseudorandom
ProvedGT.u3_step4Let , with , a frequency set, a weight on quadruples with and , sets , and suppose the -average at level around is at least . Under the numerical conditions of the statement (involving and ), there are a centre , and with such that the -average at level around is at least and every balanced function has local norm at most on the corresponding Bohr neighbourhood.
Notation. Throughout, is a positive integer (usually a prime) and we work in . For a finite frequency set we write (and if ), for the Bohr set, and for the regular probability distribution on , where is the uniform probability measure on . We write for and for . A frequency is -good for if for all . All objects are those of the definition bundle GreenTaoFourCore.
Formalization Note. This is one node of a machine-checked decomposition of the proof of Erdos142.green_tao_four (Green–Tao's bound ). All explicit numerical constants and the precise quantitative side conditions are exactly those of the Lean statement; the notation above is only a reading guide.
import Mathlib import Definitions.Def_GreenTaoFourCore open Finset KM open scoped ComplexConjugate open Classical
namespace GT
theorem u3_step4 {p : ℕ} [NeZero p] {R : ℕ → ℝ} {θ : ℝ} (hR0 : ∀ t, 0 < R t) (hRk : ∀ t, R (t + 1) ≤ θ * R t)
(hθ0 : 0 ≤ θ) (hθ1 : θ ≤ 1 / 16) (hR1 : R 0 ≤ 1) (S : Finset (ZMod p))
(W : (Fin 4 → ZMod p) → ℝ) {B : ℝ} (hW : ∀ q, |W q| ≤ B) (hW1 : ∀ q, W q ≤ 1)
(A : Fin 4 → Finset (ZMod p)) (c0 : Fin 4 → ZMod p) {c3 ε mu : ℝ} {K : ℕ}
(hc3 : 0 < c3) (hε : 0 < ε) (hmu : 0 < mu) (hQ0 : c3 ≤ QW R W S c0 0)
(hmuε : 20 * mu ≤ c3 / 8 * (ε / 8) ^ 2 / 4) (hK : 1 + 20 * mu ≤ 20 * mu * K)
(hθK : (B * 300 + c3 / 8 * 1600) * (S.card + K) * θ ≤ c3 / 8 * (ε / 8) ^ 2 / 4)
(hsep : 7200 * (S.card + K) * θ ≤ (ε / 2) ^ 2)
(herr : (350 * (S.card + K) + 13) * θ ≤ ε / 8) :
∃ (c : Fin 4 → ZMod p) (k : ℕ) (T : Finset (ZMod p)), S ⊆ T ∧ T.card ≤ S.card + k ∧
k < K ∧ c3 / 2 ≤ QW R W T c (20 * k) ∧
∀ i, ∑ u, regP T (R (20 * k + lvl i)) (u - cent c i) *
U2f T (R (20 * k + 10)) (R (20 * k + 11)) (bal R A T c (20 * k) i) u ≤ ε := by sorry
end GT