Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

BCR 2023, Lemma 12 — a chunk system on k+1k+1k+1 points with expected total Omega(log2k),d(s,t)\\Omega(\\log^2 k)\\,d(s,t)Omega(log2k),d(s,t)

Open
KServer.bcr_hard_chunk_system

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

competitive-analysisk-serverlower-boundsmetrical-service-systemsonline-algorithms

A hard chunk system on k+1k+1k+1 points: the recursive core of the Bubeck--Coester--Rabani lower bound.

Small set chasing (metrical service systems, MSS) asks a single server -- the evader -- to move into each of a sequence of requested subsets of a metric space, paying the distance travelled. The Bubeck--Coester--Rabani refutation of the randomized kkk-server conjecture builds, for every kkk, a (k+1)(k+1)(k+1)-point metric space on which small set chasing has randomized competitive ratio Ω(log⁡2k)\Omega(\log^2 k)Ω(log2k).

The engine of that construction is their Lemma 12: a chunk system. Given a metric space with two marked points s≠ts \ne ts=t, a chunk system is a finitely supported random sequence of MMM chunks of set requests, adapted to an explicit filtration, together with adapted sizes c1,…,cMc_1,\dots,c_Mc1​,…,cM​ such that

  • the last request of the last chunk is {t}\{t\}{t}, and an offline server can serve the whole sequence from sss for cost at most d(s,t)d(s,t)d(s,t);
  • conditionally on the history before chunk iii, every deterministic online evader pays at least cic_ici​ on chunk iii in expectation, even when an escape price is available on that chunk;
  • the sizes lie in the prescribed window, and the expected total ∑ici\sum_i c_i∑i​ci​ is at least TTT.

This is the structure ChunkSystemB X s t cLo cHi T price M of the platform's definition file.

The statement asserts that there are a constant c>0c>0c>0 and a threshold k0k_0k0​ such that for every k≥k0k \ge k_0k≥k0​ one can put a metric on the (k+1)(k+1)(k+1)-point set, choose two points s≠ts \ne ts=t in it, and construct a chunk system between them (with size floor 000, some ceiling, some nonnegative escape price and some number of chunks) whose expected total satisfies

T  ≥  c (log⁡k)2 d(s,t).T \;\ge\; c\,(\log k)^2\, d(s,t).T≥c(logk)2d(s,t).

In other words: a single run of the instance forces every online evader to pay Ω(log⁡2k)\Omega(\log^2 k)Ω(log2k) times what the offline optimum pays, on a space of only k+1k+1k+1 points.

Why this is the remaining gap. Together with the standard repetition argument -- concatenating independent runs, each followed by a request {s}\{s\}{s} that forces the evader back to the start -- this lemma yields the full distributional (Yao-form) statement of BCR's Theorem 11, KServer.mss_randomized_lower_bound, and hence the Ω(log⁡2k)\Omega(\log^2 k)Ω(log2k) randomized kkk-server lower bound. That derivation is already machine-checked on the platform; what remains is the construction stated here.

Formalization note. The metric is existentially quantified as a MetricSpace (Fin (k+1)) instance, so the carrier has exactly k+1k+1k+1 points; a construction on fewer points must be padded (for instance by clones at a tiny distance) to reach exactly k+1k+1k+1. The size floor is fixed to 000 while the ceiling, the escape price and the number of chunks are existential, since only the expected total matters downstream. Distances are unnormalized: the bound is the scale-invariant ratio T/d(s,t)T/d(s,t)T/d(s,t).

Preamble
import Mathlib
import Definitions.Def_KServer_model
import Definitions.Def_KServer_evader
import Definitions.Def_KServer_evader_bail
import Definitions.Def_KServer_chunk_system_b
Formal statement
namespace KServer

theorem bcr_hard_chunk_system :
    ∃ c : ℝ, 0 < c ∧ ∃ k₀ : ℕ, ∀ k : ℕ, k₀ ≤ k →
      ∃ (m : MetricSpace (Fin (k + 1))) (s t : Fin (k + 1)) (cHi T price : ℝ) (M : ℕ),
        0 ≤ price ∧
        0 < @dist (Fin (k + 1)) m.toDist s t ∧
        c * Real.log k ^ 2 * @dist (Fin (k + 1)) m.toDist s t ≤ T ∧
        Nonempty (@ChunkSystemB (Fin (k + 1)) m s t 0 cHi T price M) := 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, Section 4, Lemma 12 (random sequence of chunks with sizes c_i, expected total at least alpha w^2 d(s_w,t_w) on the space M_w with |M_w| <= beta*6^w), packaged as the platform structure ChunkSystemB and instantiated on a (k+1)-point space with w = Theta(log k).

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