A non-dividing set is no larger than any of its elements
ProvedErdos131.card_le_memLet be a finite non-dividing set of natural numbers and let with . Then
Since this holds for every element, it holds for the smallest one, so : a non-dividing set can never be larger than its least element.
The proof is a pigeonhole argument on prefix sums. List in any order as and form the partial sums , . If there are at least such partial sums, so two of them are congruent modulo ; their difference is the sum of a nonempty contiguous block , which is a sum over a nonempty subset of divisible by , contradicting the non-dividing property.
This is the elementary first bound on the extremal function of Erdős problem #131; the much stronger is due to Erdős, Lev, Rauzy, Sándor and Sárközy.
Formalization Note. The hypothesis is needed: the singleton is vacuously non-dividing and has cardinality . In the setting of the problem, where , positivity is automatic.
import Definitions.Def_Erdos131_NonDividing import Mathlib.Tactic open Erdos131
theorem Erdos131.card_le_mem {A : Finset ℕ} (h : NonDividing A) {a : ℕ} (ha : a ∈ A)
(ha0 : 0 < a) : A.card ≤ a := by sorry
Confirmed by the mission captain (proposal self-audit).