-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Not all finitely generated magmas are groups
... hence we should not set IsFinitelyGeneratedGroup for them. Instead, only set IsFinitelyGeneratedGroup if the final magma is actually a group (i.e., associative).
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 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
12 changes: 12 additions & 0 deletions
12
tst/testbugfix/2018-03-21-MagmaWithInversesByGenerators.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,12 @@ | ||
# GAP used to set the IsFinitelyGeneratedGroup property for every finitely | ||
# generated magma-with-inverses, even those which are not groups. | ||
gap> A:=[[1,2,3,4],[2,1,4,2],[3,4,1,3],[4,2,3,1]]; | ||
[ [ 1, 2, 3, 4 ], [ 2, 1, 4, 2 ], [ 3, 4, 1, 3 ], [ 4, 2, 3, 1 ] ] | ||
gap> M:=MagmaWithInversesByMultiplicationTable(A); | ||
<magma-with-inverses with 4 generators> | ||
gap> IsFinitelyGeneratedGroup(M); | ||
Error, no method found! For debugging hints type ?Recovery from NoMethodFound | ||
Error, no 2nd choice method found for `IsFinitelyGeneratedGroup' on 1 argument\ | ||
s | ||
gap> IsGroup(M); | ||
false |