paper

Long paths make pattern-counting hard, and deep trees make it harder

arXiv:2111.03479

Abstract

We study the counting problem known as #PPM, whose input is a pair of permutations and (called pattern and text, respectively), and the task is to find the number of subsequences of that have the same relative order as . A simple brute-force approach solves #PPM for a pattern of length and a text of length in time , while Berendsohn, Kozma and Marx have recently shown that under the exponential time hypothesis (ETH), it cannot be solved in time for any function . In this paper, we consider the restriction of #PPM, known as -Pattern #PPM, where the pattern must belong to a hereditary permutation class . Our goal is to identify the structural properties of that determine the complexity of -Pattern #PPM. We focus on two such structural properties, known as the long path property (LPP) and the deep tree property (DTP). Assuming ETH, we obtain these results: 1. If has the LPP, then -Pattern #PPM cannot be solved in time for any function , and 2. if has the DTP, then -Pattern #PPM cannot be solved in time for any function . Furthermore, when is one of the so-called monotone grid classes, we show that if has the LPP but not the DTP, then -Pattern #PPM can be solved in time . In particular, the lower bounds above are tight up to the polylog terms in the exponents.

30 pages, 10 figures, extended abstract will appear in proceedings of IPEC 2021

Long paths make pattern-counting hard, and deep trees make it harder · wovepaper