next up previous contents
Next: 5. Zariski's question, Milnor Up: Standard bases, syzygies and Previous: 3. Examples and comparisons

4. On Schreyer's method to compute syzygies

In this chapter we shall prove that Schreyer's method to compute syzygies (cf. [S1], [S2], [E]) extends to any semigroup ordering < on $K[x]^r
= \sum^r_{i=1} K[x] e_i$. For the treatment of syzygies in a different context, or for different algorithms see [M2], [Ba], [MM], [MMT] and [LS].
Let $S = \{g_1, \ldots, g_q\}$ be a standard basis of $I \subseteq K[x]^r$.

For $K[x]^q = \sum^{q+r}_{i=r+1} K[x] e_i$ we choose the following Schreyer ordering <1 (depending on S): $x^\alpha e_{i+r} <_1 x^\beta e_{j+r}$ if and only if either $L(x^\alpha g_i) < L(x^\beta g_j)$ or $L(x^\alpha g_i) = L(x^\beta
g_j)$ and i > j.

For gi, gj having the leading term in the same component, that is $L(g_i)
= x^{\alpha_i} e_k, L(g_j) = x^{\alpha_j} e_k$ we consider spoly (gi, gj) := mjigi - mijgj with $m_{ji} = c(g_j)
{lcm(L(g_i),\, L(g_j))\over x^{\alpha_i}}$.

Because S is a standard basis we obtain (Corollary 1.11)

\begin{displaymath}(1 + h_{ij}) (m_{ji} g_i - m_{ij} g_j) = \sum \xi^{ij}_\nu g_\nu
\end{displaymath}

with L(hij) < 1 if $h_{ij} \not= 0$ and $L(\xi^{ij}_\nu g_\nu) <
L(m_{ji}g_i)$.

For j > i such that gi, gj have leading term in the same component, let

\begin{displaymath}\tau_{ij} := (1 + h_{ij}) (m_{ji} e_{i+r} - m_{ij} e_{j+r}) - \sum
\xi^{ij}_\nu e_{\nu + r}.
\end{displaymath}

Let ker $(K[x]^q \to K[x]^r, \sum w_i e_{i+r} \mapsto \sum w_i g_i)$ denote the module of syzygies, syz(I), of $\{g_1, \ldots, g_q\}$. The following proposition is essentially due to Schreyer.

Proposition 4..1   With respect to the ordering <1 the following holds:

1)
$L(\tau_{ij}) = m_{ji} e_{i+r}$.
2)
$\{\tau_{ij} \mid i < j$ s.t. L(gi), L(gj) are in the same component $\}$ is a standard basis for syz(I)

Proof: 1) $L(\tau_{ij}) = L(m_{ji} e_{i+r} - m_{ij} e_{j+r}) =
m_{ji} e_{i+r}$ holds by definition of <1.

To prove 2) it has to be shown that $L(\mbox{syz}(I)) = \langle\{m_{ji}
e_{i+r}\}\rangle$ (Definition 1.3).

Let $\sum w_i g_i = 0$, that is $\tau := \sum w_i e_{i+r} \in$ syz(I), and let $me_{k+r} = L(\tau)$ with respect to <1. Let

\begin{displaymath}T := \{ ne_{r+l} \mid n e_{r+l} \mbox{ be a monomial of } \tau, L(ng_l)
= L(mg_k)\}.
\end{displaymath}

Then, obviously, $\tau\vert _T := \sum_{ne_{r+l} \in T} ne_{r+l}$ is a syzygy of $L(g_1), \ldots, L(g_q)$. Especially, $\char93  T \ge 2$. Choose l such that $ne_{r+l} \in T$ for some n and $ne_{r+l} \not= me_{k+r}$. Because $L(\tau) = me_{k+r}$ and the definition of <1 we have k < l.
Since mL(gk) = nL(gl) we have $m_{lk} \mid m.$

But $L(\tau_{kl}) = m_{lk} e_{k+r}$ implies $L(\tau_{kl}) \mid
\tau$, that is $L(\tau) \in L(\langle\{m_{ji} e_{i+r}\}\rangle)$, which proves the proposition.

The principle of the algorithm is now easy.

