Lune

STOC2024Top-tier venue

Optimization with Pattern-Avoiding Input

Benjamin Aram Berendsohn, László Kozma, Michal Opler

Abstract

Permutation pattern-avoidance is a central concept of both enumerative and extremal combinatorics. In this paper we study the effect of permutation pattern-avoidance on the complexity of optimization problems.

In the context of the dynamic optimality conjecture (Sleator, Tarjan, STOC 1983), Chalermsook, Goswami, Kozma, Mehlhorn, and Saranurak (FOCS 2015) conjectured that the amortized search cost of an optimal binary search tree (BST) is constant whenever the search sequence is patternavoiding, generalizing earlier conjectures and results (sequential -, traversal-, deque-access) that can be seen as avoiding concrete small patterns. The best known bound to date is 2 α(n)(1+o(1)) recently obtained by Chalermsook, Pettie, and Yingchareonthawornchai (SODA 2024); here n is the BST size and α(•) the inverse-Ackermann function. In this paper we resolve the conjecture, showing a tight O(1) bound. This indicates a barrier to dynamic optimality: any candidate online BST (e.g., splay trees or greedy trees) must match this optimum, but current analysis techniques only give superconstant bounds.

More broadly, we argue that the easiness of pattern-avoiding input is a general phenomenon, not limited to BSTs or even to data structures. To illustrate this, we show that when the input avoids an arbitrary, fixed, a priori unknown pattern, one can efficiently compute:

• a k-server solution of n requests from a unit interval, with total cost n O(1/ log k) , in contrast to the worst-case Θ(n/k) bound, and

• a traveling salesman tour of n points from a unit box, of length O(log n), in contrast to the worst-case Θ( √ n) bound; similar results hold for the euclidean minimum spanning tree, Steiner tree, and nearest-neighbor graphs.

We show the above results to be tight. Our techniques build on the Marcus-Tardos proof of the Stanley-Wilf conjecture, and on the recently emerging concept of twin-width.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Approximate Counting of Permutation Patterns cites An Optimal Algorithm for Sorting Pattern-Avoiding Sequences
  • Approximate Counting of Permutation Patterns cites Twin-width I: tractable FO model checking
  • An Optimal Algorithm for Sorting Pattern-Avoiding Sequences cites Improved Pattern-Avoidance Bounds for Greedy BSTs via Matrix Decomposition
  • An Optimal Algorithm for Sorting Pattern-Avoiding Sequences cites Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product Patterns
  • An Optimal Algorithm for Sorting Pattern-Avoiding Sequences cites Factoring Pattern-Free Permutations into Separable ones
  • An Optimal Algorithm for Sorting Pattern-Avoiding Sequences cites Twin-width I: tractable FO model checking
  • Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product Patterns cites Improved Pattern-Avoidance Bounds for Greedy BSTs via Matrix Decomposition
  • Testing forbidden order-pattern properties on hypergrids cites Improved Pattern-Avoidance Bounds for Greedy BSTs via Matrix Decomposition
  • Testing forbidden order-pattern properties on hypergrids cites Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product Patterns
  • Factoring Pattern-Free Permutations into Separable ones cites Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product Patterns
  • Factoring Pattern-Free Permutations into Separable ones cites Twin-width I: tractable FO model checking
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. An Optimal Algorithm for Sorting Pattern-Avoiding SequencesMichal OplerFOCS 2024 · 1 citation
  2. Approximate Counting of Permutation PatternsOmri Ben-Eliezer, Slobodan Mitrovic, Pranjal SrivastavaSODA 2026
  3. Testing forbidden order-pattern properties on hypergridsHarish Chandramouleeswaran, Ilan Newman, Tomer Pelleg, Nithin VarmaSODA 2026

Builds on6

  1. Twin-width I: tractable FO model checkingÉdouard Bonnet, Eun Jung Kim, Stéphan Thomassé, Rémi WatrigantFOCS 2020 · 82 citations
  2. Improved Pattern-Avoidance Bounds for Greedy BSTs via Matrix DecompositionParinya Chalermsook, Manoj Gupta, Wanchote Jiamjitrak, Nidia Obscura Acosta et al.SODA 2023 · 4 citations
  3. Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product PatternsParinya Chalermsook, Seth Pettie, Sorrachai YingchareonthawornchaiSODA 2024 · 4 citations
  4. A Tight Analysis of Slim Heaps and Smooth HeapsCorwin Sinnamon, Robert E. TarjanSODA 2023 · 3 citations
  5. Factoring Pattern-Free Permutations into Separable onesEdouard Bonnet, Romain Bourneuf, Colin Geniet, Stéphan ThomasséSODA 2024 · 2 citations

Related papers

  1. A Refutation of the Pach-Tardos Conjecture for 0-1 MatricesSeth Pettie, Gábor TardosSODA 2025 · 1 citation
  2. On the Extremal Functions of Acyclic Forbidden 0-1 MatricesSeth Pettie, Gábor TardosSODA 2024 · 2 citations
  3. Splay trees on treesBenjamin Aram Berendsohn, László KozmaSODA 2022 · 10 citations
  4. Query Complexity of the Metric Steiner Tree ProblemYu Chen, Sanjeev Khanna, Zihan TanSODA 2023
  5. Sampling Permutations with Cell Probes Is HardYaroslav Alekseev, Mika Göös, Konstantin Myasnikov, Artur Riazanov et al.STOC 2026 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines