What was already known
Penttonen and Katajainen asked whether the tape mergesort bound could be improved. Tal’s algorithm combines fast matrix transposition on tapes with radix routing and preserves the order of records with equal keys.
How the result developed
- 28 Nov 2026 · Improved time bound and circuit extension reported [1]
Yann Tal with GPT-6 · Tal reports a deterministic stable sorter that uses less than N time on a fixed multitape Turing machine, where N counts all input bits, including the data attached to keys.
See how the problem developed.
Follow new evidence and revisions to this result.
How the result developed
AI Proof Watch
Stable sorting in steps on a multitape Turing machine
References
- [1]Sorting with Tape Steps and Boolean Gates
Contribution Assessment
AI involvement
Tal credits GPT-6 with work including balanced-word routing and deterministic block shifts
- Technical report · Authors’ attributionRevision 2, page 25, AI Use Disclosure · ECCC TR26-331 Revision 2
Importance
The reported algorithm improves asymptotically on whole-key comparison sorting in the tape model with attached variable-length data.
Technical verification
The preprint gives a proof. The public sources do not document a completed independent check of the sorting argument.
- Technical report · Exact multitape claimRevision 2, Theorem 1.1
- Technical report · Proof of the general input boundRevision 2, Section 5.2
- Technical report · Two writable tapesRevision 2, Appendix B
Human understanding
The paper credits GPT-6 with refining its proof and exposition. A separate human explanation of the balanced-word routing argument is undocumented.
Research Opportunities 2
Browse all opportunitiesResearch directions discussed by researchers in connection with this discovery.
A larger time saving for stable sorting on tapes
Sharper bounds · Algorithm design · Computational complexity
Can a deterministic machine with a fixed number of tapes and linear space stably sort items of bits each in time for a fixed ?
Tal retains this question in the revised paper. The tape algorithm saves a power of the triple logarithm over tape mergesort. Technical report · Status update on A larger time saving for stable sorting on tapes
Fast routing on tapes for polynomial-width strings
Generalization · Algorithm design · Computational complexity
Can a deterministic machine with a fixed number of tapes and linear space route strings to their prescribed destinations in steps per bit, for some fixed , when each string has at least bits for a fixed ?
Main obstacle The method reaches the requested time bound when string width is exponential in a power of the number of strings.
Corollary A.2 gives an iterated-logarithm time saving for polynomial-width strings. Question 7.2 asks for a saving by a power of the logarithm. Technical report · Status update on Fast routing on tapes for polynomial-width strings