Let S be a standard basis of $I \subseteq K[x]^r = \sum^r_{i=1}
K[x]e_i$. We may assume that $L(s) \not\vert$ L(s') for different $s, s' \in S$.

Let $q := \char93  S$.

W := Syz$(\bf S)$
INPUT: S, a standard basis
OUTPUT: W, the module of syzygies of S

$W:= \emptyset$
T := initSyz (S)
L := initPairs (T)
WHILE $ L \not= \emptyset $ DO
p := (a, b, s) the last element from L
$L := L \backslash \{(a, b, s)\}$
s := spoly(a,b)
h := NF(s|T)
h:= h(t = 1)
$W := W \cup \{h\}$
END

T := initSyz$(\bf S)$
INPUT:
S, a standard basis $v_1, \ldots, v_s$
OUTPUT:
T, the set $[v_1, 1, 0, \ldots, 0], \ldots, [v_s, , \ldots, 0,1]$

i := r; $T := \emptyset$
WHILE $ S \not= \emptyset$ DO
s := the first element from S
i := i+1
$S := S \backslash \{s\}$
s := s + ei
$T := T \cup \{s\}$
END
T := Th.

h := NF(s|T)
INPUT:
S, a polynomial vector to reduce
T, a set of polynomials with which to reduce
OUTPUT:
h, the reduced ponyomial vector

h := s
WHILE exist $f \in T$ such that $L(f) \mid t^\alpha L(h)$ for some $\alpha$ DO
choose the first possible f with respect to the ordering in T such that $\alpha$ is minimal
IF $\alpha > 0$ THEN
$T := T \cup \{ h\}$
END
h := spoly $(t^\alpha h, f)$
update (h)
END

Here we use on $K[t, x]^{r+q} = \sum^{r+q}_{i=1} K[t, x] e_i$ the following ordering <2:

If $i \le r$ and $j \ge r + 1$ then m ej <2 n ei for all monomials $m, n \in K[t, x]$.

On $\sum^r_{i=1} K[t,x]e_i$ respectively $\sum^q_{i=r+1} K[t, x]e_i$ we use the extension of < (respectively <1) described in Chapter 1.

The algorithm is extremely sensitive with respect to the ordering of the standard basis S of the input.

Assuming that the set L is ordered as in Chapter 1, then S should be ordered in an opposite manner to Chapter 1, that is it should be ordered by decreasing monomial ordering. This produces potentially more syzygies of smaller degree at the beginning.

Because of Proposition 4.1 we know the leading term of the s-polynomial of a pair in L without conputing the s-polynomial. If this leading term is divisible by another one, the pair can be cancelled from L.

The algorithm ``Standard basis'' of paragraph 1, together with repeated application of the algorithm ``Syz'', provides an effective way to construct finite Loc;SPMlt; K[x]-free resolutions and gives a sharpened version of Hilbert's syzygy theorem which generalizes Schreyer's proof (cf. [E], [S1], [S2]).

Lemma 4..2  

Let $\{g_1, \ldots, g_q\}$ be a standard basis of $I \subset
K[x]^r = \sum_{i=1, \ldots, r} K[x]e_i$. We assume that the leading terms are a basis vector of K[x]r, that is $L(g_{i}) = e_{\nu_i}$. We set $J = \{\nu \mid \exists i$ s.t. $\nu = \nu_i\}$ and for $\nu \in J$ we choose exactly one $g_{i_\nu}$ such that $L(g_{i_\nu})= e_\nu$. Then ILoc;SPMlt; K[x] is a free Loc;SPMlt; K[x]-module with basis $\{g_{i_\nu} \mid \nu \in J\}$ and (Loc ;SPMlt; K[x])r/ILoc;SPMlt;K[x] is Loc;SPMlt; K[x]-free with basis represented by the $\{e_j \mid j \not\in J\}$.

Proof: Let us renumber the gi such that $g_{i_\nu} = g_\nu$ for $\nu \in J$. First of all, the subset $\{g_\nu \mid \nu \in J\}
\subset \{g_{1}, \ldots, g_{q}\}$ remains a standard basis of I since the set of leading terms is not changed. Hence, we may assume that all leading terms are different. By Proposition 1.4, $\{g_\nu \mid \nu
\in J\}$ generates ILoc;SPMlt; K[x]. Now consider a relation

\begin{displaymath}\sum_{j\not\in J} \xi_j e_j = \sum_{j \in J} \xi_j g_j,\quad \xi_j \in
\mbox{Loc}_< K[x].
\end{displaymath}

After clearing denominators we may assume that $\xi_j \in K[x]$. Since the leading terms involve different ei on each side, we obtain $\xi_1 =
\cdots = \xi_n = 0$. This shows that the $g_\nu,\, \nu \in J$ are linear independent and that the $e_j, j \not\in J$ are independent modulo ILoc;SPMlt; K[x]. Since $\{ L(g_j) \mid j \in J\} \cup \{e_i \mid i\not\in J\}$ generate L(K[x]r)=(e1,...,er)K[x] $\{g_j \mid j\in J\}\cup\{e_i\mid i\not\in J\}$ is a standard basis of K[x]r this set generates $(\mbox{Loc}_< K[x])^r$ by Corollary 1.11. Therefore, $\{e_j \mid j \not\in J\}$ generates $(\mbox{Loc}_< K[x])^r/I\mbox{ Loc}_< K[x]$ over Loc;SPMlt; K[x].

Theorem 4..3   Let $S = \{g_1, \ldots, g_q\}$ be a standard basis of $I \subseteq K[x]^r$. Order S in such a way that whenever L(gi) and L(gj) involve the same component, say $L(g_i) = x^{\alpha_i}
e_k$ and $L(g_j) = x^{\alpha_j}e_k$, then $\alpha_i \ge \alpha_j$ in the lexicographical ordering if i < j. If $L(g_1), \ldots, L(g_q)$ do not depend on the variables $x_1, \ldots, x_s$, then the $L(\tau_{ij})$ do not depend on the variables $x_1, \ldots, x_{s+1}$ and

\begin{displaymath}M:= (\mbox{Loc}_< K[x])^r / I\mbox{ Loc}_< K[x]
\end{displaymath}

has a Loc;SPMlt; K[x]-free resolution of length $\le n - s$. In particular, M always has a free resolution of length $\le n$ and, by Serre's theorem, $\mbox{Loc}_< K[x]$ is a regular ring.

Proof: For i < j and $L(g_i) = x^{\alpha_i}
e_k$, $L(g_j) = x^{\alpha_j}e_k$ we have $\alpha_i = (0, \ldots, 0, \alpha_{i, s+1},
\ldots), \alpha_j = (0, \ldots, 0, \alpha_{j, s+1}, \ldots)$ with $\alpha_{i, s+1} \ge \alpha_{j, s+1}$. Therefore, $L(\tau_{ij}) = m_{ji} e_{i+r}$ does not depend on $x_1, \ldots, x_{s+1}$.

Let q1 := q and $\varphi_1 : K[x]^{q_1} \to K[x]^r$ the morphism given by $\{g_i\}$, $\sum w_i e_{i+r} \mapsto \sum w_i g_i$, and $\varphi_2 :K[x]^{q_2}
\to K[x]^{q_1}$ the analog morphism given by the standard basis $\{\tau_{ij}\}$, $q_2 = \char93  \{\tau_{ij}\}$. Applying the same construction as above to syz $^1(I) := \mbox{syz}(I) = \mbox{ker}(\varphi_1)$ and $\{\tau_{ij}\}$ we obtain a standard basis $\{\tau^2_{kl}\}$ of szy2(I) := syz(syz(I)) = ker $(\varphi_2)$ such that the leading terms of $\tau^2_{kl}$ do not depend on $x_1, \ldots, x_{s+2}$.

Continuing in the same way we obtain an exact sequence

\begin{displaymath}0 \to K[x]^{q_{n-s}}/\mbox{ker}(\varphi_{n-s}) \buildrel \var...
...x]^{q_1}
\buildrel\varphi_1\over\to K[x]^r \to K[x]^r/I \to 0.
\end{displaymath}

