Skip to content
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 FactorCosetAction(G, G) for perm. groups #5903

Merged
merged 1 commit into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/csetperm.gi
Original file line number Diff line number Diff line change
Expand Up @@ -883,10 +883,12 @@
u:=G;
Error("only trivial operation ? I Set u:=G;");
fi;
if IsSubset(u, G) then
return DoFactorCosetAction(G, u, G);
fi;

Check warning on line 888 in lib/csetperm.gi

View check run for this annotation

Codecov / codecov/patch

lib/csetperm.gi#L886-L888

Added lines #L886 - L888 were not covered by tests
if N=false then
N:=Core(G,u);
fi;

ac:=ActionRefinedSeries(G,u);
actions:=ac[2];
ac:=ac[1];
Expand Down
2 changes: 2 additions & 0 deletions lib/factgrp.gd
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ DeclareAttribute("NaturalHomomorphismsPool",IsGroup,
##
DeclareOperation( "FactorCosetAction", [IsGroup,IsGroup] );

DeclareGlobalFunction( "DoFactorCosetAction" );

#############################################################################
##
#F ImproveActionDegreeByBlocks( <G>, <N> , <hom> [,forceblocks] )
Expand Down
2 changes: 1 addition & 1 deletion lib/factgrp.gi
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ end);
#F FactorCosetAction( <G>, <U>, [<N>] ) operation on the right cosets Ug
## with possibility to indicate kernel
##
BindGlobal("DoFactorCosetAction",function(arg)
InstallGlobalFunction("DoFactorCosetAction",function(arg)
local G,u,op,h,N,rt;
G:=arg[1];
u:=arg[2];
Expand Down
2 changes: 2 additions & 0 deletions tst/teststandard/permgrp.tst
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ gap> u:=Normalizer(g,SylowSubgroup(g,3));;
gap> act:=FactorCosetAction(g,u);;
gap> NrMovedPoints(Range(act));
70840
gap> NrMovedPoints(Range(FactorCosetAction(g,g)));
0

#
gap> STOP_TEST("permgrp.tst");
Loading