when divides no nonzero subset sum of
ProvedErdos131.elrss_corollary1Let , let be an integer with , and let be a finite set all of whose elements exceed , i.e. . Suppose that divides no nonzero subset sum of : for every nonempty ,
Then
This is Corollary 1 of Erdős, Lev, Rauzy, Sándor and Sárközy. It is the arithmetic form of their general group-theoretic Theorem 3, obtained by reading the elements of modulo : the hypothesis says exactly that the residues form a zero-sum-free sequence in , and the condition together with bounds by the number of elements of lying in any one residue class modulo .
Applied to with , it yields the bound for non-dividing subsets of , and the authors note that it is in fact somewhat stronger than what that application needs. Dropping the hypothesis weakens the conclusion to (their Corollary 2).
Formalization Note Membership is kept as an explicit hypothesis, exactly as in the source; it also forces , which is what makes the conclusion correct in the degenerate case . The hypothesis is retained although the lower bound is already implied by .
import Definitions.Def_Erdos131_NonDividing import Mathlib.Tactic open Erdos131
theorem Erdos131.elrss_corollary1 {N a : ℕ} (A : Finset ℕ)
(hA : A ⊆ Finset.Icc 1 N) (ha : a ∈ Finset.Icc 1 N)
(hmin : ∀ b ∈ A, a < b)
(hdvd : ∀ S ∈ A.powerset, S.Nonempty → ¬ (a ∣ ∑ x ∈ S, x)) :
(A.card : ℝ) < 3 * Real.sqrt N := by sorry