-
-
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
lattice -> domain in weyl_groups.py #8414
Comments
This comment has been minimized.
This comment has been minimized.
comment:4
Hi Dan! Sorry for the late reply; I am just back from vacations. Depending on how the Weyl group is constructed, W.lattice() can actually be a lattice:
In fact, the name was meant as short hand for "which realization of the root lattice the group is naturally acting upon". That being said, I agree that this name is not good. In particular, we probably will want to generalize this soon to handle Coxeter groups implemented as permutation groups (e.g. acting on the roots) instead of matrix groups. So the semantic of this method should probably be to return which ever natural space (or set) the group is naturally acting on. Its name should reflect that. Any good suggestions?
As for the reflections: this sounds like a useful feature, thanks! May I suggest an alternative implementation, namely to:
Then, you would do W.reflections().inverse_family() instead of W.reflections(keys=reflections). This would solve the problem at hand, be of general usefulness, and not clutter the Weyl group interface. Thanks in advance! Best, |
comment:5
It seems to me that the need to implement roots for general Coxeter groups is a distinct issue. If the Coxeter group happens to be a Weyl group the roots are embedded in a lattice or vector space and that is a sufficiently important special case that it should be preserved.
To me it would seem best to call it space. Then if the Weyl group is created in such a way that it is a lattice, it would be a misnomer, but calling a lattice a space seems less egregious than calling a space a lattice. An alternative term would be module. I will revise the patch implementing the change for families if we can agree on this matter of terminology. Dan |
This comment has been minimized.
This comment has been minimized.
comment:6
I have revised the patch taking into account Nicolas' suggestion that reflections be a family, and that finite families should have inverse families as a method. I did not revise the change lattice -> space pending further discussion of the matter. As I said in my last message, it seems that |
This comment has been minimized.
This comment has been minimized.
comment:8
Hi Dan, I had a quick look at your patch. It looks good but I'm not sure I'll find time to formally review it so if someone else wants to formally review it please go. I just want to mention a small problem which forbid it to go into sage: there is no examples or doctests for Sorry for not having the time to do it... Florent |
Work Issues: doc coverage |
comment:9
Replying to @hivert:
I have fixed those yesterday in the Sage-Combinat queue; I'll try to finish the review tonight. Cheers, |
Reviewer: Nicolas M. Thiéry |
Changed keywords from none to Weyl groups |
Changed work issues from doc coverage to none |
comment:10
Hi Dan! All test pass, and the patch does what we had agreed upon. Thanks for handling this! Please double check my reviewer patch, and if ok set a positive review on my behalf! |
comment:11
OK, I am setting positive review on the reviewer's patch. |
comment:12
Dan: please produce patch files using Mercurial, not using diff: they should have a header listing your email address and other information. The "commit" message should also start with the trac ticket, also. See http://www.sagemath.org/doc/developer/walk_through.html#submitting-a-change for more information. |
comment:13
Responding to jhpalmieri, I remade my patch to contain mercurial headers. Nicolas' patch goes on top of mine. His patch headers contain some |
Attachment: trac_8414_weyl_group_space-review-nt.patch.gz |
comment:14
Replying to @dwbump:
Please also include #8414: in front of the patch description!
Oops, mercurial now speaks French on my machine???? I just re=uploaded the patch after fixing it. |
Rename lattice() method space() in WeylGroups. Add keys option to reflections() |
comment:15
Attachment: trac_8414_weyl_group_space.patch.gz
OK, I changed the patch description to begin #8414. |
comment:16
Merged in 4.4.alpha1:
|
Merged: sage-4.4.alpha1 |
WeylGroups and WeylGroupElements have a method lattice() and also an attribute _lattice. At one time this pointed to the ambient lattice, but now it points to the ambient space.
After some discussion here:
http://groups.google.com/group/sage-devel/browse_thread/thread/ad0c77557e78313f/9cfd6f09bcd1de2f?#9cfd6f09bcd1de2f
it has been decided that the method and attribute should be called
domain
.The patch also makes reflections of the Weyl group a
family and adds methods
inverse_family
andhas_key
tothe method family, per Nicolas' suggestion.
CC: @sagetrac-sage-combinat
Component: combinatorics
Keywords: Weyl groups
Author: Daniel Bump
Reviewer: Nicolas M. Thiéry
Merged: sage-4.4.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/8414
The text was updated successfully, but these errors were encountered: