source: git/Tst/Long/bug_tr677.tst @ bceb63

fieker-DuValspielwiese
Last change on this file since bceb63 was 739d9e, checked in by Hans Schoenemann <hannes@…>, 9 years ago
test for tr. #677
  • Property mode set to 100644
File size: 438 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4LIB"primdec.lib";
5ring r = (0,p), (w,x,y,z), dp;
6minpoly = p2-p-1;
7poly f = 4*(p2x2-y2)*(p2y2-z2)*(p2z2-x2)-(1+2p)*(x2+y2+z2-w2)^2*w2;
8ideal I = jacob(f);   // !
9list L = primdecGTZ(I);
10ideal J = 1;
11int i;
12for (i = size(L); i > 0; i--) { J = intersect(J, L[i][1]); };
13size(reduce(I, std(J)));   // now J should be the same ideal as I, so this should be zero
14size(reduce(J, std(I)));   // dito
15
16tst_status(1);$
Note: See TracBrowser for help on using the repository browser.