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