Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem I.2 — randomized double greedy achieves half the optimum

Proved
DoubleGreedyUSM.Randomized.randomized_usm_half

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

approximation-algorithmsp2o-batch-pfp1ap2o-gran-per-chapterp2o-plan-paperp2o-v1randomized-algorithmssubmodular-functions

Let f:2N→R≥0f:2^{\mathcal N}\to\mathbb R_{\ge0}f:2N→R≥0​ be a submodular set function on a finite ground set, and let u1,…,unu_1,\ldots,u_nu1​,…,un​ be any order of its elements. Run the randomized double-greedy Algorithm 2 and let XnX_nXn​ be its output. If OPT=max⁡S⊆Nf(S)OPT=\max_{S\subseteq\mathcal N} f(S)OPT=maxS⊆N​f(S), then

OPT≤2 E[f(Xn)].OPT\le 2\,\mathbb E[f(X_n)].OPT≤2E[f(Xn​)].

Thus the algorithm attains the paper's one-half approximation ratio in expectation, including when the optimum is zero.

Formalization Note The theorem concerns the specific Algorithm 2 law and every enumeration of the ground set. It encodes the approximation inequality, while the paper's linear-time and value-oracle complexity claims are outside the Lean statement. The output identity Xn=YnX_n=Y_nXn​=Yn​ is stated separately in the endpoint milestone.

Preamble
import Mathlib
import Definitions.Def_NonmonotoneSubmod_Shared_Submodular
import Definitions.Def_NonmonotoneSubmod_Shared_OPT
import Definitions.Def_DoubleGreedyUSM_Randomized_Algorithm2
Formal statement
namespace DoubleGreedyUSM.Randomized

/-- Theorem I.2 (PDF p. 2): Algorithm 2 has expected output at least half the optimum. -/
theorem randomized_usm_half {X : Type} [Fintype X] [DecidableEq X]
    (f : Finset X → ℝ) (hf : NonmonotoneSubmod.Shared.Submodular f)
    (hf0 : ∀ S : Finset X, 0 ≤ f S)
    (l : List X) (hl : l.Nodup) (hcov : ∀ x : X, x ∈ l) :
    NonmonotoneSubmod.Shared.OPT f ≤
      2 * expect (state f l l.length) (fun s => f s.1) := by sorry

end DoubleGreedyUSM.Randomized
Source
Buchbinder, Feldman, Naor, Schwartz, A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization, FOCS 2012 version, Theorem I.2 (PDF p. 2), proof (PDF p. 5)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 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