Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Olson: a zero-sum-free set has more than 1+19∣A∣21+\frac19|A|^21+91​∣A∣2 subset sums

Proved
Erdos131.olson_card_subsetSums

by moutei · Sep 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

additive-combinatoricscombinatoricserdos-problemsgroup-theory

Let GGG be an abelian group and let A⊆GA \subseteq GA⊆G be a finite, nonempty set of distinct elements which is zero-sum-free: no nonempty subset of AAA sums to 000. Write

P(A) = {∑a∈Sa : S⊆A}\mathcal{P}(A) \ = \ \Big\{ \textstyle\sum_{a \in S} a \ : \ S \subseteq A \Big\}P(A) = {∑a∈S​a : S⊆A}

for the set of all subset sums of AAA; the empty subset contributes the element 000, so 0∈P(A)0 \in \mathcal{P}(A)0∈P(A) always. Then

∣P(A)∣ > 1+19 ∣A∣2.|\mathcal{P}(A)| \ > \ 1 + \frac{1}{9}\,|A|^2 .∣P(A)∣ > 1+91​∣A∣2.

This is a theorem of J. E. Olson, quoted as Theorem 7 by Erdős, Lev, Rauzy, Sándor and Sárközy. It is the engine behind every bound of the shape "a zero-sum-free set in a finite group is small": since P(A)\mathcal{P}(A)P(A) is contained in GGG, the inequality immediately gives ∣A∣<3∣G∣|A| < 3\sqrt{|G|}∣A∣<3∣G∣​ for a zero-sum-free subset of a finite abelian group GGG. It is one of the two classical addition theorems on which the Erdős–Lev–Rauzy–Sándor–Sárközy bound F(N)<3N+1F(N) < 3\sqrt{N} + 1F(N)<3N​+1 for non-dividing sets rests.

Formalization Note The set of subset sums is rendered as the image of the powerset of AAA under the summation map, and the zero-sum-free hypothesis quantifies over members of A.powerset in the same style as the definition of NonDividing. Nonemptiness of AAA is required: for A=∅A = \emptysetA=∅ both sides of the inequality equal 111, so the strict inequality fails. No finiteness assumption on GGG is imposed, matching the source, which states the result for an arbitrary abelian group.

Preamble
import Definitions.Def_Erdos131_NonDividing
import Mathlib.Tactic
open Erdos131
Formal statement
theorem Erdos131.olson_card_subsetSums {G : Type*} [AddCommGroup G] [DecidableEq G]
    (A : Finset G) (hA : A.Nonempty)
    (hzs : ∀ S ∈ A.powerset, S.Nonempty → (∑ x ∈ S, x) ≠ 0) :
    1 + (A.card : ℝ) ^ 2 / 9 < ((A.powerset.image fun S => ∑ x ∈ S, x).card : ℝ) := by sorry
Source
P. Erdős, V. Lev, G. Rauzy, C. Sándor, A. Sárközy, 'Greedy algorithm, arithmetic progressions, subset sums and divisibility', Discrete Math. 200 (1999), 119-135; author's preprint at https://math.haifa.ac.il/seva/Papers/greeda.dvi, Section 5, Theorem 7 (preprint p. 9), quoted there from J. E. Olson, 'Sums of sets of group elements', Acta Arith. 28 (1975), 147-156 (reference [18] of the paper).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me