[Paper Review] Sorting Cayley permutations with pattern-avoiding machines
This paper generalizes pattern-avoiding stack machines to Cayley permutations—sequences with repeated elements—by characterizing which patterns yield sortable permutations as pattern-classes. It introduces a new involution on Cayley permutations via a $σ$-avoiding stack operator and fully characterizes tortoise pop-stack sortable permutations using four forbidden patterns, proving their enumeration is $3^{n-1}$, while leaving the hare pop-stack case open for future work.
Pattern avoiding machines were recently introduced by Claesson, Ferrari and the current author to gain a better understanding of the classical $2$-stacksort problem. In this paper we generalize these devices by allowing permutations with repeated elements, also known as Cayley permutations. The main result is a description of those patterns such that the corresponding set of sortable permutations is a class. We also show a new involution on the set of Cayley permutations, obtained by regarding a pattern-avoiding stack as an operator. Finally, we analyze two generalizations of pop-stack sorting on Cayley permutations. In both cases we describe sortable permutations in terms of pattern avoidance.
Motivation & Objective
- To extend the theory of pattern-avoiding machines from permutations to Cayley permutations, which allow repeated elements.
- To determine for which forbidden patterns $\sigma$ the set of permutations sortable by a $\sigma$-restricted stack forms a combinatorial class.
- To define and analyze a new involution on Cayley permutations induced by composing a $\sigma$-avoiding stack with the reverse operator.
- To generalize pop-stack sorting to Cayley permutations via two variants: hare and tortoise pop-stack sorting.
- To characterize the sets of sortable Cayley permutations under these two generalizations using forbidden pattern conditions.
Proposed method
- The paper defines a $\sigma$-avoiding stack as a right-greedy stack that prevents any occurrence of a fixed pattern $\sigma$ in its content.
- It encodes the action of the $\sigma$-avoiding stack as a labeled Dyck path, enabling a structural analysis of the operator $\mathcal{S}^\sigma$.
- The involution is constructed by composing $\mathcal{S}^\sigma$ with the reverse operator, preserving the multiset of elements in the Cayley permutation.
- For tortoise pop-stack sorting, the input is partitioned into maximally strictly decreasing blocks, and the output is the reverse of each block concatenated in order.
- The characterization of sortable permutations relies on analyzing block structures and forbidden patterns such as $231$, $312$, $221$, and $211$.
- Enumeration of tortoise pop-stack sortable permutations is achieved by counting block decompositions with constraints on block starts and internal element orders.
Experimental results
Research questions
- RQ1For which patterns $\sigma$ does the set of Cayley permutations sortable by a $\sigma$-avoiding stack form a combinatorial class?
- RQ2Which patterns $\sigma$ yield a bijective $\sigma$-avoiding stack operator $\mathcal{S}^\sigma$?
- RQ3What is the complete set of forbidden patterns that characterize tortoise pop-stack sortable Cayley permutations?
- RQ4Can a geometric or combinatorial model be constructed to enumerate tortoise pop-stack sortable Cayley permutations?
- RQ5What is the enumeration of hare pop-stack sortable Cayley permutations, and does it match any known integer sequence?
Key findings
- The set of Cayley permutations sortable by a $\sigma$-avoiding stack forms a class if and only if $\sigma$ is $12$, $21$, or $11$, with the basis being a singleton or a pair of patterns.
- A new involution on Cayley permutations is constructed by composing the $\sigma$-avoiding stack operator with the reverse operator, preserving the multiset of elements.
- Tortoise pop-stack sortable Cayley permutations are characterized by avoiding the four patterns: $231$, $312$, $221$, and $211$.
- The number of tortoise pop-stack sortable Cayley permutations of length $n$ is exactly $3^{n-1}$, derived from block decomposition with $k$ blocks contributing $\binom{n-1}{k-1}2^{k-1}$ permutations.
- The enumeration of hare pop-stack sortable Cayley permutations remains open, with the initial sequence $1, 3, 11, 41, 151, 553$ not matching any known OEIS entry.
- The structural constraints for tortoise pop-stack sorting are: block starts are non-decreasing, internal elements of blocks are increasing, and elements in later blocks are at least as large as the start of the previous block.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.