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.

What was already known

Dietz and Sleator established worst-case constant time. Bender and colleagues gave simpler variants. The new algorithm reuses published scheduling ideas and moves elements into fresh neighboring groups in stages.

How the result developed

  1. 28 Oct 2026 · Manuscript date [1]

    Denis Firsov reported the AI-assisted result in this manuscript.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

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

AI involvement

Firsov directed the work and names Claude Opus 5.5 and Astra 6 as collaborators. They contributed to the design of the algorithm, the pen-and-paper proof, the Lean development and the implementations. Firsov checked the trusted specification, interpreter and main statements by hand.

Importance

The machine program proves that queries stay correct during incremental reorganization and that the extra work stays bounded on each operation.

Technical verification

The paper reports Lean proofs of agreement with the list specification, the per-operation step bound, the value-width bound and the fixed-width simulation in the stated machine. Firsov checked the trusted definitions and statements by hand.

Independent checking

Firsov explicitly reports checking the trusted definitions and main statements by hand. The reported human check covers that boundary.

Checker
Denis Firsov, author
Scope
Specification, interpreter, main theorem statements and their defining interface
Basis
Reported by the linked checker

Formal checking

The paper identifies the main theorem, the fixed-width simulation and the standard axioms used. The compiler to Rust and its runtime are outside these statements.

Checker
Lean 4
Scope
Correctness, worst-case step count, logarithmic value width and fixed-width simulation in the stated RAM
Basis
Reported by the linked checker

Human understanding

Firsov reports checking the specification and interpreter. The paper explains guarded migration, but the disclosure does not identify a separately attributable human explanation of the central construction and timing argument.

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

Primary-source review established the scoped result and central mathematical AI involvement.