Generating key points…
Answers are grounded in this paper and cite their sources.
The leading monomial coefficient of the chromatic symmetric function of a Dyck path is \(# P\)-complete to compute. The input is the path alone. The coefficient is prescribed by its first-fit colouring, and the hardness reduction uses one coefficient query followed by polynomial-time exact integer arithmetic. This answers the second question in Matherne, Morales and Selover, Remark 7.13, p. 24. For a Dyck path \(d\) of semilength \(N\), number the vertices of its indifference graph \(G(d)\) from \(1\) to \(N\). If \(h(i)\) is the height of the \(i\)-th east step in the north–east convention above the diagonal, the later neighbours of \(i\) are \(i+1,…,h(i)\). First-fit visits the vertices in this order and assigns each vertex the smallest positive integer absent from its earlier neighbours. Let \(λ=λᵍʳ(d)=(λ_1,…,λ_s)\) be the partition obtained by sorting the positive colour-class sizes in decreasing order. Matherne, Morales and Selover establish that this partition dominates every partition occurring in the monomial expansion, meaning that its first \(t\) parts sum to at least the first \(t\) parts of each such partition for every \(t\), with missing parts treated as zero. Matherne, Morales and Selover, §4.1 and Lemma 4.11. Write \(X_G=∑_κ∏v∈ V(G)xκ(v)\), where \(κ\) runs over proper colourings by positive integer labels, and let \(m_λ\) be the sum of distinct monomials with positive exponents given by \(λ\). The value in question is \[[m_λ]XG(d)=[x_1λ_1⋯ x_sλ_s]XG(d). \] It counts proper colourings in which label \(i\) occurs exactly \(λ_i\) times for each \(1≤ i≤ s\). The empty path has value \(1\). First-fit and the multiplicity checks take polynomial time, so a machine with one computation branch per candidate labelled colouring gives membership in \(# P\). The hardness result applies with unrestricted semilength and width. It also gives hardness for the first question in the same remark, where the partition is supplied with the path, by computing the greedy partition and supplying it as that input. Matherne, Morales and Selover, Remark 7.13, p. 24. The reduction gives an exact way to encode counts of optional adjacent swaps. For a word \(W\) of adjacent transpositions on \(K\) positions, let \(s_i\) exchange positions \(i,i+1\), let \(Π W_J\) denote the product of the letters at positions in \(J\) applied in word order starting from the identity, and let \(δ(W)\) be the Demazure product, obtained by performing each swap only if it increases the current inversion count. The construction gives a path \(d(W)\) with \(k^2+k|W|\) vertices, where \(k=K+1\), and \[[m_{λᵍʳ(d(W))}]XG(d(W)) =#\{J⊆\{1,…,|W|\}:Π W_J=δ(W)\}. \] To build the path, use a first-in-first-out queue. An arrival appends a vertex adjacent to every vertex then in the queue, an expiration removes the oldest vertex, and a refresh expires one vertex and appends one. The height \(h(i)\) is the total number of arrivals when vertex \(i\) expires. Grow the queue to size \(k\) by appending one vertex at each new capacity \(=1,…,k\) and then refreshing the \(-1\) old slots. For each \(s_i\) in \(W\), refresh \(i-1\) slots, expire two vertices and append two, then refresh the remaining \(k-i-1\) old slots. In the resulting first-fit queue, compute \(p_\), the position of colour \(\) after deleting all colours greater than \(\). For \(=k,k-1,…,2\), refresh \(p_-1\) slots, expire two vertices and append one, then refresh the remaining \(-p_-1\) old slots. Finally expire the last vertex. Each block of \(b\) arrivals is a clique, and the prescribed multiplicities force it to use exactly labels \(1,…,b\). At full capacity this makes a single refresh deterministic and gives the two-vertex refresh its optional swap. The shrinking blocks enforce the prescribed final permutation. One query can recover counts by the numbers of selected letters in two classes. Partition the \(m=|W|\) positions into \(E,F\), of sizes \(d_x,d_y\), and put \[P(x,y)=∑Π W_J=δ(W)x|J∩ E|y|J∩ F|. \] For each adjacent swap, take a fresh marker smaller than every data label, sweep it from the left to immediately before the data pair, apply the relative word \(s_1s_2s_1s_2\) on the three positions, then sweep the marker to the right of the data. Unused markers occupy the left prefix and retired markers occupy the right suffix. With the marker required at its retirement position, the four-letter word gives three choices that preserve the pair and two that exchange it. Repeating the operation \(r\) times with fresh markers gives \(A_r=(5^r+1)/2\) preserving choices and \(A_r-1\) exchanging choices. Repeat each \(E\)-operation \(r_x=2m+2\) times and each \(F\)-operation \(r_y=d_xr_x+2m+5\) times. The single query on the path for the enlarged word returns \[Q=Ad_xBd_yP(1-1/A,1-1/B), A=Ar_x, B=Ar_y. \] If \(P(1-u,1-v)=∑ᵢ₌₀d_x∑ⱼ₌₀d_ycᵢⱼu^iv^j\), then the balanced base-\(B\) digits of \(Q\), at powers \(d_y-j\), are \(∑_i cᵢⱼAd_x-i\). The balanced base-\(A\) digits of each of these integers, at powers \(d_x-i\), are \(cᵢⱼ\). At each division take the unique remainder strictly between minus and plus half the radix. The chosen radices give \(|cᵢⱼ|<A/2\) and \(|∑_i cᵢⱼAd_x-i|<B/2\). Substituting \(u=1-x\) and \(v=1-y\) recovers \(P\). For an \(n\)-by-\(n\) zero–one matrix \(M\), the coefficient \([x³ⁿyd_y]P\) gives its permanent, the number of perfect row-to-column matchings. Use three groups of \(n\) positions \(R_i,C_i,S_i\), and offer swaps in three successive stages. Offer \((R_i,C_j)\) wherever \(Mᵢⱼ=1\), then all \((C_j,S_i)\), then all \((R_i,C_j)\), fixing any order within each stage. Implement an offered swap of positions \(a<b\) by \((s_a⋯ sb-2)sb-1(sb-2⋯ s_a)\), with empty outer words for adjacent positions. Mark the central letters as \(E\) and the outer letters as \(F\). Append a reduced word in class \(F\) for \(π⁻¹w_0\), where \(π=∏_i(R_i\,S_i)\) and \(w_0\) reverses all \(3n\) data positions. If a polynomial-time matching test finds a perfect matching, then \(δ(W)=w_0\). The degree \(d_y\) selects every \(F\)-letter, and degree \(3n\) at the specified endpoint selects exactly one mask per perfect matching. If the test finds no perfect matching, use the empty-path query and return zero. The words, paths and integer bit lengths are polynomial in the input size. The single-query completeness of the zero–one permanent transfers through this construction. Ben-Dor and Halevi, Theorem 1.
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: