Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Section 4 — an adversary forces krkrkr sets on the block family while OPT=1\mathrm{OPT} = 1OPT=1

Proved
OnlineSetCover.LowerBound.block_adversary

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

competitive-analysislower-boundonline-algorithmsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1set-cover

Let k,rk, rk,r be positive integers and let F\mathcal FF be the block family of Section 4 on kr2kr^2kr2 disjoint blocks of 2k2^k2k elements. For every valid deterministic online algorithm AAA for F\mathcal FF there is a nonempty arrival sequence σ\sigmaσ of at most krkrkr elements such that

  1. a single set of F\mathcal FF contains every element of σ\sigmaσ, so OPT(σ)=1\mathrm{OPT}(\sigma) = 1OPT(σ)=1, and
  2. the algorithm has chosen at least krkrkr sets:
∣CA(σ)∣  ≥  kr.|\mathcal C_A(\sigma)| \;\ge\; kr.∣CA​(σ)∣≥kr.

This is the paper's claim that "given any deterministic algorithm, an adversary can choose krkrkr elements in XXX, forcing the algorithm to pick krkrkr sets from F\mathcal FF, while keeping the value of the optimum solution to be 1". It is the core of Proposition 4.2, which adds padding elements and sets to reach arbitrary nnn and mmm.

Formalization Note The paper's argument tacitly lets the algorithm add one set per arrival; here algorithms may add any number of sets per arrival, and the sequence then may be shorter than krkrkr, hence "at most krkrkr elements". The ground set is the blocks only; elements outside the blocks lie in no set and play no role.

Preamble
import Mathlib
import Definitions.Def_OnlineSetCover_LowerBound_Game
import Definitions.Def_OnlineSetCover_LowerBound_BlockFamily
Formal statement
namespace OnlineSetCover.LowerBound

/-- The adversary claim of §4 (Alon et al. 2009, p. 369): for positive integers `k, r` and every
valid deterministic online algorithm `A` for the block family on the `k r²` blocks of `2^k`
elements, there is a nonempty arrival sequence of at most `k r` elements that a single set of
the family covers (so `OPT = 1`), on which `A` chooses at least `k r` sets. -/
theorem block_adversary (k r : ℕ) (hk : 0 < k) (hr : 0 < r)
    (A : OnlineAlg (Fin (k * r ^ 2) × Fin (2 ^ k))) (hA : IsValid (blockFamily k r) A) :
    ∃ σ : List (Fin (k * r ^ 2) × Fin (2 ^ k)), σ ≠ [] ∧ σ.length ≤ k * r ∧
      (∃ S ∈ blockFamily k r, ∀ x ∈ σ, x ∈ S) ∧ k * r ≤ cost A σ := by sorry

end OnlineSetCover.LowerBound
Source
Alon, Awerbuch, Azar, Buchbinder, Naor, The Online Set Cover Problem, SIAM J. Comput. 39(2) (2009), p. 369, Section 4 (unnumbered claim following the definition of F)
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