source: git/Tst/Short/bug_tr661.tst @ 1427f62

spielwiese
Last change on this file since 1427f62 was 75f460, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format
  • Property mode set to 100644
File size: 704 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4// incorrect radical entry in a primdecSY
5LIB"primdec.lib";
6ring rng = (0),(m,p,w,o,j,d,n,z),dp;
7
8ideal I = -2*j+19*o^2,
918*w*z+19*d,
10-13*p*d*z-16*o,
11-2*j*n^2+9*n,
1223*m-8*j,
13-17*m*n+17*m*o,
14-18*n*z+3*j,
1523*m*p*n-30*w*n,
16-6*m*w,
1723*j*d*z+4*d*z,
1816*m*w+14*j,
19-20*p*j*n+27*z^2,
2023*p*w+14*m*d,
217*m*j+29*o*d*n;
22
23list  L = primdecSY(I);
24ideal pc2 = L[2][1];
25pc2;
26ideal rpc2 = L[2][2]; // incorrect!!
27rpc2;
28
29radical(L[2][1]);
30
31idealsEqual( radical(pc2), rpc2 ); // = 0!
32///////////////////////////////////////////
33// same with groebner(I):
34L = primdecSY (groebner(I) );
35pc2 = L[2][1];
36rpc2 = L[2][2];
37rpc2;
38radical(L[2][1]);
39idealsEqual( radical(pc2), rpc2 ); //ok!
40
41tst_status(1);$
Note: See TracBrowser for help on using the repository browser.