-
Notifications
You must be signed in to change notification settings - Fork 161
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
another problem with finitely presented groups #5810
Comments
I am still puzzled why people want to calculate element lists of fp groups, rather than go to a permutation representation. Certainly this peripheral use should not direct how we implement routines for finitely presented groups. But I digress. In my view it is not a good ideas to introduce a special |
@hulpke Thanks for your comments. I do not catch the point: The documentation of |
@ThomasBreuer My concern is that there migth be some calculation that assumes the right transversal in a cyclic group by the trivial subgroup being not a list, but a fancy object -- for example if the group is infinite (or very large). I worry that a method as proposed will interfere. Since this is catering to only one place of call (namely the |
@hulpke Of course I can put the additional code locally into the (If some code "assumes the right transversal in a cyclic group by the trivial subgroup being not a list" then this is a bug, according to the documentation.) |
(The problem was found by @thofma, see oscar-system/Oscar.jl/issues/4167.)
Consider the following input.
In GAP 4.13.1, we get the following.
Creating the group
G
again and asking forElements( G )
without first computing the order runs for a long time without result.In the master branch, the situation is different. We get the same error message if we first compute the group order, but if we don't then the following happens.
Concerning the error, one finds that it happens when GAP tries to compute a right transversal in a cyclic group of known order, w.r.t. its trivial subgroup.
If we install a special
RightTransversal
method for this case (and if we modify the code of the functionSIZE_FP_FROM_CYCLIC_INDEX
such that theIsCyclic
flag gets set for the storedCyclicSubgroupFpGroup
) then we get the following.I am not sure whether this change would be a good idea.
Apparently GAP uses two different strategies, depending on whether the group order (and some nice cyclic subgroup) is known or not,
and one of them is successful already now.
Perhaps it would be better to change the decision about the choice of the strategy.
For those who want to play with the example, here is the
RightTransversal
method in question.The text was updated successfully, but these errors were encountered: