Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/guarana/tst/   (GAP Algebra Version 4.15.1©)  Datei vom 11.1.2022 mit Größe 1 kB image not shown  

Quelle  guarana1.tst   Sprache: unbekannt

 
Spracherkennung für: .tst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

gap> START_TEST("Test 1 of guarana package");
gap> n := 2;
2
gap> F := FreeGroup( n );
<free group on the generators [ f1, f2 ]>
gap> c := 3;
3
gap> N := NilpotentQuotient( F, c );
Pcp-group with orders [ 00000 ]
gap> mo := MalcevObjectByTGroup( N );
<<Malcev object of dimension 5>>
gap> dim := Dimension( mo );
5
gap> UnderlyingGroup( mo );
Pcp-group with orders [ 00000 ]
gap> UnderlyingLieAlgebra( mo );
<Lie algebra of dimension 5 over Rationals>
gap> g := MalcevGrpElementByExponents( mo, [1,1,0,2,-1/2] );
1102, -1/2 ]
gap> x := MalcevLieElementByCoefficients( mo, [1/22, -135 ] );
1/22, -135 ]
gap> h := RandomGrpElm( mo );
[ -1, -3, -709 ]
gap> y := RandomLieElm( mo );
[ -687, -8, -6 ]
gap> z := Log( g );
11, -1/27/3, -1/3 ]
gap> Exp( z ) = g;
true
gap> k := Exp( y );
[ -68, -1731, -94 ]
gap> Log( k ) = y;
true
gap> g*h;
0, -2, -8323/2 ]
gap> Comm(g,h);
00287 ]
gap> Comm(x,y);
00, -1621/2, -14 ]
gap> indets := List( List( [1..dim], i->Concatenation( "a_", String(i) ) ),
>                   x->Indeterminate( Rationals, x : new ) );
[ a_1, a_2, a_3, a_4, a_5 ]
gap> g_sym := MalcevSymbolicGrpElementByExponents( mo, indets );
[ a_1, a_2, a_3, a_4, a_5 ]
gap> x_sym := Log( g_sym );
[ a_1, a_2, -1/2*a_1*a_2+a_3, 1/12*a_1^2*a_2+1/4*a_1*a_2-1/2*a_1*a_3+a_4, 
  -1/12*a_1*a_2^2+1/4*a_1*a_2-1/2*a_2*a_3+a_5 ]
gap> g_sym * g;
[ a_1+1, a_2+1, a_2+a_3, a_3+a_4+21/2*a_2^2+1/2*a_2+a_3+a_5-1/2 ]
gap> STOP_TEST( "guarana1.tst", 5000);

[Dauer der Verarbeitung: 0.17 Sekunden, vorverarbeitet 2026-06-06]