VibeMathedMath problems solved with AI

Penttonen and Katajainen's question: sorting in o(Nlog⁡N)o(N\log N) time on a multitape Turing machine

Mergesort with a linear-time three-tape merge sorts an encoded list of nn keys of total length NN on a fixed multitape Turing machine in O(Nlog⁡n)O(N\log n) steps (Schnorr, 1978). Penttonen and Katajainen (1985) stated this bound for machines with at least three tapes and asked whether it can be improved or proved optimal. Can a fixed deterministic multitape Turing machine sort in o(Nlog⁡N)o(N\log N) worst-case time? Known lower bounds need restrictions: a sorter that compares whole keys and copies each output bit from its input occurrence needs Ω(Nlog⁡N)\Omega(N\log N) steps, and Paul's transposition lower bound assumes a restriction on how information accumulates on the tapes.

Result
Proved(see note)
Status
Candidate (review pending)
AI contribution
AI co-developed
Method
Construction
Field
Algorithms; Turing machine complexity
Posed by
Martti Penttonen and Jyrki Katajainen, Notes on the complexity of sorting in abstract machines (BIT 25 (1985), Theorem 3.1 and pp. 621-622), as cited by the paper
Year posed
1985
Years open
41y
Solved
2026-11-22
Model
ChatGPT (GPT-6)
Vendor
OpenAI
Collaborators
Yann Tal
Verification
Unreviewed
Publication
Preprint
Significance
18 / 100
Disclosed cost
—
Wikipedia
No dedicated article

What was actually shown

Theorem 1.1 (Revision 1): a deterministic stable sorter for nn records with arbitrary-length keys and payloads of total length NN runs in time O(Nlog⁡n/(log⁡log⁡log⁡n)1/2−o(1))O(N\log n/(\log\log\log n)^{1/2-o(1)}) and space O(N)O(N) on two writable tapes, so o(Nlog⁡N)o(N\log N); it also sorts signed numbers in any fixed base. It adapts the external-memory sort of Li, Li and Liu, using fast transposition to gather pieces with the same digit. Transposition comes from Harvey and van der Hoeven's reduction applied to OpenAI's November 2026 multiplication bound, a Candidate result not checked here. Revision 2 (28 November) adds Boolean sorting circuits with o(Nlog⁡N)o(N\log N) gates. Section 6 leaves open sorting Θ(log⁡n)\Theta(\log n)-bit items in O(n(log⁡n)2−ε)O(n(\log n)^{2-\varepsilon}) steps.

What the AI did

The paper's AI Use Disclosure reads: The author used OpenAI's ChatGPT (GPT-6) in developing the balanced-word routing construction and the method for choosing block shifts deterministically. ChatGPT also assisted with the two-tape implementation, the tape complexity analysis and with the presentation of the proofs. The bound also relies on OpenAI's AI-produced results on integer multiplication and address-field interchange on tapes.

Verification

No independent mathematician has checked this yet. Candidate, Unreviewed on this site's ladder: the bound depends on OpenAI's unrefereed integer-multiplication and address-interchange results on tapes and on the new routing argument, none checked independently. Checked here on 29 November 2026: the ECCC TR26-331 page with all revisions, and Revision 1 (26 pages) by Yann Tal (Tel Aviv University address), read for the abstract, Section 1.1 (history, the Penttonen and Katajainen question, main results), the open problems in Section 6 and the AI use disclosure. Penttonen and Katajainen's BIT paper is paywalled and was not opened; the attribution follows the paper's page-specific citation. The proofs were not audited.

Sources

Submitted by VibeGene on

Changelog2 changes

Discussion