Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2.1, p. 10 — a nonwinning initial position yields an online strategy

Proved
OnlineRandomization.Simulation.not_winning_deterministic

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

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

If the request player cannot force an immediate cost violation from the empty position, then there is a deterministic online algorithm DDD whose cost on every fixed request string stays below the transformed off-line optimum:

¬Win⁡(∅,∅)⟹∃D  ∀r, cD(r)≤α(c(r)).\neg\operatorname{Win}(\varnothing,\varnothing)\quad\Longrightarrow\quad \exists D\;\forall r,\ c_D(r)\leq\alpha(c(r)).¬Win(∅,∅)⟹∃D∀r, cD​(r)≤α(c(r)).

This is the answer player's determinacy step in Theorem 2.1.

Formalization Note DDD sees only each request prefix, never future requests (P5). The result includes the empty request string and uses finite nonempty AAA (P2).

Preamble
import Definitions.Def_OnlineRandomization_Simulation_Winning
Formal statement
namespace OnlineRandomization.Simulation

/-- Manuscript p. 10, proof of Theorem 2.1: if the request player cannot
force a bad finite play, the answer player has an online response strategy. -/
theorem not_winning_deterministic {R A : Type*} [Fintype A] [Nonempty A]
    (F : Game R A) (α : ℝ → ℝ)
    (h : ¬ IsWinning F α [] []) :
    ∃ D : DetAlg R A, IsCompetitive F α D := 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. 10, §2, proof of Theorem 2.1, opening through final 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