-
Notifications
You must be signed in to change notification settings - Fork 160
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 of groups created with AbelianGroup
#5430
Comments
Is there a reason to allow generator order 1 (beyond "it can be considered valid input")? |
@hulpke I would argue that if someone asks for an abelian group with generators of prescribed orders then GAP should produce a group with these generators. The current behaviour is just inconsistent (and inconsistent with the manual), some generators of order 1 are created, some are not. |
@ThomasBreuer One way to resolve the inconsistency is to trigger an error if orders of 1 are given as argument |
If we forbid 1 as an entry in the list given to Note that in this setup entering an empty list would be the only way to ask |
Generators of order 1 are in principle supported, but we got an error when all generators had order 1, and the group was corrupted when some but not all generators had order 1. See gap-system/gap/issues/5430 for details.
Generators of order 1 are in principle supported, but we got an error when all generators had order 1, and the group was corrupted when some but not all generators had order 1. See gap-system/gap/issues/5430 for details.
The following looks rather confusing.
The generators of the groups generated by
AbelianGroup
do not always correspond to the prescribed exponents.If one prescribes a result in
IsPermGroup
, the situation is different.And an empty list of exponents works for
IsPcGroup
(which is the default) but is not allowed forIsPermGroup
andIsFpGroup
.It would be helpful if we could rely on a correspondence of the generators with the given exponents. The statement in the documentation
can be understood as the promise that this should hold.
The text was updated successfully, but these errors were encountered: