Skip to main content
QUICK REVIEW

[Paper Review] An algorithm computing combinatorial specifications of permutation classes

Frédérique Bassino, Mathilde Bouvel|arXiv (Cornell University)|Jun 2, 2015
Algorithms and Data CompressionComputer Science33 references7 citations
TL;DR

This paper presents a fully algorithmic method to automatically compute combinatorial specifications for permutation classes defined by a finite set of excluded patterns and a finite set of mandatory patterns, when the class contains finitely many simple permutations. The approach uses substitution decomposition and constraint propagation to generate a positive, algebraic system of equations for the generating function, enabling exact enumeration and uniform random sampling of permutations in the class.

ABSTRACT

This article presents a methodology that automatically derives a combinatorial specification for a permutation class C, given its basis B of excluded patterns and the set of simple permutations in C, when these sets are both finite. This is achieved considering both pattern avoidance and pattern containment constraints in permutations. The obtained specification yields a system of equations satisfied by the generating function of C, this system being always positive and algebraic. It also yields a uniform random sampler of permutations in C. The method presented is fully algorithmic.

Motivation & Objective

  • To develop a fully automated algorithm that derives combinatorial specifications for permutation classes from their basis of excluded patterns and a finite set of mandatory patterns.
  • To extend prior work by integrating both pattern avoidance and pattern containment constraints into a unified algorithmic framework.
  • To ensure the resulting specification yields a positive, algebraic system of equations for the generating function.
  • To support uniform random sampling of permutations in the class via the derived specification.
  • To generalize the framework to restrictions—classes defined by both forbidden and required patterns—when simple permutations are finite.

Proposed method

  • The method begins by computing embeddings of small patterns into larger permutations to propagate pattern containment and avoidance constraints across the structure.
  • It constructs an initial ambiguous system of combinatorial equations based on substitution decomposition and the structure of simple permutations.
  • A disambiguation procedure is applied to transform the ambiguous system into a non-ambiguous combinatorial specification using recursive decomposition and labeled components.
  • The specification is built recursively by defining sets of permutations restricted to specific pattern types and symmetries (e.g., increasing, decreasing, or 3142-avoiding components).
  • The system is translated into a positive, algebraic system of equations for the generating function, which is guaranteed to be solvable.
  • The specification is also used to implement a recursive uniform random sampler for permutations in the class.

Experimental results

Research questions

  • RQ1Can a fully algorithmic method compute combinatorial specifications for permutation classes with finite sets of excluded and mandatory patterns?
  • RQ2How can substitution decomposition and constraint propagation be combined to derive a positive, algebraic generating function system?
  • RQ3What is the minimal set of equations needed to describe a permutation class with finite simple permutations, and how can ambiguity be resolved?
  • RQ4Can the method be extended to handle restrictions (i.e., classes with both forbidden and required patterns) under the same finiteness condition?
  • RQ5What is the computational complexity and practical scalability of the algorithm, especially compared to prior enumeration methods?

Key findings

  • The algorithm successfully computes a combinatorial specification for the class $\mathcal{C} = \mathrm{Av}(1243,2341,2413,41352,531642)$, resulting in a system of 16 equations.
  • The generating function for this class is algebraic and explicitly given by $ C(z) = \frac{(z^6 - 7z^5 + 20z^4 - 28z^3 + 20z^2 - 7z + 1)z}{1 - 9z + 32z^2 - 59z^3 + 62z^4 - 37z^5 + 13z^6 - 2z^7} $.
  • The method avoids the exponential blowup of prior approaches—where up to $1 + 2^{k+2}$ equations might be needed (e.g., $\sim 536$ million for $k=27$) —by using constraint propagation and disambiguation.
  • The derived specification enables efficient uniform random sampling of permutations in the class, as demonstrated in the generation of figures illustrating the class structure.
  • The framework generalizes to restrictions with both forbidden and required patterns, provided the number of simple permutations remains finite.
  • The specification is always positive and algebraic, ensuring that the generating function is computable and amenable to asymptotic analysis.

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.