source: git/Tst/Manual/preimage_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: 689 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "ncalg.lib";
3ring   R = 0,a,dp;
4def Usl2 = makeUsl2();
5setring Usl2;
6poly  C = 4*e*f+h^2-2*h;
7// C is a central element of U(sl2)
8ideal I = e^3, f^3, h^3-4*h;
9ideal Z = 0;  // zero
10ideal J = twostd(I); // two-sided GB
11ideal K = std(I);    // left GB
12map Phi = R,C;  // phi maps a (in R) to C (in U(sl2))
13setring R;
14ideal PreJ = preimage(Usl2,Phi,J);
15// the central character of J
16PreJ;
17factorize(PreJ[1],1);
18// hence, there are two simple characters for J
19ideal PreK = preimage(Usl2,Phi,K);
20// the central character of K
21PreK;
22factorize(PreK[1],1);
23// hence, there are three simple characters for K
24preimage(Usl2, Phi, Z);  // kernel pf phi
25
26tst_status(1);$
Note: See TracBrowser for help on using the repository browser.