Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.1 — the online cost ν_L of the greedy scenario is at most ρ·OPT

Proved
BudgetedAffine.Disjoint.lemma_4_1

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

coveringonline-algorithmsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1robust-optimization

Consider (1.1) with U\mathcal UU the disjoint constrained budgeted set (4.1) over a partition S1,…,SLS_1,\dots,S_LS1​,…,SL​ of [m][m][m] with weights wℓi∈[0,1]w_{\ell i}\in[0,1]wℓi​∈[0,1], data B≥0B\ge0B≥0, c,d≥0c,d\ge0c,d≥0, X\mathcal XX polyhedral with cTx≥0c^Tx\ge0cTx≥0 on X\mathcal XX. Let (x∗,y∗)(x^*,y^*)(x∗,y∗) be an optimal solution with value OPT=zAR(U)\mathrm{OPT}=z_{AR}(\mathcal U)OPT=zAR​(U), let A\mathcal AA be an online covering algorithm for B~\tilde BB~ with competitive ratio ρ≥0\rho\ge0ρ≥0, and let a1,…,aLa_1,\dots,a_La1​,…,aL​ be a run of Algorithm 1. Then

νL=A(a1,…,aL) ≤ ρ⋅OPT.\nu_L=\mathcal A(a_1,\dots,a_L)\ \le\ \rho\cdot\mathrm{OPT}.νL​=A(a1​,…,aL​) ≤ ρ⋅OPT.

With Buchbinder–Naor's algorithm, ρ=O(log⁡n)\rho=O(\log n)ρ=O(logn), which is the paper's νL=O(log⁡n)⋅OPT\nu_L=O(\log n)\cdot\mathrm{OPT}νL​=O(logn)⋅OPT. The bound feeds both the linear-part bound (Lemma 4.3) and the static-part bound (Lemma 4.4).

Formalization Note The paper's O(log⁡n)O(\log n)O(logn) is the competitive ratio of the online algorithm; it is written as the parameter ρ\rhoρ of an arbitrary algorithm with that ratio. "νL=O(log⁡n)⋅OPT\nu_L=O(\log n)\cdot\mathrm{OPT}νL​=O(logn)⋅OPT" is read as the upper bound, the only direction the proof shows and uses. The hypothesis cTx≥0c^Tx\ge0cTx≥0 on X\mathcal XX is added: the proof uses dTy∗(a)≤OPTd^Ty^*(a)\le\mathrm{OPT}dTy∗(a)≤OPT, which needs cTx∗≥0c^Tx^*\ge0cTx∗≥0, and Theorem 4.1 is false without it. Indices are 0-based.

Preamble
import Mathlib
import Definitions.Def_BudgetedAffine_Disjoint_Model
import Definitions.Def_BudgetedAffine_Disjoint_OnlineCover
import Definitions.Def_BudgetedAffine_Disjoint_Construction
Formal statement
namespace BudgetedAffine.Disjoint

open Matrix

/-- Lemma 4.1: for an optimal solution `(x*, y*)` of (1.1) over the disjoint constrained budgeted
set with value `OPT`, any online covering algorithm for `B̃` with competitive ratio `ρ`, and any
run `a₁, …, a_L` of Algorithm 1, the online cost `ν_L = A(a₁, …, a_L)` is at most `ρ · OPT`. -/
theorem lemma_4_1 {m n L : ℕ} (A B : Matrix (Fin m) (Fin n) ℝ) (c d : Fin n → ℝ)
    (X : Set (Fin n → ℝ)) (S : Fin L → Finset (Fin m)) (w : Fin L → Fin m → ℝ)
    (hB : ∀ i j, 0 ≤ B i j) (hc : 0 ≤ c) (hd : 0 ≤ d) (hX : BudgetedAffine.Budget.IsPolyhedral X)
    (hcX : ∀ x ∈ X, 0 ≤ c ⬝ᵥ x) (hS : IsPartition S) (hw : ∀ ℓ i, 0 ≤ w ℓ i ∧ w ℓ i ≤ 1)
    (xs : Fin n → ℝ) (ys : (Fin m → ℝ) → Fin n → ℝ)
    (hopt : BudgetedAffine.Budget.IsOptimalAR A B c d X (disjointBudgetSet S w) xs ys)
    (OPT : ℝ) (hOPT : BudgetedAffine.Budget.zAR A B c d X (disjointBudgetSet S w) = (OPT : EReal))
    (ρ : ℝ) (hρ : 0 ≤ ρ) (alg : OnlineCover (Btil A B xs) d ρ)
    (σ : Fin L ≃ Fin L) (a : Fin L → Finset (Fin m))
    (ha : IsGreedyRun alg w (hatS S A xs) σ a) :
    nu alg a L ≤ ρ * OPT := by sorry

end BudgetedAffine.Disjoint
Source
El Housni, Goyal, On the Optimality of Affine Policies for Budgeted Uncertainty Sets, arXiv:1807.00163v2, Lemma 4.1, p. 17
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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