Skip to content

Commit 7be9f9e

Browse files
committed
new test files
1 parent 2dd1c0f commit 7be9f9e

3 files changed

Lines changed: 200 additions & 68 deletions

File tree

tst/corelg01.tst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
gap> START_TEST("corelg01.tst");
1212

13-
# doc/manual.xml:226-245
13+
# doc/manual.xml:245-264
1414
gap> F := SqrtField;
1515
SqrtField
1616
gap> IsField( F ); LeftActingDomain( F ); Size( F ); Characteristic( F );
@@ -30,7 +30,7 @@ true
3030
false
3131
true
3232

33-
# doc/manual.xml:274-285
33+
# doc/manual.xml:293-304
3434
gap> Sqroot(-(2*3*4)/(11*13)); Sqroot(245/15); Sqroot(16/9);
3535
2/143*E(4)*Sqroot(858)
3636
7/3*Sqroot(3)
@@ -42,7 +42,7 @@ gap> CoefficientsOfSqrtFieldElt(a);
4242
gap> SqrtFieldEltByCoefficients([[2,9],[1,7],[E(4),13]]);
4343
6 + Sqroot(7) + E(4)*Sqroot(13)
4444

45-
# doc/manual.xml:301-312
45+
# doc/manual.xml:320-331
4646
gap> SqrtFieldEltToCyclotomic( Sqroot(2) );
4747
E(8)-E(8)^3
4848
gap> SqrtFieldEltToCyclotomic( Sqroot(2)+E(4)*Sqroot(7) );
@@ -54,7 +54,7 @@ Sqroot(2)
5454
gap> SqrtFieldEltByCyclotomic( 3*E(4)*Sqrt(11)-2/4*Sqrt(-13/7) );
5555
3*E(4)*Sqroot(11) + (-1/14*E(4))*Sqroot(91)
5656

57-
# doc/manual.xml:320-341
57+
# doc/manual.xml:339-360
5858
gap> a := Sqroot( 2 ) + 3 * Sqroot( 3/7 ); b := Sqroot( 21 ) - Sqroot( 2 );
5959
Sqroot(2) + 3/7*Sqroot(21)
6060
(-1)*Sqroot(2) + Sqroot(21)
@@ -76,7 +76,7 @@ gap> ComplexConjugate(Sqroot(17)+Sqroot(-7));
7676
gap> Random( SqrtField );
7777
E(4) + (-7/6+1/4*E(4))*Sqroot(2) + (-3/2*E(4))*Sqroot(3)
7878

79-
# doc/manual.xml:344-358
79+
# doc/manual.xml:363-377
8080
gap> m:=[[Sqroot(2),Sqroot(3)],[Sqroot(2),Sqroot(5)],[1,0]]*One(SqrtField);
8181
[ [ Sqroot(2), Sqroot(3) ], [ Sqroot(2), Sqroot(5) ], [ 1, 0 ] ]
8282
gap> NullspaceMat(m);
@@ -91,7 +91,7 @@ SqrtField
9191
gap> x := Indeterminate( SqrtField, "x" );; f := x^2+x+1;
9292
x^2+x+1
9393

94-
# doc/manual.xml:388-400
94+
# doc/manual.xml:407-419
9595
gap> F := SqrtField;; one := One( SqrtField );;
9696
gap> x := Indeterminate( F, "x" );; f := x^5 + 4*x^3 + E(4)*one*x;
9797
x^5+4*x^3+E(4)*x

tst/corelg02.tst

Lines changed: 194 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,57 @@
1010
#
1111
gap> START_TEST("corelg02.tst");
1212

