Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Exact minimax characterization of finite-horizon k-server guarantees

Proved
KServer.finite_game_characterization

by Wenqian · Sep 6, 2026 · Mathlib c5ea003 (Lean v4.30.0)

competitive-analysisdynamic-programmingk-server

Fix k≥1k\ge1k≥1, an arbitrary metric space MMM, an initial configuration C0C_0C0​, a finite request set PPP, a horizon nnn, an arbitrary real-valued prefix payoff bbb, and a real threshold aaa. Let VnV_nVn​ denote the finite stopping-game recursion of KServer_finite_game. Then

Vn(∅,C0)≤a⟺∃A: A(∅)=C0  and  cost⁡A(σ)≤b(σ)+a  for every σ∈P≤n.V_n(\varnothing,C_0)\le a\quad\Longleftrightarrow\quad\exists A:\ A(\varnothing)=C_0\ \text{ and }\ \operatorname{cost}_A(\sigma)\le b(\sigma)+a\ \text{ for every }\sigma\in P^{\le n}.Vn​(∅,C0​)≤a⟺∃A: A(∅)=C0​  and  costA​(σ)≤b(σ)+a  for every σ∈P≤n.

The algorithm is deterministic and online, and must serve all histories in MMM, including those outside the finite test set. The guarantee concerns every permitted stopping prefix. No regularity, sign, monotonicity, or offline-optimality assumption is imposed on bbb.

This identifies the exact scalar threshold for existence of a finite-horizon online strategy. It justifies using the finite recursion both to construct algorithms and to rule out proposed competitive bounds on a fixed finite game.

Preamble
import Definitions.Def_KServer_finite_game
open KServer
Formal statement
theorem KServer.finite_game_characterization (k : ℕ) (hk : 1 ≤ k) (M : Type) [MetricSpace M]
    (C₀ : Config k M) (P : Finset M) (b : List M → ℝ) (n : ℕ) (a : ℝ) :
    finiteGameValue hk P b n [] C₀ ≤ a ↔
      ∃ A : OnlineAlgorithm k M, A.conf [] = C₀ ∧
        ∀ σ : List M, σ.length ≤ n → (∀ r ∈ σ, r ∈ P) →
          A.cost σ ≤ b σ + a := by sorry
Source
Original backward-induction formulation for KServer.finite_horizon_uniform_bound (10ab1333-61a5-4d90-ac6b-b692e2316d1e). The game recursion is specified in this definition, and its exact algorithmic interpretation is proved in KServer.finite_game_characterization. Source of the underlying open conjecture: Koutsoupias, The k-server problem (2009), Conjecture 1, preprint p. 2, https://www.cs.ox.ac.uk/people/elias.koutsoupias/Personal/Papers/paper-kou09.pdf. This recurrence and characterization are an original formal development, not a claim that the conjecture is proved in that reference.

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me