forked from gap-packages/recog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now ThrowAwayFixedPoints also prunes fixed points if the input group knows that it is primitive and has fixed points. If the input group does not know whether it is primitive yet but has fixed points, then ThrowAwayFixedPoints now returns NotEnoughInformation. Adds a comment in LargeBasePrimitive which explains how this fixes gap-packages#190. That is this commit lets recog handle primitive groups which can be recognized by LargeBasePrimitive, except for the fact that they have fixed points. Also changes the tests in PermLargeBasePrimitive.tst to make them run a bit faster. Fixes gap-packages#190. Co-authored-by: Max Horn <[email protected]>
- Loading branch information
Showing
3 changed files
with
70 additions
and
19 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
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 |
---|---|---|
@@ -1,13 +1,31 @@ | ||
#@local S19OnSets, jellyGroup, n, random, jellyGroupConj, ri | ||
#@local S17OnSets, jellyGroup, n, random, jellyGroupConj, ri | ||
#@local addFixedPointsPerm, jellyGroupWithFixedPoints, riWithFixed | ||
|
||
# Test for LargeBasePrimitive | ||
gap> S19OnSets := Action(SymmetricGroup(19), Combinations([1 .. 19], 2), OnSets);; | ||
gap> jellyGroup := WreathProductProductAction(S19OnSets, Group((1,2)));; | ||
gap> S17OnSets := Action(SymmetricGroup(17), Combinations([1 .. 17], 2), OnSets);; | ||
gap> jellyGroup := WreathProductProductAction(S17OnSets, Group((1,2)));; | ||
gap> n := NrMovedPoints(jellyGroup);; | ||
gap> # Take a random conjugate | ||
gap> random := Random(SymmetricGroup(n));; | ||
gap> jellyGroupConj := jellyGroup ^ random;; | ||
gap> RECOG.TestGroup(jellyGroupConj, | ||
gap> ri := RECOG.TestGroup(jellyGroupConj, | ||
> false, | ||
> Size(jellyGroup), | ||
> rec(tryNonGroupElements := true));; | ||
gap> ri!.fhmethsel.successMethod; | ||
"LargeBasePrimitive" | ||
|
||
# Test that groups with fixed points are handled together by | ||
# ThrowAwayFixedPoints and LargeBasePrimitive, confer: | ||
# https://github.com/gap-packages/recog/issues/190 | ||
# https://github.com/gap-packages/recog/pull/191 | ||
gap> addFixedPointsPerm := Random(SymmetricGroup(5 * QuoInt(n,2)));; | ||
gap> jellyGroupWithFixedPoints := jellyGroup ^ addFixedPointsPerm;; | ||
gap> riWithFixed := RECOG.TestGroup(jellyGroupWithFixedPoints, | ||
> false, | ||
> Size(jellyGroup), | ||
> rec(tryNonGroupElements := true));; | ||
gap> riWithFixed!.fhmethsel.successMethod; | ||
"ThrowAwayFixedPoints" | ||
gap> RIFac(riWithFixed)!.fhmethsel.successMethod; | ||
"LargeBasePrimitive" |