forked from gap-system/gap
-
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.
Fix failed Projection for Perm Wreath Product constructed with hom
Add bugfix test
- Loading branch information
1 parent
a0bc576
commit 6560408
Showing
2 changed files
with
23 additions
and
1 deletion.
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
16 changes: 16 additions & 0 deletions
16
tst/testbugfix/2022-01-05-WreathProduct-With-Hom-Projection.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,16 @@ | ||
# Projection of Perm Wreath Product constructed with optional hom argument #4727 | ||
gap> K := SymmetricGroup(3);; | ||
gap> H := SymmetricGroup(5);; | ||
gap> P := SymmetricGroup(7);; | ||
gap> hom := GroupHomomorphismByImages(H, P, [(1,2), (1,2,3,4,5)], [(2,3), (2,3,4,5,6)]);; | ||
gap> G := WreathProduct(K, H, hom);; | ||
gap> g := (4,13,16,10,8)(5,14,17,12,7,6,15,18,11,9)(19,20);; | ||
gap> g ^ Projection(G); | ||
(1,4,5,3,2) | ||
gap> g := (1,3,2)(4,13,9,6,14,7)(5,15,8)(10,18,11,16,12,17);; | ||
gap> g ^ Projection(G); | ||
(1,4,2)(3,5) | ||
gap> g := (1,2,3) ^ Embedding(G, 1) * (1,2) ^ Embedding(G, 4) * (1,2) ^ Embedding(G, 6) * (1,4)(2,3) ^ Embedding(G, 8); | ||
(1,2,3)(4,13)(5,14)(6,15)(7,10,8,11)(9,12)(16,17) | ||
gap> g ^ Projection(G); | ||
(1,4)(2,3) |