The sum-free family of a base point #
Let a₀, b₀ and c₀ be vectors in Fin n → ℕ with a₀ r + b₀ r + c₀ r = p - 1 for every r.
The triples (a, b, c) with a, b and c in the type classes of a₀, b₀ and c₀ and
a r + b r + c r = p - 1 for every r are permuted transitively in each coordinate, so each
vector lies in equally many of them. Hashing them with a prime P chosen by Bertrand's postulate
into a set chosen by Behrend's construction gives a multicolored sum-free family nearly as large as
the smallest of the three type classes.
Main definitions #
ArithmeticTriangleRemovalInVectorSpaces.permTriple σ v: the triplevwith the entries of its three vectors permuted byσ.
Main statements #
ArithmeticTriangleRemovalInVectorSpaces.card_filter_mul_card_typeClass_eq: the fibers of a projection compatible with the permutations all have the same size.ArithmeticTriangleRemovalInVectorSpaces.exists_isMulticoloredSumFree_mul_exp_le: hashing with a prime from Bertrand's postulate into a set from Behrend's construction.ArithmeticTriangleRemovalInVectorSpaces.exists_isMulticoloredSumFree_of_typeClass: a multicolored sum-free family inFin n → ZMod pwith at leastw * exp (-4 * √(log ((12 + 2 * p) * p ^ (3 * n)))) / (4 * (12 + 2 * p))members, wherewis at most the size of each type class.
The sum-free family of a base point. If a₀ r + b₀ r + c₀ r = p - 1 for every r and
1 ≤ w is at most the size of the type classes of a₀, b₀ and c₀, then there is a
multicolored sum-free family in Fin n → ZMod p with at least
w * exp (-4 * √(log ((12 + 2 * p) * p ^ (3 * n)))) / (4 * (12 + 2 * p)) members.