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

fieker-DuValspielwiese
Last change on this file since 1c473f was e0b657, checked in by Hans Schönemann <hannes@…>, 17 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: 658 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring r=(0,Q),(x,y,z),dp;
4matrix A[3][3];
5matrix B[3][3];
6int u,j;
7for(u=1;u<=3;u++)
8{
9  for(j=u;j<=3;j++)
10  {
11    A[u,j]=1;
12  }
13}
14A[1,2]=Q2;
15A[1,3]=1/Q2;
16A[2,3]=Q2;
17B[1,2]=-Q*z;
18B[1,3]=1/Q*y;
19B[2,3]=-Q*x;
20def S=nc_algebra(A,B);setring S;
21poly Cq=Q^4*x2+y2+Q^4*z2+Q*(1-Q^4)*x*y*z;
22poly C1=x^3+x;
23poly C2=y^3+y;
24poly C3=z^3+z;
25ideal I=Cq,C1,C2,C3;
26I=std(I);
27module a=syz(I);
28print(a);
29kill a;
30resolution F=nres(I,0);
31F;
32int b;string s;
33for (b=1;b<=size(list(F));b++)
34{s=print("Step:","%s");s=s+string(b);s;F[b];}
35resolution G=mres(I,0);
36G;
37for (b=1;b<=size(list(G));b++)
38{s=print("Step:","%s");s=s+string(b);s;G[b];}
39tst_status(1);$
Note: See TracBrowser for help on using the repository browser.