diff 54965ed..36f2a0c k_server_uniform_computation_v2.txt
diff --git a/k_server_uniform_computation_v2.txt b/k_server_uniform_computation_v2.txt
index 5f6f6a7..c72ba7b 100644
--- a/k_server_uniform_computation_v2.txt
+++ b/k_server_uniform_computation_v2.txt
@@ -1,19 +1,23 @@
An online $k$-server algorithm maintains $k$ points of a metric space, the servers, and reacts to a stream of requests in the same space, one request at a time. Every request names a point; the algorithm moves a single server to that point, pays the metric distance of the move, and leaves the other $k-1$ servers in place. A request to a point already occupied by a server costs zero. The offline optimum for a finite request word is the cheapest total movement achievable by a service that reads the whole word first. For a constant $c$, the algorithm is $c$-competitive if, for every finite request word chosen independently of the algorithm's random bits (the oblivious-adversary model), its expected movement is at most $c$ times the offline optimum plus an additive term independent of the length of the word. Manasse, McGeoch, and Sleator introduced the problem in this form as a metric abstraction of paging and of related service questions.
+> "The k-server problem is that of planning the motion of k mobile servers on the vertices of a graph under a sequence of requests for service. Each request consists of the name of a vertex, and is satisfied by placing a server at the requested vertex. The requests must be satisfied in their order of occurrence. The cost of satisfying a sequence of requests is the distance moved by the servers."
./manasse-mcgeoch-sleator-1990-competitive-algorithms-for-server-problems.pdf
-Paging is the uniform-metric special case: servers model the pages currently held in a cache, the request stream is a sequence of pages, and a request to an absent page costs one unit of movement. Fiat, Karp, Luby, McGeoch, Sleator, and Young proved that the randomized marking algorithm attains competitive ratio $2H_k$ on this metric, where $H_k = 1 + 1/2 + \dots + 1/k$ is the $k$th harmonic number, and that no randomized algorithm attains ratio $H_k$ against an adaptive adversary. Logarithmic behaviour of a natural metric suggested the randomized $k$-server conjecture, which proposed an $O(\log k)$ ratio on every finite metric, and the marking idea seeded many potential-based and phase-based devices that later spread through online computation.
+Paging is the uniform-metric special case: servers model the pages currently held in a cache, the request stream is a sequence of pages, and a request to an absent page costs one unit of movement. Fiat, Karp, Luby, McGeoch, Sleator, and Young proved that the randomized marking algorithm attains competitive ratio $2H_k$ on this metric, where $H_k = 1 + 1/2 + \dots + 1/k$ is the $k$th harmonic number, and that $H_k$ is the best ratio any randomized algorithm can guarantee against an adaptive adversary. Logarithmic behaviour of a natural metric suggested the randomized $k$-server conjecture, which proposed an $O(\log k)$ ratio on every finite metric, and the marking idea seeded many potential-based and phase-based devices that later spread through online computation.
+> "The best such factor that can be achieved is Hk. This is in contrast to deterministic algorithms, which cannot be guaranteed to be within a factor smaller than k of optimum."
./fiat-karp-luby-mcgeoch-sleator-young-1991-competitive-paging-algorithms.pdf
Bubeck, Coester, and Rabani settled the randomized $k$-server conjecture in the negative by exhibiting finite metrics on which every randomized online algorithm has competitive ratio at least $\Omega(\log^2 k)$. The scale $\log^2(k+1)$ appearing in Theorem 1 is therefore sharp: no randomized algorithm uniform over all finite metrics can do better in order.
+> "There exist (k+1)-point metric spaces in which the randomized competitive ratio for this problem is Omega(log^2 k)."
./bubeck-coester-rabani-2211.05753-randomized-k-server-conjecture-false.pdf
-Independently, Coester and Cosson obtained a polynomial-time randomized algorithm with ratio $O(\log^2 k)$ on sufficiently separated hierarchically separated trees and ratio $O(\log n \log^2 k)$ on arbitrary $n$-point metrics, with request-processing time that is polynomial in the input and independent of the length of the request word. On trees that algorithm uses only $O(\log k)$ fresh random bits in total; on general metrics it uses a bounded initial budget of random bits also independent of the length. Those guarantees are strictly stronger in time and randomness than the ones obtained by the construction below. The setting is different: total time and total randomness are left unconstrained, and the structural condition under which the log-squared ratio can be computed uniformly from any finite rational metric is the object of study, with the additive movement constant unrestricted and with per-request time allowed to grow with the binary length of the request counter.
+Coester and Cosson obtained a polynomial-time randomized algorithm with ratio $O(\log^2 k)$ on sufficiently separated hierarchically separated trees and ratio $O(\log n \log^2 k)$ on arbitrary $n$-point metrics, with request-processing time that is polynomial in the input and independent of the length of the request word. On trees that algorithm uses only $O(\log k)$ fresh random bits in total; on general metrics it uses a bounded initial budget of random bits also independent of the length. Those guarantees are strictly stronger in time and randomness than the ones obtained by the construction below. Total time and total randomness are left unconstrained, and the question becomes structural: under what circumstances can the log-squared ratio be computed uniformly from any finite rational metric, with the additive movement constant unrestricted and with per-request time allowed to grow with the binary length of the request counter?
+> "Existing randomized algorithms with the best known competitive ratios are, on the one hand, inherently implicit and, on the other hand, employ a rounding scheme that maintains a distribution over exponentially many configurations."
./coester-cosson-2605.01497-randomized-k-server-in-polynomial-time.pdf
The mathematical input is the companion existence theorem. For every integer $k \ge 2$, every finite metric space with at least $k+1$ points, and every distinct starting tuple $u$ of length $k$, there exists a single randomized online policy whose expected movement against any finite request word $w$ chosen independently of its random bits satisfies
$$ \mathbb{E}[\mathrm{cost}_{A,u}(w)] \le C_0 \log^2(k+1)\, \mathrm{OPT}_u(w) $$
for an absolute constant $C_0 < \infty$. Only existence is available: neither the policy's transition probabilities nor any procedure that evaluates them is furnished. The task is to convert that existence assertion, which prescribes no procedure, into a single algorithm that is uniform on all finite rational metrics, has polynomial preprocessing, and admits per-request bit complexity depending only on the input plus the binary expansion of the request counter.
-./companion.pdf
+./squared-logarithmic-k-server-companion.pdf
THEOREM 1. There are an absolute constant $C < \infty$ and a polynomial $p$ with the following property. Let $n \ge 3$, $2 \le k < n$, let $d$ be a rational metric on $X = \{1, \dots, n\}$, and let $s \in X^k$ be a labeled starting tuple, repetitions permitted. Let $L$ be the total binary encoding length of $n$, $k$, $d$, and $s$ under a fixed canonical encoding. There is a single randomized online algorithm, defined by a fixed finite-alphabet bit machine that reads $(n, k, d, s)$ on its input tape, with three properties. Preprocessing uses at most $p(L)$ bit operations. At request $r_t$, for every reachable history and internal state, the algorithm uses at most $p(L + \lceil \log_2(t+1) \rceil)$ additional bit operations, draws only unbiased random bits, and moves exactly one chosen server to the requested point, permitting the move to have length zero. For every finite request word $\sigma$ independent of the algorithm's random bits,
$$ \mathbb{E}[\mathrm{cost}_{A,s}(\sigma)] \le C \log^2(k+1)\, \mathrm{OPT}_s(\sigma) + B_{d,k,s}, $$
@@ -21,8 +25,9 @@ where $B_{d,k,s} < \infty$ depends only on the instance and $C$ is absolute. The
Two features of the statement are essential. There is no bound on the additive term $B_{d,k,s}$: it may be enormous for a given instance, and it absorbs a delay during which the prescribed policy has not yet been activated. The permitted per-request computation grows polynomially in the binary expansion of the request counter, not in $L$ alone. Both features are forced by the schedule that follows from the construction, and serve to separate this algorithm from polynomial-time algorithms whose per-request cost is bounded by a function of $L$ only.
./coester-cosson-2605.01497-randomized-k-server-in-polynomial-time.pdf
+
The argument replaces the existence theorem by a terminating computation, then wraps that computation inside a schedule whose cost grows only with the binary length of the request counter. Two devices carry the weight. The first is a finite linear-algebraic description of a strongly lazy policy: from configuration probabilities and one-step transition flows, exact rational elimination yields a decision table whose dyadic conditional rows can be sampled with a bounded number of unbiased bits and whose expected movement exceeds the optimum by a multiplicative coefficient bounded by $C_0 \log^2(k+1)$ up to a bounded additive loss. The second is a universal filter keeping the table's input word short, combined with a deterministic marking fallback that takes over once the table has made too many positive moves inside the current epoch. Both devices act on request words determined by the raw input alone, so the analytic estimate always applies to a fixed word even when the algorithm's own mode switches at a random time.
-./companion.pdf
+./squared-logarithmic-k-server-companion.pdf
The first step is lazification. A service is strongly lazy if, on a request to a point that already holds a server, it moves that server by zero length, and on a request to a point unoccupied by servers it moves exactly one server to that point. From a distinct starting tuple, a strongly lazy service keeps the server positions distinct for all time. Manasse, McGeoch, and Sleator observed that every online policy has a strongly lazy follower whose total cost on every finite word is no larger, path by path, against every realization of the original randomness; the argument uses a matching potential between follower tuple and virtual tuple and the triangle inequality. The follower's decisions depend only on the revealed request and the currently simulated state, so the construction is causal. Consequently the existence theorem may be assumed without loss of generality to promise a strongly lazy policy from any distinct start.
./manasse-mcgeoch-sleator-1990-competitive-algorithms-for-server-problems.pdf
@@ -56,6 +61,7 @@ A fixed table horizon does not by itself serve an unbounded stream: a long inter
The cap parameters are fixed by the instance. Set $F = R (k+1) D$, $M = \lceil F / \delta \rceil$, and $H = \sum_{i = 0}^{M} k^i$. Anticipating a marking fallback that spends at most $(k+1) D$ per block, $F$ reserves the fallback's worst-case cost for a whole epoch. A table trajectory that makes $M+1$ positive moves inside an epoch has already paid $M \delta \ge F$, which is enough to finance a fallback for the remainder of the epoch. The tree bound $H$ counts the capped table trajectories to be tracked by the filter below.
The filter works on one epoch at a time. At the start of the epoch, initialize a list with the single entry $(u, 0)$. Each entry $(c, i)$ consists of a distinct-position labeled tuple $c$ and a nonnegative move count $i$; several entries with identical data are allowed to coexist. On each raw request $r$ apply two deterministic rules. If every listed tuple covers $r$, drop the request and leave the list unchanged (this rule applies in particular to an empty list). Otherwise keep $r$: preserve entries that cover $r$; for every other entry $(c, i)$ with $i < M$, replace it by the $k$ entries $(T(c, r, j), i+1)$ for $j = 1, \dots, k$; an entry with $i = M$ is removed without replacement. The word of kept requests is built up as the epoch unfolds. The filter runs on every raw request, in either mode and either fate of the algorithmic service, and uses no random bits. This filtering-and-resetting device parallels Mikkelsen's phase construction for finite lazy task systems, in which candidate policies are simulated together, requests that are universally free to all candidates are discarded, and a bounded cost cap triggers a fallback; the branching-tree version below makes the bounds on retained word and on state explicit.
+> "When a new epoch begins, the good online algorithm wipes its own memory and serves the epoch as if the input had only consisted of this epoch."
./mikkelsen-1511.05886-randomization-glimpse-future.pdf
After any raw prefix, the filter's live list represents exactly the endpoint tuples and move counts of all strongly lazy services from $u$ of the current kept word that use at most $M$ positive moves. The assertion is by induction. A dropped request does not change the kept word; a kept request preserves entries that cover $r$, and splits each noncovering entry into the $k$ possible single-move children (or discards it once the cap has already been reached). Strong laziness at a distinct tuple forces at least one positive move on any request not covered by that tuple, and every strongly lazy service from a distinct start remains at distinct tuples, so the filter's entries are exactly the trajectories of strongly lazy services that have not yet exceeded the cap. Hierarchically, give the initial entry a root and, whenever an entry is spent, give each child a distinct new node. The resulting rooted tree branches at most $k$-way and has depth at most $M$, hence at most $H$ nodes total. A hit keeps the same node, a spent node never returns, and every kept request spends at least one previously unspent node. Consequently over any epoch the filter creates at most $H$ entries and its live list and its kept word each have size at most $H$, regardless of the number of raw requests. This bound includes the request that might empty the list; every later request of that epoch is then dropped. The quantifier over all strongly lazy services is important, because the list also contains every legal trajectory of the rounded table within the move cap, including trajectories that visit a configuration having zero unrounded probability.