source: git/Tst/Long/primdecint.tst @ feecad

spielwiese
Last change on this file since feecad was feecad, checked in by Hans Schoenemann <hannes@…>, 13 years ago
primdecint tests git-svn-id: file:///usr/local/Singular/svn/trunk@13376 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100755
File size: 4.0 KB
Line 
1LIB "tst.lib";
2tst_init();
3
4LIB "primdecint.lib";
5
6ring R1 = integer,(a,b,c,d,e,f,g),dp;
7ideal I = 2*3,a2+2de+2cf+2bg+a, 2ab+e2+2df+2cg+b,
8          b2+2ac+2ef+2dg+c, 2bc+2ad+f2+2eg+d,
9          c2+2bd+2ae+2fg+e, 2cd+2be+2af+g2+f, d2+2ce+2bf+2ag+g;
10primdecZ(I,1);
11primdecZ(I,3);
12
13
14ring R3 = integer,(w,z,y,x),dp;
15ideal I = 2*3*181*32003, xzw+(-y^2+y)*z^2, (-x^2+x)*w^2+yzw,
16          ((y^4-2*y^3+y^2)*x-y^4+y^3)*z^3,y2z2w+(-y*4+2*y^3-y^2)*z3;
17primdecZ(I,1);
18primdecZ(I,3);
19
20ring R5 = integer,(x,y,z),dp;
21ideal I = 2*13*181*32003, x2-y2-z2, xy-z2, y3+xz2-yz2+2z3+xy-z2,
22          -y2z2+2z4+x2-y2+z2, y3z9+3y2z10+3yz11+z12-y2z2+2z4;
23primdecZ(I,1);
24primdecZ(I,3);
25
26ring R7 = integer,(x,y,z),dp;
27ideal I = 2^4*3*5*7*11*13*17, x2-y2-(z+2)^2, xy-(z+2)^2,
28          y3+x*(z+2)^2-y*(z+2)^2+2*(z+2)^3+xy-(z+2)^2,
29          -y^2*(z+2)^2+2*(z+2)^4+x2-y2+(z+2)^2,
30          y3z9+3y2z10+3yz11+z12-y2z2+2z4;
31primdecZ(I,1);
32primdecZ(I,2);
33primdecZ(I,3);
34primdecZ(I,4);
35
36ring R8 = integer,(x,y,z),dp;
37ideal I = x2-y2-(z+2)^2, xy-(z+2)^2,
38          y3+x*(z+2)^2-y*(z+2)^2+2*(z+2)^3+xy-(z+2)^2,
39          -y^2*(z+2)^2+2*(z+2)^4+x2-y2+(z+2)^2,
40          y3z9+3y2z10+3yz11+z12-y2z2+2z4;
41primdecZ(I,1);
42primdecZ(I,3);
43
44ring R9 = integer,(w,z,y,x),dp;
45ideal I = 2*3*5*630, ((y^2-y)*x-y^3+y^2)*z^2, (x-y)*zw,
46          (x-y^2)*zw+(-y^2+y)*z^2, (-x^2+x)*w^2+(-yx+y)*zw;
47primdecZ(I,1);
48primdecZ(I,3);
49
50ring R10 = integer,(w,z,y,x),dp;
51ideal I = 2*3*5*1260, -yxzw+(-y^2+y)*z^2, (-x^2+x)*w^2-yxzw,
52          ((-y^2+y)*x-y^3+2*y^2-y)*z^3,
53          (y^2-y)*z^2*w+(-y^2+y)*z^2*w+(-y^2+y)*z^3;
54primdecZ(I,1);
55primdecZ(I,3);
56
57ring R11 = integer,(w,z,y,x),dp;
58ideal I = (4*y^2*x^2+(4*y^3+4*y^2-y)*x-y^2-y)*z^2,
59          (x+y+1)*zw+(-4*y^2*x-4*y^3-4*y^2)*z^2,
60          (-x-2*y^2 - 2*y - 1)*zw + (8*y^3*x + 8*y^4 + 8*y^3 + 2*y^2+y)*z^2,
61          ((y^3 + y^2)*x - y^2 - y)*z^2,
62          (y +1)*zw + (-y^3 -y^2)*z^2,
63          (x + 1)*zw +(- y^2 -y)*z^2,
64          (x^2 +x)*w^2 + (-yx - y)*zw;
65primdecZ(I,1);
66primdecZ(I,2);
67primdecZ(I,3);
68primdecZ(I,4);
69
70ring R12 = integer,(w,z,y,x),dp;
71ideal I = 2*3*181*72,
72          ((y^3 + y^2)*x - y^2 - y)*z^2,
73          (y + 1)*zw + (-y^3 -y^2)*z^2,
74          (x + 1)*zw + (-y^2 -y)*z^2, (x^2 + x)*w^2 + (-yx - y)*zw;
75primdecZ(I,1);
76primdecZ(I,3);
77
78ring R14 = integer,(x(1),x(2),x(3),x(4)),dp;
79ideal I = 181*49^2, x(4)^4, x(1)*x(4)^3, x(1)*x(2)*x(4)^2,
80          x(2)^2*x(4)^2, x(2)^2*x(3)*x(4), x(1)*x(2)*x(3)*x(4),
81          x(1)*x(3)^2*x(4), x(3)^3*x(4);
82primdecZ(I,1);
83primdecZ(I,3);
84
85ring R15 = integer,(x,y,z),dp; 
86ideal I = 32003*181*64,
87          ((z^2-z)*y^2 + (z^2 -z)*y)*x,
88          (z*y^3 + z*y^2)*x,
89          (y^4 - y^2)*x,
90          (z^2 - z)*y*x^2,
91          (y^3 - y^2)*x^2,
92          (z^3 - z^2)*x^4 + (2*z^3 -2*z^2)*x^3 + (z^3 -z^2)*x^2,
93          z*y^2*x^2;
94primdecZ(I,1);
95primdecZ(I,3);
96
97ring R16 = integer,(x(1),x(2),x(3),x(4),x(5)),dp;
98ideal I = x(5)^5, x(1)*x(5)^4, x(1)*x(2)*x(5)^3, x(2)^2*x(5)^3,
99          x(2)^2*x(3)*x(5)^2, x(1)*x(2)*x(3)*x(5)^2, x(1)*x(3)^2*x(5)^2,
100          x(3)^3*x(5)^2, x(3)^3*x(4)*x(5), x(1)*x(3)^2*x(4)*x(5),
101          x(1)*x(2)*x(3)*x(4)*x(5), x(2)^2*x(3)*x(4)*x(5),
102          x(2)^2*x(4)^2*x(5), x(1)*x(2)*x(4)^2*x(5), x(1)*x(4)^3*x(5),
103          x(4)^4*x(5);
104I = intersectZ(I,ideal(64*181,x(1)^2));
105I;
106primdecZ(I,1);
107primdecZ(I,2);
108primdecZ(I,3);
109primdecZ(I,4);
110
111ring R17 = integer,(x,y,z),dp;
112ideal I = 374, (z+2)^8-140z6+2622*(z+2)^4-1820*(z+2)^2+169,
113          17y*(z+2)^4-374*y*(z+2)^2+221y+2z7-281z5+5240z3-3081z,
114          204y2+136yz3-3128yz+z6-149z4+2739z2+117,
115          17xz4-374xz2+221x+2z7-281z5+5240z3-3081z,
116          136xy-136xz-136yz+2z6-281z4+5376z2-3081,
117          204x2+136xz3-3128xz+z6-149z4+2739z2+117;
118primdecZ(I,1);
119primdecZ(I,3);
120
121ring R24 = integer,(a,b,c,d,e,f,g,h,j),dp;
122ideal I = 2*3*5*7*11*13*17, a+2b+c-d+g, f2gh-a, efg-c, fg2j-b,
123          a+b+c+f+g-1, 3ad+3bd+2cd+df+dg-a-2b-c-g;
124primdecZ(I,1);
125primdecZ(I,3);
126
127ring R25 = integer,(s,r,b,u,v,w,x,y,z),dp;
128ideal I = 2*3*5*7*11*13*17*19*23, su+bv, ru+bw, rv+sw, sx+by, rx+bz,
129          ry+sz, vx+uy, wx+uz, wy+vz;
130primdecZ(I,1);
131primdecZ(I,3);
132
133tst_status(1);$
Note: See TracBrowser for help on using the repository browser.