363 Additive Combinatorics

Thesis. Complement, additive inverse and categorical duality are three involutions, related by translation and by reversal of arrows. The basic object of additive combinatorics is the sumset, and its basic inequalities follow from three ingredients already in place: order (Freiman’s lemma), injectivity of a map built on a difference (Ruzsa’s triangle inequality), and the cone of squares (Cauchy–Schwarz for additive energy). The central dichotomy of the subject — structure versus pseudorandomness — is a decomposition of a function into a part correlated with structured phases and a part with small uniformity norm, and the Green–Tao theorem is an instance of it.

363.1 Complement, inverse and dual

On indicator values, or in any ring, the complement and the additive inverse are

\begin{equation} \neg a=1-a, \qquad -a . \tag{21862}\end{equation}
Both are involutions, \(\neg \neg a=a\) and \(-(-a)=a\), and they differ by translation:
\begin{equation} \neg =T_1\circ (-), \qquad T_1(x)=1+x . \tag{21863}\end{equation}
The complement fixes the total, \(a+\neg a=1\); the inverse fixes zero, \(a+(-a)=0\). In \(\mathbb F_2\) one has \(-a=a\) and \(\neg a=1+a\), and the two laws read \(a+\neg a=1\), \(a+a=0\). Categorical duality \(\mathcal C\mapsto \mathcal C^{\mathrm {op}}\) is a third involution, \((\mathcal C^{\mathrm {op}})^{\mathrm {op}}=\mathcal C\), reversing arrows rather than values.

Setting Involution Fixed law Reference point
Boolean / sets \(\neg a=1-a\) \(a+\neg a=1\) total \(1\)
abelian group \(-a\) \(a+(-a)=0\) neutral \(0\)
categories \(\mathcal C^{\mathrm {op}}\) \((\mathcal C^{\mathrm {op}})^{\mathrm {op}}=\mathcal C\) identity arrows

363.2 Sumsets and difference sets

For finite subsets \(A,B\) of an abelian group,

\begin{equation} A+B=\{a+b:a\in A,\ b\in B\}, \qquad A-A=\{a-a':a,a'\in A\}. \tag{21864}\end{equation}
Always \(0\in A-A\), from \(a-a=0\), and \(A-A=\{0\}\) exactly when \(|A|\le 1\). The doubling constant is \(K=|A+A|/|A|\).

Extremes in \(\mathbb Z\).

\begin{equation} 2|A|-1\ \le \ |A+A|\ \le \ \frac {|A|(|A|+1)}{2}. \tag{21865}\end{equation}
The upper bound is attained by Sidon sets, in which all sums \(a+a'\) (\(a\le a'\)) are distinct.

Freiman’s lemma. Order \(A=\{a_1<\dots <a_k\}\). The chain

\begin{equation} a_1+a_1<a_1+a_2<\dots <a_1+a_k<a_2+a_k<\dots <a_k+a_k \tag{21866}\end{equation}
has \(2k-1\) distinct elements, giving the lower bound. Equality holds exactly when \(A\) is an arithmetic progression: then each \(a_i+a_{i+1}\) must coincide with an element of the chain, forcing \(a_{i+1}-a_i\) to be constant. The lower bound is a consequence of strict order; in \(\mathbb Z/p\), where no order is compatible with addition, its replacement is the Cauchy–Davenport theorem [640],
\begin{equation} |A+B|\ge \min \bigl (p,\ |A|+|B|-1\bigr ). \tag{21867}\end{equation}

363.3 Three basic inequalities

Ruzsa’s triangle inequality. For finite \(A,B,C\),

\begin{equation} |A|\,|B-C|\le |A-B|\,|A-C|~[641]. \tag{21868}\end{equation}
For each \(x\in B-C\) fix a representation \(x=b(x)-c(x)\) and define
\begin{equation} \varphi :A\times (B-C)\to (A-B)\times (A-C), \qquad \varphi (a,x)=\bigl (a-b(x),\ a-c(x)\bigr ). \tag{21869}\end{equation}
The difference of the two coordinates is \(x\), which determines \(b(x)\) and then \(a\); so \(\varphi \) is injective. The quantity \(d(A,B)=\log \frac {|A-B|}{\sqrt {|A||B|}}\) then satisfies the triangle inequality.

