Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

A hard distribution for kkk servers on k+1k+1k+1 points, with ratio Ω(log⁡2k)\Omega(\log^2 k)Ω(log2k)

Open
KServer.kserver_distributional_lower_bound

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

k-serverlower-boundsonline-algorithms

The kkk-server lower bound of Bubeck--Coester--Rabani in its distributional form, stated directly for the kkk-server problem.

There are a constant c>0c>0c>0 and a threshold k0k_0k0​ such that for every k≥k0k\ge k_0k≥k0​ there is a metric on the (k+1)(k+1)(k+1)-point space with the following property. For every initial configuration C0C_0C0​ and every target NNN, there is a finitely supported distribution (pj)(p_j)(pj​) over request sequences (σj)(\sigma_j)(σj​) such that

  • the expected offline optimum is at least NNN:
∑jpj OPT(C0,σj)  ≥  N,\sum_j p_j\,\mathrm{OPT}(C_0,\sigma_j)\;\ge\;N,j∑​pj​OPT(C0​,σj​)≥N,
  • and every deterministic online algorithm AAA started at C0C_0C0​ pays at least clog⁡2kc\log^2kclog2k times it:
clog⁡2k ∑jpj OPT(C0,σj)  ≤  ∑jpj costA(σj).c\log^2 k\,\sum_j p_j\,\mathrm{OPT}(C_0,\sigma_j)\;\le\;\sum_j p_j\,\mathrm{cost}_A(\sigma_j).clog2kj∑​pj​OPT(C0​,σj​)≤j∑​pj​costA​(σj​).

Role. This is the hard-distribution half of the refutation of the randomized kkk-server conjecture, and it implies the mission's milestone KServer.randomized_lower_bound through Yao's principle alone. Given a randomized algorithm that is ρ\rhoρ-competitive from C0C_0C0​ with additive constant aaa, averaging produces a deterministic algorithm in its support whose cost on the distribution is at most ρ\rhoρ times the expected optimum plus aaa, so

clog⁡2k  (∑jpj OPT)  ≤  ρ(∑jpj OPT)+a+ε.c\log^2k\;\Bigl(\sum_j p_j\,\mathrm{OPT}\Bigr)\;\le\;\rho\Bigl(\sum_j p_j\,\mathrm{OPT}\Bigr)+a+\varepsilon .clog2k(j∑​pj​OPT)≤ρ(j∑​pj​OPT)+a+ε.

If ρ\rhoρ were below clog⁡2kc\log^2kclog2k this would cap the expected optimum by a quantity depending only on AAA, and the freedom to demand an expected optimum above any NNN contradicts it. The parameter NNN is exactly what defeats the additive constant, and it is why the statement quantifies over NNN rather than fixing one distribution.

Why state it this way. The milestone is already reduced, through the folklore equivalence between kkk-server on k+1k+1k+1 points and small set chasing, to a distributional bound for the evader problem. That route passes through several translation steps, two of which have already needed repair on this platform. The present statement is an independent route to the same milestone: it stays on the kkk-server side throughout, so the only bridge it needs is Yao averaging, which is proved (KServer.randomized_yao_averaging). Its content is the construction itself, not the translation, and a proof of it closes the milestone without depending on the evader formulation.

Formalization notes. The distribution is finitely supported, given as weights p:Fin n→Rp:\mathrm{Fin}\,n\to\mathbb Rp:Finn→R summing to one, which is the form Yao averaging consumes. The algorithms quantified over are the deterministic online algorithms of the mission's model, required to start at C0C_0C0​. The lower bound is stated multiplicatively against the expected optimum rather than as a ratio, so no positivity of the optimum has to be assumed.

Preamble
import Mathlib
import Definitions.Def_KServer_model
Formal statement
namespace KServer

theorem kserver_distributional_lower_bound :
    ∃ c : ℝ, 0 < c ∧ ∃ k₀ : ℕ, ∀ k : ℕ, k₀ ≤ k →
      ∃ m : MetricSpace (Fin (k + 1)),
        ∀ (C₀ : Config k (Fin (k + 1))) (N : ℝ),
          ∃ (n : ℕ) (p : Fin n → ℝ) (σ : Fin n → List (Fin (k + 1))),
            (∀ j, 0 ≤ p j) ∧ (∑ j, p j) = 1 ∧
            N ≤ ∑ j, p j * @offlineCost k (Fin (k + 1)) m C₀ (σ j) ∧
            ∀ A : @OnlineAlgorithm k (Fin (k + 1)) m,
              @OnlineAlgorithm.conf k (Fin (k + 1)) m A [] = C₀ →
              c * Real.log k ^ 2 * (∑ j, p j * @offlineCost k (Fin (k + 1)) m C₀ (σ j))
                ≤ ∑ j, p j * @OnlineAlgorithm.cost k (Fin (k + 1)) m A (σ j) := by sorry

end KServer
Source
S. Bubeck, C. Coester, Y. Rabani, The randomized k-server conjecture is false!, STOC 2023, https://arxiv.org/abs/2211.05753, Theorem 11 and Definition 2 (the distributional lower bound on the randomized competitive ratio), transported from small set chasing to the k-server problem on k+1 points via Proposition 8.

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