1 Combinatorial methods

Definition 1.1 (Sumset). Let G be an abelian group. Given A,B⊆G, define the sumset A+B to be

A+B:={a+b:a∈A,b∈B}

and the difference set A−B to be

A−B:={a+b:a∈A,b∈B}.

If A and B are finite, then certainly

max⁡{|A|,|B|}≤|A+B|≤|A||B|.

Example 1.2. Let A=[n]:={1,2,…,n}⊆ℤ. Then

|A+A|=|{2,…,2n}|=2n−1=2|A|−1.

Lemma 1.3. Assuming that:

  • A⊆ℤ is finite.

Then |A+A|≥2|A|−1, with equality if and only if A is an arithmetic progression.

Proof. Let A={a1,a2,…,an} with a1<a2<⋯<an. Then

a1+a1<a1+a2<a1+a2<⋯<a1+an<a2+an<⋯<an+an,

so |A+A|≥2|A|−1. But we could also have written

a1+a1<a1+a2<a2+a2<a2+a3<a2+a4<⋯<a2+an<a3+an<⋯<an+an.

When |A+A|=2|A|−1, these two orderings must be the same. So a2+ai=a1+ai+1 for all i=2,…,n−1. □

Exercise: If A,B⊆ℤ, then |A+B|≥|A|+|B|−1 with equality if and only if A and B are arithmetic progressions with the same common difference.

Example 1.4. Let A,B⊆ℤ∕pℤ with p prime. Then |A+B|≥p+1⟹A+B=ℤ∕pℤ. Indeed, g∈A+B⟺A∩(g−B)≠∅ (note that g−B means {g}−B). But ∀⁡g∈ℤ∕pℤ,

|A∩(g−B)|=|A|+|g−B|−|A∪(g−B)|≥|A|+|B|−p≥1.

Theorem 1.5 (Cauchy-Davenport). Assuming that:

  • p is a prime

  • A,B⊆ℤ∕pℤ nonempty

Then
|A+B|≥min⁡{p,|A|+|B|−1}.

Proof. Assume |A|+|B|≤p+1. Without loss of generality assume that 1≤|A|≤|B| and that 0∈A. Apply induction on |A|. The case |A|=1 is trivial. Suppose |A|≥2, and let 0≠a∈A.

Since {a,2a,3a,…,(p−1)a,pa}=ℤ∕pℤ and |A|+|B|≤p+1, there must exist m≥0 such that ma∈B but (m+1)a∉B. Let B′=B−ma, so 0∈B′, a∉B′, |B′|=|B|.

But 1≤|A∩B′|<|A|, so the inductive hypothesis applies to A∩B′ and A∪B′. Since

(A∩B′)+(A∪B′)⊆A+B′,

we have

|A+B|=|A+B′|≥|(A∩B′)+(A∪B′)|≥|A∩B′|+|A∪B′|+1=|A|+|B|+1.□

This fails for general abelian groups (or even general cyclic groups).

Example 1.6. Let p be (fixed, small) prime, and let V≤𝔽pn be a subspace. Then V+V=V, so |V+V|=|V|. In fact, if A⊆𝔽pn is such that |A+A|=|A|, then A must be a coset of a subspace.

Example 1.7. Let A⊆𝔽pn be such that |A+A|<32|A|. Then there exists V≤𝔽pn a subspace such that |V|<32|A| and A is contained in a coset of V. See Example Sheet 1.

Definition 1.8 (Ruzsa distance). Given finite sets A,B⊆G, we define the Ruzsa distance d(A,B) between A and B by

d(A,B)=log⁡|A−B||A||B|

Note that this is symmetric, but is not necessarily non-negative, so we cannot prove that it is a metric. It does, however, satisfy triangle inequality:

Lemma 1.9 (Ruzsa’s triangle inequality). Assuming that:

  • A,B,C⊆G finite

Then
d(A,C)≤d(A,B)+d(B,C).

Proof. Observe that

|B|⋅|A−C|≤|A−B|⋅|B−C|.

Indeed, writing each d∈A−C as d=ad−cd with ad∈A, cd∈C, the map

ϕ:B×(A−C)→(A−B)×(B−C)(b,d)↦(ad−b,b−cd)

is injective. The triangle inequality now follows from the definition. □

Definition 1.10 (Doubling / difference constant). Given a finite A⊆G, we write

σ(A):=|A+A||A|

for the doubling constant of A and

δ(A):=|A−A||A|

for the difference constant of A.

Then Lemma 1.9 shows, for example, that

log⁡δ(A)=d(A,A)≤d(A,−A)+d(−A,A)=2 log ⁡σ(A).

So δ(A)≤σ(A)2, or |A−A|≤|A+A|2|A|.

Notation. Given A⊆G and l,m∈ℕ0, we write

lA−mA:=A+A+⋯+A⏟l times−A−A−⋯−A⏟m times.

Theorem 1.11 (Plunnecke’s Inequality). Assuming that:

  • A,B⊆G are finite sets

  • |A+B|≤K|A| for some K≥1

Then ∀⁡l,m∈ℕ0,
|lB−mB|≤Kl+m|A|.

Proof. Choose a non-empty subset A′⊆A such that the ratio |A′+B||A′| is minimised, and call this ratio K′. Then |A′+B|=K′|A′|, K′≤K, and ∀⁡A″⊆A, |A″+B|≥K′|A″|.

Claim: For every finite C⊆G, |A′+B+C|≤K′|A′+C|.

Let’s complete the proof of the theorem assuming the claim. We first show that ∀⁡m∈ℕ0, |A′+mB|≤K′m|A′|. Indeed, the case m=0 is trivial, and m=1 is true by assumption. Suppose m>1 and the inequality holds for m−1. By the claim with C=(m−1)B, we get

|A′+mB|=|A′+B+(m−1)B|≤K′|A′+(m−1)B|≤K′m|A′|.

But as in the proof of Ruzsa’s triangle inequality, ∀⁡l,m∈ℕ0, we can show

|A′||lB−mB|≤|A′+lB||A′+mB|≤K′l|A′|K′m|A′|=K′l+m|A′|2.

Hence |lB−mB|≤K′l+m|A′|≤K′l+m|A|, which completes the proof (assuming the claim).

We now prove the claim by induction on |C|. When |C|=1 the statement follows from the assumptions. Suppose the claim is true for C, and consider C′=C∪{x} for some x∉C. Observe that

A′+B+C′=(A′+B+C)+((A′+B+x)∖(D+B+x))

with D={a∈A′:a+B+x⊆A′+B+X}.

By definition of K′, |D+B|≥K′|D|, so

|A′+B+C′|≤|A′+B+C|+|A′+B+x|−|D+B+x|≤IHK′|A′+C|+K′|A′|−K′|D|=K′(|A′+C|+|A′|−|D|)

We apply this argument a second time, writing

A′+C′=(A′+C)⊔((A′+x)∖(E+x))

where E={a∈A′:a+x∈A′+C}⊆D. We conclude that

|A′+C′|=|A′+C|+|A′+x|−|E+x|≥|A′+C|+|A′|−|D|

so

|A′+B+C′|≤K′(|A′+C|+|A′|−|D|)≤K′|A′+C′|,

proving the claim. □

We are now in a position to generalise Example 1.7.

Theorem 1.12 (Freiman-Ruzsa). Assuming that:

  • A⊆𝔽pn

  • |A+A|≤K|A| (i.e. σ(A)≤K)

Then A is contained in a subspace H≤𝔽pn of size |H|≤K2pK4|A|.

Proof. Choose X⊆2A−A maximal such that the translates x+A with x∈X are disjoint. Such a set X cannot be too large: ∀⁡x∈X, x+A⊆3A−A, so by Plunnecke’s Inequality, since |3A−A|≤K4|A|,

|X||A|=|⋃x∈X(x+A)|≤|3A−A|.

So |X|≤K4. We next show

2A−A⊆X+A−A.(∗)

Indeed, if y∈2A−A and y∉X, then by maximality of X, y+A∩x+A≠∅ for some x∈X (and if y∈X, then clearly y∈X+A−A).

It follows from (∗) by induction that ∀⁡l≥2,

lA−A⊆(l−1)X+A−A,(∗∗)

since

lA−A=A+(l−1)A−A⏟⊆(l−2)X+A−A⊆(l−2)X+2A−A⏟⊆X+A−A⊆(l−1)X+A−A.

