Minimum insertion gives polynomial delay for a hard-extension avoidance basis

All length-\(n\) avoiders of Bodirsky and Elsheikh's fixed 55-pattern basis \(B_{\mathrm{final}}\) can be listed exactly once from the empty permutation on unary input \(1^n\), for every \(n\geq 0\). The traversal uses polynomial delay, including startup and termination, and polynomial space. Classical containment means that a subsequence has the same relative order as the pattern. Every pattern in the basis of Bodirsky and Elsheikh's Appendix A, Definition 45 (A.23), has its minimum strictly inside the pattern. The verification covers the core, gap, capacity, conflict, overlap, boundary, ordering and violation families. In particular, the two outer boundary insertions create endpoint maxima, and in each of the four violation patterns the first and last blocks each contain an entry smaller than the corresponding endpoint. The longest forbidden patterns have length \(191\). Value complementation \(c_m(\pi)_i=m+1-\pi_i\) gives, for a length-\(m\) permutation \(\pi\) and a pattern \(\beta\), \[\beta\preceq\pi\quad\Longleftrightarrow\quad c_{|\beta|}(\beta)\preceq c_m(\pi), \] where \(\preceq\) denotes classical containment. The complemented basis therefore satisfies the known interior-maximum criterion. The direct traversal at a length-\(m\) avoider tests the candidates \[I_g^-(\pi)=(\pi_1+1,\ldots,\pi_g+1,1,\pi_{g+1}+1,\ldots,\pi_m+1),\qquad 0\leq g\leq m, \] with empty prefix or suffix at the corresponding endpoint. Retain a candidate exactly when it avoids the basis. A new forbidden occurrence at an endpoint insertion would have its minimum at an endpoint, which the basis excludes. Deleting the minimum and subtracting one from all remaining entries recovers the unique parent and insertion gap. Every retained node below depth \(n\) therefore has an output descendant. For \(n>0\), depth-first search uses at most \(2n(n+1)\) candidate tests between outputs, with the same bound for startup and termination. Each test examines at most \(\sum_{\beta\in B_{\mathrm{final}}}\binom{n}{|\beta|}\) subsequences, taking the binomial coefficient as zero for \(|\beta|>n\). At \(n=0\) the sole output is empty. The traversal preserves earlier permutations on their largest labels. The supplied-root extension problem fixes the smallest labels and extends by new maxima. Bodirsky and Elsheikh, §8, fixed-basis enumeration question. Given unary input \(1^n\), can all classical avoiders of exactly length \(n\) for the fixed 55-pattern basis \(B_{\mathrm{final}}\) of Bodirsky and Elsheikh's Appendix A, Definition 45, be generated from the empty permutation with polynomial delay, including startup and termination? Yes. All 55 forbidden patterns have interior minima. The minimum-insertion traversal emits each avoider exactly once with polynomial delay and polynomial space for every \(n\geq 0\). Each valid node below the target depth has an output descendant because endpoint insertion is safe.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24700499
Primary Topic
Advanced Combinatorial Mathematics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Minimum insertion gives polynomial delay for a hard-extension avoidance basis

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
preprint

Minimum insertion gives polynomial delay for a hard-extension avoidance basis

Zixuan He
preprint en

Abstract

All length-\(n\) avoiders of Bodirsky and Elsheikh's fixed 55-pattern basis \(B_{\mathrm{final}}\) can be listed exactly once from the empty permutation on unary input \(1^n\), for every \(n\geq 0\). The traversal uses polynomial delay, including startup and termination, and polynomial space. Classical containment means that a subsequence has the same relative order as the pattern. Every pattern in the basis of Bodirsky and Elsheikh's Appendix A, Definition 45 (A.23), has its minimum strictly inside the pattern. The verification covers the core, gap, capacity, conflict, overlap, boundary, ordering and violation families. In particular, the two outer boundary insertions create endpoint maxima, and in each of the four violation patterns the first and last blocks each contain an entry smaller than the corresponding endpoint. The longest forbidden patterns have length \(191\). Value complementation \(c_m(\pi)_i=m+1-\pi_i\) gives, for a length-\(m\) permutation \(\pi\) and a pattern \(\beta\), \[\beta\preceq\pi\quad\Longleftrightarrow\quad c_{|\beta|}(\beta)\preceq c_m(\pi), \] where \(\preceq\) denotes classical containment. The complemented basis therefore satisfies the known interior-maximum criterion. The direct traversal at a length-\(m\) avoider tests the candidates \[I_g^-(\pi)=(\pi_1+1,\ldots,\pi_g+1,1,\pi_{g+1}+1,\ldots,\pi_m+1),\qquad 0\leq g\leq m, \] with empty prefix or suffix at the corresponding endpoint. Retain a candidate exactly when it avoids the basis. A new forbidden occurrence at an endpoint insertion would have its minimum at an endpoint, which the basis excludes. Deleting the minimum and subtracting one from all remaining entries recovers the unique parent and insertion gap. Every retained node below depth \(n\) therefore has an output descendant. For \(n>0\), depth-first search uses at most \(2n(n+1)\) candidate tests between outputs, with the same bound for startup and termination. Each test examines at most \(\sum_{\beta\in B_{\mathrm{final}}}\binom{n}{|\beta|}\) subsequences, taking the binomial coefficient as zero for \(|\beta|>n\). At \(n=0\) the sole output is empty. The traversal preserves earlier permutations on their largest labels. The supplied-root extension problem fixes the smallest labels and extends by new maxima. Bodirsky and Elsheikh, §8, fixed-basis enumeration question. Given unary input \(1^n\), can all classical avoiders of exactly length \(n\) for the fixed 55-pattern basis \(B_{\mathrm{final}}\) of Bodirsky and Elsheikh's Appendix A, Definition 45, be generated from the empty permutation with polynomial delay, including startup and termination? Yes. All 55 forbidden patterns have interior minima. The minimum-insertion traversal emits each avoider exactly once with polynomial delay and polynomial space for every \(n\geq 0\). Each valid node below the target depth has an output descendant because endpoint insertion is safe.

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Advanced Combinatorial Mathematics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon