source: git/Tst/Short/slimgb_s.tst @ 699dcd

spielwiese
Last change on this file since 699dcd was 341696, checked in by Hans Schönemann <hannes@…>, 14 years ago
Adding Id property to all files git-svn-id: file:///usr/local/Singular/svn/trunk@12231 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.6 KB
Line 
1// $Id$
2
3//
4//
5
6
7LIB "tst.lib";
8
9LIB "poly.lib";
10
11tst_init();
12tst_ignore("CVS: $Id$");
13
14proc char_out(ideal i){
15  return(sort(simplify(lead(i),1))[1]);
16}
17ring r=0,x(1..5),dp;
18ideal i=cyclic(5);
19char_out(slimgb(i));
20kill r;
21
22ring r=7,x(1..5),dp;
23ideal i=cyclic(5);
24char_out(slimgb(i));
25kill r;
26
27ring r = 32003, (x,y,z,t,u,v,w,a,b,c,d,e,f,g,h,i,j,k), dp;
28ideal i0=
29ag ,
30df+bg+ah+w ,
31ci ,
32wf ,
33cg+ai+di+ei+cj+t+c ,
34cf+ag+dg+eg+ch+bi+aj+dj+ej+y+u+v+2w+a+d+e ,
35af+df+ef+wg+bg+ah+dh+eh+wj+bj+x+z+w+b-1 ,
36wf+bf+wh+bh ,
372wf+bf+wh ,
382af+df+ef+2wg+bg+ah+wj+x+w ,
39cf+2ag+dg+eg+wi+aj+y+a ,
40cg+ai ,
41af+wg ,
42bf+wh+2bh ,
43df+bg+ah+2dh+eh+bj+z+w+2b ,
44dg+ch+bi+dj+u+a+2d+e ,
45di+c ,
46bf+wh ,
47dg+a;
48ideal i=homog(i0,k);
49i = slimgb(i);
50char_out(i);
51kill r;
52
53ring @r=(32003,u1, u2, u3, u4),(x1, x2, x3, x4, x5, x6, x7),dp;
54ideal @i=
55-x4*u3+x5*u2,
56x1*u3+2*x2*u1-2*x2*u2-2*x3*u3-u1*u4+u2*u4,
57-2*x1*x5+4*x4*x6+4*x5*x7+x1*u3-2*x4*u1-2*x4*u4-2*x6*u2-2*x7*u3+u1*u2+u2*u4,
58-x1*x5+x1*x7-x4*u1+x4*u2-x4*u4+x5*u3+x6*u1-x6*u2+x6*u4-x7*u3,
59-x1*x4+x1*u1-x5*u1+x5*u4,
60-2*x1*x3+x1*u3-2*x2*u4+u1*u4+u2*u4,
61x1^2*u3+x1*u1*u2-x1*u2^2-x1*u3^2-u1*u3*u4+u3*u4^2;
62@i=slimgb(@i);
63char_out(@i);
64kill @r;
65
66ring r=0,(x,y,z),lp;
67ideal i=x3-y,xy-z,x2-z6,yz-z7,xz-y;
68char_out(slimgb(i));
69kill r;
70
71
72//twomat3
73ring @r=32003,(a, b, c, d, e, f, g, h, i, A, B, C, D, E, F, G, H, I),lp;
74ideal @i=
75d*C-c*D-f*E+e*F-i*F+f*I,
76-d*B-g*C+b*D+c*G,
77d*B-b*D-h*F+f*H,
78g*A+h*D-a*G+i*G-d*H-g*I,
79d*A-a*D+e*D-d*E-g*F+f*G,
80-c*A-f*B+a*C-i*C+b*F+c*I,
81-b*A+a*B-e*B-h*C+b*E+c*H,
82-g*h*C*I+g*B+h*E+h*F-b*G-c*G-e*H-f*H+i*H;
83char_out(slimgb(@i));
84kill @r;
85
86tst_status(1);$
Note: See TracBrowser for help on using the repository browser.