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
generators given by as_permutation_group in the wrong order #19438
Comments
Branch: u/pguillot/ticket_19438 |
Commit: |
comment:4
the whole thing looks a but dodgy, as permutation groups are handled by GAP's |
comment:5
LGTM |
comment:6
there should be a blank line after TESTS:: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
Could you trim the whitespaces on the empty lines you added? (we don't need any spaces there). |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Frédéric Chapoton, Dima Pasechnik |
comment:10
ok, good to go. Bravo, voila ton premier ticket ! |
comment:11
Should it return the same generators literally? The basic routine doesn't do that:
It doesn't matter so much how the permutation group is represented, as long as the isomorphism to the permutation group is given. You should probably check if the cost of "canonicalize=false" is acceptable. |
comment:12
Precisely, here canonicalize=True is assumed. Adding canonicalize= False forces it to return the same generators, literally, yes. I had assumed that canonicalize= False actually reduced the time needed for the computation, since it simply does a little less. This is confirmed by (a) looking at the code for the class PermutationGroup_generic, which has
and as far as I can tell, this is the one and only place where the flag is used. (b) When using GAP directly, if you try
then you get
that is, they are kept in the same order by default.
It would be best to just return the isomorphism itself (that is what GAP does), yes. I'm not sure that Sage has anything on group homomorphisms, though. |
comment:13
OK, thanks. The basic infrastructure for homomorphisms and isomorphisms is there, so it should be fairly straightforward to interface with the gap computations. That's for another ticket, though. |
Changed branch from u/pguillot/ticket_19438 to |
Changed commit from |
Changed reviewer from Frédéric Chapoton, Dima Pasechnik to Frédéric Chapoton, Dima Pasechnik |
One can see that the generators of the permutation group do not correspond to those of the matrix group. They should be given in the very same order.
This is a one-line change.
CC: @fchapoton @nathanncohen @dimpase
Component: group theory
Keywords: permutation groups
Author: Pierre Guillot
Branch:
ffeb721
Reviewer: Frédéric Chapoton, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/19438
The text was updated successfully, but these errors were encountered: