Numerical facts for a poorly distributed label
ProvedGT.label_numLet , non-empty with , a non-degenerate torus with and , and . Let , let , , be the radius, Lipschitz constant and multiplier bound of Proposition 7.1, and . Then all numerical conditions required to refine a poorly distributed label hold: ; and ; and ; the volume factor ; ; and for every and every integer vector with : , the translation errors are at most , and .
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
namespace GT
theorem label_num {p : ℕ} [NeZero p] {η : ℝ} (hη0 : 0 < η) (hη1 : η ≤ 1 / 10) {S : Finset (ZMod p)}
(hSne : S.Nonempty) {G : DTorus} (hG : G.Good)
(hs : (S.card : ℝ) ≤ 65 * (1 / η) ^ (3 * C2)) (hd : (G.d : ℝ) ≤ 64 * (1 / η) ^ (2 * C2))
(hV : G.vol ≤ Real.exp ((1 / η) ^ (2 * C3))) {ρ : ℝ} (hρ0 : 0 < ρ) (hρ1 : ρ ≤ 1) :
100 * S.card * SLA.eps4 η ≤ wδ G η / 2 ∧
0 < p71R S G η (SLA.eps4 η) ρ ∧ 4 * p71R S G η (SLA.eps4 η) ρ ≤ ρ / 2 ∧
0 < ρ * Real.exp (-(1 / η) ^ (2 * C4)) ∧ ρ * Real.exp (-(1 / η) ^ (2 * C4)) ≤ 1 ∧
Real.exp (-(1 / η) ^ C5) * ρ ≤ ρ * Real.exp (-(1 / η) ^ (2 * C4)) ∧
2 ^ (G.d ^ 2) * (∑ i, 4 * (wM G η i : ℝ) / ‖G.v i‖) ≤ Real.exp ((1 / η) ^ C3) ∧
p71m S G η ≤ Real.exp ((1 / η) ^ C4) ∧
∀ m : ℕ, 1 ≤ m → (m : ℝ) ≤ p71m S G η → ∀ w : Fin G.d → ℤ,
(∀ i, |(w i : ℝ)| ≤ 1 + ∑ j, 4 * (wM G η j : ℝ)) →
4 * (m * (ρ * Real.exp (-(1 / η) ^ (2 * C4)))) ≤ p71R S G η (SLA.eps4 η) ρ ∧
50 * S.card * (m * (ρ * Real.exp (-(1 / η) ^ (2 * C4)))) / p71R S G η (SLA.eps4 η) ρ +
50 * S.card * p71R S G η (SLA.eps4 η) ρ / (ρ / 2) ≤ η ^ C3 / 4 ∧
p71L S G η (SLA.eps4 η) ρ m * (ρ * Real.exp (-(1 / η) ^ (2 * C4)) / 2) *
‖G.emb (fun i => (w i : ℝ))‖ ≤ η ^ C3 / 4 := by sorry
end GT