source: git/Tst/Manual/lift_BR_PLURAL_BR.tst @ 6fb723

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