-
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.
Fix IsomorphismPermGroupOrFailFpGroup(G,max) (#5900)
... to honor its second argument, which limits the coset table size that gets used before it gives up.
- Loading branch information
Showing
3 changed files
with
35 additions
and
5 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
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,11 @@ | ||
# Sometimes GAP was able to compute the size of an fp group but then | ||
# for any further action failed to compute a permutation representation. | ||
# See https://github.com/gap-system/gap/issues/5764 for the report, | ||
# and https://github.com/gap-system/gap/pull/5770 for the fix. | ||
gap> f := FreeGroup("a","b","c");; | ||
gap> g := f / [ f.1*f.1*f.1,f.1*f.2*f.3*f.1*f.3^-1*f.2*f.3*f.3,f.1*f.3*f.2^-1 ]; | ||
<fp group on the generators [ a, b, c ]> | ||
gap> Size(g); | ||
84 | ||
gap> IdGroup(g); | ||
[ 84, 1 ] |
6 changes: 6 additions & 0 deletions
6
tst/testbugfix/2025-01-09-IsomorphismPermGroupOrFailFpGroup.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,6 @@ | ||
# IsomorphismPermGroupOrFailFpGroup ignored its second argument | ||
# which is supposed to limit the number of cosets that get defined | ||
# before it gives up | ||
gap> F:=FreeGroup(2);;G:=F/[F.1^2, F.2^2];; | ||
gap> IsomorphismPermGroupOrFailFpGroup(G, 100); | ||
fail |