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

fieker-DuValspielwiese
Last change on this file since bceb63 was 7510bb, checked in by Hans Schoenemann <hannes@…>, 8 years ago
format
  • Property mode set to 100644
File size: 1.4 KB
Line 
1LIB "tst.lib";
2LIB "nfmodsyz.lib";
3tst_init();
4
5proc tst_test_nfmodsyz(def I)
6{
7   // input type ideal or module
8   def Jtst = nfmodSyz(I);
9   Jtst;
10}
11
12ring r = 0,(x,y,z),dp;
13module M = [x2z+x-7*y,z2+9*x], [y2+7*z+7,10*z3-7*x2], [-xz+52*yz,xy+49*z],
14           [52*xyz+yz,7*xy+y+z], [10*xy+z2,xz+x+7*z];
15tst_test_nfmodsyz(M);
16kill r;
17
18ring r = (0,a),(x,y),(dp,c);
19minpoly = a^3+2a+7;
20module M = [(a/2+1)*x^2+2/3y, 3*x-a*y+ a/7+2], [ax, y];
21tst_test_nfmodsyz(M);
22kill r;
23
24ring r = (0,a),(x,y,z),(c,dp);
25minpoly = a3+a+1;
26module M = [x2z+x+(-a)*y, z2+(a+2)*x],
27           [y2+(a)*z+(a), (a+3)*z3+(-a)*x2],
28           [-xz+(a2+3)*yz, xy+(a2)*z];
29tst_test_nfmodsyz(M);
30kill r;
31
32ring r = (0,a), (x,y,z), (c,dp);
33minpoly = a^3+7a-5;
34module M = [(a+8)*x2y2+5*xy3,(-a2+3)*x3z+x2yz], [x5+2*y3z2,13*a*y2z3+5*yz4],
35           [8*x3+(a2+12)*y3,xz2+(3a)], [(-a+7)*x2y4+y3z3,18*y3z2];
36tst_test_nfmodsyz(M);
37kill r;
38
39ring r=(0,a),(x,y,z,w,u),(c,dp);
40minpoly = a^3+a+5;
41module M = (5+a)*x^3*y^2*z + (a+3)*y^3*x^2*z + (a+7)*x*y^2*z^2,
42        (a+3)*x*y^2*z^2 + (a+1)*x^5 + (a-11)*y^2*z^2,
43        (a+2)*x*y*z + (a+7)*x^3 + 12*y^3 + 1,3*x^3 +(a- 4)*y^3 + y*z^2;
44tst_test_nfmodsyz(M);
45kill r;
46
47ring r=(0,a),(x,y,z,w,u),(c,dp);
48minpoly = a^2+1;
49module M = x+(a/2147483647)*x*y+(a/2147483646)*y*z,
50          x^2*z + (a/2147483647)*y^3 + (a+1)*y*z^2,
51          (2*a*x)/3-(7*a*y)/23 + (9*z)/7;
52tst_test_nfmodsyz(M);
53kill r;
54tst_status(1);$
Note: See TracBrowser for help on using the repository browser.