Prove2Me
Navigate
MissionsFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Antipodal coordinates evaluate through original points

Proved
KServer.antipode_coord_eval

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

k-servermetric-geometryonline-algorithmswork-function

In the antipodal extension of a bounded metric space, consider the work function www of an instance whose initial configuration and requests are original points. The McShane envelope theorem expresses www at any configuration through an original configuration matched in all three coordinates. This theorem gives the sharper, coordinate-local form used in practice: a configuration with one or two antipodal coordinates and the rest original evaluates by replacing only the antipodal coordinates, the original ones staying fixed:

w(xˉ,y,c)=min⁡u(w(u,y,c)+2Δ−d(u,x)),w(xˉ,yˉ,c)=min⁡u,v(w(u,v,c)+(2Δ−d(u,x))+(2Δ−d(v,y))),w(\bar x, y, c) = \min_{u} \bigl( w(u, y, c) + 2\Delta - d(u,x) \bigr), \qquad w(\bar x, \bar y, c) = \min_{u,v} \bigl( w(u,v,c) + (2\Delta - d(u,x)) + (2\Delta - d(v,y)) \bigr),w(xˉ,y,c)=umin​(w(u,y,c)+2Δ−d(u,x)),w(xˉ,yˉ​,c)=u,vmin​(w(u,v,c)+(2Δ−d(u,x))+(2Δ−d(v,y))),

both minima over original points and attained (the formal statement exhibits the minimisers; the ≤\le≤ direction over arbitrary u,vu, vu,v is 111-Lipschitzness).

Why the collapse is legitimate

The envelope theorem provides an original triple AAA matched to all three coordinates. For the coordinates that were already original, 111-Lipschitzness of the original work function lets AAA's corresponding entries walk back to them at exactly the matching cost they were charged --- so the minimum with those coordinates pinned is no larger, and the Lipschitz bound shows it is no smaller. In other words: the freedom to move original coordinates in the envelope buys nothing.

Role

The one-coordinate form identifies the x1x_1x1​-dependent part of the Coester--Koutsoupias potential Φx1x2x3(w)=w(x1x2x3)+w(xˉ1x2x3)+⋯\Phi_{x_1x_2x_3}(w) = w(x_1x_2x_3) + w(\bar x_1 x_2 x_3) + \cdotsΦx1​x2​x3​​(w)=w(x1​x2​x3​)+w(xˉ1​x2​x3​)+⋯ with the one-server potential of the restricted function u↦w(u x2x3)u \mapsto w(u\,x_2 x_3)u↦w(ux2​x3​) --- the bridge through which the one-server anchor lemma (their Lemma 24) drives the choice of the first anchor. The two-coordinate form does the same for the third summand w(xˉ2xˉ2x3)w(\bar x_2 \bar x_2 x_3)w(xˉ2​xˉ2​x3​), whose minimisers the greedy exchange relocates; it is how the resolution of xˉ2xˉ2x3\bar x_2 \bar x_2 x_3xˉ2​xˉ2​x3​ to a chosen point x1x_1x1​ is established in their Lemma 25. Both are stated for an arbitrary request sequence --- no last-request structure is needed.

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

theorem antipode_coord_eval (M : Type) [MetricSpace M] (Δ : ℝ) (hΔ0 : 0 < Δ)
    (hΔ : ∀ u v : M, dist u v ≤ Δ) (C₀ : Config 3 M) (σ : List M) (x y c : M) :
    (∃ u : M,
      @workFnU 3 (M ⊕ M) (antipodalExtension M Δ hΔ0 hΔ)
          (fun i => Sum.inl (C₀ i)) (σ.map Sum.inl) ![Sum.inr x, Sum.inl y, Sum.inl c]
        = @workFnU 3 (M ⊕ M) (antipodalExtension M Δ hΔ0 hΔ)
            (fun i => Sum.inl (C₀ i)) (σ.map Sum.inl) ![Sum.inl u, Sum.inl y, Sum.inl c]
          + (2 * Δ - dist u x))
    ∧ (∃ u v : M,
      @workFnU 3 (M ⊕ M) (antipodalExtension M Δ hΔ0 hΔ)
          (fun i => Sum.inl (C₀ i)) (σ.map Sum.inl) ![Sum.inr x, Sum.inr y, Sum.inl c]
        = @workFnU 3 (M ⊕ M) (antipodalExtension M Δ hΔ0 hΔ)
            (fun i => Sum.inl (C₀ i)) (σ.map Sum.inl) ![Sum.inl u, Sum.inl v, Sum.inl c]
          + ((2 * Δ - dist u x) + (2 * Δ - dist v y))) := by sorry

end KServer
Source
Coordinate-local form of the McShane envelope of the extension work function, as used implicitly throughout the tree and multi-ray analyses of C. Coester, E. Koutsoupias, 'Towards the k-server conjecture', ICALP 2021, arXiv:2102.10474 (Lemmas 24, 25 and the potential's term-by-term manipulations).

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