Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Step inequality of the Coester--Koutsoupias potential at the coalesced antipode

Disproved
KServer.ckPotK_step_antipode

by Gabewhigham · Sep 7, 2026 · Mathlib c5ea003 (Lean v4.30.0)

competitive-analysisk-servermetric-spacesonline-algorithmswork-function

This is the step inequality of the Coester–Koutsoupias unifying potential: the assertion that, at every request, the potential grows at least as fast as the work function does at the coalesced antipodal configuration.

Let MMM be a finite metric space, let Δ>0\Delta > 0Δ>0 bound all distances of MMM, and let N=M⊔MˉN = M \sqcup \bar MN=M⊔Mˉ be the antipodal extension of MMM at scale Δ\DeltaΔ (KServer.antipodalExtension), so that every point q∈Nq \in Nq∈N has an antipode qˉ\bar qqˉ​ with d(y,q)+d(y,qˉ)=2Δd(y,q) + d(y,\bar q) = 2\Deltad(y,q)+d(y,qˉ​)=2Δ for every y∈Ny \in Ny∈N. Fix k≥1k \ge 1k≥1 servers with initial configuration C0C_0C0​ drawn from MMM. For a request sequence τ\tauτ from MMM, write

w^τ(X)  =  w^(C0;τ;X)\widehat w_\tau(X) \;=\; \widehat w\bigl(C_0;\tau;X\bigr)wτ​(X)=w(C0​;τ;X)

for the unordered work function of the instance evaluated in NNN, and write

Φ(τ)  =  min⁡x1,…,xk∈M(w^τ(x1⋯xk)+∑i=1kw^τ(xˉi i xi+1⋯xk))\Phi(\tau) \;=\; \min_{x_1,\dots,x_k \in M}\Bigl(\widehat w_\tau(x_1\cdots x_k) + \sum_{i=1}^{k}\widehat w_\tau\bigl(\bar x_i^{\,i}\,x_{i+1}\cdots x_k\bigr)\Bigr)Φ(τ)=x1​,…,xk​∈Mmin​(wτ​(x1​⋯xk​)+i=1∑k​wτ​(xˉii​xi+1​⋯xk​))

for the Coester–Koutsoupias potential of that instance (KServer.ckPotK).

Statement. For every request sequence ℓ\ellℓ and every further request r∈Mr \in Mr∈M,

w^ℓr(rˉ k)−w^ℓ(rˉ k)  ≤  Φ(ℓr)−Φ(ℓ),\widehat w_{\ell r}\bigl(\bar r^{\,k}\bigr) - \widehat w_{\ell}\bigl(\bar r^{\,k}\bigr) \;\le\; \Phi(\ell r) - \Phi(\ell),wℓr​(rˉk)−wℓ​(rˉk)≤Φ(ℓr)−Φ(ℓ),

where rˉ k\bar r^{\,k}rˉk is the configuration with all kkk servers on the antipode of the request rrr.

On an antipodal space the work-function increment caused by a request is maximised, over all target configurations, at the coalesced configuration on the antipode of that request (KServer.workFnU_growth_le_antipode); the left-hand side is therefore the whole growth of the work function at that step. The inequality states that this growth is paid for by the potential, which is what makes Φ\PhiΦ an amortization of the extended cost. Together with the bound Φ(τ)≤(k+1)OPT+Δk(k+1)\Phi(\tau) \le (k+1)\mathrm{OPT} + \Delta k(k+1)Φ(τ)≤(k+1)OPT+Δk(k+1) and the value Φ(ε)=Δk(k+1)\Phi(\varepsilon) = \Delta k(k+1)Φ(ε)=Δk(k+1) at the empty sequence for a coalesced start, it yields the sharp (k+1)(k+1)(k+1) bound on the total work-function growth, and hence the kkk-server conjecture. This step inequality is the open part of the Coester–Koutsoupias programme; it is known for k≤3k \le 3k≤3, for trees and for the circle.

Formalization Note The work function of the extension is written with the metric-space instance antipodalExtension M Δ hΔ0 hΔ supplied explicitly, requests being carried into NNN by List.map Sum.inl and the antipode of rrr being Sum.inr r. The prefix and its one-step extension appear as l and l ++ [r].

Preamble
import Mathlib
import Definitions.Def_KServer_workfunctionU
import Definitions.Def_KServer_antipodal_extension
import Definitions.Def_KServer_ck_potential_k
Formal statement
namespace KServer

theorem ckPotK_step_antipode (k : ℕ) (hk : 1 ≤ k) (M : Type) [MetricSpace M] [Fintype M]
    (Δ : ℝ) (hΔ0 : 0 < Δ) (hΔ : ∀ x y : M, dist x y ≤ Δ)
    (C₀ : Config k M) (l : List M) (r : M) :
    @workFnU k (M ⊕ M) (antipodalExtension M Δ hΔ0 hΔ) (fun i => Sum.inl (C₀ i))
        ((l ++ [r]).map Sum.inl) (fun _ => Sum.inr r)
      - @workFnU k (M ⊕ M) (antipodalExtension M Δ hΔ0 hΔ) (fun i => Sum.inl (C₀ i))
        (l.map Sum.inl) (fun _ => Sum.inr r)
      ≤ ckPotK k M Δ hΔ0 hΔ C₀ (l ++ [r]) - ckPotK k M Δ hΔ0 hΔ C₀ l := by sorry

end KServer
Source
C. Coester, E. Koutsoupias, 'Towards the k-server conjecture: a unifying potential, pushing the frontier to the circle', ICALP 2021, arXiv:2102.10474 (the potential Phi and its required update/step property); E. Koutsoupias, The k-server problem (survey), Computer Science Review 3 (2009) 105-118, Section 3.4 (the extended cost lemma and the antipodal reduction).

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