-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This used to run into a coset enumeration. We increase the rank of certain methods for composite maps to resolve the issue and possibly others.
- Loading branch information
Showing
2 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
tst/testbugfix/2025-01-16-Comm-for-group-automorphisms.tst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#@local F,x1,x2,x3,x4,A,u,v,hom | ||
# The 'Comm' call below used to trigger a coset enumeration. | ||
# See issue https://github.com/gap-system/gap/issues/3898 | ||
gap> F:=FreeGroup("x1","x2","x3","x4");; | ||
gap> x1:=F.1;;x2:=F.2;;x3:=F.3;;x4:=F.4;; | ||
gap> A:=GroupHomomorphismByImages(F,F,[x1,x2,x3,x4],[x1,x2,x2*x3^-1*x2,x4]);; | ||
gap> u:=(A*A)^A;; | ||
gap> v:=(A*A)^A;; | ||
gap> IsBijective(u*v); # used to hang | ||
true | ||
gap> (u*v)(x1); # verify that computing images works | ||
x1 | ||
gap> hom:=Comm(u,v);; # used to hang | ||
gap> IsGroupHomomorphism(hom); | ||
true | ||
gap> hom(x1); # verify that computing images works | ||
x1 |