Lefebvre's variations, No. 66 — on a theme by Erdős and Turán: no additive basis of order 2 has at most five ordered representations of every integer
ProvedLefebvreVariations.erdos_turan_bounded_fiveLet be a set such that, for every , there are at most ordered pairs with . Then is not an additive basis of order : there is some that is not a sum of two elements of .
This is the bound of the Erdős–Turán conjecture on additive bases, which asserts that no additive basis of order has a bounded representation function. Here the bound is small enough for a finite search.
Formalization Note The count is {(a, b) : ℕ × ℕ | a ∈ A ∧ b ∈ A ∧ a + b = n}.ncard, the number of ordered pairs, so and with count as two representations and counts once. The set is a subset of a finite set, so ncard is the true cardinality. The natural numbers include , so must be represented as for to be a basis. The conclusion is the negation of: every n : ℕ is a sum of two elements of A.
Why this is a variation. Variation on the open erdos_turan_additive_bases (the Erdos-Turan conjecture: no additive basis of order 2 has bounded representation function). It is a bounded instance, with the representation function at most 5, small enough for a finite search; it is a partial result and a model for larger bounds.
Attribution. This statement belongs to Lefebvre's variations, a series proposed by Erwan Lefebvre: each variation plays an open problem of the platform at its first non-trivial size, so that it can be settled and then reused to attack the open problem itself.
import Mathlib
namespace LefebvreVariations
/-- The Erdős–Turán conjecture on additive bases (no additive basis of order `2` has a bounded
representation function) at the first bounds that fall to a finite search: if every `n` has at most
`5` ordered representations `n = a + b` with `a, b ∈ A`, then `A` is not an additive basis of order `2`.
(The same search shows the bound `4`, and the parent's statement for every bound `C` is the conjecture itself.)
The set `A` is built one integer at a time: the requirement `1 ≤ r(n) ≤ 5` for each `n` fixes whether
`n ∈ A` up to a few choices, and the tree of admissible choices dies after at most `70` integers.
Source: the conjecture is Erdős and Turán, "On a problem of Sidon in additive number theory, and on
some related problems", J. London Math. Soc. 16 (1941), 212-215; that `r(n) ≥ 6` for infinitely many `n`
for every basis is due to Grekos, Haddad, Helou and Pihko, "On the Erdős-Turán conjecture",
J. Number Theory 102 (2003), 339-352 (both cited from memory); the finite search is ours. -/
theorem erdos_turan_bounded_five (A : Set ℕ)
(hA : ∀ n : ℕ, {(a, b) : ℕ × ℕ | a ∈ A ∧ b ∈ A ∧ a + b = n}.ncard ≤ 5) :
¬ (∀ n : ℕ, ∃ a b : ℕ, a ∈ A ∧ b ∈ A ∧ a + b = n) := by
sorry
end LefebvreVariations