source: git/Tst/Plural/Syz-qso3-q3.tst @ 1ebec3

spielwiese
Last change on this file since 1ebec3 was e0b657, checked in by Hans Schönemann <hannes@…>, 16 years ago
*hannes: ncalgebra -> nc_algebra git-svn-id: file:///usr/local/Singular/svn/trunk@10367 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 677 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring r=(0,Q),(x,y,z),dp;
4minpoly=Q^4+Q^2+1;
5matrix A[3][3];
6matrix B[3][3];
7int u,j;
8for(u=1;u<=3;u++)
9{
10  for(j=u;j<=3;j++)
11  {
12    A[u,j]=1;
13  }
14}
15A[1,2]=Q2;
16A[1,3]=1/Q2;
17A[2,3]=Q2;
18B[1,2]=-Q*z;
19B[1,3]=1/Q*y;
20B[2,3]=-Q*x;
21def S=nc_algebra(A,B);setring S;
22poly Cq=Q^4*x2+y2+Q^4*z2+Q*(1-Q^4)*x*y*z;
23poly C1=x^3+x;
24poly C2=y^3+y;
25poly C3=z^3+z;
26ideal I=Cq,C1,C2,C3;
27I=std(I);
28module a=syz(I);
29print(a);
30kill a;
31resolution F=nres(I,0);
32F;
33int b;string s;
34for (b=1;b<=size(list(F));b++)
35{s=print("Step:","%s");s=s+string(b);s;F[b];}
36resolution G=mres(I,0);
37G;
38for (b=1;b<=size(list(G));b++)
39{s=print("Step:","%s");s=s+string(b);s;G[b];}
40tst_status(1);$
Note: See TracBrowser for help on using the repository browser.