Efficient counting of permutation patterns via double posets
Joscha Diehl, Emanuele Verri
TL;DR
This work reframes permutation-pattern counting through strict double posets, showing that corner trees and permutations can be encoded as specific double-poset families. By establishing an ($ ext{Epi}$, $ ext{RegMono}$)-factorization in the category of double posets and a linear endomorphism translating double-poset occurrences to linear pattern counts, the authors generalize the Even-Zohar–Leng algorithm. They introduce the Tree$_{5/3}$ family, enabling $ ilde{ ext{O}}(n^{5/3})$ counting for twelve additional directions at level 5, and provide a practical counting procedure for corner-tree occurrences via vertex/edge recurrences and sum-tree data structures. The framework suggests a path to counting broader classes of permutations faster than naive approaches and links to recent pattern-tree generalizations. Open questions concern extending the speedup to all level-5 directions and deriving closed enumerative formulas for the poset families involved.
Abstract
Corner trees, introduced in "Even-Zohar and Leng, 2021, Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms", allow for the efficient counting of certain permutation patterns. Here we identify corner trees as a subset of finite (strict) double posets, which we term twin-tree double posets. They are contained in both twin double posets and tree double posets, giving candidate sets for generalizations of corner tree countings. We provide the generalization of an algorithm proposed by Even-Zohar/Leng to a class of tree double posets, thereby enlarging the space of permutations that can be counted in O(n^{5/3}).
