Skip to main content
QUICK REVIEW

[Paper Review] Algorithms for discovering and proving theorems about permutation patterns

Hjalti Magnússon, Henning Úlfarsson|arXiv (Cornell University)|Nov 29, 2012
Advanced Combinatorial MathematicsMathematics14 references6 citations
TL;DR

This paper introduces BiSC, an algorithm that automatically discovers mesh pattern theorems for permutation classes by analyzing forbidden patterns in input permutations. It enables the first linear-time recognition of the 4312 pattern and generalizes preimage algorithms for sorting devices, providing fully automatic proofs for complex pattern-avoidance classes such as West-3-stack-sortable permutations.

ABSTRACT

We present an algorithm, called BiSC, that describes the patterns avoided by a given set of permutations. It automatically conjectures the statements of known theorems such as the descriptions of stack-sortable (Knuth 1975) and West-2-stack-sortable permutations (West 1990), smooth (Lakshmibai and Sandhya 1990) and forest-like permutations (Bousquet-Melou and Butler 2007), and simsun permutations (Branden and Claesson 2011). The algorithm has also been used to discover new theorems and conjectures related to Young tableaux, Wilf-equivalences and sorting devices. We further give algorithms to prove a complete description of preimages of pattern classes under certain sorting devices. These generalize an algorithm of Claesson and Ulfarsson (2012) and allow us to prove a linear time algorithm for finding occurrences of the pattern 4312.

Motivation & Objective

  • To develop an algorithm that automatically discovers theorems describing permutation classes via forbidden mesh patterns.
  • To address the challenge of identifying complex pattern-avoidance conditions beyond classical patterns, especially in cases where classical patterns alone are insufficient.
  • To extend preimage algorithms for sorting devices to handle mesh pattern classes, enabling fully automatic proofs of known and new theorems.
  • To provide a linear-time algorithm for detecting the 4312 pattern, a significant advancement over prior O(n log n) methods for non-trivial patterns of length >3.

Proposed method

  • BiSC uses a greedy base-finding approach that iteratively adds forbidden patterns to a base set, starting from missing permutations not containing previously forbidden patterns.
  • When classical patterns fail to explain missing permutations, BiSC introduces mesh patterns by identifying critical shaded regions that distinguish forbidden from allowed permutations.
  • The algorithm leverages the concept of flattening to normalize substrings and detect pattern occurrences in permutations.
  • Preimage algorithms for sorting devices (stack, queue, pop-stack, etc.) are generalized using composition of linear-time operators, including reverse and complement.
  • The method combines symbolic computation with pattern recognition to infer complete descriptions of preimage sets under sorting operations.
  • A key innovation is the extension of stack preimage algorithms to handle certain mesh pattern classes, enabling automatic proof of West-3-stack-sortable permutations.

Experimental results

Research questions

  • RQ1Can an algorithm automatically discover theorems describing permutation classes using only a set of example permutations as input?
  • RQ2How can mesh patterns be systematically inferred to capture complex avoidance conditions that classical patterns cannot?
  • RQ3Can preimage algorithms for sorting devices be generalized to handle mesh pattern classes, enabling fully automatic proofs?
  • RQ4Is it possible to design a linear-time algorithm for recognizing a non-trivial pattern of length greater than 3, such as 4312?
  • RQ5Can the framework be extended to prove known results like the characterization of West-3-stack-sortable permutations automatically?

Key findings

  • BiSC rediscovered known theorems on stack-sortable, West-2-stack-sortable, smooth, forest-like, and simsun permutations using only input permutations.
  • The algorithm discovered new theorems related to Young tableaux, Wilf-equivalences, and sorting devices, demonstrating its exploratory power.
  • A linear-time algorithm for recognizing the 4312 pattern was discovered and proven using the framework, marking the first such algorithm for a non-trivial pattern of length >3.
  • The preimage algorithm for a stack was extended to handle certain mesh pattern classes, enabling a fully automatic proof of the West-3-stack-sortable permutation characterization.
  • The framework successfully proved Theorem 3.3: a permutation avoids 4312 if and only if the composition S∘r∘c∘Q sorts it, leading to a linear-time recognition algorithm.
  • The algorithms are implemented in Sage and publicly available, supporting reproducibility and further research in permutation pattern theory.

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.