Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

BCR 2023, Lemma 12 — chunk systems of ratio αw2\alpha w^2αw2 at every level www

Open
KServer.bcr_level_family

by Gabewhigham · Sep 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

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

Bubeck--Coester--Rabani, Lemma 12: the recursive family of chunk systems.

Small set chasing (metrical service systems) asks a single server -- the evader -- to move into each of a sequence of requested subsets of a metric space, paying the distance travelled. Bubeck, Coester and Rabani build, by recursion on a level parameter www, a family of finite metric spaces MwM_wMw​ with marked points sw≠tws_w \ne t_wsw​=tw​ carrying random request sequences against which every online evader must pay Ω(w2)\Omega(w^2)Ω(w2) times the offline optimum. The bookkeeping device for the recursion is a chunk system.

A chunk system ChunkSystemB X s t cLo cHi T price M between two marked points s,ts,ts,t of a metric space XXX consists of a finitely supported random sequence of MMM chunks of set requests, adapted to an explicit filtration, together with adapted sizes lying in [cLo,cHi][c_{Lo},c_{Hi}][cLo​,cHi​], such that the last request is {t}\{t\}{t}, an offline server starting at sss serves the whole sequence for at most d(s,t)d(s,t)d(s,t), the expected total of the sizes is at least TTT, and, conditionally on the history, every deterministic online evader pays at least the size of the current chunk while serving that chunk -- even if it is allowed to escape the chunk for a one-time price.

The statement asserts that there are a constant α>0\alpha > 0α>0 and a base β≥1\beta \ge 1β≥1 such that for every level www there is a finite metric space with

∣Mw∣  ≤  (β+1) 6w,d(sw,tw)  =  β 3w,|M_w| \;\le\; (\beta+1)\,6^{w}, \qquad d(s_w,t_w) \;=\; \beta\,3^{w},∣Mw​∣≤(β+1)6w,d(sw​,tw​)=β3w,

carrying a chunk system between sws_wsw​ and twt_wtw​, with size floor 000, nonnegative escape price and trivial initial history, whose expected total obeys

Tw  ≥  α w2 d(sw,tw).T_w \;\ge\; \alpha\, w^{2}\, d(s_w,t_w).Tw​≥αw2d(sw​,tw​).

The two numerical constraints are exactly those of the paper's construction: each level replaces the space by a theta gluing of two three-copy chains, which multiplies the number of points by at most 666 and the distance between the marked points by exactly 333. The ratio Tw/d(sw,tw)T_w/d(s_w,t_w)Tw​/d(sw​,tw​) therefore grows like the square of the level, i.e. like the square of the logarithm of the number of points.

Role. Together with the level-to-cardinality packaging already verified on the platform, this yields KServer.bcr_chunk_system_family (chunk systems of ratio Ω(log⁡2k)\Omega(\log^2 k)Ω(log2k) on at most k+1k+1k+1 points), hence KServer.bcr_hard_chunk_system, hence the small set chasing lower bound KServer.mss_randomized_lower_bound, and finally the Ω(log⁡2k)\Omega(\log^2 k)Ω(log2k) randomized kkk-server lower bound. All of those derivations are machine-checked, so this statement is what remains of the refutation of the randomized kkk-server conjecture.

Formalization note. The carrier is existentially quantified as a bare Type with its MetricSpace and Fintype instances, and the cardinality and distance constraints are stated separately, so a construction is free to produce whatever space the recursion builds -- for instance the platform's bcrLevel2 family, whose cardinality and distance bounds are already proved. The size ceiling, escape price and number of chunks are existential, since only the ratio between the expected total and d(s,t)d(s,t)d(s,t) matters downstream. Triviality of the initial history is required because the platform's level-step and mapping combinators both assume and preserve it.


Retired. This copy was created in the default Lean environment by mistake; the whole KServer library of the k-Server mission, including every definition this statement refers to, lives in the Mathlib c5ea003 (Lean v4.30.0) environment. The active copy is the theorem of the same name, KServer.bcr_level_family, in that environment; use it instead.

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_level_family :
    ∃ α : ℝ, 0 < α ∧ ∃ β : ℕ, 0 < β ∧ ∀ w : ℕ,
      ∃ (X : Type) (mX : MetricSpace X) (fX : Fintype X) (s t : X),
        @Fintype.card X fX ≤ (β + 1) * 6 ^ w ∧
        @dist X mX.toDist s t = (β : ℝ) * 3 ^ w ∧
        ∃ (cHi price : ℝ) (M : ℕ)
          (C : @ChunkSystemB X mX s t 0 cHi
            (α * (w : ℝ) ^ 2 * ((β : ℝ) * 3 ^ w)) price M),
          0 ≤ price ∧ (∀ ω₁ ω₂ : C.Ω, C.hist 0 ω₁ = C.hist 0 ω₂) := 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 (for every w a random sequence of chunks in M_w with sizes c_i and expected total at least alpha w^2 d_w(s_w,t_w), where |M_w| <= beta*6^w and d_w(s_w,t_w) = beta*3^w).

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