Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Kemperman–Scherk: ∣A1+⋯+Am∣≥∣A1∣+⋯+∣Am∣−(m−1)|A_1+\cdots+A_m| \ge |A_1|+\cdots+|A_m|-(m-1)∣A1​+⋯+Am​∣≥∣A1​∣+⋯+∣Am​∣−(m−1)

Proved
Erdos131.kemperman_scherk_card_sumset

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

additive-combinatoricscombinatoricserdos-problemsgroup-theory

Let GGG be an abelian group and let A1,…,AmA_1, \ldots, A_mA1​,…,Am​ be finite subsets of GGG, each containing 000. Assume that 000 has only the trivial representation in the sumset, that is, whenever xj∈Ajx_j \in A_jxj​∈Aj​ for j=1,…,mj = 1, \ldots, mj=1,…,m and

x1+x2+⋯+xm=0,x_1 + x_2 + \cdots + x_m = 0,x1​+x2​+⋯+xm​=0,

one necessarily has x1=x2=⋯=xm=0x_1 = x_2 = \cdots = x_m = 0x1​=x2​=⋯=xm​=0. Then

∣A1+A2+⋯+Am∣ ≥ ∣A1∣+∣A2∣+⋯+∣Am∣−(m−1).|A_1 + A_2 + \cdots + A_m| \ \ge \ |A_1| + |A_2| + \cdots + |A_m| - (m-1).∣A1​+A2​+⋯+Am​∣ ≥ ∣A1​∣+∣A2​∣+⋯+∣Am​∣−(m−1).

For m=2m = 2m=2 this is the classical addition theorem of P. Scherk and J. H. B. Kemperman; the general mmm is obtained from it by induction, and is stated as Corollary 4 by Erdős, Lev, Rauzy, Sándor and Sárközy. The result says that a sumset in which 000 is represented only trivially cannot be much smaller than the largest of its summands; it is the tool that lets one add up lower bounds for several sets of subset sums without losing more than m−1m-1m−1 elements in total.

Formalization Note The mmm-fold sumset A1+⋯+AmA_1 + \cdots + A_mA1​+⋯+Am​ is rendered as the image of the dependent product ∏jAj\prod_j A_j∏j​Aj​ (Fintype.piFinset) under the map f↦∑jf(j)f \mapsto \sum_j f(j)f↦∑j​f(j), and the summands are indexed by Fin m. Because the cardinalities are natural numbers, the conclusion is stated in the subtraction-free form ∑j∣Aj∣≤∣A1+⋯+Am∣+(m−1)\sum_j |A_j| \le |A_1 + \cdots + A_m| + (m-1)∑j​∣Aj​∣≤∣A1​+⋯+Am​∣+(m−1), which is equivalent to the displayed inequality and also correct at m=0m = 0m=0.

Preamble
import Definitions.Def_Erdos131_NonDividing
import Mathlib.Tactic
open Erdos131
Formal statement
theorem Erdos131.kemperman_scherk_card_sumset {G : Type*} [AddCommGroup G] [DecidableEq G]
    {m : ℕ} (A : Fin m → Finset G)
    (h0 : ∀ j, (0 : G) ∈ A j)
    (huniq : ∀ f ∈ Fintype.piFinset A, (∑ j, f j) = 0 → ∀ j, f j = 0) :
    (∑ j, (A j).card) ≤ ((Fintype.piFinset A).image fun f => ∑ j, f j).card + (m - 1) := 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, Corollary 4 (preprint p. 9), derived there by induction from Theorem 8, which the authors attribute to P. Scherk and J. H. B. Kemperman; see P. Scherk, 'Distinct elements in a set of sums', Amer. Math. Monthly 62 (1955), 46 (reference [22] 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