Determining the Maximum Length of a Pattern-Minimal Inversion Sequence
Determining the maximum length of a pattern-minimal inversion sequence Given a nonempty Cayley pattern \(\rho\), how long can an inversion sequence be if it contains \(\rho\) and is minimal under pattern containment? Benjamin Testart asks for the exact greatest length in On minimal pattern-containing inversion sequences, arXiv:2602.12130v2, §7, Question 2. The answer below gives a finite decision procedure and a witness for every nonempty Cayley pattern, including patterns with repeated values. Testart's Question 2 Use zero-based positions, so an inversion sequence \(e\) satisfies \(0\le e_i\le i\). A Cayley pattern uses every rank from \(0\) through \(d-1\), where \(d=1+\max_i\rho_i\). An occurrence selects an arbitrary increasing sequence of positions and maps the pattern ranks by a strictly increasing map, preserving both inequalities and equalities. Minimality is taken among Cayley inversion sequences containing \(\rho\), ordered by this same containment relation. Set \(k=|\rho|\), \(m=\max_i(\rho_i-i)\) and \(L=k+\max\{m,2m-2\}\). Testart's bounds place the maximum in \([L,k+2m]\). For \(m=0\) the answer is \(k\), witnessed by \(\rho\). For \(m\ge1\), test \(k+2m\) and \(k+2m-1\) in descending order, taking only lengths strictly above \(L\). The first successful test returns the maximum and a witness. If all tests fail, the maximum is \(L\), with a witness from Testart's construction. Testart, §§3–4 For a tested length \(k+2m-\delta\), where \(\delta\in\{0,1\}\), let \(s\) be the first index attaining \(m\). Set \(t=2m-\delta\), \(v=m-\delta\), \(a=s+t\) and \(D=d+v\). Enumerate the \(v\)-element sets \(F\subseteq\{0,\ldots,a-1\}\) of values missing from a designated occurrence. Let \(f\) be the increasing bijection from the pattern ranks to \(\{0,\ldots,D-1\}\setminus F\). The fixed suffix \(B=f(\rho_s\cdots\rho_{k-1})\) starts at the saturated position \(a\), where its value is \(a\). The prefix \(X\) interleaves \(f(\rho_0\cdots\rho_{s-1})\) with two copies of each value in \(F\) and, if \(\delta=1\), one additional value \(b\) with \(0\le b<a\). The additional value may belong to \(F\) or to the rank image. Each placed letter must satisfy the inversion inequality at its position. Testart's minimality criterion requires every occurrence to use all singleton values and all positions from the last saturated position onward. Let \(S\) be the set of values occurring exactly once in the fixed total inventory, and let \(J\) be the set of offsets in \(B\) from its last saturated position onward. For every increasing rank map \(g\) into \(\{0,\ldots,D-1\}\), form the literal word \(W=g(\rho)\). Write \(r(W,Y)\) for the smallest index \(r\) such that the suffix of \(W\) starting at \(r\) is a subsequence of the literal word \(Y\). A right-to-left greedy match computes this index. The forbidden initial segment of \(W\) has length \[q(W)=\begin{cases} r(W,B),& S\nsubseteq\operatorname{im}g,\\ \min_{j\in J}r(W,B\text{ with offset }j\text{ deleted}),& S\subseteq\operatorname{im}g. \end{cases} \] The word \(XB\) is minimal exactly when \(X\) avoids all these initial segments as literal subsequences. The first clause detects an occurrence omitting a singleton. The second detects an occurrence skipping a mandatory suffix position. Its minimum suffices because all the tests for a fixed \(W\) give nested initial segments of that same word. Finite-state reachability tracks the progress through the fixed prefix roles, the remaining filler counts and the minimal residual forbidden words under subsequence containment. Reading a letter removes the first letter from each residual word that starts with it. Reduce the updated family to its minimal elements. An empty residual word discards the current prefix and all its continuations. An empty word in the initial forbidden family rules out the entire inventory choice immediately. For every other inventory choice, reachability of an accepting state decides feasibility. The two resources determine the current position and therefore the legal next letters. An accepting path reconstructs a witness. This uses Héam's residual-antichain update with forbidden words derived from the saturation and singleton obligations of the inversion sequence. Héam, §§5.1–5.2 There is a direct formula when \(k\ge2\), the first entry is the unique zero, and \(\rho_1\ge2\), where \(\rho_1\) is the second entry. The maximum is exactly \(k+2m-1\). A witness has the nondecreasing prefix containing two copies of each rank from \(0\) through \(m-1\), followed by the entries \(\rho_i+m-1\) for \(1\le i<k\). For a pattern of length \(k\ge2\) with a unique initial zero, consider any occurrence in a minimal sequence of length \(k+2m\). The positions outside the occurrence are filled by exactly two copies of each omitted value, so the value selected for the zero role is a singleton. If that value is positive, replacing it with the earlier, smaller zero at position zero gives an occurrence that omits a singleton, violating Testart's Proposition 4. Thus the occurrence uses the initial zero, which occurs only once, and the inversion inequality forces position one to have value one. If the occurrence skips position one, the same filler count puts one outside its rank image, so every remaining selected value exceeds one. Replacing the initial zero with the later, larger one at position one then gives an occurrence that omits the singleton zero. Every occurrence must therefore use positions zero and one with values \(0,1\), respectively. This rules out that length when \(\rho_1\ge2\). At the adjacent boundary \(\rho_1=1\) with a unique initial zero, it gives a placement rule for every occurrence in any minimal sequence of length \(k+2m\). The paired witness agrees with Testart's Proposition 10 on its corresponding \(m\ge3\) subcase and with his \(0^m\rho\) witness at \(m=1\). Testart, §4, Proposition 10
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24799195
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint