Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 2.2 — E[g(A(p))]≥(1−p) g(∅)+p g(A)\mathbf{E}[g(A(p))] \ge (1-p)\,g(\emptyset) + p\,g(A)E[g(A(p))]≥(1−p)g(∅)+pg(A)

Proved
NonmonotoneSubmod.RandomSet.lemma_2_2_sample_subset

by mikedeng1 · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1probabilitysubmodular-functions

Let XXX be a finite ground set and g:2X→Rg : 2^X \to \mathbb{R}g:2X→R a submodular function (of any sign). Let A⊆XA \subseteq XA⊆X and p∈[0,1]p \in [0,1]p∈[0,1], and let A(p)A(p)A(p) be the random subset of AAA in which each element of AAA appears independently with probability ppp. Then

E[g(A(p))]≥(1−p) g(∅)+p g(A).\mathbf{E}[g(A(p))] \ge (1-p)\, g(\emptyset) + p\, g(A).E[g(A(p))]≥(1−p)g(∅)+pg(A).

In words: on a random sample of a fixed set, a submodular function does at least as well as the linear interpolation between its values at the empty set and at the full set. This is the basic probabilistic property of submodular functions on which Lemma 2.3 and the analysis of Algorithm RS rest.

Formalization Note The expectation is the exact finite sum E[g(A(p))]=∑T⊆Ap∣T∣(1−p)∣A∖T∣ g(T)\mathbf{E}[g(A(p))] = \sum_{T \subseteq A} p^{|T|} (1-p)^{|A \setminus T|}\, g(T)E[g(A(p))]=∑T⊆A​p∣T∣(1−p)∣A∖T∣g(T). The hypothesis 0≤p≤10 \le p \le 10≤p≤1 is added explicitly; the paper implies it by calling ppp a probability. It is necessary: for A={a,b}A = \{a, b\}A={a,b} and ggg equal to 111 on {a}\{a\}{a} and {b}\{b\}{b} and 000 on ∅\emptyset∅ and AAA (submodular), the difference of the two sides is p(1−p)⋅2p(1-p)\cdot 2p(1−p)⋅2, which is negative for p=2p = 2p=2.

Preamble
import Mathlib
import Definitions.Def_NonmonotoneSubmod_Shared_Submodular
Formal statement
namespace NonmonotoneSubmod.RandomSet

/-- Lemma 2.2 (Feige–Mirrokni–Vondrák 2011, p. 1137). Let `g : 2^X → ℝ` be submodular, `A ⊆ X`,
and let `A(p)` be the random subset of `A` containing each element of `A` independently with
probability `p ∈ [0,1]`. Then `E[g(A(p))] ≥ (1 - p) g(∅) + p g(A)`. The expectation is written as
the exact finite sum over `T ⊆ A` with weight `p^|T| (1-p)^|A \ T|`. -/
theorem lemma_2_2_sample_subset {X : Type} [Fintype X] [DecidableEq X]
    (g : Finset X → ℝ) (hg : NonmonotoneSubmod.Shared.Submodular g) (A : Finset X) (p : ℝ)
    (hp0 : 0 ≤ p) (hp1 : p ≤ 1) :
    (1 - p) * g ∅ + p * g A ≤
      ∑ T ∈ A.powerset, p ^ T.card * (1 - p) ^ (A \ T).card * g T := by sorry

end NonmonotoneSubmod.RandomSet
Source
Feige, Mirrokni, Vondrák, Maximizing Non-Monotone Submodular Functions, SIAM J. Comput. 40(4), 2011, p. 1137, Lemma 2.2
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Let XXX be a finite type with decidable equality. Let ggg be any real-valued function on the finite subsets of XXX, g:2X→Rg : 2^X \to \mathbb{R}g:2X→R. Let A⊆XA \subseteq XA⊆X be a finite set and let ppp be a real number.

Hypotheses.

  • ggg satisfies the predicate Submodular(g)\mathrm{Submodular}(g)Submodular(g). This predicate comes from the imported file Definitions.Def_NonmonotoneSubmod_Shared_Submodular. Its definition is not in the code given to me, so I cannot say exactly what it requires. Nothing else is assumed about ggg: no nonnegativity, no monotonicity, and no normalization such as g(∅)=0g(\emptyset)=0g(∅)=0, unless the predicate itself imposes them.
  • 0≤p0 \le p0≤p and p≤1p \le 1p≤1.

Conclusion.

(1−p) g(∅)+p g(A)  ≤  ∑T⊆Ap∣T∣ (1−p)∣A∖T∣ g(T).(1-p)\,g(\emptyset) + p\,g(A) \;\le\; \sum_{T \subseteq A} p^{|T|}\,(1-p)^{|A\setminus T|}\,g(T).(1−p)g(∅)+pg(A)≤T⊆A∑​p∣T∣(1−p)∣A∖T∣g(T).

The sum runs over all 2∣A∣2^{|A|}2∣A∣ subsets TTT of AAA. The statement makes no claim about probability or expectation. It is exactly this finite weighted sum.

Degenerate cases. Powers use the convention 00=10^0 = 100=1.

  • A=∅A = \emptysetA=∅: the only term is T=∅T=\emptysetT=∅, with weight p0(1−p)0=1p^0(1-p)^0 = 1p0(1−p)0=1. The right side is g(∅)g(\emptyset)g(∅) and the left side is (1−p)g(∅)+p g(∅)=g(∅)(1-p)g(\emptyset)+p\,g(\emptyset) = g(\emptyset)(1−p)g(∅)+pg(∅)=g(∅), so the claim holds with equality for every ggg.
  • p=0p = 0p=0: only T=∅T=\emptysetT=∅ has nonzero weight, which is 111. Both sides equal g(∅)g(\emptyset)g(∅).
  • p=1p = 1p=1: only T=AT=AT=A has nonzero weight, which is 111. Both sides equal g(A)g(A)g(A).
  • Empty XXX: then A=∅A=\emptysetA=∅, and the first case applies.
  • Assumption not used: the finiteness of XXX does not appear anywhere in the inequality.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

    Confirmed by the mission captain (proposal self-audit).

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