Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.6 — Smooth Local Search runs in polynomial time and achieves (25−95n)OPT(\frac25 - \frac{9}{5n})OPT(52​−5n9​)OPT

Proved
NonmonotoneSubmod.SmoothLS.sls_two_fifths

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

approximation-algorithmslocal-searchp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1randomized-algorithmssubmodular-functions

Let f:2X→Rf : 2^X \to \mathbb{R}f:2X→R be a nonnegative submodular function 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). A run of Algorithm SLS (Smooth Local Search) with bias δ\deltaδ is a sequence of sets A0=∅,A1,A2,…A_0 = \emptyset, A_1, A_2, \dotsA0​=∅,A1​,A2​,… such that, for each iteration ttt, estimates ω~t\tilde\omega_tω~t​ of the smoothed marginals ωAt,δ\omega_{A_t,\delta}ωAt​,δ​ are accurate within ±1n2OPT\pm\frac{1}{n^2}OPT±n21​OPT, and At+1A_{t+1}At+1​ arises from AtA_tAt​ by step 3 (add some x∉Atx \notin A_tx∈/At​ with ω~t(x)>2n2OPT\tilde\omega_t(x) > \frac{2}{n^2}OPTω~t​(x)>n22​OPT) or, if step 3 does not apply, by step 4 (remove some x∈Atx \in A_tx∈At​ with ω~t(x)<−2n2OPT\tilde\omega_t(x) < -\frac{2}{n^2}OPTω~t​(x)<−n22​OPT).

  1. Running time. For every δ∈(0,1]\delta \in (0,1]δ∈(0,1], every run of kkk iterations with accurate estimates satisfies
k<n2δ;k < \frac{n^2}{\delta};k<δn2​;

for δ=1/3\delta = 1/3δ=1/3 this is fewer than 3n23n^23n2 iterations. 2. Approximation. Let δ=1/3\delta = 1/3δ=1/3, and suppose the run has terminated at AkA_kAk​ (neither step applies to the accurate estimates ω~k\tilde\omega_kω~k​). The algorithm returns R(Ak,δ′)\mathcal{R}(A_k, \delta')R(Ak​,δ′) with δ′=1/3\delta' = 1/3δ′=1/3 with probability 0.90.90.9 and δ′=−1\delta' = -1δ′=−1 with probability 0.10.10.1; its expected value satisfies

910 E[f(R(Ak,13))]+110 E[f(R(Ak,−1))]≥(25−95n)OPT.\tfrac{9}{10}\, \mathbf{E}[f(\mathcal{R}(A_k, \tfrac13))] + \tfrac{1}{10}\, \mathbf{E}[f(\mathcal{R}(A_k, -1))] \ge \Big(\frac{2}{5} - \frac{9}{5n}\Big) OPT.109​E[f(R(Ak​,31​))]+101​E[f(R(Ak​,−1))]≥(52​−5n9​)OPT.

This is the headline algorithmic result of the paper: a randomized local search on a smoothed potential gives a 2/5−o(1)2/5 - o(1)2/5−o(1) approximation for maximizing an arbitrary nonnegative submodular function in the value oracle model, improving the 1/31/31/3 of deterministic local search.

Formalization Note This is the pinned-down form of the printed statement. "Runs in polynomial time" is the iteration bound n2/δn^2/\deltan2/δ established in the proof (p. 1143), stated for every δ∈(0,1]\delta \in (0,1]δ∈(0,1] (the proof needs δ>0\delta > 0δ>0); the o(1)o(1)o(1) is the explicit 95n\frac{9}{5n}5n9​ of the proof's last line (p. 1144). Both are conditional on every estimate being accurate within ±1n2OPT\pm\frac{1}{n^2}OPT±n21​OPT (non-strict), which replaces the printed "with high probability"; the sampling that produces the estimates is not modelled. The thresholds ±2n2OPT\pm\frac{2}{n^2}OPT±n22​OPT use OPTOPTOPT itself, as the proof does. R(A,−1)\mathcal{R}(A,-1)R(A,−1) is the deterministic set X∖AX \setminus AX∖A, i.e. the proof's f(B)f(B)f(B); it is written through the same bias-sampling definition as R(A,13)\mathcal{R}(A, \tfrac13)R(A,31​). n≥1n \ge 1n≥1 is assumed.

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

/-- Theorem 3.6 (Feige–Mirrokni–Vondrák 2011, p. 1142; proof pp. 1142–1144), in the explicit form
of its proof. Let `f ≥ 0` be submodular on a ground set of `n = |X| ≥ 1` elements. A run of
Algorithm SLS is a sequence of sets `A 0 = ∅, A 1, …` where each `A (t+1)` arises from `A t` by
step 3 or step 4 applied to estimates `est t` of `ω_{A t, δ}` accurate within `± OPT/n²`.
1. (Running time.) For every bias `δ ∈ (0, 1]`, every run of `k` steps has `k < n²/δ`
   (for `δ = 1/3`: fewer than `3n²` iterations).
2. (Approximation.) For `δ = 1/3`, if the run has terminated at step `k`, the output
   `R(A k, δ′)` with `δ′ = 1/3` with probability `0.9` and `δ′ = -1` with probability `0.1` has
   expected value
   `0.9 E[f(R(A k, 1/3))] + 0.1 E[f(R(A k, -1))] ≥ (2/5 - 9/(5n)) OPT`. -/
theorem sls_two_fifths {X : Type} [Fintype X] [DecidableEq X] [Nonempty X]
    (f : Finset X → ℝ) (hf0 : ∀ S, 0 ≤ f S) (hf : NonmonotoneSubmod.Shared.Submodular f) :
    (∀ δ : ℝ, 0 < δ → δ ≤ 1 →
      ∀ (A : ℕ → Finset X) (est : ℕ → X → ℝ) (k : ℕ),
        A 0 = ∅ →
        (∀ t, t < k → Accurate f δ (A t) (est t)) →
        (∀ t, t < k → SLSStep f (est t) (A t) (A (t + 1))) →
        (k : ℝ) < (Fintype.card X : ℝ) ^ 2 / δ) ∧
    (∀ (A : ℕ → Finset X) (est : ℕ → X → ℝ) (k : ℕ),
        A 0 = ∅ →
        (∀ t, t ≤ k → Accurate f (1 / 3) (A t) (est t)) →
        (∀ t, t < k → SLSStep f (est t) (A t) (A (t + 1))) →
        SLSTerminated f (est k) (A k) →
        (2 / 5 - 9 / (5 * (Fintype.card X : ℝ))) * NonmonotoneSubmod.Shared.OPT f ≤
          9 / 10 * Phi f (1 / 3) (A k) + 1 / 10 * Phi f (-1) (A k)) := by sorry

end NonmonotoneSubmod.SmoothLS
Source
Feige, Mirrokni, Vondrák, Maximizing Non-Monotone Submodular Functions, SIAM J. Comput. 40(4), 2011, p. 1142, Theorem 3.6; proof pp. 1142-1144 (iteration bound p. 1143, final line p. 1144)
Read-back

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

Let XXX be a type that is finite, has decidable equality and is nonempty. Write n=∣X∣n = |X|n=∣X∣, the number of elements of XXX, so n≥1n \ge 1n≥1. Let

f:2X→Rf : 2^X \to \mathbb{R}f:2X→R

be a real-valued function on the finite subsets of XXX (since XXX is finite, this means all subsets). Assume:

  • Non-negativity: f(S)≥0f(S) \ge 0f(S)≥0 for every S⊆XS \subseteq XS⊆X.
  • Submodularity: fff satisfies the bundle predicate Submodular (from NonmonotoneSubmod.Shared). Its definition is not included in the code given here, so its exact content cannot be stated. Nothing else is assumed about fff; in particular, f(∅)=0f(\emptyset) = 0f(∅)=0 is not required.

The statement also uses five other bundle notions whose definitions are not included:

  • OPT(f)\mathrm{OPT}(f)OPT(f), a real number.
  • Accurate(f,δ,A,e)\mathrm{Accurate}(f, \delta, A, e)Accurate(f,δ,A,e), a condition on fff, a real parameter δ\deltaδ, a set A⊆XA \subseteq XA⊆X and a function e:X→Re : X \to \mathbb{R}e:X→R.
  • SLSStep(f,e,A,A′)\mathrm{SLSStep}(f, e, A, A')SLSStep(f,e,A,A′), a condition relating an estimate e:X→Re : X \to \mathbb{R}e:X→R and two sets A,A′⊆XA, A' \subseteq XA,A′⊆X.
  • SLSTerminated(f,e,A)\mathrm{SLSTerminated}(f, e, A)SLSTerminated(f,e,A), a condition on an estimate eee and a set AAA.
  • Φ(f,δ,A)\Phi(f, \delta, A)Φ(f,δ,A), a real number depending on fff, a real parameter δ\deltaδ and a set AAA.

The theorem makes no claim about what these notions mean beyond using them as follows. It asserts that both of the following hold.

(1) Length bound. Take any real δ\deltaδ with 0<δ≤10 < \delta \le 10<δ≤1, any sequence of subsets A0,A1,A2,⋯⊆XA_0, A_1, A_2, \dots \subseteq XA0​,A1​,A2​,⋯⊆X, any sequence of functions e0,e1,e2,⋯:X→Re_0, e_1, e_2, \dots : X \to \mathbb{R}e0​,e1​,e2​,⋯:X→R, and any natural number kkk. Suppose that:

  • A0=∅A_0 = \emptysetA0​=∅;
  • Accurate(f,δ,At,et)\mathrm{Accurate}(f, \delta, A_t, e_t)Accurate(f,δ,At​,et​) holds for every t<kt < kt<k;
  • SLSStep(f,et,At,At+1)\mathrm{SLSStep}(f, e_t, A_t, A_{t+1})SLSStep(f,et​,At​,At+1​) holds for every t<kt < kt<k.

Then

k<n2δ.k < \frac{n^2}{\delta}.k<δn2​.

Equivalently, no sequences meeting these conditions exist for any k≥n2/δk \ge n^2/\deltak≥n2/δ. The parameter δ\deltaδ enters the hypotheses only through Accurate\mathrm{Accurate}Accurate; the step condition does not mention δ\deltaδ. Some things are left unconstrained: the terms AtA_tAt​ for t>kt > kt>k, the functions ete_tet​ for t≥kt \ge kt≥k, and whether the sequence has terminated.

(2) Approximation bound. Take any sequences A0,A1,⋯⊆XA_0, A_1, \dots \subseteq XA0​,A1​,⋯⊆X and e0,e1,⋯:X→Re_0, e_1, \dots : X \to \mathbb{R}e0​,e1​,⋯:X→R, and any natural number kkk. Suppose that:

  • A0=∅A_0 = \emptysetA0​=∅;
  • Accurate(f,13,At,et)\mathrm{Accurate}(f, \tfrac13, A_t, e_t)Accurate(f,31​,At​,et​) holds for every t≤kt \le kt≤k (note: this includes t=kt = kt=k);
  • SLSStep(f,et,At,At+1)\mathrm{SLSStep}(f, e_t, A_t, A_{t+1})SLSStep(f,et​,At​,At+1​) holds for every t<kt < kt<k;
  • SLSTerminated(f,ek,Ak)\mathrm{SLSTerminated}(f, e_k, A_k)SLSTerminated(f,ek​,Ak​) holds.

Then

(25−95n)OPT(f)  ≤  910 Φ ⁣(f,13,Ak)+110 Φ ⁣(f,−1,Ak).\left(\frac{2}{5} - \frac{9}{5n}\right)\mathrm{OPT}(f) \;\le\; \frac{9}{10}\,\Phi\!\left(f, \tfrac13, A_k\right) + \frac{1}{10}\,\Phi\!\left(f, -1, A_k\right).(52​−5n9​)OPT(f)≤109​Φ(f,31​,Ak​)+101​Φ(f,−1,Ak​).

Part (2) fixes the parameter at 13\frac1331​. The second Φ\PhiΦ term uses the parameter value −1-1−1, which lies outside the interval (0,1](0, 1](0,1] used in part (1). What Φ\PhiΦ returns for −1-1−1 depends on its definition, which is not shown. The statement itself mentions no probability or expectation; any such meaning would have to come from the definition of Φ\PhiΦ.

Degenerate cases.

  • Empty XXX: excluded by the nonemptiness assumption, so n≥1n \ge 1n≥1.
  • Division by zero: cannot occur. In part (1), δ>0\delta > 0δ>0; in part (2), 5n≥55n \ge 55n≥5.
  • k=0k = 0k=0 in part (1): the only hypothesis left is A0=∅A_0 = \emptysetA0​=∅, and the conclusion 0<n2/δ0 < n^2/\delta0<n2/δ holds automatically.
  • k=0k = 0k=0 in part (2): the hypotheses become A0=∅A_0 = \emptysetA0​=∅, Accurate(f,13,∅,e0)\mathrm{Accurate}(f, \tfrac13, \emptyset, e_0)Accurate(f,31​,∅,e0​) and SLSTerminated(f,e0,∅)\mathrm{SLSTerminated}(f, e_0, \emptyset)SLSTerminated(f,e0​,∅). The conclusion is then the inequality with Ak=∅A_k = \emptysetAk​=∅.
  • Negative coefficient for small nnn: the coefficient 25−95n\frac25 - \frac{9}{5n}52​−5n9​ is negative for n≤4n \le 4n≤4 (for example −75-\frac75−57​ at n=1n = 1n=1) and positive for n≥5n \ge 5n≥5; it is never zero. So for n≤4n \le 4n≤4, if OPT(f)≥0\mathrm{OPT}(f) \ge 0OPT(f)≥0, the left-hand side is at most 000. How strong the inequality is in that range then depends on the signs of the Φ\PhiΦ values, which the code shown does not settle.
  • Unsatisfiable hypotheses: if Accurate\mathrm{Accurate}Accurate, SLSStep\mathrm{SLSStep}SLSStep or SLSTerminated\mathrm{SLSTerminated}SLSTerminated cannot be satisfied for some inputs, the corresponding part holds vacuously for those inputs. Whether that happens cannot be determined from the code given.
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