source: git/Tst/Manual/syz_BR_PLURAL_BR.tst @ 6fb723

spielwiese
Last change on this file since 6fb723 was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 731 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "ncalg.lib";
3def R = makeQso3(3);
4setring R;
5option(redSB);
6// we wish to have completely reduced bases:
7option(redTail);
8ideal tst;
9ideal J = x3+x,x*y*z;
10print(syz(J));
11ideal K = x+y+z,y+z,z;
12module S = syz(K);
13print(S);
14tst = ideal(transpose(S)*transpose(K));
15// check the property of a syzygy module (tst==0):
16size(tst);
17 // now compute the Groebner basis of K ...
18K = std(K);
19// ... print a matrix presentation of K ...
20print(matrix(K));
21S = syz(K); // ... and its syzygy module
22print(S);
23tst = ideal(transpose(S)*transpose(K));
24// check the property of a syzygy module (tst==0):
25size(tst);
26// but the "commutative" syzygy property does not hold
27size(ideal(matrix(K)*matrix(S)));
28tst_status(1);$
Note: See TracBrowser for help on using the repository browser.