3 The Green–Tao Theorem

Theorem 3.1. For all k≥3, the primes contain an arithmetic progression of length k.

Theorem 3.2 (Weighted Szemerédi). For all k≥3 and α>0, there exists c=c(k,α)>0 such that for any function f:ℤ∕Nℤ→[0,1] satisfying 𝔼f=α,

𝔼x,df(x)f(x+d)⋯f(x+(k−1)d)>c(k,α)−ok,α(1),

where ok,α(1) is a quantity that goes to 0 as n→∞ at a rate that depending on k and α.

There is a standard method that allows converting between a statement like the above about ℤ∕Nℤ into a statement about [N]: given a subset of [N], just view it as a subset of ℤ∕3Nℤ (arithmetic progressions in ℤ∕3Nℤ that lie in [N] correspond to genuine arithmetic progressions in [N]).

Insight of Green and Tao: the primes are dense in a certain subset of the naturals.

PIC

We will use some results of Conlon–Fox–Zhao which are sparse versions of the hypergraph regularity results we saw earlier. We will only prove one of these results in lectures, which is the sparse counting lemma.

Definition 3.3. A function ν=ν(N):ℤ∕Nℤ→[0,∞) is said to satisfy the k-linear forms condition (k-LFC) if

𝔼x1(0),x1(1)⋮xk(0),xk(1)∏j=1k∏ω∈{0,1}[k]∖{j}ν(∑i=1k(i−j)xi(ωi))nj,ω=1+o(1)

for any choice of exponents nj,ω∈{0,1}.

Example 3.4. We will omit writing out the nj,ω in this example.

ν satisfies the 2-LFC if

𝔼x,x′y,y′ν(y)ν(y′)ν(−x)ν(x′)=1+o(1).

ν satisfies the 3-LFC if

𝔼x,x′y,y′z,z′ν(y+2z)ν(y′+2z)ν(y+2z′)ν(y′+2z′)ν(−x+z)ν(−x′+z)ν(−x+z′)ν(−x′+z′)ν(−2x−y)ν(−2x′−y)ν(−2x−y′)ν(−2x−y′)=1+o(1).

ν(y+2z)ν(−x+z)ν(−2x−y) relates to three term progressions: it is the arithmetic progression y+2z+n(−x−y−z) for n=0,1,2.

Theorem 3.5 (Relative Szemerédi). Let k≥3 and α>0 and suppose ν=ν(N):ℤ∕Nℤ→[0,1] satisfies the k-LFC. Suppose N is sufficiently large and coprime to (k−1)!. Let f:ℤ∕Nℤ→[0,∞) satisfies 0≤f(x)≤ν(x) for all x∈ℤ∕Nℤ and suppose 𝔼f≥α. Then

𝔼x,df(x)f(x+d)⋯f(x+(k−1)d)≥c(k,α)−ok,α,ν⏟rate of convergence in k-LFC(1)

where c(k,α) is as in Theorem 3.2. Often refer to ν as a pseudorandom majorant for f.

Note: taking f here to be the indicator of the primes won’t satisfy the conditions above, because we need 𝔼f≥α. Instead, we’ll use the fact that f is not bounded (takes values in [0,∞)).

Think of “f(n)=𝟙primes(n)⋅log⁡n.”

In the original Green–Tao proof, they needed an additional condition as well as the k-LFC, and this additional requires a lot of analytic number theory to prove. One of the great contributions of the proof by Conlon–Fox–Zhao was to remove this additional condition, and in particular greatly reducing the amount of analytic number theory needed to prove the result.

Consider the van Mangoldt function

