Hashing triples into a set without arithmetic progressions #
Let A, B and C be sets of vectors in Fin n → ℕ, and let V be the set of the triples
(a, b, c) in A ×ˢ B ×ˢ C with a r + b r + c r = p - 1 for every r. A hash (h, α, β) with
values in ZMod P sends a to β + h ⬝ᵥ a and c to α + h ⬝ᵥ c. The triples whose two hashes
agree and lie in a set S without three-term arithmetic progressions, and which share no vector
with another such triple, form a multicolored sum-free family. Averaging over all hashes gives one
where this family is large. This is the construction of Section 4 of Kleinberg, Sawin and Speyer.
Main definitions #
ArithmeticTriangleRemovalInVectorSpaces.vecSumTriples p A B C: the triples(a, b, c)ofA ×ˢ B ×ˢ Cwitha r + b r + c r = p - 1for everyr.ArithmeticTriangleRemovalInVectorSpaces.Shares v v': the triplesvandv'agree in some coordinate.ArithmeticTriangleRemovalInVectorSpaces.hashedTriples V S θ: the triples ofVwhose hashes underθagree and lie inS.ArithmeticTriangleRemovalInVectorSpaces.isolatedTriples V S θ: the hashed triples sharing no vector with another hashed triple.
Main statements #
ArithmeticTriangleRemovalInVectorSpaces.isMulticoloredSumFree_isolatedTriples: the isolated triples form a multicolored sum-free family (Lemma 4.3 of Kleinberg, Sawin and Speyer).ArithmeticTriangleRemovalInVectorSpaces.exists_isMulticoloredSumFree_of_hash: some hash leaves at least#V * #S * (P - F) / P ^ 3isolated triples, whereFbounds the number of triples sharing a vector with a given one (Lemma 4.6 of Kleinberg, Sawin and Speyer).
theorem
ArithmeticTriangleRemovalInVectorSpaces.exists_isMulticoloredSumFree_of_hash
{n p P F : ℕ}
{A B C : Finset (Fin n → ℕ)}
{S : Finset (ZMod P)}
[Fact (Nat.Prime P)]
(hp : 2 ≤ p)
(hpP : p < P)
(hsum : ∀ a ∈ A, ∀ b ∈ B, ∀ c ∈ C, ∑ r : Fin n, (a r + b r + c r) = n * (p - 1))
(hF : ∀ v ∈ vecSumTriples p A B C, {v' ∈ vecSumTriples p A B C | Shares v v'}.card ≤ F)
(hS : ThreeAPFree ↑S)
:
Lemma 4.6 of Kleinberg, Sawin and Speyer. Some hash leaves at least
#V * #S * (P - F) / P ^ 3 isolated triples, which form a multicolored sum-free family.