How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
The Schensted theorem on longest increasing and decreasing subsequences
Statement
Let be a word of pairwise distinct real numbers and let be its insertion tableau, of shape (Row insertion and the bumping route). Call a subsequence (with ) increasing when and decreasing when . Then the length of a longest increasing subsequence of equals the number of columns of , and the length of a longest decreasing subsequence equals the number of rows of . For the empty word both longest lengths and both numbers are .
Facts & Assumptions
Given: A word of pairwise distinct real numbers, its insertion tableaux of shape , and the basic subsequences of .
At each step the letter is placed in some position of the first row of ; each is the list, in insertion order, of the letters whose position at their own insertion is , and the form a partition of the letters of into decreasing subsequences; moreover for every with the entry occupying position of the first row at the moment is inserted belongs to , was inserted earlier than , and satisfies (Basic subsequences of the first row, Row insertion and the bumping route).
The first row of is strictly increasing and the shape is a partition, so the occupied positions of the first row are exactly , and positions of the first row are filled and refilled from the left, a position receiving a letter only at a step when it already exists or is appended (Monotonicity of the bumping route and standardness of the output, Tableaux and standard tableaux).
For the reversed word one has , so the first row of is the first column of and the number of columns of equals the number of rows of (Reversing a word transposes its insertion tableau).
Proof
(Nonempty basic subsequences.) For each the final first row of has an entry in position , which was placed there at some step, and that step's letter lies in ; hence . For no step can place a letter in position , because positions of the first row never exceed at the end; hence . So the nonempty basic subsequences are exactly .
(Decreasing property and predecessor property.) Each is strictly decreasing in the order of insertion, and each element of with has an earlier inserted element with ; these are the two assertions of the basic subsequence lemma.
(Upper bound for increasing subsequences.) Let with be an increasing subsequence. The letters of are partitioned by the sets (step 1.1), and within a fixed the letters occur in insertion order with strictly decreasing values (step 1.2); an increasing subsequence meets in at most one letter, since two letters of occur in the order of their positions in and their values decrease. Hence , so the longest increasing length is at most .
(Lower bound for increasing subsequences.) If set and choose any element , which exists by step 1.1; recursively for apply the predecessor property of step 1.2 to to choose inserted earlier than with . Reading the letters in the order of the word : by construction the insertion times strictly increase from to , so the positions in strictly increase, and the values strictly increase; hence they form an increasing subsequence of of length .
(Increasing case.) For steps 2.1 and 2.2 give that the longest increasing subsequence length equals ; for there is no first row, , and the empty word has no nonempty subsequence, so the longest increasing length is .
(Decreasing case.) An increasing subsequence of the reversed word, with , corresponds to the index sequence in with , a decreasing subsequence of the same length; the correspondence is a bijection on subsequences, so the longest decreasing length of equals the longest increasing length of , which by step 3.1 is the number of columns of .
(Number of rows.) By [L3] the number of columns of equals the number of rows of , namely ; combining with step 4.1, the longest decreasing subsequence length equals . Together with step 3.1 this is the theorem; for both lengths and both are .
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
10 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- C. Schensted, Longest Increasing and Decreasing Subsequences, Canadian Journal of Mathematics 13 (1961), 179-191 (13 pp.) (standard reference, not scraped)
- Donald E. Knuth, Permutations, Matrices, and Generalized Young Tableaux, Pacific Journal of Mathematics 34 (1970), 709-727 (standard reference, not scraped)
- Jeremy L. Martin, Lecture Notes on Algebraic Combinatorics (263 pp.) (standard reference, not scraped)