Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Shapley–Folkman lemma

Open
ShapleyFolkman.shapley_folkman_lemma

by Nickrobbins95 · Oct 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

convex-hulleconomicsfamousminkowski-sumsoptimization

Shapley–Folkman lemma. Let N≥0N \ge 0N≥0 and m≥0m \ge 0m≥0 be integers and let S1,…,SmS_1, \dots, S_mS1​,…,Sm​ be arbitrary (not necessarily convex, closed or bounded) subsets of the Euclidean space RN\mathbb{R}^NRN. Their Minkowski sum is

S1+⋯+Sm={ s1+⋯+sm:si∈Si for i=1,…,m },S_1 + \cdots + S_m = \{\, s_1 + \cdots + s_m : s_i \in S_i \text{ for } i = 1, \dots, m \,\},S1​+⋯+Sm​={s1​+⋯+sm​:si​∈Si​ for i=1,…,m},

and conv⁡A\operatorname{conv} AconvA denotes the convex hull of a set A⊆RNA \subseteq \mathbb{R}^NA⊆RN. If

x∈conv⁡(S1+⋯+Sm),x \in \operatorname{conv}(S_1 + \cdots + S_m),x∈conv(S1​+⋯+Sm​),

then there are points xi∈conv⁡Six_i \in \operatorname{conv} S_ixi​∈convSi​ (i=1,…,m)(i = 1, \dots, m)(i=1,…,m) such that

x=∑i=1mxiand#{ i:xi∉Si }≤N.x = \sum_{i=1}^{m} x_i \qquad\text{and}\qquad \#\{\, i : x_i \notin S_i \,\} \le N .x=i=1∑m​xi​and#{i:xi​∈/Si​}≤N.

In words: every point of the convex hull of a Minkowski sum can be written as a sum of points taken from the convex hulls of the summands, where all but at most NNN of these points already lie in the original sets SiS_iSi​.

Because conv⁡(S1+⋯+Sm)=conv⁡S1+⋯+conv⁡Sm\operatorname{conv}(S_1 + \cdots + S_m) = \operatorname{conv} S_1 + \cdots + \operatorname{conv} S_mconv(S1​+⋯+Sm​)=convS1​+⋯+convSm​, the lemma says that a Minkowski sum of many sets is close to convex: the defect is confined to at most NNN summands, however large mmm is. It is the key step in Starr's construction of approximate (quasi-)equilibria for markets with non-convex preferences, and it underlies the small duality gap of separable non-convex optimization problems with many terms.

Formalization Note RN\mathbb{R}^NRN is EuclideanSpace ℝ (Fin N) and the family is indexed by Fin m. The Minkowski sum is the pointwise sum of sets ∑ i, S i (scope Pointwise), and the number of exceptional indices is Set.ncard {i | y i ∉ S i}. No nonemptiness hypothesis is stated: if some SiS_iSi​ is empty, the Minkowski sum is empty and the hypothesis on xxx cannot hold. The degenerate cases m=0m = 0m=0 and N=0N = 0N=0 are included.

Preamble
import Mathlib
open scoped Pointwise
Formal statement
namespace ShapleyFolkman

theorem shapley_folkman_lemma (N m : ℕ) (S : Fin m → Set (EuclideanSpace ℝ (Fin N)))
    (x : EuclideanSpace ℝ (Fin N)) (hx : x ∈ convexHull ℝ (∑ i, S i)) :
    ∃ y : Fin m → EuclideanSpace ℝ (Fin N),
      (∀ i, y i ∈ convexHull ℝ (S i)) ∧ ∑ i, y i = x ∧
        {i | y i ∉ S i}.ncard ≤ N := by
  sorry

end ShapleyFolkman
Source
R. M. Starr, Quasi-equilibria in markets with non-convex preferences, Econometrica 37(1) (1969), 25–38, Appendix: the Shapley–Folkman theorem (due to L. S. Shapley and J. H. Folkman); L. Zhou, A simple proof of the Shapley–Folkman theorem, Economic Theory 3(2) (1993), 371–372, the Shapley–Folkman theorem stated on p. 371; see also https://en.wikipedia.org/wiki/Shapley%E2%80%93Folkman_lemma

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