Difficult set of equations for groebner
mboratko · Thu Mar 08, 2012 4:02 pm
I have a set of equations that all must be equal to zero. Due to Hilbert's Nullstellensatz, a solution is guaranteed to exist and, furthermore, if I set one of the variables in these equations equal to zero the surprisingly simple groebner basis is calculated almost instantly. The problem is that, if I do not set this variable equal to zero the process maxes out 8GB of RAM after running for about 24 hours.
The file which I load as "3degcmc/S" is located on pastebin. I cannot post the URL due to a board restriction, but it is ID 3xg0Qn85 (if you append that to the normal pastebin URL you should find it).
The polynomial equations are generated by an iterative process, and I can generate as many as I wish (I do this using Mathematica, I would be happy to post the code if you would like). I know that, if I make a17=0, only the first 20 equations of I are needed to compute the Groebner Basis that you see above. Is there some property that the equations hold (when I do not substitute a17=0) which explains why the Groebner Basis becomes so much more difficult to compute?
I was thinking of renting some time on an Amazon EC2 server with 64GB of RAM to see if it would compute if I gave it more time. Would this be worthwhile?
The file which I load as "3degcmc/S" is located on pastebin. I cannot post the URL due to a board restriction, but it is ID 3xg0Qn85 (if you append that to the normal pastebin URL you should find it).
Code:
> LIB "poly.lib";
> option(redSB);
> <"3degcmc/S";
> I = simplify(I,1);
> ideal J = substitute(I,a17,0);
> ideal GBJ = groebner(J);
> GBJ;
GBJ[1]=a20
GBJ[2]=a19
GBJ[3]=a18
GBJ[4]=a15
GBJ[5]=a13-a16
GBJ[6]=a12-a16
GBJ[7]=a7-a10
GBJ[8]=a6-a10
GBJ[9]=a4-a9
GBJ[10]=a3-a9-1
> ideal GBI = groebner(I);
> option(redSB);
> <"3degcmc/S";
> I = simplify(I,1);
> ideal J = substitute(I,a17,0);
> ideal GBJ = groebner(J);
> GBJ;
GBJ[1]=a20
GBJ[2]=a19
GBJ[3]=a18
GBJ[4]=a15
GBJ[5]=a13-a16
GBJ[6]=a12-a16
GBJ[7]=a7-a10
GBJ[8]=a6-a10
GBJ[9]=a4-a9
GBJ[10]=a3-a9-1
> ideal GBI = groebner(I);
The polynomial equations are generated by an iterative process, and I can generate as many as I wish (I do this using Mathematica, I would be happy to post the code if you would like). I know that, if I make a17=0, only the first 20 equations of I are needed to compute the Groebner Basis that you see above. Is there some property that the equations hold (when I do not substitute a17=0) which explains why the Groebner Basis becomes so much more difficult to compute?
I was thinking of renting some time on an Amazon EC2 server with 64GB of RAM to see if it would compute if I gave it more time. Would this be worthwhile?