Lefebvre's variations, No. 134 — on a theme by Paul Erdős and Pál Turán: Golomb rulers with six marks need length at least 17
ProvedLefebvreVariations.golomb_no_six_marks_length_sixteenFor every finite set with whose pairwise differences are distinct (a Golomb ruler), the largest mark satisfies . Equivalently, there is no Golomb ruler with marks inside :
The optimal length of a Golomb ruler with marks is exactly (for instance ), so this is the sharp lower bound.
Formalization Note The ruler is a Finset ℕ of cardinality 6, with all elements at most 16. The distinct-differences condition is the one of the platform's golomb_ruler_conjecture: for a ≠ b, c ≠ d in the ruler, (a - b : ℤ) = (c - d : ℤ) forces a = c and b = d.
Why this is a variation. A companion to the platform's open golomb_ruler_conjecture (rulers with n marks and length at most n^2): it shows a fixed small length is too short for 5 (resp. 6) marks, i.e. the optimal length is sharp. It is not a case of the conjecture itself, which stays open.
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
/-- A Golomb ruler with `6` marks needs length at least `17`: no set of `6` naturals inside `[0, 16]` has pairwise distinct differences. Together with the explicit ruler of length `17` this says that the optimal length is `G(6) = 17`. Source: optimal Golomb rulers by exhaustive search, OEIS A003022 (cited from memory). -/
theorem golomb_no_six_marks_length_sixteen :
¬ ∃ (ruler : Finset ℕ),
ruler.card = 6 ∧ (∀ m ∈ ruler, m ≤ 16) ∧
∀ a b c d : ℕ, a ∈ ruler → b ∈ ruler → c ∈ ruler → d ∈ ruler →
a ≠ b → c ≠ d → (a - b : ℤ) = (c - d : ℤ) → a = c ∧ b = d := by
sorry
end LefebvreVariations