 ring r = 0,(x,y,z),lp;
ideal i = y3+x2,x2y+x2,x3x2,z4x2y;
stdfglm(i); //uses fglm from "dp" (with groebner) to "lp"
==> _[1]=z12
==> _[2]=yz4z8
==> _[3]=y2+yz8z4
==> _[4]=xyxz4y+z4
==> _[5]=x2+yz4
stdfglm(i,"std"); //uses fglm from "dp" (with std) to "lp"
==> _[1]=z12
==> _[2]=yz4z8
==> _[3]=y2+yz8z4
==> _[4]=xyxz4y+z4
==> _[5]=x2+yz4
ring s = (0,x),(y,z,u,v),lp;
minpoly = x2+1;
ideal i = u5v4,zvu2,zu3v3,z2uv2,z3uv,yvzu,yuz2,yzv,y2u,uxy2;
weight(i);
==> 2,3,4,5
stdfglm(i,"(a(2,3,4,5),dp)"); //uses fglm from "(a(2,3,4,5),dp)" to "lp"
==> _[1]=v2
==> _[2]=u
==> _[3]=zv
==> _[4]=z2
==> _[5]=yv
==> _[6]=yzv
==> _[7]=y2