13-
# doc/manual.xml:436-457
13+
# doc/manual.xml:468-483
14+
gap> gl3:= FullMatrixLieAlgebra( CF(4), 3 );;
15+
gap> L:= LieDerivedSubalgebra(gl3);;
16+
gap> N:= DiagonalMat([1,1,-1]);;
17+
gap> tau:= function(a)
18+
> return LieObject(-N*TransposedMat( ComplexConjugate(a) )*N^-1);
19+
> end;
20+
function( a ) ... end
21+
gap> SetRealStructure( L, tau );
22+
gap> NameRealForm(L);
23+
"su(1,2)"
24+
gap> gl3:= FullMatrixLieAlgebra( CF(4), 3 );;
25+
gap> L:= LieDerivedSubalgebra(gl3);;
26+
gap> NameRealForm(L);
27+
"sl(3,R)"
28+
29+
# doc/manual.xml:493-512
30+
gap> gl3:= FullMatrixLieAlgebra( CF(4), 3 );;
31+
gap> L:= LieDerivedSubalgebra(gl3);;
32+
gap> N:= DiagonalMat([1,1,-1]);;
33+
gap> tau:= function(a)
34+
> return LieObject(-N*TransposedMat( ComplexConjugate(a) )*N^-1);
35+
> end;
36+
function( a ) ... end
37+
gap> SetRealStructure( L, tau );
38+
gap> RealBasis( L );
39+
Basis( <Lie algebra of dimension 8 over GaussianRationals>,
40+
[ LieObject( [ [ 0, 1, 0 ], [ -1, 0, 0 ], [ 0, 0, 0 ] ] ),
41+
LieObject( [ [ 0, E(4), 0 ], [ E(4), 0, 0 ], [ 0, 0, 0 ] ] ),
42+
LieObject( [ [ 0, 0, 1 ], [ 0, 0, 0 ], [ 1, 0, 0 ] ] ),
43+
LieObject( [ [ 0, 0, E(4) ], [ 0, 0, 0 ], [ -E(4), 0, 0 ] ] ),
44+
LieObject( [ [ 2*E(4), 0, 0 ], [ 0, -2*E(4), 0 ], [ 0, 0, 0 ] ] ),
45+
LieObject( [ [ 0, 0, 0 ], [ 0, 0, 1 ], [ 0, 1, 0 ] ] ),
46+
LieObject( [ [ 0, 0, 0 ], [ 0, 0, -E(4) ], [ 0, E(4), 0 ] ] ),
47+
LieObject( [ [ 0, 0, 0 ], [ 0, 2*E(4), 0 ], [ 0, 0, -2*E(4) ] ] ) ] )
48+
49+
# doc/manual.xml:529-542
50+
gap> L:= RealFormById( "A", 5, 3 );
51+
<Lie algebra of dimension 35 over SqrtField>
52+
gap> H := CartanSubalgebra(L);;
53+
gap> K:= LieCentralizer( L, Subalgebra( L, [Basis( H )[1]] ) );
54+
<Lie algebra of dimension 17 over SqrtField>
55+
gap> DK:= LieDerivedSubalgebra( K );
56+
<Lie algebra of dimension 15 over SqrtField>
57+
gap> CartanDecomposition( DK );
58+
rec( CartanInv := function( v ) ... end,
59+
K := <Lie algebra of dimension 15 over SqrtField>,
60+
P := <vector space of dimension 0 over SqrtField> )
61+
gap> # We see that the semisimple subalgebra DK is compact.
62+
63+
# doc/manual.xml:566-587
1464
gap> RealFormsInformation( "A", 4 );
1565

1666
There are 4 simple real forms with complexification A4
@@ -32,42 +82,23 @@ gap> RealFormsInformation( "E", 6 );
3282
gap> NumberRealForms("D",10);
3383
12
3484

35-
# doc/manual.xml:490-497
85+
# doc/manual.xml:620-627
3686
gap> RealFormById( "A", 4, 2 );
3787
<Lie algebra of dimension 24 over SqrtField>
3888
gap> RealFormById( "A", 4, 2, CF(4) );
3989
<Lie algebra of dimension 24 over GaussianRationals>
4090
gap> RealFormById( [ ["A", 4, 2], ["D", 5, 2] ], SqrtField);
4191
<Lie algebra of dimension 69 over SqrtField>
4292

43-
# doc/manual.xml:509-516
93+
# doc/manual.xml:639-646
4494
gap> L := RealFormById( [ ["A", 4, 2], ["D", 5, 2] ], SqrtField);;
4595
gap> IdRealForm( L );
4696
[ [ "A", 4, 2 ], [ "D", 5, 2 ] ]
4797
gap> K := RealFormById("A",5,2);;
4898
gap> IdRealForm( K );
4999
[ "A", 5, 2 ]
50100

51-
# doc/manual.xml:532-536
52-
gap> L := RealFormById( [ ["A", 4, 2], ["D", 5, 2] ], SqrtField);;
53-
gap> NameRealForm( L );
54-
"su(1,4)+so(2,8)"
55-
56-
# doc/manual.xml:637-650
57-
gap> L:= RealFormById( "A", 5, 3 );
58-
<Lie algebra of dimension 35 over SqrtField>
59-
gap> H := CartanSubalgebra(L);;
60-
gap> K:= LieCentralizer( L, Subalgebra( L, [Basis( H )[1]] ) );
61-
<Lie algebra of dimension 17 over SqrtField>
62-
gap> DK:= LieDerivedSubalgebra( K );
63-
<Lie algebra of dimension 15 over SqrtField>
64-
gap> CartanDecomposition( DK );
65-
rec( CartanInv := function( v ) ... end,
66-
K := <Lie algebra of dimension 15 over SqrtField>,
67-
P := <vector space of dimension 0 over SqrtField> )
68-
gap> # We see that the semisimple subalgebra DK is compact.
69-
70-
# doc/manual.xml:684-694
101+
# doc/manual.xml:754-764
71102
gap> r:= MaximalReductiveSubalgebras("F",4,3,SqrtField);;
72103
gap> NameRealForm( r.liealg );
73104
"F4(-20)"
@@ -78,7 +109,7 @@ so(8,1)
78109
so(9)
79110
sl(2,R)+G2c
80111

