Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2.1, p. 9 — the initial position and a defeating adversary

Proved
OnlineRandomization.Simulation.initial_position_iff

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

competitive-analysisderandomizationonline-algorithmsp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1

In a request-answer game with finite nonempty answer set, the empty position is winning for the request player exactly when one adaptive off-line adversary QQQ defeats every deterministic online algorithm DDD:

Win⁡(∅,∅)  ⟺  ∃Q  ∀D,cD(Q)>α(cQ(D)).\operatorname{Win}(\varnothing,\varnothing)\iff \exists Q\;\forall D,\quad c_D(Q)>\alpha(c_Q(D)).Win(∅,∅)⟺∃Q∀D,cD​(Q)>α(cQ​(D)).

This connects the finite game with the adversary formulation of competitiveness.

Formalization Note The same QQQ precedes every DDD in the quantifiers. The adversary may stop at depth zero (P6); game costs are real and AAA is finite nonempty (P1–P2).

Preamble
import Definitions.Def_OnlineRandomization_Simulation_Winning
Formal statement
namespace OnlineRandomization.Simulation

/-- Manuscript p. 9, proof of Theorem 2.1, first paragraph. -/
theorem initial_position_iff {R A : Type*} [Fintype A] [Nonempty A]
    (F : Game R A) (α : ℝ → ℝ) :
    IsWinning F α [] [] ↔
      ∃ Q : OfflineAdv R A, ∀ G : DetAlg R A,
        α (F.opt (play G Q).1) < F.cost (play G Q).1 (play G Q).2 := by sorry

end OnlineRandomization.Simulation
Source
Ben-David, Borodin, Karp, Tardos and Wigderson, On the power of randomization in on-line algorithms, Algorithmica 11 (1994), manuscript p. 9, §2, proof of Theorem 2.1, first paragraph
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

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