Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Asymmetric Balog–Szemerédi–Gowers theorem (qualitative)

Proved
Finset.balog_szemeredi_gowers_asymmetric

by mysticflounder · Sep 17, 2026 · Mathlib 0df444a (Lean v4.33.1)

additive-combinatoricsadditive-energybalog-szemeredi-gowerssumsets

Let GGG be an arbitrary additive commutative group and η>0\eta > 0η>0. There exist constants c>0c > 0c>0 and C>0C > 0C>0, depending only on η\etaη, such that the following holds. Let X,Y⊆GX, Y \subseteq GX,Y⊆G be nonempty finite sets with ∣X∣=∣Y∣|X| = |Y|∣X∣=∣Y∣ whose additive energy satisfies

E(X,Y)≥η ∣X∣3.E(X, Y) \ge \eta\, |X|^3.E(X,Y)≥η∣X∣3.

Then there exist subsets X′⊆XX' \subseteq XX′⊆X and Y′⊆YY' \subseteq YY′⊆Y with

∣X′∣≥c ∣X∣,∣Y′∣≥c ∣Y∣,∣X′−Y′∣≤C ∣X∣.|X'| \ge c\,|X|, \qquad |Y'| \ge c\,|Y|, \qquad |X' - Y'| \le C\,|X|.∣X′∣≥c∣X∣,∣Y′∣≥c∣Y∣,∣X′−Y′∣≤C∣X∣.

Here E(X,Y)E(X,Y)E(X,Y) counts the additive quadruples x1+y1=x2+y2x_1 + y_1 = x_2 + y_2x1​+y1​=x2​+y2​ with xi∈Xx_i \in Xxi​∈X and yi∈Yy_i \in Yyi​∈Y, and X′−Y′={x−y:x∈X′,y∈Y′}X' - Y' = \{x - y : x \in X', y \in Y'\}X′−Y′={x−y:x∈X′,y∈Y′} is the pointwise difference set. The cardinality bounds c∣X∣≤∣X′∣c|X| \le |X'|c∣X∣≤∣X′∣ and c∣Y∣≤∣Y′∣c|Y| \le |Y'|c∣Y∣≤∣Y′∣ already force X′X'X′ and Y′Y'Y′ to be nonempty, so no separate nonemptiness clause is needed.

This is the qualitative asymmetric form of the Balog-Szemeredi-Gowers theorem: large additive energy forces large subsets whose difference set is linear in ∣X∣|X|∣X∣. The conclusion bounds the difference set ∣X′−Y′∣|X' - Y'|∣X′−Y′∣, and this is not a restatement of a sumset bound. The graph step of the proof delivers a bound on the sumset, ∣X′+Y′∣≤C0∣X∣|X' + Y'| \le C_0|X|∣X′+Y′∣≤C0​∣X∣; converting that into the difference-set bound is a separate Ruzsa argument (Finset.ruzsa_sumset_to_difference) which costs a factor, replacing the sumset constant C0/c0C_0/c_0C0​/c0​ by (C0/c0)3/c0+1(C_0/c_0)^3/c_0 + 1(C0​/c0​)3/c0​+1.

It is the top-level asymmetric conclusion of the project, deduced from the popular-sum graph construction, the graph (restricted-sumset) Balog-Szemeredi-Gowers theorem, and that Ruzsa conversion.

Preamble
import Mathlib

open scoped Pointwise
Formal statement
theorem Finset.balog_szemeredi_gowers_asymmetric {G : Type*} [AddCommGroup G] [DecidableEq G] :
    ∀ η : ℝ, 0 < η → ∃ c C : ℝ, 0 < c ∧ 0 < C ∧
      ∀ X Y : Finset G, X.Nonempty → Y.Nonempty → X.card = Y.card →
        η * (X.card : ℝ) ^ 3 ≤ (Finset.addEnergy X Y : ℝ) →
        ∃ X' Y' : Finset G, X' ⊆ X ∧ Y' ⊆ Y ∧
          c * (X.card : ℝ) ≤ (X'.card : ℝ) ∧
          c * (Y.card : ℝ) ≤ (Y'.card : ℝ) ∧
          ((X' - Y').card : ℝ) ≤ C * (X.card : ℝ) := by sorry
Source
Asymmetric Balog-Szemeredi-Gowers over additive energy (Balog-Szemeredi 1994; Gowers 1998). This exact statement is not stated in any cited work: it is assembled from Tao-Vu, Additive Combinatorics, Cambridge Univ. Press (2006), Lemma 2.30 (energy to graph, p. 80), Fox-Sudakov, Dependent random choice, Random Structures & Algorithms 38 (2011) 68-99 Section 5.1 / Tao-Vu, Additive Combinatorics, Cambridge Univ. Press (2006) Theorem 2.29 (graph bound, p. 79), and Ruzsa calculus to pass from the sumset bound to the difference-set conclusion. Constants left existential. Formalized in https://github.com/mysticflounder/lean-formalizations/blob/dd46c17a2a034d7bfa0df02e7f77834d35592864/lean/LeanFormalizations/Combinatorics/Additive/BalogSzemerediGowers.lean#L2432-L2651
Human review
  • Endorsed by Shuze Chen · Sep 18, 2026

  • Endorsed by mysticflounder · Sep 18, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, licensed under Apache 2.0.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTermsJoin SlackJoin Zulip© 2026 Prove2Me