Moreover, ker $(\varphi_{n-s}) =$ syzn-s(I) has a standard basis $\{\tau^{n-s}_{k,l}\}$ such that none of the variables appear in $L(\tau^{n-s}_{k,l})$. Hence, by the preceding lemma, $K[x]^{q_{n-s}}/\mbox{ker}(\varphi_{n-s})$ becomes free after tensoring with Loc;SPMlt;K[x]. If we tensor the whole sequence with Loc;SPMlt;K[x] it stays exact (since Loc;SPMlt;K[x] is K[x]-flat) and is the desired free resolution of M.

Remark 4..4   The above algorithm almost never gives a minimal free resolution (in the local or in the homogeneous case), on the contrary, every syzygy module is generated by a standard basis. In SINGULAR it is implemented with an option to cancel superfluous free factors in an additional step. Because of the non-minimality there are more reductions necessary than in the usual implementations of free resolutions. On the other hand, since we know explicitly a standard basis of the syzygy modules (for some ordering) by Proposition 4.1, we have an advantage. An effective implementation of the above algorithm requires avoiding comparisons of monomials with respect to the Schreyer ordering. We proceed in the following manner. Instead of computing directly the monomials of the syzygies we compute their product with the corresponding monomial defining the Schreyer ordering (weight monomial). This can be realized by an adapted initialization (just exchange the line s := s + ei in the procedure initSyz described above by $s := s +
lm(s)\cdot e_i$ with $L(s) = lm(s) \cdot e_k$ for a suitable k). This allows use of the initial ordering during the whole resolution. At the end we have, of course, to divide by the weight monomial to obtain the resolution. The results of our testing of the above method, and its comparison to other methods, is given at the end of this chapter. We see there that it is usually faster to compute a minimal free resolution by fixing an ordering and minimizing the syzygy module step by step if we are closed to complete intersections and, if we are far away from complete intersections, Schreyer's method seems to be faster. SINGULAR offers both possiblities.

