Skip to content

Along which up-right path can one collect the most weight from a rectangular array? For nonnegative integer weights the answer is the length of the first row of its Robinson–Schensted–Knuth (RSK) shape. The path identity holds for each array. Specifying how that array is sampled then gives a probability law for the maximal weight.

Use sites (i,j)(i,j), 1≤i≤M1\le i\le M, 1≤j≤N1\le j\le N; a step increases exactly one index by one. Count both endpoints of a path from (1,1)(1,1) to (M,N)(M,N). Given integers wij≥0w_{ij}\ge0, write wijw_{ij} copies of (i,j)(i,j) in lexicographic order, sorting jj increasingly within each ii. Read only their second entries to obtain a word. On a directed path the entries of that word are weakly increasing. Conversely any weakly increasing subsequence selects sites with both indices nondecreasing, so it can be embedded in a path; additional sites cannot reduce its weight. The maximum path weight G(M,N)G(M,N) is therefore the longest weakly increasing subsequence length. Johansson, §2, Lemma 2.1, author PDF

Insert the letters into a tableau. In each row replace the first strictly larger entry by the incoming letter and insert the displaced entry into the next row. If no larger entry exists, append at the right end and stop. Rows are weakly increasing and columns strictly increasing. The first row stores the smallest possible last letter of a weakly increasing subsequence of each length. On inserting jj, a subsequence ending at any letter ≤j\le j can be extended, and overwriting the next larger last letter gives exactly this update. The first-row length is consequently G(M,N)G(M,N). Recording the first index ii in each newly created cell gives a second tableau of the same shape.

Take W=(215231)W=\left(\begin{smallmatrix}2&1&5\\2&3&1\end{smallmatrix}\right). There are three paths, determined by the column in which they move to the second row. Switching in columns 1,2,31,2,3 gives totals 8,7,98,7,9. Independently insert the first row’s letters 1,1,2,3,3,3,3,31,1,2,3,3,3,3,3, followed by the second row’s letters 1,1,2,2,2,31,1,2,2,2,3. The first incoming 11 from the second row bumps the existing 22 into a new row. Continuing gives insertion rows

(1,1,1,1,2,2,2,3,3),(2,3,3,3,3).(1,1,1,1,2,2,2,3,3),\qquad (2,3,3,3,3).

The common shape is (9,5)(9,5); its first row gives the maximum 99, and its size 1414 is the total weight in all sites. Replacing “strictly larger” by “at least as large” would bump repeated letters and lose this path statistic.

Two arrays can share a longest subsequence and still have different insertion shapes. For the word of column entries define LkL_k as the largest number of positions that can be covered by kk disjoint weakly increasing subsequences. Positions assigned to one subsequence cannot also be counted in another. Greene’s theorem says

Lk=λ1+⋯+λk.L_k=\lambda_1+\cdots+\lambda_k .

In particular, λ2=L2−L1\lambda_2=L_2-L_1. One optimizes the total covered by both subsequences together. For example, in 2,4,1,32,4,1,3 the longest choice 2,32,3 leaves the decreasing pair 4,14,1, while the two chains 2,42,4 and 1,31,3 cover all four letters. Greene, “An extension of Schensted’s theorem” · O’Donnell and Wright, word formulation, p. 16, Theorem 2.14, author PDF

Consider the permutation 4,5,6,1,2,34,5,6,1,2,3. No increasing subsequence can cross from its high first block into the low second one. The maximum length is three. Two increasing subsequences can cover the whole word, one for each block. Hence L2=6L_2=6 and the shape is (3,3)(3,3).

Move the 66 to the beginning to obtain 6,4,5,1,2,36,4,5,1,2,3. Again L1=3L_1=3, attained by 1,2,31,2,3. This time 6,4,16,4,1 occur in decreasing order. Each increasing subsequence can contain at most one of these three positions, so two subsequences must miss at least one. The pair 4,54,5 and 1,2,31,2,3 attains the upper bound of five. The shape is therefore (3,2,1)(3,2,1): the first two rows contain five of the six letters. In the diagram a chain moves right through the word and up in letter value. The open point shows which position one maximizing cover leaves out.

Two rising chains cover all six points of the first permutation. In the second, they cover five and leave the leading six open.

Each point is one position of a permutation, with letter value on the vertical axis. Solid circles and dashed squares give disjoint increasing subsequences. Both permutations have longest subsequence length three, while the best two-subsequence covers have sizes six and five. The segments join the selected letters and can skip intervening positions.

The finite-growth calculation (Python) checks all 720 permutations of length six by row insertion and, independently, by enumerating pairs of disjoint increasing subsequences. When a general matrix has repeated weights, disjointness refers to copies in the word. Distinct copies of one site can be assigned to different subsequences.

Choose nonnegative parameters ai,bja_i,b_j with aibj<1a_ib_j\lt1 and draw independent geometric weights with P(wij=k)=(1−aibj)(aibj)k\mathbb P(w_{ij}=k)=(1-a_ib_j)(a_ib_j)^k, k≥0k\ge0. For a fixed array its weight factors into the constant ∏ij(1−aibj)\prod_{ij}(1-a_ib_j) and monomials recording row and column sums. RSK is a bijection onto pairs of semistandard tableaux of common shape λ\lambda: the recording tableau has content given by the row sums and the insertion tableau by the column sums. Summing the monomials at fixed shape gives sλ(a)sλ(b)s_\lambda(a)s_\lambda(b), where a Schur polynomial is the generating function of such tableaux. Thus

P(G(M,N)≤h)=∏ij(1−aibj)∑λ1≤hsλ(a)sλ(b).\mathbb P(G(M,N)\le h) =\prod_{ij}(1-a_ib_j) \sum_{\lambda_1\le h}s_\lambda(a)s_\lambda(b).

At h=0h=0 only the empty partition contributes. Every site lies on some directed path, so G=0G=0 also means that every site is empty, with exactly the probability on the right. Correlated weights still obey the deterministic path identity but generally change the summed tableau weights. Johansson, §2, equations (2.1)–(2.3) and the tableau bijection, author PDF

  • C. Greene, “An extension of Schensted’s theorem,” Advances in Mathematics 14 (1974), 254–265. DOI
  • K. Johansson, “Shape Fluctuations and Random Matrices,” Communications in Mathematical Physics 209, 437–476 (2000). DOI
  • R. O’Donnell and J. Wright, “Quantum Spectrum Testing,” Communications in Mathematical Physics 387 (2021), 1–75. The word formulation is Theorem 2.14 on p. 16 of the 2015 manuscript. DOI · Author manuscript