source: git/Tst/Buch/Example_1_9_28.tst @ 1ebec3

spielwiese
Last change on this file since 1ebec3 was 9faaf0, checked in by Hans Schönemann <hannes@…>, 17 years ago
*hannes: syntax fix git-svn-id: file:///usr/local/Singular/svn/trunk@10214 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 449 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4// ================================== example 1.9.28 ====================
5
6LIB "ncalg.lib";
7def  U = makeUsl2(); // U(sl_2) over the rationals
8setring U;
9ring A = 0,(a),dp;
10def  UA = U + A;
11setring UA;
12
13poly  p = 4*e*f+h^2-2*h - a;
14// p is a central element of UA
15ideal I = e^3, f^3, h^3-4*h, p;
16// intersect I with the ring K[a]
17ideal J = eliminate(I,e*f*h);
18J;
19
20eliminate(I,h);
21
22eliminate(I,e*f*a);
23
24tst_status(1);$
25
Note: See TracBrowser for help on using the repository browser.