Approximate homomorphism version of PFR
DefinitionAdditive energy#
If \(G\) is a finite additive group and \(A\) is a subset of \(G\), the additive energy \(E(A)\) of \(A\) is the normalized count
The normalization by \(|G|^3\) is the convention of Finset.addEnergy', and every statement in this chapter that mentions \(E(A)\) uses it.
Used by 2
LemmaCauchy–Schwarz bound#
If \(G\) is a finite additive group and \(A,B\) are subsets of \(G\), then
The left-hand side is the square of the density of a subset of \(G \times G\), and the right-hand side involves the density of a subset of \(G\).
Proof
If \(B\) is empty then the claim is trivial (with the Lean convention \(0/0\)), so without loss of generality \(B\) is non-empty. We can rewrite
where \(r: G \to \mathbb{N}\) is the counting function
From double counting we have
The Cauchy–Schwarz inequality then gives
and the claim follows on dividing both sides by \(|G|^4\).
Lean
Formalized as Finset.card_sq_le_card_mul_addEnergy'.
Sources
Uses 1 · Used by 1
LemmaBalog–Szemerédi–Gowers lemma#
Let \(G\) be a finite abelian group, and let \(A\) be a non-empty subset of \(G\) with \(E(A) \geq \frac{1}{K} \left( \frac{|A|}{|G|} \right)^3\) for some \(K \geq 1\). Then there is a subset \(A'\) of \(A\) with \(|A'| \geq |A| / (C_1 K^{C_2})\) and \(|A'-A'| \leq C_3 K^{C_4} |A|\), where
The Lean statement gives the two conclusions as inequalities between densities; these are equivalent to the ones above, the common factor \(|G|\) cancelling.
Proof
See https://terrytao.files.wordpress.com/2024/01/simplebsg.pdf.
Lean
Formalized as BSG_self.
Sources
Uses 1 · Used by 1
TheoremApproximate homomorphism form of PFR#
Let \(G,G'\) be finite abelian \(2\)-groups. Let \(f: G \to G'\) be a function, and suppose that there are at least \(|G|^2 / K\) pairs \((x,y) \in G^2\) such that
Then there exists a homomorphism \(\phi: G \to G'\) and a constant \(c \in G'\) such that \(f(x) = \phi(x)+c\) for at least \(|G| / (2 ^ {144} * K ^ {122})\) values of \(x \in G\).
Proof
Consider the graph \(A \subset G \times G'\) defined by
Clearly, \(|A| = |G|\). By hypothesis, we have \(a+a' \in A\) for at least \(|A|^2/K\) pairs \((a,a') \in A^2\). By Cauchy–Schwarz bound, this implies that \(E(A) \geq \frac{1}{K^2} \left( \frac{|A|}{|G \times G'|} \right)^3\). Applying Balog–Szemerédi–Gowers lemma, we conclude that there exists a subset \(A' \subset A\) with \(|A'| \geq |A|/C_1 K^{2C_2}\) and \(|A'+A'| \leq C_1C_3 K^{2(C_2+C_4)} |A'|\). Applying Corollary pfr-9-aux', we may find a subspace \(H \subset G \times G'\) such that \(|H| / |A'| \in [L^{-8}, L^{8}]\) and a subset \(c\) of cardinality at most \(L^5 |A'|^{1/2} / |H|^{1/2}\) such that \(A' \subseteq c + H\), where \(L = C_1C_3 K^{2(C_2+C_4)}\). If we let \(H_0,H_1\) be as in Goursat type theorem, this implies on taking projections the projection of \(A'\) to \(G\) is covered by at most \(|c|\) translates of \(H_0\). This implies that
since \(|H_0| |H_1| = |H|\), we conclude that
By hypothesis, \(A'\) is covered by at most \(|c|\) translates of \(H\), and hence by at most \(|c| |H_1|\) translates of \(\{ (x,\phi(x)): x \in G \}\). As \(\phi\) is a homomorphism, each such translate can be written in the form \(\{ (x,\phi(x)+c): x \in G \}\) for some \(c \in G'\). The number of translates is bounded by
By the pigeonhole principle, one of these translates must then contain at least \(|A'|/L^{10} \geq |G| / (C_1C_3 K^{2(C_2+C_4)})^{10} (C_1 K^{2C_2})\) elements of \(A'\) (and hence of \(A\)), and the claim follows.
Lean
Formalized as approx_hom_pfr.
Sources
Uses 4 · Used by 1
With a bit more effort, we can remove the constant term \(c\), at the cost of reducing the set of agreement slightly. We need some preliminary lemmas.
LemmaDuality#
Let \(G\) be a finite abelian \(2\)-group. Then the finite abelian \(2\)-group \(\mathrm{Hom}(G,\mathbb{Z}/2\mathbb{Z})\) of homomorphisms from \(G\) to \(\mathbb{Z}/2\mathbb{Z}\) has the same order as \(G\).
Proof
By the classification of finite abelian groups, \(G\) is isomorphic to \((\mathbb{Z}/2\mathbb{Z})^n\). Then \(\mathrm{Hom}(G,\mathbb{Z}/2\mathbb{Z})\) is isomorphic to \((\mathbb{Z}/2\mathbb{Z})^n\) as well, and hence has the same order.
Lean
Formalized as card_of_dual.
Sources
LemmaCounting#
Let \(G\) be a finite abelian \(2\)-group, and let \(x \in G\) be non-zero. Then there are \(|G|/2\) homomorphisms \(\phi: G \to \mathbb{Z}/2\mathbb{Z}\) such that \(\phi(x) = 1\).
Proof
The map \(\phi \mapsto \phi(x)\) is a homomorphism from \(\mathrm{Hom}(G,\mathbb{Z}/2\mathbb{Z})\) to \(\mathbb{Z}/2\mathbb{Z}\), and by Lemma Duality the kernel has order equal to the order of \(G / \{0,x\}\), which is \(|G|/2\). Then the preimage of \(1\) must also be of order \(|G|/2\).
Lean
Formalized as card_of_dual_constrained.
Sources
LemmaSlicing#
Let \(G\) be a finite abelian \(2\)-group, and let \(A\) be a subset of \(G\). Then there exists a homomorphism \(\phi: G \to \mathbb{Z}/2\mathbb{Z}\) such that \(|A \cap \phi^{-1}(1)| \geq (|A|-1)/2\).
Proof
We have
thanks to Lemma Counting. The claim now follows from Lemma Duality and the pigeonhole principle.
Lean
Formalized as card_of_slice.
Sources
Uses 2 · Used by 1
CorollaryApproximate homomorphism form of PFR, no constant term#
Let \(G,G'\) be finite abelian \(2\)-groups. Let \(f: G \to G'\) be a function, and suppose that there are at least \(|G|^2 / K\) pairs \((x,y) \in G^2\) such that
Then there exists a homomorphism \(\phi'': G \to G'\) such that \(f(x) = \phi''(x)\) for at least \((|G| / (2 ^ {144} * K ^ {122}) - 1)/2\) values of \(x \in G\).
Proof
By Theorem Approximate homomorphism form of PFR, there exists a homomorphism \(\phi: G \to G'\) and a constant \(c \in G'\) such that the set \(A := \{ x \in G: f(x) = \phi(x) + c\}\) has cardinality at least \(|G| / (2 ^ {144} * K ^ {122})\). By Lemma Slicing, there exists a homomorphism \(\phi': G \to \mathbb{Z}/2\mathbb{Z}\) such that
Then the claim follows by taking \(\phi'' = \phi + \phi' \bullet c\) (where we view \(G'\) as a \(\mathbb{Z}/2\mathbb{Z}\)-module).
Lean
Formalized as approx_hom_pfr'.
Sources
Uses 2
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.