Large energy yields a dense popular-sum graph
ProvedFinset.energy_to_popular_graphadditive-combinatoricsadditive-energybalog-szemeredi-gowersgraphspopular-sums
Let be an additive commutative group, let , and let be finite sets with nonempty and (so is nonempty too; only the nonemptiness of is assumed). Assume the energy lower bound
and the non-degeneracy condition . Then there exist a threshold and a set of popular sums such that the graph of popular pairs is dense while is small:
where
and counts the representations .
This is the entry point of the Balog-Szemeredi-Gowers pipeline: additive energy is converted, by a single threshold on the representation function, into a dense bipartite graph whose restricted sumset is already controlled. The graph Balog-Szemeredi-Gowers theorem is then applied to .
Preamble
import Mathlib open scoped Pointwise
Formal statement
theorem Finset.energy_to_popular_graph {G : Type*} [AddCommGroup G] [DecidableEq G]
{η : ℝ} (hη : 0 < η)
{X Y : Finset G} (hX : X.Nonempty) (hXY : X.card = Y.card)
(hLarge : 2 ≤ (η / 2) * (X.card : ℝ))
(hE : η * (X.card : ℝ) ^ 3 ≤ (Finset.addEnergy X Y : ℝ)) :
∃ θ : ℕ, ∃ S : Finset G,
(η / 2) * (X.card : ℝ) * Y.card ≤
(((X ×ˢ Y).filter (fun p ↦ p.1 + p.2 ∈ S)).card : ℝ) ∧
(S.card : ℝ) ≤ (4 / η) * (X.card : ℝ) ∧
S = (X + Y).filter (fun s ↦ θ ≤ X.addConvolution Y s) := by sorry
Source
Tao-Vu, Additive Combinatorics, Cambridge Univ. Press (2006), Lemma 2.30 (p. 80), converse half. Formalized for |X| = |Y| with K = 1/eta; the constant is 4/eta rather than the source's 2K = 2/eta (loss from rounding the popular threshold to an integer), and a largeness hypothesis 2 <= (eta/2)|X| is added so that threshold is at least one. Formalized in https://github.com/mysticflounder/lean-formalizations/blob/dd46c17a2a034d7bfa0df02e7f77834d35592864/lean/LeanFormalizations/Combinatorics/Additive/BSGEnergyToGraph.lean#L41-L150
Human review
Confirmed by the mission captain (proposal self-audit).