Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Padding a chunk system to a metric space on exactly k+1k+1k+1 points

Proved
KServer.chunk_system_pad

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

k-serverlower-boundsmetrical-service-systemsonline-algorithms

Padding a chunk system to a space of exactly k+1k+1k+1 points.

A chunk system ChunkSystemB X s t cLo cHi T price M on a metric space XXX with marked points s,ts,ts,t is the induction package of the Bubeck--Coester--Rabani lower bound: a finitely supported random sequence of MMM chunks of set requests, adapted to an explicit filtration, with adapted sizes in [cLo,cHi][c_{Lo}, c_{Hi}][cLo​,cHi​], expected total at least TTT, offline cost at most d(s,t)d(s,t)d(s,t) from sss, and the conditional guarantee that every deterministic online evader pays at least the size of a chunk on that chunk, even with an escape price available.

Constructions of such systems (for instance the recursive one of Bubeck--Coester--Rabani) produce a space whose cardinality is whatever the recursion happens to give, while statements about the kkk-server problem on k+1k+1k+1 points require the carrier to be exactly the (k+1)(k+1)(k+1)-point set. This lemma performs that adjustment.

Given a finite metric space XXX with ∣X∣≤k+1|X| \le k+1∣X∣≤k+1 carrying a chunk system between sss and ttt with trivial initial history and total variance at most VVV, there is a metric on Fin(k+1)\mathrm{Fin}(k+1)Fin(k+1) and two points a,ba,ba,b in it with

d(a,b)  =  d(s,t)d(a,b) \;=\; d(s,t)d(a,b)=d(s,t)

carrying a chunk system between aaa and bbb with the same size window, expected total TTT, escape price and number of chunks, again with trivial initial history and total variance at most VVV.

Role. Combined with a construction of hard chunk systems on spaces of at most k+1k+1k+1 points, this yields hard chunk systems on exactly k+1k+1k+1 points, which is the form required by the small set chasing and kkk-server lower bounds on (k+1)(k+1)(k+1)-point metrics.

Formalization note. The hypotheses of trivial initial history and bounded total variance are those carried along by the platform's level-step combinators, and they are reproduced in the conclusion so that the lemma composes with them. The padded metric places the surplus points at a common distance exceeding the diameter of XXX, so that the projection sending them to a fixed point of XXX is 111-Lipschitz while the inclusion of XXX is an isometry.

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 chunk_system_pad {X : Type*} [MetricSpace X] [Fintype X]
    {s t : X} {cHi T price : ℝ} {M : ℕ} (k : ℕ) (hcard : Fintype.card X ≤ k + 1)
    (C : ChunkSystemB X s t 0 cHi T price M)
    (h0triv : ∀ ω₁ ω₂ : C.Ω, C.hist 0 ω₁ = C.hist 0 ω₂)
    {V : ℝ}
    (hVar : ∑ ω, C.P ω * ((∑ i, C.size ω i)
      - ∑ ω', C.P ω' * ∑ i, C.size ω' i) ^ 2 ≤ V) :
    ∃ (m : MetricSpace (Fin (k + 1))) (a b : Fin (k + 1)),
      @dist (Fin (k + 1)) m.toDist a b = dist s t ∧
      ∃ C' : @ChunkSystemB (Fin (k + 1)) m a b 0 cHi T price M,
        (∀ ω₁ ω₂ : C'.Ω, C'.hist 0 ω₁ = C'.hist 0 ω₂) ∧
        (∑ ω, C'.P ω * ((∑ i, C'.size ω i)
          - ∑ ω', C'.P ω' * (∑ i, C'.size ω' i)) ^ 2 ≤ V) := by sorry

end KServer
Source
Auxiliary lemma for S. Bubeck, C. Coester, Y. Rabani, 'The randomized k-server conjecture is false!', STOC 2023, https://arxiv.org/abs/2211.05753, Section 4: their spaces M_w satisfy |M_w| <= beta*6^w, while the k-server statements are about metric spaces of exactly k+1 points.

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