Griddings of permutations and hardness of pattern matching

V'it Jel'inek, Michal Opler, J. Pek'arek
{"title":"Griddings of permutations and hardness of pattern matching","authors":"V'it Jel'inek, Michal Opler, J. Pek'arek","doi":"10.4230/LIPIcs.MFCS.2021.65","DOIUrl":null,"url":null,"abstract":"We study the complexity of the decision problem known as Permutation Pattern Matching, or PPM. The input of PPM consists of a pair of permutations $\\tau$ (the `text') and $\\pi$ (the `pattern'), and the goal is to decide whether $\\tau$ contains $\\pi$ as a subpermutation. On general inputs, PPM is known to be NP-complete by a result of Bose, Buss and Lubiw. In this paper, we focus on restricted instances of PPM where the text is assumed to avoid a fixed (small) pattern $\\sigma$; this restriction is known as Av($\\sigma$)-PPM. It has been previously shown that Av($\\sigma$)-PPM is polynomial for any $\\sigma$ of size at most 3, while it is NP-hard for any $\\sigma$ containing a monotone subsequence of length four. In this paper, we present a new hardness reduction which allows us to show, in a uniform way, that Av($\\sigma$)-PPM is hard for every $\\sigma$ of size at least 6, for every $\\sigma$ of size 5 except the symmetry class of $41352$, as well as for every $\\sigma$ symmetric to one of the three permutations $4321$, $4312$ and $4231$. Moreover, assuming the exponential time hypothesis, none of these hard cases of Av($\\sigma$)-PPM can be solved in time $2^{o(n/\\log n)}$. Previously, such conditional lower bound was not known even for the unconstrained PPM problem. On the tractability side, we combine the CSP approach of Guillemot and Marx with the structural results of Huczynska and Vatter to show that for any monotone-griddable permutation class C, PPM is polynomial when the text is restricted to a permutation from C.","PeriodicalId":369104,"journal":{"name":"International Symposium on Mathematical Foundations of Computer Science","volume":"57 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-07-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Symposium on Mathematical Foundations of Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.MFCS.2021.65","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

We study the complexity of the decision problem known as Permutation Pattern Matching, or PPM. The input of PPM consists of a pair of permutations $\tau$ (the `text') and $\pi$ (the `pattern'), and the goal is to decide whether $\tau$ contains $\pi$ as a subpermutation. On general inputs, PPM is known to be NP-complete by a result of Bose, Buss and Lubiw. In this paper, we focus on restricted instances of PPM where the text is assumed to avoid a fixed (small) pattern $\sigma$; this restriction is known as Av($\sigma$)-PPM. It has been previously shown that Av($\sigma$)-PPM is polynomial for any $\sigma$ of size at most 3, while it is NP-hard for any $\sigma$ containing a monotone subsequence of length four. In this paper, we present a new hardness reduction which allows us to show, in a uniform way, that Av($\sigma$)-PPM is hard for every $\sigma$ of size at least 6, for every $\sigma$ of size 5 except the symmetry class of $41352$, as well as for every $\sigma$ symmetric to one of the three permutations $4321$, $4312$ and $4231$. Moreover, assuming the exponential time hypothesis, none of these hard cases of Av($\sigma$)-PPM can be solved in time $2^{o(n/\log n)}$. Previously, such conditional lower bound was not known even for the unconstrained PPM problem. On the tractability side, we combine the CSP approach of Guillemot and Marx with the structural results of Huczynska and Vatter to show that for any monotone-griddable permutation class C, PPM is polynomial when the text is restricted to a permutation from C.
排列网格和模式匹配的硬度
我们研究被称为排列模式匹配(PPM)的决策问题的复杂性。PPM的输入由一对排列$\tau$(“文本”)和$\pi$(“模式”)组成,目标是确定$\tau$是否包含$\pi$作为子排列。在一般输入上,根据Bose、Buss和Lubiw的结果,PPM是np完全的。在本文中,我们关注PPM的限制实例,其中文本被假定为避免固定(小)模式$\sigma$;这个限制被称为Av($\sigma$)-PPM。先前已经证明,Av($\sigma$)-PPM对于任何尺寸最多为3的$\sigma$都是多项式,而对于任何包含长度为4的单调子序列的$\sigma$都是np困难的。在本文中,我们提出了一种新的硬度降低方法,使我们能够以统一的方式显示,Av($\sigma$)-PPM对于尺寸至少为6的每个$\sigma$,对于尺寸为5的每个$\sigma$,除了对称类$41352$,以及对于三个排列$4321$, $4312$和$4231$中的一个对称的每个$\sigma$都是硬的。此外,在指数时间假设下,Av($\sigma$)-PPM的这些困难情况都不能在时间$2^{o(n/\log n)}$上解决。以前,即使对于无约束PPM问题,也不知道这样的条件下界。在可跟踪性方面,我们将Guillemot和Marx的CSP方法与Huczynska和Vatter的结构结果结合起来,表明对于任何单调可网格置换类C,当文本被限制为C的置换时,PPM是多项式。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信