Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2.1, pp. 9–10 — pointwise defeat survives expectation

Proved
OnlineRandomization.Simulation.winning_defeats_randomized

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

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

Suppose one bounded-depth adaptive off-line adversary QQQ defeats every deterministic online algorithm DDD strictly. For every randomized online algorithm GGG distributed over such algorithms, its expected cost is still strictly larger than the expected transformed adversary cost:

∀D, cD(Q)>α(cQ(D))⟹E[cG(Q)]>E[α(cQ(G))].\forall D,\ c_D(Q)>\alpha(c_Q(D))\quad\Longrightarrow\quad \mathbb E[c_G(Q)]>\mathbb E[\alpha(c_Q(G))].∀D, cD​(Q)>α(cQ​(D))⟹E[cG​(Q)]>E[α(cQ​(G))].

This is the probabilistic step in the randomization-removal theorem.

Formalization Note The answer set is finite nonempty and the adversary has a uniform finite depth, so each play cost takes finitely many values and is integrable (P1–P2, P4, P6). The cost transform is inside the expectation, as on manuscript p. 9.

Preamble
import Definitions.Def_OnlineRandomization_Simulation_Winning
Formal statement
namespace OnlineRandomization.Simulation

open MeasureTheory

/-- Manuscript pp. 9–10, proof of Theorem 2.1: strict pointwise defeat
persists under expectation because the adversary has finite depth and A is finite. -/
theorem winning_defeats_randomized {R A Ω : Type*} [Fintype A] [Nonempty A]
    [MeasurableSpace Ω] (F : Game R A) (α : ℝ → ℝ)
    (Q : OfflineAdv R A)
    (hQ : ∀ G : DetAlg R A,
      α (F.opt (play G Q).1) < F.cost (play G Q).1 (play G Q).2)
    (H : RandAlg R A Ω) :
    (∫ ω, α (F.opt (play (H.alg ω) Q).1) ∂H.μ) <
      (∫ ω, F.cost (play (H.alg ω) Q).1 (play (H.alg ω) Q).2 ∂H.μ) := 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 pp. 9–10, §2, proof of Theorem 2.1, final and opening paragraphs
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