Descent sets of cyclic permutations in types B and D Kevin Liu Abstract . Elizalde constructed a bijection ϕ \phi from the cyclic permutations π ∈ S n + 1 \pi\in S_{n+1} to the symmetric group S n S_{n} satisfying Des ⁡ ( π ) ∩ { 1 , 2 , … , n − 1 } = Des ⁡ ( ϕ ⁡ ( π ) ) \Des(\pi)\cap\{1,2,\ldots,n-1\}=\Des(\phi(\pi)) . We give a corresponding result on the signed symmetric group B n B_{n} by constructing a function Φ \Phi from the cyclic signed permutations π ∈ B n + 1 \pi\in B_{n+1} to B n B_{n} satisfying Des ⁡ ( π ) ∩ { 0 , 1 , … , n − 1 } = Des ⁡ ( Φ ⁡ ( π ) ) \Des(\pi)\cap\{0,1,\ldots,n-1\}=\Des(\Phi(\pi)) . Moreover, letting D n + 1 ⊆ B n + 1 D_{n+1}\subseteq B_{n+1} be the subgroup consisting of signed permutations with an even number of sign changes, we show that the restriction of Φ \Phi to the cyclic signed permutations in D n + 1 D_{n+1} or its complement is a bijection. Our function Φ \Phi reduces to Elizalde’s original bijection ϕ \phi under the natural identification of the symmetric groups as subgroups of the signed symmetric groups. One application of our results is asymptotic normality of the descent and flag major index statistics on the cyclic signed permutations in B n B_{n} and D n D_{n} . 1991 Mathematics Subject Classification 05A05, 05E16, 60C05 1. Introduction For a permutation \pi\in S_{n} , a descent is any index i\in\{1,2,\ldots,n-1\} satisfying \pi(i)>\pi(i+1) , and the descent statistic counts the number of descents in a permutation. These are widely studied properties of permutations and appear in numerous contexts. Examples include card shuffling [ BD92 ] , carries when adding numbers [ DF09 , Hol97 ] , and flag varieties [ Ful99 ] . See also [ Pet15 ] for an extensive treatment of the descent statistic. Properties of descents have also been studied on permutations with a fixed cycle type, and the cyclic permutations are a special case. These are the permutations in S_{n} whose cycle notation consists of a single cycle of length n , and we denote the set of cyclic permutations in S_{n} using \C_{S,n} . For cyclic permutations, Elizalde established the following result. Theorem 1.1 . [ Eli11 , Theorem 1] For every positive integer n , there is a bijection \phi:\C_{S,n+1}\to S_{n} satisfying \Des(\pi)\cap\{1,2,\ldots,n-1\}=\Des(\phi(\pi)) for every \pi\in\C_{S,n+1} . Elizalde’s proof involves an explicit construction of \phi . This begins with a Foata-type bijection to map a cyclic permutation \pi\in\C_{S,n+1} to a permutation in S_{n} in cycle notation, followed by a methodical procedure that swaps specific entries in the cycle notation. These swaps correct discrepancies in the descent sets so that the resulting permutation satisfies \Des(\pi)\cap\{1,2,\ldots,n-1\}=\Des(\phi(\pi)) . Miraculously, the resulting function \phi is a bijection, which Elizalde showed by constructing its inverse. Main Results The symmetric groups are the type A Coxeter groups, and our work concerns the types B and D Coxeter groups. The signed symmetric group B_{n} consists of permutations on \{\pm 1,\pm 2,\ldots,\pm n\} that satisfy \pi(-i)=-\pi(i) for all i\in\{1,2,\ldots,n\} . The permutations where \{\pi(1),\pi(2),\ldots,\pi(n)\} consists of an even number of negatives form a subgroup, D_{n} . Signed permutations have a notion of descents that is largely analogous with the one on S_{n} , except that a descent at position 0 is possible and occurs when \pi(1)<0 . This convention is related to its structure as a Coxeter group. See [ BB05 ] for details. As in S_{n} , elements in B_{n} can be expressed in cycle notation, which consists of cycles of the form \begin{pmatrix}a_{\ell}&a_{1}&\ldots&a_{\ell-1}\\ \epsilon_{1}a_{1}&\epsilon_{2}a_{2}&\ldots&\epsilon_{\ell}a_{\ell}\end{pmatrix}, where a_{1},a_{2},\ldots,a_{\ell}\in[n] and \epsilon_{1},\epsilon_{2},\ldots,\epsilon_{\ell}\in\{-1,1\} . The cyclic signed permutations are the elements \pi\in B_{n} whose cycle notation consists of a single cycle of length n . We will use \C_{B,n} to denote the cyclic signed permutations in B_{n} , and we partition \C_{B,n} into \C_{D,n} and \overline{\C_{D,n}} based on whether a cyclic signed permutation is in D_{n} or its complement. Our main result is the following analog of Theorem 1.1 for cyclic signed permutations. Theorem 1.2 . For every positive integer n , there exists a function \Phi:\C_{B,n+1}\to B_{n} with the following properties: (a) for all \pi\in\C_{B,n+1} , we have \Des(\pi)\cap\{0,1,\ldots,n-1\}=\Des(\Phi(\pi)) , and (b) the restriction of \Phi to \C_{D,n+1} or \overline{\C_{D,n+1}} is a bijection. Corollary 1.3 . For any positive integer n and I\subseteq\{0,1,\ldots,n-1\} , the following are equal: (a) the number of \pi\in B_{n} with \Des(\pi)=I , (b) the number of \pi\in\C_{D,n+1} with \Des(\pi)\cap\{0,1,\ldots,n-1\}=I , and (c) the number of \pi\in\overline{\C_{D,n+1}} with \Des(\pi)\cap\{0,1,\ldots,n-1\}=I . Our general approach is similar in spirit to Elizalde’s original bijection. However, numerous changes are needed to account for the negatives that appear in the cycle notation, and we construct separate inverses for the sets \C_{D,n+1} and \overline{\C_{D,n+1}} . An implementation of the functions in this paper using Python is available at \text{\url{https://github.com/kliu-math/desBn.git}}. This implementation includes verifying Theorem 1.2 for \Phi:\C_{B,n+1}\to B_{n} when n\leq 9 and on randomly generated signed cyclic permutations for larger values of n . In the case where \pi\in\C_{B,n+1} does not have any negatives in its cycle notation, we can view \pi as a permutation in S_{n+1} . In this case, our function \Phi reduces to Elizalde’s original bijection \phi , so Theorem 1.2 implies Theorem 1.1 . Some of our intermediate results for establishing Theorem 1.2 reduce to ones established by Elizalde for proving Theorem 1.1 , while others are specific to signed permutations. As one application of our result, we analyze the asymptotic distributions of the descent and flag major index statistics on \C_{B,n}, \C_{D,n} , and \overline{\C_{D,n}} . Our approach is to use Theorems 1.2 and 1.3 to approximate the distributions of these statistics on \C_{B,n}, \C_{D,n} , and \overline{\C_{D,n}} with the corresponding distributions on B_{n-1} , which are known to be asymptotically normal [ CM12 ] . This approximation introduces some error due to the potential descent at position n , and we show that this error disappears in the asymptotic distribution to establish the following result. Theorem 1.4 . Let (X_{n})_{n\geq 1} be the random variables corresponding to either the descent or flag major index statistic on (\C_{B,n})_{n\geq 1} , (\C_{D,n})_{n\geq 1} , or (\overline{\C_{D,n}})_{n\geq 1} with means (\mu_{n})_{n\geq 1} and variances (\sigma_{n}^{2})_{n\geq 1} . The standardized random variable (X_{n}-\mu_{n})/\sigma_{n} converges in distribution to the standard normal distribution. Related Work Elizalde’s bijection in Theorem 1.1 also preserves the set of weak excedances. Theorem 1.1 also inspired subsequent work by Baril [ Bar13 ] , who constructed another bijection from \C_{S,n+1} to S_{n} . Baril’s bijection preserves weak excedances, translates quasi-fixed points into fixed points, and preserves left-to-right maxima. Aside from our Theorem 1.2 , we are not aware of any other bijections from \C_{D,n+1} or \overline{\C_{D,n+1}} to B_{n} with similar statistic-preserving properties. There is extensive literature on descents and general cycle type in S_{n} and B_{n} . For S_{n} , the distribution of the descent statistic by cycle type was derived by Diaconis, McGrath, and Pitman [ DMP95 ] and also by Fulman [ Ful98 ] . The asymptotic normality of the descent statistic by cycle type was established by Kim and Lee [ KL20 ] . In B_{n} , the distribution of the descent statistic by cycle type is given in [ CLL+25 , Proposition 5.7] , which built on prior work of Reiner [ Rei93 ] involving a different definition of descents in B_{n} . Another closely related problem is to count the number of permutations or signed permutations with a fixed descent set and cycle type. This was studied in S_{n} by Gessel and Reutenauer [ GR93 ] and more recently by Elizalde and Troyka [ ET19 ] . In B_{n} , this was studied by Poirier [ Poi98 ] , who also derived some general results involving the colored permutation groups S_{n,r}=\mathbb{Z}_{r}\wr S_{n} . These contain S_{n}\cong S_{n,1} and B_{n}\cong S_{n,2} as special cases. Our Theorem 1.4 for the descent statistic is closely related to [ CLL+25 , Theorem 1.3] , which gives asymptotic normality for the descent statistic on any sequence of cycle types in B_{n} where the limiting number of cycles of any fixed length approaches 0 as n\to\infty . This contains (\C_{D,n})_{n\geq 1} and (\overline{\C_{D,n}})_{n\geq 1} as special cases, and one can then derive the corresponding result for (\C_{B,n})_{n\geq 1} . While Theorem 1.4 for the descent statistic appears to be a special case of [ CLL+25 , Theorem 1.3] , the Method of Moments [ Bil08 , Section 30] and [ CLL+25 , Theorem 1.1] show that these two results for the descent statistic are actually equivalent. The same reasoning shows that Theorem 1.4 for the flag major index also translates to any sequence of cycle types where the limiting number of cycles of any fixed length approaches 0 as n\to\infty . Finally, an analog of [ CLL+25 , Theorem 1.3] for the descent and flag major index statistics on the colored permutation groups S_{n,r}=\mathbb{Z}_{r}\wr S_{n} is given in [ LY25 , Theorem 1.1] . However, the descent and flag major index statistics in B_{n} do not align with the corresponding statistics on S_{n,2} , so these two results are not directly related. However, one can generalize Theorem 1.1 to colored permutation groups and establish an analog of Theorem 1.4 in this setting, and we will outline this in an Appendix. By the Method of Moments [ Bil08 , Section 30] and [ CLL+25 , Theorem 1.1] , this analog of Theorem 1.4 is equivalent to [ LY25 , Theorem 1.1] . Outline of Paper We begin in Section 2 with background on signed permutations. In Section 3 , we will construct our function \Phi:\C_{B,n+1}\to B_{n} and show that it preserves descents in \{0,1,\ldots,n-1\} . We then construct its inverses on \C_{D,n+1} and \overline{\C_{D,n+1}} in Section 4 to establish Theorem 1.2 and Corollary 1.3 . We apply these results in Section 5 to prove Theorem 1.4 . We show that \Phi reduces to Elizalde’s original bijection in Appendix A , and we also discuss analogs of our results for colored permutation groups in Appendix B . 2. Background and definitions We begin with preliminary information on signed permutations, including cycle notation and the relevant signed permutation statistics. We refer the reader to [ BB05 ] for a general treatment of Coxeter groups, as well as [ AR01 ] , [ Bre94 ] , and [ Rei93 ] for additional background specific to signed permutations. 2.1. Signed Permutations For any positive integer n , we will use the notation [n]=\{1,2,\ldots,n\} and [\pm n]=\{\pm 1,\pm 2,\ldots,\pm n\} . A signed permutation is a bijection \sigma:[\pm n]\to[\pm n] satisfying \sigma(-i)=-\sigma(i) for all i\in[n] . The property \sigma(-i)=-\sigma(i) shows that \sigma is uniquely determined by the images of elements in [n] . The one-line notation of \sigma is given by writing these elements in the form [\sigma(1),\sigma(2),\ldots,\sigma(n)] . Example 2.1 . Consider the signed permutation \sigma on [\pm 6] defined by \sigma(1)=-3 , \sigma(2)=1 , \sigma(3)=2 , \sigma(4)=-5 , \sigma(5)=-4 , and \sigma(6)=6 . Its one-line notation is \sigma=[-3,1,2,-5,-4,6]. From the property \sigma(-i)=-\sigma(i) for i\in[n] , we find that \sigma(-1)=3 , \sigma(-2)=-1 , \sigma(-3)=-2 , \sigma(-4)=5 , \sigma(-5)=4 , and \sigma(-6)=-6 . The type B Coxeter group B_{n} , also called the signed symmetric group , consists of signed permutations on [\pm n] with group operation given by function composition. For brevity, we will abuse terminology and refer to this group operation as multiplication, and we will indicate it by writing elements of B_{n} adjacent to one another. As this operation is function composition, it is performed from right to left, so \pi\sigma=[\pi\circ\sigma(1),\pi\circ\sigma(2),\ldots,\pi\circ\sigma(n)] for all \sigma,\pi\in B_{n} . The type D Coxeter group D_{n} is the subgroup of B_{n} consisting of the signed permutations whose one-line notation contains an even number of negatives. Example 2.2 . Let \pi=[1,-3,-2,5,6,4]\in B_{6} . Letting \sigma\in B_{6} be the permutation from Example 2.1 , we have that \pi\sigma=[2,1,-3,-6,-5,4]. Observe that \pi\in D_{6} , while \sigma,\pi\sigma\notin D_{6} . Like in the symmetric group S_{n} , elements in B_{n} can be expressed in cycle notation. The two-line cycle notation of \sigma\in B_{n} expresses the signed permutation as a product of disjoint cycles of the form \begin{pmatrix}a_{\ell}&a_{1}&\ldots&a_{\ell-1}\\ \epsilon_{1}a_{1}&\epsilon_{2}a_{2}&\ldots&\epsilon_{\ell}a_{\ell}\end{pmatrix}, where a_{1},a_{2},\ldots,a_{\ell}\in[n] and \epsilon_{1},\epsilon_{2},\ldots,\epsilon_{\ell}\in\{-1,1\} are chosen according to \sigma(a_{i})=\epsilon_{i+1}a_{i+1} for all i\in[\ell] , with the convention that \epsilon_{\ell+1}a_{\ell+1}=\epsilon_{1}a_{1} . The (one-line) cycle notation is obtained by deleting the first line, resulting in (\epsilon_{1}a_{1},\epsilon_{2}a_{2},\ldots,\epsilon_{\ell}a_{\ell}). We include commas between elements in the cycle notation for clarity. For brevity, we will occasionally omit cycles of the form (i) for i\in[n] , similar to the convention in S_{n} . Example 2.3 . The permutation \sigma from Example 2.1 can be expressed as \begin{pmatrix}1&3&2\\ -3&2&1\end{pmatrix}\begin{pmatrix}4&5\\ -5&-4\end{pmatrix}\begin{pmatrix}6\\ -6\end{pmatrix}=(-3,2,1)(-5,-4)(6). Observe that the set of elements that appear in the cycle notation and one-line notation coincide, and we will use this fact freely throughout our work. Given a cycle notation \sigma_{1}\sigma_{2}\dots\sigma_{m} for \sigma\in B_{n} , we abuse notation and use i\in\sigma_{j} to indicate that i appears in the cycle \sigma_{j} . We will also abuse terminology and refer to \sigma(|i|) (resp. \pm\sigma^{-1}(i) ) as the element following (resp. preceding) \sigma in the cycle notation. As with permutations in S_{n} , the cycle notation of a signed permutation in B_{n} is not unique. For our work, we will often use a specific convention based on one in S_{n} . The cycle notation \sigma=\sigma_{1}\sigma_{2}\dots\sigma_{m} for \sigma\in B_{n} is canonical if • the largest element in each \sigma_{i} is in the first position, and • the first elements in \sigma_{1},\sigma_{2},\ldots,\sigma_{m} are in increasing order when read from left to right. Example 2.4 . Consider \sigma=(-3,2,1)(-5,-4)(6) from Example 2.3 . Rewriting each cycle so that the largest element is first, we obtain \sigma=(2,1,-3)(-4,-5)(6) . Rearranging cycles so that first elements are in increasing order, we obtain the canonical cycle notation \sigma=(-4,-5)(2,1,-3)(6) . Now suppose \sigma\in B_{n} has been expressed in cycle notation \sigma_{1}\sigma_{2}\dots\sigma_{m} . The length of a cycle \sigma_{i} is the number of elements in it. A signed permutation \sigma\in B_{n} is cyclic if its cycle notation consists of a single cycle of length n . We will use \C_{B,n}\subseteq B_{n} to denote the set of cyclic signed permutations in B_{n} . Furthermore, we define two subsets \C_{D,n}=\C_{B,n}\cap D_{n} and \overline{\C_{D,n}}=\C_{B,n}\setminus D_{n} based on whether or not elements are in D_{n} . 2.2. Statistics We next describe the signed permutation statistics and probability theory that will be relevant for our work. Throughout, we will assume some general familiarity with random variables. We will use P(\,\cdot\,) for the probability measure associated to a random variable. A signed permutation statistic is any function from B_{n} to \mathbb{R} , and by equipping B_{n} with the uniform measure, we will consider a statistic as a random variable. For the statistics in this paper, we first define the descent set of \sigma\in B_{n} by \Des(\sigma)=\{i:0\leq i\leq n-1\text{ and }\sigma(i)>\sigma(i+1)\}, where 0 is a fixed point by convention. Alternatively, 0\in\Des(\sigma) whenever \sigma(1)<0 . Additionally, the negative set of \sigma\in B_{n} is \Negative(\sigma)=\{i:1\leq i\leq n\text{ and }\sigma(i)<0\}. Using these, we define the following statistics: • the descent statistic is \des(\sigma)=|\Des(\sigma)| , • the major index statistic is \maj(\sigma)=\sum_{i\in\Des(\sigma)}\,i , • the negative statistic is \negative(\sigma)=|\Negative(\sigma)| , and • the flag major index statistic is \fmaj(\sigma)=2\cdot\maj(\sigma)+\negative(\sigma) . Note that the descent and flag major index statistics on B_{n} are analogs of the descent and major index statistics in S_{n} . Similar to how the major index statistic is equidistributed with the length (or inversion) statistic in S_{n} , the flag major index statistic is equidistributed with the length statistic in B_{n} [ AR01 ] . Example 2.5 . For the permutation \sigma=[-3,1,2,-5,-4,6] from Example 2.1 , we have that \Des(\sigma)=\{0,3\} and \Negative(\sigma)=\{1,3,4\} . Using these, we calculate \des(\sigma)=2 , \maj(\sigma)=3 , \negative(\sigma)=3, and \fmaj(\sigma)=9 . We now recall the definitions for two types of convergence for random variables. We also state a tool involving these two types of convergence. Definition 2.6 . Let (X_{n})_{n\geq 1} be a sequence of real-valued random variables, and let X be a real-valued random variable. Define F_{n}(x)=P(X_{n}\leq x) and F(x)=P(X\leq x) to be their respective cumulative distribution functions. (a) X_{n} converges in distribution to X , denoted X_{n}\xrightarrow{d}X , if F_{n}(x)\to F(x) for all x that are continuity points of F . (b) X_{n} converges in probability to X , denoted X_{n}\xrightarrow{p}X , if for all \epsilon>0 , we have that (2.1) \lim_{n\to\infty}P(|X_{n}-X|>\epsilon)=0. It is well known that convergence in probability implies convergence in distribution. Theorem 2.7 (Slutsky’s Theorem) . Let (X_{n})_{n\geq 1} and (Y_{n})_{n\geq 1} be sequences of random variables such that X_{n}\xrightarrow{d}X and Y_{n}\xrightarrow{p}c , where c\in\mathbb{R} is a constant. Then X_{n}+Y_{n}\xrightarrow{d}X+c and X_{n}Y_{n}\xrightarrow{d}X\cdot c . The means, variances, and asymptotic distributions for the descent and flag major index statistics on B_{n} are known. Throughout, we use \mathcal{N}(0,1) to denote the standard normal distribution. Theorem 2.8 . [ CM12 , Theorems 3.1 and 3.4] Let X_{n} be the random variable corresponding to the descent statistic on elements of B_{n} . Then X_{n} has mean \mu_{n}=n/2 and variance \sigma_{n}^{2}=(n+1)/12 . Furthermore, as n\to\infty , the standardized random variable (X_{n}-\mu_{n})/\sigma_{n} converges in distribution to \mathcal{N}(0,1) . Theorem 2.9 . [ CM12 , Theorems 4.1 and 4.3] Let X_{n} be the random variable corresponding to the flag major index statistic on elements of B_{n} . Then X_{n} has mean \mu_{n}=n^{2}/4 and variance \sigma_{n}^{2}=(4n^{3}+6n^{2}-n)/36 . Furthermore, as n\to\infty , the standardized random variable (X_{n}-\mu_{n})/\sigma_{n} converges in distribution to \mathcal{N}(0,1) . Remark 2.10 . The original statements of Theorems 2.8 and 2.9 given in [ CM12 ] involve the more general setting of colored permutation groups. These are wreath products of the form S_{n,r}=\mathbb{Z}_{r}\wr S_{n} , where \mathbb{Z}_{r} is the cyclic group of order r . They contain B_{n}\cong S_{n,2} as a special case. See Appendix B for further details. While the descent statistic on S_{n,2} does not align with our descent statistic on B_{n} under the usual isomorphism between these groups, results of Steingrímsson [ Ste94 ] and Brenti [ Bre94 ] show that the distributions of these statistics are the same on S_{n,2}\cong B_{n} . One can also show that the distributions of the two different flag major index statistics align, e.g., see [ LY25 , Remark 4.8] . Hence, the current statements in Theorems 2.8 and 2.9 involving these statistics on B_{n} is appropriate. Our work will also consider the descent and flag major index statistics as random variables on \C_{B,n} , \C_{D,n} , or \overline{\C_{D,n}} by equipping these sets with the uniform measure. For the descent statistic, the following lemma follows from [ CLL+25 , Theorem 1.1 and Example 3.5] with standard tools in probability theory. Lemma 2.11 . Let X_{n} be the random variable corresponding to the descent statistic on \C_{B,n},\C_{D,n} , or \overline{\C_{D,n}} , and let Y_{n} be the corresponding random variable on B_{n} . If n\geq 5 , then the mean and variance of X_{n} are the same as the mean and variance of Y_{n} , respectively. One can also apply the methods in [ CLL+25 ] to the flag major index. It straightforward to show an analog of Lemma 2.11 for this statistic. Lemma 2.12 . Let X_{n} be the random variable corresponding to the flag major index statistic on \C_{B,n},\C_{D,n} , or \overline{\C_{D,n}} , and let Y_{n} be the corresponding random variable on B_{n} . If n\geq 5 , then the mean and variance of X_{n} are the same as the mean and variance of Y_{n} , respectively. 3. Mapping cyclic signed permutations to signed permutations In this section, we will define our function \Phi:\C_{B,n+1}\to B_{n} and show that it satisfies \Des(\pi)\cap\{0,1,2,\ldots,n-1\}=\Des(\Phi(\pi)) for all \pi\in\C_{B,n+1} . Throughout, we will use \C_{B,n+1}^{+} (resp. \C_{B,n+1}^{-} ) for the subset of \C_{B,n+1} consisting of permutations where n+1 (resp. -(n+1) ) appears in the cycle or one-line notation. Our approach begins with an adaptation of Elizalde’s algorithm in [ Eli11 ] to elements in \C_{B,n+1}^{+} . After establishing several properties of the algorithm, we construct \Phi by applying variations of this algorithm to elements in \C_{B,n+1} . 3.1. An algorithm on cyclic signed permutations Throughout, fix a positive integer n . We first construct an algorithm that starts with \pi\in\C_{B,n+1}^{+} and outputs a permutation \sigma\in B_{n} . We will need the following definitions. Definition 3.1 . Let \pi\in\C_{B,n+1} and \sigma\in B_{n} . For brevity, we will use the notation \Des_{\Delta}(\pi,\sigma)=\Des(\pi)\Delta\Des(\sigma), where \Delta denotes the symmetric difference of two sets. Using this, define for any nonnegative integers x and y the Boolean function P_{\pi,\sigma}(x,y)=\begin{cases}\texttt{True}&\text{if $|x-y|=1$ and $\min\{x,y\}\in\Des_{\Delta}(\pi,\sigma)\cap[n-1]$}\\ \texttt{False}&\text{otherwise.}\end{cases} Definition 3.2 . In a cycle notation for \pi\in\C_{B,n+1} , an element x\in[\pm n] is a left-to-right maximum if it is larger than every element that appears to its left. Additionally, we use \sgn:\mathbb{Z}\to\{-1,0,1\} to denote the sign function \sgn(x)=\begin{cases}1&\text{ if $x>0$}\\ 0&\text{ if $x=0$}\\ -1&\text{ if $x<0$.}\end{cases} Combining these definitions, we now define an algorithm and function \phi:\C_{B,n+1}^{+}\to B_{n} . For cyclic permutations in S_{n+1} under its natural identification as a subgroup of B_{n+1} , the definition of \phi coincides with Elizalde’s original bijection from Theorem 1.1 . This reduction is not immediate, so we postpone a detailed description until Appendix A . Definition 3.3 . Define \phi:\C_{B,n+1}^{+}\to B_{n} to be the function mapping each \pi\in\C_{B,n+1}^{+} to its output from Algorithm 1 . Input: \pi\in\C_{B,n+1}^{+} Output: a permutation in B_{n} express \pi in the cycle notation with n+1 in the final position \pi_{i_{1}},\pi_{i_{2}},\ldots,\pi_{i_{m+1}}\coloneqq the left-to-right maxima in the cycle notation above set \sigma=\sigma_{1}\sigma_{2}\dots\sigma_{m}\coloneqq(\pi_{i_{1}},\ldots,\pi_{i_{2}-1})(\pi_{i_{2}},\ldots,\pi_{i_{3}-1})\dots(\pi_{i_{m}},\ldots,\pi_{i_{m+1}-1}) for j=1,2,\ldots,m do 1 z\coloneqq the rightmost entry of \sigma_{j} if P_{\pi,\sigma}(|z|,|z-1|) or P_{\pi,\sigma}(|z|,|z+1|) then 2 set \epsilon\in\{-1,1\} to be the value such that P_{\pi,\sigma}(|z|,|z+\epsilon|) is True and \pi(|z+\epsilon|) is largest while P_{\pi,\sigma}(|z|,|z+\epsilon|) do 3 x\coloneqq z y\coloneqq whichever of z+\epsilon or -(z+\epsilon) that appears in \sigma while P_{\pi,\sigma}(|x|,|y|) do 4 respectively replace x and y with \sgn(x)\cdot|y| and \sgn(y)\cdot|x| in the cycle notation of \sigma if the replacement did not involve the first element of \sigma_{j} then 5 x,y\coloneqq the elements respectively preceding the ones replaced z\coloneqq the rightmost entry of \sigma_{j} return \sigma Algorithm 1 Cyclic to Signed Permutation Throughout, we will refer to the step where x and y are replaced with \sgn(x)\cdot|y| and \sgn(y)\cdot|x| as a swap . Additionally, y is chosen based on which of z+\epsilon or -(z+\epsilon) appears in the cycle notation, but for brevity, we will abuse notation and refer to this element as \pm(z+\epsilon) . We now give examples to illustrate the algorithm. Example 3.4 . Consider the signed permutation \pi=(-4,-1,2,5,-3,-6,7)=[2,5,-6,-1,-3,7,-4]\in\C_{B,7}^{+}. Its descent set is \{2,4,6\} . After finding the left-to-right maxima of the cycle notation, Algorithm 1 begins with \sigma=(-4)(-1)(2)(5,-3,-6)=[-1,2,-6,-4,-3,5]. In the first iteration of the for loop in line 1 , we see that P_{\pi,\sigma}(4,5) is True and P_{\pi,\sigma}(4,3) is False . Then the algorithm chooses \epsilon=1 , and the first replacement in the while loop on line 1 results in \sigma=(-5)(-1)(2)(4,-3,-6)=[-1,2,-6,-3,-5,4]. Since P_{\pi,\sigma}(5,6) is False , the first iteration of the for loop ends here. In the second iteration of the for loop, we see that P_{\pi,\sigma}(1,2) is False and P_{\pi,\sigma}(1,0) is always False , so no swaps occur. In the third iteration, again no swaps occur, as P_{\pi,\sigma}(2,1) and P_{\pi,\sigma}(2,3) are both False . Consequently, \phi(\pi)=(-5)(-1)(2)(4,-3,-6)=[-1,2,-6,-3,-5,4]. Observe that \Des(\phi(\pi))=\{0,2,4\} , so its descents in [5] coincide with those of \pi . However, the descent 0\in\Des(\phi(\pi)) is introduced by the algorithm, and the descent 6\in\Des(\pi) cannot occur for \phi(\pi)\in B_{6} . Example 3.5 . For a larger example, consider \begin{split}\pi&=(1,-4,8,-6,11,2,-3,7,-5,10,12,9,13)\\ &=[-4,-3,7,8,10,11,-5,-6,13,12,2,9,1]\in\C_{B,13}^{+},\end{split} which has descent set \{0,6,7,9,10,12\} . The algorithm begins with \begin{split}\sigma&=(1,-4)(8,-6)(11,2,-3,7,-5,10)(12,9)\\ &=[-4,-3,7,1,10,8,-5,-6,12,11,2,9].\end{split} In the first iteration of the for loop, we see that P_{\pi,\sigma}(4,3) is True and P_{\pi,\sigma}(4,5) is False , so the algorithm performs swaps beginning with 4 and 3 to obtain \begin{split}\sigma&=(2,-3)(8,-6)(11,1,-4,7,-5,10)(12,9)\\ &=[-4,-3,2,7,10,8,-5,-6,12,11,1,9].\end{split} Since P_{\pi,\sigma}(3,2) is False , the first iteration of the for loop ends here. In the second iteration, P_{\pi,\sigma}(6,5) is True and P_{\pi,\sigma}(6,7) is False , so the algorithm performs swaps beginning with 6 and 5 to obtain \begin{split}\sigma&=(2,-3)(7,-5)(11,1,-4,8,-6,10)(12,9)\\ &=[-4,-3,2,8,7,10,-5,-6,12,11,1,9].\end{split} Since P_{\pi,\sigma}(5,4) is now True , the algorithm performs further swaps beginning with 5 and 4 to obtain \begin{split}\sigma&=(2,-3)(7,-4)(11,1,-5,8,-6,10)(12,9)\\ &=[-5,-3,2,7,8,10,-4,-6,12,11,1,9].\end{split} As P_{\pi,\sigma}(4,3) is False , the second iteration of the for loop end here. In the third iteration, both P_{\pi,\sigma}(10,11) and P_{\pi,\sigma}(10,9) are False . Hence, the algorithm does not perform any swaps, so \begin{split}\phi(\pi)&=(2,-3)(7,-4)(11,1,-5,8,-6,10)(12,9)\\ &=[-5,-3,2,7,8,10,-4,-6,12,11,1,9].\end{split} This has descent set \{0,6,7,9,10\} , and this matches \Des(\pi) at all elements except 12 , which is not a possible descent for \phi(\pi)\in B_{12} . With \phi defined, we now consider its various properties. We begin by describing properties of the signed permutation \sigma at the start of the algorithm. Lemma 3.6 . Consider the application of Algorithm 1 on \pi\in\C_{B,n+1}^{+} , let \sigma=\sigma_{1}\sigma_{2}\dots\sigma_{m}\coloneqq(\pi_{i_{1}},\ldots,\pi_{i_{2}-1})(\pi_{i_{2}},\ldots,\pi_{i_{3}-1})\ldots(\pi_{i_{m}},\ldots,\pi_{i_{m+1}-1}) be the signed permutation formed at the start of the algorithm in line 1 , and define L=\{|\pi_{i_{2}-1}|,|\pi_{i_{3}-1}|,\ldots,|\pi_{i_{m+1}-1}|\}. (a) We have that \pi_{i_{1}}<\pi_{i_{2}}<\dots<\pi_{i_{m}} . Furthermore, \pi_{i_{j}} is the largest element in \sigma_{1},\sigma_{2},\ldots,\sigma_{j} for each j\in[m] . (b) For any x\in[n]\setminus L , we have that \pi(x)=\sigma(x) , and for any x\in L , we have that \pi(x)>\sigma(x) . (c) If an element x\in[n-1] is in \Des_{\Delta}(\pi,\sigma) , then one of the following must be true: • x\in L , x+1\notin L , \pm(x+1) appears right of \pm x in \sigma , and \pi(x)>\pi(x+1)=\sigma(x+1)>\sigma(x), or • x\notin L , x+1\in L , \pm x appears right of \pm(x+1) in \sigma , and \pi(x+1)>\pi(x)=\sigma(x)>\sigma(x+1). In particular, \pm x and \pm(x+1) cannot be in the same cycle. Proof. For (a), the algorithm creates the individual cycles so that left-to-right maxima are the first elements in their respective cycles. From this, we conclude \pi_{i_{1}}<\pi_{i_{2}}<\dots<\pi_{i_{m}} . Additionally, \pi_{i_{j}} is the right-most left-to-right maximum in \sigma_{1},\sigma_{2},\ldots,\sigma_{j} , so it must be larger than all elements in those cycles. For (b), the construction of \sigma also implies that the element following any x\in[n]\setminus L in the cycle notations of \pi and \sigma coincide, so \pi(x)=\sigma(x) . For each x\in L , we find the cycle \sigma_{j} containing \pm x as the last element and use (a) to conclude \pi(x)=\pi_{i_{j+1}}>\pi_{i_{j}}=\sigma(x), so (b) follows. For (c), note that if both x,x+1\notin L , then (b) implies \pi(x)=\sigma(x) and \pi(x+1)=\sigma(x+1) , so x\notin\Des_{\Delta}(\pi,\sigma) . If both x,x+1\in L , then let \sigma_{j} and \sigma_{k} be the cycles containing \pm x and \pm(x+1) in the last entry, respectively. Using (a), the relative order of \pi(x)=\pi_{i_{j+1}} and \pi(x+1)=\pi_{i_{k+1}} matches that of \sigma(x)=\pi_{i_{j}} and \sigma(x+1)=\pi_{i_{k}} , so x\notin\Des_{\Delta}(\pi,\sigma) . Combined, we conclude x\in\Des_{\Delta}(\pi,\sigma) requires that exactly one of x or x+1 is in L . The two possibilities given in (c) now follow from (a), (b), and casework on which of x or x+1 is in L . ∎ Lemma 3.7 . Consider the application of Algorithm 1 on \pi\in\C_{B,n+1}^{+} , and let \sigma=\sigma_{1}\sigma_{2}\ldots\sigma_{m}\coloneqq(\pi_{i_{1}},\ldots,\pi_{i_{2}-1})(\pi_{i_{2}},\ldots,\pi_{i_{3}-1})\dots(\pi_{i_{m}},\ldots,\pi_{i_{m+1}-1}) be the signed permutation at the start of Algorithm 1 . Suppose x is the last element in some cycle of \sigma and \epsilon\in\{-1,1\} . If P_{\pi,\sigma}(|x|,|x+\epsilon|) is True and P_{\pi,\sigma}(|x|,|x-\epsilon|) is False , then \sigma(|x|)<\sigma(|x-\epsilon|)<\sigma(|x+\epsilon|) cannot occur. Proof. Suppose that x is the last element in \sigma_{j} . Since P_{\pi,\sigma}(|x|,|x+\epsilon|) is True , Lemma 3.6 (c) implies that (3.1) \pi_{i_{j+1}}=\pi(|x|)>\pi(|x+\epsilon|)=\sigma(|x+\epsilon|)>\sigma(|x|)=\pi_{i_{j}}. There are two cases for P_{\pi,\sigma}(|x|,|x-\epsilon|) being False . If \sigma(|x|)>\sigma(|x-\epsilon|) and \pi(|x|)>\pi(|x-\epsilon|) , then combined with ( 3.1 ), we conclude \sigma(|x+\epsilon|)>\sigma(|x|)>\sigma(|x-\epsilon|). Alternatively, suppose that \sigma(|x|)<\sigma(|x-\epsilon|) and \pi(|x|)<\pi(|x-\epsilon|) . If \pm(x-\epsilon) is not the last element of a cycle, then Lemma 3.6 (b) implies \sigma(|x-\epsilon|)=\pi(|x-\epsilon|) , so combined with ( 3.1 ), we conclude \sigma(|x-\epsilon|)=\pi(|x-\epsilon|)>\pi(|x|)>\sigma(|x+\epsilon|)>\sigma(|x|). If \pm(x-\epsilon) is the last element of a cycle, then Lemma 3.6 (a) with \pi(|x|)<\pi(|x-\epsilon|) implies \pm(x-\epsilon) appears to the right of \pm x . Combined with ( 3.1 ), we find \sigma(|x-\epsilon|)\geq\pi_{i_{j+1}}>\sigma(|x+\epsilon|)>\sigma(|x|). In all cases, \sigma(|x|)<\sigma(|x-\epsilon|)<\sigma(|x+\epsilon|) is not possible. ∎ 3.2. Swaps and descents throughout the for loop We next consider what occurs in Algorithm 1 throughout the for loop. We will show that for any \pi\in\C_{B,n+1}^{+} , the outputted permutation \phi(\pi) satisfies \Des(\pi)\cap[n-1]=\Des(\phi(\pi)) . We then consider possibilities for the descent at position 0 for \pi and \phi(\pi) . Throughout this section, we will fix some notation. Let \pi\in\C_{B,n+1}^{+} be a cyclic signed permutation inputted into Algorithm 1 , and let (3.2) \pi_{1}\pi_{2}\dots\pi_{m}=(\pi_{1,1},\ldots,\pi_{1,\ell_{1}})(\pi_{2,1},\ldots,\pi_{2,\ell_{2}})\dots(\pi_{m,1},\ldots,\pi_{m,\ell_{m}}) be the permutation in line 1 of the algorithm, which is formed by creating cycles using the left-to-right maxima of \pi . Our focus will be on any signed permutation at the start of an iteration of the for loop in line 1 or the while loop in line 1 , which we will denote using (3.3) \begin{split}\sigma&=\sigma_{1}\sigma_{2}\dots\sigma_{m}=(\sigma_{1,1},\ldots,\sigma_{1,\ell_{1}})(\sigma_{2,1},\ldots,\sigma_{2,\ell_{2}})\dots(\sigma_{m,1},\ldots,\sigma_{m,\ell_{m}}).\end{split} We will assume that the current iteration of the for loop is the j -th iteration, so any swaps that are being performed involve the elements in \sigma_{j} and another cycle. We will be primarily interested in the following properties of \sigma . Definition 3.8 . The order properties of {\sigma} are the following. (A) The relative order of elements within each cycle \sigma_{1},\ldots,\sigma_{m} matches the relative order within the respective cycle of \pi_{1},\ldots,\pi_{m} . In particular, the largest element in each cycle is the first one. (B) The first elements of the cycles satisfy \sigma_{1,1}<\sigma_{2,1}<\dots<\sigma_{m,1} . Additionally, for every i\in[m] , the first element \sigma_{i,1} is the largest element that appears in \sigma_{1},\sigma_{2},\ldots,\sigma_{i} . (C) Suppose x\in[\pm n] appears in the cycle notation of \sigma , and let k\geq j+1 . Then \pi(|x|)>\pi_{k,1} if and only if \sigma(|x|)\geq\sigma_{k,1} , where equality holds when x\in\sigma_{k} is the last element. Furthermore, any x satisfying these equivalent properties has not been involved in any swaps. (D) If d\in[n-1] is in symmetric difference \Des_{\Delta}(\pi,\sigma) , then exactly one of \pm d and \pm(d+1) is the last element in some {\sigma}_{j},\ldots,{\sigma}_{m} and the remaining element appears in the non-last position of some cycle to its right. Furthermore, letting x be the element that appears in a last position and \pm(x+\epsilon) with \epsilon\in\{-1,1\} be the other element, it must be that \pi(|x|)>\pi(|x+\epsilon|) and {\sigma}(|x|)<{\sigma}(|x+\epsilon|) . Our general approach to showing the above properties hold is to use strong induction. The next lemma is our base case. Lemma 3.9 . The order properties hold when \sigma is the initial permutation in line 1 of Algorithm 1 . Proof. The algorithm starts with \sigma=\sigma_{1}\sigma_{2}\dots\sigma_{m}=\pi_{1}\pi_{2}\dots\pi_{m} . Each of the claims in the order properties then follow immediately from this or from Lemma 3.6 . ∎ Showing the order properties hold for any \sigma will require a careful analysis of the swaps performed in the while loop in line 1 , which may include multiple iterations of the while loop in line 1 . We will first consider the case where no swaps are performed. Lemma 3.10 . Suppose the order properties hold for \sigma and no swaps are performed in this iteration of the for loop. Then the order properties hold for \sigma considered as the signed permutation at the start of iteration j+1 of the for loop. Proof. Order properties (A) and (B) are independent of the for loop iteration, so these are immediate. By starting with order property (C) for \sigma as the signed permutation in iteration j and specializing to k\geq j+2 , we conclude order property (C) for \sigma as the signed permutation in iteration j+1 . For order property (D) , let z\in\sigma_{j} be the last element. As the for loop does not perform any swaps, it must be that both P_{\pi,\sigma}(|z|,|z-1|) and P_{\pi,\sigma}(|z|,|z+1|) are False . Hence, z\in\sigma_{j} is not involved in any descent in \Des_{\Delta}(\pi,\sigma)\cap[n-1] , so \sigma_{j} can be omitted from order property (D) for \sigma as the signed permutation in iteration j . This results in order property (D) when \sigma is considered as the signed permutation in iteration j+1 . ∎ We now consider the case where swaps are performed. Denote the signed permutation resulting from the swaps in the while loop of line 1 as (3.4) \begin{split}\sigma^{\prime}&=\sigma_{1}^{\prime}\sigma_{2}^{\prime}\dots\sigma_{m}^{\prime}=(\sigma_{1,1}^{\prime},\ldots,\sigma_{1,\ell_{1}}^{\prime})(\sigma_{2,1}^{\prime},\ldots,\sigma_{2,\ell_{2}}^{\prime})\dots(\sigma_{m,1}^{\prime},\ldots,\sigma_{m,\ell_{m}}^{\prime}).\end{split} Our focus will be on the following properties involving the swaps that produce \sigma^{\prime} . Definition 3.11 . The swap properties of {\sigma} are the following statements about the swaps performed on \sigma by the while loop in line 1 . (I) All swaps occur between an element in the j -th cycle and an element in a cycle to its right. (II) The last elements in cycles \sigma_{j+1},\ldots,\sigma_{m} are not affected by swaps. Furthermore, if the first swap is between z\in\sigma_{j} and \pm(z+\epsilon) where \epsilon\in\{-1,1\} , then no element right of \pm(z+\epsilon) in the cycle notation of \sigma is affected by a swap. (III) If an element x in the cycle notation of \sigma satisfies \sigma(|x|)\geq\sigma_{j+1,1} , then x is not affected by swaps. (IV) Suppose the last element z\in\sigma_{j} is swapped with \pm(z+\epsilon) where \epsilon\in\{-1,1\} . Then the following statements hold for the cumulative effects of the swaps on \Des_{\Delta}(\pi,\sigma)\cap[n-1] . • The descent \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) is removed from the symmetric difference. • Suppose \min\{|z|,|z-\epsilon|\}\in[n-1] . If \min\{|z|,|z-\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) , then this is removed from the symmetric difference, and if \min\{|z|,|z-\epsilon|\}\notin\Des_{\Delta}(\pi,\sigma) , then this is not introduced. • Suppose \min\{|z+\epsilon|,|z+2\epsilon|\}\in[n-1] . If \min\{|z+\epsilon|,|z+2\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) , then this descent is removed. If \min\{|z+\epsilon|,|z+2\epsilon|\}\notin\Des_{\Delta}(\pi,\sigma) and \sigma(|z+2\epsilon|)>\sigma(|z+\epsilon|) , then this descent is not introduced to the symmetric difference. • Any value in [n-1] that is not \min\{|z+\epsilon|,|z+2\epsilon|\} cannot be introduced into the symmetric difference. Our goal is to show that the swap properties hold for \sigma , which will then allow us to show that the order properties hold for \sigma^{\prime} . We begin by describing when the while loop in line 1 continues or terminates. Lemma 3.12 . Suppose the order properties hold for \sigma . Then the while loop in line 1 continues until one of the following occurs: (a) the first element of \sigma_{j} is involved in a swap, (b) the swapped elements x and y do not have the same sign, or (c) the absolute values of the elements preceding x and y differ by more than 1 . Proof. Let z be the last element of \sigma_{j} , and let \pm(z+\epsilon) with \epsilon\in\{-1,1\} be the element that it is swapped with. A swap occurs due to P_{\pi,\sigma}(|x|,|y|) being True , where x=z and y=\pm(z+\epsilon) . If x is the first element of \sigma_{j} , then by the construction of the while loop, it will terminate after this swap. Otherwise, let \tilde{\sigma} be the permutation after x and y are swapped, and consider the elements x^{\prime} and y^{\prime} that precede the ones swapped. Order property (D) for \sigma implies that P_{\pi,\sigma}(|x^{\prime}|,|y^{\prime}|) is False . If x and y did not have the same sign, then the elements that follow x^{\prime} and y^{\prime} in the cycle notations of \sigma and \tilde{\sigma} have the same relative order, so P_{\pi,\tilde{\sigma}}(|x^{\prime}|,|y^{\prime}|) is also False . If |x^{\prime}| and |y^{\prime}| differ by more than 1 , then P_{\pi,\tilde{\sigma}}(|x^{\prime}|,|y^{\prime}|) is False from its definition. Hence, the while loop will terminate in both of these cases at \tilde{\sigma} . In the remaining cases, x and y must be consecutive elements in [\pm n] , and |x^{\prime}| and |y^{\prime}| must be consecutive elements in [n] . Swapping x and y in \sigma causes P_{\pi,\tilde{\sigma}}(|x^{\prime}|,|y^{\prime}|) to be True , and the while loop will continue. Iterating this argument, we see that the while loop will continue until one of the three stated situations occurs. ∎ We now give a sequence of lemmas that establish individual swap properties for \sigma and order properties for \sigma^{\prime} . As our approach is to use strong induction, we will typically assume that the order properties and/or swap properties hold for signed permutations at the start of previous iterations of the for loop in line 1 or the while loop in line 1 . We will refer to these signed permutations as ones prior to \sigma in Algorithm 1 . Note that these specifically exclude the intermediate permutations produced during the while loop in line 1 . Additionally, individual results typically do not need all of the order and swap properties, but the exact dependence is overly technical, so for simplicity, we will just assume the entirety of these properties. Lemma 3.13 . Suppose the order properties hold for \sigma . Then swap property (I) holds for \sigma , and order property (A) holds for \sigma^{\prime} . Proof. Order property (D) for \sigma implies that the first swap in the while loop is between z , the last element of \sigma_{j} , and \pm(z+\epsilon) with \epsilon\in\{-1,1\} , which must be a non-last element in some \sigma_{k} with k>j . Consequently, swaps throughout the while loop only occur between \sigma_{j} and \sigma_{k} , so swap property (I) holds for \sigma . Order property (A) for \sigma implies that the relative order of elements in each cycle of \sigma_{1},\sigma_{2},\ldots,\sigma_{m} matches the corresponding ones in \pi_{1},\pi_{2},\ldots,\pi_{m} . Swap property (I) for \sigma implies that swaps only occur between elements in different cycles. Each of these swaps increases or decreases a single entry in each cycle by 1 , so the relative order of elements within each cycle cannot change. We conclude order property (A) holds for \sigma^{\prime} . ∎ Lemma 3.14 . Suppose the order properties hold for \sigma . If \sigma_{j+1,1}=\sigma_{j,1}+1 , then swaps do not occur between \sigma_{j} and \sigma_{j+1} . Proof. Assume by contradiction that \sigma_{j+1,1}=\sigma_{j,1}+1 and a swap occurs between \sigma_{j} and \sigma_{j+1} . The first swap is between the last element z\in\sigma_{j} and \pm(z+\epsilon)\in\sigma_{j+1} due to \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) . Order property (D) for \sigma implies \pm(z+\epsilon) is not the last element of \sigma_{j+1} and \pi(|z|)>\pi(|z+\epsilon|) . Since \pm(z+\epsilon) is not the last element of \sigma_{j+1} , order property (B) for \sigma implies that \sigma(|z+\epsilon|)<\sigma_{j+1,1}=\sigma_{j,1}+1 . Since \pm(z+\epsilon)\notin\sigma_{j} , we have that \sigma(|z+\epsilon|)\neq\sigma_{j,1} , so combined with \sigma(|z+\epsilon|)<\sigma_{j+1,1}=\sigma_{j,1}+1 , we conclude \sigma(|z+\epsilon|)<\sigma_{j,1}=\sigma(|z|) . This aligns with the relative order of \pi(|z+\epsilon|) and \pi(|z|) , which contradicts \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) . ∎ Corollary 3.15 . Suppose the order properties hold for \sigma and the while loop performs swaps between elements in \sigma_{j} and \sigma_{k} with k>j . If a swap involving \sigma_{k,1} occurs, then \sigma_{k,1}>0 , and this swap must be with -\sigma_{k,1}+\epsilon\in\sigma_{j} for some \epsilon\in\{-1,1\} . Proof. If k>j+1 , then order property (B) for \sigma implies \sigma_{k,1}>\sigma_{j+1,1}\geq\sigma_{j,1}+1 . If k=j+1 , then Lemma 3.14 implies \sigma_{k,1}\neq\sigma_{j,1}+1 , so combined with order property (B) for \sigma , we similarly conclude that \sigma_{k,1}>\sigma_{j,1}+1 . Order property (A) for \sigma implies \sigma_{j,1} is the largest element in \sigma_{j} , so in both cases, we see that \sigma_{k,1}\pm 1\notin\sigma_{j} . As swaps can only involve pairs of elements whose absolute values differ by 1 , we conclude that a swap involving \sigma_{k,1}\in\sigma_{k} can only occur if this is swapped with -\sigma_{k,1}+\epsilon\in\sigma_{j} for some \epsilon\in\{-1,1\} . Order property (B) for \sigma implies that \sigma_{k,1} is larger than all elements in \sigma_{j} , so it must also be that \sigma_{k,1}>0 and -\sigma_{k,1}+\epsilon<0 . ∎ Lemma 3.16 . Suppose the order properties hold for \sigma . Then swap property (II) holds for \sigma , and order property (B) holds for \sigma^{\prime} . Proof. By order property (D) for \sigma , the swaps start at the last element z\in\sigma_{j} and some non-last element \pm(z+\epsilon)\in\sigma_{k} with k>j . If the swaps terminate without a swap involving \sigma_{k,1} , then the last element in \sigma_{k} cannot be involved in a swap. Hence, we must analyze when a swap involving \sigma_{k,1} occurs. In this case, Corollary 3.15 implies that \sigma_{k,1} must swap with an element of the opposite sign, so Lemma 3.12 implies that the swaps will terminate at this step. Hence, the algorithm will not proceed into swapping the last element of \sigma_{k} . As the last element of \sigma_{k} is not involved in a swap, neither can any element right of \pm(z+\epsilon) in the cycle notation of \sigma , so swap property (II) holds for \sigma . We now consider order property (B) for \sigma^{\prime} . Order property (B) holds for \sigma , so the first elements in \sigma_{1},\sigma_{2},\ldots,\sigma_{m} are in increasing order. By Lemma 3.13 , swaps only occur between \sigma_{j} and some \sigma_{k} with k>j , so consider any swaps that affect the first elements in these cycles, which are \sigma_{j,1} and \sigma_{k,1} . If no swaps occur involving these elements, then it follows that the first elements in \sigma_{1}^{\prime},\sigma_{2}^{\prime},\ldots,\sigma_{m}^{\prime} are also in increasing order. If a swap involves only \sigma_{j,1} (resp. \sigma_{k,1} ), then the first element in cycle j (resp. k ) changes by 1 , while all other remaining first elements are unchanged. This also cannot affect the relative order between any of the first elements in the cycles. If a swap involves both \sigma_{j,1} and \sigma_{k,1} , then Corollary 3.15 implies that \sigma_{j,1} and \sigma_{k,1} have opposite signs. A swap changes these elements of opposite signs by 1 each, which again cannot affect the relative order between any of the first elements. In all cases, the first elements in \sigma_{1}^{\prime},\sigma_{2}^{\prime},\ldots,\sigma_{m}^{\prime} are in increasing order, which is the first claim in order property (B) . Lemma 3.13 implies that the largest element in each cycle of \sigma^{\prime} is the first one. Combined, we see that for each i\in[m] , \sigma_{i,1}^{\prime} is the larger than any element in \sigma_{1}^{\prime},\ldots,\sigma_{i}^{\prime} , so order property (B) holds for \sigma^{\prime} . ∎ Lemma 3.17 . Suppose the order properties hold for \sigma , and the order and swap properties hold for all signed permutations prior to \sigma in the algorithm. Then swap property (III) holds for \sigma . Proof. Let x be an element appearing in the cycle notation of \sigma that satisfies \sigma(|x|)\geq\sigma_{j+1,1} . Order property (B) for \sigma implies that x must be in one of the cycles \sigma_{j+1},\ldots,\sigma_{k} . Furthermore, if x is the last element in the cycle that contains it, then Lemma 3.16 implies that x cannot be involved in any swaps. Hence, it suffices to consider when x appears as a non-last element in some cycle \sigma_{k} , where k\geq j+1 . As \sigma(|x|)=\sigma_{j+1,1} can only occur if x is the last element of \sigma_{j+1} , we can assume k>j+1 , so \sigma(|x|)>\sigma_{j+1,1} . We will consider cases based on iteration of the while loop in line 1 . We first show by contradiction that x cannot be involved in the first swap of the while loop. For this to occur, order property (D) for \sigma implies that x=\pm(z+\epsilon) , where z is the last element of \sigma_{j} , \epsilon\in\{-1,1\} , and \min\{|x|,|z|\}\in\Des_{\Delta}(\pi,\sigma) . By order property (D) for \sigma , we have that \sigma(|x|)>\sigma_{j+1,1}>\sigma_{j,1}=\sigma(|z|) and \pi(|x|)<\pi(|z|) . As \sigma(|x|)>\sigma_{j+1,1} , order property (C) for \sigma implies that \pi(|x|)>\pi_{j+1,1} , so combined, we have \pi(|z|)>\pi(|x|)>\pi_{j+1,1} . However, order property (C) for \sigma then implies that z cannot have been involved in swaps. As z is the last element in \sigma_{j} , it must also be the last element in \pi_{j} . Then \pi(|z|)=\pi_{j+1,1} , which contradicts \pi(|z|)>\pi(|x|)>\pi_{j+1,1} . We next consider the case where x is not the first swap in this iteration of the while loop. For x to be involved in a swap, the element following x , which is \sigma(|x|) , must be swapped first. As \sigma(|x|)>\sigma_{j+1,1}>\sigma_{j,1} , order property (B) for \sigma implies that \sigma(|x|)\pm 1\notin\sigma_{j} . Then \sigma(|x|) can only being swapped with -\sigma(|x|)\pm 1 . By Lemma 3.12 , the while loop will terminate after swapping these elements of opposite signs, so x itself will not be involved in a swap. In all cases, x cannot be involved in a swap, so swap property (III) holds for \sigma . ∎ Lemma 3.18 . Suppose the order properties hold for \sigma , and the order and swap properties hold for all signed permutations prior to \sigma in the algorithm. Then order property (C) holds for \sigma^{\prime} . Proof. We start with order property (C) for \sigma , which states that for k\geq j+1 , we have \pi(|x|)>\pi_{k,1} if and only if \sigma(x)\geq\sigma_{k,1} , where equality holds only when x is the last element in \sigma_{k} . Swap property (III) for \sigma holds by Lemma 3.17 , so this implies that any such x will not be involved in any swaps. If x is the last element of \sigma_{k} , then it is clear that \sigma^{\prime}(|x|)=\sigma_{k,1}^{\prime} . Otherwise, \sigma(|x|) and \sigma_{k,1} are distinct elements. A swap cannot simultaneously involve both \sigma_{k,1} and \sigma(|x|) by Lemma 3.13 , as neither element is in \sigma_{j} . Additionally, a swap that changes only one of \sigma_{k,1} or the element following x does not affect their relative order. Consequently, we see that \sigma^{\prime}(|x|)\geq\sigma^{\prime}_{k,1} holds. Similar reasoning shows that swaps cannot introduce a new element x^{\prime} satisfying \sigma^{\prime}(|x^{\prime}|)\geq\sigma^{\prime}_{k,1} without swapping some x satisfying \sigma(|x|)\geq\sigma_{k,1} , so \sigma(|x|)\geq\sigma_{k,1} if and only if \sigma^{\prime}(|x|)\geq\sigma^{\prime}_{k,1} , where it is clear that equality can only hold when x is the last element of \sigma_{k} and \sigma_{k}^{\prime} . In the case where the for loop remains in iteration j after swaps are performed, we conclude order property (C) for \sigma^{\prime} . In the case where the for loop proceeds to iteration j+1 , then order property (C) follows by specializing to k\geq j+2 . ∎ Finally, we turn our attention to swap property (IV) for \sigma and order property (D) for \sigma^{\prime} . We will prove various parts of swap property (IV) in separate lemmas. Lemma 3.19 . Suppose the order properties hold for \sigma , and the swap properties hold for all signed permutations prior to \sigma in the algorithm. Let z be the last element in \sigma_{j} , and let \pm(z+\epsilon) with \epsilon\in\{-1,1\} be the element that it is swapped with. The swaps in the algorithm remove the descent \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) . Proof. From order property (D) for \sigma , swaps begin due to \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) , where z\in\sigma_{j} is the last element and \pm(z+\epsilon) is a non-last element in some \sigma_{k} with k>j . The first swap interchanging z with \pm(z+\epsilon) changes the relative order of the elements following them in the cycle notation, which removes the descent \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) . Lemma 3.16 implies that the element now following \pm z in the cycle notation does not change from the later swaps. While these later swaps can involve the element following \pm(z+\epsilon) , this element changes by at most 1 , so the relative order of what follows z and \pm(z+\epsilon) does not change after the first swap. We conclude the descent \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) is removed. ∎ Lemma 3.20 . Suppose the order properties hold for \sigma , and the order and swap properties hold for all signed permutations prior to \sigma in the algorithm. Let z be the last element in \sigma_{j} , let \pm(z+\epsilon) with \epsilon\in\{-1,1\} be the element that it is swapped with, and suppose \min\{|z|,|z-\epsilon|\}\in[n-1] . If \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) and \min\{|z|,|z-\epsilon|\}\notin\Des_{\Delta}(\pi,\sigma) , then \sigma(|z|)<\sigma(|z-\epsilon|)<\sigma(|z+\epsilon|) cannot occur. Proof. If \sigma is the signed permutation at the start of Algorithm 1 , then this follows from Lemma 3.7 . Otherwise, some swaps have occurred, and we will prove the result in this case by contradiction. Assume \sigma(|z|)<\sigma(|z-\epsilon|)<\sigma(|z+\epsilon|) holds. Since \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) and \min\{|z|,|z-\epsilon|\}\notin\Des_{\Delta}(\pi,\sigma) , it must be that (3.5) \pi(|z-\epsilon|)>\pi(|z|)>\pi(|z+\epsilon|). Now let \tilde{\sigma}=\tilde{\sigma}_{1}\tilde{\sigma}_{2}\dots\tilde{\sigma}_{m} be the signed permutation prior to the last sequence of swaps, so in a previous iteration of the while loop, swaps on \tilde{\sigma} resulted in \sigma . We consider two cases based on the iteration of the for loop. First, suppose that the for loop was not in iteration j when swaps are performed on \tilde{\sigma} . Then swap property (II) for permutations prior to \sigma implies that the last element of cycle j has not been involved in any swaps, and since this is z in \sigma , it must have been z throughout the algorithm. In particular, ( 3.5 ) becomes (3.6) \pi(|z-\epsilon|)>\pi(|z|)=\pi_{j+1,1}>\pi(|z+\epsilon|). From order property (C) for \sigma , we conclude \sigma(|z-\epsilon|)>\sigma_{j+1,1} . However, combined with \sigma(|z+\epsilon|)>\sigma(|z-\epsilon|) , this implies \sigma(|z+\epsilon|)>\sigma_{j+1,1} . Comparing with ( 3.6 ), we see that \pm(z+\epsilon) is an element contradicting order property (C) for \sigma . Alternatively, suppose the for loop was in iteration j when swaps are performed on \tilde{\sigma} . We begin by considering the positions of z , \pm(z-\epsilon) , and \pm(z+\epsilon) in the cycles of \tilde{\sigma} containing them. As z is the last element of \sigma_{j} , this element must have been swapped into this position during the swaps on \tilde{\sigma} . By construction of the algorithm, \pm z must have been swapped with \pm(z-\epsilon) due to \min\{|z|,|z-\epsilon|\}\in\Des_{\Delta}(\pi,\tilde{\sigma}) . In particular, order property (D) for \tilde{\sigma} implies that \pm(z-\epsilon) is the last element of \tilde{\sigma}_{j} and \pm z is a non-last of a cycle to the right of \tilde{\sigma}_{j} . Order property (D) for \sigma with \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) implies that \pm(z+\epsilon) is a non-last element in \sigma_{j+1},\ldots,\sigma_{m} . Then this must have been a non-last element in \tilde{\sigma}_{j},\tilde{\sigma}_{j+1},\ldots,\tilde{\sigma}_{j+1} by swap properties (I) and (II) for \tilde{\sigma} . Combined, we see that \pm(z-\epsilon) is the last element in \tilde{\sigma}_{j} , and both \pm z and \pm(z+\epsilon) are non-last elements in the cycles of \tilde{\sigma} containing them. In particular, order property (D) for \tilde{\sigma} implies that \min\{|z|,|z+\epsilon|\}\notin\Des_{\Delta}(\pi,\tilde{\sigma}) . The swaps on \tilde{\sigma} must introduce the descent \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) , so swap property (IV) for \tilde{\sigma} implies that \tilde{\sigma}(|z+\epsilon|)<\tilde{\sigma}(|z|) . As order property (D) for \tilde{\sigma} implies \tilde{\sigma}(|z-\epsilon|)<\tilde{\sigma}(|z|) , we see that swapping \pm(z-\epsilon) and \pm z results in the element following \pm(z-\epsilon) being larger than the one following \pm(z+\epsilon) . Lemma 3.16 implies that swaps do not affect the element following \pm(z-\epsilon) in the cycle notation, while they can only change what follows \pm(z+\epsilon) by 1 . Hence, we conclude \sigma(|z+\epsilon|)<\sigma(|z-\epsilon|) , and this contradicts \sigma(|z|)<\sigma(|z-\epsilon|)<\sigma(|z+\epsilon|) . ∎ Lemma 3.21 . Suppose the order properties hold for \sigma , and the swap properties hold for all signed permutations prior to \sigma in the algorithm. Let z be the last element in \sigma_{j} , let \pm(z+\epsilon) with \epsilon\in\{-1,1\} be the element that it is swapped with, and suppose \min\{|z|,|z-\epsilon|\}\in[n-1] . (a) If \min\{|z|,|z-\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) , then swaps remove this descent from the symmetric difference. (b) If \min\{|z|,|z-\epsilon|\}\notin\Des_{\Delta}(\pi,\sigma) , then swaps do not introduce this to the symmetric difference. Proof. We first consider (a). In this case, we have that \min\{|z|,|z+\epsilon|\} and \min\{|z|,|z-\epsilon|\} are both elements of \Des_{\Delta}(\pi,\sigma) . Order property (D) for \sigma implies that \pi(|z|)>\pi(|z+\epsilon|) , \sigma(|z|)<\sigma(|z+\epsilon|) , \pi(|z|)>\pi(|z-\epsilon|) , and \sigma(|z|)<\sigma(|z-\epsilon|) . Algorithm 1 chooses to swap z with \pm(z+\epsilon) instead of \pm(z-\epsilon) , and this can only occur if \sigma(|z+\epsilon|)>\sigma(|z-\epsilon|)>\sigma(|z|) . Consequently, swapping z with \pm(z+\epsilon) also removes the descent \min\{|z|,|z-\epsilon|\} . Using a similar argument as in Lemma 3.19 and Lemma 3.20 , the status of this descent is not affected by the remaining swaps in this iteration of the while loop in line 1 . For (b), we have two cases for \min\{|z|,|z-\epsilon|\}\notin\Des_{\Delta}(\pi,\sigma) . The first scenario is \pi(|z|)>\pi(|z-\epsilon|) and \sigma(|z|)>\sigma(|z-\epsilon|) , and in this case, order property (D) implies \sigma(|z+\epsilon|)>\sigma(|z|)>\sigma(|z-\epsilon|) . Then swapping z with \pm(z+\epsilon) does not introduce the descent \min\{|z|,|z-\epsilon|\} into the symmetric difference. As in earlier arguments, subsequent swaps also do not. The second scenario is \pi(|z|)<\pi(|z-\epsilon|) and \sigma(|z|)<\sigma(|z-\epsilon|) . Order property (D) for \sigma implies that \pi(|z|)>\pi(|z+\epsilon|) and \sigma(|z|)<\sigma(|z+\epsilon|) , and combined with Lemma 3.20 , we conclude that \sigma(|z|)<\sigma(|z+\epsilon|)<\sigma(|z-\epsilon|) . A similar argument shows that swaps again do not introduce \min\{|z|,|z-\epsilon|\} into the symmetric difference. ∎ Lemma 3.22 . Suppose the order properties hold for \sigma , and the swap properties hold for all signed permutations prior to \sigma in the algorithm. Let z be the last element in \sigma_{j} , let \pm(z+\epsilon) with \epsilon\in\{-1,1\} be the element that it is swapped with, and suppose \min\{|z+\epsilon|,|z+2\epsilon|\}\in[n-1] . (a) If \min\{|z+\epsilon|,|z+2\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) , then this descent is removed. (b) If \min\{|z+\epsilon|,|z+2\epsilon|\}\notin\Des_{\Delta}(\pi,\sigma) and \sigma(|z+2\epsilon|)>\sigma(|z+\epsilon|) , then this descent is not introduced to the symmetric difference Proof. For (a), both \min\{|z|,|z+\epsilon|\} and \min\{|z+\epsilon|,|z+2\epsilon|\} are elements of \Des_{\Delta}(\pi,\sigma) . By order property (D) for \sigma , this can only occur if \pm(z+\epsilon) is a non-last element in some cycle \sigma_{k} with k>j , and combined with order property (B) , we also conclude that \pm(z+2\epsilon) must be the last element in some cycle in \sigma_{j+1},\ldots,\sigma_{k-1} . Additionally, the combination of these properties also implies \sigma(|z|)<\sigma(|z+2\epsilon|)<\sigma(|z+\epsilon|) . The first swap between z and \pm(z+\epsilon) will remove \min\{|z+\epsilon|,|z+2\epsilon|\}\in\Des_{\Delta}(\pi,\sigma) . Later swaps in the while loop can only change the element following \pm(z+\epsilon) by at most 1 and do not affect the cycle containing \pm(z+2\epsilon) . Consequently, \min\{|z+\epsilon|,|z+2\epsilon|\} cannot be re-introduced into the symmetric difference, so (a) follows. For (b), order property (D) for \sigma and the assumptions imply \sigma(|z|)<\sigma(|z+\epsilon|)<\sigma(|z+2\epsilon|) , where \pm(z+\epsilon) appears as a non-last element in \sigma_{j+1},\ldots,\sigma_{m} . We let \tilde{\sigma} be the signed permutation obtained by swapping z and \pm(z+\epsilon) , which satisfies \sigma(|z+\epsilon|)=\tilde{\sigma}(|z|) . The relative orders of this element and what follows z and \pm(z+2\epsilon) in the cycle notation of \sigma is preserved by this first swap, so \tilde{\sigma}(|z+\epsilon|)<\tilde{\sigma}(|z|)<\tilde{\sigma}(|z+2\epsilon|) . As \tilde{\sigma}(|z+\epsilon|)\neq\tilde{\sigma}(|z+2\epsilon|)-1 , later swaps cannot simultaneously involve the elements following z+\epsilon and \pm(z+2\epsilon) in the cycle notation of \tilde{\sigma} . Consequently, the relative order of these elements is preserved, and \min\{|z+\epsilon|,|z+2\epsilon|\} is not introduced into the symmetric difference. We conclude that (b) holds. ∎ Lemma 3.23 . Suppose the order properties hold for \sigma , and the swap properties hold for all signed permutations prior to \sigma in the algorithm. Then swap property (IV) holds for \sigma . Proof. The first three claims of swap property (IV) for \sigma involve \min\{|z|,|z+\epsilon|\} , \min\{|z|,|z-\epsilon|\} , and \min\{|z+\epsilon|,|z+2\epsilon|\} , and the results for these are given in Lemmas 3.19 , 3.21 , and 3.22 . For all other descents, consider the effect on the one-line notation when z and \pm(z+\epsilon) are swapped. In addition to affecting the images of |z| and |z+\epsilon| , this changes the images of |\sigma^{-1}(z)| and |\sigma^{-1}(z+\epsilon)| by 1 . From the one-line notation of \sigma , this cannot introduce other descents into the symmetric difference unless |\sigma^{-1}(z)| and |\sigma^{-1}(z+\epsilon)| are consecutive elements of [n] . In this case, the algorithm then swaps the elements proceeding z and \pm(z+\epsilon) to remove this descent. Iterating this argument, swaps continue until one of the three cases in Lemma 3.12 occurs. If swaps end due to the first element of \sigma_{j} being swapped, then this can only affect descents that involve \pm(z+\epsilon) , and these are accounted for in Lemmas 3.19 and 3.22 . In the remaining two cases, the final swap does not introduce any descent, so we conclude swap property (IV) holds for \sigma . ∎ Lemma 3.24 . Suppose the order properties hold for \sigma , and the swap properties hold for all signed permutations prior to \sigma in the algorithm. Then order property (D) holds for \sigma^{\prime} . Proof. We begin with order property (D) for \sigma , and apply the swap properties for \sigma , which hold by Lemmas 3.13 , 3.16 , 3.17 , and 3.23 . Swap property (IV) implies that \min\{|z|,|z-\epsilon|\} and \min\{|z|,|z+\epsilon|\} cannot be elements of \Des_{\Delta}(\pi,\sigma^{\prime}) , and descents other than \min\{|z+\epsilon|,|z+2\epsilon|\} cannot be introduced. We will begin by considering descents different from these three aforementioned ones and then consider possibilities for \min\{|z+\epsilon|,|z+2\epsilon|\} . Let d\in\Des_{\Delta}(\pi,\sigma) be a descent that is not \min\{|z|,|z+\epsilon|\} , \min\{|z|,|z-\epsilon|\} , or \min\{|z+\epsilon|,|z+2\epsilon|\} . Using order property (D) for \sigma , we let x\in\{\pm d,\pm(d+1)\} be whichever element appears as the last element of a cycle in \sigma_{j+1},\ldots,\sigma_{m} and y\in\{\pm d,\pm(d+1)\} be the element that appears in the non-last position of a cycle to its right. Combined with order property (B) , we also have that \sigma_{j+1,1}\leq\sigma(|x|)<\sigma(|y|) while \pi(|x|)>\pi(|y|) . By swap property (I) for \sigma , the cycles containing x and y cannot both be affected by swaps, and by swap property (III) , x and y themselves are not affected by swaps. Hence, swaps preserve the positions of x and y in the cycle notation and change the element following at most one of them by 1 , resulting in \sigma^{\prime}(|x|)<\sigma^{\prime}(|y|) . We conclude that the claims in order property (D) involving d\in\Des_{\Delta}(\pi,\sigma^{\prime}) hold. Finally, we consider \min\{|z+\epsilon|,|z+2\epsilon|\} . If \min\{|z+\epsilon|,|z+2\epsilon|\}\notin\Des_{\Delta}(\pi,\sigma^{\prime}) , then the for loop terminates iteration j , and the last element of \sigma_{j}^{\prime} , which is \pm(z+\epsilon) , is not involved in any descents in \Des_{\Delta}(\pi,\sigma^{\prime}) . In this case, we conclude order property (D) holds for \sigma^{\prime} . It now suffices to consider when swaps result in \min\{|z+\epsilon|,|z+2\epsilon|\}\in\Des_{\Delta}(\pi,\sigma^{\prime}) . By swap property (IV) for \sigma , this can only occur if \min\{|z+\epsilon|,|z+2\epsilon|\}\notin\Des_{\Delta}(\pi,\sigma) and \sigma(|z+2\epsilon|)<\sigma(|z+\epsilon|) , which combined also imply \pi(|z+2\epsilon|)<\pi(|z+\epsilon|) . We now rule out cases for where \pm(z+2\epsilon) can appear in \sigma^{\prime} . • As \pm(z+\epsilon) is involved in the swaps on \sigma , swap property (III) for \sigma shows that \sigma(|z+2\epsilon|)<\sigma(|z+\epsilon|)<\sigma_{j+1,1}. Then order property (B) for \sigma implies that \pm(z+2\epsilon) cannot be the last element in \sigma_{j+1},\ldots,\sigma_{m} , and swap property (II) for \sigma implies that swaps cannot result in \pm(z+2\epsilon) becoming the last element in \sigma_{j+1}^{\prime},\ldots,\sigma_{m}^{\prime} . • If \pm(z+2\epsilon) is in \sigma_{1}^{\prime},\sigma_{2}^{\prime},\ldots,\sigma_{j}^{\prime} , then Lemma 3.16 implies that \sigma^{\prime}(|z+2\epsilon|)<\sigma_{j,1}^{\prime}=\sigma^{\prime}(|z+\epsilon|) . Since this order aligns with \pi(|z+2\epsilon|)<\pi(|z+\epsilon|) , this would imply \min\{|z+\epsilon|,|z+2\epsilon|\}\notin\Des_{\Delta}(\pi,\sigma) . Combined, we see that \min\{|z+\epsilon|,|z+2\epsilon|\}\in\Des_{\Delta}(\pi,\sigma^{\prime}) can only occur if \pm(z+2\epsilon) is a non-last element in \sigma_{j+1}^{\prime},\ldots,\sigma_{m}^{\prime} . Furthermore, it must be that \pi(|z+2\epsilon|)<\pi(|z+\epsilon|) and \sigma^{\prime}(|z+2\epsilon|)>\sigma^{\prime}(|z+\epsilon|) , so order property (D) holds for \sigma^{\prime} . ∎ Theorem 3.25 . Let \sigma be the signed permutation at the start of an iteration of the for loop or the while loop in line 1 of Algorithm 1 . Then the order properties and swap properties hold for \sigma . Proof. We prove this using strong induction. Lemma 3.6 implies that the order properties hold for the permutation \sigma at the start of the algorithm. Additionally, the swap properties vacuously hold for all permutations prior to \sigma in the algorithm. Assuming the order properties hold for \sigma , and the order and swap properties held prior to \sigma , Lemmas 3.10 , 3.13 , 3.16 , 3.17 , 3.18 , 3.23 , and 3.24 imply that the swap properties hold for \sigma and the order properties will hold for the signed permutation at the next iteration of the for or while loop. Hence, by strong induction, these properties hold throughout the algorithm. ∎ Corollary 3.26 . Let \pi\in\C_{B,n+1}^{+} . Then \Des(\pi)\cap[n-1]=\Des(\phi(\pi)) . Proof. Let \sigma be the signed permutation in iteration m of the for loop. By Theorem 3.25 , order property (D) holds for \sigma . Then d\in\Des_{\Delta}(\pi,\sigma)\cap[n-1] can only exist if \pm d is the last element of \sigma_{m} and \pm(d+1) is in a cycle to its right, but there are no such cycles. We conclude \Des_{\Delta}(\pi,\sigma)\cap[n-1]=\emptyset , and this last iteration of the for loop performs no swaps. From this, we see that \phi(\pi)=\sigma and \Des(\pi)\cap[n-1]=\Des(\phi(\pi)) . ∎ Corollary 3.27 . Let \sigma be the signed permutation at the start of an iteration of the for loop or the while loop in line 1 of Algorithm 1 . Then \sigma is in canonical cycle notation. Proof. Observe that the canonical cycle notation properties are given by order property (B) . Hence, this follows immediately from Theorem 3.25 . ∎ Corollary 3.26 shows that applying \phi to \pi\in\C_{B,n+1}^{+} will result in a signed permutation with the same descents in [n-1] . As demonstrated in Example 3.4 , it is possible that 0\in\Des_{\Delta}(\pi,\phi(\pi)) , and we will now address the descent at position 0 . For the remainder of this section, we will use the order and swap properties freely without explicitly citing Theorem 3.25 . Lemma 3.28 . If 0\in\Des(\pi) , then 0\in\Des(\sigma) . In this case, we have that \pi(1)<-1 and \sigma(1)<-1 . Proof. We will use a proof by induction, beginning with the case where \sigma is the initial permutation in the algorithm. As \pi is a cyclic signed permutation, \pi(1)<0 can only occur if \pi(1)<-1 . Then \pi(1) cannot be a left-to-right maximum, so by the construction of \sigma using left-to-right maxima, we conclude \sigma(1)=\pi(1)<-1 . For our induction step, assume that \sigma(1)<-1 , and let \sigma^{\prime} be the signed permutation after swaps in the while loop in line 1 . If no swaps involving \pm 1 or the element following it occur, then \sigma^{\prime}(1)=\sigma(1)<-1 . Hence, we consider the remaining cases where swaps do occur. We first prove by contradiction that swaps cannot begin with \pm 1 . If this occurs, \pm 1 must be swapped with \pm 2 . As \sigma(1)<-1 , order property (B) implies that \pm 1 cannot be the last element in the cycle containing it. Then order property (D) implies that \pm 2 appears as the last element of some cycle to the left of \pm 1 and \sigma(2)<\sigma(1)<-1 . As \sigma(1)\notin\{-1,-2\} , we find that \sigma(1)\leq-3 and \sigma(2)<-3 . However, \pm 2 is the last element in the cycle containing it, so \sigma(2)<-2 is the first element of that cycle, and this contradicts order property (B) . It now suffices to consider when the element following \pm 1 is swapped first. The sign of the element following \pm 1 does not change, so if swaps terminate after this, then \sigma^{\prime}(1)<-1 . Otherwise, \pm 1 must then be swapped with \pm 2 . By Lemma 3.12 , this can only occur if the elements following \pm 1 and \pm 2 in \sigma share the same sign, and hence must both be negative. We see that even in the case when \pm 1 and \pm 2 are swapped, we have \sigma^{\prime}(1)<-1 . ∎ Corollary 3.29 . If 0\in\Des(\pi) , then 0\in\Des(\phi(\pi)) . Furthermore, in this case, we have that \pi(1)<-1 and \phi(\pi)(1)<-1 . Lemma 3.30 . If 0\notin\Des(\pi) , then either 0\notin\Des(\sigma) or \sigma(1)=-1 . Proof. We will prove this using induction, again starting with the case where {\sigma} is the signed permutation at the start of the algorithm. If \pm 1 is not the last element of a cycle in {\sigma} , then {\sigma}(1)=\pi(1) , so 0\notin\Des(\pi) implies 0\notin\Des(\sigma) . Otherwise, {\sigma}(1) is the first element of the cycle containing \pm 1 , and order property (B) implies that \sigma(1)\geq-1 , so either \sigma(1)=-1 or \sigma(1)\geq 1 . The latter case is equivalent to 0\notin\Des(\sigma) . Now assume that the result holds for \sigma , and let \sigma^{\prime} be the permutation obtained after swaps in the while loop in line 1 . As in Lemma 3.28 , we can assume that some swap involves \pm 1 or the element following it in the cycle notation. Our argument will require cases based on which property from the induction hypothesis holds for \sigma . First, consider the induction hypotheses of 0\notin\Des(\sigma) . We have two cases based on whether or not \pm 1 is involved in the first swap. If it is not, then the element following \pm 1 , denoted x , is swapped first. As 0\notin\Des(\sigma) , we know x>0 . If swaps terminate after x is swapped, then the sign of the element following \pm 1 has not changed, so \sigma^{\prime}(1)>0 . Otherwise, \pm 1 is then swapped with \pm 2 , and the result is \sigma^{\prime}(1)=x>0 . We conclude that 0\notin\Des(\sigma^{\prime}) holds in each case. Alternatively, suppose \pm 1 is involved in the first swap. Then this occurs due to 1\in\Des_{\Delta}(\pi,\sigma) , and order property (D) for \sigma implies that either \pm 1 or \pm 2 is the last element of the cycle containing it. If \pm 1 is the last element of a cycle, then order property (D) also implies \pm 2 appears in a cycle to the right of \pm 1 and \sigma(2)>\sigma(1)>0 . Then the swap between \pm 1 and \pm 2 results in a positive number following 1 in the cycle notation. By Lemma 3.16 , subsequent swaps cannot change this value, so \sigma^{\prime}(1)=\sigma(2)>0 and 0\notin\Des(\sigma^{\prime}) . If \pm 2 is the last element of a cycle, then order property (B) implies \sigma(2)\geq-2 . Combined with the fact that \pm 1 is not in the same cycle as \pm 2 , we conclude that either (-2) is a cycle in \sigma or \sigma(2)\geq 2 . In the first case, (-1) will be a cycle in \sigma^{\prime} , and in the second case, \sigma^{\prime}(1)\geq 1 . These respectively correspond to \sigma^{\prime}(1)=-1 or 0\notin\Des(\sigma^{\prime}) . Finally, consider the induction hypothesis that (-1) is a cycle in \sigma . In this case, a swap involving -1 can only occur if it is swapped with \pm 2 in the first and only swap performed on \sigma . Order property (D) implies that \pm 2 appears as a non-last element in a cycle to the right of (-1) , and \sigma(1)=-1<\sigma(2) . In particular, we see that \sigma(2)>0 , and the single swap in this while loop will then result in \sigma^{\prime}(1)=\sigma(2)>0 . Hence 0\notin\Des(\sigma^{\prime}) . By induction, we conclude that the result holds for all \sigma encountered in the algorithm. ∎ Corollary 3.31 . We have that 0\in\Des_{\Delta}(\pi,\phi(\pi)) if and only if \pi(1)>0 and \phi(\pi)(1)=-1 . Proof. It is clear that if \pi(1)>0 and \phi(\pi)(1)=-1 , then 0\in\Des_{\Delta}(\pi,\phi(\pi)) , so it suffices to show the converse. Corollary 3.29 shows that 0\in\Des_{\Delta}(\pi,\phi(\pi)) can only occur if 0\notin\Des(\pi) and 0\in\Des(\phi(\pi)) . Equivalently, \pi(1)>0 but \phi(\pi)(1)<0 . By Lemma 3.30 , this can only occur if \pi(1)>0 and \phi(\pi)(1)=-1 . ∎ 3.3. The descent-preserving function Using the results from the preceding section, we are now prepared to define our descent-preserving function in Theorem 1.2 . The basis of this function is several variations of \phi . There will be four separate cases depending on whether \pi\in\C_{B,n+1}^{+} or \pi\in\C_{B,n+1}^{-} , and whether or not the descent 0 is introduced by Algorithm 1 . Definition 3.32 . For any \pi\in\C_{B,n+1} , define -\pi=[-1,-2,\ldots,-n]\pi , which is the permutation obtained by changing the signs of all elements in the one-line or cycle notation. Define the function \Phi:\C_{B,n+1}\to B_{n} by \Phi(\pi)=\begin{cases}\phi(\pi)&\text{ if $\pi\in\C_{B,n+1}^{+}$ and $0\notin\Des_{\Delta}(\pi,\phi(\pi))$}\\ (-1)\phi(\pi)&\text{ if $\pi\in\C_{B,n+1}^{+}$ and $0\in\Des_{\Delta}(\pi,\phi(\pi))$}\\ -\phi(-\pi)&\text{ if $\pi\in\C_{B,n+1}^{-}$ and $0\notin\Des_{\Delta}(\pi,-\phi(-\pi))$}\\ -(-1)\phi(-\pi)&\text{ if $\pi\in\C_{B,n+1}^{-}$ and $0\in\Des_{\Delta}(\pi,-\phi(-\pi))$,}\end{cases} where (-1)=[-1,2,\ldots,n]\in B_{n} is the signed permutation that interchanges \pm 1 with \mp 1 and fixes all other elements. Example 3.33 . Recall the signed permutation \pi=(-4,-1,2,5,-3,-6,7)=[2,5,-6,-1,-3,7,-4]\in\C_{B,7}^{+} from Example 3.4 . In that example, we found that \phi(\pi)=(-5)(-1)(2)(4,-3,-6)=[-1,2,-6,-3,-5,4]. As 0\in\Des_{\Delta}(\pi,\phi(\pi)) , we have that \Phi(\pi)=(-1)\phi(\pi)=(-5)(1)(2)(4,-3,-6)=[1,2,-6,-3,-5,4]. Example 3.34 . Consider the signed permutation \pi=(3,4,8,-1,5,7,2,-6,-9)=[5,-6,4,8,7,-9,2,-1,3]\in\C_{B,9}^{-}, which has descents \{1,4,5,7\} . For calculating \Phi(\pi) , we first must apply Algorithm 1 to -\pi=(-3,-4,-8,1,-5,-7,-2,6,9)=[5,-6,4,8,7,-9,2,-1,3], which has descents \{0,2,3,6,8\} . The algorithm will start with \sigma=(-3,-4,-8)(1,-5,-7,-2)(6)=[-5,1,-4,-8,-7,6,-2,-3], which has descents \{0,2,3,6,7\} . The first iteration of the for loop will swap 8 and 7 , followed by 4 and 5 , resulting in \sigma=(-3,-5,-7)(1,-4,-8,-2)(6)=[-4,1,-5,-8,-7,6,-3,-2] with descent set \{0,2,3,6\} . The algorithm terminates here, resulting in -\phi(-\pi)=(3,5,7)(-1,4,8,2)(-6)=[4,-1,5,8,7,-6,3,2] with descent set \{1,4,5,7\} . As 0\notin\Des_{\Delta}(\pi,-\phi(-\pi)) , we find that \Phi(\pi) is the permutation -\phi(-\pi) given above. We now establish that \Phi preserves descents at all positions in \{0,1,\ldots,n-1\} . This proves part (a) of Theorem 1.2 . Theorem 3.35 . Let \pi\in\C_{B,n+1} . Then \Des(\pi)\cap\{0,1,\ldots,n-1\}=\Des(\Phi(\pi)). Proof. We first consider \pi\in\C_{B,n+1}^{+} . By Corollary 3.26 , we have \Des_{\Delta}(\pi,\phi(\pi))\cap\{0,1,\ldots,n-1\}\subseteq\{0\}. When equality holds, Corollary 3.31 implies that \phi(\pi)(1)=-1 , so \Des(\pi)\cap\{0,1,\ldots,n-1\}=\Des((-1)\phi(\pi)) . The function \Phi makes the appropriate choice so that \Des(\pi)\cap\{1,2,\ldots,n-1\}=\Des(\Phi(\pi)) , so the result holds for any \pi\in\C_{B,n+1}^{+} . Next, consider \pi\in\C_{B,n+1}^{-} . Then -\pi\in\C_{B,n+1}^{+} . From argument above, \Des(-\pi)\cap\{0,1,\ldots,n-1\} is equal to either \Des(\phi(-\pi)) or \Des((-1)\phi(-\pi)) . This implies that \Des(\pi)\cap\{0,1,\ldots,n-1\} is equal to either \Des(-\phi(-\pi)) or \Des(-(-1)\phi(-\pi)) , and \Phi makes the appropriate choice so that \Des(\pi)\cap\{0,1,\ldots,n-1\}=\Des(\Phi(\pi)) . ∎ 4. Mapping signed permutations to cyclic signed permutations In Section 3 , we constructed our descent-preserving function \Phi:\C_{B,n+1}\to B_{n} . We now consider the restrictions \Phi_{\C_{D,n+1}}=\Phi|_{\C_{D,n+1}} and \Phi_{\overline{\C_{D,n+1}}}=\Phi|_{\overline{\C_{D,n+1}}} , which respectively map \C_{D,n+1} and \overline{\C_{D,n+1}} to B_{n} . In this section, we will define inverses \Psi_{\C_{D,n+1}} and \Psi_{\overline{\C_{D,n+1}}} for \Phi_{\C_{D,n+1}} and \Phi_{\overline{\C_{D,n+1}}} , which will allow us to conclude that \Phi_{\C_{D,n+1}} and \Phi_{\overline{\C_{D,n+1}}} are bijections. 4.1. A reverse algorithm We start with an algorithm that begins with a signed permutation in B_{n} and outputs a cyclic permutation in \C_{B,n+1}^{+} . This algorithm is intended to reverse the steps in Algorithm 1 . Definition 4.1 . Define \psi:B_{n}\to\C_{B,n+1}^{+} to be the function mapping each \sigma\in B_{n} to its output from Algorithm 2 . Input: \sigma\in B_{n} Output: a permutation in \C_{B,n+1}^{+} express \sigma=\sigma_{1}\sigma_{2}\dots\sigma_{m} in canonical cycle notation set \pi_{j}=\sigma_{j} for each j\in\{1,2,\ldots,m\} set \pi_{m+1}=(n+1) to be a cycle of length 1 form \pi\coloneqq(\pi_{1,1},\ldots,\pi_{1,\ell_{1}},\pi_{2,1},\ldots,\pi_{2,\ell_{2}},\ldots,\pi_{m,1},\ldots\pi_{m,\ell_{m}},\pi_{m+1,1}) by concatenating the cycles in \pi_{1},\pi_{2},\ldots,\pi_{m},\pi_{m+1} for j=m-1,m-2,\ldots,1 do 1 z\coloneqq the rightmost entry of \pi_{j} if P_{\pi,\sigma}(|z|,|z-1|) or P_{\pi,\sigma}(|z|,|z+1|) then 2 set \epsilon\in\{-1,1\} to be the value such that P_{\pi,\sigma}(|z|,|z+\epsilon|) is True and \pi(|z+\epsilon|) is smallest while P_{\pi,\sigma}(|z|,|z+\epsilon|) do 3 x\coloneqq z y\coloneqq whichever of z+\epsilon or -(z+\epsilon) that appears in \pi while P_{\pi,\sigma}(|x|,|y|) do 4 respectively replace x and y with \sgn(x)\cdot|y| and \sgn(y)\cdot|x| in \pi_{1},\pi_{2},\ldots,\pi_{m} redefine \pi by concatenating the cycles in \pi_{1},\pi_{2},\ldots,\pi_{m},\pi_{m+1} if the replacement did not involve the first element of \pi_{j} then 5 x,y\coloneqq the elements respectively preceding the ones replaced z\coloneqq the rightmost entry of \pi_{j} return \pi Algorithm 2 Signed to Cyclic Permutation We will show that \phi and \psi are inverses of each other, and hence are bijections between \C_{B,n+1}^{+} and B_{n} . We begin by defining some notation for this section. Fix \pi\in\C_{B,n+1}^{+} , and define \sigma=\phi(\pi)\in B_{n} . For each iteration j=1,2,\ldots,m in the for loop of Algorithm 1 applied to \pi , let \sigma^{(j)} be the signed permutation at the start of that loop expressed in the cycle notation from the algorithm, which is canonical by Corollary 3.27 . For j=1,2,\ldots,m , define \pi^{(j)} to be the cyclic signed permutation formed by concatenating the cycles in \sigma^{(j)} and inserting n+1 at the end. As noted in Corollary 3.26 , \sigma^{(m)} is the permutation outputted by Algorithm 1 , so the following result is immediate. Lemma 4.2 . The initial permutation in Algorithm 2 applied to \sigma is \pi^{(m)} . We will need to show that Algorithm 2 reverses the steps in Algorithm 1 by producing \pi^{(m-1)},\ldots,\pi^{(2)},\pi^{(1)} in its for loop. This will require a careful analysis of this loop’s relationship with the for loop in Algorithm 1 . As iteration j of the for loop in Algorithm 1 could involve one or more iterations of the while loop in line 1 , we express the permutations that appear between iterations of the loop as (4.1) \sigma^{(j,0)},\sigma^{(j,1)},\ldots,\sigma^{(j,h)}, where h\geq 0 . Note that \sigma^{(j,0)}=\sigma^{(j)} and \sigma^{(j,h)}=\sigma^{(j+1)} . Similar to our notation in Section 3 , we will use \sigma^{(j,i)}_{1}\sigma^{(j,i)}_{2}\dots\sigma_{m}^{(j,i)} to express the individual cycles in \sigma^{(j,i)} , and we include a second index in the subscript when referring to a specific entry in a cycle. Finally, define \pi^{(j,i)}\in\C_{B,n+1}^{+} to be the signed permutation obtained by concatenating the cycles in \sigma^{(j,i)} into one long cycle and inserting n+1 at the end. Corollary 3.27 implies that each \sigma^{(j,i)} is in canonical cycle notation, so the following lemma follows from a similar argument to the one used in Lemma 3.6 . Lemma 4.3 . Let 0\leq i\leq h and x\in[n-1] . If x\in\Des_{\Delta}(\pi^{(j,i)},\sigma^{(j,i)}) , then one of the following must be true: • \pm x appears as the last element in some cycle of \sigma^{(j,i)} , \pm(x+1) appears as a non-last element in some cycle to the right of \pm x , and \pi^{(j,i)}(x)>\pi^{(j,i)}(x+1)=\sigma^{(j,i)}(x+1)>\sigma^{(j,i)}(x) , or • \pm(x+1) appears as the last element in some cycle of \sigma^{(j,i)} , \pm x appears as a non-last element in some cycle to the right of \pm(x+1) , and \pi^{(j,i)}(x+1)>\pi^{(j,i)}(x)=\sigma^{(j,i)}(x)>\sigma^{(j,i)}(x+1) . The next lemmas will establish several properties of the \pi^{(j,i)} permutations that can be derived from properties of the \sigma^{(j,i)} permutations. Recall that the order and swap properties hold for all \sigma^{(j,i)} by Theorem 3.25 . We will use these properties without explicitly citing Theorem 3.25 . Lemma 4.4 . Let z be the last element of \sigma_{j}^{(j,0)} and \epsilon\in\{-1,1\} . If P_{\pi,\sigma^{(j,0)}}(|z|,|z+\epsilon|) is False , then P_{\pi^{(j,0)},\sigma}(|z|,|z+\epsilon|) is False . Proof. We use proof by contradiction. Assume that P_{\pi,\sigma^{(j,0)}}(|z|,|z+\epsilon|) is False and P_{\pi^{(j,0)},\sigma}(|z|,|z+\epsilon|) is True . Corollary 3.26 states that \Des_{\Delta}(\pi,\sigma)\cap[n-1]=\emptyset , so this combination can only occur if P_{\pi^{(j,0)},\sigma^{(j,0)}}(|z|,|z+\epsilon|) is True . Consequently, we have that \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi^{(j,0)},\sigma^{(j,0)}) , and Lemma 4.3 implies that (4.2) \sigma^{(j,0)}_{j+1,1}=\pi^{(j,0)}(|z|)>\pi^{(j,0)}(|z+\epsilon|)=\sigma^{(j,0)}(|z+\epsilon|)>\sigma^{(j,0)}(|z|)=\sigma^{(j,0)}_{j,1}. Swap property (II) on all signed permutations prior to \sigma^{(j,0)} in Algorithm 1 implies that \pm z has been the last element of cycle j since the beginning of Algorithm 1 , so \pi(|z|)=\sigma^{(1)}_{j+1,1} . However, order property (C) for \sigma with ( 4.2 ) then implies that \pi(|z|)=\sigma^{(1)}_{j+1,1}>\pi(|z+\epsilon|) . This contradicts P_{\pi,\sigma^{(j,0)}}(|z|,|z+\epsilon|) being False and \sigma^{(j,0)}(|z+\epsilon|)>\sigma^{(j,0)}(|z|) from ( 4.2 ). ∎ Lemma 4.5 . Suppose \pm z is the last element in cycle j of \sigma^{(j,0)} and is swapped with \pm(z+\epsilon) in Algorithm 1 , so \pm(z+i\epsilon) is the last element in cycle j of \sigma^{(j,i)} for 0\leq i\leq h . Then P_{\pi^{(j,i)},\sigma}(|z+i\epsilon|,|z+(i-1)\epsilon|) is True for all 1\leq i\leq h . Proof. Order property (D) for the respective last elements \pm z,\pm(z+\epsilon),\ldots,\pm(z+h\epsilon) of \sigma^{(j,0)},\sigma^{(j,1)},\ldots,\sigma^{(j,h)} implies that (4.3) \pi(|z|)>\pi(|z+\epsilon|)>\pi(|z+2\epsilon|)>\dots>\pi(|z+h\epsilon|), and Corollary 3.26 implies the corresponding order (4.4) \sigma(|z|)>\sigma(|z+\epsilon|)>\sigma(|z+2\epsilon|)>\dots>\sigma(|z+h\epsilon|). It suffices now to show that \pi^{(j,i)}(|z+i\epsilon|)>\pi^{(j,i)}(|z+(i-1)\epsilon|) . We turn our attention to \sigma^{(j,i-1)} , where order property (D) implies that the last element \pm(z+(i-1)\epsilon)\in\sigma_{j}^{(j,i-1)} was swapped with \pm(z+i\epsilon) , which appears as a non-last element in some cycle to its right. After swaps occur, \pm(z+(i-1)\epsilon) is not the last element of a cycle in \sigma^{(j,i)} , and from this, we conclude \sigma^{(j,i)}(|z+(i-1)\epsilon|)=\pi^{(j,i)}(|z+(i-1)\epsilon|). Swap property (III) for \sigma^{(j,i-1)} implies that \sigma^{(j,i-1)}(|z+i\epsilon|)<\sigma_{j+1,1}^{(j,i-1)} , so after swaps are performed, \sigma^{(j,i)}(|z+(i-1)\epsilon|)<\sigma_{j+1,1}^{(j,i)} . Combined, we see that \pi^{(j,i)}(|z+i\epsilon|)=\sigma_{j+1,1}^{(j,i)}>\sigma^{(j,i)}(|z+(i-1)\epsilon|)=\pi^{(j,i)}(|z+(i-1)\epsilon|). Comparing with ( 4.4 ), we conclude P_{\pi^{(j,i)},\sigma}(|z+i\epsilon|,|z+(i-1)\epsilon|) is True . ∎ Lemma 4.6 . Suppose \pm z is the last element in cycle j of \sigma^{(j,0)} and is swapped with \pm(z+\epsilon) in Algorithm 1 , so \pm(z+i\epsilon) is the last element in cycle j of \sigma^{(j,i)} for 0\leq i\leq h . If P_{\pi^{(j,h)},\sigma}(|z+h\epsilon|,|z+(h+1)\epsilon|) is True , then \pi^{(j,h)}(|z+(h-1)\epsilon)<\pi^{(j,h)}(|z+(h+1)\epsilon|) . Proof. Since Algorithm 1 terminated iteration j of the for loop at \sigma^{(j,h)} , we know that P_{\pi,\sigma^{(j,h)}}(|z+h\epsilon|,|z+(h+1)\epsilon|) is False . Corollary 3.26 implies \Des(\pi)\cap[n-1]=\Des(\sigma) , and combined with P_{\pi^{(j,h)},\sigma}(|z+h\epsilon|,|z+(h+1)\epsilon|) being True , we conclude that \min\{|z+h\epsilon|,|z+(h+1)\epsilon|\}\in\Des_{\Delta}(\pi^{(j,h)},\sigma^{(j,h)}) . As \pm(z+h\epsilon) is the last element of \sigma_{j}^{(j,h)} , Lemma 4.3 implies that \pm(z+(h+1)\epsilon) must appear as the non-last element in some cycle to the right of \sigma_{j}^{(j,h)} and \pi^{(j,h)}(|z+h\epsilon|)>\pi^{(j,h)}(|z+(h+1)\epsilon|)=\sigma^{(j,h)}(|z+(h+1)\epsilon|)>\sigma^{(j,h)}(|z+h\epsilon|). Since P_{\pi,\sigma^{(j,h)}}(|z+h\epsilon|,|z+(h+1)\epsilon|) is False , we conclude (4.5) \pi(|z+(h+1)\epsilon|)>\pi(|z+h\epsilon|). We now turn our attention to \sigma^{(j,h-1)} . As \pm(z+(h+1)\epsilon) is not the last element in a cycle of \sigma_{j}^{(j,h)} , swap properties (I) and (II) for \sigma^{(j,h-1)} imply that \pm(z+(h+1)\epsilon) cannot be the last element in a cycle of \sigma^{(j,h-1)} . Additionally, order property (D) for \sigma^{(j,h-1)} implies that \pm(z+h\epsilon) was not the last element in a cycle of \sigma^{(j,h-1)} . Since \pm(z+(h+1)\epsilon) and \pm(z+h\epsilon) are non-last elements in the cycles of \sigma^{(j,h-1)} containing them, order property (D) for \sigma^{(j,h-1)} implies \min\{|z+h\epsilon|,|z+(h+1)\epsilon|\}\notin\Des_{\Delta}(\pi,\sigma^{(j,h-1)}) , so combined with ( 4.5 ), we see that \sigma^{(j,h-1)}(|z+(h+1)\epsilon|)>\sigma^{(j,h-1)}(|z+h\epsilon|) . Then after performing swaps to obtain \sigma^{(j,h)} , we have that (4.6) \sigma^{(j,h)}(|z+(h+1)\epsilon|)>\sigma^{(j,h)}(|z+(h-1)\epsilon|). Additionally, these swaps result in \pm(z+(h-1)\epsilon) being a non-last element of a cycle in \sigma^{(j,h)} . As both \pm(z+(h-1)\epsilon) and \pm(z+(h+1)\epsilon) are non-last elements in the cycles containing them, we conclude that ( 4.6 ) is equivalent to \pi^{(j,h)}(|z+(h+1)\epsilon|)>\pi^{(j,h)}(|z+(h-1)\epsilon|). ∎ Combining these results, we show that \phi and \psi are inverses. Our approach is to show that the steps within Algorithm 1 are reversed by Algorithm 2 . Theorem 4.7 . The functions \phi:\C_{B,n+1}^{+}\to B_{n} and \psi:B_{n}\to\C_{B,n+1}^{+} are inverses. Proof. It suffices to show that \psi(\phi((\pi))=\pi for every \pi\in\C_{B,n+1}^{+} . As \C_{B,n+1}^{+} and B_{n} are finite sets of the same size 2^{n}\cdot n! , it will follow that \phi and \psi are bijections that must be inverses of one another. By Lemma 4.2 , we know that Algorithm 2 applied to \sigma=\phi(\pi) will begin with \pi^{(m)} . It suffices to show that if \pi^{(j+1)} is the permutation at the start of iteration j of the for loop in Algorithm 2 , then \pi^{(j)} will be the result at the end, as the result will then follow by induction on j=m-1,m-2,\ldots,1 . We first consider the case where no swaps are performed in iteration j of the for loop in Algorithm 1 , so \sigma^{(j)}=\sigma^{(j+1)} and \pi^{(j)}=\pi^{(j+1)} . This occurs since P_{\pi,\sigma^{(j)}}(|z|,|z+\epsilon|) is False for each value of \epsilon\in\{-1,1\} . Then Lemma 4.4 implies that P_{\pi^{(j+1)},\sigma}(|z|,|z+\epsilon|) is False for each value of \epsilon\in\{-1,1\} , so iteration j of the for loop in Algorithm 2 will also perform no swaps. Hence, it will begin and terminate with \pi^{(j+1)}=\pi^{(j)} . Alternatively, suppose swaps do occur. As we have throughout this section, we will use \sigma^{(j,0)},\sigma^{(j,1)},\ldots,\sigma^{(j,h)} for the signed permutations in iteration j of the for loop of Algorithm 1 , and the respective last elements of cycle j will be \pm z,\pm(z+\epsilon),\ldots,\pm(z+h\epsilon) . By Lemmas 4.5 and 4.6 , the for loop of Algorithm 2 will start with \pi^{(j,h)} , swap \pm(z+h\epsilon) and \pm(z+(h-1)\epsilon) , and then subsequently swap the elements preceding the ones swapped whenever another descent is affected by the prior swap. This reverses exactly the swaps of the while loop in line 1 of Algorithm 1 , and hence results in \pi^{(j,h-1)} . Continuing with Lemma 4.5 and a similar argument, we conclude that this iteration of the for loop in Algorithm 2 will then produce \pi^{(j,h-2)},\ldots,\pi^{(j,0)} . It suffices now to show that the loop will terminate at \pi^{(j,0)} due to P_{\pi^{(j,0)},\sigma}(|z|,|z-\epsilon|) being False . If P_{\pi,\sigma^{(j,0)}}(|z|,|z-\epsilon|) is False , then this follows from Lemma 4.4 , so it suffices to consider when P_{\pi,\sigma^{(j,0)}}(|z|,|z-\epsilon|) is True . In this case, order property (D) for \sigma^{(j,0)} implies that both \pm(z+\epsilon) and \pm(z-\epsilon) appear as non-last elements in the cycles of \sigma^{(j,0)} containing them. Additionally, Algorithm 1 chose to swap \pm z with \pm(z+\epsilon) when both P_{\pi,\sigma^{(j,0)}}(|z|,|z-\epsilon|) and P_{\pi,\sigma^{(j,0)}}(|z|,|z+\epsilon|) were True , so \sigma^{(j,0)}(|z+\epsilon|)>\sigma^{(j,0)}(|z-\epsilon|) . Combined with order property (D) for \sigma^{(j,0)} , it must be that (4.7) \sigma^{(j,0)}(|z|)<\sigma^{(j,0)}(|z-\epsilon|)=\pi^{(j,0)}(|z-\epsilon|)<\sigma^{(j,0)}(|z+\epsilon|)=\pi^{(j,0)}(|z+\epsilon|), while \pi(|z|)>\pi(|z+\epsilon|) and \pi(|z|)>\pi(|z-\epsilon|) . Corollary 3.26 then implies \sigma(|z|)>\sigma(|z+\epsilon|) and \sigma(|z|)>\sigma(|z-\epsilon|) . The swaps producing \pi^{(j,0)} from \pi^{(j,1)} removed the descent \min\{|z|,|z+\epsilon|\}\in\Des_{\Delta}(\pi^{(j,1)},\sigma) , so \pi^{(j,0)}(|z|)>\pi^{(j,0)}(|z+\epsilon|) . Combined with ( 4.7 ), we conclude that \pi^{(j,0)}(|z|)>\pi^{(j,0)}(|z-\epsilon|) . As this matches the order of \sigma(|z|)>\sigma(|z-\epsilon|) , we see that P_{\pi^{(j,0)},\sigma}(|z|,|z-\epsilon|) is False , so iteration j of the for loop will terminate at \pi^{(j)}=\pi^{(j,0)} . ∎ 4.2. Inverse functions From Theorem 4.7 , we now have an inverse for \phi given by \psi . Our descent-preserving function \Phi was constructed using variations of \phi . We will use variations of \psi to construct inverses for \Phi_{\C_{D,n+1}} and \Phi_{\overline{\C_{D,n+1}}} . First recall from Section 3.3 that \Phi is given by \Phi(\pi)=\begin{cases}\phi(\pi)&\text{ if $\pi\in\C_{B,n+1}^{+}$ and $0\notin\Des_{\Delta}(\pi,\phi(\pi))$}\\ (-1)\phi(\pi)&\text{ if $\pi\in\C_{B,n+1}^{+}$ and $0\in\Des_{\Delta}(\pi,\phi(\pi))$}\\ -\phi(-\pi)&\text{ if $\pi\in\C_{B,n+1}^{-}$ and $0\notin\Des_{\Delta}(\pi,-\phi(-\pi))$}\\ -(-1)\phi(-\pi)&\text{ if $\pi\in\C_{B,n+1}^{-}$ and $0\in\Des_{\Delta}(\pi,-\phi(-\pi))$.}\end{cases} Based on this definition, there are several candidate pre-images for each \sigma\in B_{n} , which we describe in the next lemma. Lemma 4.8 . For any \sigma\in B_{n} , the following hold. (a) We have \psi(\sigma),\psi((-1)\sigma)\in\C_{B,n+1}^{+} and -\psi(-\sigma),-\psi(-(-1)\sigma)\in\C_{B,n+1}^{-} . (b) The parities of the \negative statistic on \sigma , \psi(\sigma) , and -\psi(-(-1)\sigma) are the same, and the parities of the \negative statistic on (-1)\sigma , \psi((-1)\sigma) , and -\psi(-\sigma) are the same. (c) We have \Phi^{-1}(\{\sigma,(-1)\sigma\})=\{\psi(\sigma),\psi((-1)\sigma),-\psi(-\sigma),-\psi(-(-1)\sigma)\} . Furthermore, these four elements belong to different subsets \C_{B,n+1}^{+}\cap\C_{D,n+1} , \C_{B,n+1}^{+}\cap\overline{\C_{D,n+1}} , \C_{B,n+1}^{-}\cap\C_{D,n+1} , and \C_{B,n+1}^{-}\cap\overline{\C_{D,n+1}} of \C_{B,n+1} . Proof. For (a), observe that in Algorithm 2 , n+1 is inserted in the cycle notation and is not involved in any swaps, as a descent at position n is not considered in the algorithm. This immediately implies that \psi(\sigma),\psi((-1)\sigma),\psi(-\sigma),\psi(-(-1)\sigma)\in\C_{B,n+1}^{+} . Changing the signs of all elements after applying \psi to a signed permutation results in -\psi(-\sigma),-\psi(-(-1)\sigma)\in\C_{B,n+1}^{-} . For (b), observe that inserting n+1 and performing the swaps in Algorithm 2 will not change the number of negatives appearing in the cycle notation, so \negative(\sigma)=\negative(\psi(\sigma)) . Turning our attention to -\psi(-(-1)\sigma) , we use this to find \begin{split}\negative(-\psi(-(-1)\sigma))&=(n+1)-\negative(\psi(-(-1)\sigma))\\ &=(n+1)-\negative(-(-1)\sigma)\\ &=(n+1)-(n-\negative((-1)\sigma))\\ &=1+\negative((-1)\sigma),\end{split} and since \negative((-1)\sigma)\in\{\negative(\sigma)-1,\negative(\sigma)+1\} , this has the same parity as \negative(\sigma) . The corresponding result for (-1)\sigma , \psi((-1)\sigma) , and -\psi(-\sigma) follows by replacing \sigma with (-1)\sigma throughout. Finally, we consider (c). From Theorem 4.7 , \phi and \psi are inverses. Using this with the definition of \Phi , any pre-images of \{\sigma,(-1)\sigma\} in \C_{B,n+1}^{+} must be in \{\psi(\sigma),\psi((-1)\sigma)\} , and any pre-images in \C_{B,n+1}^{-} must be in \{-\psi(-\sigma),-\psi(-(-1)\sigma)\} . Applying \Phi to \psi(\sigma),\psi((-1)\sigma)\in\C_{B,n+1}^{+} or -\psi(-\sigma),-\psi(-(-1)\sigma)\in\C_{B,n+1}^{-} must also result in \sigma or (-1)\sigma , so combined, we conclude \Phi^{-1}(\{\sigma,(-1)\sigma\})=\{\psi(\sigma),\psi((-1)\sigma),-\psi(-\sigma),-\psi(-(-1)\sigma)\}. The remaining claims in (c) now follow from casework based on whether \negative(\sigma) is even or odd, combined with (a) and (b). ∎ The previous result gives us four candidate elements for where to map each \sigma\in B_{n} when constructing inverses for \Phi_{\C_{D,n+1}} and \Phi_{\overline{\C_{D,n+1}}} . Recall from Corollary 3.31 that when \pi\in\C_{B,n+1}^{+} , the multiplication by (-1) in \Phi(\pi) only occurs due to 0\notin\Des(\pi) and \phi(\pi)(1)=-1 . Hence, Lemma 4.8 is sufficient for determining which element to select when \sigma(1)\notin\{-1,1\} . When \sigma(1)\in\{-1,1\} , we will need some additional results. Lemma 4.9 . Let \sigma\in B_{n} , and suppose \sigma(1)=1 . Define \pi_{1}=\psi(\sigma) , \pi_{2}=\psi((-1)\sigma) , \pi_{3}=-\psi(-\sigma) , and \pi_{4}=-\psi(-(-1)\sigma) . Then \Phi(\pi_{1})=\Phi(\pi_{2})=\sigma and \Phi(\pi_{3})=\Phi(\pi_{4})=(-1)\sigma . Proof. We first consider \Phi(\pi_{1}) , where \pi_{1}\in\C_{B,n+1}^{+} by Lemma 4.8 . If \Phi(\pi_{1})=\phi(\pi_{1}) , then Theorem 4.7 implies that \Phi(\pi_{1})=\phi(\psi(\sigma))=\sigma , so the claim holds. Otherwise, \Phi(\pi_{1})=(-1)\phi(\pi_{1}) . By Corollary 3.31 , this can only occur if 0\notin\Des(\pi_{1}) and \phi(\pi_{1})(1)=-1 . From Lemma 4.8 and the assumption \sigma(1)=1 , we can conclude \phi(\pi_{1})=(-1)\sigma , so \Phi(\pi_{1})=(-1)(-1)\sigma=\sigma . We next consider \Phi(\pi_{2}) , where \pi_{2}\in\C_{B,n+1}^{+} by Lemma 4.8 . If \Phi(\pi_{2})=(-1)\phi(\pi_{2}) , then \Phi(\pi_{2})=(-1)(-1)\sigma=\sigma , so the claim holds. Otherwise, \Phi(\pi_{2})=\phi(\pi_{2})=(-1)\sigma . As \sigma(1)=1 , we know that (-1) is a cycle in (-1)\sigma and 0\in\Des((-1)\sigma) . Additionally, \Phi(\pi_{2})=\phi(\pi_{2}) occurs when 0\notin\Des_{\Delta}(\pi_{2},\phi(\pi_{2})) , so 0\in\Des(\pi_{2}) . However, 0\in\Des(\pi_{2}) and \phi(\pi_{2})(1)=(-1)\sigma(1)=-1 contradicts Corollary 3.29 . We now consider \Phi(\pi_{3}) , where \pi_{3}\in\C_{B,n+1}^{-} by Lemma 4.8 . In the case \Phi(\pi_{3})=-(-1)\phi(-\pi_{3}) , we find \Phi(\pi_{3})=-(-1)\phi(\psi(-\sigma))=(-1)\sigma, so the claim holds. Otherwise, \Phi(\pi_{3})=-\phi(-\pi_{3})=\sigma . As \sigma(1)=1 , we know 0\notin\Des(\sigma) , so Theorem 3.35 implies that 0\notin\Des(\pi_{3}) and 0\in\Des(-\pi_{3}) . Additionally, \Phi(\pi_{3})=-\phi(-\pi_{3})=\sigma implies that \phi(-\pi_{3})=-\sigma , and since \sigma(1)=1 , we see that -\sigma(1)=-1 . However, 0\in\Des(-\pi_{3}) and \phi(-\pi_{3})(1)=-\sigma(1)=-1 similarly contradicts Corollary 3.29 . Finally, consider \Phi(\pi_{4}) , where \pi_{4}\in\C_{B,n+1}^{-} by Lemma 4.8 . If \Phi(\pi_{4})=-\phi(-\pi_{4}) , then we find \Phi(\pi_{4})=-\phi(\psi(-1)\sigma)=(-1)\sigma, and the claim holds. Otherwise, \Phi(\pi_{4})=-(-1)\phi(-\pi_{4})=-(-1)\phi(\psi(-(-1)\sigma)=\sigma. As \sigma(1)=1 , we know that 0\notin\Des(\sigma) , and Theorem 3.35 implies 0\notin\Des(\pi_{4}) . We conclude 0\in\Des(-\pi_{4}) and 0\notin\Des(\phi(-\pi_{4}))=\Des(-(-1)\sigma) , which again contradicts Corollary 3.29 . ∎ Corollary 4.10 . Let \sigma\in B_{n} , and suppose \sigma(1)=-1 . Define \pi_{1}=\psi(\sigma) , \pi_{2}=\psi((-1)\sigma) , \pi_{3}=-\psi(-\sigma) , and \pi_{4}=-\psi(-(-1)\sigma) . Then \Phi(\pi_{1})=\Phi(\pi_{2})=(-1)\sigma and \Phi(\pi_{3})=\Phi(\pi_{4})=\sigma . Proof. Define \sigma^{\prime}=(-1)\sigma so that \sigma^{\prime}(1)=1 . The result now follows by applying Lemma 4.9 to \sigma^{\prime} . ∎ With these results in mind, we can now construct inverses for \Phi_{\C_{D,n+1}} and \Psi_{\overline{\C_{D,n+1}}} . This involves casework with Lemma 4.8 , Lemma 4.9 , and Corollary 4.10 to ensure that the appropriate element from \Phi^{-1}(\sigma,(-1)\sigma) is chosen for each \sigma\in B_{n} . Definition 4.11 . Define \Psi_{\C_{D,n+1}}:B_{n}\to\C_{D,n+1} by \Psi_{\C_{D,n+1}}(\sigma)=\begin{cases}\psi(\sigma)&\text{ if $\sigma(1)\notin\{-1,1\}$ and $\negative(\sigma)$ is even}\\ -\psi(-\sigma)&\text{ if $\sigma(1)\notin\{-1,1\}$ and $\negative(\sigma)$ is odd}\\ \psi(\sigma)&\text{ if $\sigma(1)=1$ and $\negative(\sigma)$ is even}\\ \psi((-1)\sigma)&\text{ if $\sigma(1)=1$ and $\negative(\sigma)$ is odd}\\ -\psi(-(-1)\sigma)&\text{ if $\sigma(1)=-1$ and $\negative(\sigma)$ is even}\\ -\psi(-\sigma)&\text{ if $\sigma(1)=-1$ and $\negative(\sigma)$ is odd.}\end{cases} Define \Psi_{\overline{\C_{D,n+1}}}:B_{n}\to\overline{\C_{D,n+1}} by \Psi_{\overline{\C_{D,n+1}}}(\sigma)=\begin{cases}-\psi(-\sigma)&\text{ if $\sigma(1)\notin\{-1,1\}$ and $\negative(\sigma)$ is even}\\ \psi(\sigma)&\text{ if $\sigma(1)\notin\{-1,1\}$ and $\negative(\sigma)$ is odd}\\ \psi((-1)\sigma)&\text{ if $\sigma(1)=1$ and $\negative(\sigma)$ is even}\\ \psi(\sigma)&\text{ if $\sigma(1)=1$ and $\negative(\sigma)$ is odd}\\ -\psi(-\sigma)&\text{ if $\sigma(1)=-1$ and $\negative(\sigma)$ is even}\\ -\psi(-(-1)\sigma)&\text{ if $\sigma(1)=-1$ and $\negative(\sigma)$ is odd.}\end{cases} Theorem 4.12 . The functions \Phi_{\C_{D,n+1}} and \Psi_{\C_{D,n+1}} are inverses, and the functions \Phi_{\overline{\C_{D,n+1}}} and \Psi_{\overline{\C_{D,n+1}}} are inverses. Proof. We will show this for \Phi_{\C_{D,n+1}} and \Psi_{\C_{D,n+1}} . The argument for \Phi_{\overline{\C_{D,n+1}}} and \Psi_{\overline{\C_{D,n+1}}} is similar, so we leave this to the reader. From Lemma 4.8 , it is straightforward to show that the six cases of \Psi_{\C_{D,n+1}} produce elements in \C_{D,n+1} , so \Psi_{\C_{D,n+1}} is well-defined. It suffices now to show \Phi_{\C_{D,n+1}}(\Psi_{\C_{D,n+1}}(\sigma))=\sigma for all \sigma\in B_{n} . As \C_{D,n+1} and B_{n} are finite sets of the same size 2^{n}\cdot n! , it will follow that \Phi_{\C_{D,n+1}} and \Psi_{\C_{D,n+1}} are bijections that must be inverses of one another. We first consider when \sigma(1)\notin\{-1,1\} , where we will use the fact that \phi and \psi are inverses from Theorem 4.7 . In the case where \negative(\sigma) is even, we have that \Psi_{\C_{D,n+1}}(\sigma)=\psi(\sigma)\in\C_{B,n+1}^{+} and \phi(\Psi_{\C_{D,n+1}}(\sigma))=\sigma . Since \sigma(1)\notin\{-1,1\} , Lemma 3.30 implies that \Phi will not multiply by (-1) , so \Phi_{\C_{D,n+1}}(\Psi_{\C_{D,n+1}}(\sigma))=\phi(\Psi_{\C_{D,n+1}}(\sigma))=\sigma . In the case where \negative(\sigma) is odd, we have that \Psi_{\C_{D,n+1}}=-\psi(-\sigma)\in\C_{B,n+1}^{-} and -\phi(-\Psi_{\C_{D,n+1}}(\sigma))=\sigma . Lemma 3.30 similarly implies that \Phi_{\C_{D,n+1}} will not multiply by (-1) , so \Phi_{\C_{D,n+1}}(\Psi_{\C_{D,n+1}}(\sigma))=\sigma . We now consider when \sigma(1)\in\{-1,1\} . If \sigma(1)=1 and \negative(\sigma) is even, then Lemma 4.9 implies \Phi_{\C_{D,n+1}}(\Psi_{\C_{D,n+1}}(\sigma))=\Phi(\psi(\sigma))=\sigma. If \sigma(1)=1 and \negative(\sigma) is odd, then Lemma 4.9 implies \Phi_{\C_{D,n+1}}(\Psi_{\C_{D,n+1}}(\sigma))=\Phi(\psi((-1)\sigma))=\sigma. If \sigma(1)=-1 and \negative(\sigma) is even, then Corollary 4.10 implies \Phi_{\C_{D,n+1}}(\Psi_{\C_{D,n+1}}(\sigma))=\Phi(-\psi(-(-1)\sigma))=\sigma. Finally, if \sigma(1)=-1 and \negative(\sigma) is odd, then Corollary 4.10 implies \Phi_{\C_{D,n+1}}(\Psi_{\C_{D,n+1}}(\sigma))=\Phi(-\psi(-\sigma))=\sigma.\qed Our main result, Theorem 1.2 , now follows by combining Theorem 3.35 and Theorem 4.12 . Corollary 1.3 is immediate from Theorem 1.2 . 5. Asymptotic normality on cyclic signed permutations In this section, we establish Theorem 1.4 , which shows that the descent and flag major index statistics on \C_{B,n},\C_{D,n}, or \overline{\C_{D,n}} are asymptotically normal. Our general approach will be to apply Theorem 1.2 and Corollary 1.3 to approximate the distributions for the descent and flag major index statistics on \C_{B,n},\C_{D,n}, or \overline{\C_{D,n}} with the corresponding distribution on B_{n-1} . We then derive asymptotic normality on \C_{B,n} , \C_{D,n} , or \overline{\C_{D,n}} using asymptotic normality on B_{n-1} . Theorem 5.1 . Let (X_{n})_{n\geq 1} be the random variables corresponding to the descent statistic on (\C_{B,n})_{n\geq 1} , (\C_{D,n})_{n\geq 1} , or (\overline{\C_{D,n}})_{n\geq 1} with means (\mu_{n})_{n\geq 1} and variances (\sigma_{n}^{2})_{n\geq 1} . The standardized random variable (X_{n}-\mu_{n})/\sigma_{n} converges in distribution to the standard normal distribution. Proof. Fix (\Omega_{n})_{n\geq 1} to be either (\C_{B,n})_{n\geq 1} , (\C_{D,n})_{n\geq 1} , or (\overline{\C_{D,n}})_{n\geq 1} . Define X_{n}:\Omega_{n}\to\mathbb{R} to be the random variable corresponding to the descent statistic on \pi\in\Omega_{n} generated uniformly at random, and define X_{n}^{\prime}:\Omega_{n}\to\mathbb{R} to be the corresponding descent statistic on \Phi(\pi) , where \Phi is the function from Theorem 1.2 . Using these, express (5.1) \frac{X_{n}-\mu_{n}}{\sigma_{n}}=\frac{X_{n}-X^{\prime}_{n}}{\sigma_{n}}+\frac{X^{\prime}_{n}-\mu_{n-1}}{\sigma_{n-1}}\cdot\frac{\sigma_{n-1}}{\sigma_{n}}+\frac{\mu_{n-1}-\mu_{n}}{\sigma_{n}}. Theorem 1.2 implies that X_{n}-X^{\prime}_{n} is a random variable that takes values in \{0,1\} . When n is sufficiently large, Lemma 2.11 and Theorem 2.8 imply \mu_{n}=n/2 and \sigma_{n}=\sqrt{(n+1)/12} . Combining these observations, it is straightforward to verify ( 2.1 ) to show that \frac{X_{n}-X^{\prime}_{n}}{\sigma_{n}}\xrightarrow{p}0,\quad\frac{\sigma_{n-1}}{\sigma_{n}}=\frac{\sqrt{n}}{\sqrt{n+1}}\xrightarrow{p}1,\quad\text{ and }\quad\frac{\mu_{n-1}-\mu_{n}}{\sigma_{n}}=\frac{-1/2}{\sqrt{(n+1)/12}}\xrightarrow{p}0. Corollary 1.3 implies that the distribution of X^{\prime}_{n} coincides with the distribution of the descent statistic for elements of B_{n-1} generated uniformly at random. Hence, Theorem 2.8 implies that {(X^{\prime}_{n}-\mu_{n-1})}/{\sigma_{n-1}}\xrightarrow{d}\mathcal{N}(0,1) . Returning to ( 5.1 ), we now have that (5.2) \frac{X_{n}-\mu_{n}}{\sigma_{n}}=\underbrace{\frac{X_{n}-X^{\prime}_{n}}{\sigma_{n}}}_{\xrightarrow{p}{0}}+\underbrace{\frac{X^{\prime}_{n}-\mu_{n-1}}{\sigma_{n-1}}}_{\xrightarrow{d}{\mathcal{N}(0,1)}}\cdot\underbrace{\frac{\sigma_{n-1}}{\sigma_{n}}}_{\xrightarrow{p}{1}}+\underbrace{\frac{\mu_{n-1}-\mu_{n}}{\sigma_{n}}}_{\xrightarrow{p}{0}}, so the result follows from Theorem 2.7 . ∎ Theorem 5.2 . Let (X_{n})_{n\geq 1} be the random variables corresponding to the flag major index statistic on (\C_{B,n})_{n\geq 1} , (\C_{D,n})_{n\geq 1} , or (\overline{\C_{D,n}})_{n\geq 1} with means (\mu_{n})_{n\geq 1} and variances (\sigma_{n}^{2})_{n\geq 1} . The standardized random variable (X_{n}-\mu_{n})/\sigma_{n} converges in distribution to the standard normal distribution. Proof. We proceed as in the proof of Theorem 5.1 with the flag major index statistic for X_{n} and X_{n}^{\prime} to obtain ( 5.1 ) again. Theorem 1.2 , Lemma 2.12 , and Theorem 2.9 imply that when n us sufficiently large, we have 0\leq X_{n}-X_{n}^{\prime}\leq 2n+1 , \mu_{n}=n^{2}/4 , and \sigma_{n}=\sqrt{4n^{3}+6n^{2}-n}/6 . From this, we find that 0\leq\frac{X_{n}-X_{n}^{\prime}}{\sigma_{n}}\leq\frac{6(2n+1)}{\sqrt{4n^{3}+6n^{2}-n}}, \frac{\sigma_{n-1}}{\sigma_{n}}=\frac{\sqrt{4(n-1)^{3}+6(n-1)^{2}-(n-1)}}{\sqrt{4n^{3}+6n^{2}-n}}, \frac{\mu_{n-1}-\mu_{n}}{\sigma_{n}}=\frac{-3(2n-1)}{\sqrt{4n^{3}+6n^{2}-n}}. One can similarly show that ( 5.2 ) holds, and the result again follows from Theorem 2.7 . ∎ \enddoc@text Appendix A Reduction to Elizalde’s bijection When \pi\in\C_{S,n+1} is inputted into Algorithm 1 , the algorithm can be simplified significantly. In this case, \pi contains only positives in its cycle notation, so this also holds for all signed permutations \sigma encountered in the algorithm. This leads to our first reduction. Observation 1 . The absolute values and negative signs in Algorithm 1 can be omitted. Furthermore, 0\notin\Des(\pi) and 0\notin\Des(\phi(\pi)) , so \Phi(\pi)=\phi(\pi) . Order property (D) can also be used to restate the Boolean function P_{\pi,\sigma} used in lines 1 and 1 . This property holds by Theorem 3.25 . Observation 2 . In lines 1 and 1 of Algorithm 1 , P_{\pi,\sigma}(z,z+\epsilon) is True precisely when \pi(z)>\pi(z+\epsilon) and \sigma(z)<\sigma(z+\epsilon) . Additionally, the while loop in line 1 can be restated. Lemma 3.12 describes when it terminates, and the following cases remain when we combine this with 1 . Observation 3 . The while loop on line 1 terminates when the first element of \sigma_{j} is swapped or the elements preceding the ones swapped differ by more than 1 . Combining these observations, we can restate the restriction \Phi|_{\C_{S,n+1}} as the output of Algorithm 3 given below. This is consistent with the algorithm originally given in [ Eli11 , Section 2] . Input: \pi\in\C_{S,n+1} Output: a permutation in S_{n} express \pi in the cycle notation with n+1 in the final position \pi_{i_{1}},\pi_{i_{2}},\ldots,\pi_{i_{m+1}}\coloneqq the left-to-right maxima in the cycle notation above set \sigma=\sigma_{1}\sigma_{2}\dots\sigma_{m}\coloneqq(\pi_{i_{1}},\ldots,\pi_{i_{2}-1})(\pi_{i_{2}},\ldots,\pi_{i_{3}-1})\dots(\pi_{i_{m}},\ldots,\pi_{i_{m+1}-1}) for j=1,2,\ldots,m do 1 z\coloneqq the rightmost entry of \sigma_{j} if \pi(z)>\pi(z+\epsilon) and \sigma(z)<\sigma(z+\epsilon) for some \epsilon\in\{-1,1\} then 2 set \epsilon\in\{-1,1\} to be the value such that \pi(z)>\pi(z+\epsilon) , \sigma(z)<\sigma(z+\epsilon) , and \pi(z+\epsilon) is largest while \pi(z)>\pi(z+\epsilon) and \sigma(z)<\sigma(z+\epsilon) do 3 x\coloneqq z y\coloneqq z+\epsilon swap x and y in the cycle notation of \sigma if the swap did not involve the first element of \sigma_{j} and the elements preceding x and y differ by 1 then 4 x,y\coloneqq the elements respectively preceding the ones swapped continue the algorithm from line 3 z\coloneqq the rightmost entry of \sigma_{j} return \sigma Algorithm 3 Cyclic Permutation to Permutation Appendix B Colored permutations We give a brief description of the colored permutation groups, state analogs of results from this paper, and outline proofs. We refer the reader to [ LY25 ] for a more general description. The colored permutation group S_{n,r} is the wreath product \mathbb{Z}_{r}\wr S_{n} , where \mathbb{Z}_{r}=\{0,1,\ldots,r-1\} is the cyclic group on r elements. Fixing \zeta=e^{2\pi i/r} , one can view S_{n,r} as permutations on (B.1) \{i\cdot\zeta^{c}:i\in[n],c\in\mathbb{Z}_{r}\} with the property that whenever i\mapsto j\cdot\zeta^{c} for i,j\in[n] and c\in\mathbb{Z}_{r} , we have i\cdot\zeta^{d}\mapsto j\cdot\zeta^{c+d} for all d\in\mathbb{Z}_{r} . We will denote an element of S_{n,r} using a pair (\omega,\tau) , where \omega\in S_{n} and \tau:[n]\to\mathbb{Z}_{r} is a function. As a permutation on ( B.1 ), this is defined by (\omega,\tau)(i\cdot\zeta^{c})=\omega(i)\cdot\zeta^{c+\tau(i)} for all i\in[n] and c\in\mathbb{Z}_{r} . As the images of the elements in [n] are sufficient for determining a colored permutation, these uniquely determine (\omega,\tau) . The one-line notation expresses these elements in the form [\omega(1)\cdot\zeta^{\tau(1)},\omega(2)\cdot\zeta^{\tau(2)},\dots,\omega(n)\cdot\zeta^{\tau(n)}]. Elements in S_{n,r} can also be expressed in cycle notation. The two-line cycle notation for (\omega,\tau) consists of disjoint cycles of the form \begin{pmatrix}a_{\ell}&a_{1}&\ldots&a_{\ell-1}\\ a_{1}\cdot\zeta^{\tau(a_{\ell})}&a_{2}\cdot\zeta^{\tau(a_{1})}&\ldots&a_{\ell}\cdot\zeta^{\tau(a_{\ell-1})}\end{pmatrix}, where a_{1},a_{2},\ldots,a_{\ell}\in[n] . The (one-line) cycle notation is obtained by deleting the first line, resulting in \left(a_{1}\cdot\zeta^{\tau(a_{\ell})},a_{2}\cdot\zeta^{\tau(a_{1})},\ldots,a_{\ell}\cdot\zeta^{\tau(a_{\ell-1})}\right), where we include commas for clarity. A colored permutation (\omega,\tau)\in S_{n,r} is cyclic if its cycle notation consists of a single cycle of length n , and we use \C_{S,n,r} to denote the set of cyclic permutations in S_{n,r} . Additionally, the color of (\omega,\tau)\in S_{n,r} is the element \sum_{i\in[n]}\tau(i)\in\mathbb{Z}_{r} . We now consider descents. By fixing the ordering 1<2<3<\dots<1\cdot\zeta<2\cdot\zeta<3\cdot\zeta<\dots<1\cdot\zeta^{r-1}<2\cdot\zeta^{r-1}<3\cdot\zeta^{r-1}<\ldots, the descent set of (\omega,\tau)\in S_{n,r} is defined as \Des(\omega,\tau)=\{i\in[n]:(\omega,\tau)(i)>(\omega,\tau)(i+1)\}, where n+1 is a fixed point by convention. Alternatively, i\in\Des(\omega,\tau) when either \tau(i)>\tau(i+1) , or \tau(i)=\tau(i+1) and \omega(i)>\omega(i+1) . From this, the descent statistic is defined as \des(\omega,\tau)=|\Des(\omega,\tau)| . We emphasize that this differs from the descent set and statistic for a signed permutation in B_{n}\cong S_{n,2} , as the total order used for defining descents is different and n is a possible descent instead of 0 . For this notion of descents, one can establish a generalization of Theorem 1.1 . Theorem B.1 . For any positive integers n and r , there exists a function \Phi:\C_{S,n+1,r}\to S_{n,r} with the following properties: (a) for all (\omega,\tau)\in\C_{S,n+1,r} , we have \Des(\omega,\tau)\cap\{1,2,\ldots,n-1\}=\Des(\Phi(\omega,\tau)) , and (b) the restriction of \Phi to the elements of \C_{S,n+1,r} with any fixed color is a bijection. Proof. Let \phi:\C_{S,n+1}\to S_{n} be the bijection from Theorem 1.1 . Extend this to a map \Phi on \C_{S,n+1,r} by defining \Phi(\omega,\tau)=(\phi(\omega),\tau|_{[n]}) , where \tau|_{[n]} denotes the restriction of \tau . For any i\in[n-1] , we consider a descent at position i by focusing on the one-line notations for (\omega,\tau) and \Phi(\omega,\tau) . • If \tau(i)\neq\tau(i+1) , then a descent at position i in (\omega,\tau) and \Phi(\omega,\tau) is determined by the relative order of \tau(i)=\tau|_{[n]}(i) and \tau(i+1)=\tau|_{[n]}(i+1) as elements in \mathbb{Z} . Hence, i\in\Des(\omega,\tau) if and only if i\in\Des(\Phi(\omega,\tau)) . • If \tau(i)=\tau(i+1) , then a descent at position i in (\omega,\tau) and \Phi(\omega,\tau) is determined by whether or not there is a descent at position i in \omega and \phi(\omega) . By Theorem 1.1 , i\in\Des(\omega) if and only if i\in\Des(\phi(\omega)) , so we conclude i\in\Des(\omega,\tau) if and only if i\in\Des(\Phi(\omega,\tau)) . Combined, we see that (a) holds. For (b), we fix a color c\in\mathbb{Z} . We map each (\omega^{\prime},\tau^{\prime})\in S_{n,r} to an element (\omega,\tau)\in\C_{S,n+1,r} as follows: • define \omega=\phi^{-1}(\omega^{\prime}) , and • extend \tau^{\prime}:[n]\to\mathbb{Z}_{r} to \tau:[n+1]\to\mathbb{Z}_{r} by defining \tau(n+1)=c-\sum_{i\in[n]}\tau^{\prime}(i)\in\mathbb{Z}_{r}. It is straightforward to show that this is the inverse of \Phi on the elements of \C_{S,n+1,r} with color c . ∎ Remark B.2 . In general, the bijection in the proof of Theorem B.1 does not preserve the descent at position n . This descent for (\omega,\tau)\in\C_{S,n+1,r} is determined by the relative order of (\omega,\tau)(n) and (\omega,\tau)(n+1) , while this only depends on \tau(n) for \Phi(\omega,\tau)\in S_{n,r} . Additionally, n+1 is a possible descent for (\omega,\tau)\in\C_{S,n+1,r} , while it is not a possible descent for \Phi(\omega,\tau)\in S_{n,r} . Combined, we see that \Des(\omega,\tau) and \Des(\Phi(\omega,\tau)) can potentially differ at two values, n and n+1 . We next consider the flag major index statistic. For (\omega,\tau)\in S_{n,r} , define the following statistics: • the major index statistic is \maj(\omega,\tau)=\sum_{i\in\Des(\omega,\tau)\cap[n-1]}\,i , • the color statistic is \col(\omega,\tau)=\sum_{i\in[n]}\tau(i) , and • the flag major index statistic is \fmaj(\omega,\tau)=r\cdot\maj(\omega,\tau)+\col(\omega,\tau) . Note that the color statistic chooses representative elements from \{0,1,\ldots,r-1\} for each \tau(i) , but adds them as elements in \mathbb{Z} . One can now establish the following analog of Theorem 1.4 for colored permutations. The proof of this result proceeds similarly to the proof of Theorem 1.4 given in Section 5 . It will use Theorem B.1 in place of Theorem 1.2 , the general S_{n,r} versions of Theorems 2.8 and 2.9 given in [ CM12 ] , and analogs of Lemmas 2.11 and 2.12 that can be established using the results in [ CLL+25 ] . Theorem B.3 . Let (X_{n})_{n\geq 1} be the random variables corresponding to either the descent or flag major index statistic on the cyclic permutations in S_{n,r} with colors in any fixed, nonempty subset of \mathbb{Z}_{r} . Letting (\mu_{n})_{n\geq 1} and (\sigma_{n}^{2})_{n\geq 1} denote the respective means and variances, the standardized random variable (X_{n}-\mu_{n})/\sigma_{n} converges in distribution to the standard normal distribution.