Additive energy. Let \(r(s)=\#\{(a,a')\in A^2:a+a'=s\}\) and \(E(A)=\sum _sr(s)^2=\#\{a_1+a_2=a_3+a_4\}\). Since \(\sum _sr(s)=|A|^2\) and \(r\) is supported on \(A+A\), Cauchy–Schwarz gives

\begin{equation} |A|^4=\Bigl (\sum _{s\in A+A}r(s)\Bigr )^2\le |A+A|\,E(A), \qquad |A+A|\ge \frac {|A|^4}{E(A)} . \tag{21870}\end{equation}
Small doubling forces large energy.

Plünnecke–Ruzsa. If \(|A+A|\le K|A|\), then for all \(m,n\ge 0\)

\begin{equation} |mA-nA|\le K^{m+n}|A|~[642,643,644]. \tag{21871}\end{equation}
Small doubling propagates to all iterated sums and differences.

363.4 Structure

Freiman’s theorem. If \(A\subset \mathbb Z\) and \(|A+A|\le K|A|\), then \(A\) is contained in a generalised arithmetic progression

\begin{equation} P=\{x_0+n_1d_1+\dots +n_rd_r:\ 0\le n_i<N_i\} \tag{21872}\end{equation}
of dimension \(r\le r(K)\) and size \(|P|\le C(K)|A|\) [645]. Sets with small doubling are dense subsets of low-dimensional progressions; Freiman’s lemma is the case \(K<3\) at its sharpest.

Fourier form. On \(\mathbb Z/N\), with \(\hat f(\xi )=\sum _xf(x)e^{-2\pi ix\xi /N}\),

\begin{equation} E(A)=\frac 1N\sum _\xi |\hat 1_A(\xi )|^4 , \tag{21873}\end{equation}
so large energy means \(1_A\) has large Fourier coefficients away from \(\xi =0\): correlation with a linear phase.

363.5 Structure and pseudorandomness

The decomposition. For \(A\subset \mathbb Z/N\) of density \(\delta \), write

\begin{equation} 1_A=\delta +f, \qquad \mathbb E f=0, \tag{21874}\end{equation}
the deviation from the uniform total. The Gowers norms
\begin{equation} \|f\|_{U^k}^{2^k}=\mathbb E_{x,h_1,\dots ,h_k}\prod _{\omega \in \{0,1\}^k}\mathcal C^{|\omega |}f(x+\omega \cdot h), \tag{21875}\end{equation}
with \(\mathcal C\) complex conjugation, are non-negative because each is an average of squared moduli at the previous level [646]. They control progressions: if \(\|f\|_{U^{k-1}}\) is small, the number of \(k\)-term progressions in \(A\) is close to \(\delta ^kN^2\), its value for a random set of the same density. If \(\|f\|_{U^{k-1}}\) is not small, \(f\) correlates with a nilsequence of step \(k-2\) (for \(k=3\), a linear phase) by the inverse theorem [647]. Every bounded function thus splits into a structured part, a uniform part and a small error.

Szemerédi and Roth. A set of positive upper density in \(\mathbb Z\) contains arithmetic progressions of every length [648]; for length three this is Roth’s theorem, proved by a density increment on Fourier coefficients [649].

Green–Tao. The primes contain arithmetic progressions of every length [650]. The primes have density zero, so Szemerédi’s theorem does not apply directly; Green and Tao show that the primes are a dense subset of a pseudorandom majorant built from truncated divisor sums, and prove a relative Szemerédi theorem for such subsets. The structure–pseudorandomness decomposition is carried out relative to the majorant.

363.6 Summary

Statement Form Ingredient
complement and inverse \(\neg =T_1\circ (-)\) two involutions
difference set \(0\in A-A\); \(A-A=\{0\}\iff |A|\le 1\) \(a-a=0\)
Freiman’s lemma \(|A+A|\ge 2|A|-1\), equality iff AP strict order
Cauchy–Davenport \(|A+B|\ge \min (p,|A|+|B|-1)\) prime modulus
Ruzsa triangle \(|A||B-C|\le |A-B||A-C|\) injective map
energy bound \(|A+A|\,E(A)\ge |A|^4\) cone of squares
Plünnecke–Ruzsa \(|mA-nA|\le K^{m+n}|A|\) small doubling
Freiman \(A\subset P\), \(\dim P\le r(K)\) structure
Gowers norms \(\|f\|_{U^k}\ge 0\), inverse theorem positivity
Szemerédi / Green–Tao long APs in dense sets / primes structure vs. uniformity

363.7 Formalization (Soundness, Validity, Completeness)

Soundness.

\begin{align} \Gamma \vdash \varphi &\;\Longleftrightarrow \; \text {syntactic transformation}, \tag{21876}\\ \Gamma \models \varphi &\;\Longleftrightarrow \; \text {semantic preservation}. \tag{21877}\end{align}
\begin{equation} \Gamma \vdash \varphi \;\Longrightarrow \; \Gamma \models \varphi \;\Longleftrightarrow \; \text {invariance under transformation} \;\Longleftrightarrow \; \varphi \Rightarrow \varphi \;\Longleftrightarrow \; A = A. \tag{21878}\end{equation}

Validity.

\begin{align} \models \varphi &\;\Longleftrightarrow \; \forall M:\; M \models \varphi \tag{21879}\\ &\;\Longleftrightarrow \; \text {truth invariant over all models} \tag{21880}\\ &\;\Longleftrightarrow \; \text {global invariance} \;\Longleftrightarrow \; T = 1 \;\Longleftrightarrow \; A = A. \tag{21881}\end{align}

Completeness (Gödel 1929).

\begin{align} \models \varphi \;&\Longrightarrow \; \vdash \varphi \notag \\ \text {semantics} \;&\Longrightarrow \; \text {syntax} \notag \\ &\Longleftrightarrow \; \text {reconstruction of invariant} \;\Longleftrightarrow \; \varphi \Rightarrow \varphi \;\Longleftrightarrow \; A = A. \tag{21882}\end{align}

Soundness + Completeness.

\begin{equation} \vdash \varphi \;\Longleftrightarrow \; \models \varphi \;\Longleftrightarrow \; \varphi \Rightarrow \varphi \;\Longleftrightarrow \; A = A. \tag{21883}\end{equation}

Connection (Lemma 91.7) .

\begin{equation} \text {circularity} \;\Longleftrightarrow \; \varphi \subseteq \Gamma \;\Longleftrightarrow \; \varphi \Rightarrow \varphi \;\Longleftrightarrow \; A = A. \tag{21884}\end{equation}

Conclusion.

\begin{equation} \boxed { \therefore \quad \Gamma \vdash \varphi \;\Longleftrightarrow \; \Gamma \models \varphi \;\Longleftrightarrow \; A = A. } \tag{21885}\end{equation}

Remark 363.1. Soundness asserts that syntactic derivation preserves semantic truth — invariance under transformation, which is \(A = A\). Validity asserts that \(\varphi \) holds across all models — global invariance, which is \(T = 1 \Longleftrightarrow A = A\). Completeness (Gödel 1929) closes the circle: semantic truth recovers syntactic derivability. Together:

\[ \vdash \,\varphi \;\Longleftrightarrow \; \models \,\varphi \;\Longleftrightarrow \; A = A. \]
Every valid proof is \(A = A\) unfolded through formal notation (Section 461, Subsection 762). The circularity is not a defect — it is the confirmation that the proof is valid.