This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

math]†‡§¶∥††‡‡

Existence and Construction of a Gröbner Basis for a Polynomial Ideal***Abstract of a paper presented at the workshop, Combinatorial Algorithms in Algebraic Structures, Europäische Akademie, Otzenhausen, West Germany, Sept. 30 - Oct. 4, 1985.

Deepak Kapur
Paliath Narendran
Computer Science Research Branch
Corporate Research and Development
General Electric Company
Schenectady, NY 12345

1 Introduction

We show the existence of a Gröbner basis for a polynomial ideal over R[x1,,xn]R[x_{1},\dots,x_{n}] assuming the existence of a Gröbner basis for every ideal over the underlying ring RR. We also give an algorithm for computing a Gröbner basis assuming there is an algorithm to compute a Gröbner basis for every ideal over RR. We show how most of the properties that hold for Gröbner bases for ideals over RR extend to Gröbner bases for polynomial ideas over R[x1,,xn]R[x_{1},\dots,x_{n}]. These results are structurally similar to Hilbert’s Basis Theorem.

A Gröbner basis of a polynomial ideal I can be defined in two ways: either as (a) any basis BB of II such that every polynomial pp in II reduces to 0 with respect to BB, or as (b) any basis BB of II such that every polynomial in the ring has a unique normal form with respect to BB. We call bases satisfying (a) weak Gröbner bases and those satisfying (b) strong Gröbner bases. When Buchberger introduced the concept of Gröbner basis [1] for the case when RR is a field, he defined them to satisfy (a). Later [2] he showed that they also satisfy condition (b). Weak Gröbner bases for various kinds of rings have since been studied in [6, 7, 8, 9, 13]. In [10] we defined weak Gröbner bases over first-order rings and showed their importance in theorem proving in first-order predicate calculus. Algorithms for computing strong Gröbner bases have been given in [4] (for reduction rings) and [5] (for Euclidean rings). In this paper we unify these two streams and show how to construct weak (strong) Gröbner bases over R[x1,,xn]R[x_{1},\dots,x_{n}] provided weak (strong) Gröbner bases can be constructed over the underlying structure RR.

2 Assumptions about the Underlying Ring R

Let RR be a commutative ring with 1. We assume that for every ideal over RR, there exists a Gröbner basis for the ideal. Let \to stand for a reduction relation induced by a basis on RR. We will assume the following properties of \to:

  • (i)

    A non-zero element aa in RR reduces to 0 by another element bb if aa is a multiple of bb.

  • (ii)

    If aca\to c, then there must exist b1,,bkR,k1b_{1},\dots,b_{k}\in R,k\geq 1, such that ac(b1,,bk);a-c\in(b_{1},\dots,b_{k}); we then say that a reduces to c using {b1,,bk}\{b_{1},\dots,b_{k}\} in RR. Usually k=1k=1; in that case, we say that aca\to c by b1b_{1}.

  • (iii)

    If an element aa reduces using {b1,,bk}\{b_{1},\dots,b_{k}\} and each bib_{i} reduces by {c1,,cj}\{c_{1},\dots,c_{j}\}, then aa also reduces by {c1,,cj}\{c_{1},\dots,c_{j}\}. In particular, if aa reduces by bb and bb reduces by cc, then aa also reduces by cc.

Definition:  A basis BB of an ideal II over RR is a weak Gröbner basis iff every element in the ideal has 0 as a normal form using BB.

Definition:  A basis BB of an ideal II over RR is a strong Gröbner basis iff every element in RR has a unique normal form using BB.

A well-founded reduction relation \to induces a well-founded ordering on RR as follows: a<ca<c iff there exists a reduction sequence cc1ac\to c_{1}\to\dots\to a. Elements of RR in normal form wrt \to are the minimal elements wrt <<.

We will assume that we know whether the definition of reduction of elements of RR wrt other elements in RR admits weak Gröbner bases or strong Gröbner bases. Let Gröbner be a function which takes a finite basis BB of an ideal over RR as the input and gives a Gröbner basis of the ideal as output; obviously (Gröbner(B))=(B).

3 Preliminaries

Let R[x1,,xn]R[x_{1},\dots,x_{n}] be a polynomial ring over RR. We assume a total ordering on indeterminates which can be extended in many different ways to a total ordering on terms [4,5,12]. The ordering on RR induced by \to and the ordering on terms can be used to define an ordering on monomials and polynomials. Given a polynomial pp, let HD(p),HT(p), and HC(p)HD(p),HT(p),\text{ and }HC(p) stand for its head-monomial, head-term, and head-coefficient, respectively. Let Rest(p)Rest(p) be pHD(p)p-HD(p). We assume that the functions HD,HT, and HCHD,HT,\text{ and }HC can be used on a set of polynomials also; for instance, HD(I)={m|m is a head-monomial of a polynomial in I}HD(I)=\{m\;|\;m\text{ is a head-monomial of a polynomial in }I\}. Let BB be a finite set of polynomials in R[x1,,xn];B={p1,,pm}R[x_{1},\dots,x_{n}];B=\{p_{1},\dots,p_{m}\}. Let I=(p1,,pm)I=(p_{1},\dots,p_{m}).