Example 4.5

1.
the homogenization of Example 1 in Chapter 3 with respect to w
( t, x, y, z, w the order of the variables)

2.
the previous example with (w, t, x, y, z the order of the variables)

3.
the homogenization of Example 3 in Chapter 3 with respect to w
(w,x,y,z the order of the variables)

4.
the homogenization of Example 5 in Chapter 3 with respect to w
( w, x, y, z the order of the variables)

5.
the homogenization of Example 12 in Chapter 3 with respect to w
( t, x, y, z, w the order of the variables)

6.
the homogenization of Example 8 in Chapter 3 with respect to w
(w, x, y the order of the variables)

7.
$(\max\, 5)^2$
the ideal $(f_1, \ldots, f_5)^2$ where $f_i = x_i (x_0^8 + x_1^2 \cdot \ldots
\cdot \hat{x}_i \cdot \ldots \cdot x_5^2),\; i = 1, \ldots, 5$.

8.
Sparse
t18x2 - t19z - t18z2,
t26xy - t17z - t25z3,
t38y2 - t37xyw;
(t, x, y, z, w the order of the variables)

9.
five homogeneous random polynomials of degree 3 in the variables a, b, c, d, e

10.
cyclic roots 5
a + b + c + d + e,
de + cd + bc + ae + ab,
cde + bcd + ade + abe + abc,
bcde + acde + abde + abce + abcd,
abcde - h5;
( a, b, c, d, e, h the order of the variables)

11.
Kahn4
a4 - b4,
b4 - c4,
c4 - d4,
d4 - e4,
a3 b + b3c + c3 d + d3 e + e3a;
( a, b, c, d, e the order of the variables)

12.
Iarrobino
xy + y2 + uz - wz - xz + yz,
x2 - y2 + uz - wz - xz +z2,
wy,
wx - uz + yz,
w2 - y2 + uz - z2,
vz - yz - z2,
vy - y2 - wz + xz + yz + z2,
vx - y2 + uz + yz - z2,
vw - y2 + uz + yz - z2,
v2 + y2 + uz - xz - yz - z2,
uy + y2 + yz,
ux - y2 + wz - xz - z2,
uw - y2 + uz + yz - z2,
uv - y2 - xz + yz,
u2 + yz;
(u, v, w, x, y, z the order of the variables)

13.
three homogeneous random polynomials of degree 5 in the variables a, b, c, d, e

14.
Schreyer 1
polynomials created in a certain random manner such that the ideal generates a 0-dimensional Gorenstein ring in characteristic 31991.

ab+14766ac-12713bc+8997ad+1878ae,
ac+9210bc+9399ad+13903bd-9583ae,
bc-13988ad-4712bd+6771ae-7341be,
ad-2340bd-7515cd+1575ae-4211be,
bd+5023cd-874ae+4773be+14016ce,
cd+1617ae-14718be-1384ce+12060de,
a3-10731b3+5818ae2+13936be2+11725ce2+6401de2,
b3-4862c3-2334ae2+9991be2+14579ce2+10173de2,
c3-6087d3+1135ae2+4570be2+5250ce2+1393de2,
d3+11392ae2+7125be2-15188ce2-12706de2-10957e3;
( a, b, c, d, e the order of the variables)