Λ(n)={log⁡pif n=pk for some prime p0otherwise

By the Prime Number Theorem,

𝔼n∈[N]Λ(n)=1+o(1).

(Remark: we won’t need the Prime Number Theorem to prove Green–Tao)

Problem: Λ is biased with respect to small residue classes. Use W-trick: let w=w(N) be a function →∞ with N e.g. ∼log⁡ log ⁡N. Let W=∏⁡p≤wp, and consider only primes ≡1(modW), by defining

Λ(n)~={φ(W)Wlog⁡(Wn+1)if Wn+1 is prime0otherwise

where φ is the Euler totient function. Can show 𝔼n∈[N]Λ~(n)=1+o(1), provided w grows sufficiently slowly.

Reminder: instead of Λ, want to consider

Λ~(n)={φ(W)Wlog⁡(Wn+1)if Wn+1 prime0otherwise

Proposition 3.6 (Pseudorandom majorant for the primes). For all k≥3, there exists δ>0 such that for all sufficiently large N, there exists ν(N):ℤ∕Nℤ→[0,∞) satisfying the k-LFC and ν(n)≥δkΛ~(n) for all n∈[N∕2,N). ν is given by

ν(n)={φ(W)WΛχ,R(Wn+1)2cχlog⁡Rn∈[N∕2,N)1otherwise

where

  • χ:ℝ→[0,1] is a smooth function supported on [−1,1] with χ(0)=1

    PIC

  • cχ=∫0∞|χ′(x)|2dx

  • R=Nk−12−k−3.

  • Λχ,R(n)=log⁡R∑d|nμ(d)χ( log ⁡d log ⁡R).
    Compare with Λ(n)=∑⁡d|nμ(d) log ⁡(nd) and ∑⁡d|nd≤R log ⁡Rd.

Proof. Omitted. □

Next goal: “Approximate” 0≤f≤ν by 0≤f~≤1 with 𝔼f=𝔼f~ (transference principle).

Definition 3.7. Let G be an abelian group (which you can think of as being ℤ∕Nℤ), let r∈ℕ, and let ψ:Gr→G a surjective homomorphism, f,f~:G→[0,∞). We say (f,f~) is an (r,𝜀)-discrepancy pair (DP) with respect to ψ if

|𝔼x=(x1,…,xr)∈Gr(f(ψ(x))−f~(ψ(x)))∏i=1rui(x[r]∖{i}⏟=(x1,…⁡,xi−1,xi+1,…⁡,xr))|≤𝜀

for all functions u1,…,ur:Gr−1→[0,1].

In words: no function in fewer variables can distinguish f from f~.

Can think of ψ(x)=x1+x2+⋯+xr.

Theorem 3.8 (Dense Model Theorem). For all 𝜀>0, there exists k=𝜀−O(1) and 𝜀′=exp⁡(−𝜀−O(1)) such that the following holds: Let X be a finite set, let F be a collection of functions φ:X→[−1,1]. Suppose ν:X→[0,∞) satisfying

|⟨ν−1,φ⟩|≤𝜀′∀⁡φ∈Fk={∏i=1kφi:φi∈F,k′≤k}

and f:X→[0,∞) satisfies f≤ν and 𝔼f≤1. Then there exists f~:X→[0,1] such that 𝔼f~=𝔼f and |⟨f−f~,φ⟩|≤𝜀 for all φ∈F.

Corollary 3.9. For all 𝜀>0, there exists 𝜀′=exp⁡(−𝜀−O(1)) such that the following holds: Let G be an abelian group, r∈ℕ, ψ:Gr→G a surjective homomorphism. Let f,ν:G→[0,∞) be such that 0≤f≤ν, 𝔼f≤1 and (ν,1) is an (r,𝜀′)-discrepancy pair with respect to ψ. Then there exists f~:G→[0,1] such that 𝔼f~=𝔼f and (f,f~) is an (r,𝜀)-discrepancy pair with respect to ψ.

Deduction from Theorem 3.8. For any collection of functions u1,…,ur:Gr−1→[0,1], define a generalized convolution with respect to ψ

(u1,…,ur)ψ∗:G→[0,1](u1,…,ur)ψ∗(x)=𝔼y∈Grψ(y)=x∏i=1rui(y[r]∖{i})

r=2:

u1∗u2(x)=𝔼y∈G2y1+y2=xu1(y1)u2(y2)

So indeed the earlier expression looks like a reasonable definition for a generalised convolution.

Notice that the LHS in ?? 30 is just ⟨f−f~,(u1⋯ur)ψ∗⟩.

Let F be the set of functions which can be written as convex combinations of generalised convolutions with respect to ψ. Then by the hypotheses, (ν,1) is an (r,𝜀′)-discrepancy pair with respect to ψ, which is equivalent to ⟨ν−1,φ⟩≤𝜀′ for all φ∈F.

Want: |⟨f−f~,φ⟩|≤𝜀 for all φ∈F.

So it suffices to show that F is closed under multiplication. Indeed,

(u1,…,ur)ψ∗(x)(u1′,…,ur′)ψ∗(x)=𝔼y∈Grψ(y)=x𝔼y′∈Grψ(y)=x∏i=1rui(y[r]∖{i})∏i=1rui′(y[r]∖{i}′⏟=y[r]∖{i}+z[r]∖{i})=𝔼z∈Grψ(z)=0[𝔼y∈Grψ(y)=x∏i=1rui(y[r]∖{i})ui ″(y[r]∖{i})⏟generalised convolution wrt ψ]□

Define a norm on functions f:Gr→ℝ by

∥f∥=(∥f∥□,r)=sup⁡φ∈F|⟨f,φ⟩|=sup⁡φ∈F∪(−F)⟨f,φ⟩

This has a dual:

∥φ∥∗=sup⁡∥f∥≤1⟨f,φ⟩.

By definition, |⟨f,φ⟩|≤∥f∥∥φ∥∗. Note

∥f∥=sup⁡φ∈F|⟨f,φ⟩|=sup⁡φ∈F|𝔼xf(x)φ(x)|≤∥f∥1,

and by duality

∥φ∥∗≥∥φ∥∞.

Lemma 3.10. The unit ball of ∥∙∥∗ is just conv⁡(F∪(−F)).

We will use Hahn–Banach to prove this.

Theorem 3.11 (Hahn–Banach). Let K be a closed convex body in ℝn, and suppose 𝜃∈ℝn∖K. Then there exists f∈ℝn such that ⟨f,𝜃⟩>1 while ⟨f,η⟩≤1 ∀⁡η∈K.

PIC

Proof. Suppose φ∈F∪(−F). Then

∥φ∥∗=sup⁡∥f∥≤1⟨f,φ⟩≤1.

So φ is in the unit ball of ∥∙∥∗. Convex combinations of elements in F∪(−F) are also in the unit ball by the triangle inequality.

For the converse, we need Hahn–Banach. Suppose φ∉conv⁡(F∪(−F)). By Theorem 3.11, there exists f such that ⟨f,φ⟩>1 but ⟨f,η⟩≤1 ∀⁡η∈conv⁡(F∪(−F)). The latter implies ∥f∥≤1. But

1<⟨f,φ⟩≤∥f∥∥φ∥∗≤∥φ∥∗.

Hence φ does not lie in the unit ball of ∥∙∥∗. □

This implies that the unit ball of ∥∙∥∗ is closed under multiplication. Hence, ∀⁡φ,ψ:G→ℝ, then

∥φ∥φ∥∗ψ∥ψ∥∗∥∗≤1⟹∥φψ∥∗≤∥φ∥∗∥ψ∥∗.

(dual norm is submultiplicative).

Theorem 3.12 (Dense Model (Theorem 3.7’)). For all 𝜀>0, if ν:X→[0,∞) satisfying ∥ν−1∥≤exp⁡(−𝜀−O(1)) and f:X→[0,∞) satisfies 0≤f≤ν, then there exists f~:X→[0,1] such that ∥f−f~∥≤𝜀.

Proof. Given f:X→[0,∞), 0≤f≤ν, it suffices to show that there exists f~:X→[0,1+𝜀2] with ∥f−f~∥≤𝜀2, assuming that ∥ν−1∥≤𝜀′ for some sufficiently small 𝜀′.

Suppose that there is no such f~, i.e. f cannot be written as f=f1+f2, with

f1∈K1={g:X→[0,1+𝜀∕2]}andf2∈K2={h:X→ℝ:∥h∥≤𝜀∕2}.

In other words: we are supposing that f∉K1+K2. Note that K1 and K2 are both convex bodies, and both contain 0. Thus K1+K2 is convex and contains K1 and K2.

By Hahn–Banach, there exists ψ:X→ℝ such that ⟨f,ψ⟩>1 and ⟨g,ψ⟩≤1 ∀⁡g∈K1+K2. Taking g=(1+𝜀2)𝟙ψ>0∈K1, we note that

⟨(1+𝜀∕2)𝟙ψ>0,ψ⟩=⟨(1+𝜀∕2),ψ+⟩≤1

where ψ+(x)=max⁡{0,ψ(x)}. Thus ⟨1,ψ+⟩≤(1+𝜀∕2)−1.

On the other hand, if ⟨g,ψ⟩≤1 ∀⁡g∈K2, so ⟨g′,ψ⟩≤2𝜀 for all g′:X→ℝ with ∥g′∥≤1. So ∥ψ∥∗≤2𝜀.

So far, we have

1<⟨f,ψ⟩≤⟨f,ψ+⟩≤⟨ν,ψ+⟩=⟨ν−1,ψ+⟩+⟨1,ψ+⟩⏟≤(1+𝜀∕2)−1.

So if we had ∥ψ+∥∗ bounded above, we would be done. Indeed, by Weierstrass approximation, there exists a polynomial P such that

|P(x)−max⁡{0,x}|≤𝜀8∀⁡x∈[−2𝜀,2𝜀].

Recall that earlier we used duality to show ∥ψ∥∞≤∥ψ∥∗≤2𝜀, which is why we only need the polynomial approximation to hold in the interval [−2𝜀,2𝜀].

Let P(x)=adxd+⋯+a1x+a0. We can do this with R:=∑⁡i=0d|ai|(2𝜀)i= exp ⁡(−𝜀−O(1)). Now

∥Pψ∥∗≤∑i=1d|ai|∥ψi∥∗≤∑i=1d|ai|(∥ψ∥∗)i≤R

and

⟨ν−1,ψ+⟩=⟨ν−1,Pψ⟩+⟨ν−1,ψ+−Pψ⟩≤∥ν−1∥∥Pψ∥∗⏟≤𝜀′⋅R+∥ν−1∥1⏟≤1∥ψ+−Pψ∥∞⏟≤𝜀8.

Choosing 𝜀′ such that 𝜀′⋅R≤𝜀8, we arrive at a contradiction. □

X=X1∪X2∪X3∪X4.

X−i means X1∪⋯∪Xi−1∪Xi+1∪⋯∪X4. x−i=(x1,…,xi−1,xi+1,x4)∈X−i. (for all i∈[4])

Work with 4-partite 3-uniform weighted hypergraphs.

g=(g−i)i∈[4]

with each g−i:X−i→ℝ. For two such hypergraphs, g and ν, write g≤ν whenever g−i(x−i)≤ν−i(x−i) for all i∈[4] and all x−i∈X−i.

Given a weighted 3-uniform hypergraph h on X−i, define

∥h∥□,i=sup⁡Aj⊆X−j|𝔼x−i∈X−ih(x−i)∏j∈[4]∖{i}𝟙Aj(x−i,−j)|.

Given a weighted 4-partite 3-uniform hypergraph on X, define

∥g∥□=max⁡i∈[4]{∥g−i∥□,i}.

Definition 3.13. Say that a 4-partite 3-uniform weighted hypergraph ν satisfies the 3-LFC if

𝔼x1(0),x1(1)∈X1⋮x4(0),x4(1)∈X4∏j=14∏ω∈{0,1}[4]∖{j}ν(x−j(ω))nj,w=1+o(1).

Our definition can be recovered by making the substitution

(x(ω))−j=∑i=14(j−i)xi(ωi).
        x2 + 2x3 + 3x4− x1 + x3 + 2x4− 2x1 − x2 + x4−−−(((x1x1x1+++xxx222+++xxx−333 3+++xxxx1444 −))) 2x2 − x3

Theorem 3.14 (Sparse counting lemma). Let ν,g,g~ be weighted hypergraphs on X1∪X2∪X3∪X4. Suppose that ν satisfies the 3-LFC (as in Definition 3.13), 0≤g≤ν, 0≤g~≤1, and ∥g−g~∥□=o(1). Then

|𝔼x1,…,x4∏j=14g−j(x−j)−𝔼x1,…,x4∏j=14g~−j(x−j)|=o(1).

The proof consists of the following steps:

(1)

Lemma 3.15 (Telescoping argument). Let 0≤g~≤1, and g−j≤1 ∀⁡j∈[3], g−4≤ν−4. If ∥g−g~∥□≤𝜀, then

|𝔼x1,…,x4∏j=14g−j(x−j)−∏j=14g~−j(x−j)|≤4𝜀.

Sketch proof.

𝔼∏j=14g(x−j)=𝔼∏j=13g(x−j)(g(x−4)−g~(x−4))⏟small+𝔼∏j=13g(x−j)g~(x−4)

Now we no longer have to worry about g−4. Then repeat. □

(2)

Lemma 3.16 (Strong linear forms). Suppose ν satisfies the 3-LFC as defined in Definition 3.13 and suppose 0≤g≤ν, 0≤g~≤1. Then

|𝔼x1,x2,x3,x4(0),x4(1)(ν(x−4)−1)∏j=13∏ω∈{0,1}hj,ω(x−j(ω))|,

where x(ω)=(x1,x2,x3,x4(ω)) and hj,ω is either g−j or g~−j.

Sketch proof. Use LFC and Cauchy-Schwarz. □

(3) Next (final) lecture: densification strategy

At each step, if g−j≤ν−j and ∥g−j−g~−j∥□,j≤𝜀, find 0≤g−j′≤1 such that ∥g−j′−g~−j∥□,j≤𝜀.

Sketch proof of Theorem 3.5. Given f:ℤ∕Nℤ→[0,∞) and ν:ℤ∕Nℤ→[0,∞), 0≤f≤ν, satisfying the 3-LFC:

ψ:G4→G{ψ1(x1,…,x4)=x2+2x3+3x4ψ2(x1,…,x4)=−x1+x3+2x4ψ3(x1,…,x4)=−2x1−x2+x4ψ4(x1,…,x4)=−3x1−2x2−x3

Define the weighted hypergraphs g,ν on (ℤ∕Nℤ)4:

g−j(x−j)=f(ψj(x1,…,x4))ν−j(x−j)=ν(ψj(x1,…,x4))

and from the Dense Model Theorem, obtain f~:ℤ∕Nℤ→[0,1] such that ∥f−f~∥□≤𝜀, with corresponding weighted hypergraph

g~−j(x−j)=f~(ψj(x1,…,x4)).

By the sparse counting lemma, we have

Corollary 3.17. For all γ>0, there exists 𝜀>0 such that the following holds: Let ν,f,f~:ℤ∕Nℤ→[0,∞) with 0≤f≤ν, 0≤f~≤1 and ∥f−f~∥□≤𝜀. Then

|𝔼x,d∏j=03f(x+jd)−𝔼∏j=03f~(x+jd)|≤γ.

But also, by Corollary 3.9, 𝔼f~=𝔼f≥δ, so by the weighted Szemerédi Theorem we get the result. □

Proof of Theorem 3.14. By inductionon m=number of ν−1,…,ν−4 that are not identically 1. m=0 and m=1 straightforward.

Suppose true for m=M≥1, and consider M+1. Without loss of generality ν−1 is not identically 1. Define auxiliary weighted hypergraphs ν′,g′,g~′:X−1→[0,∞) by

ν′(x−1)=𝔼x1∈X1ν−2(x−2)ν−3(x−3)ν−4(x−4)g′(x−1)=𝔼x1∈X1g−2(x−2)g−3(x−3)g−4(x−4)g~′(x−1)=𝔼x1∈X1g~−2(x−2)g~−3(x−3)g~−4(x−4)

Note that these do not depend on ν−1, g−1, g~−1. Also define g′∧1=max⁡{g′,1} and ν′∧1=max⁡{ν′,1}.

Observe that by the LFC, 𝔼ν′,𝔼ν′2=1+o(1) and by Cauchy–Schwarz, (𝔼|ν′−1|)2≤𝔼|ν′−1|2=o(1) (i).

Claim: ∥g′∧1−g~′∥□=o(1).

Proof of claim: Since 0≤g′−g′∧1=max⁡{g′−1,0}≤max⁡{ν′−1,0}≤|ν′−1| (ii). For any A2⊆X3×X4, A3⊆X2×X4, A4⊆X2×X3,

𝔼((g′∧1)−g~′(x−1))𝟙A2(x3,x4)𝟙A3(x2,x4)𝟙A4(x2,x3)⏟=∏j=24𝟙Aj=𝔼(g′∧1−g′)(x−1)⏟in absolute value =o(1) because of (i) and (ii)∏j=24𝟙Aj+𝔼(g′−g~′)(x−1)∏j=24𝟙Aj

Note that g′ involves at most M unbounded functions, so the second term is o(1) by the inductive hypothesis. □

Consider

|𝔼∏j=14g−j(x−j)−∏j=14g~−j(x−j)|=|𝔼x2,x3,x4g−1(x−1)g′(x−1)−g~−1(x−1)g~′(x−1)|=𝔼g−1g′−g~−1g~′=𝔼g(g′−g~′)+𝔼(g−g~)g~′

Since 0≤g~≤1, the second term is at most ∥g−g~∥□=o(1). The first term, by Cauchy–Schwarz, is bounded above by

(𝔼g)(𝔼g(g′−g~′)2)≤𝔼ν⏟=1+o(1)⋅𝔼ν(g′−g~′)2

By the strong linear forms condition, may replace ν by 1. So |𝔼g(g′−g~′)|2≤(1+o(1))(o(1)+𝔼(g′−g~′)2). Expand

𝔼(g′−g~′)2=𝔼(g′⏟≤ν′−g~′⏟≤1)(g′−g′∧1)⏟≤|ν′−1|+𝔼(g′−g~′)(g′∧1−g~′)⏟=(iii)

So the first term is bounded above by 𝔼(ν′+1)|ν′+1|=o(1) by LFC.

Notice that

𝔼(g′−g~′)(g′∧1−g~′)=𝔼g′⋅g′∧1+𝔼g~′2−𝔼g′g~′−𝔼g~′⋅g′∧1,

and each term is, up to o(1), equal to 𝔼g~′2. Indeed (let’s do the hardest term),

𝔼g′⋅g′∧1−𝔼g~′2=𝔼x1,x2,x3,x4[g′∧1(x−1)∏j=24g−j(x−j)−g~′(x−1)∏j=24g~−j(x−j)]

but ∥g′∧1−g~′∥□=o(1) by the claim, so done by inductive hypothesis. □

Ω