first entry of schensted shape is length of longest increasing subsequence

Tags: #theorem

Statement

Let w be a permutation and λ be its Schensted shape. Then, λ1 is the length of the longest increasing subsequence of w.

Proof

For each i, let Bi for i=1,,λ1 be the entries of w that were originally inserted by the Schensted insertion algorithm in the ith column of the first row. (this will happen to look like the ith columns of the resulting P tableaux read from bottom to up).

For example, if we had w=3,5,2,4,7,1,6, then
B1={3,2,1}
B2={5,4}
B3={7,6}

We make two observations:

  1. The entries of each Bi are decreasing
    1. This is because every time we add something to bump an entry in the first row down, we are adding something that is smaller than whatever we bumped
  2. For all i2 and xBi, there exists a yBi1 such that y<x and y is to the left of x in w
    1. When we insert x (into the first row), we can take y to be the entry to the left of x

Then, we can start with some xBλ and then iteratively apply observation 2 to build a sequence of length λ1 that is increasing.

To show that this is the longest increasing subsequence, we note that if we pick more than λ1 elements, we would have to pick two from the same Bi, but the elements of Bi are decreasing by (1), so this cannot happen.