15.
Schreyer 2
polynomials created as in 14

ab-2302ac+1504bc-2175ad-13468bd-8487ae+2984be,
ac+7021bd-2524ad-8459bd+4807cd-4372ae-1908be,
bc-1768ad+12994bd+7816cd-7083ae+2769be-354ce,
ad+8219bd-13765cd+14989ae+36be-4732ce+8648de,
a3-7986a2e-744b2e+2389c2e-7991bde+11075cde-15425d2e+7645ae2-1871be2+869 8ce2-9609de2,
a2e+3582b2e-6012c2e-14933bde+14203cde+11560d2e+2294ae2+12826be2-12284ce^ 2+10870de2,

b2e+3097c2e+10611bde+6826cde+2785d2e-14231ae2+13731be2-1863ce2+8227de2,
c2e-8559bde+13444cde+3372d2e+5235ae2+9139be2-7685ce2+3756de2,
bde-14077cde-2960d2e-4481ae2-3950be2-850ce2-14832de2,
cde-13603d2e+4327ae2+15554be2+2054ce2-12484de2,
b3+7339d2e-3253ae2+8720be2+9224ce2-11849de2,
c3-9222d2e-12818ae2-11519be2+6703ce2-10364de2,
d3+4730d2e+7627ae2+14168be2+11428ce2+8632de2,
d2e+9376ae2+6688be2-11914ce2-295de2-5576e3;
(a,b,c,d,e the order of the variables)

16.
caprasse 4
-2w2x - w2z + 2 xyt + y2z
2w4+4w2x2 + 4w2xz - 10w2y2 - 10w2y2 - 10w2yt-x3z+4x2yt+4xy2z+2y3t
-w2x - 2w2z + xt2 + 2yzt
2w4 + 4w2xz - 10w2yt + 4w2z2 - 10w2t2 - xz3 + 4yz2t + 2yt3;
(w, x, y, z, t the order of the variables)

17.
Pellikaan, Jaworski S(9)
S(m) denotes the set of polynomials (describing a minimal elliptic Gorenstein surface singularity), defined inductively:

$\begin{array}{ll}
S(4): & x_4x_1 - x_2^2,\; x_4x_2 - x_3^2;\\
S(5): & S(4),\; ...
...1}^2 - x_{m-1}^2 - x_{m-2} x_{m-6};\; \mbox{ if } m
\mbox{ is even}
\end{array}$

( $x_1, \ldots, x_m$ the order of the variables)

18.
Pellikaan, Jaworski S(10)
compare example 17

19.
9 random i-forms in 4 variables,
$i = 2, \ldots, 10$

20.
6 random i-forms in 4 variables,
$i = 5, \ldots, 10$.

For these examples we computed a minimal resolution with MACAULAY and SINGULAR using the regularity bound (cf. [E]) with the ordering degrevlex (in both systems realized as scripts; without this bound the computation is, at least for complicated examples, usually much slower) and computed a resolution with Schreyer's method (SING/SCHREYER).

vars denotes the number of variables, minbase the number of a minimal system of generators, stdbase the number of elements in the standard base and dim the dimension of the zero-set of the ideal.
For versions and notations cf. Chapter 3.

      SING        
  [-1.5ex]MAC [-1.5ex]SING SCHREYER [-1.5ex]vars [-1.5ex]dim [-1.5ex]minbase [-1.5ex]stdbase
               
1. 552 96 13769 5 3 3 63
2. 2222 87 6293 5 3 3 82
3. 16 5 9 4 1 3 75
4. 20 5 7 4 1 3 44
5. 10 2 9 4 2 3 83
6. 12 2 23 5 2 3 22
7. 4 12 542 5 4 15 138
8. 14 1 1 5 4 3 38
9. 238 91 1228 5 1 5 76
10. 299 322 15 6 1 5 38
11. 950 166 2412 5 0 5 142
12. 49 24 3 6 0 15 22
13. 44 23 31 5 2 3 25
14. 101 60 1 5 0 10 19
15. 78 23 2 5 0 14 23
16. 1 1 12 5 2 4 23
17. 2 4 3 9 2 27 27
18. 20 29 22 10 2 35 35
19. 12 7 6 4 0 6 31
20. 825 446 7958 4 0 6 192


next up previous contents
Next: 5. Zariski's question, Milnor Up: Standard bases, syzygies and Previous: 3. Examples and comparisons
| ZCA Home | Reports |