Olson's dichotomy: either every subset sum is represented twice, or
ProvedErdos131.olson_theorem3_2Olson's dichotomy for the set of subset sums, specialised to abelian groups.
For a finite subset of an abelian group , write
the set of all subset sums of (the empty subset contributes , so always). A representation of is a subset with ; equivalently, in Olson's notation, a tuple with .
The theorem asserts that exactly one of two things can happen, and in either case the set of subset sums is constrained:
- every element of has at least two distinct representations; or
- is large:
This is Theorem 3.2 of Olson's 1975 paper, which is stated there for an arbitrary — possibly non-abelian, possibly infinite — group and asserts the existence of an arrangement of the elements of for which the dichotomy holds, since for a non-abelian group depends on the order in which the elements are listed. In an abelian group does not depend on the arrangement, so the existential quantifier over arrangements disappears and the statement takes the form above. Olson proves alternative (2) with the sharper constant ; the uniform constant recorded here is the weaker form that he himself carries through the induction, and is the form in which the theorem is quoted downstream.
On the hypotheses. Olson's statement is about a set of distinct non-zero elements, so is kept here even though it is not needed: if then for every and every representation of , exactly one of and is a second representation, so alternative (1) holds automatically. Nonemptiness of , on the other hand, is genuinely needed: for one has , whose single element has only the representation , so (1) fails, while , so (2) fails as well.
Where the dichotomy is used. If is zero-sum-free — no nonempty subset of sums to — then is represented only by , so alternative (1) is impossible and alternative (2) must hold. That deduction is exactly Theorem 7 of Erdős–Lev–Rauzy–Sándor–Sárközy, which is how Olson's theorem enters the bound for non-dividing sets.
What the proof requires. Olson's proof of Theorem 3.2 is an induction on resting on three further results of the same paper: Theorem 2.1 (Kemperman–Scherk: if then every element of has at least representations as ), Theorem 2.2 (if is finite then for every either or ), and Lemma 3.1, an averaging estimate on which feeds Theorem 3.1, the quantitative arrangement theorem. None of these is in Mathlib.
import Definitions.Def_Erdos131_NonDividing import Mathlib.Tactic open Erdos131
theorem Erdos131.olson_theorem3_2 {G : Type*} [AddCommGroup G] [DecidableEq G]
(A : Finset G) (hA : A.Nonempty) (h0 : (0 : G) ∉ A) :
(∀ g ∈ A.powerset.image (fun S => ∑ x ∈ S, x),
∃ S ∈ A.powerset, ∃ T ∈ A.powerset,
S ≠ T ∧ (∑ x ∈ S, x) = g ∧ (∑ x ∈ T, x) = g)
∨ 1 + (A.card : ℝ) ^ 2 / 9 < ((A.powerset.image fun S => ∑ x ∈ S, x).card : ℝ) := by sorry