Viennot's Ombre Construction
Size of Permutation:
Viennot's Geometric Construction
The Robinson-Schensted correspondence is a bijection between permutations and pairs of standard tableaux \((P,Q)\) with the same shape. The study of this correspondence has given rise to some remarkable results in combinatorics and representation theory.

Notable properties of the correspondence include: Gilbert de Beauregard Robinson first described the bijection between permutations and pairs of standard tableaux with the same shape in 1938, while studying the Littlewood-Richardson Rule. Though he provided a means of finding the corresponding tableaux when given a permutation, another algorithm described by Craige Eugene Schensted in 1961 is more widely used today (and can be tried using another applet).

Xavier Viennot described a means of determining the pair of tableaux associated to a permutation using ombres (shadow lines). This method is demonstrated in the applet. William Fulton, in his book Young Tableaux, explains the matrix ball algorithm for finding the pair of semi standard tableaux associated to a matrix with nonnegative integer entries.

A bijection between matrices with non-negative integer entries and pairs of semi standard tableaux with the same shape was described by Donald E. Knuth in 1970.

More information about the RSK algorithm can be found in the following sources:
Using the Applet
Begin by choosing the size of the permutation you would like to enter (no larger than 20 recommended). The applet will default to the identity permutation. Change the permutation by clicking or tapping directly on the graph; this will map the associated \(x\) value to the associated \(y\) value. The applet will automatically change other values as necessary to maintain a bijective mapping.

As the permutation is updated, the associated pair of standard tableaux are displayed on the right, along with some information about the permutation. The cycles are returned in canonical form.

On a computer, hover the mouse over the boxes in each diagram to highlight the shadows associated with that row in the tableau.
About the Applet
This applet was created using JavaScript and the Konva graphics library.