spielwiese
Last change
on this file since a6e7454 was
a6e7454,
checked in by Viktor Levandovskyy <levandov@…>, 20 years ago
|
nontrivial examples from Plural doc
git-svn-id: file:///usr/local/Singular/svn/trunk@6653 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100755
|
File size:
462 bytes
|
Line | |
---|
1 | // simple elimination tests |
---|
2 | LIB "tst.lib"; |
---|
3 | tst_init(); |
---|
4 | ring r=0,(e,f,h,a),Dp; |
---|
5 | matrix d[4][4]; |
---|
6 | d[1,2]=-h; |
---|
7 | d[1,3]=2*e; |
---|
8 | d[2,3]=-2*f; |
---|
9 | system("PLURAL",1,d); |
---|
10 | // it is U(sl_2)+K[a] |
---|
11 | option(redSB); |
---|
12 | option(redTail); |
---|
13 | poly p=4*e*f+h^2-2*h-a; |
---|
14 | // this is central element with parameter |
---|
15 | ideal I=e^3,f^3, h^3-4*h,p; |
---|
16 | ideal J=eliminate(I,efh); |
---|
17 | // this will give us the central character of I |
---|
18 | J; |
---|
19 | eliminate(I,h); // [e,f] is not the adm. subalgebra! |
---|
20 | eliminate(I,a); |
---|
21 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.