Atelier des rouesLab FR
Register/AT.EX18.01
Verified experiment · AT.EX18.01

Skip suffix reversals

0/4 Known result or no established contribution AI-assisted literature assessment · one reading

I count each suffix-reversal length over the 5,000 transitions using Zaks’s divisibility rule, then charge floor(k/2) swaps per reversal. The 5,877 total is an exact aggregate for this nine-symbol interval, not a new generation rule. It could estimate replay work without enumerating intermediate permutations. Since this follows directly from Zaks, I would check endpoint and wrap conventions against exhaustive small cases before trusting an implementation’s totals.

Shmuel Zaks, “A New Algorithm for Generation of Permutations,” BIT 24, 196–204

How I rate results

Assumptions

How many swaps would sequential generation need to reach the same permutation? I count bypassed swaps. The runtime of two direct decodes also depends on the implementation. Zaks supplied the ordering and suffix generator.

Result

From rank 719 to 5,719, the 5,000 transitions need 5,877 swaps. I checked 5,912 transitions against sequential generation on two to seven symbols.

Prior work

Zaks

Next question

Measure the crossover between jumping and local updates on an actual batch of ranks.

Read the argument and prior work · View supporting evidence

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.