Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.2, proof of Theorem 3.6 — at termination, E[f(R∪(B∩C))],E[f(R∩(B∪C))]≤E[f(R)]+2nOPT\mathbf{E}[f(R \cup (B\cap C))], \mathbf{E}[f(R \cap (B\cup C))] \le \mathbf{E}[f(R)] + \frac{2}{n}OPTE[f(R∪(B∩C))],E[f(R∩(B∪C))]≤E[f(R)]+n2​OPT

Proved
NonmonotoneSubmod.SmoothLS.terminal_upper_estimates

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

local-searchp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1probabilitysubmodular-functions

Let f≥0f \ge 0f≥0 be submodular on a finite ground set XXX with n=∣X∣≥1n = |X| \ge 1n=∣X∣≥1 elements and OPT=max⁡S⊆Xf(S)OPT = \max_{S\subseteq X} f(S)OPT=maxS⊆X​f(S). Let A⊆XA \subseteq XA⊆X, B=X∖AB = X \setminus AB=X∖A, and let R=R(A,1/3)R = \mathcal{R}(A, 1/3)R=R(A,1/3), so that elements of AAA are sampled with probability p=2/3p = 2/3p=2/3 and elements of BBB with probability q=1/3q = 1/3q=1/3. For every C⊆XC \subseteq XC⊆X:

  1. if ωA,1/3(x)≤3n2OPT\omega_{A,1/3}(x) \le \frac{3}{n^2} OPTωA,1/3​(x)≤n23​OPT for every x∈Bx \in Bx∈B, then
E[f(R∪(B∩C))]≤E[f(R)]+2nOPT;\mathbf{E}[f(R \cup (B \cap C))] \le \mathbf{E}[f(R)] + \frac{2}{n} OPT;E[f(R∪(B∩C))]≤E[f(R)]+n2​OPT;
  1. if ωA,1/3(x)≥−3n2OPT\omega_{A,1/3}(x) \ge -\frac{3}{n^2} OPTωA,1/3​(x)≥−n23​OPT for every x∈Ax \in Ax∈A, then
E[f(R∩(B∪C))]≤E[f(R)]+2nOPT.\mathbf{E}[f(R \cap (B \cup C))] \le \mathbf{E}[f(R)] + \frac{2}{n} OPT.E[f(R∩(B∪C))]≤E[f(R)]+n2​OPT.

The two hypotheses are exactly what the termination of Algorithm SLS guarantees for the true smoothed marginals; the conclusions let the analysis replace the returned random set RRR by R∪(B∩C)R \cup (B\cap C)R∪(B∩C) and R∩(B∪C)R \cap (B \cup C)R∩(B∪C) at a cost of 2nOPT\frac{2}{n}OPTn2​OPT.

Formalization Note E[f(R∪D)]\mathbf{E}[f(R \cup D)]E[f(R∪D)] and E[f(R∩D)]\mathbf{E}[f(R \cap D)]E[f(R∩D)] are the multilinear extensions of S↦f(S∪D)S \mapsto f(S\cup D)S↦f(S∪D) and S↦f(S∩D)S \mapsto f(S \cap D)S↦f(S∩D) at the bias-13\tfrac1331​ point of AAA. n≥1n \ge 1n≥1 is assumed (Nonempty X) so that 2n\frac{2}{n}n2​ and 3n2\frac{3}{n^2}n23​ are not the Lean junk value of division by 000.

Preamble
import Mathlib
import Definitions.Def_NonmonotoneSubmod_Shared_Submodular
import Definitions.Def_NonmonotoneSubmod_Shared_OPT
import Definitions.Def_NonmonotoneSubmod_SmoothLS_BiasedSample
Formal statement
namespace NonmonotoneSubmod.SmoothLS

