Prove2Me
Navigate
MissionsFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The Lemma-26 case of the anchoring theorem

Proved
KServer.anchor_L26_case

by Shuze Chen · Sep 1, 2026 · Mathlib c5ea003 (Lean v4.30.0)

k-serveronline-algorithmspotential-functiontreeswork-function

Let Φx1x2x3\Phi_{x_1x_2x_3}Φx1​x2​x3​​ be the anchored Coester--Koutsoupias potential of a 333-server instance ending with the request rrr, on (the antipodal extension of) a finite tree vertex space. Suppose the first two summands of the triple (a,b,c)(a, b, c)(a,b,c) both resolve in the third slot:

w(abc)=w(abr)+d(r,c),w(aˉbc)=w(aˉbr)+d(r,c).w(abc) = w(abr) + d(r,c), \qquad w(\bar a b c) = w(\bar a b r) + d(r,c).w(abc)=w(abr)+d(r,c),w(aˉbc)=w(aˉbr)+d(r,c).

Then the last anchor may be replaced by the request outright:

Φabr(w)  ≤  Φabc(w).\Phi_{abr}(w) \;\le\; \Phi_{abc}(w).Φabr​(w)≤Φabc​(w).

Role

This is the case of the Theorem 23 analysis in which the minimising triple and its antipodal companion both resolve through the third anchor. The two hypotheses convert the first two summands of Φabc\Phi_{abc}Φabc​ into those of Φabr\Phi_{abr}Φabr​ at a cost of 2 d(r,c)2\,d(r,c)2d(r,c), and Lemma 26 --- the tree lemma w(bˉ bˉ r)+w(rˉ3)≤w(bˉ bˉ c)+w(cˉ3)+2 d(r,c)w(\bar b\,\bar b\,r) + w(\bar r^3) \le w(\bar b\,\bar b\,c) + w(\bar c^3) + 2\,d(r,c)w(bˉbˉr)+w(rˉ3)≤w(bˉbˉc)+w(cˉ3)+2d(r,c) --- absorbs exactly that cost in the last two summands. Applied to a minimising triple it directly exhibits the potential's minimum at a triple ending with the request, with no pushing needed. The tree enters only through Lemma 26.

Preamble
import Mathlib
import Definitions.Def_KServer_workfunctionU
import Definitions.Def_KServer_antipodal_extension
import Definitions.Def_KServer_ck_potential
import Definitions.Def_KServer_tree_metric
Formal statement
namespace KServer

theorem anchor_L26_case (M : Type) [MetricSpace M] [Fintype M] (hM : IsTreeVertexSpace M)
    (Δ : ℝ) (hΔ0 : 0 < Δ) (hΔ : ∀ u v : M, dist u v ≤ Δ)
    (C₀ : Config 3 M) (σ : List M) (r a b c : M)
    (h0 : @workFnU 3 (M ⊕ M) (antipodalExtension M Δ hΔ0 hΔ)
          (fun i => Sum.inl (C₀ i)) ((σ ++ [r]).map Sum.inl) ![Sum.inl a, Sum.inl b, Sum.inl c]
        = @workFnU 3 (M ⊕ M) (antipodalExtension M Δ hΔ0 hΔ)
          (fun i => Sum.inl (C₀ i)) ((σ ++ [r]).map Sum.inl) ![Sum.inl a, Sum.inl b, Sum.inl r]
          + dist r c)
    (h1 : @workFnU 3 (M ⊕ M) (antipodalExtension M Δ hΔ0 hΔ)
          (fun i => Sum.inl (C₀ i)) ((σ ++ [r]).map Sum.inl) ![Sum.inr a, Sum.inl b, Sum.inl c]
        = @workFnU 3 (M ⊕ M) (antipodalExtension M Δ hΔ0 hΔ)
          (fun i => Sum.inl (C₀ i)) ((σ ++ [r]).map Sum.inl) ![Sum.inr a, Sum.inl b, Sum.inl r]
          + dist r c) :
    ckPotAt M Δ hΔ0 hΔ C₀ (σ ++ [r]) a b r ≤ ckPotAt M Δ hΔ0 hΔ C₀ (σ ++ [r]) a b c := by sorry

end KServer
Source
C. Coester, E. Koutsoupias, 'Towards the k-server conjecture', ICALP 2021, arXiv:2102.10474, proof of Theorem 23, the case 'If it resolves from x₃, then Φ(w) = … ≥ … = Φ_{x₁x₂r}(w), where the inequality is due to lem:treeResolveLastTwo'.

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