Skip to content

Commit 5a6a354

Browse files
author
Leo
committed
More test files: includes groups of odd order and algebara to table and back
1 parent 9393249 commit 5a6a354

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

tst/manexamples.tst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,30 @@ rec( dim := 7, fld := GF(2), rnk := 2,
4747
wds := [ ,, [ 1, 2 ],, [ 1, 4 ], [ 2, 4 ], [ 1, 6 ] ],
4848
wgs := [ 1, 1, 2, 2, 3, 3, 4 ] )
4949

50+
####################################################################
51+
# table to algebra and back
52+
gap> G := SmallGroup(3^7, 19);;
53+
gap> T := ModIsomTable(G, 4);;
54+
gap> FG := GroupRing(GF(3), G);;
55+
gap> iota := Embedding(G, FG);;
56+
gap> a := (T.pre.jen.pcgs[1])^iota;
57+
(Z(3)^0)*f1
58+
gap> b := (T.pre.jen.pcgs[2])^iota;
59+
(Z(3)^0)*f2
60+
gap> z := One(FG);
61+
(Z(3)^0)*<identity> of ...
62+
gap> r := (z + (a-z)*(b-z) )^-1;;
63+
gap> Size(Support(r-z));
64+
1376
65+
gap> el := MIPElementAlgebraToTable(r-z, FG, T);
66+
[ 0*Z(3), 0*Z(3), 0*Z(3), Z(3), 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3),
67+
0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3), Z(3)^0, 0*Z(3), Z(3)^0, 0*Z(3), 0*Z(3),
68+
0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3) ]
69+
gap> MIPElementTableToAlgebra(el, T, FG);
70+
(Z(3))*<identity> of ...+(Z(3)^0)*f3+(Z(3)^0)*f1^2+(Z(3))*f1*f2+(Z(3))*f1*f3+(
71+
Z(3)^0)*f2^2+(Z(3))*f2*f3+(Z(3)^0)*f1^2*f2+(Z(3)^0)*f1*f2^2+(Z(3)^
72+
0)*f1*f2*f3+(Z(3)^0)*f1^2*f2^2
73+
5074
#####################################################################
5175
# Chapter 3
5276
#####################################################################
@@ -121,6 +145,17 @@ gap> List(binsAFNC, x -> List(x, y -> IdGroup(y)[2]));
121145
[ 238, 239 ], [ 236, 240 ], [ 208, 212 ], [ 65, 70 ], [ 63, 68 ],
122146
[ 104, 105 ], [ 13, 14 ] ]
123147

148+
###
149+
## to test other functions and functions which only use odd primes
150+
gap> L := AllGroups(3^6);;
151+
gap> LS := MIPSplitGroupsByGroupTheoreticalInvariants(L);;
152+
gap> List(LS, x -> List(x, y -> IdGroup(y)[2]));
153+
[ [ 46, 47 ], [ 44, 45 ], [ 42, 43 ], [ 53, 55 ], [ 400, 407 ], [ 401, 409 ],
154+
[ 398, 408 ], [ 412, 414 ], [ 411, 413 ], [ 389, 390 ], [ 262, 264 ],
155+
[ 70, 71 ], [ 74, 77 ], [ 72, 73 ], [ 82, 83 ] ]
156+
gap> BinsByGTAllFields(3,5);
157+
[ [ 43, 44, 45, 46, 47 ], [ 39, 40 ], [ 19, 20 ] ]
158+
124159
##########################################################
125160
# splitting algebras over different fields
126161
gap> MIPSplitGroupsByAlgebras(2,6,[142,155]).splits;

0 commit comments

Comments
 (0)