/-- §3.2, proof of Theorem 3.6, p. 1143, second paragraph and display (Feige–Mirrokni–Vondrák
2011). Let `f ≥ 0` be submodular on a ground set of `n = |X| ≥ 1` elements, `A ⊆ X`, `B = X \ A`,
and `R = R(A, 1/3)`. For every `C ⊆ X`:
* if `ω_{A,1/3}(x) ≤ (3/n²) OPT` for all `x ∈ B`, then `E[f(R ∪ (B ∩ C))] ≤ E[f(R)] + (2/n) OPT`;
* if `ω_{A,1/3}(x) ≥ -(3/n²) OPT` for all `x ∈ A`, then `E[f(R ∩ (B ∪ C))] ≤ E[f(R)] + (2/n) OPT`. -/
theorem terminal_upper_estimates {X : Type} [Fintype X] [DecidableEq X] [Nonempty X]
    (f : Finset X → ℝ) (hf0 : ∀ S, 0 ≤ f S) (hf : NonmonotoneSubmod.Shared.Submodular f) (A : Finset X) :
    ((∀ x, x ∉ A → omegaB f A (1 / 3) x ≤ 3 / (Fintype.card X : ℝ) ^ 2 * NonmonotoneSubmod.Shared.OPT f) →
      ∀ C : Finset X, NonmonotoneSubmod.Shared.F (fun S => f (S ∪ (Aᶜ ∩ C))) (biasPt A (1 / 3)) ≤
        Phi f (1 / 3) A + 2 / (Fintype.card X : ℝ) * NonmonotoneSubmod.Shared.OPT f) ∧
    ((∀ x, x ∈ A → -(3 / (Fintype.card X : ℝ) ^ 2 * NonmonotoneSubmod.Shared.OPT f) ≤ omegaB f A (1 / 3) x) →
      ∀ C : Finset X, NonmonotoneSubmod.Shared.F (fun S => f (S ∩ (Aᶜ ∪ C))) (biasPt A (1 / 3)) ≤
        Phi f (1 / 3) A + 2 / (Fintype.card X : ℝ) * NonmonotoneSubmod.Shared.OPT f) := by sorry

end NonmonotoneSubmod.SmoothLS
Source
Feige, Mirrokni, Vondrák, Maximizing Non-Monotone Submodular Functions, SIAM J. Comput. 40(4), 2011, p. 1143, §3.2, proof of Theorem 3.6, second paragraph and display, and the sentence 'Similarly, we can obtain ...' (pp. 1143)
Read-back

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

Let XXX be a nonempty finite type with decidable equality, and let n=∣X∣≥1n=|X|\ge 1n=∣X∣≥1. Let fff be a real-valued function on subsets of XXX with f(S)≥0f(S)\ge0f(S)≥0 for all SSS that satisfies the imported predicate "Submodular". Let A⊆XA\subseteq XA⊆X, write Ac=X∖AA^c=X\setminus AAc=X∖A, and let δ=1/3\delta=1/3δ=1/3. The statement uses imported notions whose definitions are not shown:

  • b=bA,1/3b=b_{A,1/3}b=bA,1/3​, the vector equal to 2/32/32/3 on AAA and 1/31/31/3 on AcA^cAc;
  • a functional F\mathcal FF of a set function and a vector in RX\mathbb R^XRX;
  • Φ=F(f,b)\Phi=\mathcal F(f,b)Φ=F(f,b);
  • ω(x)=F(S↦f(S∪{x}),b)−F(S↦f(S∖{x}),b)\omega(x)=\mathcal F(S\mapsto f(S\cup\{x\}),b)-\mathcal F(S\mapsto f(S\setminus\{x\}),b)ω(x)=F(S↦f(S∪{x}),b)−F(S↦f(S∖{x}),b);
  • OPT(f)\mathrm{OPT}(f)OPT(f), a real number determined by fff.

The theorem asserts both of the following.

(1) Upper condition on AcA^cAc. If ω(x)≤3n2OPT(f)\omega(x)\le \frac{3}{n^2}\mathrm{OPT}(f)ω(x)≤n23​OPT(f) for every x∉Ax\notin Ax∈/A, then for every C⊆XC\subseteq XC⊆X

F(S↦f(S∪(Ac∩C)), b)≤Φ+2nOPT(f).\mathcal F\big(S\mapsto f(S\cup(A^c\cap C)),\ b\big)\le \Phi+\tfrac{2}{n}\mathrm{OPT}(f).F(S↦f(S∪(Ac∩C)), b)≤Φ+n2​OPT(f).

(2) Lower condition on AAA. If ω(x)≥−3n2OPT(f)\omega(x)\ge -\frac{3}{n^2}\mathrm{OPT}(f)ω(x)≥−n23​OPT(f) for every x∈Ax\in Ax∈A, then for every C⊆XC\subseteq XC⊆X

F(S↦f(S∩(Ac∪C)), b)≤Φ+2nOPT(f).\mathcal F\big(S\mapsto f(S\cap(A^c\cup C)),\ b\big)\le \Phi+\tfrac{2}{n}\mathrm{OPT}(f).F(S↦f(S∩(Ac∪C)), b)≤Φ+n2​OPT(f).

Degenerate cases.

  • n≥1n\ge1n≥1: because XXX is nonempty, no division by zero occurs.
  • A=XA=XA=X: the hypothesis of (1) is vacuous, and (1) applies to every CCC with Ac∩C=∅A^c\cap C=\varnothingAc∩C=∅.
  • A=∅A=\varnothingA=∅: the hypothesis of (2) is vacuous.
  • C=∅C=\varnothingC=∅ in (1) or C=XC=XC=X in (2): the left side is F(f,b)=Φ\mathcal F(f,b)=\PhiF(f,b)=Φ.
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me