Using a well-founded relation \to on RR, we can define a well-founded reduction relation on polynomials in R[x1,,xn]R[x_{1},\dots,x_{n}]; we will denote it also by \to. A polynomial pqp\to q using another polynomial p1p_{1} iff:

  • (i)

    There is a monomial ctct in pp i.e., p=ct+pp=ct+p^{\prime}, such that HT(p1)HT(p_{1}) divides tt, i.e., t=tHT(p1)t=t^{\prime}\cdot HT(p_{1}), and

  • (ii)

    There exists a dd such that cdc\to d using HC(p1)HC(p_{1}) and q=pktp1q=p-k\cdot t^{\prime}\cdot p_{1}, where c=kHC(p1)+dc=k\cdot HC(p_{1})+d.

The above definition extends to the case when more than one polynomial is used for reduction. Weak and strong Gröbner bases can be defined for polynomial ideals in the same way as definitions given above.

Let MinMon(M)={m|mMinMon(M)=\{m\;|\;m is a monomial in MM and there is no other monomial mm^{\prime} in MM that divides m}.m\}. Similarly, let MinTerm(T)={t|tMinTerm(T)=\{t\;|\;t is a term in TT and there is no tt^{\prime} in TT that divides t}.t\}. It follows easily from Hilbert’s Basis Theorem as well as from Dickson’s Lemma that for any set of terms TT, MinTerm(T)MinTerm(T) is finite.

4 Properties of Monomials in 𝑹[𝒙𝟏,,𝒙𝒏]R[x_{1},\dots,x_{n}]

Given a term tt, let C(t,I)={c|ct in HD(I)}C(t,I)=\{c\;|\;ct\text{ in }HD(I)\}. It is easy to see that C(t,I)C(t,I) is an ideal over RR; further, for any two distinct terms t1t_{1} and t2t_{2}, such that t1t_{1} divides t2t_{2}, C(t1,I)C(t2,I)C(t_{1},I)\subseteq C(t_{2},I). For every term tt appearing in some monomial in MinMon(HD(I))MinMon(HD(I)), i.e., tt in HT(MinMon(HD(I)))HT(MinMon(HD(I))), let D(t,I)D(t,I) be the set of all coefficients of tt in MinMon(HD(I))MinMon(HD(I)). Let Divisors(t)Divisors(t) be the set of all terms including tt which can divide tt. Note that for some tt, C(t,I)C(t,I) may not be empty, whereas D(t,I)D(t,I) may be empty.

Lemma 4.1.

For each cc in C(t,I)C(t,I), there exists tt^{\prime} in Divisors(t)Divisors(t) and an element dd in D(t,I)D(t^{\prime},I) such that dd divides cc.

Lemma 4.2.

The set HT(MinMon(HD(I)))HT(MinMon(HD(I))) is finite.

Lemma 4.3.

For any term tt, C(t,I)C(t,I) is the same as the ideal generated by the union of D(t,I)D(t^{\prime},I) for all tt^{\prime} in Divisors(t)Divisors(t).

Lemma 4.4.

G=(Gröbner(D(t,I)),tDivisors(t))G=\bigcup\left(\text{Gröbner}(D(t^{\prime},I)),t^{\prime}\in Divisors(t)\right) is a Gröbner basis for C(t,I)C(t,I).

5 Existence of Gröbner basis for an Ideal over 𝑹[𝒙𝟏,,𝒙𝒏]R[x_{1},\dots,x_{n}]

Given an ideal II, we construct its Gröbner basis GBGB as follows: For each tt in HT(MinMon(HD(I)))HT(MinMon(HD(I))), let G(t,I)G(t,I) be a Gröbner basis of the ideal generated by D(t,I)D(t,I) over RR; i.e., G(t,I)=Gröbner(D(t,I))G(t,I)=\text{Gröbner}(D(t,I)); for each element gg in G(t,I)G(t,I), include in GBGB a minimal polynomial in II with gtg\cdot t as its head-monomial.

Theorem 5.1.

The set GBGB is finite.

Theorem 5.2.

For every polynomial pp in II, pp reduces to 0 using GBGB.

Theorem 5.3.

If RR admits strong Gröbner bases, then GBGB is also a strong Gröbner basis.

