Extremal counts for prescribed permutation packings
Extremal counts for prescribed permutation packings For fixed pattern length and overlap, which patterns can maximize the number of packings as the number of prescribed windows grows? In the sparse regime, the answer reduces to allocating free ranks among gaps in an interleaved pattern. In the dense regime, the patterns with maximal exponential growth are exactly those whose residue classes occupy separate rank blocks and run in the same direction. At stride two, the maximum is known for every number of windows. Let \(K\ge2\), \(1\le m<K\), and \(d=K-m\). For a pattern \(\pi\in S_K\), let \(N_\pi^m(j)\) count permutations of \(dj+m\) entries whose length-\(K\) windows starting at \(1+id\), for \(0\le i<j\), each have relative order \(\pi\). Additional occurrences are allowed. A pattern is compatible if its length-\(m\) prefix and suffix have the same relative order. For a compatible pattern, or for any pattern when \(j=1\), the prescribed comparisons define a poset on the actual host positions, and its linear extensions are the packings. Every pattern has count one at \(j=1\). For an incompatible pattern at \(j\ge2\), the first two windows impose conflicting orders on their shared positions, so the count is zero. Blitvić–Kammoun–Steingrímsson, Part I, Definition 2.6 and Remark 2.7 · Part I, Theorem 5.3 Exact rates for adjacent interleaved patterns The adjacent-profile problem is to determine the exact exponential factor after removing the factorial power for every fixed \(1\le m\le K/2\) and every gap allocation around adjacent interleaved pairs. It also asks how the outer allocations rank and whether the conjectured one-sided pattern can remain optimal for each fixed \(m\ge2\) and \(K\ge2m+2\). This is an asymptotic subproblem of Part I §7(4), which asks for the finite-window maximum over all patterns. Part I §7(4), Conjecture 7.1 and the following construction Write \(L=K-2m\). Take increasing prefix ranks \(p_1,\ldots,p_m\) and increasing suffix ranks \(s_1,\ldots,s_m\) with \(p_1<s_1<\cdots<p_m<s_m\) and \(s_r=p_r+1\). The free ranks occupy the lower gap \(a=p_1-1\), the interior gaps \(c_r=p_{r+1}-s_r-1\) for \(1\le r<m\), and the upper gap \(b=K-s_m\). These nonnegative integers sum to \(L\). Every such allocation is admissible. The order of the free ranks in the middle positions can be chosen arbitrarily, since permuting those positions in every window gives a count-preserving bijection. Let \(U\) be uniform measure on \([0,1]\). Maximize over probability laws \(\mu_1,\ldots,\mu_m\) on \([0,1]\) whose increasing quantile functions satisfy \(Q_1(t)\le\cdots\le Q_m(t)\) almost everywhere. Here \(Q_r(t)=\inf\{x:\mu_r([0,x])\ge t\}\) for \(0<t<1\). The relative entropy \(D(\mu\|U)\) is \(\int f\log f\,dU\) for \(f=d\mu/dU\), and is \(+\infty\) if \(\mu\) lacks a density with respect to \(U\). Set \[\Phi(\boldsymbol\mu)=-\sum_{r=1}^m D(\mu_r\|U)+\int_0^1\!\left[a\log Q_1(t)+b\log(1-Q_m(t))+\sum_{r=1}^{m-1}c_r\log\bigl(Q_{r+1}(t)-Q_r(t)\bigr)\right]dt. \] Omit every logarithm with zero coefficient and use \(\log 0=-\infty\) for positively weighted terms. The maximum is finite and attained. For the stated profile the exact rate is \[R(a,c_1,\ldots,c_{m-1},b)=\frac{\exp(\max\Phi)}{a!b!\prod_{r=1}^{m-1}c_r!}=\lim_{j\to\infty}\left[\frac{((j+1)!)^m}{(dj+m)!}\,N_\pi^m(j)\right]^{1/j}. \] Equivalently, the \(j\)th root of \(N_\pi^m(j)/(j!)^L\) tends to \(d^dR\). All parameters and the allocation are fixed in these limits. The gap weights come from an exact order-statistic integral. Give each host position an independent uniform label. After ordering each shared row, let \(X_{r,0}<\cdots<X_{r,j}\) be its \(j+1\) labels. The rows are independent uniform order statistics before imposing the cross-row constraints. The original windows require \(X_{r,i+1}<X_{r+1,i}\) for \(r<m\) and \(0\le i<j\). On that event, window \(i\) contributes \(X_{1,i}^a(1-X_{m,i+1})^b\prod_{r<m}(X_{r+1,i}-X_{r,i+1})^{c_r}\) divided by \(a!b!\prod_{r<m}c_r!\). Integrating out each window's exclusive chains gives these powers and factorials. The expectation of the product over all windows, restricted to the cross-row event, gives the factorial-normalized count in the rate formula. For the upper bound, replace the shifted gaps by the larger same-column gaps and clip the logarithms at a positive gap floor. Independent empirical-measure entropy bounds give the clipped variational upper bound. Compactness and upper semicontinuity give attainment and allow the floor to decrease to zero. For the lower bound, mix each trial law with the same small fraction of \(U\), then push row \(r\) forward by \(T_r(x)=(1-\delta)x+r\delta/(m+1)\), with \(0<\delta<1\). This gives continuous quantiles with strictly positive row and endpoint separations. Samples from these laws satisfy the actual one-column comparisons with probability tending to one. Changing back to the uniform row law pays the relative entropy in \(\Phi\). Take \(j\) to infinity first, remove the uniform mixture at fixed \(\delta\), then let \(\delta\) decrease to zero. Under the weighted packing law, every closed set of empirical row laws disjoint from the maximizing set has exponentially small probability in the weak topology. When every \(c_r=0\), the rate is explicit. \[R(a,0,\ldots,0,b)=\frac{B(1+a/m,1+b/m)^m}{a!b!},\qquad B(u,v)=\int_0^1 x^{u-1}(1-x)^{v-1}\,dx. \] The unique maximizing tuple has every row distributed as \(\operatorname{Beta}(1+a/m,1+b/m)\). At fixed \(a+b=L\) and \(m\ge2\), reflected outer splits \((a,b)\) and \((b,a)\) have equal rates, and the rate strictly increases as \(|a-b|\) decreases. This follows from strict concavity of \(\log[\Gamma(1+t/m)^m/\Gamma(1+t)]\) for \(t\ge0\). The overlap-two branch below already gives this comparison for \(m=2\). The general allocation result extends the strict comparison to \(m\ge3\). The rate-maximizing integer splits are exactly those with \(|a-b|\le1\). For every fixed \(m\ge2\) and \(K\ge2m+2\), their actual counts therefore eventually exceed the conjectured upper-only allocation \((a,b)=(0,L)\). This comparison optimizes within the family with no interior free ranks. For \(m=1\) the rate is \(1/(L+1)!\) for every split, and the unweighted case \(L=0\) has rate \(1\). These laws describe the integer ranks in actual packings. For the outer-only case, choose a prescribed packing uniformly, let \(R_{r,i}\) be the integer rank at row \(r\) and column \(i\) of the interleaved core, and let \(G\) be the quantile of \(\operatorname{Beta}(1+a/m,1+b/m)\). For every fixed \(\varepsilon>0\) there are constants \(C_\varepsilon,c_\varepsilon>0\) (for the fixed profile) such that \[\Pr\!\left(\max_{\substack{1\le r\le m\\0\le i\le j}} \left|\frac{R_{r,i}}{dj+m}-G\!\left(\frac{i+1}{j+2}\right)\right|>\varepsilon\right) \le C_\varepsilon e^{-c_\varepsilon j}. \] For a general fixed adjacent interleaved profile, the empirical permutation measure puts mass \(1/(dj+m)\) at each pair of normalised host position and integer rank. Its limiting candidates are laws on \((t,y)\in[0,1]^2\) with \(t\) uniform and the conditional law of \(y\) given by \[\frac1d\sum_{r=1}^m\delta_{Q_r(t)} +\frac a d\,\operatorname{Unif}[0,Q_1(t)] +\frac b d\,\operatorname{Unif}[Q_m(t),1] +\sum_{r=1}^{m-1}\frac{c_r}{d}\, \operatorname{Unif}[Q_r(t),Q_{r+1}(t)]. \] Here the quantiles come from a tuple maximising \(\Phi\), \(\delta_x\) denotes a point mass, and a uniform law on a collapsed interval is a point mass. The weights sum to one since \(d=m+a+b+\sum_r c_r\). For every fixed tolerance, the probability of lying outside that neighbourhood of the compact set of maximising images in bounded-Lipschitz distance decays exponentially in \(j\). Each of those images has uniform vertical marginal. A unique maximising tuple gives a single limit in probability. This applies to the outer-only case and also when every \(c_r>0\) and \(a+b>0\). Part I gives the shifted-grid structure for extreme endpoint ranks and a general finite recurrence. Part II covers the single-overlap rate and selected grids, including the one-interior-rank pattern \(14325\), whose rate in the normalization above is \(2/9\). Public shifted-strip asymptotics cover the unweighted case for arbitrary fixed row count. Chang et al. cover the single-sided overlap-two rate through an equivalent tableau count. The result here gives one variational rate for simultaneous arbitrary interior and exterior weights and the balanced-versus-single-sided comparison for every fixed \(m\ge2\). Part I, Theorem 5.33 · Part I, Theorem 4.7 · Part II, Proposition 3.1 · Part II, Theorem 9.2 · Shifted-strip Theorem 6.3 · Chang et al., Theorem 1.8 Which patterns can maximize at sparse overlap? The sparse all-pattern question asks for the first two logarithmic orders of the maximum over all compatible patterns at fixed \(1\le m<K/2\), whether every asymptotically competitive pattern has same-direction, pair-adjacent interleaved boundary ranks, and which gap allocations maximize when they can be determined. Put \(L=K-2m\) and let \(R_*\) be the maximum of \(R\) over the \(\binom{L+m}{m}\) nonnegative integer gap allocations. Then \[\log\max_{\pi\in S_K}N_\pi^m(j)=Lj\log j+j\bigl[d\log d-L+\log R_*\bigr]+o(j). \] For all sufficiently large \(j\) at fixed \(K,m\), every exact maximizer has the adjacent interleaved structure above, up to count-preserving reversals and reindexing. A common permutation of the positions in every shared block preserves counts, so the actual order within the prefix and suffix need only agree. The patterns whose log counts are within \(o(j)\) of the maximum are precisely the surviving profiles with rate \(R_*\). For \(m\ge2\) the eventual exact maximizers are fully determined when \(L=1\) or \(2\). With \(L=1\), the single free rank goes in either exterior gap. With \(L=2\), one free rank goes in each exterior gap. All patterns in the stated equality classes have equal counts. For \(m\ge2\
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.24799352
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint