-
Notifications
You must be signed in to change notification settings - Fork 165
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
wrong group order of a preimage of a group homomorphism #5704
Comments
The reason for the above wrong result is the following.
According to the documentation of By the way:
(In fact two |
See also PR #5073 by @cdwensley who has been trying to improve the situations... We should join forces with him to make a stronger push on this... |
And also see your own issue #4809 |
In this particular case I think the core of the issue is that |
Well, that and that this method does not even have the possibility of returning InstallMethod( PreImagesRepresentative, "method for pcgs hom",
FamRangeEqFamElm,
[ IsToPcGroupHomomorphismByImages,IsMultiplicativeElementWithInverse ], 0,
function( hom, elm )
local pcgsR, exp, imgs, pre, i;
# precompute pcgs
InversePcgs( hom );
pcgsR := hom!.rangePcgs;
exp := ExponentsOfPcElement( pcgsR, elm );
imgs := hom!.rangePcgsPreimages;
pre := Identity( Source( hom ) );
for i in [1..Length(exp)] do
if exp[i]>0 then
pre := pre * imgs[i]^exp[i];
fi;
od;
return pre;
end); |
The following happens in GAP 4.13.0 as well as in the current master branch.
When the input line
Size( ker )
is left out then theHasSize
output isfalse
, and the finalSize
value is correct.(I found this problem when working on oscar-system/Oscar.jl/pull/3166.)
The text was updated successfully, but these errors were encountered: