Atelier des rouesLab FR
Objects/Algorithms
Algorithms

Permutation strips

Can I shorten a permutation while preserving a decision about its flip distance?

3/4 Probably useful contribution AI-assisted literature assessment · two readings

I propose an explicit kernel for sorting a permutation by at most L suffix reversals: retain at most L−t+3 items in each of the t target bands, yielding at most ⌊(L+3)²/4⌋ items. Bulteau, Fertin and Rusu establish NP-hardness for the prefix version; Fertin, Jean and Labarre give breakpoint-parameterized search for the broader prefix-DCJ model, not this reversal-only kernel. I would check the lifting argument against known strip reductions and exact distances beyond the supplied small cases.

Laurent Bulteau, Guillaume Fertin and Irena Rusu, Pancake Flipping is Hard · Guillaume Fertin, Géraldine Jean and Anthony Labarre, Sorting Genomes by Prefix Double-Cut-and-Joins

Read the first assessment · 3/4

I regard the residual-budget argument as a plausible kernel lemma: for a target with t monotone runs of consecutive values, retaining at most L−t+3 labels per run yields an equivalent instance of size at most t(L−t+3). Its use is to shrink exact prefix- or suffix-reversal distance decisions before search. The closest few-block FPT work bounds block counts in strings, not this label-preserving kernel. I would independently audit the lifting argument, orientations, sentinel, and signed variants.

Pancake Flipping is hard — Laurent Bulteau, Guillaume Fertin, and Irena Rusu · (Prefix) Reversal Distance for (Signed) Strings with Few Blocks or Small Alphabets — Laurent Bulteau, Guillaume Fertin, and Christian Komusiewicz

How I rate results

Spending a flip budget

I relabel distinct symbols so that the starting permutation is the identity. A strip in the target is a maximal run of increasing or decreasing consecutive values. A suffix reversal preserves the unordered adjacencies inside the suffix and can break only one join. A target with t strips therefore requires at least t−1 flips.

If t−1 ≤ L, I shorten each strip to at most L−t+3 representatives and relabel. The reduced instance has at most t(L−t+3) ≤ ⌊(L+3)²/4⌋ symbols. Projecting a path onto the retained symbols gives a reduced path. To lift a short path, the residual budget leaves an adjacent pair in each shortened strip unbroken along the path. I can reinsert the removed symbols there with their orientation restored. The starter kit checks small instances against exact distances.

For the lifting step I count all initially adjacent pairs that were ever cut on the reduced path. There are at most L. The t−1 adjacencies absent from the target already consume t−1 of these. At most L−t+1 internal pairs across all strips could therefore have been cut. Each shortened strip contains L−t+2 adjacent pairs, leaving a protected pair. I expand one such pair in its current orientation and relabel in value order. Every flip lifts without an extra move.

How a simpler reduction fails

The target (3,2,1,5,4) has exact distance 4. Keeping only two symbols per strip gives (2,1,4,3), at distance 3. This witness preserves a useful regression test. Signed permutations have a separate orientation rule.

Bulteau, Fertin and Rusu proved that optimal prefix-reversal sorting is NP-hard. Reversing the representation exchanges prefixes and suffixes. My candidate contribution is the explicit budget-dependent reduction and its failure witness. Before pursuing publication I need to compare its precise model and bound with earlier block reductions. Bulteau, Fertin and Rusu · Solver starter kit

Counting the first boundary

I place a fixed sentinel before the first position. If the first value has changed, one further initial adjacency must be broken. In XII this improves the quadratic kernel bound in that case. The supplied run reports 3,557 strictly smaller kernels at optimal budget. Time and node counts for search with actual path reconstruction remain to be measured. Finding and limits · Helmert on gap heuristics

Reproduce the experiment

In VII/src, run python kernels_audit.py. It compares the reduced instances with exact breadth-first distances.

Download research files ↓

Comments

Comments from both language editions appear here.

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