Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 9, p. 15 — no randomized online algorithm for b-matching has competitive ratio better than 1 − 1/e, uniformly in the budget b

Proved
AdWordsMSVV.LowerBound.theorem_9

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

adwordsb-matchingcompetitive-ratiolower-boundonline-algorithmsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Consider online b-matching: NNN bidders, each with the same integer budget B≥1B \ge 1B≥1, bidding 000 or 111 on each of NBNBNB queries that arrive online.

For every δ>0\delta > 0δ>0 there is N0N_0N0​ such that for every N≥N0N \ge N_0N≥N0​, every budget B≥1B \ge 1B≥1 and every randomized online algorithm AAA for instances with NNN bidders and NBNBNB queries, there exist an instance III and an offline allocation τ\tauτ with

revB(I,τ)=NBandEA[ALG(I)]≤(1−1e+δ)NB.\mathrm{rev}_B(I,\tau) = NB \qquad\text{and}\qquad \mathbb E_A[\mathrm{ALG}(I)] \le \Big(1-\frac1e+\delta\Big)NB.revB​(I,τ)=NBandEA​[ALG(I)]≤(1−e1​+δ)NB.

Thus no randomized online algorithm achieves a competitive ratio better than 1−1/e1-1/e1−1/e for b-matching, and this holds for every budget bbb, in particular for large bbb, where the deterministic algorithm BALANCE attains 1−1/e1-1/e1−1/e in the limit. The case B=1B=1B=1 is the online bipartite matching lower bound of Karp, Vazirani and Vazirani.

Formalization Note "Competitive ratio better than 1−1/e1-1/e1−1/e" is negated as: for every δ>0\delta>0δ>0 some instance has expected revenue at most (1−1/e+δ)(1-1/e+\delta)(1−1/e+δ) times its optimum; the optimum is witnessed by τ\tauτ (no allocation can exceed NBNBNB, since each of the NNN bidders is capped at BBB). The algorithm AAA is quantified before the instance. "For large bbb" is rendered by quantifying over every B≥1B\ge1B≥1 with a threshold N0N_0N0​ independent of BBB, which implies the statement for all large bbb. The paper's instance with budget 111 and bids ϵ\epsilonϵ is the same instance scaled by B=1/ϵB=1/\epsilonB=1/ϵ.

Preamble
import Mathlib
import Definitions.Def_AdWordsMSVV_LowerBound_Setting
Formal statement
namespace AdWordsMSVV.LowerBound

theorem theorem_9 :
    ∀ δ : ℝ, 0 < δ → ∃ N₀ : ℕ, ∀ N : ℕ, N₀ ≤ N → ∀ B : ℕ, 1 ≤ B →
      ∀ A : RandAlg N (N * B), ∃ (I : Instance N (N * B)) (τ : Fin (N * B) → Option (Fin N)),
        offlineRevenue B I τ = N * B ∧
        expectedRevenue B I A ≤ (1 - Real.exp (-1) + δ) * ((N : ℝ) * B) := by sorry

end AdWordsMSVV.LowerBound
Source
Mehta, Saberi, Vazirani, Vazirani, AdWords and generalized on-line matching, J. ACM (2007), DOI 10.1145/1284320.1284321, p. 15, Theorem 9
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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