Alphabeta Math
TheoremStatement: Literature-sourcedProof: Literature-sourcedPipeline-generatedjudge pass (gpt-6.1-sol)
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 w=(w1,…,wN) be a word of pairwise distinct real numbers and let P(w) be its insertion tableau, of shape λ (Row insertion and the bumping route). Call a subsequence wk1,…,wkr (with k1<⋯<kr) increasing when wk1<⋯<wkr and decreasing when wk1>⋯>wkr. Then the length of a longest increasing subsequence of w equals the number λ1 of columns of P(w), and the length of a longest decreasing subsequence equals the number λ1′ of rows of P(w). For the empty word both longest lengths and both numbers are 0.

Facts & Assumptions

Given: A word w=(w1,…,wN) of pairwise distinct real numbers, its insertion tableaux Pk=P(w1,…,wk) of shape λ(k), and the basic subsequences S1,S2,… of w.

[L1]

At each step k the letter wk is placed in some position j of the first row of Pk; each Sj is the list, in insertion order, of the letters whose position at their own insertion is j, and the Sj form a partition of the letters of w into decreasing subsequences; moreover for every x∈Sj with j≥2 the entry y occupying position j−1 of the first row at the moment x is inserted belongs to Sj−1, was inserted earlier than x, and satisfies y<x (Basic subsequences of the first row, Row insertion and the bumping route).

[L2]

The first row of Pk is strictly increasing and the shape λ(k) is a partition, so the occupied positions of the first row are exactly 1,…,λ1(k), 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).

[L3]

For the reversed word wr=(wN,…,w1) one has P(wr)=P(w)t, so the first row of P(wr) is the first column of P(w) and the number of columns of P(wr) equals the number of rows of P(w) (Reversing a word transposes its insertion tableau).

Proof

technique · direct
1.1L1L2

(Nonempty basic subsequences.) For each j∈{1,…,λ1} the final first row of P(w)=PN has an entry in position j, which was placed there at some step, and that step's letter lies in Sj; hence Sj≠∅. For j>λ1 no step can place a letter in position j, because positions of the first row never exceed λ1 at the end; hence Sj=∅. So the nonempty basic subsequences are exactly S1,…,Sλ1.

1.2L1given

(Decreasing property and predecessor property.) Each Sj is strictly decreasing in the order of insertion, and each element x of Sj with j≥2 has an earlier inserted element y∈Sj−1 with y<x; these are the two assertions of the basic subsequence lemma.

2.1step 1.1step 1.2algebra

(Upper bound for increasing subsequences.) Let wk1<⋯<wkr with k1<⋯<kr be an increasing subsequence. The letters of w are partitioned by the sets Sj (step 1.1), and within a fixed Sj the letters occur in insertion order with strictly decreasing values (step 1.2); an increasing subsequence meets Sj in at most one letter, since two letters of Sj occur in the order of their positions in w and their values decrease. Hence r≤#{j:Sj≠∅}=λ1, so the longest increasing length is at most λ1.

2.2step 1.1step 1.2algebra

(Lower bound for increasing subsequences.) If N≥1 set λ1≥1 and choose any element xλ1∈Sλ1, which exists by step 1.1; recursively for j=λ1,…,2 apply the predecessor property of step 1.2 to xj to choose xj−1∈Sj−1 inserted earlier than xj with xj−1<xj. Reading the letters x1,…,xλ1 in the order of the word w: by construction the insertion times strictly increase from x1 to xλ1, so the positions in w strictly increase, and the values strictly increase; hence they form an increasing subsequence of w of length λ1.

3.1step 2.1step 2.2given

(Increasing case.) For N≥1 steps 2.1 and 2.2 give that the longest increasing subsequence length equals λ1; for N=0 there is no first row, λ1=0, and the empty word has no nonempty subsequence, so the longest increasing length is 0=λ1.

4.1step 3.1algebra

(Decreasing case.) An increasing subsequence wi1r<⋯<wirr of the reversed word, with i1<⋯<ir, corresponds to the index sequence N+1−ir<⋯<N+1−i1 in w with wN+1−ir>⋯>wN+1−i1, a decreasing subsequence of the same length; the correspondence is a bijection on subsequences, so the longest decreasing length of w equals the longest increasing length of wr, which by step 3.1 is the number of columns of P(wr).

5.1step 4.1step 3.1L3∎

(Number of rows.) By [L3] the number of columns of P(wr) equals the number of rows of P(w), namely λ1′; combining with step 4.1, the longest decreasing subsequence length equals λ1′. Together with step 3.1 this is the theorem; for N=0 both lengths and both λ1,λ1′ are 0.

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