spielwiese
Last change
on this file since 6fb723 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:
560 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r = (0,a),(e,f,h),(c,dp); |
---|
3 | matrix D[3][3]; |
---|
4 | D[1,2]=-h; D[1,3]=2*e; D[2,3]=-2*f; |
---|
5 | def R=nc_algebra(1,D); // this algebra is a parametric U(sl_2) |
---|
6 | setring R; |
---|
7 | ideal i = e,h-a; // consider this parametric ideal |
---|
8 | i = std(i); |
---|
9 | print(matrix(i)); // print a compact presentation of i |
---|
10 | poly Z = 4*e*f+h^2-2*h; // a central element |
---|
11 | Z = Z - NF(Z,i); // a central character |
---|
12 | ideal j = std(Z); |
---|
13 | j; |
---|
14 | matrix T = lift(i,j); |
---|
15 | print(T); |
---|
16 | ideal tj = ideal(transpose(T)*transpose(matrix(i))); |
---|
17 | size(ideal(matrix(j)-matrix(tj))); // test for 0 |
---|
18 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.