1 | system("NCUseExtensions", 0); // NO SCA!!! |
---|
2 | option(prot); // option(redTail); option(redSB); |
---|
3 | LIB "ncalg.lib"; |
---|
4 | |
---|
5 | |
---|
6 | def U = makeUsl2(); setring U; |
---|
7 | // Test(); // G-algebra // No bug here! |
---|
8 | |
---|
9 | ideal Q = twostd(ideal(var(3))); |
---|
10 | Q; |
---|
11 | qring RQ = Q; |
---|
12 | |
---|
13 | // Test(); // GR-algebra... Segmentation fault!!!??? |
---|
14 | |
---|
15 | |
---|
16 | //////////////////////////////////////////////////////// |
---|
17 | basering; |
---|
18 | |
---|
19 | ideal I = maxideal(1); |
---|
20 | |
---|
21 | def RR = nres(I, 0); |
---|
22 | RR; |
---|
23 | |
---|
24 | def R = mres(I, 0); |
---|
25 | R; |
---|
26 | |
---|
27 | list L = R; |
---|
28 | |
---|
29 | "Resolution: "; |
---|
30 | |
---|
31 | L; |
---|
32 | |
---|
33 | "Syzygy: "; |
---|
34 | |
---|
35 | syz(I); |
---|
36 | |
---|
37 | "Syzygy(Syzygy):"; |
---|
38 | |
---|
39 | syz(syz(I)); |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | $$$ |
---|