SetNthreads(5); K := Integers(); R:=PolynomialRing(K,11); //R:=PolynomialRing(K,10); S:=PolynomialRing(K,12); //----------------------------(P,q,detJ)------------------------------------- PP:=Y^2*Z-(X^3+AA*X*Z^2+BB*Z^3); qq:=aa0*X^2 + aa1*X*Y + aa2*X*Z^2 + aa3*Y^2*Z + aa4*Y*Z + aa5*Z^2; phi := homR | x,y,1,A,B,a0,a1,a2,a3,a4,a5,t>; P:=phi(PP); q:=phi(qq); W := [P, q, a1*x+a4, 6*t-1]; GW := GroebnerBasis(W); GW;