81-
# doc/manual.xml:711-723
112+
# doc/manual.xml:781-793
82113
gap> L:=RealFormById("E",6,3);;
83114
gap> H:=CartanSubalgebra(L);;
84115
gap> K:=LieCentralizer(L,Subalgebra(L,Basis(H){[1,2,4]}));;
@@ -91,7 +122,12 @@ gap> M:=RealFormById("A",2,2);
91122
gap> IsomorphismOfRealSemisimpleLieAlgebras(DK,M);
92123
<Lie algebra isomorphism between Lie algebras of dimension 8 over SqrtField>
93124

94-
# doc/manual.xml:819-833
125+
# doc/manual.xml:808-812
126+
gap> L := RealFormById( [ ["A", 4, 2], ["D", 5, 2] ], SqrtField);;
127+
gap> NameRealForm( L );
128+
"su(1,4)+so(2,8)"
129+
130+
# doc/manual.xml:909-923
95131
gap> L:= RealFormById( [["E", 6, 3],["A", 3, 2]] );;
96132
gap> K:= LieCentralizer( L, Subalgebra( L, Basis( CartanSubalgebra(L) ){[1]} ) );
97133
<Lie algebra of dimension 51 over SqrtField>
@@ -106,7 +142,7 @@ Involution: ()
106142
Types of direct summands:
107143
[ [ "A", 3, 2 ], [ "A", 5, 3 ] ]
108144

109-
# doc/manual.xml:842-854
145+
# doc/manual.xml:932-944
110146
gap> L:= RealFormById( [["E", 6, 3],["A", 3, 2]] );;
111147
gap> K:= LieCentralizer( L, Subalgebra( L, Basis( CartanSubalgebra(L) ){[1]} ) );
112148
<Lie algebra of dimension 51 over SqrtField>
@@ -119,5 +155,137 @@ A5: 1---2---(3)---4---5
119155
A3: 6---(7)---8
120156
Involution: (1,5)(2,4)(6,8)
121157

