spielwiese
Release-4-3-2p2
Last change
on this file since 0d6b7fc was
894057,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
|
-
Property mode set to
100644
|
File size:
396 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "central.lib"; |
---|
3 | ring R=0,(x,y,z),dp; |
---|
4 | matrix D[3][3]=0; |
---|
5 | D[1,2]=-z; |
---|
6 | D[1,3]=2*x; |
---|
7 | D[2,3]=-2*y; |
---|
8 | def r = nc_algebra(1,D); setring r; // this is U(sl_2) with cartan - z |
---|
9 | isCartan(z); // yes! |
---|
10 | poly p=4*x*y+z^2-2*z; |
---|
11 | isCartan(p); // central elements are Cartan elements! |
---|
12 | poly f=4*x*y; |
---|
13 | isCartan(f); // no way! |
---|
14 | isCartan( 10 + p + z ); // scalar + central + cartan |
---|
15 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.