-
Notifications
You must be signed in to change notification settings - Fork 162
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
FIX: wreath product with trivial group contains trivial generators #5826
base: master
Are you sure you want to change the base?
FIX: wreath product with trivial group contains trivial generators #5826
Conversation
Generators should not contain the identity element, unless the group is trivial.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In how far is this a bug that needs "fixing"? I mean, it seems unhelpful and redundant, but not wrong as such?
fi; | ||
# generators for the cases where one component is trivial | ||
if IsTrivial(A) and IsTrivial(B) then | ||
g := Group( One(A) ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about just
g := Group( One(A) ); | |
g := A: |
or if one really wants a new group:
g := Group( One(A) ); | |
g := TrivialSubgroup( A ); |
gens1 := [ One(G) ]; | ||
basegens := ShallowCopy(gens1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does taking an empty list here not work?
ping @FriedrichRober |
@FriedrichRober last call for GAP 4.14 ... |
Oh my sincere apologies, I was swallowed in other work and forgot about it.
You are right. I thought it was breaking something in my package WPE, but actually the bug was hidden somewhere else. Nevertheless, I already have put some work into it, so I wanted to finish cleaning up the redundant generators. This being said, if it doesn’t make it into 4.14, it’s not a huge deal, since it isn’t a breaking bug. I will try to make it in time though. |
Generators of wreath products should not contain the identity element, unless the group is trivial.
Text for release notes
see title
Further details