Search arXiv⌕ Search

arXiv · 2610.37940

Enumeration Complexity of Permutation Classes

Abstract

We study classes of permutations that are defined by avoidance of forbidden patterns. For each fixed finite set $B$ of forbidden patterns, we study the \emph{avoider enumeration problem}: given an integer $n$, output all $B$-avoiding permutations of length $n$. Avoider enumeration is output-polynomial for every fixed $B$. However, our main notion of efficiency is polynomial delay. We use the insert-maximum tree as a search tree, in which permutations are built by repeatedly inserting a new maximum while preserving pattern avoidance. This leads to the \emph{insert-maximum extension problem}, which asks if a given permutation has an avoiding descendant at a specified depth. An algorithm for this problem can prune branches that cannot reach the target length. Hence, if this problem is in P, we obtain polynomial-delay enumeration. To investigate this problem, we introduce and study \emph{pockets}, the maximal finite subtrees of the insert-maximum tree. For fixed $B$, if there is a polynomial $p$ such that every pocket rooted at $ρ$ has at most $p(|ρ|)$ nodes, then the extension problem is solvable in polynomial time and enumeration has polynomial delay. In particular, a bound on pocket depth depending only on $B$ suffices. We prove such a bound if the class is well-quasi-ordered, has a regular insertion encoding, or if $B$ omits one of the three maximum-position types: leftmost, interior, or rightmost. We also prove that extension is in NP for every fixed $B$, even with binary-encoded target depth. On the negative side, we construct a fixed set of $55$ forbidden patterns for which extension is NP-complete. Consequently, enumerating valid extensions from a given starting permutation cannot have polynomial delay unless P=NP. This also answers a question of Hanika by showing that the forbidden permutation constraint satisfaction problem can be NP-complete for a fixed forbidden set.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Manuel Bodirsky, Mohamed Elsheikh. 2026-10-27. Enumeration Complexity of Permutation Classes. https://searcharxiv.org/abs/2610.37940

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Probabilistically checkable proofs for the Existential Theory of the Reals

We prove a PCP theorem for the existential theory of the reals, showing that MAX-ETR-INV is $\exists\mathbb{R}$-hard to approximate to within some constant factor. The existential theory of the reals (ETR) is a decision problem asking if there exists a set of real-valued variables satisfying some constraints involving polynomials and inequalities, and $\exists\mathbb{R}$ is the complexity class of problems polynomial-time reducible to ETR. Many important geometric problems are known to be $\exists\mathbb{R}$-complete. $\exists\mathbb{R}$-hardness results frequently work by a reduction from the $\exists\mathbb{R}$-complete problem ETR-INV, which asks if there is a an assignment of real variables each in the interval $[\frac12, 2]$ satisfying some constraints of form $x=1$, $xy=1$ and $x+y=z$. MAX-ETR-INV is a related optimization problem that asks, given a set of constraints of form $x=1$, $xy=1$, and $x+y=z$, for a feasible (that is, satisfiable with variables in $[\frac12, 2]$) subset of those constraints of the largest possible size. We show that there is some constant $ε>0$ such that it is $\exists\mathbb{R}$-hard to approximate MAX-ETR-INV with a better-than-$(1-ε)$ factor. This means that even a non-deterministic polynomial-time algorithm can't approximate MAX-ETR-INV with such a factor factor unless $\exists\mathbb{R}=\text{NP}$. We also give a polynomial-time $8$-factor approximation algorithm and a non-deterministic-polynomial-time $2$-factor approximation algorithm for MAX-ETR-INV.

cs.CC↗

Asymptotic Spectral Geometry and the Complexity of Tensors

We develop asymptotic spectral geometry over arbitrary fields. At a spectral point, general-format and graph-format capacities are geometric median and fractional matching optima. Equality for all local dimension budgets characterizes real-tree spectral hulls. Leg relocation yields local deformation retractions and path-connectedness. Third-order edge weights form a spectrahedron, answering Strassen's rectangular log-convexity question. Let $\widetilde{\mathrm R},\widetilde{\mathrm C}$ denote asymptotic rank and asymptotic division-free circuit size. Let $σ_k,γ_k$ be the suprema of their base-$n$ logarithms over integers $n\ge2$ and nonzero tensors of order $k\ge2$ with local dimensions at most $n$. Superscript $\mathrm{GT}$ restricts to weighted graph tensors. For integers $m\ge1$, $σ_{2m}=σ_{2m}^{\mathrm{GT}}=m$ and $m+1/[8(2m-1)]=σ_{2m+1}^{\mathrm{GT}}<m^2/\sqrt{m^2-1/4}\leσ_{2m+1}\le m+O(m^{-1/3})$. Thus $σ_k=\lfloor k/2\rfloor$ precisely for even $k$. The $k$-vertex complete-graph tensor with edge-label dimension $q\ge2$ has asymptotic rank $q^{k^2/4}$, refuting maximum-cut equality for odd $k$. For concise tensors $T$ of order $k$ (one-leg flattening ranks equal local dimensions), $\widetilde{\mathrm C}(T)\le\widetilde{\mathrm R}(T)\le\widetilde{\mathrm C}(T)^{\lfloor k/2\rfloor}$. Ordinary and asymptotic circuit sizes fail Kronecker submultiplicativity. We obtain $Ω(\sqrt k)\leγ_k^{\mathrm{GT}}\leγ_k\le O(k/\sqrt{\log_2 k})$ and $γ_k\le2(k-1)γ_k^{\mathrm{GT}}/k$. We recover $\mathsf{VP}\ne\mathsf{VNP}$ and the refutation of ETH. For large fixed $k$, the $k$-clique coefficient tensor with $q$ labels per vertex has ordinary and asymptotic rank $q^k$ but asymptotic circuit size below $q^{3k/4}$. We extend Weis's superlinear fan-in-two Boolean circuit bound to specified SAT and promise-USAT encodings.

cs.CC↗

Exponential Lower Bounds on Semidefinite Programming Relaxations for CSPs

We prove that every semidefinite extended formulation that approximates Max 3-XOR to within a factor of $2-ε$ requires $\exp(\tildeΩ(n))$ size, improving the previous lower bound of $\exp(\log^2 n/\log\log n)$ [LRS15]. More generally, our lower bound extends to approximating any constraint satisfaction problem to a factor better than a uniformly random assignment whenever the predicate supports a pairwise uniform probability distribution. Our results follow from improving the lower bound of [LRS15] on the positive semidefinite rank of a matrix associated with a CSP instance. The proof was developed by trying to tinker with the argument of [LRS15] with GPT-6 Astra Pro. We asked GPT to factorize the noisy $\mathrm{T}_ρQ$ factor in the positive semidefinite decomposition of the pattern matrix and bound the separating functional in terms of the high-degree Fourier moments of the factor. All technical ideas in executing this plan are due to GPT Astra Pro.

cs.CC↗