fieker-DuValspielwiese
Last change
on this file since 951db29 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:
590 bytes
|
Rev | Line | |
---|
[894057] | 1 | LIB "tst.lib"; tst_init(); |
---|
| 2 | ring r=(0,a),(e,f,h),Dp; |
---|
| 3 | matrix d[3][3]; |
---|
| 4 | d[1,2]=-h; d[1,3]=2e; d[2,3]=-2f; |
---|
| 5 | def R=nc_algebra(1,d); |
---|
| 6 | setring R; |
---|
| 7 | // this algebra is U(sl_2) over Q(a) |
---|
| 8 | ideal I = e2, f2, h2-1; |
---|
| 9 | I = std(I); |
---|
| 10 | // print a compact presentation of I |
---|
| 11 | print(matrix(I)); |
---|
| 12 | ideal J = e, h-a; |
---|
| 13 | J = std(J); |
---|
| 14 | // print a compact presentation of J |
---|
| 15 | print(matrix(J)); |
---|
| 16 | poly z=4*e*f+h^2-2*h; |
---|
| 17 | // z is the central element of U(sl_2) |
---|
| 18 | reduce(z,I); // the central character of I: |
---|
| 19 | reduce(z,J); // the central character of J: |
---|
| 20 | poly nz = z - NF(z,J); // nz will belong to J |
---|
| 21 | reduce(nz,J); |
---|
| 22 | reduce(I,J); |
---|
| 23 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.