Visitar URL original
Glushkov's L/X Problem -- from Wolfram MathWorld
TOPICS
Search

Glushkov's L/X Problem


Glushkov's L/X problem (Glushkov 1968) asks for the largest number of moves needed to rearrange a permutation of n>=2 objects using two operations. The operation L shifts the list cyclically one place to the left, and X exchanges its first two positions. Each operation costs one move. A right shift therefore costs n-1 applications of L, rather than one move. The problem is the directed graph diameter of the Cayley graph of the symmetric group S_n generated by these two operations. With the convention D(1)=0, the diameters for n=1, 2, ... begin 0, 1, 2, 6, 11, 18, 25, 35, 45, 58, 71, ... (OEIS A039745).

Uskov et al. (2026a) reported the exact formula

 D(n)={(3n^2-8n+9)/4   for n odd; (3n^2-8n+12)/4   for n even
(1)

for every n>=5. For example, D(5)=11, D(6)=18, D(7)=25, and D(8)=35. The authors credit an agent system using GPT-6 Astra and Codex with generating the proof and its Lean formalization (Uskov et al. 2026a). The version 1.0.1 release includes a separate statement of the exact all-pairs directed graph diameter and a bound on the length of an L/X word taking any permutation to any other. The release's public Comparator run checked the proofs against these statements, and its axiom audit reported only standard Lean axioms (Uskov et al. 2026b). Palomar (2026) records separate machine checks of the two statements at an earlier revision.


See also

Cayley Graph, Graph Diameter, Symmetric Group

Explore with Wolfram|Alpha

References

Glushkov, V. M. "Completeness of a System of Operations in Digital Computers." Cybernetics 4, 1-4, 1968. https://doi.org/10.1007/BF01073731.Palomar. "Exact Directed L/X Diameter of the Symmetric Group." Verification record. Nov. 2, 2026. https://data.palomar-registry.org/entries/PALOMAR-2026-11-02-000017-v1.json.Uskov, S.; Chervov, A.; Levkovich-Maslyuk, F.; Litvak, I.; Smolensky, A.; and Soibelman, A. "Exact Diameter of the Symmetric Group with LX Generators." Hexagon preprint. Nov. 3, 2026a. https://hexagonmath.org/2611.00039v1.Uskov, S.; Chervov, A.; Levkovich-Maslyuk, F.; Litvak, I.; Smolensky, A.; and Soibelman, A. "Exact Directed L/X Diameter in Lean 4." Version 1.0.1. Nov. 5, 2026b. https://github.com/snow-ghost/glushkov-lx-lean/releases/tag/v1.0.1.Sloane, N. J. A. Sequence A039745 in "The On-Line Encyclopedia of Integer Sequences."

Cite this as:

Weisstein, Eric W. "Glushkov's L/X Problem." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/GlushkovsLXProblem.html

Subject classifications