CK 2021, Theorem 23 — WFA is -competitive for servers on trees
ProvedKServer.wfaU_trees_three_competitiveTheorem 23 of Coester and Koutsoupias. The Work Function Algorithm is -competitive for servers on trees.
Let be the vertex set of a finite weighted tree, carrying the path metric, and let be an initial configuration of three servers. Then there is a constant , depending on the space and on but not on the request sequence, with
Since -competitiveness is conjectured to be optimal and is known to be a lower bound for every deterministic algorithm on any metric space with more than points, this is a tight bound for : it settles the -server conjecture for three servers on trees.
Context
The general upper bound for the Work Function Algorithm is , which gives for three servers. Bringing it down to has been achieved only on restricted spaces --- the line, spaces of and points, the Manhattan plane for --- and trees for is the case Coester and Koutsoupias settle, by exhibiting a potential function satisfying an offset and an update property, the latter proved using the fact that a metric is a tree metric exactly when it is quasiconcave.
What WFA means here
The algorithm is the classical one: after each request it moves to a configuration containing the request minimising movement cost plus the work function of the unlabelled configuration --- the work function whose final move is a minimum-cost matching, which is the one all of the classical theory concerns.
The distinction matters. A configuration is formally a function , and one can build a work function that demands server finish at a named point; the resulting algorithm is a different one, and it is not -competitive on trees. On the path with edge weights and initial configuration there is an admissible run of that variant which is eventually periodic with period , of cost per period against an optimal offline cost of , so its ratio tends to and no additive constant suffices. The loss is a step whose labelled cost is while the matching between the same two point sets costs : two servers exchange positions and buy nothing. Minimising against the unlabelled work function removes exactly this, because the work function is then blind to the labelling while the movement cost is not, so the minimisation itself selects the matching.
Formalization note
IsTreeVertexSpace M says the metric on is the path metric of a weighted tree whose vertex set is itself. WFAU is the classical Work Function Algorithm as above; ties in its step are broken by a fixed arbitrary choice, and the statement is asserted for that algorithm however they are broken. IsCompetitive A c is the usual , with the optimal offline cost from 's initial configuration.
import Mathlib import Definitions.Def_KServer_wfaU import Definitions.Def_KServer_tree_metric
namespace KServer
theorem wfaU_trees_three_competitive {M : Type*} [MetricSpace M] [Fintype M]
(hM : IsTreeVertexSpace M) (C₀ : Config 3 M) :
IsCompetitive (WFAU (Nat.succ_pos 2) C₀) 3 := by sorry
end KServer