Worst-case order maintenance

Maintain an ordered list while inserting and deleting items by handle. An order query asks which of two live items comes first. Can every update and query finish in a fixed number of steps, even when labels are being reorganized?

Why it matters and what counts as progress

Why it matters: An update with a small average cost can still pause a larger computation. A worst-case guarantee bounds the delay of each operation.

What counts as progress: Progress includes simpler constructions, checked operation and memory bounds, or the same guarantees under weaker machine assumptions.

How the problem developed

  1. 1987 · Worst-case constant time [1]

    Paul F. Dietz and Daniel D. Sleator Presented an order-maintenance algorithm with constant worst-case time per operation.

  2. 2002 · Simplified algorithms [2]

    Michael A. Bender, Richard Cole, Erik D. Demaine, Martin Farach-Colton and Jack Zito Gave simpler algorithms with the same asymptotic operation bounds as Dietz and Sleator.

  3. 28 Oct 2026 · Checked RAM construction [3]

    Denis Firsov with Claude Opus 5.5 and Astra 6 Proved correctness, a fixed worst-case step bound and logarithmic value width in a RAM with unit-cost zero-filled allocation.

Follow new AI contributions to this problem.

Get email updates

Download problem history

AI contribution

Order Maintenance in Worst-Case Constant Time, Verified

Denis Firsov

The new guarded-migration order-maintenance program answers valid operations as the list specification does, with a fixed worst-case step bound per operation and O(log⁡(t+1))O(\log (t+1))-bit intermediate values over t operations. Its RAM charges unit cost for arithmetic, shifts, most-significant-bit and zero-filled allocation. The fixed-width simulation preserves answers and counts at a sufficient word width.

AI involvementAI-centered
ImportanceModest
Technical verificationFormal (Lean + human)
Human understandingFew
Paper date:

Sources

  1. Dietz and Sleator: Two Algorithms for Maintaining Order in a List
  2. Bender et al.: Two Simplified Algorithms for Maintaining Order in a List
  3. Order Maintenance in Worst-Case Constant Time, Verified
Publication history