Kemperman–Scherk addition theorem:
ProvedErdos131.kemperman_scherk_twoLet be an abelian group and let be finite sets with . Assume that has only the trivial representation in the sumset , that is, whenever , and
one necessarily has . Then
This is the addition theorem originating in the work of P. Scherk and J. H. B. Kemperman. The hypothesis says exactly that , and it is what rules out the obvious obstruction: if is a finite subgroup and , then is far below , but then every contributes a representation .
The bound is sharp: for one has , and more generally equality holds for arithmetic progressions with a common difference.
In the general Kemperman–Scherk theorem the conclusion is , where counts the representations ; the form above is the case where some element has a unique representation, normalised by translation so that this element is and the unique representation is . It is this normalised form that Erdős, Lev, Rauzy, Sándor and Sárközy quote as their Theorem 8 and then extend by induction to summands.
Formalization note. Because Finset.card takes values in , where subtraction truncates, the conclusion is stated in the subtraction-free form
which is equivalent to the displayed inequality. The sumset is Mathlib's pointwise A + B on Finset G, so the preamble opens the Pointwise scope. Both memberships and are kept as separate hypotheses, matching the source's ; neither follows from the uniqueness hypothesis, which is vacuous when or is empty.
import Definitions.Def_Erdos131_NonDividing import Mathlib.Tactic open Erdos131 open scoped Pointwise
theorem Erdos131.kemperman_scherk_two {G : Type*} [AddCommGroup G] [DecidableEq G]
(A B : Finset G) (hA : (0 : G) ∈ A) (hB : (0 : G) ∈ B)
(huniq : ∀ a ∈ A, ∀ b ∈ B, a + b = 0 → a = 0 ∧ b = 0) :
A.card + B.card ≤ (A + B).card + 1 := by sorry