Now let H≤𝔽pn be the subgroup generated by A, which we can write as

H=⋃l≥1(lA−A)⊆(∗∗)Y+A−A

where Y≤𝔽pn is the subgroup generated by X.

But every element of Y can be written as a sum of |X| elements of X with coefficients amongst 0,1,…,p−1, hence |Y|≤p|X|≤pK4. To conclude, note that

|U|≤|Y||A−A|≤pK4≤pK4K2|A|,

where we use Plunnecke’s Inequality or even Ruzsa’s triangle inequality. □

Example 1.13. Let A=V∪R where V≤𝔽pn is a subspace of dimension K≪d≪n−K and R consists of K−1 linearly independent vectors not in V.

Then

|A|=|V∪R|=|V|+|R|=pn∕k+K−1∼pn∕k=|V|

and

|A+A|=|(V∪R)+(V∪R)|=|V∪(V+R)∪(R+R)|∼K|V|.

But any subspace K≤𝔽pn containing A must have size at least pn∕K+(K−1)∼|V|⋅pK, so the exponential dependence on K is necessary.

Theorem 1.14 (Polynomial Freiman-Ruzsa, due to Gowers–Green–Manners–Tao 2024). Assuming that:

  • A⊆𝔽pn

  • |A+A|≤K|A|

Then there exists a subspace K≤𝔽pn of size at most C1(K)|A| such that for some x∈𝔽pn,
|A∩(x+K)|≥|A|C2(K),

where C1(K) and C2(K) are polynomial in K.

Proof. Omitted, because the techniques are not relevant to other parts of the course. See Entropy Methods in Combinatorics next term. □

Definition 1.15. Given A,B⊆G we define the additive energy between A and B to be

E(A,B)=|{(a,a′,b,b′)∈A×A×B×B:a+b=a′+b′}|.

We refer to the quadruples (a,a′,b,b′) such that a+b=a′+b′ as additive quadruples.

Example 1.16. Let V≤𝔽pn be a subspace. Then E(V)=E(V,V)=|V|3.

On the other hand, if A⊆ℤ∕pℤ is chosen at random from ℤ∕pℤ (each element chosen independently with probability α>0), then with high probability

E(A)=E(A,A)=α4p3=α|A|3.

Lemma 1.17. Assuming that:

  • A,B⊆G

  • both non-empty

Then
E(A,B)≥|A|2|B|2|A+B|.

Proof. Define rA+B(x)=|{(a,b)∈A×B:a+b=x}| (and notice that this is the same as |A∩(x−B)|). Observe that

E(A,B)=|{(a,a′,b,b′)∈A2×B2:a+b=a′+b′}=∑x∈GrA+B(x)2=∑x∈A+BrA+B(x)2≥(∑x∈A+BrA+B(x))2|A+B|by Cauchy-Schwarz

but

∑x∈G|A∪(x−B)|=∑x∈G∑y∈G𝟙A(y)𝟙x−B(y)=∑x∈G∑y∈G𝟙A(y)𝟙B(x−y)=|A||B|

(As usual, 𝟙A here means the indicator function). □

In particular, if |A+A|≤K|A|, then

E(A)=E(A,A)≥|A|4|A+A|≥|A|3K.

The converse is not true.

Example 1.18. Let G be your favourite (class of) abelian group(s). Then there exist constants 𝜃,η>0 such that for all sufficiently large n, there exists A⊆G, with |A|≥n satisfying E(A)≥η|A|3 and |A+A|≥𝜃|A|2.

Theorem 1.19 (Balog–Szemeredi–Gowers, Schoen). Assuming that:

  • A⊆G is finite

  • E(A)≥η|A|3 for some η>0

Then there exists A′⊆A of size at least c1(η)|A| such that |A′+A′|≤|A′|c2(η), where c1(η) and c2(η) are polynomial in η.

Idea: Find A′⊆A such that ∀⁡a,b∈A′ such that a−b has many representations as (a1−a2)+(a3−a4) with ai∈A.

We first prove a technical lemma, using a technique called “dependent random choice”.

Definition 1.20 (gamma-popular differences). Given A⊆G and γ>0, let

Pγ={x∈G:|A∩(x+A)|≥γ|A|}

be the set of γ-popular differences of A.

