-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Allows a generalized Cartan matrix as input for Dynkin diagrams #12882
Comments
This comment has been minimized.
This comment has been minimized.
Dependencies: #8327 |
comment:3
Please fill in your real name as Author. |
Author: Christian Stump |
comment:5
Hi Christian-- Your code is checking that all the off-diagonal entries in the input matrix are strictly negative. That seems a bit over-enthusiastic. A doctest for the new functionality would also be good. cheers, Hugh |
comment:6
Hi Christian-- Why does this have #8327 listed as a dependency? cheers, Hugh |
Changed dependencies from #8327 to none |
comment:8
Replying to @hughrthomas:
Hi Hugh! Thanks for bringing back my/our attention to this ticket! I will be too busy to actively work on this patch in the next two weeks, but feel free to take it over and review/finish it if you like! I will now provide a version that you can work with (in particular, I deleted the dependency). Of course, you can as well wait until I finish the patch, if you prefer. Best, Christian |
comment:9
I updated the patch on the combinat queue and also uploaded it here. The negative entries test was accidentally fixed in the following patch on reflection groups rather than in this patch. I replaced all As said, Hugh: feel free to take it over, or to review it as is. Best, Christian |
comment:10
I will take this over (since no progress has been made recently) and base it on #14137. |
Dependencies: #14137 |
Changed author from Christian Stump to Christian Stump, Travis Scrimshaw |
comment:11
New version of the patch ready for review. For patchbot: Apply: trac_12882-matrix_as_dynkin_diagram-ts.patch |
This comment has been minimized.
This comment has been minimized.
comment:12
Rebased patch. Apply: trac_12882-matrix_as_dynkin_diagram-ts.patch |
comment:13
Hi Travis, This patch does not pass all of it's doctests. Also, is it a good idea to add a note to the documentation saying that only Cartan matrices whose Cartan types are implemented in Sage are legal input? For example, the Cartan matrix
yields an error. Can you also provide an example of inputting a Cartan matrix and an index set in the documentation? -Ben |
Changed keywords from Weyl group, Dynkin diagram, Cartan matrix to Weyl group, Dynkin diagram, Cartan matrix, days49 |
comment:15
Hey Ben, New version of the patch which passes all doctests and adds the example. Thanks for reviewing this. Best, Travis For patchbot: Apply: trac_12882-matrix_as_dynkin_diagram-ts.patch |
comment:21
Ah, there's a dependency from #14516 for those doctests. Ben and I were doing this on the combinat queue which had that patch applied.
For patchbot: Apply: trac_12882-matrix_as_dynkin_diagram-ts.patch |
comment:22
|
comment:23
Okay, I've made the offending test return a sorted list. However this should be overkill since
So I'm confused about why we're getting different results (and slightly worried). Anyways, Ben could you do a quick re-review of the patch? Thanks. For patchbot: Apply: trac_12882-matrix_as_dynkin_diagram-ts.patch |
comment:24
I ran the tests again on
All tests passed
and in particular:
I also copied and ran those tests in Sage directly, and received the expected result:
|
comment:26
Still doesn't work:
|
comment:27
Jeroen, so somehow your system (and the patchbot's) is sorting things differently than ours. Do you have any idea about why this is happening? I don't want to change the output of the doctest because then it will fail on our computers. (My guess as to why we're only seeing this here because it's the only time we're doctesting a sorted list with a string and an integer.) |
comment:28
Replying to @tscrim:
Yes, it seems that comparing a string and an integer simply isn't well-defined. |
comment:29
Attachment: trac_12882-matrix_as_dynkin_diagram-ts.patch.gz Here's a new version of the patch which sidesteps the issue by making it indexed by two strings. Jeroen, could you check to make sure the tests also pass for you? Thanks. |
comment:30
apply only trac_12882-matrix_as_dynkin_diagram-ts.patch |
comment:31
apply trac_12882-matrix_as_dynkin_diagram-ts.patch |
comment:32
Hey Ben, Could you check to make sure this works for you still? I've given the patchbot a kick and we'll check against that going green. Best, Travis |
comment:33
it seems that the patchbot is (or was?) broken (it tries to apply very old dependencies) |
comment:34
All tests passed for me. |
Merged: sage-5.12.beta4 |
Dynkin diagrams can currently not be constructed using a generalized Cartan matrix.
Apply: attachment: trac_12882-matrix_as_dynkin_diagram-ts.patch
Depends on #14137
Depends on #14516
CC: @sagetrac-sage-combinat
Component: combinatorics
Keywords: Weyl group, Dynkin diagram, Cartan matrix, days49
Author: Christian Stump, Travis Scrimshaw
Reviewer: Ben Salisbury
Merged: sage-5.12.beta4
Issue created by migration from https://trac.sagemath.org/ticket/12882
The text was updated successfully, but these errors were encountered: