· Reported 12:25 a.m. Pacific time, November 26, 2026
Sorting faster than N log N on a Turing machine, revised a day after OpenAI's tapes manuscript
A paper posted to the Electronic Colloquium on Computational Complexity (ECCC) by Yann Tal claims that a multitape Turing machine can sort in o(N log N) steps, faster than the N log N cost of any method that copies keys whole after comparing them. Its key ingredient is a manuscript OpenAI posted on November 24 about multiplying integers on tapes: a revision dated November 25 uses it to improve the paper's bound to N log n divided by (log log log n)^(1/2 - o(1)). It is one of the first results I have seen in which a human author builds on an AI-produced result within days, and the paper says the author also used ChatGPT (GPT-6) in parts of the work. Claimed, not yet independently verified; not peer reviewed.
What happened
- What was posted. ECCC report TR26-331, "Sorting in o(N log N) Time on a Multitape Turing Machine", by Yann Tal, first version dated November 22, 2026 (12:37) and published the same day (15:34); revision 1 accepted November 25 (10:08), times as ECCC lists them. The paper gives one author, with an e-mail address in Tel Aviv University's domain (mail.tau.ac.il). ECCC is a long-running preprint server for complexity theory; posting there is not peer review.
- The model. A multitape Turing machine is the textbook model of a computer that reads and writes on a few long tapes, one cell at a time, so moving data far costs time. That makes sorting harder than on a modern computer's memory. In 1985 Martti Penttonen and Jyrki Katajainen stated an O(N log n) bound for sorting on three or more tapes, from a mergesort, where N is the total input length in bits and n the number of items, and asked whether it could be improved or proved optimal, as the paper recounts.
- The claim. A deterministic algorithm stably sorts n binary keys of any lengths, with associated data, in O(N log n / (log log log n)^(1/2 - o(1))) steps and O(N) space on a fixed multitape machine. Since log log log n grows without bound, that is o(N log N) in the worst case. The paper also proves that any deterministic sorter that compares keys and copies each output bit from the matching input bit needs on the order of N log N steps in the worst case; its own method avoids that by splitting items into pieces and moving them together.
- How it uses the AI result. The abstract says: "Applying the reduction of Harvey and van der Hoeven to OpenAI's integer multiplication algorithm yields an improved time bound for matrix transposition on a multitape Turing machine." David Harvey and Joris van der Hoeven had shown that faster integer multiplication on tapes gives faster matrix transposition. The paper then adapts an external-memory sorting method of Baochun Li, Zongpeng Li and Sirui Liu (arXiv, 2026), using transposition to group keys by their next digit.
- Two OpenAI manuscripts, two versions. The first version cites only OpenAI's "Integer multiplication below n log n" (September 23, 2026) and gets the bound with an explicit but tiny constant exponent (its appendix works out values such as 2^-50 and 2^-17 for the pieces). The revision cites both that and "The logarithmic exponent of integer multiplication on tapes", a manuscript OpenAI added to its public math repository on November 24 that claims multiplication of V-bit integers in O(V (log V)^(1/2 + o(1))) steps; with it the exponent becomes 1/2 - o(1). ECCC's change note says the revision "Updated the exponent in light of recent results from OpenAI and broadened the scope of the results."
- The paper's own AI disclosure. Both versions end with an AI Use Disclosure. The revision says the author used OpenAI's ChatGPT (GPT-6) in developing the balanced-word routing construction and the method for choosing block shifts deterministically, and that ChatGPT also assisted with the two-tape implementation, the tape complexity analysis and the presentation of the proofs. So this is human-led work that used AI in stated places and builds on an AI-produced result, not a result produced by a lab.
- What it depends on. The paper's bounds rest on OpenAI's manuscripts: the revision's exponent on the tapes manuscript, and the first version's weaker bound on the September one. Both are claimed, not yet independently verified, so this result carries that status for those steps until the manuscripts are checked.
- Why it matters, and why it does not change software. Sorting is one of the most studied problems in computing, and an improvement below N log N on tapes answers a question that is about four decades old. The gain is a factor of a fractional power of log log log n, which grows so slowly that it is a statement about the shape of the cost, not about faster programs: with base-2 logarithms, log log log n is below 3 for any n under 2^256, which covers any input a computer could hold. Practical sorting runs on random-access memory, a different model.
- Status, in exact words. Sorting in o(N log N) on a multitape Turing machine: claimed, not yet independently verified; not peer reviewed. The improved exponent depends on OpenAI's tapes manuscript (claimed, not yet independently verified).
What people said
“Updated the exponent in light of recent results from OpenAI and broadened the scope of the results.”
ECCC, change note for revision 1 of TR26-331, November 25, 2026
Did this make sense?
Was this helpful?
Get updates by email
Occasional email, only on the topics you pick. Confirm by email; unsubscribe anytime.