Lemma 1.21. Assuming that:

  • A⊆G is finite

  • E(A)≥η|A|3

  • c>0

Then there is a subset X⊆A of size |X|≥η|A|∕3 such that for all but a (16c)-proportion of pairs (a,b)∈X2, a−b∈Pcη.

Proof. Let U={x∈G:|A∩(x+A)|≤12η|A|}. Then

∑x∈U|A∩(x+A)|2≤12η|A|∑x|A∩(x+A)|=12η|A|3≤12E(A)

For 0≤i≤⌈log⁡2η−1⌉, let

Qi={x∈G:|A|2i+1<|A∩(x+A)|≤|A|2i},

and set δi=η−12−2i. Then

∑iδi|Qi|=∑i|Qi|η22i=1η|A|2∑i|A|222i|Qi|≥1η|A|2∑i|A|222i∑x∉U𝟙{|A|2i+1<|A∩(x+A)|≤|A|2i}≥1η|A|2∑x∉U|A∩(x+A)|2≥1η|A|2⋅12E(A)(∑x∈U|A∩(x+A)|2≤12E(A))≥12|A|(∗)

Let S={(a,b)∈A2:a−b∉Pcη}. Then

∑i∑(a,b)∈S|(A−a)∩(A−b)∩Qi|≤∑(a,b)∈S|(A−a)∩(A−b)|⏟=|A∩(a−b+A)|≤cη|A|⏟by definition of S≤|S|⋅cη|A|≤cη|A|3≤2cη|A|2⋅12|A|≤(∗)2cη|A|2∑iδi|Qi|

Hence there exists i0 such that

∑(a,b)∈S|(A−a)∩(A−b)∩Qi0|≤2cη|A|2δi0|Qi0|.

Let Q=Qi0, δ=δi0, λ=2−i0. So

∑(a,b)∈S|(A−a)∩(A−b)∩Q|≤2cηδ|A|2|Q|.(∗∗)

Find x such that X=|A∩(A+x)| is large.

Given x∈G, let X(x)=A∩(x+A). Then

𝔼x∈Q|X(x)|=1|Q|∑x∈Q|A∩(x+A)|≥12λ|A|.

Let T(x)={(a,b)∈X(x)2:a−b∉Pcη}. Then

𝔼X∈Q|T(x)|=𝔼x∈Q|{(a,b)∈(A∩(x⏟x∈A−a∩A−b+A))2:a−b∉Pcη}|=1|Q|∑x∈Q|{(a,b)∈S:x∈A−a∩A−b}|=1|Q|∑(a,b)∈S|(A−a)∩(A−b)∩Q|≤1|Q|2cη|A|2δ|Q|=2cηδ|A|2=2cλ2|A|2

Therefore,

𝔼x∈Q|X(x)|2−(16c)−1|T(x)|≥C-S(𝔼x∈Q|X(x)|)2−(16c)−1𝔼x∈Q|T(x)|≥(λ2)2|A|2−(16c)−12cλ2|A|2=(λ24−λ28)|A|2=λ28|A|

So there exists x∈Q such that |X(x)|2≥λ28|A|2, in which case we have

|X|≥λ8|A|≥η3|A|

and |T(x)|≤16c|X|2. □

Proof of Theorem 1.19. Given A⊆G with E(A)≥η|A|3, apply Lemma 1.21 with c=2−7 to otain X⊆A of size |X|≥η3|A| such that for all but 18 of pairs (a,b)∈X2, a−b∈Pη∕27. In particular, the bipartite graph

G=(X∪˙X,{(x,y)∈X×X:x−y∈Pη∕27})

has at least 78|X|2 edges. Let A′={x∈X:deg⁡(x)≥34|X|}.

PIC

Clearly, |A′|≥|X|8. For any a,b∈A′, there are at least |X|2 elements y∈X such that (a,y),(b,y)∈E(G) (a−y,b−y∈Pη∕27).

Thus a−b=(a−y)−(b−y) has at least

η6|A|⏟choices for y⋅η27|A|⋅η27|A|≥η3217|A|3

representations of the form a1−a2−(a3−a4) with ai∈A.

It follows that

η3217|A|3|A′−A′|≤|A|4⟹|A′−A′|≤217η−3|A|≤222η−4|A′|

Thus |A′+A′|≤244η−8|A′|. □