Counting 4-Patterns in Permutations Is Equivalent to Counting 4-Cycles in Graphs
Bart{\l}omiej Dudek, Pawe{\l} Gawrychowski

TL;DR
This paper explores the complexity of counting 4-pattern occurrences in permutations, establishing a connection with counting 4-cycles in graphs, and shows that improvements in one problem would impact the other.
Contribution
It introduces a reduction linking counting 4-patterns to counting 4-cycles, explaining the complexity differences between pattern types and providing new algorithmic insights.
Findings
Counting 4-patterns of the second type is as hard as counting 4-cycles in graphs.
An algorithm for counting 4-cycles in graphs implies an $O(n^{1.48})$ algorithm for 4-patterns.
Improving counting 4-patterns complexity would lead to breakthroughs in 4-cycle detection.
Abstract
Permutation appears in permutation if there exists a subsequence of that is order-isomorphic to . The natural question is to check if appears in , and if so count the number of occurrences. We know that for any fixed length~k, we can check if a given pattern of length k appears in a permutation of length n in time linear in n, but being able to count all such occurrences in time would refute the exponential time hypothesis (ETH). This motivates a systematic study of the complexity of counting occurrences for different patterns of fixed small length k. We investigate this question for k=4. Very recently, Even-Zohar and Leng [arXiv 2019] identified two types of 4-patterns. For the first type they designed an time algorithm, while for the second they were able to provide an time algorithm. This…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
