| LIB "presolve.lib";
ring r = 0,(x,y,z),dp;
ideal i = y2-x3,x-3,y-2x;
def R_r = tolessvars(i,"lp");
==>
==> // variables which did not occur:
==> z
==>
==> // 'tolessvars' created a ring, in which an object IMAG is stored.
==> // To access the object, type (if the name R was assigned to the return v\
alue):
==> setring R; IMAG;
setring R_r;
show(basering);
==> // ring: (QQ),(x,y),(lp(2),C);
==> // minpoly = 0
==> // objects belonging to this ring:
==> // IMAG [0] ideal, 3 generator(s)
IMAG;
==> IMAG[1]=-x3+y2
==> IMAG[2]=x-3
==> IMAG[3]=-2x+y
kill R_r;
|