Unless you want to define a new ring with 7 variables, try the code:
S=QQ[a,b,c,d];
f1=a*c-b^2
f2=a*d-b*c
f3=b*d-c^2
--I=ideal(f1,f2,f3);
p=-b^4+a*b^2*c-c^4-a*b*c*d+b*c^2*d+a^2*d^2;
M=matrix{{p,f1,f2,f3},{0,1,0,0},{0,0,1,0},{0,0,0,1}}
gens gb M
Doug
>>> Dave <dav...@math.uga.edu> 06/08/11 12:47 PM >>>
--
You received this message because you are subscribed to the Google
Groups "Macaulay2" group.
To post to this group, send email to maca...@googlegroups.com.
To unsubscribe from this group, send email to
macaulay2+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/macaulay2?hl=en.
If it is not, the examples below would seem to suggest that a Gr\"obner
basis is computed
as combinations of the generators before trying to find the quotients
(since in the first the quotients should be 1,0 with remainder 0, and in
the second 0,0 with remainder p2).
A=QQ[x,y,MonomialOrder=>{Position=>Down}];
f1=x^3*y-x;
f2=x*y^3-y;
I=ideal(f1,f2);
p1=x^3*y-x;
M1=matrix{{0,0,-1},{f1,f2,p1},{1,0,0},{0,1,0}};
gens gb M1
p1//gens(I)
p2=x^2*y-x*y^2;
M2=matrix{{0,0,-1},{f1,f2,p2},{1,0,0},{0,1,0}};
gens gb M2
p2//gens(I)
----------------------------------------------------------------------------------------------------------------------------
>>> Irena Swanson <iswa...@reed.edu> 06/08/11 3:55 PM >>>
i12 : p//(gens I)
Irena
--
You received this message because you are subscribed to the Google
Groups "Macaulay2" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/macaulay2/-/TGdmU29TQVU1TEVK.
the examples below would seem to suggest that a Gr\"obner
basis is computed
as combinations of the generators before trying to find the quotients
(since in the first the quotients should be 1,0 with remainder 0, and in
the second 0,0 with remainder p2).