-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Categories for Weyl character rings and weight rings (was: pickling fails in WeightRing) #7922
Comments
This comment has been minimized.
This comment has been minimized.
comment:1
Regarding speed, testing a large number of branching rules show that the patch is a substantial speedup over the old code with a caveat: the old code has an option cache=true for WeylCharacterRings. If this option (which is not the default) is selected for every WeylCharacterRing, then the old code is faster. Typical times:
Since I made the method |
Reviewer: nthiery |
comment:2
Revised and reposted the patch in view of Nicolas' comment to use _from_dict(coerce=True). |
Converts WeylCharacterRings and WeightRings to use category framework |
comment:3
Attachment: trac_7922.patch.gz I uploaded a revised version of the patch. The only change is in classical_crystals.py, where the revision of WeylCharacterRings necessitated a revision. |
comment:4
Requires rebuilding the pickle jar. |
Attachment: trac_7922-rebased-4.6.1.gz #7922: WeylCharacters inherit from CombinatorialFreemodule (substantial speedup) |
comment:5
Since #9838 was merged in sage-4.6.1.alpha1, this patch needed rebasing. I therefore posted trac_7922-rebased-4.6.1. |
7922: thematic tutorial revision |
Work Issues: pickle jar will have to be rebuilt |
This comment has been minimized.
This comment has been minimized.
comment:7
Attachment: trac_7922-doc.patch.gz This patch slightly conflicts with #8442 which was merged. So I'm posting a second patch trac_7922-doc.patch which revises the thematic tutorial. |
Attachment: trac_7922-rebased-4.7.alpha1.patch.gz #7922: Revision of Weyl Character Rings |
comment:8
I have posted trac_7922-rebased-4.7.alpha1.patch, which http://combinat.sagemath.org/patches/file/tip/trac_7922-review-nt.patch Those changes that are not addressed are discussed here: http://groups.google.com/group/sage-combinat-devel/browse_thread/thread/277e146862632d72 |
This comment has been minimized.
This comment has been minimized.
#7922: revised pickle jar |
This comment has been minimized.
This comment has been minimized.
comment:9
Attachment: pickle_jar.tar.bz2.gz |
Changed work issues from pickle jar will have to be rebuilt to none |
#7922: revision of Weyl Character Rings |
Attachment: trac_7922-rebased-4.7.alpha2.patch.gz #7922: replacement pickles |
comment:13
Attachment: trac_7922-new_pickles.tar.gz Hi Dan, I just did a final proofreading, fixed a couple typos, updated coerce_to_sl in the doctests of the thematic tutorials, and removed some trailing white space and tabs. For me it is now all good to go. Please check my reviewer's patch on the sage-combinat patch server. If it's ok with you, you can fold/upload and set a positive review here on my behalf. http://combinat.sagemath.org/patches/file/tip/trac_7922-final-review-nt.patch Cheers, |
Changed reviewer from nthiery to Nicolas M. Thiéry, Dan Bump |
This comment has been minimized.
This comment has been minimized.
Author: Dan Bump, Nicolas M. Thiéry |
This comment has been minimized.
This comment has been minimized.
#7922: Categories for Weyl character rings and weight rings |
This comment has been minimized.
This comment has been minimized.
comment:15
Attachment: trac_7922-rebased-4.7.alpha3.patch.gz Hi Dan, I just checked out your final changes on the Sage-Combinat queue (trac_7922_alpha3-changes.patch), and it looks all good. So the final rebased patch you just posted (and which includes the above) is good to go. Positive review! |
Merged: sage-4.7.1.alpha2 |
comment:18
This needs a few small fixes:
Please add an additional patch fixing these issues. |
comment:20
Replying to @jdemeyer:
Fixing the indentation is now #14678. The very long time is not necessary anymore, most likely thanks to the optimizations in #13391 (the example takes 0.22s on my machine). |
Changed author from Dan Bump, Nicolas M. Thiéry to Daniel Bump, Nicolas M. Thiéry |
This ticket refactors the code of WeylCharacterRing and WeightRing to use categories and (combinatorial) free modules. Along the way, it adds a couple features (Dan: please list them here), and solves a pickling issue which was caught by #7921:
Indeed:
Apply attachment: trac_7922-rebased-4.7.alpha3.patch
Remove the following pickles from the pickle jar:
Copy the contents of
attachment: trac_7922-new_pickles.tar.gz into
data/ext_code/pickle_jar
.CC: @dwbump @sagetrac-sage-combinat
Component: combinatorics
Author: Daniel Bump, Nicolas M. Thiéry
Reviewer: Nicolas M. Thiéry, Dan Bump
Merged: sage-4.7.1.alpha2
Issue created by migration from https://trac.sagemath.org/ticket/7922
The text was updated successfully, but these errors were encountered: