For a permutation input, the first row of its RSK insertion tableau is the minimum-tail table for increasing subsequences: its th entry is the least attainable final value of a strictly increasing subsequence of length in the processed prefix. Inserting replaces the first entry larger than , or appends if none exists. In replacement position , the previous entry in position supplies a subsequence that can be extended by . Shorter minimum tails were already smaller, and a longer subsequence ending at would require an old tail in position at least smaller than , contrary to the replacement rule. This proves the invariant inductively. Consequently the first-row length is the longest increasing subsequence length. The row entries need not be a subsequence together: input gives first row , although one occurs after three. They are minima for different lengths, obtained from potentially different subsequences.
Articles by others on the same topic
There are currently no matching articles.