The Computation of Grobner Bases
Using an Alternative Algorithm
Joachim Apel
Institut fur Informatik, Universitat Leipzig,
Augustusplatz 10/11, D-04109 Leipzig, Germany
0.1 Introduction
When Zharkov and Blinkov ([ZB93]) applied the classical ideas of involutive sys-tems originating from the theory of partial dierential equations (c.f. [Ja29],[Po78]) to the computation of Grobner bases (c.f. [Bu65],[BW93]) their theory seemed to be a rather marginal concept. But due to the opportunity of gaining a faster ver-sion for one of the most frequently applied algorithms the method came into the focus of computer algebra research (c.f. [Ap95], [GB95], [GS95], [Ma95]). It turned out that Pommaret bases are not only of interest for fast implementations (c.f. [ZB93]) but that they are also a point of contact of dierent theories which were investigated intensively for a long time. So, the theory of Pommaret bases en-ables the exchange of useful ideas between the theories as well as it benets itself from the relationships. A certain similarity of the Zharkov/Blinkov method and the Kandri-Rody/Weispfenning closure technique motivates the study of commutative polynomial rings from a non-commutative point of view. The theory of Pommaret bases can be presented in an algebraic way using the Grobner theory of graded structures. Here we will present the straight forward generalization of Pommaret bases to the class of algebras of solvable type. Under the non-commutative grading most calculations are pushed back to the free non-commutative polynomial ring. This provides a link to the theory of term rewriting and the Zharkov/Blinkov method appears as an application of the prex reduction/saturation technique of Madlener and Reinert (c.f.[MR93]) with a restricted saturation. The restricted saturation has its natural origin in the syzygy theory and heavily improves the termination behaviour in the particular case of Pommaret bases. So, it seems to be worth to investigate the eect of splitting the saturation step also for similar term rewriting problems.
The main result of this paper consists in the presentation of a termination condition for the Zharkov/Blinkov method providing an alternative algorithm for the computation of ordinary Grobner bases which terminates for arbitrary ideals in the case of generalized degree compatible term orders.
Acknowledgement:
The author is grateful to the participants of the Work-shop on Symbolic Rewriting Techniques, Monte-Verita 1995, for many valuable discussions. Special thanks are to M. Kalkbrener, K. Madlener, D. Mall, T. Mora, and B. Reinert. Moreover the author is grateful to an anonymous referee for helpful remarks and suggestions.0.2 Preliminaries
Let R = K[X] be the polynomial ring in the variables X = fX
1;:::;Xn g over
the eldK. The setT =fX 1 1
Xnnji= 0;1;2;:::gof terms forms aK-vector
space basis of R. An irre exive well-order of T which is compatible with the
multiplication T of power products, i.e. u v implies tT u tT v for all
0.3. POMMARETBASESINGRADEDSTRUCTURES 3
notations T(Xi1;:::;Xik) andT( fXi
1;:::;Xik
g) for the set of terms depending
only on the variables fXi
1;:::;Xik
g X. Let us x an admissible term order . Every non-zero polynomial f 2R has a unique representation f =
Pm i=1citi satisfying 06=ci 2K;ti 2T(1im), andtmtm 1 t 1. We dene the
support, leading term and the leading coecient off by supp(f) :=ft
1;:::;tm g,
lt(f) :=t1 and lc(f) :=c1, respectively.
The main dierence between Grobner and Pommaret bases consists in dier-ent notions of divisibility of terms. Grobner bases are connected with the ordinary divisibility of terms, i.e. for allu;v2T we haveujv i there existss2T such
that sT u = v. Let < be an arbitrary linear order on the set X of variables.
The additional requirement of the existence of an index 1 i n such that
s2 T(fXj j Xj vXig) and u2 T(fXj j Xi vXjg) leads to the Pommaret
divisibility with respect to<, denoted byujP;
<v. W.l.o.g. we can assume that the
variables are enumerated in such a way that X1
<<Xn and we will use the
short cutjP for the Pommaret divisibility with respect to this particular order.
Denition :
LetI Rbe an ideal,FI a subset ofI andan admissible termorder. ThenF is called aGrobner, resp. Pommaret, basis ofI with respect toi
for every06=g2I there existsf 2F such thatlt(f)jlt(g), resp. lt(f)jP lt(g).
Note that the denition of Pommaret bases depends on the order <of variables
induced by their enumeration. Furthermore, we remark that the term order
needs not to be compatible with <. A comprehensive overview of the theory of
Grobner bases can be found e.g. in [BW93]. For the theory of Pommaret bases we refer to [ZB93] and [Ap95]. It is a well-known fact that the ordinary Grobner basis theory is an instance of the theory of Gobner bases in graded structures (c.f. [Ro86], [Mo88]). In [Ap95] it was proved that the same holds also for Pommaret bases. While the ordinary Grobner basis theory is based on aT-grading of the polynomial ring we have to use aS-grading ofRin order to obtain the Pommaret theory. Here,
S denotes the free non-commutative monoid generated byX. Letcomm:S!S
be the function dened bycomm(Xi1Xi2
Xim) :=Xi
(1)Xi(2) Xi
(m), where
is a permutation of (1;2;:::;m) such that i(1) i
(2)
i
(m). Then
we can considerT as a subset of S by identifying the elements ofT and ft jt=
comm(t)g S. An order of S will be called an admissible term order if it is
an irre exive well-order of S which is compatible with the multiplicationS ofS
and satises the conditionscomm(t)tandcomm(s)comm(t))stfor all
s;t2S.
0.3 Pommaret Bases in Graded Structures
In this section we will sketch the non-commutative grading providing exactly the Pommaret bases as the Grobner bases of left ideals in the corresponding graded structure. In [Ap95] it was remarked that the theory of Pommaret bases can be generalized to left ideals of algebras of solvable type [KW90] without any trouble. Here, we will use the more general setting explicitly.
The free non-commutative K-algebraP = KhSi in the variables X is the
algebra obtained by monoid adjunction of S to the eld K. S is K-vector space
basis ofP. Let us x an admissible term orderof S for the remainder of this
section. Then we can dene the notions of support supp(f), leading word lw(f), and leading coecient lc(f) of an element f 2P with respect to in the same
way as we did for polynomials. Note, here we use the notion \word" instead of \term" sinceS is isomorphic to the free word semi-group generated byX.
LetI P be a two-sided ideal such that for all numbers 1i < jnthere
exists an element XjXi ci;jXiXj+pi;j 2I with 0 6=ci;j 2K and pi;j = 0 or
lw(pi;j) XiXj. Furthermore, we assume that for every 0 6=f 2I there exists
t = Xi1Xi2
Xik 2 supp(f) such that ij
+1 < ij for some 1
j < k. This
property corresponds to condition (H) in [KW90] and the class of all quotient algebras ofP modulo a two-sided idealI satisfying the above conditions consists exactly of the algebras of solvable type. LetA=P=I. The well-order property of
ensures that the function lt :A!S given by lt(f+I) := minflw(g)jg f 2Ig
is well-dened for all residue classes f +I 6= I. Since lt satises the conditions
a+b= 0_lt(a+b)max(lt(a);lt(b)) and lt(ab)lt(a)Slt(b) for all non-zero
elementsa;b2A the family F (u) S u2S , whereF (u) S :=fa2Ajlt(a)ug[f0g,
is a ltered structure. So, we can dene a graded structure AS = (A;S;;lt)
and associate to A a S-graded algebra GS = L u2S G (u) S . Here G (u) S denotes the quotient group of F (u) S by ^F (u) S := S vu F (v)
S and the multiplication S of GS
is dened in the usual way. The elements of h2 G (u)
S are called homogeneous of
S-degree u (denotation: degS(h) = u). The image of f 2 A under the function
inS : A ! GS dened by inS(0) := 0 and inS(f) := f + ^F (lt(f))
S for all f 6= 0
will be called the initial part (with respect to AS) off. The left ideal generated
in GS by the setinS(F) of all initial parts of elements of F A will be denoted
byLInS(F). The image ofA under the mapping inS is the set S
u2S G
(u)
S of all
homogeneous elements. Therefore, we can x a functionin
S :S u2S G (u) S !Asuch thatinS(in
S(h)) =hfor all homogeneous elementsh2GS.
Denition :
Let F J be a subset of the left ideal J A. Then F is calleda Grobner basis of J with respect to the graded structure AS = (A;S;;lt) i
LInS(F) =LInS(J).
In the particular case ci;j = 1 and pi;j = 0 for all 1 i < j n the ring A
is isomorphic to the polynomial ring R = K[X] and the denitions of lt given
here and in Section 0.2 coincide when A and R are identied under the natural isomorphism. Hence, the following notion is a straight forward generalization of the Pommaret bases of polynomial ideals dened in Section 0.2.
Denition :
Let A be an algebra of solvable type, J A a left ideal, F Ja subset, T an admissible term order of T, and < a linear order of the set of
variables X.F is called a Pommaret basis of J with respect toT and< i for
any non-zerog2J there existsf 2F such that lt(f)jP; <lt(g).
0.3. POMMARETBASESINGRADEDSTRUCTURES 5
Figure 0.1: Pommaret basis semi-algorithm Input:Aalgebra of solvable type
admissible term order ofS
BasisF =ff
1;:::;fm
gAnf0gof the left idealJ
Output: Pommaret basisGofJ.
l:=m gi:=fi=lc(fi) for 1il G:=fg 1;:::;gl g B:= XiSeinS (gj) j1in;1jl;lt(gj)2=T(Xi;:::;Xn) [ n uSeinS (gj) einS(gi) j1i6=j l;lt(gj)jP lt(gi);u= lt(gi) lt(gj) o
while
B6=;do
chooses2B w.r.t. a fair selection strategy
B:=Bnfsg f :=PNF(c(s);G)
if
f 6= 0then
l:=l+ 1 gl:=f=lc(f) G:=G[fglg B:=B[ XiSeinS (gl) jlt(gl)2=T(Xi;:::;Xn) [ n uSeinS (gl) einS(gi) j1i < l;lt(gl)jP lt(gi);u= lt(gi) lt(gl) oLet :T !S be the natural set embedding identifying the commutative terms
with the non-commutative words belonging to the image of the above dened function comm. Then for any u;v 2 T we have u jP v if and only if (u) is a
postx of (v). Therefore, the Pommaret divisibility (with respect to the vari-able order X1
< < Xn) and the postx relation on the image im(comm) of
thecomm-mapping can be identied in a natural way. From this and some well-known properties of Grobner bases in graded structures we deduce the following equivalence.
Theorem 1 ([Ap95, Theorem 4.1])
LetAS= (A;S;;lt) be the above denedgraded structure of the algebra Aof solvable type. Furthermore, letJ Abe a left
ideal of A andGJ a subset of this left ideal. Then G is a Grobner basis of J
with respect toAS if and only ifGis a Pommaret basis ofJ with respect toT and <, whereX
1
<<Xn andT denotes the restriction of toT =im(comm).
SinceXi<Xj ()XiSXjXjSXithe graded structureAS carries not only
the information on the restricted order T but also that on the variable order <. Generalizing the denition ofcomm it is easy to construct a graded structure AS;
< where the postx relation of elements of im(comm) corresponds to jP;
<
and, consequently, Grobner bases with respect to AS;
bases with respect toT and<. Grobner reduction with respect to moduloI
provides a canonical simplier of the residue class ring A=P=I. By this means the elements are represented in terms of the Poincare-Birkho-Witt basis of the solvable algebra A which consists of the elements of im(comm). It might seem that the variable order < dening the Pommaret divisibility and the
Poincare-Birkho-Witt basis in which the elements of A are represented depend on each other via the graded structure AS;
<. Since changing the Poincare-Birkho-Witt
basis may heavily in uence the size of the representation of a given element we emphasize that there is neither a theoretical nor a practical necessity to use the above canonical simplier. Any eective representation ofA will be suitable, one has only to take care about the correct computation of the function lt.
The method for the computation of Pommaret bases in algebras of solvable type presented in Figure 0.1 requires the introduction of some additional notions and denotations. LetG=fg
1;:::;gm
gA be a nite set of non-zero elements.
Then the critical element of the homogeneous left syzygy s = P
hiS einS (gi)
of inS(G) is dened by c(s) := P
in
S(hi)gi. We say that f 2 A is Pommaret
irreducible modulo G if lt(gi) -P u for all u 2 supp( f) and i = 1;:::;m. An
element fwhich is Pommaret irreducible moduloGwill be called a (left) Pommaret normal form off 2A in terms ofG (denotation f =PNF(f;G)) if there exist
c1;:::;cl 2 K nf0g, u 1;:::;ul 2 T and gi 1;:::;gil 2 G such that lt(u 1gi 1) = u1 Slt(gi 1) lt(ulgil) =ulSlt(gil) andf f= Pl i=1cjujgij.
Next, we will sketch the correctness and termination proof of the method presented in Figure 0.1. AS is a (left-) eective graded structure. Hence, all
in-structions of Method 0.1 are eective computable. The correctness of the method follows from the theory of graded structures and the fact that, roughly spoken, the left syzygies passing throughB form a homogeneous basis of the left syzygy module of inS(G) (see [Ap95, Lemma 4.1]). A left syzygy selection strategy is
called fair if it ensures that no left syzygy can stay in B for an innite number of runs of the
while
-loop. The assumed fair selection strategy makes Method 0.1 semi-algorithmic, i.e. it terminates if and only if a nite Pommaret basis ofJexists (see [Ap95]).From the assumed properties of an admissible term order of S it follows
that the restriction to the subsetim(comm) =T, which for simplicity will be also denoted by, is an admissible term order of the abealian monoidT. So, we can
construct the graded structureAT = (A;T;;lt) and all associated objects in the
same way as we did forAS. It is well-known that the Grobner bases with respect
to the graded structureAT are just the classical Grobner bases with respect to.
0.4 An Alternative Grobner Basis Algorithm
Mall observed that every set of monomials generating an idealJ which is in stable position with respect to an admissible term orderis a Pommaret basis ofJwith
0.4. AN ALTERNATIVEGR
OBNERBASISALGORITHM 7
Pommaret and the reduced Grobner basis ofJ with respect toare equal in this
situation. Nevertheless, it is also well-known that a monomial ideal needs not to have a nite Pommaret basis, in general. However, an innite reduced Pommaret basis has a very regular structure and starting from a Grobner basisGit is easy to construct a Pommaret basis, e.g.
P =G[ fugjjgj 2G;91in : lt(gj)2=T(Xi;:::;Xn)^u2T(Xi;:::;Xn)g :
Subsequent minimalization of a so-constructed Pommaret basis is not dicult. Our subject will be the more delicate problem: How to use the regular structure in order to nd a stronger termination condition for Method 0.1 ensuring that the truncated Pommaret basis computed at termination time is already an ordinary Grobner basis of the input ideal? The phenomenon is similar to the generalized FGLM-algorithm for higher dimensions. Roughly, the conversion of a Grobner basis to another term order by means of linear algebra requires a walk along a border basis of the ideal. In spite of the inniteness of the border basis of a positive dimensional ideal Licciardi and Mora presented an always terminating procedure (see [LM94]).
Consider the left ideal J A generated by the set F = ff
1;:::;fm g of
non-zero elements of A. LetUS be a homogeneous minimal basis of the left ideal
LInS(J)GS. There exists a nite subsetUT US such that inT(in
S(UT)) is a
homogeneous minimal basis ofLInT(J)GT. Let u2US. According to the fair
selection strategy there exists an indexjusuch that the elementgju computed by
Method 0.1 has the property lt(gju) = degS(u). Hence, it needs only a nite
exe-cution time of Method 0.2 until the value ofGwill contain the (ordinary) Grobner basisfgijimaxu
2UTju
gofJ with respect toas a subset and, therefore, is a
Grobner basis ofJ with respect to, too. But, it remains the problem to recognize
that the value ofGbecame a Grobner basis ofJ. The time comparisons of Zharkov and Blinkov (c.f. [ZB93]) support the hope that a truncated Pommaret basis al-gorithm could be (sometimes) faster than Buchberger's alal-gorithm. But in order to gain a fast truncated algorithm the check of the termination condition must not be very costly. For this reason, the trivial approach of checking the Grobner basis property using Buchberger's algorithm makes no sense.
The additional costs caused by the termination condition of Figure 0.2 are reasonable low. Moreover, for the sake of lucidity we did not care about tricks leading to an ecient implementation, e.g. the degree bound needs not to be completely recomputed before every run. The notations used in the method have the following meaning. lcmT(u;v) denotes the least common multiple of u;v2T
with respect to the multiplicationT. A standard selection strategy chooses the
left syzygys2Bto be considered next only among those of minimal (w.r.t.)S
-degree. Let!= (!1;:::;!n) be a vector of positive real numbers. IfXi 1 Xim Xj1 Xjk for all Xi 1 Xim;Xj 1 Xjk 2 S such that Pm =1!i < Pk =1!j
then the admissible term order is called !-degree compatible. An important
Figure 0.2: Alternative Grobner basis algorithm Input:Aalgebra of solvable type
!-degree compatible term order ofS
BasisF =ff
1;:::;fm
gAnf0gof the left idealJ
Output: Grobner basisGofJ.
l:=m gi:=fi=lc(fi) for 1il H :=f1;:::;lg G:=fg 1;:::;gl g B:= XiSeinS (gj) j1in;1jl;lt(gj)2=T(Xi;:::;Xn) [ n uSeinS (gj) einS(gi) j1i6=j l;lt(gj)jP lt(gi);u= lt(gi) lt(gj) o
while
9s2B:comm(degS(s))maxi;j2H(lcmT(lt(gi);lt(gj)))
do
chooses2B w.r.t. a standard selection strategy
if
s=uSeinS (gj) einS(gi) andm < ithen
H:=H nfig B:=Bnfsg f :=PNF(c(s);G)if
f 6= 0then
l:=l+ 1 gl:=f=lc(f) G:=G[fglg B:=B[ XiSeinS (gl) jlt(gl)2=T(Xi;:::;Xn) [ n uSeinS (gl) einS(gi) j1i < l;lt(gl)jP lt(gi);u= lt(gi) lt(gl) oif
lt(gl)comm(degS(s))then
H :=H[flgonly nitely many termss2S satisfyingst. As a simple consequence we have
that standard selection strategies for choosing left syzygies are fair for !-degree compatible term orders.
The following theorems show that the termination condition is weak enough to ensure the Grobner basis property of the output and strong enough to ensure termination at least in the case of!-degree compatible admissible term orders.
Theorem 2
The value of Gat termination time of Method 0.2 is an (ordinary) Grobner basis of the input left idealJ with respect to the input term order .Proof: Assume that the execution of Method 0.2 terminates for inputA,andF.
In the following all references to variables occurring in the algorithm will concern their value at termination time.
First of all, we introduce some notations. Set (i;j) := lcmT(lt(gi);lt(gj))
and := maxi;j2H(i;j). By J (G
0;t
) we denote the subset of J consisting of 0
and all elements f which can be represented in the form f =Pk
0.4. AN ALTERNATIVEGR
OBNERBASISALGORITHM 9
h1;:::;hk
2 Anf0g, gi
1;:::;gik 2G
0 and lt(h
jgij) t for all j = 1;:::;k.
Fur-thermore, letGH:=fgi2Gji2Hg.
There are two possibilities for 1 i l and i =2 H. (i) i was removed
from H in connection with the treatment of a syzygy of type uS einS (gj)
einS(gi) and sincei > mwe haveu =
2K. (ii)iwas not inserted intoH because of
comm(degS(s))lt(gi), wheresis the syzygy from whichgiwas produced. From
lt(gi)lt(c(s))degS(s) it follows lt(gi) = lt(c(s)) =comm(degS(s)). Hence,s
must be of the typeXkSeinS
(gj)and lt(gi) =Xk
Tlt(gj). In both cases it follows
the existence of 1jlandh2AnKsuch thatgi+hgj2J
(G;lt(gi)). Applying
an inductive argument on lt(gi) yields the existence of j0
2 H and h 0 2 AnK satisfyinggi+h0g j0 2J (GH;lt(gi)). Consequently, J(G;t)=J(GH;t)for allt 2T (0.1)
and, therefore, G is an ordinary Grobner basis of J if and only if GH has this
property. In order to prove thatGH is a Grobner basis, it is sucient to show
s(i;j) :=ci;jui;jgi di;jvi;jgj 2J
(GH;(i;j)) (0.2)
for alli;j 2H, where ui;j;vi;j 2T are such that lt(ui;jgi) = lt(vi;jgj) = (i;j)
andci;j := lc(vi;jgj);di;j:= lc(ui;jgi). Before we prove the relations 0.2 we sketch
how they together with some well-known facts imply the Grobner basis property of GH. The elements s(i;j) are exactly the critical elements, which Buchberger
called S-polynomials in the case of polynomial rings A. Hence, GH is a Grobner
basis of the left ideal it generates if and only if any of these nitely many critical elements can be represented in the form s(i;j) = P
k2Hhkgk, where hk = 0 or
lt(hkgk) i;j for all k 2 H. This means exactly that condition 0.2 has to be
satised for any pair (i;j)2HH.
Now, we are going to prove 0.2. If 1 i l and 1 j n are such that
lt(gi)2=T(Xj;:::;Xn), and lt(Xjgi) then the left syzygyXjSeinS
(gi) had
been considered during the execution of Method 0.2. Hence, there exist gli;j 2G
andhi;j2Asuch that lt(gli;j)jP lt(Xjgi) and
p(i;j) :=Xjgi+hi;jgli;j 2J
(G;lt(Xjgi)) : (0.3)
Let 1i;jlsatisfy lt(gj)jP lt(gi) and lt(gi). In the same way as above we
deduce the existence offi;j2Asuch that
q(i;j) :=gi+fi;jgj2J
(G;lt(gi)) : (0.4)
Next we prove that for allgi 2Gandu2T such that lt(ugi) there exists an
elementr(i;u)2J
(G;lt(ugi)) having a representation
r(i;u) =ugi+ki;ugmi;u ; (0.5)
where ki;u 2 A, 1 mi;u l, lt(gmi;u) jP lt(ugi) and lt(gj) -P lt(ugi) for all
Let v(i;u) be the longest prex of u such that lt(gi) jP lt(v(i;u)gi) and
let w(i;u) be the corresponding postx of u, i.e. u = v(i;u)S w(i;u). We will
show the existence of an elementr(i;u) by induction on the length ofw(i;u). So, rst consider the case length(w(i;u)) = 0, i.e. w(i;u) = 1. If lt(gj) -P lt(ugi)
for all 1 j < i then r(i;u) := ugi ugi = 0 satises the conditions of (0.5).
Otherwise, let 1j < ibe minimal with the property lt(gj)jP lt(ugi) =uSlt(gi).
In this case lt(gj) jP lt(gi) or lt(gi) jP lt(gj). If lt(gj) jP lt(gi) then r(i;u) :=
uq(i;j) =ugi+ (ufi;j)gj, whereq(i;j) is of type (0.4), satises the conditions of
(0.5). The case lt(gi) jP lt(gj) can be handled in a similar way. Now, consider
the case w(i;u) 6= 1. We decompose u = u 0
S Xj = v(i;u)S w 0
S Xj and
consider the element u0p(i;j) = ug
i+u0h
i;jgli;j 2 J
(G;lt(ugi)), where p(i;j) is of
type (0.3). We observe thatw(li;j;lt(u0h
i;j)) must be shorter thanw(i;u) since it
is a subword ofw0. Hence, by induction assumption there exists r(l
i;j;lt(u0h
i;j))
andr(i;u) :=u0p(i;j) lc(u0h
i;j)r(li;j;lt(u 0h
i;j))2J
(G;lt(ugi)) is of type (0.5).
Leti;j 2H and f :=s(i;j) ci;jr(i;ui;j) +di;jr(j;vi;j), wheres(i;j) is of
type (0.2) andr(i;ui;j) and r(j;vi;j) are of type (0.5). Simplication of the sum
shows f = hg for some h 2 A and := mi;ui;j = mj;vi;j. Furthermore, from
r(i;ui;j);r(j;vi;j) 2 J
(G;(i;j)) and s(i;j) = 0 or lt(s(i;j))
(i;j) we deduce
f = 0 or lt(f) = lt(hg)(i;j). So, in any case we havef =hg 2J
(G;(i;j))
and it followss(i;j) =f+ci;jr(i;ui;j) di;jr(j;vi;j)2J
(G;(i;j)). Finally, using
0.1 we conclude the validity of membership 0.2. 2
Theorem 3
Method 0.2 terminates for any A, and F satisfying the inputspecication.
Proof: LetGbe the value ofG,Hthe value ofH, andBthe value ofB before
the-th run of the
while
-loop. By fairness of the selection strategy there exists0 such thatG is an ordinary Grobner basis ofJ for all
0.
Assume that there exists k 2 H +1
nH for some >
0. Since G is a
Grobner basis of J the set D := fgi 2 Gj9u 2 T : uT lt(gi) = lt(gk)g is
not empty. Letgj be the element of D whose leading term with respect to is
maximal with respect to the lexicographical order extendingX1
lexlexXn and let 1 i 1 im n be such that Xi 1 Xim T lt(gj) = lt(gk). Let s 2 BnB
+1 be the left syzygy used for the construction of gk. We have
lt(Ximgj)lt(gk)comm(degS(s)). According to the applied standard selection
strategy the left syzygy Xim S ein
(gj) had to be considered before s, therefore,
PNF(Ximgj;G) = 0. Hence, there existgi2Gandv2Tsuch thatvSlt(gi) =
XimTlt(gj). Butv2T(X
1;:::;Xim 1) contradicts the maximal choice ofgjand
v =2T(X
1;:::;Xim 1) implies lt(gi)
jP lt(gk) in contradiction to the construction
ofgk. Consequently,HH 0 and max i;j2H (lcmT(lt(gi);lt(gj))) max i;j2H 0 (lcmT(lt(gi);lt(gj))) =: for all 0.
0.5. CONCLUDINGREMARKS 11
Let U be a homogeneous minimal basis of LInS(J). Since is !-degree
compatible the subsetU=fu2UjdegS(u)gis nite. Hence, the fair selection
strategy ensures the existence of0 such that
GSULInS(G) for all 0.
Therefore, PNF(f;G) = 0 for all
0 and f
2 J such that lt(f) .
Consequently, no left syzygyswithcomm(degS(s)) will be added toB after
the0-th run of the
while
-loop. In conclusion, the fairness of the selection strategyimplies the termination of the algorithm. 2
0.5 Concluding Remarks
Note, that the correctness of Algorithm 0.2 will be valid even for arbitrary ad-missible term orders and arbitrary selection strategies. However, the following dis-cussion shows that our restrictions have an essential in uence on the termination behaviour.
A rst remark concerns term orders which are not!-degree compatible, e.g. lexicographical orders. The reduced Pommaret basis can contain innitely many basis elements whose leading terms are smaller than the maximal leading term of the elements of the reduced Grobner basis. Hence, in general Method 0.2 will not terminate for such orders since all these elements had to be contained inGat termination time.
The following example illustrates that the use of a standard selection strategy is essential. ConsiderG=fZ
3 Y2Z;XY Z2+XY2Z
gand the idealI K[X;Y;Z]
generated by G. Terms are ordered rst with respect to the total degree and lexicographical according toX Y Z within the same degree. Then Gis the
reduced Grobner basis and G[fXYkZ
2+XYk+1Z
jk = 2;3;:::g the reduced
Pommaret basis of I with respect to . If we use a selection strategy choosing
s 2 B such that i+ 3j+k, where comm(degS(s)) = XiYjZk, is minimal then
Method 0.2 will not terminate though the selection strategy is fair. Probably, the restriction to only standard selection strategies is to strong. The most important open question is the behaviour of sugar strategies.
The last remark concerns the denition ofH. In general, we would loose ter-mination for settingH such thatGH=Gand correctness forH dened such that
in(GH) is minimal generating set ofLInT(G). But termination will be preserved
also if we alter the algorithm by skipping the step where elements of H can be removed. At the one hand side sometimes the number of investigated critical ele-ments can be reduced by shrinkingH. At the other hand side the overhead caused by the termination condition becomes smaller without the step. If the leading terms of the elementsf1;:::;fmare made pairwise dierent during a preparatorily step
[Ap95] Apel, J. (1995). A Grobner Approach to Involutive Bases. J.Symb.Comp.
19
/5, pp. 441{457.[BW93] Becker, T., Weispfenning, V., in cooperation with Kredel, H. (1993). Grobner Bases, A Computational Approach to Commutative Algebra. Springer, New York, Berlin, Heidelberg.
[Bu65] Buchberger, B. (1965). Ein Algorithmus zum Aunden der Basise-lemente des Restklassenringes nach einem nulldimensionalen Polyno-mideal. Ph.D. Thesis, Univ. Innsbruck.
[GB95] Gerdt, V.P., Blinkov, Yu.A. (1995). Bases Involutives de Polyn^omes. LIFL USTL, Preprint IT-95-271, Lille.
[KW90] Kandri-Rody, A., Weispfenning, V. (1990). Non-Commutative Grobner Bases in Algebras of Solvable Type. J.Symb.Comp.
9
/1, pp. 1{26. [Ja29] Janet, M. (1929). Lecons sur les systemes d'equations aux deriveespar-tielles. Gauthier-Villars, Paris.
[LM94] Licciardi, S., Mora, T. (1994). Implicitization of Hypersurfaces and Curves by the Primbasissatz and Basis Conversion. Proc. ISSAC'94, ACM-Press, pp 191{196.
[MR93] Madlener, K., Reinert, B. (1993). Computing Grobner Bases in Monoid and Group Rings. Proc. ISSAC'93, ACM-Press, pp 254{263.
[Ma95] Mall, D. (1995). A Note on Pommaret Bases. submitted to J.Symb.Comp. [Mo88] Mora, T. (1988). Seven Variations on Standard Bases. Preprint, Univ. di
Genova, Dip. di Mathematica, N. 45.
[Po78] Pommaret, J.F. (1978). Systems of Partial Dierential Equations and Lie Pseudogroups. Gordan and Breach, New York.
[Ro86] Robbiano, L. (1986). On the Theory of Graded Structures. J. Symb. Comp.
2
, pp. 139{170.[GS95] Garcia-Sanchez, P.A. (1995). Grobner and Involutive Bases for Zero-dimensional Ideals. SIGSAM Bulletin
29
/2, pp.12{15.[ZB93] Zharkov, A.Yu., Blinkov, Yu.A. (1993). Involution Approach to Solving Systems of Algebraic Equations. Proc. IMACS'93, pp. 11{16.