Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3.1, p. 15 — an answer m_{n+1}(r′) obeying the potential rule exists

Proved
OnlineRandomization.Potential.greedy_choice_exists

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

competitive-analysisderandomizationonline-algorithmsp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1potential-function

Let Φ\PhiΦ be an augmented potential function for a function α\alphaα and a randomized online algorithm GGG (Definition 3.1), and let HHH be a randomized online algorithm, a distribution over deterministic algorithms HyH_yHy​. Let r∈Rnr \in R^nr∈Rn, t∈Rt \in Rt∈R, r′=rtr' = r tr′=rt, and let a∈Ana \in A^na∈An be any answer sequence of length nnn. Then there is an answer a′∈Aa' \in Aa′∈A with

Ey[Φn+1(r′,aa′,Hy(r′))]≥Ey[Φn(r,a,Hy(r))].\mathbb E_y\big[\Phi_{n+1}(r', a a', H_y(r'))\big] \ge \mathbb E_y\big[\Phi_n(r, a, H_y(r))\big].Ey​[Φn+1​(r′,aa′,Hy​(r′))]≥Ey​[Φn​(r,a,Hy​(r))].

Applied with a=M(r)a = M(r)a=M(r), this is the paper's remark that the next answer mn+1(r′)m_{n+1}(r')mn+1​(r′) of the algorithm MMM of Theorem 3.1 exists, so that the rule defining MMM can always be followed.

Formalization Note The claim is stated for every answer sequence aaa of length nnn, not only for a=M(r)a = M(r)a=M(r); property 3 of Definition 3.1 holds at every configuration, so the reachability of (r,M(r),Hy(r))(r, M(r), H_y(r))(r,M(r),Hy​(r)) mentioned in the paper plays no role. The expectations over yyy are Bochner integrals; the integrands take finitely many values and are measurable because each answer of HyH_yHy​ is a measurable function of yyy. AAA is finite and nonempty.

Preamble
import Mathlib
import Definitions.Def_OnlineRandomization_Potential_AugPotential
Formal statement
namespace OnlineRandomization.Potential

open MeasureTheory

theorem greedy_choice_exists {R A Ω : Type*} [Fintype A] [Nonempty A] [MeasurableSpace Ω]
    (F : Game R A) (α : ℝ → ℝ) (g : BehAlg R A) (Φ : List R → List A → List A → ℝ)
    (hΦ : IsAugPotential F α g Φ) (H : RandAlg R A Ω)
    (r : List R) (x : R) (a : List A) (ha : a.length = r.length) :
    ∃ a' : A, (∫ y, Φ r a ((H.alg y).answers r) ∂H.μ) ≤
      ∫ y, Φ (r ++ [x]) (a ++ [a']) ((H.alg y).answers (r ++ [x])) ∂H.μ := by sorry

end OnlineRandomization.Potential
Source
Ben-David, Borodin, Karp, Tardos and Wigderson, On the power of randomization in on-line algorithms, Algorithmica 11 (1994), manuscript p. 15, §3, proof of Theorem 3.1, first two 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