Documentation

LeanPool.ArithmeticTriangleRemovalInVectorSpaces.Construction.Family

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 #

Main statements #

theorem ArithmeticTriangleRemovalInVectorSpaces.exists_isMulticoloredSumFree_of_typeClass {n p : ℕ} {a₀ b₀ c₀ : Fin n → ℕ} (hp : 2 ≤ p) (h₀ : ∀ (r : Fin n), a₀ r + b₀ r + c₀ r = p - 1) {w : ℝ} (hw : 1 ≤ w) (hwa : w ≤ ↑(typeClass a₀).card) (hwb : w ≤ ↑(typeClass b₀).card) (hwc : w ≤ ↑(typeClass c₀).card) :
∃ (m : ℕ) (x : Fin m → Fin n → ZMod p) (y : Fin m → Fin n → ZMod p) (z : Fin m → Fin n → ZMod p), IsMulticoloredSumFree x y z ∧ w * Real.exp (-4 * √(Real.log ((12 + 2 * ↑p) * ↑p ^ (3 * n)))) / (4 * (12 + 2 * ↑p)) ≤ ↑m

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.