Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Theorem 2.6 — E[f(R∪(B∩C))]≤E[f(R)]+OPT/(2n)\mathbf{E}[f(R \cup (B \cap C))] \le \mathbf{E}[f(R)] + OPT/(2n)E[f(R∪(B∩C))]≤E[f(R)]+OPT/(2n)

Proved
NonmonotoneSubmod.Nonadaptive.expect_union_upper

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

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

Let XXX be a nonempty finite ground set with n=∣X∣n = |X|n=∣X∣ elements, let f:2X→R≥0f : 2^X \to \mathbb{R}_{\ge 0}f:2X→R≥0​ be nonnegative and submodular with optimum OPT=max⁡S⊆Xf(S)OPT = \max_{S\subseteq X} f(S)OPT=maxS⊆X​f(S), let R=X(1/2)R = X(1/2)R=X(1/2) be a uniformly random subset of XXX, and let ω\omegaω be as in Definition 2.4. Let B⊆XB \subseteq XB⊆X be a set with

ω(x)≤OPTn2for every x∈B.\omega(x) \le \frac{OPT}{n^2} \quad \text{for every } x \in B .ω(x)≤n2OPT​for every x∈B.

Then for every C⊆XC \subseteq XC⊆X,

E[f(R∪(B∩C))]≤E[f(R)]+OPT2n.\mathbf{E}[f(R \cup (B \cap C))] \le \mathbf{E}[f(R)] + \frac{OPT}{2n}.E[f(R∪(B∩C))]≤E[f(R)]+2nOPT​.

Adding to the random set the elements of BBB, whose averaged marginal values are at most OPT/n2OPT/n^2OPT/n2, can increase the expected value by at most OPT/(2n)OPT/(2n)OPT/(2n). In the proof of Theorem 2.6 this lets the analysis replace E[f(R)]\mathbf{E}[f(R)]E[f(R)] by E[f(R∪(B∩C))]\mathbf{E}[f(R \cup (B \cap C))]E[f(R∪(B∩C))] at a cost of OPT/(2n)OPT/(2n)OPT/(2n).

