fieker-DuValspielwiese
Last change
on this file since cbf01b was
b7f0f6,
checked in by Oleksandr Motsak <motsak@…>, 11 years ago
|
Updated SW test-suite (changes in normalizaion/ext_fields)
|
-
Property mode set to
100644
|
File size:
778 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "ncalg.lib"; |
---|
3 | def R = makeQso3(3); |
---|
4 | setring R; R; |
---|
5 | option(redSB); |
---|
6 | // we wish to have completely reduced bases: |
---|
7 | option(redTail); |
---|
8 | module tst; |
---|
9 | ideal J = x3+x,x*y*z; |
---|
10 | option(); print(syz(J)); |
---|
11 | ideal K = x+y+z,y+z,z; |
---|
12 | option(); module S = syz(K); |
---|
13 | print(S); |
---|
14 | tst = module(transpose(S)*transpose(K)); |
---|
15 | // check the property of a syzygy module (tst==0): |
---|
16 | size(tst); |
---|
17 | // now compute the Groebner basis of K ... |
---|
18 | option(); K = std(K); |
---|
19 | // ... print a matrix presentation of K ... |
---|
20 | print(matrix(K)); |
---|
21 | option(); S = syz(K); // ... and its syzygy module |
---|
22 | print(S); |
---|
23 | tst = module(transpose(S)*transpose(K)); |
---|
24 | // check the property of a syzygy module (tst==0): |
---|
25 | size(tst); |
---|
26 | // but the "commutative" syzygy property does not hold |
---|
27 | size(module(matrix(K)*matrix(S))); |
---|
28 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.