Closed jakobkroeker closed 8 years ago
update: the last example
LIB "primdec.lib";
ring rng = (integer),(x,y,z),(dp(3),C);
short = 0 ;
ideal I = 9*x*y-1;
ideal J = 13*x^2*y-11*x*y-10*z,12*x^2*z+15*x*z^2-2*y+6,-6*x^2*z-z^3+4*x*y+4;
ideal gI = std(I);
ideal ggI = std(gI);
ideal gJ = std(J);
finishes now, but seems big and not correct - compare with M2 result!
Wir würden gerne das Ergebnis vergleichen. Hast Du lead(gJ) aus m2 gerade greifbar?In Singular ist es_[1]=15_xz^2[2]=219700_y^2z[3]=66_x_yz[4]=6_x^2z[5]=114244y^3[6]=2_xy^2[7]=x^2y[8]=3276x^3[9]=83z^4[10]=yz^3[11]=xz^3[12]=26_y^2z^2[13]=x_yz^2[14]=3_x^2z^2[15]=338_y^3z[16]=1092_x^4
jakobkroeker <notifications@github.com> schrieb am 16:20 Mittwoch, 18.März 2015:
update: the last exampleLIB "primdec.lib"; ring rng = (integer),(x,y,z),(dp(3),C); short = 0 ; ideal I = 9_x_y-1; ideal J = 13_x^2_y-11_x_y-10_z,12_x^2_z+15_x_z^2-2_y+6,-6_x^2_z-z^3+4_x_y+4; ideal gI = std(I); ideal ggI = std(gI); ideal gJ = std(J); finishes now, but seems big and not correct - compare with M2 result!— Reply to this email directly or view it on GitHub.
R = ZZ[x,y,z]
J = ideal(13*x^2*y-11*x*y-10*z,12*x^2*z+15*x*z^2-2*y+6,-6*x^2*z-z^3+4*x*y+4)
gJ = gb J;
toString entries leadTerm ideal gens gJ
{{15*x*z^2,
219700*y^2*z,
66*x*y*z,
6*x^2*z,
114244*y^3,
2*x*y^2,
x^2*y,
3276*x^3,
83*z^4,
y*z^3,
x*z^3,
26*y^2*z^2,
x*y*z^2,
3*x^2*z^2,
338*y^3*z,
1092*x^4}}
Hmm.. sieht genau so aus, oder?
Hmm.. sieht genau so aus, oder?
ja, du hast recht. Aber warum sind die Koeffizienten im tail so gross?
it seems hard to find segfault examples, which crash in debug mode, too. here are some:
ok now:
ring rng = (integer),(x,y,z),(Wp(3),Wp(5),Wp(3),C);
option(prot);
short = 0 ;
ideal J = -4*x^2+y+8,-13*x*z-2*z^2+12,7*x*y-20*x+15*y;
ideal gJ = std(J);
not ok ?
ring rng = (integer),(x,y,z),(Dp(1),Dp(2),C);
option(prot);
short = 0 ;
ideal I = 15*x^3*y+34*y+15*z,-29*x^3*y+30*y*z+28*z,-3*x^2+27*x*y*z^2;
ideal gI = std(I);
I have tested some of them. The last one seems not to terminate...
I don't see any more segfaults