Formalization Note Both expectations are exact uniform averages over the 2n2^n2n subsets of XXX. The ground set is assumed nonempty so that n≥1n \ge 1n≥1 and OPT/n2OPT/n^2OPT/n2, OPT/(2n)OPT/(2n)OPT/(2n) are not the Lean junk value of division by zero. Nonnegativity of fff (the paper's standing assumption) gives OPT≥0OPT \ge 0OPT≥0, used in the last step ∣B∩C∣⋅OPT/(2n2)≤OPT/(2n)|B \cap C| \cdot OPT/(2n^2) \le OPT/(2n)∣B∩C∣⋅OPT/(2n2)≤OPT/(2n).

Preamble
import Mathlib
import Definitions.Def_NonmonotoneSubmod_Shared_Submodular
import Definitions.Def_NonmonotoneSubmod_Shared_OPT
import Definitions.Def_NonmonotoneSubmod_Shared_F
import Definitions.Def_NonmonotoneSubmod_Nonadaptive_omega
Formal statement
namespace NonmonotoneSubmod.Nonadaptive

/-- Proof of Theorem 2.6 (Feige–Mirrokni–Vondrák 2011, p. 1139, third and fourth displays).
Let `f` be nonnegative and submodular on a nonempty ground set of `n` elements, `R = X(1/2)`.
If `ω(x) ≤ OPT/n²` for every `x ∈ B`, then for every `C ⊆ X`,
`E[f(R ∪ (B ∩ C))] ≤ E[f(R)] + OPT/(2n)`. -/
theorem expect_union_upper {X : Type} [Fintype X] [DecidableEq X] [Nonempty X]
    (f : Finset X → ℝ) (hf0 : ∀ S, 0 ≤ f S) (hf : NonmonotoneSubmod.Shared.Submodular f) (B C : Finset X)
    (hB : ∀ x ∈ B, omega f x ≤ NonmonotoneSubmod.Shared.OPT f / (Fintype.card X : ℝ) ^ 2) :
    NonmonotoneSubmod.Shared.F (fun S => f (S ∪ (B ∩ C))) (fun _ => 1 / 2) ≤
      NonmonotoneSubmod.Shared.F f (fun _ => 1 / 2) + NonmonotoneSubmod.Shared.OPT f / (2 * (Fintype.card X : ℝ)) := by sorry

end NonmonotoneSubmod.Nonadaptive
Source
Feige, Mirrokni, Vondrák, Maximizing Non-Monotone Submodular Functions, SIAM J. Comput. 40(4), 2011, p. 1139, §2, proof of Theorem 2.6, third and fourth displays (and the sentence before them)
Read-back

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

This theorem uses:

  • a finite, nonempty type XXX with decidable equality, with n=∣X∣≥1n = |X| \ge 1n=∣X∣≥1 (as a real number);
  • a set function f:2X→Rf : 2^X \to \mathbb{R}f:2X→R with f(S)≥0f(S) \ge 0f(S)≥0 for all SSS, which also satisfies the external predicate NonmonotoneSubmod.Shared.Submodular (body not shown);
  • two arbitrary subsets B,C⊆XB, C \subseteq XB,C⊆X.

The statement uses three external objects whose bodies are not shown:

  • OPT(f)\mathrm{OPT}(f)OPT(f) (NonmonotoneSubmod.Shared.OPT f): a real number determined by fff. Its name suggests the maximum of fff, but the code does not show this.
  • F(h,12)F(h, \tfrac12)F(h,21​) (NonmonotoneSubmod.Shared.F): a real number determined by a set function hhh and the constant function 12\tfrac1221​ on XXX.
  • ωf(x)\omega_f(x)ωf​(x) (omega f x): defined as F(S↦f(S∪{x})−f(S∖{x}), 12)F\big(S \mapsto f(S \cup \{x\}) - f(S \setminus \{x\}),\ \tfrac12\big)F(S↦f(S∪{x})−f(S∖{x}), 21​).

Hypothesis: for every x∈Bx \in Bx∈B,

ωf(x)  ≤  OPT(f)n2.\omega_f(x) \;\le\; \frac{\mathrm{OPT}(f)}{n^2}.ωf​(x)≤n2OPT(f)​.

Conclusion:

F(S↦f(S∪(B∩C)), 12)  ≤  F(f, 12)+OPT(f)2n.F\big(S \mapsto f(S \cup (B \cap C)),\ \tfrac12\big) \;\le\; F\big(f,\ \tfrac12\big) + \frac{\mathrm{OPT}(f)}{2n}.F(S↦f(S∪(B∩C)), 21​)≤F(f, 21​)+2nOPT(f)​.

BBB is not required to be the complement of any particular set. It is only the set over which the hypothesis on ωf\omega_fωf​ is imposed.

Degenerate cases:

  • Division: since n≥1n \ge 1n≥1, the divisions OPT(f)/n2\mathrm{OPT}(f)/n^2OPT(f)/n2 and OPT(f)/(2n)\mathrm{OPT}(f)/(2n)OPT(f)/(2n) are genuine divisions, not division by zero.
  • B=∅B = \emptysetB=∅: the hypothesis is vacuous, and the conclusion becomes F(S↦f(S),12)≤F(f,12)+OPT(f)/(2n)F(S \mapsto f(S),\tfrac12) \le F(f,\tfrac12) + \mathrm{OPT}(f)/(2n)F(S↦f(S),21​)≤F(f,21​)+OPT(f)/(2n).
  • B∩C=∅B \cap C = \emptysetB∩C=∅: the same conclusion results, with the hypothesis still imposed on BBB.
  • ∣X∣=1|X| = 1∣X∣=1: n=1n = 1n=1 and the bounds are OPT(f)\mathrm{OPT}(f)OPT(f) and OPT(f)/2\mathrm{OPT}(f)/2OPT(f)/2.
  • Satisfiability: whether the hypothesis can hold for nonempty BBB depends on the unshown definitions of FFF and OPT\mathrm{OPT}OPT.
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