//SINGULAR Example 1.8.19 ring A=0,(x,y),dp; poly f=x4-y4; poly f1=x2+y2; poly f2=x2-y2; LIB"algebra.lib"; algDependent(ideal(f,f1,f2))[1];//a SINGULAR procedure ring B=0,(u,v,w),dp; //the method described above setring A; ideal zero; map phi=B,f,f1,f2; setring B; preimage(A,phi,zero); //the kernel of phi