-
-
Notifications
You must be signed in to change notification settings - Fork 722
Column and row stabilizers for skew tableaux #38197
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
Conversation
|
Documentation preview for this PR (built with commit a9c13b1; changes) is ready! 🎉 |
tscrim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor details.
src/sage/combinat/skew_tableau.py
Outdated
| sage: rs = SkewTableau([[None,1,2,3],[4,5]]).row_stabilizer() | ||
| sage: rs.order() == factorial(3)*factorial(2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| sage: rs = SkewTableau([[None,1,2,3],[4,5]]).row_stabilizer() | |
| sage: rs.order() == factorial(3)*factorial(2) | |
| sage: rs = SkewTableau([[None,1,2,3], [4,5]]).row_stabilizer() | |
| sage: rs.order() == factorial(3) * factorial(2) |
And perhaps similar spacing between the lists. At least, it should be consistent (see the next rs = ... below).
Co-authored-by: Travis Scrimshaw <[email protected]>
Co-authored-by: Travis Scrimshaw <[email protected]>
tscrim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. LGTM.
|
Thank you, Travis! |
|
Lint failure, please fix |
|
Right, good catch. Fixed! |
sagemathgh-38197: Column and row stabilizers for skew tableaux Row and column stabilizers and the usual a, b, e elements of the symmetric group algebra are now computable for skew standard tableaux, not just for straight ones. The a, b, e functions are still not exposed at class level, but this can be done another day. The performance cost (at least on the e function) is trivial: ``` sage: %timeit eold([[2,3],[1,4]]) 1.29 ms ± 12.7 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each) sage: %timeit enew([[2,3],[1,4]]) 1.29 ms ± 15.5 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each) sage: %timeit eold([[2,3],[1,4],[5,7]]) 3.43 ms ± 141 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) sage: %timeit enew([[2,3],[1,4],[5,7]]) 3.44 ms ± 158 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) ``` (Tested using factored-out code, since the actual functions are cached.) URL: sagemath#38197 Reported by: Darij Grinberg Reviewer(s): Travis Scrimshaw
sagemathgh-38197: Column and row stabilizers for skew tableaux Row and column stabilizers and the usual a, b, e elements of the symmetric group algebra are now computable for skew standard tableaux, not just for straight ones. The a, b, e functions are still not exposed at class level, but this can be done another day. The performance cost (at least on the e function) is trivial: ``` sage: %timeit eold([[2,3],[1,4]]) 1.29 ms ± 12.7 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each) sage: %timeit enew([[2,3],[1,4]]) 1.29 ms ± 15.5 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each) sage: %timeit eold([[2,3],[1,4],[5,7]]) 3.43 ms ± 141 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) sage: %timeit enew([[2,3],[1,4],[5,7]]) 3.44 ms ± 158 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) ``` (Tested using factored-out code, since the actual functions are cached.) URL: sagemath#38197 Reported by: Darij Grinberg Reviewer(s): Travis Scrimshaw
Row and column stabilizers and the usual a, b, e elements of the symmetric group algebra are now computable for skew standard tableaux, not just for straight ones.
The a, b, e functions are still not exposed at class level, but this can be done another day.
The performance cost (at least on the e function) is trivial:
(Tested using factored-out code, since the actual functions are cached.)