Motivation
In the k-server problem, k labelled servers occupy points of a metric space, requests arrive online, and each request is served by moving one server onto it; the cost is the total distance moved, compared with the offline optimum through the competitive ratio. A companion OpenAI preprint claims that on every metric there exists a randomized policy with ratio O(log2(k+1)) against oblivious requests, matching the known worst-case lower bound. That result is an existence statement: it gives no procedure for computing the policy's probabilities.
This mission asks whether the bound can be realized by one uniform algorithm with explicit bit complexity on all finite rational metrics, as stated in an OpenAI preprint dated September 24, 2026 (source). The preprint has not been peer reviewed and its claims have not been independently verified; on the platform the Lean goal is open.
Background
- 1988–1990 — Manasse, McGeoch and Sleator introduce the k-server problem and prove the deterministic lower bound k (STOC 1988; J. Algorithms 1990).
- 1991 — Paging (the uniform metric): Fiat, Karp, Luby, McGeoch, Sleator and Young give the randomized marking algorithm and the harmonic lower bound (J. Algorithms 1991); McGeoch and Sleator attain Hk exactly (Algorithmica 1991). This suggested the randomized k-server conjecture, an O(logk) ratio on every metric.
- 1995 — Koutsoupias and Papadimitriou prove that the work function algorithm is (2k−1)-competitive (J. ACM 1995).
- 1996–2004 — Probabilistic tree embeddings: Bartal (FOCS 1996) and Fakcharoenphol–Rao–Talwar with distortion O(logn) (JCSS 2004).
- 2012–2015 — Bansal, Buchbinder and Naor give O(logk) for weighted paging (J. ACM 2012); Bansal, Buchbinder, Mądry and Naor give the first polylogarithmic bound O(log2klog3nloglogn) on arbitrary finite metrics (J. ACM 2015).
- 2018 — Bubeck, Cohen, Lee, Lee and Mądry achieve O(log2k) on hierarchically separated trees, hence O(log2klogn) on n-point metrics (STOC 2018).
- 2023 — Bubeck, Coester and Rabani disprove the randomized k-server conjecture: some (k+1)-point metrics need ratio Ω(log2k) (STOC 2023).
- 2026 — Coester and Cosson make the tree and finite-metric bounds polynomial-time, with ratio O(lognlog2k) on general metrics (ICALP 2026).
- September 2026 — Two OpenAI preprints claim the matching upper bound O(log2(k+1)) on every metric space (source) and a uniform bit-level implementation on finite rational metrics (source).
Setting
Fix n≥3 and 2≤k<n. A rational metric on X={1,…,n} is a table d(x,y)∈Q that is nonnegative, zero exactly on the diagonal, symmetric, and satisfies the triangle inequality. An initial labelled tuple s∈Xk may have repetitions. For a request word σ, costA,s(σ) is the algorithm's total movement and OPTs(σ) the minimum over all choices of serving labels with knowledge of σ. L denotes the total binary length of the encoding of (n,k,d,s).
The computational model is a bit machine: a finite control with an input tape, finitely many work tapes over {0,1,blank}, an output channel, and one fresh unbiased random bit per step. At each request the input tape is replaced by the encoded request, the internal state is retained, and the output after the step budget names the server to move.
Formalization targets
Goal: Theorem 1.1 (p. 1)
There are an absolute constant C and a polynomial p such that a single uniform randomized online algorithm, on every instance (n,k,d,s) as above,
- preprocesses the instance in at most p(L) bit operations;
- serves request rt, for every reachable history and internal state, in at most p(L+⌈log2(t+1)⌉) further bit operations, outputting a valid server label and moving exactly that server;
- for every fixed finite request sequence σ independent of its random bits satisfies
EcostA,s(σ) ≤ C(log(k+1))2OPTs(σ)+Bd,k,s,
with Bd,k,s<∞ independent of σ and of its length.
Significance
The result itself. It converts the existence theorem into an algorithm whose ratio is independent of n, using only unbiased random bits and polynomial work per request in the input length and the bit length of the request counter. The price is an additive constant Bd,k,s with no size bound: the algorithm may serve a very long initial stretch with a fixed label while its constructor runs. Coester and Cosson obtain stronger time and randomness guarantees but with ratio O(lognlog2k) on general metrics; the two results are incomparable.
Formalizing it. The goal is stated in an explicit machine model, so a formal proof certifies both the competitive bound and the bit-complexity bound. It needs the companion existence theorem (Theorem 2.1 here, p. 4) as an input; a full development therefore also requires formalizing that theorem or taking it as a separate milestone. Exact rational linear algebra (Fourier–Motzkin elimination), dyadic rounding of probabilities, and step-counted machine simulation are reusable.
Difficulty
Knowing that a good policy exists does not give its probabilities, and a finite horizon alone does not control a long input on which the optimum barely moves. The preprint (pp. 3–4) solves a rational linear system for each horizon, then filters requests so that only those missed by some strongly lazy service with bounded moves are retained, which bounds the retained word length; a marking fallback pays for trajectories exceeding the move cap. The constructor's running time is uncontrolled, so the algorithm simulates it for only ⌊log2(t+1)⌋ steps at request t (Proposition 4.2, p. 14), and the delayed activation is absorbed into Bd,k,s.
Formalization scope
RationalMetric n is a Fin n → Fin n → ℚ table with the metric axioms; configurations are Fin k → Fin n; offlineCost is the sInf over label histories matching the request word (a finite, nonempty set of costs).
BitMachine has finitely many controls and tapes and a transition consuming one coin per step. Preprocessing (boot) runs c(L+1)e steps with all coins 0, so it is deterministic; this is satisfied by the source's deterministic constructor, and Theorem 1.1 does not require randomness there.
- Each request runs exactly
requestBudget c e L t =c(L+⌈log2(t+1)⌉+1)e steps (Nat.clog 2 (t+1)) and must have yielded with output value <k for every reachable state and every coin string; requests are encoded by a fixed self-delimiting binary code.
machineExpectedCost averages over all coin strings of the step budget, i.e. uniformly random bits; the bound is required for every request list w, with B≥0 chosen after (d,s) and before w.
- The machine, the polynomial (c,e) and C are fixed before n, k, d, s: the algorithm is uniform.
Selected references
- OpenAI, Uniform computation of the squared-logarithmic k-server bound, OpenAI Math Release preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Uniform-computation-of-the-squared-logarithmic-k-server-bound-September-24-2026/Uniform-computation-of-the-squared-logarithmic-k-server-bound-September-24-2026.pdf
- OpenAI, Squared-logarithmic randomized k-server on arbitrary metrics, OpenAI Math Release preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Squared-logarithmic-randomized-k-server-on-arbitrary-metrics-September-24-2026/Squared-logarithmic-randomized-k-server-on-arbitrary-metrics-September-24-2026.pdf
- D. Komm, R. Královič, R. Královič, T. Mömke, Randomized online computation with high probability guarantees, Algorithmica (2022). https://doi.org/10.1007/s00453-022-00925-z
- G. B. Dantzig, B. C. Eaves, Fourier–Motzkin elimination and its dual, J. Combin. Theory Ser. A 14 (1973). https://doi.org/10.1016/0097-3165(73)90004-6
- M. S. Manasse, L. A. McGeoch, D. D. Sleator, Competitive algorithms for server problems, J. Algorithms 11 (1990). https://doi.org/10.1016/0196-6774(90)90003-W
- E. Koutsoupias, C. H. Papadimitriou, On the k-server conjecture, J. ACM 42 (1995). https://doi.org/10.1145/210118.210128
- A. Fiat, R. M. Karp, M. Luby, L. A. McGeoch, D. D. Sleator, N. E. Young, Competitive paging algorithms, J. Algorithms 12 (1991). https://doi.org/10.1016/0196-6774(91)90041-V
- N. Bansal, N. Buchbinder, A. Mądry, J. Naor, A polylogarithmic-competitive algorithm for the k-server problem, J. ACM 62 (2015). https://doi.org/10.1145/2783434
- S. Bubeck, M. B. Cohen, J. R. Lee, Y. T. Lee, A. Mądry, k-server via multiscale entropic regularization, STOC 2018. https://doi.org/10.1145/3188745.3188798
- S. Bubeck, C. Coester, Y. Rabani, The randomized k-server conjecture is false!, STOC 2023. https://doi.org/10.1145/3564246.3585132
- C. Coester, R. Cosson, Randomized k-server in polynomial time, ICALP 2026. https://doi.org/10.4230/LIPIcs.ICALP.2026.65
- J. Fakcharoenphol, S. Rao, K. Talwar, A tight bound on approximating arbitrary metrics by tree metrics, JCSS 69 (2004). https://doi.org/10.1016/j.jcss.2004.04.011