Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma II.1 — ai+bi≥0a_i + b_i \ge 0ai​+bi​≥0 along the run of Algorithm 1

Proved
DoubleGreedyUSM.Deterministic.lemma_II_1

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

approximation-algorithmsgreedy-algorithmsp2o-batch-pfp1ap2o-gran-per-chapterp2o-plan-paperp2o-v1submodular-functions

Let N\mathcal NN be a finite ground set, f:2N→Rf : 2^{\mathcal N} \to \mathbb Rf:2N→R a submodular function, i.e. f(A)+f(B)≥f(A∪B)+f(A∩B)f(A) + f(B) \ge f(A \cup B) + f(A \cap B)f(A)+f(B)≥f(A∪B)+f(A∩B) for all A,B⊆NA, B \subseteq \mathcal NA,B⊆N, and u1,…,unu_1, \dots, u_nu1​,…,un​ an enumeration of N\mathcal NN (each element exactly once). Run Algorithm 1 (DeterministicUSM) in this order, producing the states (Xi,Yi)(X_i, Y_i)(Xi​,Yi​), and let

ai=f(Xi−1∪{ui})−f(Xi−1),bi=f(Yi−1∖{ui})−f(Yi−1)a_i = f(X_{i-1} \cup \{u_i\}) - f(X_{i-1}), \qquad b_i = f(Y_{i-1} \setminus \{u_i\}) - f(Y_{i-1})ai​=f(Xi−1​∪{ui​})−f(Xi−1​),bi​=f(Yi−1​∖{ui​})−f(Yi−1​)

be the two marginal gains the algorithm compares in iteration iii. Then for every 1≤i≤n1 \le i \le n1≤i≤n,

ai+bi≥0.a_i + b_i \ge 0.ai​+bi​≥0.

In words, in every iteration at least one of the two options (adding uiu_iui​ to XXX, removing uiu_iui​ from YYY) does not decrease the value of its solution. The lemma is used in the proof of Lemma II.2.

Formalization Note The element uiu_iui​ is l[i - 1] and the state before iteration iii is state f l (i - 1). Nonnegativity of fff is not needed and is not assumed. The paper's submodularity sentence in the introduction ("for every A⊆B⊆NA \subseteq B \subseteq \mathcal NA⊆B⊆N and u∈Nu \in \mathcal Nu∈N") is a slip, since for u∈B∖Au \in B \setminus Au∈B∖A it would force monotonicity; the formalization uses the equivalent lattice form of the paper's footnote 1, via the referenced definition NonmonotoneSubmod.Shared.Submodular.

Preamble
import Mathlib
import Definitions.Def_NonmonotoneSubmod_Shared_Submodular
import Definitions.Def_NonmonotoneSubmod_Shared_OPT
import Definitions.Def_DoubleGreedyUSM_Deterministic_Algorithm1
Formal statement
namespace DoubleGreedyUSM.Deterministic

theorem lemma_II_1 {X : Type} [Fintype X] [DecidableEq X] (f : Finset X → ℝ)
    (hf : NonmonotoneSubmod.Shared.Submodular f) (l : List X) (hl : l.Nodup)
    (hcov : ∀ x, x ∈ l) :
    ∀ i (h1 : 1 ≤ i) (h2 : i ≤ l.length),
      addGain f (state f l (i - 1)) (l[i - 1]'(by omega)) +
        removeGain f (state f l (i - 1)) (l[i - 1]'(by omega)) ≥ 0 := by sorry

end DoubleGreedyUSM.Deterministic
Source
Buchbinder, Feldman, Naor, Schwartz, A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization, FOCS 2012 version, Lemma II.1 (PDF p. 3)
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