Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 4.1, p. 18 — every segment but the last has optimum c(i)≥Hc(i) \ge Hc(i)≥H

Proved
OnlineRandomization.Restart.segment_opt_ge

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

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

Let FFF be a monotone request-answer game with finite nonempty answer set, HHH a real number and rrr a request sequence with restart segments r(1),…,r(t)r(1), \dots, r(t)r(1),…,r(t). Then

c(i)=c(r(i))≥H,i=1,2,…,t−1.c(i) = c(r(i)) \ge H, \qquad i = 1, 2, \dots, t-1.c(i)=c(r(i))≥H,i=1,2,…,t−1.

Each segment other than the last was closed because appending the next request left RHR_HRH​; together with monotonicity this forces its off-line optimum to be at least HHH. This is the inequality that charges the additive losses of the restart algorithm to the off-line optimum.

Formalization Note In Lean the segments other than the last are (segments F H r).dropLast. Monotonicity is used through its consequence that ccc does not decrease along prefixes. The statement holds for every real HHH and every request sequence (vacuously when t≤1t \le 1t≤1).

Preamble
import Mathlib
import Definitions.Def_OnlineRandomization_Restart_Model
import Definitions.Def_OnlineRandomization_Restart_GameProperties
import Definitions.Def_OnlineRandomization_Restart_RestartAlgorithm
Formal statement
namespace OnlineRandomization.Restart

/-- p. 18: for a monotone game, every segment `r(i)` except the last one, `i = 1, …, t − 1`,
has off-line optimum `c(i) = c(r(i)) ≥ H`. -/
theorem segment_opt_ge {R A : Type*} [Fintype A] [Nonempty A] (F : Game R A)
    (hmono : IsMonotone F) (H : ℝ) (r : List R) :
    ∀ s ∈ (segments F H r).dropLast, H ≤ F.opt s := by sorry

end OnlineRandomization.Restart
Source
Ben-David, Borodin, Karp, Tardos and Wigderson, On the power of randomization in on-line algorithms, Algorithmica 11 (1994), manuscript p. 18, §4, proof of Theorem 4.1, fourth paragraph, sentence 2
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