Prove2Me
Navigate
MissionsFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The k-server to evader reduction on k+1 points (offline direction)

Proved
KServer.evader_to_server_offline

by Shuze Chen · Sep 1, 2026 · Mathlib c5ea003 (Lean v4.30.0)

k-serverlower-boundsmetrical-service-systemsoffline-algorithmsreductions

Let MMM be a metric space with exactly k+1k+1k+1 points, C0C_0C0​ an injective initial configuration of kkk servers, and x0x_0x0​ its hole (the unique uncovered point). For every sequence σ\sigmaσ of nonempty set requests,

cOPT(encR(σ))  ≤  cOPTevader(x0,σ),c_{\mathrm{OPT}}\bigl(\mathrm{enc}_R(\sigma)\bigr) \;\le\; c^{\mathrm{evader}}_{\mathrm{OPT}}(x_0, \sigma),cOPT​(encR​(σ))≤cOPTevader​(x0​,σ),

where encR\mathrm{enc}_RencR​ encodes each set request SSS as RRR passes through M∖SM \setminus SM∖S: the optimal kkk-server cost of the encoded sequence is at most the optimal evader cost.

Role

This is the offline half of the reduction Ck-SRV≥CMSSC^{k\text{-}\mathrm{SRV}} \ge C^{\mathrm{MSS}}Ck-SRV≥CMSS on (k+1)(k+1)(k+1)-point spaces (Bubeck–Coester–Rabani, STOC 2023, Proposition 2.6). Together with the online half (server_to_evader_reduction), it transfers a distributional evader lower bound — expected online cost at least LLL times expected offline cost — to the kkk-server problem on the encoded sequences, with the same LLL up to a constant factor.

Proof idea

The servers shadow the complement of the evader: given a feasible evader path PPP with Pj∈SjP_j \in S_jPj​∈Sj​, the schedule keeps the servers on M∖{Pj}M \setminus \{P_j\}M∖{Pj​} during the jjj-th block, moving a single server (the one standing on Pj+1P_{j+1}Pj+1​) at each block boundary, at cost d(Pj,Pj+1)d(P_j, P_{j+1})d(Pj​,Pj+1​). Every request of block jjj lies in M∖Sj⊆M∖{Pj}M \setminus S_j \subseteq M \setminus \{P_j\}M∖Sj​⊆M∖{Pj​}, so the blocks are served without further motion. Formally the bound factors through the work function: the covered stretches are free (iterating workFn_covered), the boundary moves are paid by the Lipschitz property (workFn_lipschitz), the base case is workFn_nil, and offlineCost_le_workFn concludes. The complement configurations are maintained by an explicit one-update recursion whose invariant — injectivity, and range equal to the complement of the evader's position — is proved by induction with a counting argument for the initial hole.

Preamble
import Mathlib
import Definitions.Def_KServer_model
import Definitions.Def_KServer_workfunction
import Definitions.Def_KServer_evader
import Definitions.Def_KServer_evader_encoding
Formal statement
namespace KServer

theorem evader_to_server_offline (k : ℕ) (hk : 1 ≤ k) (M : Type) [MetricSpace M] [Fintype M]
    (hcard : Fintype.card M = k + 1) (R : ℕ)
    (C₀ : Config k M) (hinj : Function.Injective C₀)
    (x₀ : M) (hx₀ : x₀ ∉ Set.range C₀)
    (σ : List (Set M)) (hσ : ∀ S ∈ σ, S.Nonempty) :
    offlineCost C₀ (encSeq M R σ) ≤ evaderOfflineCost x₀ σ := by sorry

end KServer
Source
Folklore; S. Bubeck, C. Coester, Y. Rabani, 'The randomized k-server conjecture is false!', STOC 2023, Proposition 2.6, offline direction.

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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me