Skip to content

Commit

Permalink
Fix for IsomorphismFpGroup for perm groups (#5831)
Browse files Browse the repository at this point in the history
This fixes a bug reported to me by Andries Brouwer on 10/31/24
A homomorphism is created in a way that does not enforce it to be onto.
  • Loading branch information
hulpke authored Nov 1, 2024
1 parent 6d93f61 commit 70eba1d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gpfpiso.gi
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ function(g,str,N)
fi;

# the range is elementary. Use this for the fp group isomorphism
f:=Range(hom);
f:=Image(hom);
# calculate automorphisms of f induced by G
fgens:=GeneratorsOfGroup(f);
auts:=List(GeneratorsOfGroup(g),i->
Expand Down
8 changes: 8 additions & 0 deletions tst/testbugfix/2024-Halloween-IsomorphismFp.tst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Fix for bug in IsomorphismFp
# reported by Andries Brouwer, 10/31/24

gap> G:=PSL(3,7);;
gap> maxes := MaximalSubgroupClassReps(G);;
gap> maxes1 := MaximalSubgroupClassReps(maxes[1]);;
gap> maxes12:= maxes1[2];;
gap> StructureDescription(maxes12:short);; # used to trigger an error

0 comments on commit 70eba1d

Please sign in to comment.