Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, p. 10 — every run of Algorithm 1 is budget-feasible with welfare ≥ OPT − 3(k−1)ε‖R‖∞; LP-instance count (corrected)

Proved
PipelineInterv.Welfare.theorem_1

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

approximation-algorithmdynamic-programmingfptasp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1pipeline-intervention

Fix an instance of the pipeline intervention problem with kkk layers of width www satisfying the standing assumptions of §2 (left stochastic Mt0M^0_tMt0​, a distribution D1D_1D1​, rewards R≥0R\ge0R≥0), a budget B≥0B\ge0B≥0, a discretization parameter ε>0\varepsilon>0ε>0, and any finite ε\varepsilonε-net D(ε)⊆D\mathcal D(\varepsilon)\subseteq\mathcal DD(ε)⊆D of the simplex in ℓ1\ell_1ℓ1​. Then:

  1. (existence) Algorithm 1 has a run, i.e. every Program (7) and every selection step it performs has a maximizer;
  2. (guarantee) for every run, the returned tuple M(Bε,D1)=(M1,…,Mk−1)M(B^\varepsilon,D_1)=(M_1,\dots,M_{k-1})M(Bε,D1​)=(M1​,…,Mk−1​) lies in F(B,M10,…,Mk−10)\mathcal F(B,M^0_1,\dots,M^0_{k-1})F(B,M10​,…,Mk−10​), and for every (M1′,…,Mk−1′)∈F(B,M10,…,Mk−10)(M'_1,\dots,M'_{k-1})\in\mathcal F(B,M^0_1,\dots,M^0_{k-1})(M1′​,…,Mk−1′​)∈F(B,M10​,…,Mk−10​)
W(M1,…,Mk−1) ≥ W(M1′,…,Mk−1′)−3(k−1) ε ∥R∥∞,W(M_1,\dots,M_{k-1})\ \ge\ W(M'_1,\dots,M'_{k-1})-3(k-1)\,\varepsilon\,\|R\|_\infty ,W(M1​,…,Mk−1​) ≥ W(M1′​,…,Mk−1′​)−3(k−1)ε∥R∥∞​,

that is, the algorithm achieves social welfare at least OPT−3(k−1)ε∥R∥∞OPT-3(k-1)\varepsilon\|R\|_\inftyOPT−3(k−1)ε∥R∥∞​; 3. (running time, corrected) the number of instances of Program (7) the algorithm solves is at most

(k−1) (⌊B/ε⌋+1)2 ∣D(ε)∣2.(k-1)\,\bigl(\lfloor B/\varepsilon\rfloor+1\bigr)^2\,|\mathcal D(\varepsilon)|^2 .(k−1)(⌊B/ε⌋+1)2∣D(ε)∣2.

With the net of Claim 2 and a polynomial-time LP solver for Program (7), this gives an algorithm whose running time is polynomial in kkk, B/εB/\varepsilonB/ε and 1/ε1/\varepsilon1/ε for every fixed width www, with additive welfare loss 3(k−1)ε∥R∥∞3(k-1)\varepsilon\|R\|_\infty3(k−1)ε∥R∥∞​.

Formalization Note. OPTOPTOPT, the maximum of Program (1), is replaced by "every feasible tuple", equivalent by Remark 3 (p. 7). A run of Algorithm 1 may break ties arbitrarily, and the guarantee is stated for every run and every net. Transitions are 0-based (Fin K, K=k−1K=k-1K=k−1). The page states the running time as O(k Bε(1ε)w2f(w))O\bigl(k\,\tfrac{B}{\varepsilon}(\tfrac1\varepsilon)^{w^2}f(w)\bigr)O(kεB​(ε1​)w2f(w)); its proof (p. 13) counts one Program (7) per budget split of B≥tB_{\ge t}B≥t​ and per pair of net points but does not multiply by the number of values of B≥tB_{\ge t}B≥t​, so clause 3 states the corrected count of LP instances, (k−1)(⌊B/ε⌋+1)2∣D(ε)∣2(k-1)(\lfloor B/\varepsilon\rfloor+1)^2|\mathcal D(\varepsilon)|^2(k−1)(⌊B/ε⌋+1)2∣D(ε)∣2, rather than an asymptotic time bound.

Preamble
import Mathlib
import Definitions.Def_PipelineInterv_Welfare_Model
Formal statement
namespace PipelineInterv.Welfare
open Matrix

theorem theorem_1 {w K : ℕ} (I : Instance w K) (hI : I.Standing) (B ε : ℝ) (hB : 0 ≤ B)
    (hε : 0 < ε) (S : Finset (Fin w → ℝ)) (hS : IsEpsNet ε S) :
    (∃ tab : Table w K, IsAlg1Run I B ε S tab) ∧
    (∀ tab : Table w K, IsAlg1Run I B ε S tab →
      Feasible I B (alg1Output I B ε tab) ∧
      ∀ M, Feasible I B M →
        welfare I M - 3 * (K : ℝ) * ε * supNorm I.R ≤ welfare I (alg1Output I B ε tab)) ∧
    alg1LPCount I B ε S ≤ K * (⌊B / ε⌋₊ + 1) ^ 2 * S.card ^ 2 := by sorry

end PipelineInterv.Welfare
Source
Arunachaleswaran, Kannan, Roth, Ziani, Pipeline Interventions, arXiv:2002.06592v2, p. 10, Theorem 1 (proof pp. 11–13); running-time clause corrected to an LP-instance count
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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