The number of subset sums is monotone under inclusion
ProvedErdos131.card_subsetSums_monoLet be an abelian group and let be finite subsets of . Write
for the set of subset sums of a finite set , the empty subset contributing . Then
The content is only that every subset of is a subset of , so and the cardinalities compare. It is recorded because every lower bound for the number of subset sums — the trivial bound , or Olson's — is applied in practice to a conveniently chosen subset of the set one actually cares about, and this is the step that transports the resulting bound back up.
Formalization Note. Throughout, the set of subset sums of a finite set in an abelian group is rendered as A.powerset.image (fun S => ∑ x ∈ S, x), the image of the powerset of under the summation map. The empty subset is included, so always belongs to it. No hypothesis is placed on or ; both may be empty, in which case both sides equal .
import Definitions.Def_Erdos131_NonDividing import Mathlib.Tactic open Erdos131 open scoped Pointwise
theorem Erdos131.card_subsetSums_mono {G : Type*} [AddCommGroup G] [DecidableEq G]
{A B : Finset G} (h : B ⊆ A) :
(B.powerset.image fun S => ∑ x ∈ S, x).card
≤ (A.powerset.image fun S => ∑ x ∈ S, x).card := by sorry