Splay tree dynamic optimality

Constant-factor conjecture remains openEvidence checked

Subjects: Algorithms and data structures

Reading depth

The problem

Store the numbers 3, 5 and 7 in a branching search structure with 5 at the top, 3 to its left and 7 to its right. Finding 7 visits 5 and then 7. A splay tree moves the requested number to the top while keeping smaller numbers on the left and larger ones on the right; the next request for 7 finds it immediately. Does this simple adjustment keep its total search-and-rearrangement work within one fixed factor of the best tree that knows every future request, allowing initial setup overhead?[1] [2] [3]

Scope

The splay-tree conjecture in the standard rotation-based binary search tree model, allowing the usual initialization overhead.

What remains open

Repeated requests for one number are only an easy example. The guarantee must hold for every request sequence, even when the pattern changes. A July 2026 preprint reports a factor that grows very slowly with the number of stored numbers; a factor that grows at all does not establish the conjectured fixed-factor guarantee.[1] [2]

Why it matters

Requests need not use stored numbers equally often, and the popular numbers can change. Moving recently used items closer to the top can exploit that pattern without predicting it explicitly. The conjecture asks how much knowing the future can improve this kind of adaptation: whether a rule responding to requests as they arrive loses only a fixed factor against the best paid rearrangements chosen with full foresight.[1] [3]

Definitions

3 terms
binary search tree

A branching structure for ordered keys. Every key in a node’s left subtree is smaller and every key in its right subtree is larger. Search begins at the root and follows comparisons; restructuring must preserve this order.[3] [2]

rotation

A local change promoting a child above its parent and moving any intermediate subtree so that the smaller-left/larger-right ordering remains intact. Rotations are charged operations in the comparison model, not free rearrangements.[3] [2]

offline

The comparison algorithm knows the entire future request sequence before choosing its actions. It still pays for searches and rotations; the conjecture allows the stated initialization overhead when comparing starting configurations.[1] [2]

Sources

  1. A New Path from Splay to Dynamic Optimality Caleb Levy and Robert E. Tarjan · 2019-01-02
    Notes on A New Path from Splay to Dynamic Optimality

    Refereed primary chapter on the dynamic-optimality target and an equivalent structural condition. Fresh access covered publisher metadata and abstract; the full chapter was gated, so its complete proof was not independently read.

  2. Splay trees are almost dynamically optimal Petr Chmel, Bernhard Haeupler, Richard Hladík, Michal Koucký, Antti Roeyskoe, Václav Rozhoň, Ondřej Sladký and Robert E. Tarjan · 2026-07-20
    Notes on Splay trees are almost dynamically optimal

    Primary July 2026 preprint reports a competitiveness factor that remains size-dependent. Selected definitions, theorem statement and Appendix B model comparison were read; a reported almost-optimal bound is not constant-factor dynamic optimality or an independently verified complete proof.

  3. Self-Adjusting Binary Search Trees — author-hosted paper Daniel D. Sleator and Robert E. Tarjan
    Notes on Self-Adjusting Binary Search Trees — author-hosted paper

    Author-hosted copy of the 1985 Journal of the ACM paper, 32(3), 652–686. Selected sections define ordered search trees, rotations and paired splaying steps, and discuss proved adaptive guarantees. No exact publication day or final-publisher PDF byte identity is inferred for this copy.

Suggest a correction