Generating key points…
Answers are grounded in this paper and cite their sources.
The Catalan involution \(h\) of Claesson, Kitaev, Steingrímsson and Wang can be computed by counting weak record minima in the depths of a Dyck path. A Dyck word has equally many up-steps \(U\) and down-steps \(D\), of heights \(+1\) and \(-1\), and never goes below height zero. Cutting a nonempty word at its last visit to zero before the end gives \(AUBD\), with \(A\) and \(B\) themselves Dyck words. The original rule is \(h(AUBD)=h(B)Uh(A)D\), with the empty word fixed. If \(d_i\) is the height just before the \(i\)th up-step and there are \(n\) up-steps, the output height \(b_j\) just before its \(j\)th up-step is given by \[s_i=#\{k:i<k≤ n,\ d_k=mini≤ r≤ kd_r\}, bₙ₊₁₋ᵢ=s_i(1≤ i≤ n). \] The count starts with \(d_i\) as the running minimum and includes ties. This same depth rule gives direct formulas in four labelled families, each with its own way of reading the input depths and recovering the output labels. To compute all \(s_i\) in linear time, scan from right to left with a stack, discarding strictly greater depths. If the remaining top index is \(k\), set \(s_i=1+s_k\). If the stack is empty, set \(s_i=0\). Then push \(i\). For a standard tableau with two rows and \(n\) columns, the question is how to obtain the two rows of \(h\) directly from the original labels. Write \([N]=\{1,…,N\}\), with \([0]=\). The tableau uses each label in \([2n]\) once, with rows increasing left to right and columns increasing downwards. If its top row is \(a_1<⋯<a_n\), use \(d_i=2i-1-a_i\) in the depth rule. The output top label in column \(n+1-i\) is \[aⁿᵉʷₙ₊₁₋ᵢ=2(n+1-i)-1-s_i. \] The bottom row is the increasing complement in \([2n]\). For example, the top row \((1,2,4)\) becomes \((1,2,5)\). The formula uses only the input top row, takes linear time and fixes the empty tableau. Original tableau question, §3.7, p. 16 For a noncrossing partition of \([n]\), the question is which labels share a block after applying \(h\). Noncrossing means that no \(a<b<c<d\) have \(a,c\) in one block and \(b,d\) in a different block. Let \(m(x)\) be the least label in the block containing \(x\). List the labels as \(e_1,…,e_n\) by increasing \(m(x)\), breaking ties by decreasing \(x\). Compute the common counts \(s_i\) using the following depths, then compute \(_i\) and \(p_i\) for each \(1≤ i≤ n\). \[d_i=#\{x∈[n]:e_i<x,\ m(x)≤ e_i\}, _i=max(\{j:1≤ j<i,\ s_j≤ s_i\}∪\{0\}), p_i=n-_i-s_i. \] The \(p_i\) list every label in \([n]\) once. For each \(2≤ i≤ n\) with \(sᵢ₋₁=s_i+1\), join \(pᵢ₋₁\) to \(p_i\). The connected components, including isolated labels, are exactly the output blocks. These joins record first-child links in the corresponding plane tree, and \(p_i\) counts edge returns through the return of the edge in question. Grouping by block minima, taking prefix sums of the interval counts on \([m(x),x-1]\), and using stacks for the depth comparisons give linear time and space. The empty partition gives the empty partition. Original noncrossing-partition question, §3.8, p. 16 The tertiary composition question asks for a direct rule on a concrete Catalan family for every ordered pair of inputs. On Dyck words \(P,Q\), cut \(P\) between the two up-steps in its rightmost occurrence of \(UU\), counting overlapping occurrences. If there is no \(UU\), cut at the beginning. With \(P=PbeforePafter\) at this cut, the exact rule is \[P⊕_3 Q=Pbefore\,Q\,Pafter. \] In the corresponding rooted plane tree, whose children are ordered from left to right, this inserts the children of the root of \(Q\) before the existing children of the last nonleaf vertex entered in the depth-first traversal of \(P\). The insertion is at the root when \(P\) has no \(UU\). An empty input on either side returns the other input. Finding the cut and writing the result take linear time in the total word length. Original tertiary-composition question, §6(6), p. 32 The additions give formulas for \(h\) in two permutation families and for the secondary composition in one of them. Write \(Av_n(τ)\) for the permutations of \([n]\) with no three entries, in increasing order of position, whose relative order is the pattern \(τ\). A right-to-left minimum is an entry smaller than every entry to its right. In the original tree correspondence for \(Av_n(321)\), these entries occupy exactly the positions allocated on descending to a leaf. The other positions receive edge-return labels in increasing order. This distinction lets both operations recover individual values directly in permutation coordinates. The question for \(h\) on \(Av_n(321)\) uses the original boxed insertion and primary direct sum. For a nonempty input \(π\), compute the depths and then use the common counts \(s_i\) to form \[d_i=i-mini≤ j≤ nπ_j, c_i=i-sₙ₊₁₋ᵢ(1≤ i≤ n), cₙ₊₁=n+1. \] At each position \(i\) for which \(c_i<cᵢ₊₁\), place \(c_i\). These strict increases identify the leaf positions and give their labels. Fill the remaining positions from left to right with the unused elements of \([n]\) in increasing order. This gives \(h(2413)=3124\), for example. The formula works in linear time and space at every length and fixes the empty permutation. Original \(321\)-avoider involution question, §3.5 and §6(1) The question for \(h\) on \(Av_n(231)\) uses the original insertion that prepends a new maximum and the primary direct sum, which concatenates the inputs after shifting the values of the second by the length of the first. For an input \(π\), count the earlier larger entries and apply the same depth rule. \[d_i=#\{k:1≤ k<i,\ π_k>π_i\}, b_j=sₙ₊₁₋ⱼ, e_j=min(\{k:j<k≤ n,\ b_k≤ b_j\}∪\{n+1\}). \] The output at position \(j\) is \(h(π)_j=e_j-1-b_j\) for \(1≤ j≤ n\). The earlier larger entries count the ancestral edges in the original tree labelling. In the output, \(e_j\) marks the first opening beyond the subtree, or the end sentinel, so \(e_j-1-b_j\) gives the edge's return label. To find \(d_i\) in linear time, scan left to right, pop smaller values from a decreasing stack, take its length and then push \(π_i\). The \(231\)-avoidance condition ensures that a popped value can never contribute to a later count. The depth comparisons also use linear scans, giving linear time and space for the whole formula, including the empty case. Original \(231\)-avoider involution question, §3.4 and §6(1) The secondary composition question asks how to compute \(π⊖σ\) directly for every ordered pair of \(321\)-avoiders. Either empty permutation is an identity. For nonempty inputs of lengths \(n,m\), respectively, let \(x=π_n\) and let \(R⊆[m]\) consist of the positions of \(σ\) that are not right-to-left minima. Construct the output as follows. 1. In positions \(1,…,n\), keep \(π_i\) wherever \(π_i<x\) and reserve all other positions. 2. In position \(n+j\), place \(σ_j+x-1\) if \(j∉ R\) and reserve the position if \(j∈ R\). 3. Fill the reserved positions from left to right with \(σ_j+x-1\) for \(j∈ R\) in increasing order of \(j\), followed by \(x+m,x+m+1,…,n+m\). The original tree operation identifies the rightmost leaf of the first tree with the root of the second. In permutation coordinates, the slots still awaiting return labels at that splice are detected by the threshold \(x\), and the inserted tree's leaf labels retain their shifted positions. The resulting rule takes \(O(n+m)\) time, with no recursive extraction of primary components. For example, \(2413⊖21=241563\). Original secondary-composition question, §6(7)
No takes yet. Share an insight, caveat, or question.
Zixuan He (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: