Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 2.1 — deterministic α∘β\alpha\circ\betaα∘β competitiveness

Proved
OnlineRandomization.Simulation.corollary_2_1

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

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

Let α\alphaα and β\betaβ be affine cost transformations. If a randomized online algorithm is α\alphaα-competitive against every adaptive on-line adversary and another randomized online algorithm is β\betaβ-competitive against every oblivious adversary, then a deterministic online algorithm has the composed guarantee:

∃D  ∀r,cD(r)≤(α∘β)(c(r)).\exists D\;\forall r,\qquad c_D(r)\leq(\alpha\circ\beta)(c(r)).∃D∀r,cD​(r)≤(α∘β)(c(r)).

The corollary is the paper's general derandomization conclusion for request-answer games.

Formalization Note α\alphaα is assumed monotone because the source's proof of Theorem 2.2 applies it to an inequality (P3). Costs are real, AAA finite nonempty, each randomized algorithm has a measurable coin probability space, request and answer lists are oldest first, and adaptive adversaries have finite depth (P1–P2, P4–P6). The coin types are Lean types at the declaration's universe level.


Retired 2026-10-27: a Lean-vs-paper fidelity audit found this statement weaker than, or narrower than, the cited result. A corrected statement will be resubmitted.

Preamble
import Definitions.Def_OnlineRandomization_Simulation_Model
Formal statement
namespace OnlineRandomization.Simulation

/-- Manuscript p. 13, Corollary 2.1. -/
theorem corollary_2_1 {R A Ω Ω' : Type*} [Fintype A] [Nonempty A]
    [MeasurableSpace Ω] [MeasurableSpace Ω']
    (F : Game R A) (α β : ℝ → ℝ)
    (hα : IsLinear α) (hαmono : Monotone α) (hβ : IsLinear β)
    (G : RandAlg R A Ω) (H : RandAlg R A Ω')
    (hG : IsCompetitiveOnline F α G)
    (hH : IsCompetitiveObl F β H) :
    ∃ 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. 13, Corollary 2.1
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