4 Dependent random choice
Let \(p\geq 2\) be an even integer. Let \(B_1,B_2\subseteq G\) and \(\mu =\mu _{B_1}\circ \mu _{B_2}\). For any finite set \(A\subseteq G\) and function \(f:G\to \mathbb {R}_{\geq 0}\) there exist \(A_1\subseteq B_1\) and \(A_2\subseteq B_2\) such that
and
First note that the statement is trivially true (with \(A_1=B_1\) and \(A_2=B_2\), say) if \(\lVert 1_{A}\circ 1_{A}\rVert _{p(\mu )}^p=0\). We can therefore assume this is \(\neq 0\).
For \(s\in G^{p}\) let \(A_1(s)=B_1\cap (A+s_1)\cap \cdots \cap (A+s_{p})\), and similarly for \(A_2(s)\). Note that
In particular, applying this with \(f\equiv 1\) we see that
and
say. Let \(M{\gt}0\) be some parameter, and let
Then we have
To see why, note first that each summand on the left-hand side is \(\leq \) the corresponding summand on the right-hand side, arguing by cases on whether \(g(s)=1\) or not. It therefore suffices to show that there exists some \(s\) such that the summand on the left-hand side is \({\lt}\) the corresponding summand on the right-hand side.
If \(g(s)=0\) for all \(s\) then choose some \(s\) such that \(\left\lvert A_1(s)\right\rvert \left\lvert A_2(s)\right\rvert \geq M^2\) (this must exist or else \(\left\lvert A_1(s)\right\rvert \left\lvert A_2(s)\right\rvert =0\) for all \(s\), but then \(\lVert 1_A\circ 1_A\rVert _{p(\mu )}^p=0\) by the above calculation). Otherwise, choose some \(s\) such that \(g(s)=1\), and note that for this \(s\) we have, by definition of \(s\),
We now choose
so that, by the Cauchy-Schwarz inequality,
and so
whence
In particular there must exist some \(s\) such that
We claim this \(s\) meets the requirements. The first is satisfied since the right-hand side is \(\leq 2\eta \left\lvert A_1(s)\right\rvert \left\lvert A_2(s)\right\rvert \). The second is satisfied since the left-hand side is trivially \(\geq 0\) and hence such an \(s\) must satisfy \(g(s)=0\), whence either \( \left\lvert A_1(s)\right\rvert \left\lvert A_2(s)\right\rvert \geq M^2\), that is,
or \(\left\lvert A_1(s)\right\rvert \left\lvert A_2(s)\right\rvert =0\), which can’t happen because then the right-hand side is \(=0\).
The final bound now follows since \(xy \leq \min (x,y)\) when \(x,y\leq 1\).
Let \(\epsilon ,\delta {\gt}0\) and \(p\geq \max (2,\epsilon ^{-1}\log (2/\delta ))\) be an even integer. Let \(B_1,B_2\subseteq G\), and let \(\mu =\mu _{B_1}\circ \mu _{B_2}\). For any finite set \(A\subseteq G\), if
then there are \(A_1\subseteq B_1\) and \(A_2\subseteq B_2\) such that
and
Apply Lemma 4.1 with \(f=1_{G\backslash S}\). This produces some \(A_1\subseteq B_1\) and \(A_2\subseteq B_2\) such that
and
It then suffices to note that
and by definition of \(S\) we have
Now use the fact that \(p\geq \epsilon ^{-1}\log (2/\delta )\) together with the inequality \(1-x\leq e^{-x}\) to deduce that the right-hand side is \(\leq \tfrac {\delta }{2}\lVert 1_{A}\circ 1_{A}\rVert _{p(\mu )}^p\).
Let \(\epsilon ,\delta {\gt}0\) and \(p\geq \max (2,\epsilon ^{-1}\log (2/\delta ))\) be an even integer and \(\mu \equiv 1/N\). If \(A\subseteq G\) has density \(\alpha \) and
then there are \(A_1,A_2\subseteq G\) such that
and both \(A_1\) and \(A_2\) have density
We apply Lemma 4.2 with \(B_1=B_2=G\). It remains to note that