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:
585 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "ncalg.lib"; |
---|
3 | def Usl2 = makeUsl2(); // this algebra is U(sl_2) |
---|
4 | setring Usl2; |
---|
5 | option(redSB); |
---|
6 | option(redTail); |
---|
7 | poly C = 4*e*f+h^2-2*h; // the central element of Usl2 |
---|
8 | ideal I = e^3,f^3,h^3-4*h; |
---|
9 | ideal J = twostd(I); |
---|
10 | // print a compact presentation of J: |
---|
11 | print(matrix(ideal(J[1..5]))); // first 5 generators |
---|
12 | print(matrix(ideal(J[6..size(J)]))); // last generators |
---|
13 | ideal QC = twostd(C-8); |
---|
14 | qring Q = QC; |
---|
15 | ideal QJ = fetch(Usl2,J); |
---|
16 | QJ = std(QJ); |
---|
17 | // thus QJ is the image of I in the factor-algebra QC |
---|
18 | print(matrix(QJ)); // print QJ compactly |
---|
19 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.