Theorem 9.4: sets on which very bad quadruples are rare
ProvedGT.u3_step3Let be prime, scales , with , with and , , , with and the genericity conditions of the statement. If for a set , a map and a centre the proportion of additive quadruples (drawn around at scales ) with all and -good is at least , then there are with
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_step3 {p : ℕ} [NeZero p] (hp : p.Prime) {S : Finset (ZMod p)} {r2 r3 r4 ρh ρv A cG L : ℝ}
(hr2 : 0 < r2) (h23 : r2 ≤ r3) (h34 : r3 ≤ r4) (hr4 : r4 ≤ 1)
(hρh : 0 < ρh) (hρv : 0 < ρv) (h2v : 2 * ρv ≤ ρh)
(hA0 : 0 ≤ A) (hAρ : A * ρh ≤ 1 / 1000) (hAv : A ≤ 1 / ρv) (hcG : 0 ≤ cG)
(hL : 1 ≤ L) {m : ℕ} (hm : 1 ≤ m) (hpm : (10 : ℝ) ^ 60 * m ^ 10 ≤ p)
(he : 50 * S.card * (ρv / 2) / ρh ≤ 1 / (4 * m))
(hmL : 16 * L ≤ 2 ^ m * cG)
(hNG : (4 * (gM m : ℝ)) ^ 3 * (1 / (p * (r2 / 4) ^ S.card)) ≤ (1 / 10 ^ 6) ^ m * cG / (8 * L))
(Ω : Finset (ZMod p)) (ξ : ZMod p → ZMod p) (c : Fin 4 → ZMod p)
(hG : cG ≤ qavg S r2 r3 r4 c
(fun q => if (∀ i, q i ∈ Ω) ∧ Good S A (sig ξ q) then 1 else 0)) :
∃ As : Fin 4 → Finset (ZMod p), (∀ i, As i ⊆ Ω) ∧
(1 / 10 ^ 6) ^ m * cG / 4 ≤ qavg S r2 r3 r4 c (Wt S ρv L ξ As) := by sorry
end GT