Is such a GBGB unique for an ideal II? No, because Gröbner bases for the same ideal may differ modulo units. However, if we assume that RR admits strong Gröbner bases and such a Gröbner basis is unique for every ideal, then GBGB is unique for a particular term ordering.

Theorem 5.4.

If RR admits stronger Gröbner bases and every ideal has a unique Gröbner basis, then every ideal over R[x1,,xn]R[x_{1},\dots,x_{n}] also has a unique Gröbner basis.

6 An Algorithm for Computing a Gröbner Basis

We assume that (i) there is a way to compute a Gröbner basis GG from a basis (c1,,ck)(c_{1},\dots,c_{k}) over RR; furthermore, it is also possible to compute representations of c1,,ckc_{1},\dots,c_{k} in terms of the elements of GG as well as representations of every element gg in GG in terms of c1,,ckc_{1},\dots,c_{k}; these constructions are indeed possible from the construction of a Gröbner basis as illustrated by Buchberger in [12]. In addition, (ii) it should also be possible to generate a finite basis for a module of solutions to linear homogenous equations over RR.

6.1 Critical Pairs

For any finite subset FF of BB, we define, two types of critical pairs among polynomials in the basis. called G-polynomials and M-polynomials, (to stand for Gröbner-polynomials and Module-polynomials, respectively) as follows: Let F consist of the polynomials

p1=c1t1+r1,p2=c2t2+r2,,pj=cjtj+rjp_{1}=c_{1}\cdot t_{1}+r_{1}\;,\;p_{2}=c_{2}\cdot t_{2}+r_{2},\;\dots\;,\;p_{j}=c_{j}\cdot t_{j}+r_{j}

where HD(pi)=citi,HT(pi)=ti,HC(pi)=ci,HD(p_{i})=c_{i}\cdot t_{i},\;HT(p_{i})=t_{i},\;HC(p_{i})=c_{i}, and Rest(pi)=riRest(p_{i})=r_{i}.
Let t=lcm(t1,t2,,tj)=s1t1=s2t2==sjtjt=lcm(t_{1},t_{2},\dots,t_{j})=s_{1}\cdot t_{1}=s_{2}\cdot t_{2}=\dots=s_{j}\cdot t_{j} for some terms s1,,sjs_{1},\dots,s_{j}. G-Polynomial: Let {g1,,gm}\{g_{1},\dots,g_{m}\} be a Gröbner basis of {c1,,cj}\{c_{1},\dots,c_{j}\}; each gig_{i} can be written (represented) as gi=hi,1c1+hi,2c2++hi,jcjg_{i}=h_{i,1}\cdot c_{1}+h_{i,2}\cdot c_{2}+\dots+h_{i,j}\cdot c_{j} for some hi,1,,hi,jh_{i,1},\dots,h_{i,j}. Then, for each ii, qi=hi,1s1p1+hi,2s2p2++hi,jsjpjq_{i}=h_{i,1}\cdot s_{1}\cdot p_{1}+h_{i,2}\cdot s_{2}\cdot p_{2}+\dots+h_{i,j}\cdot s_{j}\cdot p_{j} is a G-polynomial. Note that the head-monomial of qiq_{i} is gitg_{i}\cdot t.

M-Polynomials: Consider the module M={a1,,aj|a1c1++ajcj=0}M=\{\langle a_{1},\dots,a_{j}\rangle\;|\;a_{1}\cdot c_{1}+\dots+a_{j}\cdot c_{j}=0\}. Let the vectors A1,A2,,AvA_{1},A_{2},\dots,A_{v} represent its basis, where for every ii, Ai=bi,1,,bi,jA_{i}=\langle b_{i,1},\dots,b_{i,j}\rangle for some bi,1,,bi,jb_{i,1},\dots,b_{i,j} in RR. Then, for each ii,
qi=bi,1s1p1+bi,2s2p2++bi,jsjpjq_{i}=b_{i,1}\cdot s_{1}\cdot p_{1}+b_{i,2}\cdot s_{2}\cdot p_{2}+\dots+b_{i,j}\cdot s_{j}\cdot p_{j} is an M-polynomial. Note that the head-term of qiq_{i} is less than tt in the term ordering, since the monomials involving tt get cancelled in the summation.

We say that q is a G-polynomial (respectively, M-polynomial) of B if qq is a G-polynomial (respectively, M-polynomial) of some finite subset FF of BB.

Theorem 6.1.

Let B={p1,,pm}B=\{p_{1},\dots,p_{m}\} be a set of polynomials such that all the G-polynomials and M-polynomials of BB reduce to 0 using BB. Then every polynomial in (B)(B) reduces to 0 using BB, thus implying that BB is a weak Gröbner basis.

