Manuscript Offprint
arXiv:2609.15979The -server conjecture is true
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The k-server conjecture states that a deterministic online algorithm can achieve competitive ratio k on every metric space. We prove the conjecture. Specifically, we show that the work function algorithm satisfies it.
Our proof uses a natural algebraic representation of the work function as a matrix, which encodes all feasible paths to reach a configuration. In this representation, the minimum and addition operations arising in the definition of optimal costs correspond to addition and multiplication of formal expressions, and each work function value corresponds to the determinant of k columns of the matrix. A request arrival updates the representation via a change of basis and row replacement. The amortized analysis is based on a potential function defined in terms of a larger matrix whose coordinates are pairs of coordinates of the original matrix representation.
1 Introduction
The k-server problem, introduced by Manasse, McGeoch and Sleator [MMS88], is a central problem in competitive analysis. It has been repeatedly referred to as the “holy grail” of the field [BN09, BBN10, DEH 17, Lee18, CKL21, CK21, FKSW25, CU25, GKN25, BBA26], and many techniques originally developed for the k-server problem have gone on to impact various other problems in online algorithms. The problem’s definition is simple: There are k servers located at points of a metric space. At each time step, a request arrives at a point of the metric space. An online algorithm must serve the request immediately by moving a server to the requested location, without knowledge of future requests. The goal is to minimize the total distance traveled by servers.
When introducing the problem, [MMS88] showed that the competitive ratio of any deterministic online algorithm is at least k on every metric space with points, showed that this is tight when or , and conjectured that it is tight in general. This question became known as the k-server conjecture, and has been a driving force for progress in competitive analysis. The first algorithm with a finite competitive ratio on general metrics was obtained in [FRR90], achieving a competitive ratio exponential in k. This was improved to a smaller exponential using the (randomized) Harmonic algorithm in [Gro91] and [BG00], which can be derandomized using the techniques of [BBK 94]. A substantial improvement was achieved by Koutsoupias and Papadimitriou [KP95], who showed that the work function algorithm (WFA) is -competitive on general metrics. Another proof of this result was given in [Kou99].
The WFA was introduced in [CL92], and proposed independently also by Karloff and by McGeoch and Sleator. Its definition is simple and generic, and extends far beyond the k-server problem: For a configuration X (e.g., the positions of k servers in the k-server problem) and time t, denote by the minimal (offline) cost to serve the requests up to time t and then end up at configuration X. The function is called the work function, and its values can be computed online at time t.
WFA moves at each time to the configuration that minimizes the sum of its work function value plus the cost (distance) of moving there from the previous configuration.
The conjectured bound of was established for WFA in many special cases, including [CL92], (folklore, cf. [Kou09]), [KP96], line metrics [BK04], weighted stars [BK04] (equivalent to the weighted paging problem), multirays [CK21], in the Manhattan plane [BCL02], on trees [CK21], and on circles [HZ24]. Additionally, the Double Coverage algorithm achieves the conjectured bound of on the line [CKPV91] and, more generally, trees [CL91]. We show that WFA is -competitive on general metric spaces, thereby confirming the -server conjecture.
A configuration is a k-element subset of , representing the locations of servers. For configurations and , their distance is
This is the minimum cost of moving the servers from X to Y.
Denote the initial configuration by . At each time , the algorithm must serve the current request by moving to a configuration , paying movement cost . The goal is to minimize the total cost.
The work function is the function that maps a configuration to the minimum (offline) cost to serve the first requests and then move to configuration . It is well-known (see, e.g., [Kou09]) that the work function can be computed online by dynamic programming, via and the recurrence
Thus, the total optimal offline cost can be written as .
The work function algorithm (WFA) serves the request at time in a configuration minimizing . For simplicity, we assume here a lazy implementation with , although our result extends to any other tie-breaking rule. We denote the cost of WFA on a request sequence by .
The following standard accounting argument is the extended-cost method of Chrobak and Larmore [CL92]: Instead of bounding directly the cost of WFA, we bound the so-called extended cost . We include its proof in the appendix for completeness.
Lemma 1.1 (Extended-cost accounting [CL92]). Let be any WFA trajectory, and let . Then
For a configuration , define its clique weight by
The following theorem establishes the k-server conjecture.
Theorem 1.2. Let be any metric space, and let be the initial configuration. For every finite request sequence , the work function algorithm satisfies
1.2 Overview of the proof
By Lemma 1.1, it suffices to prove
where is the final optimal offline configuration satisfying . To prove this bound, it is enough to prove that there exists a potential function which satisfies
for every configuration X. In order to represent the potential, we need a more complex algebraic structure than the numerical work function.
We introduce a novel approach which has been standard in the theory of valuated matroids, but has not been previously used for proving the competitiveness of the WFA. We use the fraction field which extends the set of formal sums of the form , where is finite. We can define the valuation of a formal sum to be the smallest exponent of the free variable with a nonzero coefficient. For example . The definition extends to the fraction field by . This function satisfies the following properties:
Since the work function recurrence is defined by taking minimums of sums, using and are natural candidates for alternative expression of the work function involving ordinary multiplication and addition instead.
To express the current state of the work function, we maintain vectors for every point . In Section 2, we prove that the current work function can be represented using :
Upon arrival of a request r, we update the representation by performing the following operations:
-
Change the vector space basis so that is a base vector and the determinants are preserved.
-
Replace the first coordinate of every in the new basis by a value proportional to with valuation , with a coefficient that prevents the value to be cancelled out by the determinant. This is achieved by including sufficiently many independent coefficient variables in the field.
We can now consider the problem only in its algebraic form as the work function and extended cost can be represented using only the vectors and their transformations. We use a potential based on the quadratic product , which is a -dimensional vector with coordinates indexed by pairs with , whose entries are obtained by taking products of the entries of and in the respective coordinates. The potential is where and . The term and the function draw parallel to previously known potentials for proving the competitiveness of certain cases of the WFA. The other potentials have also used the selection of a subset of points to minimize an expression which contains the work function values, here expressed indirectly using , and the distance pairs of used points with negative sign, here expressed using .
The check that the potential satisfies for any and is a relatively straightforward computation shown in Lemmas 5.1 and 5.2 respectively.
The heart of the proof is showing that the potential satisfies . In Section 4, we prove this by introducing inequalities regarding the current potential, the new potential and the extended cost. They all follow from the definition of the algebraic handling of a request .
1.3 Related work
Related problems. The k-server problem is closely related to a number of other online problems. For example, the paging (aka caching) problem corresponds to the special case where the metric space is a uniform metric, and was foundational for the field of competitive analysis [ST85]. The k-server problem further belongs to the class of metrical task systems [BLS92, BCLL21, CL22, BCR23], and k-server on a -point metric is equivalent to metrical service systems [CL92, BCR23], with further close connections to layered graph traversal [FFK 98, BCR25, CT26]. Generalizations of the k-server problem include the weighted and the generalized k-server problem [FR94, SS06, BEK17, BEKN23, BMC26], the infinite server problem [CKL21, BBCJ20], and the k-taxi problem [CK19, GKP24, CP26].
Work functions and WFA. The WFA (and a parametrized variant where the work function term is scaled by a constant factor) have been applied to many other problems, including metrical task systems [BE98], layered graph traversal [Bur96], list update [AHK 02], matching [KN03], generalized k-server [Sit14]. Moreover, work functions have been instrumental to advancements on convex body chasing [Sel20, AGTG21]. Variants of WFA have further been proposed as candidates for addressing the k-taxi problem [CK19] and the dynamic optimality conjecture [Sit14].
Quasiconvexity, valuated matroids, and tropical geometry. An important property of k-server work functions is quasiconvexity, which was introduced in the online algorithms context by Koutsoupias and Papadimitriou [KP95]. However, equivalent or closely related notions have appeared independently across several fields under different terminology. In fact, quasiconvex work functions in the k-server setting are mathematically equivalent to valuated matroids, a concept introduced by Dress and Wenzel [DW90] in connection with a variant of the greedy algorithm. In economics, Kelso and Crawford [KC82] introduced the closely related gross substitutes condition as a sufficient condition for the existence of Walrasian equilibria. These structures also play a central role in discrete optimization through their equivalence to -concave functions [Mur03].
The foundational paper by Dress and Wenzel on valuated matroids [DW92] shows that valuated matroids arise naturally from valuations of determinants and Plücker relations. This relationship has since been further expanded by advances in tropical geometry (see for example, Speyer and Sturmfels [SS04] and Maclagan and Sturmfels [MS15]).
Randomized k-server. A separate direction for the k-server problem concerns randomized algorithms (against oblivious adversaries): In this setting, a competitive ratio of is known to be achievable on uniform metrics [FKL 91] and weighted stars [BBN12], matching an lower bound that holds on every metric of points [BCR23]. The randomized k-server conjecture, which states that a -competitive randomized algorithm exists for all metric spaces, was refuted in [BCR23] by an lower bound that holds on some metric spaces, even when . A first polylog( )-competitive algorithm for arbitrary n-point metrics was achieved in [BBMN15], and improved to and in [BCL 18], where is the ratio between the largest and smallest non-zero distance of the metric space. Since both and can be infinite, it remains unknown whether randomization provides an advantage on general metric spaces, and the best known competitive ratio even when randomization is allowed is achieved by WFA.
2 From min-plus recurrences to determinant columns
This section develops the algebraic state from first principles. Throughout, z is a formal symbol and its exponents represent costs. Se use additional variables as coefficients to distinguish combinatorial choices; their values are never specialized to numbers. We give configurations an ordering whenever they are used to index determinant columns.
2.1 Formal expressions and their lowest exponents
For each initial server index and location label , introduce an independent variable . For each time and label , introduce an independent variable . Let be the field of rational functions over in all these variables.
Consider finite formal sums
Combine equal exponents when adding, and multiply using . If , define
For instance, and . Every nonzero element of the coefficient field has valuation zero.
The least-exponent term in a product of two nonzero sums is the product of their least-exponent terms. Its coefficient is nonzero because F is a field. Therefore these finite sums have no zero divisors. We may form their fraction field K and extend the definition by
This is well defined: if , then , and taking least exponents of these products gives the same difference. The two rules we will use are
The second inequality can be strict. For example, . It is precisely this cancellation issue that requires care when replacing a min-plus recurrence by an algebraic one.
Lemma 2.1 (Fresh coefficients prevent cancellation). Suppose use none of the independent coefficient variables . For real numbers , if at least one is nonzero, then
Proof. Put the over a common nonzero denominator that uses none of the . After this multiplication, all terms are finite sums. At the smallest exponent occurring on the right, the coefficient on the left is a nonempty sum , with nonzero independent of all the . It cannot be zero: after clearing coefficient denominators it is a nonzero polynomial, linear in distinct independent variables . Dividing by the common denominator gives the assertion.
2.2 The initial matching as a determinant
For every label , including the initial labels themselves, define a column by
Thus one uniform formula defines all columns. If has distinct labels, put
The determinant expansion is
The exponent of each term is the cost of a matching from to X. Different permutations give different coefficient monomials, even when their matching costs are equal. Hence the least-cost terms cannot cancel, and
In particular, every k distinct columns form a basis.
For two servers, this construction reads
The two possible assignments have opposite signs. If their costs tie, their coefficients still differ, so the minimum cost survives. Using independent symbols rather than unit coefficients is essential for this simple argument.
2.3 A request as a row replacement
We now maintain columns for which
for every ordered configuration of distinct labels. Exchanging two labels changes the sign of , but leaves its valuation unchanged, as required for an unordered configuration.
Assume and a request arrives at . The vector is nonzero, since it belongs to a basis of distinct columns. We first change coordinates so that , while preserving every determinant exactly.
Lemma 2.2 (Determinant-preserving normalization). For every nonzero , with , there is an invertible matrix satisfying and .
Proof. Gaussian elimination gives an invertible matrix with . Write . Multiply the second row of by . The resulting matrix has determinant one, and still sends to , whose second coordinate is zero.
Apply this matrix to every old column. Since , every k-column determinant is unchanged. We continue to call the transformed columns . The matrix is chosen using only the old columns and therefore introduces no fresh coefficient variables.
Write , with and . In these coordinates, . For request number , set
and replace the columns by
Equivalently, replace the first row of the entire column matrix by and leave the other rows unchanged. Notice that for every .
Lemma 2.3 (Exact lifted recurrence). The new columns satisfy for every configuration X.
Proof. Expand the new determinant along its first row. The signed minor accompanying is the determinant of the old columns with column replaced by . Indeed, expanding that replacement determinant along its column gives the same signed minor. Thus
The first-row signs are already included in the replacement determinants; no extra signs are missing from this formula.
If , the summand replacing itself is , because . Every other summand has two copies of the column and is zero. Hence exactly.
If , the factors are distinct fresh variables, and the old determinants contain none of them. Lemma 2.1 gives
where the last equality is (2). This proves the invariant after the request.
After the request column becomes , determinants containing that column depend only on the other columns' last coordinates. The row replacement combines exactly those determinants, with the appropriate costs for moving from the request to the final locations. Alternation eliminates configurations in which the request would occur twice.
For example, with two servers the old columns have the form and . The new two-column determinant is
This is the two-term work function recurrence before taking valuations.
Theorem 2.4 (Maintained algebraic state). For every finite request sequence, the initialization (6) and the determinant-preserving normalization followed by (11) produce a matrix whose k-column determinants have valuations exactly equal to the corresponding work function values at every time.
Proof. The initialization is (8); preservation is Lemma 2.3. All coordinate operations before time t use only coefficient variables from earlier times, so the required freshness holds inductively. Although individual matrix entries may become rational functions, the determinants satisfy the exact recurrence (12); in particular, their dependence on the coefficient variables is controlled by this recurrence.
3 Quadratic products and their determinants
We next explain the space in which the potential lives. This construction uses ordinary polynomials in coordinate symbols; it is separate from the formal cost variable z.
3.1 The symmetric square in coordinates
Identify a vector with the linear polynomial , where are commuting formal symbols. For vectors , their product is the usual product of these polynomials. It is a homogeneous polynomial of degree two. Its coordinate at is , and its coordinate at , for , is .
The vector space of these quadratic polynomials is denoted . Its dimension is , and its monomial basis, in lexicographic order, is
The notation names this concrete vector space; no tensor-product construction is required. For k = 2, the product is simply the three-dimensional column
For k = 3, the six coordinate symbols are .
An invertible matrix A acts on linear polynomials by sending each basis vector to . Substituting these linear polynomials into a quadratic polynomial gives an invertible linear map on the quadratic space, denoted . By construction,
Consequently, if are a basis of , their products , , are a basis of the quadratic space.
The following lemma is a well-known result that goes back to [Sch51], as it is reported in [Mui60, pp. 52-53]. For completeness, we add its proof in Appendix A.
Lemma 3.1 (Determinant of the symmetric square). For every invertible matrix A,
The exponent has a simple counting interpretation: a given basis vector occurs twice in its square and once in each of its mixed products. This is why the quadratic space is suited to the coefficient in the extended-cost bound.
3.2 Minimum valuations of maximal minors
Let be a matrix whose columns span . Define
A dependent choice contributes . Because the family spans, at least one choice is independent. Column order affects only the determinant's sign, which has valuation zero.
Lemma 3.2 (Rules for minor valuations). The following facts hold for spanning column families.
-
If A is an invertible matrix, then .
-
If every column of a spanning family F is a linear combination of columns of G with coefficients of nonnegative valuation, then .
-
If G is block diagonal with blocks , then .
Proof. For the first statement, every selected determinant is multiplied by . For the second, expand a determinant of columns of multilinearly in columns of . Each summand is a determinant of columns of , multiplied by coefficients of total valuation at least zero. Every summand therefore has valuation at least , and so does their sum by (5).
For the third statement, let be the number of rows of . A nonzero full determinant must choose exactly columns from each block: choosing more makes those columns dependent, and choosing fewer leaves that block unspanned. The determinant is then the product of the block determinants, and its valuation is the sum of their valuations. Choosing a minimum determinant independently in every block attains the claimed sum.
We will also use block upper triangular matrices. For a matrix with square diagonal blocks, its determinant is , so the determinant valuation is the sum of the two block valuations.
4 The potential and its increase at a request
Fix any total order on the finite label set . At each time define the matrix , where , and potential by
The columns are written in the monomial coordinates (13). This family spans: choose any configuration of k distinct labels, whose columns form a basis by Theorem 2.4; their pairwise products form a basis of the quadratic space. Multiplying those products by nonzero distance weights preserves their independence.
Before processing a request, we apply the matrix from Lemma 2.2 to every column. This replaces by . Lemmas 3.1 and 3.2 show that is unchanged, since . Therefore we may analyze the request in coordinates where .
4.1 Three quantities associated with the request
Write and let delete the first coordinate. Define the weighted columns and their projection by
Let be the bottom coordinate block of , consisting of the rows with :
Consider the three quantities , and . The determinants defining these quantities have sizes , , and , respectively. Each family spans its coordinate space: spans , its projection spans , and products of a projected basis span the remaining quadratic coordinates. All three quantities are therefore finite.
We will prove
The first inequality selects one useful minor of the old matrix Q. The second bounds every minor of the new matrix . The third relates the extended cost to the difference between these two potential bounds.
4.2 A useful minor of the old quadratic matrix
Lemma 4.1. The old potential before the request satisfies .
Proof. The first quadratic coordinates are
Multiplying a vector by puts its coordinates into these rows and puts zeros into every remaining quadratic row. Because , the columns
are actual columns of Q, namely its pairs .
Choose columns of attaining and take the corresponding columns of . Their first rows give the selected minor and their bottom rows are zero. Next choose columns of whose bottom blocks attain in . They do not include any column of the first selected columns, since those have zero bottom blocks and could not occur in a nonzero bottom-block determinant.
Together these N columns form a square matrix of the form
where and . The determinant has valuation . Since is the minimum over all maximal minors of , it is at most this value.
4.3 A bound on every minor of the new quadratic matrix
Lemma 4.2. The new potential after the request satisfies .
Proof. View as a linear polynomial in . The update is . Expanding one new quadratic column gives
(20)
The expressions in these three lines occupy disjoint coordinate blocks: the single row ; the rows , ; and the rows not involving .
Compare the new columns to the following family, supported separately on these three blocks:
Its minimum full-minor valuation is , by the block rule of Lemma 3.2. We show that every column in (20) is a linear combination of this family with coefficient valuations at least zero.
The coefficient of has valuation
For a mixed term, use to write
The coefficient in parentheses has non-negative valuation. The other mixed term in (20) has the analogous expression with x and y interchanged. Finally, the last line of (20) is already a column of the third family, with coefficient one.
The second rule of Lemma 3.2 now shows that every maximal minor of has valuation at least . Taking their minimum proves the assertion.
Combining the preceding two lemmas gives
4.4 Why the potential change pays the extended cost
Lemma 4.3. For every configuration , .
Proof. First suppose . The old columns are a basis, so write the request column in this basis:
Replacing the ith column of this basis by multiplies its determinant by : substitute (24) and use multilinearity, observing that every summand except i has a repeated column and vanishes. This is Cramer's rule, and it gives
By the work function recurrence, the increase at X is therefore
Consider any columns of . We have
(26)
The first equality is expansion along the first column; the second substitutes (24) and uses .
Every determinant in the final line is either zero or a maximal minor of , up to a column ordering. Its valuation is at least . Equation (25) bounds the valuation of each coefficient below by . Hence every summand has valuation at least , and so does their sum. Minimizing the left side over the projected columns proves .
For the case , the work function increase is zero. Independently of the choice of , we have : since , each determinant defining is, by the first equality of (26), already a determinant of columns of . Its valuation is therefore at least . This completes the remaining case.
Corollary 4.4 (The potential pays every request). For each time t,
Proof. Immediate from Lemma 4.3 and (23).
5 Initial and final potential values
We now prove bounds on the initial and terminal values of the potential function.
Lemma 5.1 (Terminal bound). At every time and for every configuration X, we have
Proof. Let A be the matrix with columns . Select from Q the N columns
Without the scalar weights, their matrix is , since its columns are the images of the coordinate monomials . The determinant is nonzero and, by Lemma 3.1, its valuation is . The scalar weights subtract
from the determinant valuation; diagonal distances are zero. This gives one maximal minor of Q with the claimed valuation, and is the minimum over all such minors.
Lemma 5.2 (Initial value). The initialization (6) satisfies .
Proof. The terminal bound applied at time zero with gives , since .
For the reverse inequality, fix a row of the initial quadratic matrix and a column indexed by . If , its entry is
The valuation of the first summand is
by triangle inequality along the path . The second summand has the same lower bound. Thus the whole entry has valuation at least .
If , the entry has just one product. Its valuation is . Therefore every entry in row has valuation at least , including diagonal rows.
Expand any minor by permutations. Each product chooses one entry from each row and hence has valuation at least
The valuation of the sum cannot be smaller. This bounds every maximal minor from below, giving .
Theorem 5.3. Let be a configuration minimizing . Then
Proof. Sum Corollary 4.4 over the requests. The potential telescopes, and the endpoint lemmas give
Subtract from the accounting inequality in Lemma 1.1 to obtain (29).
Acknowledgments
This work began with a potential function designed by the authors that proves the previously unknown case of k = 3 servers on arbitrary metrics. Our initial proof for three servers showed the correctness of this potential function by establishing infeasibility of a large family of linear programs; this proof was obtained without AI assistance. Through discussions with ChatGPT 5.5 Pro and Gemini 3.1 Pro, we gained a deeper understanding of the potential. These discussions led to a more symmetric reformulation of the potential, again designed by the authors, and an alternative proof for k = 3. Based on this, ChatGPT 6 Astra subsequently derived an algebraic proof of correctness for any k. The proof in this paper is an adaptation thereof using an explicit column representation of work functions, which provides a more natural algebraic representation. The authors supplied this representation to ChatGPT 6 Astra, which adapted the previous proof and assisted with drafting some sections of this paper. The authors subsequently revised those drafts.
Verification of some ideas of generalization from k = 3 to k = 4 has used the University of Oxford Advanced Research Computing (ARC) facility [Ric15].
Christian Coester is funded by the European Union (ERC, CCOO, 101165139). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council. Neither the European Union nor the granting authority can be held responsible for them. Marek Zbysiński is funded by EPSRC grant EP/Z534870/1.
The second author, Elias Koutsoupias, dedicates this work to his constant friends Amos Fiat, Anna Karlin, and Christos Papadimitriou.
References
[AGTG21] C. J. Argue, Anupam Gupta, Ziye Tang, and Guru Guruganesh. Chasing convex bodies with linear competitive ratio. J. ACM, 68(5):32:1–32:10, 2021.
[AHK 02] Eric J. Anderson, Kirsten Hildrum, Anna R. Karlin, April Rasala, and Michael E. Saks. On list update and work function algorithms. Theor. Comput. Sci., 287(2):393–418, 2002.
[BBA26] Kirill Brilliantov, Etienne Bamas, and Emmanuel Abbé. k-server-bench: Automating potential discovery for the k-server conjecture. arXiv preprint, 2026.
[BBCJ20] Marcin Bienkowski, Jaroslaw Byrka, Christian Coester, and Lukasz Jez. Unbounded lower bound for k-server against weak adversaries. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC, pages 1165–1169, 2020.
[BBK 94] Shai Ben-David, Allan Borodin, Richard M. Karp, Gábor Tardos, and Avi Wigderson. On the power of randomization in on-line algorithms. Algorithmica, 11(1):2–14, 1994.
[BBMN15] Nikhil Bansal, Niv Buchbinder, Aleksander Madry, and Joseph Naor. A polylogarithmic-competitive algorithm for the k-server problem. J. ACM, 62(5):40:1–40:49, 2015.
[BBN10] Nikhil Bansal, Niv Buchbinder, and Joseph Naor. Towards the randomized k-server conjecture: A primal-dual approach. In Proceedings of the Twenty-First Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 40–55, 2010.
[BBN12] Nikhil Bansal, Niv Buchbinder, and Joseph Naor. A primal-dual randomized algorithm for weighted paging. J. ACM, 59(4):19:1–19:24, 2012.
[BCL02] Wolfgang W. Bein, Marek Chrobak, and Lawrence L. Larmore. The 3-server problem in the plane. Theor. Comput. Sci., 289(1):335–354, 2002.
[BCL 18] Sébastien Bubeck, Michael B. Cohen, Yin Tat Lee, James R. Lee, and Aleksander Madry. k-server via multiscale entropic regularization. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC, pages 3–16, 2018.
[BCLL21] Sébastien Bubeck, Michael B. Cohen, James R. Lee, and Yin Tat Lee. Metrical task systems on trees via mirror descent and unfair gluing. SIAM J. Comput., 50(3):909–923, 2021.
[BCR23] Sébastien Bubeck, Christian Coester, and Yuval Rabani. The randomized k-server conjecture is false! In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC, pages 581–594. ACM, 2023.
[BCR25] Sébastien Bubeck, Christian Coester, and Yuval Rabani. Shortest paths without a map, but with an entropic regularizer. SIAM J. Comput., 54(5):S22–265, 2025.
[BE98] Allan Borodin and Ran El-Yaniv. Online computation and competitive analysis. Cambridge University Press, 1998.
[BEK17] Nikhil Bansal, Marek Eliás, and Grigorios Koumoutsos. Weighted k-server bounds via combinatorial dichotomies. In 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS, pages 493–504, 2017.
[BEKN23] Nikhil Bansal, Marek Eliás, Grigorios Koumoutsos, and Jesper Nederlof. Competitive algorithms for generalized k-server in uniform metrics. ACM Trans. Algorithms, 19(1):8:1–8:15, 2023.
[BG00] Yair Bartal and Eddie Grove. The harmonic k-server algorithm is competitive. J. ACM, 47(1):1–15, 2000.
[BK04] Yair Bartal and Elias Koutsoupias. On the competitive ratio of the work function algorithm for the k-server problem. Theor. Comput. Sci., 324(2-3):337–345, 2004.
[BLS92] Allan Borodin, Nathan Linial, and Michael E. Saks. An optimal on-line algorithm for metrical task system. J. ACM, 39(4):745–763, 1992.
[BMC26] Adithya Bijoy, Ankit Mondal, and Ashish Chiplunkar. Weighted k-server admits an exponentially competitive algorithm. In Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 4188–4208, 2026.
[BN09] Niv Buchbinder and Joseph Naor. The design of competitive online algorithms via a primal-dual approach. Found. Trends Theor. Comput. Sci., 3(2-3):93–263, 2009.
[Bur96] William R. Burley. Traversing layered graphs using the work function algorithm. J. Algorithms, 20(3):479–511, 1996.
[CK19] Christian Coester and Elias Koutsoupias. The online k-taxi problem. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC, pages 1136–1147, 2019.
[CK21] Christian Coester and Elias Koutsoupias. Towards the k-server conjecture: A unifying potential, pushing the frontier to the circle. In 48th International Colloquium on Automata, Languages, and Programming, ICALP, volume 198, pages 57:1–57:20, 2021.
[CKL21] Christian Coester, Elias Koutsoupias, and Philip Lazos. The infinite server problem. ACM Trans. Algorithms, 17(3):20:1–20:23, 2021.
[CKPV91] Marek Chrobak, Howard J. Karloff, T. H. Payne, and Sundar Vishwanathan. New results on server problems. SIAM J. Discret. Math., 4(2):172–181, 1991.
[CL91] Marek Chrobak and Lawrence L. Larmore. An optimal on-line algorithm for k-servers on trees. SIAM J. Comput., 20(1):144–148, 1991.
[CL92] Marek Chrobak and Lawrence L. Larmore. The server problem and on-line games. In On-Line Algorithms, Proceedings of a DIMACS Workshop, volume 7 of DIMACS Series in Discrete Mathematics and Theoretical Computer Science, 1992.
[CL22] Christian Coester and James R. Lee. Pure entropic regularization for metrical task systems. Theory Comput., 18:1–24, 2022.
[CP26] Christian Coester and Tze-Yang Poon. Online 3-taxi on general metrics. In Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 6659–6673, 2026.
[CT26] Christian Coester and Alexa Tudose. Chasing small sets optimally against adaptive adversaries. In 53rd International Colloquium on Automata, Languages, and Programming, ICALP, volume 374, pages 67:1–67:22, 2026.
[CU25] Christian Coester and Jack Umenberger. Smoothed analysis of online metric problems. In 33rd Annual European Symposium on Algorithms, ESA, volume 351 of LIPIcs, pages 115:1–115:14, 2025.
[DEH 17] Sina Dehghani, Soheil Ehsani, MohammadTaghi Hajiaghayi, Vahid Liaghat, and Saeed Seddighin. Stochastic k-server: How should uber work? In 44th International Colloquium on Automata, Languages, and Programming, ICALP, volume 80 of LIPIcs, pages 126:1–126:14, 2017.
[DW90] Andreas W. M. Dress and Walter Wenzel. Valuated matroids: A new look at the greedy algorithm. Applied Mathematics Letters, 3(2):33–35, 1990.
[DW92] Andreas W. M. Dress and Walter Wenzel. Valuated matroids. Advances in Mathematics, 93(2):214–250, 1992.
[FFK 98] Amos Fiat, Dean P. Foster, Howard J. Karloff, Yuval Rabani, Yiftach Ravid, and Sundar Vishwanathan. Competitive algorithms for layered graph traversal. SIAM J. Comput., 28(2):447–462, 1998.
[FKL 91] Amos Fiat, Richard M. Karp, Michael Luby, Lyle A. McGeoch, Daniel Dominic Sleator, and Neal E. Young. Competitive paging algorithms. J. Algorithms, 12(4):685–699, 1991.
[FKSW25] Fabian Frei, Dennis Komm, Moritz Stocker, and Philip Whittington. Time-optimal k-server. In 36th International Symposium on Algorithms and Computation, ISAAC, volume 359 of LIPIcs, pages 32:1–32:17, 2025.
[FR94] Amos Fiat and Moty Ricklin. Competitive algorithms for the weighted server problem. Theor. Comput. Sci., 130(1):85–99, 1994.
[FRR90] Amos Fiat, Yuval Rabani, and Yiftach Ravid. Competitive k-server algorithms (extended abstract). In 31st Annual Symposium on Foundations of Computer Science, FOCS, pages 454–463, 1990.
[GKN25] Matthias Gehnen, Ralf Klasing, and Émile Naquin. Graph exploration with edge weight estimates. arXiv preprint, 2025.
[GKP24] Anupam Gupta, Amit Kumar, and Debmalya Panigrahi. Poly-logarithmic competitiveness for the k-taxi problem. In Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 4220–4246, 2024.
[Gro91] Edward F. Grove. The harmonic online k-server algorithm is competitive. In Proceedings of the 23rd Annual ACM Symposium on Theory of Computing STOC, pages 260–266, 1991.
[HZ24] Zhiyi Huang and Hanwen Zhang. Deterministic 3-server on a circle and the limitation of canonical potentials. Theor. Comput. Sci., 1020, 2024.
[KC82] Jr. Kelso, Alexander S. and Vincent P. Crawford. Job matching, coalition formation, and gross substitutes. Econometrica, 50(6):1483–1504, 1982.
[KN03] Elias Koutsoupias and Akash Nanavati. The online matching problem on a line. In Approximation and Online Algorithms, First International Workshop, WAOA, pages 179–191, 2003.
[Kou99] Elias Koutsoupias. Weak adversaries for the k-server problem. In 40th Annual Symposium on Foundations of Computer Science, FOCS, pages 444–449. IEEE Computer Society, 1999.
[Kou09] Elias Koutsoupias. The k-server problem. Comput. Sci. Rev., 3(2):105–118, 2009.
[KP95] Elias Koutsoupias and Christos H. Papadimitriou. On the k-server conjecture. J. ACM, 42(5):971–983, 1995.
[KP96] Elias Koutsoupias and Christos H. Papadimitriou. The 2-evader problem. Inf. Process. Lett., 57(5):249–252, 1996.
[Lee18] James R. Lee. Fusible hsts and the randomized k-server conjecture. In Mikkel Thorup, editor, 59th IEEE Annual Symposium on Foundations of Computer Science, FOCS, pages 438–449, 2018.
[MMS88] Mark S. Manasse, Lyle A. McGeoch, and Daniel Dominic Sleator. Competitive algorithms for on-line problems. In Proceedings of the 20th Annual ACM Symposium on Theory of Computing, STOC, pages 322–333, 1988.
[MS15] Diane Maclagan and Bernd Sturmfels. Introduction to Tropical Geometry, volume 161 of Graduate Studies in Mathematics. American Mathematical Society, Providence, RI, 2015.
[Mui60] Thomas Muir. The Theory of Determinants in the Historical Order of Development. Dover Publications, New York, 1960. Reprint of the 1906–1923 edition.
[Mur03] Kazuo Murota. Discrete Convex Analysis. SIAM Monographs on Discrete Mathematics and Applications. Society for Industrial and Applied Mathematics, 2003.
[Ric15] Andrew Richards. University of Oxford Advanced Research Computing, August 2015.
[Sch51] Ludwig Schläfli. Über die resultante eines systemes mehrerer algebraischer gleichungen. In Gesammelte mathematische Abhandlungen, volume 2, pages 1–54. Birkhäuser, Basel, 1851.
[Sel20] Mark Sellke. Chasing convex bodies optimally. In Proceedings of the 2020 ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 1509–1518, 2020.
[Sit14] René Sitters. The generalized work function algorithm is competitive for the generalized 2-server problem. SIAM J. Comput., 43(1):96–125, 2014.
[SS04] David Speyer and Bernd Sturmfels. The tropical grassmannian. Advances in Geometry, 4(3):389–411, 2004.
[SS06] René A. Sitters and Leen Stougie. The generalized two-server problem. J. ACM, 53(3):437–458, 2006.
[ST85] Daniel Dominic Sleator and Robert Endre Tarjan. Amortized efficiency of list update and paging rules. Commun. ACM, 28(2):202–208, 1985.
A Omitted proofs
Proof of Lemma 1.1
Proof. By the work function recurrence, we have
where the last equation by definition of WFA and the fact that for all .
Subtract from the equation and sum over . The work function values on the right-hand side telescope, and , so
□
Proof of Lemma 3.1
Proof. Both sides multiply under composition of matrices. Gaussian elimination expresses every invertible matrix as a product of elementary changes of basis, so it suffices to check three types.
First, scaling by a nonzero scales by and each of the products , , by . It leaves all other products unchanged. The determinant in the quadratic space is therefore .
Second, swapping and swaps their squares and swaps with for each . It leaves fixed. These are transpositions, giving determinant .
Third, consider the shear that replaces by and fixes the other basis vectors. Order the quadratic monomials by their exponent of . Each monomial maps to itself plus monomials having smaller exponent of . Thus the induced matrix is triangular with all diagonal entries equal to one, and has determinant one. The original shear also has determinant one. This proves the identity for all three types and hence for their products.