-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permutation from a pair of standard tableaux #5551
Comments
comment:3
Dear Sebastien, It's good to have this ! Thanks. There are three little problems:
As far as I know a tableau with entries from 1 to n is what is called a standard tableau. When there are repeated entries the usual terminology is semi standard tableaux or young tableaux. See eg: http://en.wikipedia.org/wiki/Young_diagram
|
comment:4
Dear Florent, Thanks for your quick answer, Replying to @hivert:
Cool!
Did you forget the third one or is this a joke meaning you are of the second type of mathematician?
And increasing in row and column. Right. I agree. I should remove the second sentence above. So this leads me to a related question. From a permutation, Robinson-Schensted Algo gives a pair of standard tableaux :
But from the following "non bijective" permutation, we obtain a pair of tableaux (p,q) where p is semi-standard and q is standard. Well, we can say more about p : there are no repeated entry, only possible weigth 1 and 0.
Should from_tableaux handle the above pair of tableaux? Actually it does :
Then, what should the input of from_tableaux say? Should it say simply a pair of standard tableaux as robinson_shensted doc string says it returns a pair of standard tableaux? Should it say that it handles a pair (p, q) of tableaux where p is semi-standard (weigth 0 or 1) and q is standard?
There is a section in permutation.py containing functions constructing a permutation from different objects :
The name from_tableaux was then natural. Also, I coded the function for a colleague used to mathematica and he told me in mathematica they use |
comment:5
Both !!! Every people doing combinatorics should know that he is of the second type ! Do you know how to count the number of twin prime numbers ? If not you are of the second type !
Obviously you never tried the following one:
Yes !!! Do it !!! Try It !!! Does it answer your question ?
In MuPAD we had Finally, my third remark is that you should raise a
Cheers, Florent |
Attachment: permutation_from_tableaux-5551-submitted-sl.patch.gz Against sage 3.4. This patch is part of sage-combinat tree. |
comment:6
I improved the patch after Florent's comments. I just uploaded it. slabbe |
comment:7
The review patche solve two remaining issues in the doc
is correct whereas
if not.
See the copy of the mail at the bottom of http://wiki.sagemath.org/CombinatorialClass |
comment:8
I think it would be better if the user can pass two lists that define tableaux to the constructor instead of having to first create the tableaux. Explicitly, I'd like to write:
instead of
especially since
Looking at the code suggests this is possible? Are there any reasons to not do this? |
comment:9
Hi, I agree with saliola suggestion and I think it is possible. We simply need to have a unique way to understand the input. A list of list of list -> tableau. A list of tuple -> cycles...etc. I will propose a new patch soon... slabbe |
This patch applies over the precedent two. |
comment:11
Attachment: permutation_from_tableaux-5551-feature-sl.patch.gz I addressed saliola comments in the patch I just uploaded. Needs review... |
comment:12
Everthing looks good. Florent |
comment:13
Merged all three patches in Sage 3.4.1.rc1. Cheers, Michael |
Since this algorithm is invertible, it would be nice to allow to construct a permutation from a pair of standard tableaux of the same shape.
CC: @sagetrac-sage-combinat
Component: combinatorics
Keywords: robinson schensted
Issue created by migration from https://trac.sagemath.org/ticket/5551
The text was updated successfully, but these errors were encountered: