Skip to main content
QUICK REVIEW

[Paper Review] A stack and a pop stack in series

Rebecca Smith, Vincent Vatter|arXiv (Cornell University)|Mar 6, 2013
Advanced Combinatorial MathematicsMathematics13 references4 citations
TL;DR

This paper investigates sorting permutations using a pop stack followed directly by a standard stack (PS machine), characterizing the sortable permutations by a finite basis of forbidden patterns and providing their exact enumeration. It also introduces a more powerful variant with a queue between the stacks (PQS), for which the authors present several conjectures but lack complete characterization, highlighting the complexity of such machines beyond single-stack sorting.

ABSTRACT

We study sorting machines consisting of a stack and a pop stack in series, with or without a queue between them. While there are, a priori, four such machines, only two are essentially different: a pop stack followed directly by a stack, and a pop stack followed by a queue and then by a stack. In the former case, we obtain complete answers for the basis and enumeration of the sortable permutations. In the latter case, we present several conjectures.

Motivation & Objective

  • To characterize the set of permutations sortable by a pop stack followed directly by a standard stack (PS machine).
  • To enumerate the permutations sortable by the PS machine.
  • To investigate the more complex case of a pop stack followed by a queue and then a standard stack (PQS machine).
  • To explore whether the class of PQS-sortable permutations has a finite basis.
  • To compare the PS and PQS machines with other known sorting machines, such as the DI machine (decreasing then increasing stack).

Proposed method

  • The authors analyze the PS machine, where a pop stack outputs its entire contents in LIFO order directly into a standard stack.
  • They use structural decomposition and pattern-avoidance arguments to identify forbidden patterns in sortable permutations.
  • They apply the concept of 'divided permutations' to analyze how removal of entries affects pattern containment.
  • They prove that the PS-sortable permutations avoid certain configurations by showing that any such permutation can be divided into segments that avoid specific patterns.
  • For the PQS machine, they use symmetry and known results on queue-bridged stack systems to derive structural constraints.
  • They employ computational tools like PermLab to assist in basis computation and conjecture finite basis existence for PQS-sortable permutations.

Experimental results

Research questions

  • RQ1What is the finite basis of forbidden patterns for permutations sortable by a pop stack followed directly by a standard stack (PS machine)?
  • RQ2What is the exact enumeration of permutations sortable by the PS machine?
  • RQ3Does the class of permutations sortable by a pop stack followed by a queue and then a standard stack (PQS machine) have a finite basis?
  • RQ4How does the PS machine compare in power to other known sorting machines, such as the DI machine (decreasing then increasing stack)?
  • RQ5Is the closure of a finitely based permutation class under local reversals necessarily finitely based?

Key findings

  • The PS-sortable permutations are characterized by a finite basis of forbidden patterns, specifically avoiding certain configurations related to 231 and 2341 patterns.
  • The paper provides an exact enumeration of the permutations sortable by the PS machine, though the exact formula is not explicitly stated in the summary.
  • For the PQS machine, the authors present several conjectures but do not establish a finite basis or complete enumeration.
  • The PS machine is a special case of the DI machine (decreasing stack followed by increasing stack), but the two classes of sortable permutations are not equivalent.
  • The authors show that the PQS-sortable permutations can be obtained via local reversals from 231-avoiding permutations, suggesting a structural link to known permutation classes.
  • The paper raises the open question of whether local reversals preserve finite basis property, with evidence suggesting the answer may be 'no'.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.