1 | proc Test() |
---|
2 | { |
---|
3 | //////////////////////////////////////////////////////// |
---|
4 | basering; |
---|
5 | |
---|
6 | |
---|
7 | ideal I = maxideal(1); |
---|
8 | |
---|
9 | def RR = nres(I, 0); |
---|
10 | RR; |
---|
11 | list LL = RR; |
---|
12 | LL; |
---|
13 | |
---|
14 | |
---|
15 | def R = mres(I, 0); // BUG! |
---|
16 | R; |
---|
17 | |
---|
18 | list L = R; |
---|
19 | |
---|
20 | "Resolution: "; |
---|
21 | |
---|
22 | L; |
---|
23 | |
---|
24 | "Syzygy: "; |
---|
25 | |
---|
26 | syz(I); |
---|
27 | |
---|
28 | "Syzygy(Syzygy):"; |
---|
29 | |
---|
30 | syz(syz(I)); |
---|
31 | } |
---|
32 | |
---|
33 | system("NCUseExtensions", 0); // NO SCA!!! |
---|
34 | option(prot); // option(redTail); option(redSB); |
---|
35 | LIB "ncalg.lib"; |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | ring r; |
---|
42 | qring q = std(maxideal(1)); |
---|
43 | |
---|
44 | Test(); // BUG: resolution minimization in a factor algebra: Segmentation fault!!! |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | $$$ |
---|
49 | |
---|
50 | |
---|
51 | |
---|
52 | def U = makeUsl2(); setring U; |
---|
53 | // Test(); // Nothing in G-algebra |
---|
54 | |
---|
55 | ideal Q = twostd(ideal(var(3))); |
---|
56 | Q; |
---|
57 | qring RQ = Q; |
---|
58 | |
---|
59 | Test(); // factor algebra!!! Segmentation fault!!! |
---|
60 | |
---|
61 | |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | $$$ |
---|