158+
# doc/manual.xml:967-973
159+
gap> L:= RealFormById( "F", 4, 3 );;
160+
gap> no:= NilpotentOrbitsOfRealForm( L );;
161+
#I CoReLG: read database of real triples ... done
162+
gap> no[1];
163+
<nilpotent orbit in Lie algebra>
164+
165+
# doc/manual.xml:983-997
166+
gap> L:= RealFormById( "F", 4, 2 );;
167+
gap> no:= NilpotentOrbitsOfRealForm( L );;
168+
gap> o:= no[10];
169+
<nilpotent orbit in Lie algebra>
170+
gap> t:=RealCayleyTriple(o);;
171+
gap> theta:= CartanDecomposition(L).CartanInv;
172+
function( v ) ... end
173+
gap> theta(t[1]) = -t[3];
174+
true
175+
gap> theta(t[2]) = -t[2];
176+
true
177+
gap> t[3]*t[1] = t[2];
178+
true
179+
180+
# doc/manual.xml:1037-1055
181+
gap> L:= RealFormById("E",6,4,Cyclotomics);
182+
<Lie algebra of dimension 78 over Cyclotomics>
183+
gap> Hs:= CartanSubalgebrasOfRealForm( L );
184+
[ <Lie algebra of dimension 6 over Cyclotomics>,
185+
<Lie algebra over Cyclotomics, with 6 generators>,
186+
<Lie algebra over Cyclotomics, with 6 generators> ]
187+
gap> R:= RootsystemOfCartanSubalgebra( L, Hs[1] );;
188+
gap> W:= WeylGroupAsPermGroup( R );
189+
<permutation group with 6 generators>
190+
gap> RW:= RealWeylGroup( L, Hs[1] );
191+
<permutation group with 6 generators>
192+
gap> Size(W);
193+
51840
194+
gap> Size(RW);
195+
192
196+
gap> ForAll( GeneratorsOfGroup(RW), g -> g in W );
197+
true
198+
199+
# doc/manual.xml:1194-1201
200+
gap> L:= RealFormById( "E", 7, 4, Cyclotomics );;
201+
gap> R:= SpecialRootSystem(L);;
202+
gap> DisplayDynkinDiagram( R );
203+
2
204+
|
205+
E7: 1---3---4---5---6---7
206+
207+
# doc/manual.xml:1211-1220
208+
gap> L:= RealFormById( "E", 6, 3, Cyclotomics );;
209+
gap> R:= SpecialRootSystem(L);;
210+
gap> DisplayDynkinDiagram( R );
211+
2
212+
|
213+
E6: 1---3---4---5---6
214+
gap> HighestWeightOfConjugateModule( L, [1,0,0,0,0,0] );
215+
[ 0, 0, 0, 0, 0, 1 ]
216+
217+
# doc/manual.xml:1231-1242
218+
gap> L:= RealFormById( "E", 7, 4, Cyclotomics );;
219+
gap> R:= SpecialRootSystem(L);;
220+
gap> DisplayDynkinDiagram( R );
221+
2
222+
|
223+
E7: 1---3---4---5---6---7
224+
gap> CartanIndex( L, [1,0,0,0,0,0,0] );
225+
1
226+
gap> CartanIndex( L, [0,0,0,0,0,0,1] );
227+
-1
228+
229+
# doc/manual.xml:1253-1285
230+
gap> L:= RealFormById( "A", 3, 2, Cyclotomics );;
231+
gap> R:= SpecialRootSystem(L);;
232+
gap> DisplayDynkinDiagram( R );
233+
A3: 1---2---3
234+
gap> HighestWeightOfConjugateModule( L, [0,1,0] );
235+
[ 0, 1, 0 ]
236+
gap> CartanIndex( L, [0,1,0] );
237+
-1
238+
gap> V:= IrreducibleRealModule( L, [0,1,0] );
239+
<12-dimensional left-module over <Lie algebra of dimension
240+
15 over Cyclotomics>>
241+
gap> MatrixOfAction( Basis(V), L.1 );
242+
[ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
243+
[ 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 0, 0 ],
244+
[ 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0 ],
245+
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0 ],
246+
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0 ],
247+
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
248+
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
249+
[ 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
250+
[ 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
251+
[ 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0 ],
252+
[ 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0 ],
253+
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ]
254+
gap> HighestWeightOfConjugateModule( L, [1,0,1] );
255+
[ 1, 0, 1 ]
256+
gap> CartanIndex( L, [1,0,1] );
257+
1
258+
gap> V:= IrreducibleRealModule( L, [0,1,0] );
259+
<12-dimensional left-module over <Lie algebra of dimension
260+
15 over Cyclotomics>>
261+
262+
# doc/manual.xml:1297-1324
263+
gap> L:= RealFormById( "A", 3, 2, Cyclotomics );;
264+
gap> V1:= IrreducibleRealModule( L, [1,0,0] );
265+
<8-dimensional left-module over <Lie algebra of dimension
266+
15 over Cyclotomics>>
267+
gap> V2:= IrreducibleRealModule( L, [0,0,1] );
268+
<8-dimensional left-module over <Lie algebra of dimension
269+
15 over Cyclotomics>>
270+
gap> V:= TensorProductOfAlgebraModules( V1, V2 );
271+
<64-dimensional left-module over <Lie algebra of dimension
272+
15 over Cyclotomics>>
273+
gap> dV:= DirectSumDecompositionOfRealModule(V);
274+
[ <20-dimensional left-module over <Lie algebra of dimension
275+
15 over Cyclotomics>>,
276+
<15-dimensional left-module over <Lie algebra of dimension
277+
15 over Cyclotomics>>,
278+
<15-dimensional left-module over <Lie algebra of dimension
279+
15 over Cyclotomics>>,
280+
<12-dimensional left-module over <Lie algebra of dimension
281+
15 over Cyclotomics>>,
282+
<1-dimensional left-module over <Lie algebra of dimension
283+
15 over Cyclotomics>>,
284+
<1-dimensional left-module over <Lie algebra of dimension
285+
15 over Cyclotomics>> ]
286+
gap> List( dV, HighestWeight );
287+
[ [ 2, 0, 0 ], [ 1, 0, 1 ], [ 1, 0, 1 ], [ 0, 1, 0 ], [ 0, 0, 0 ],
288+
[ 0, 0, 0 ] ]
289+
122290
#
123291
gap> STOP_TEST("corelg02.tst", 1);

tst/corelg03.tst

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)