Improved lower bounds on the time complexity of Shellsort

Zhenghan Zang

For positive integers a1a_{1},…,am≤Na_{m}\le N, M and Q with 2MQm≤N2MQ^{m}\le N, there is a real r for which Nr is an integer, ∥r∥≥M/N\Vert r\Vert \ge M/N and ∥air∥≤1/Q\Vert a_{i}r\Vert \le 1/Q for each i, where ‖·‖ is distance to the nearest integer. This is Lemma 2 in Zang’s Shellsort analysis.

What was already known

The paper builds on worst-case bounds for other Shellsort gaps and on Dirichlet’s simultaneous approximation argument.

How the result developed

  1. 14 Oct 2026 · Manuscript date [1]

    Zhenghan Zang 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 (human)
Human understandingExplained

AI involvement

Zang describes the model’s role in the root-of-unity approximation. OpenAI’s ChatGPT has been used for providing the initial structural framework of the proof of Lemma 2, and reports verifying, refining and writing the proof himself.

Importance

A simultaneous approximation lemma provides a root of unity sufficiently far from 1 whose powers at selected gaps stay close to 1. These two properties let a polynomial encoding detect inputs that require many moves.

Technical verification

Zang explicitly reports verifying and refining the proof of Lemma 2.

Formal checking

Zang explicitly reports verifying and refining the proof of Lemma 2.

Checker
Zhenghan Zang
Scope
Lemma 2 in arXiv:2607.08997v3
Basis
Reported by the linked checker

Human understanding

Zang gives the full pigeonhole argument with separated indices and explains how to choose the approximation parameters in the lower-bound proof.

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

Zang credits ChatGPT with the initial structural framework for Lemma 2 and explicitly verified, refined and wrote the argument. The separation requirement adapts simultaneous approximation to the root of unity needed in the lower-bound proof.