Compact representations of pattern-avoiding permutations
Abstract
Pattern-avoiding permutations are a central object of study in both combinatorics and theoretical computer science. In this paper we design a data structure that can store any size- permutation that avoids an arbitrary (and unknown) fixed pattern in the asymptotically optimal bits, where is the Stanley-Wilf limit of . Our data structure supports and queries in time, sidestepping the lower bound of Golynski (SODA 2009) that holds for general permutations. Comparable results were previously known only in more restricted cases, e.g., when is separable, which means avoiding the patterns 2413 and 3142. We also extend our data structure to support more complex geometric queries on pattern-avoiding permutations (or planar point sets) such as rectangle range counting in time. This result circumvents the lower bound of by P\u{a}tra\c{s}cu (STOC 2007) that holds in the general case. For bounded treewidth permutation classes (which include the above-mentioned separable class), we further reduce the space overhead to a lower order additive term, making our data structure succinct. This extends and improves results of Chakraborty et al. (ISAAC 2024) that were obtained for separable permutations via different techniques. All our data structures can be constructed in linear time.
Keywords
Cite
@article{arxiv.2510.20382,
title = {Compact representations of pattern-avoiding permutations},
author = {László Kozma and Michal Opler},
journal= {arXiv preprint arXiv:2510.20382},
year = {2025}
}