Theorem 6.2.

Let BB be a basis as stated in Theorem 6.1 above. If the function Gröbner gives a strong Gröbner basis on RR, then BB is a strong Gröbner basis.

Furthermore, if for every ideal in RR, the function Gröbner gives a unique strong Gröbner basis, then from Theorem 5.4 and Theorems 6.1 and 6.2, it follows that BB is also a unique strong Gröbner basis.

The completion algorithm for obtaining Gröbner bases should be obvious by now: given a basis BB, compute the G-polynomials and M-polynomials, and their normal forms. Add all non-zero normal forms to the basis and repeat this step until no new polynomails are added to the basis. This process of adding new polynomials will terminate because of the finite ascending chain property of Noetherian rings.

7 Instances of the Algorithm over Various Structures

It can be shown that most of the known algorithms are instances of the above algorithm with additional properties assumed on the ring RR. For instance, when RR is a PID, then a Gröbner basis of a basis over RR can be obtained as the gcd of the elements in the basis. This can be computed by considering pairs of elements at a time. Further, a module basis of a finite set of non-zero elements in a PID can also be computed by considering pairs of elements. For any two non-zero elements, aa and bb, {lcm(a,b)/a,lcm(a,b)/b}\{\langle lcm(a,b)/a,-lcm(a,b)/b\rangle\} generates their module basis. It can be shown that if G-polynomials and M-polynomials from every pair of polynomials in a basis BB reduce to 0, then G-polynomials and M-polynomials for every non-empty subset BB^{\prime} of BB also reduce to 0. So, it is sufficient to consider pairs of polynomials at a time for critical-pair computation. These considerations also apply to algorithms over fields and Euclidean rings since both are instances of PIDs.

Zacharias [7], Trinks (as quoted in [8]), and Schaller [6] (as quoted in [4]) have given weak Gröbner basis algorithms for a ring RR on which the ideal membership problem is solvable as well as a finite set of generators for the solutions of linear equations in RR can be found algorithmically. These algorithms can also be viewed as special cases of our algorithm where only M-polynomials are considered.

8 References

1. Buchberger, B., An Algorithm for Finding a Basis for the Residue Class Ring of a Zero-Dimensional Ideal. (in German) Ph.D Thesis, University of Innsbruck, Austria, 1965.
2. Buchberger, B., “A Theoretical Basis for the Reduction of Polynomials to Canonical Forms,” ACM SIGSAM Bulletin, August, 1976, pp. 19-29.
3. Bachmair, L., and Buchberger, B., “A Simplified Proof of the Characterization Theorem for Gröbner-Bases,” ACM SIGSAM Bulletin, Vol. 14, No. 4, 1980, pp. 29-34.
4. Buchberger, B., “A Critical-Pair/Completion Algorithm in Reduction Rings,” Proc. Logic and Machines: Decision Problems and Complexity (eds. Borger, Hasenjaeger, Rodding), Springer Verlag LNCS 171, 1984, pp. 137-161.
5. Kandri-Rody, A., and Kapur, D., “An Algorithm for Computing a Gröbner Basis of a Polynomial Ideal over a Euclidean Ring,” TIS Report No. 84CRD045, General Electric Corporate Research and Development, Schenectady, NY, Dec., 1984.
6. Schaller, S., Algorithmic Aspects of Polynomial Residue Class Rings, Ph.D Thesis, Computer Science Tech, Report 370, University of Wisconsin, Madison, 1979.
7. Zacharias, G. Generalized Gröbner Bases in Commutative Polynomial Rings, Bachelor Thesis, Lab. for Computer Science, MIT, 1978.
8. Dubuque, W.G., Gianni, P., Trager, B., and Zacharias, G., “Primary Decomposition of Polynomial Ideal via Gröbner Bases,” Extended Abstract, Unpublished Manuscript, 1985.
9. Lauer, M., “Canonical Representatives for Residue Classes of a Polynomial Ideal,” SYMSAC 1976, pp. 339-345.
10. Kapur, D., and Narendran, P., “An Equational Approach to Theorem Proving in First-Order Predicate Calculus.” 7th International Conf. on Artificial Intelligence, Los Angeles, Calif., August, 1985.
11. van der Waerden, B.L., Modern Algebra, Vol. I and II, Fredrick Ungar Publishing Co., New York, 1966.
12. Buchberger, B., “Gröbner Bases: An Algorithmic Method in Polynomial Ideal Theory,” to appear in Recent Results in Multidimensional Systems Theory (ed. N.K. Bose), Reidel, 1985.
13. Pan, L., “On the D-Bases of Ideals in Polynomial Rings over Principal Ideal Domains,” This Workshop Proceedings.