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 | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | LIB"primdec.lib"; |
---|
5 | ring r = (0,p), (w,x,y,z), dp; |
---|
6 | minpoly = p2-p-1; |
---|
7 | poly f = 4*(p2x2-y2)*(p2y2-z2)*(p2z2-x2)-(1+2p)*(x2+y2+z2-w2)^2*w2; |
---|
8 | ideal I = jacob(f); // ! |
---|
9 | list L = primdecGTZ(I); |
---|
10 | ideal J = 1; |
---|
11 | int i; |
---|
12 | for (i = size(L); i > 0; i--) { J = intersect(J, L[i][1]); }; |
---|
13 | size(reduce(I, std(J))); // now J should be the same ideal as I, so this should be zero |
---|
14 | size(reduce(J, std(I))); // dito |
---|
15 | |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.