A two-color composition bijection preserving pyramid weight
Bělohoubek and Slavík asked for a bijective proof of an equality they had already counted. For integers \(j\ge 0\) and \(0\le k\le j\), the two sets are the ordered compositions of \(j\) into \(k\) positive parts, with two colours for 1 and one for each larger part, and the nondecreasing Dyck paths of semilength \(j+1\) and pyramid weight \(k+1\). The bijection answers the question for every such \(j,k\). It uses one colour of 1 to record pyramid weight and each remaining part to record a rise in valley height, including a rise of zero. Bělohoubek and Slavík, §6, Problem 9, author PDF p. 10 · Journal article, §6, Problem 9 A Dyck path starts and ends at height zero, stays at nonnegative height, and takes unit up-steps \(U\) and down-steps \(D\). Its semilength is its number of up-steps. The path is nondecreasing when its internal valley heights are weakly increasing. Each peak contributes the smaller of the lengths of its up-run and down-run to the pyramid weight. In the parametrisation of Czabarka, Flórez and Junes, a path with \(s\ge1\) peaks has positive integer peak contributions \(q_1,\ldots,q_s\) and nonnegative integer lifts \(m_1,\ldots,m_{s-1}\). Lift \(m_i\) is the height gained from the preceding valley to the valley after peak \(i\), using the starting point as the preceding valley for \(i=1\). The path is \[\left(\prod_{i=1}^{s-1} U^{m_i+q_i}D^{q_i}\right) U^{q_s}D^{q_s+\sum_{i=1}^{s-1}m_i}. \] The product concatenates step sequences in increasing index order, and exponents count repeated steps. Empty products contribute no steps and empty sums are zero. The semilength is \(\sum_{i=1}^{s}q_i+\sum_{i=1}^{s-1}m_i\), and the pyramid weight is \(\sum_{i=1}^{s}q_i\). Czabarka, Flórez and Junes, §3, pp. 7–9 and Fig. 3 The new conversion writes \(q_i-1\) blue ones for each peak \(i\), followed for \(i<s\) by a separator of value \(m_i+1\). The separator is a red one when \(m_i=0\). To invert the conversion, split the composition at every part other than a blue one, retaining empty strings of blue ones. Each string gives a peak contribution equal to its length plus one. Each separator gives the lift after the corresponding peak by subtracting one from its value. The final string gives the final peak contribution. The composition has \(\sum_{i=1}^{s}q_i-1\) parts, and its sum exceeds that count by \(\sum_{i=1}^{s-1}m_i\). Thus the count is the pyramid weight minus one, and the sum is the semilength minus one. The number of peaks is one plus the number of separators. The empty composition corresponds to \(UD\). For example, \((1_{\mathrm{blue}},3,1_{\mathrm{blue}},1_{\mathrm{red}},1_{\mathrm{blue}},1_{\mathrm{blue}})\) gives peak contributions \((2,2,3)\) and lifts \((2,0)\). Its six parts sum to eight, and the corresponding path \(U^4D^2U^2D^2U^3D^5\) has pyramid weight seven and semilength nine.
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.24766527
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint