An Algorithm for Computing Relative Groebner Bases

4
An Algorithm for Computing Relative Groebner Bases Huang Guanli School of Mathematics and System Science, LMIB Beihang University; Beijing Polytechnic Beijing, China e-mail: [email protected] Zhou Meng School of Mathematics and System Science, LMIB Beihang University Beijing(100191), China e-mail: [email protected] Abstract—In this paper we improve the computer algorithm of Zhou and Winkler for computing relative Groebner bases which used in Computer aided design and Robotics, etc. We introduce the concept of difference differential degree compatibility on generalized term orders. Then we prove that in the process of the algorithm the polynomials with higher and higher degree wouldn't be produced, if the term orders are difference differential degree compatibility. We present a condition on the generalized orders and prove that under the condition the algorithm for computing relative Groebner bases will terminate. And then the relative Groebner bases exist under the condition. Due to the algorithm is used as the main tool for algorithmic computation of many engineering and technique problems, we conclude that our result improve the algorithm and guarantee the algorithm effective works in solving verious problems of science and technology. Keywords- Computer aided design; relative Groebner basis; difference differential module; dimension polynomials; termination of algorithm. I. INTRODUCTION Commutative Groebner basis theory and its computer algorithm software are well known and have found numerous applications both inside mathematics as well as in science and technology. They are widely used in solving equations, cryptosystems and cryptoanalysis, Geometric modeling, proving theorems in geometries, computer aided design, robotics, and other engineering technique fields. For non-commutative case, the theory of Groebner bases in free modules over various rings of differential operators or difference-differential operators has been developed. See [1-8]. Relative Groebner bases were introduced by Zhou and Winkler[9] in order to compute bivariate dimension polynomials in difference-differential modules. The algorithm for computing relative Groebner bases and bivariate dimension polynomials also were presented in [9]. Christian Donch [10] made Maple software of the algorithm. By now it is used as the main tool for the algorithmic computation of dimension polynomials in difference differential modules. Recently Christian Donch[10] presented an example where the algorithm provided by Zhou and Winkler[9]does not terminate. From the counterexample Donch pointed out that it is questionable whether a relative Grobner basis always exists. In this paper we improve the results of Zhou and Winkler[8] about relative Groebner bases. We introduce the concept of difference-differential degree compatibility on generalized term orders. Then we prove that in the process of the algorithm the polynomials with higher and higher degree wouldn't be produced, if the two term orders are difference-differential degree compatibility. So we present a condition on the generalized orders and prove that under the condition the algorithm for computing relative Groebner bases will terminate. Also the relative Groebner bases exist under the condition. Finally we prove the algorithm for computation of the bivariate dimension polynomials in difference-differential modules. II. DEGREE COMPATIBILITY In this paper Z, N, Z- and Q will denote the sets of all integers, all nonnegative integers, all non-positive integers, and all rational numbers, respectively. By a ring we always mean an associative ring with a unit. By the module over a ring A we mean a unitary left A-module. Let R be a field with character 0, } , , { 1 m a set of derivations and } , , { 1 n a set of automorphisms of the ring R, will denote the commutative semigroup of terms, i.e. elements of the form n m l n l k m k 1 1 1 1 …………….(2.1) where m m N k k ) , , ( 1 and n n Z l l ) , , ( 1 . Let D = } { R a a ……………….(2.2) There are only finitely many coefficients a in (2.2) are different from zero. D is called the ring of difference differential operators over R. Let F be a finitely generated free D-module (we call it a finitely generated free difference-differential module) with a set of free generators E={ q e e , , 1 }. Zhou and Winkler[8] introduced the notion of relative Groebner bases and the algorithm for computation of a relative Groebner bases in difference-differential module F. THEOREM 2.1. ( [9]) Let F be a free D-module, “ and “ ” be two generalized term orders on F, G be a finite subset of F \ {0} and W be the submodule in F generated by G. Then G is a -Groebner basis of W relative to if and only if G is a Grobner basis with International Conference on Mechatronics, Control and Electronic Engineering(MCE2014) © 2014. The authors - Published by Atlantis Press 195

Transcript of An Algorithm for Computing Relative Groebner Bases

Page 1: An Algorithm for Computing Relative Groebner Bases

An Algorithm for Computing RelativeGroebner Bases

Huang GuanliSchool of Mathematics and System Science, LMIB

Beihang University; Beijing PolytechnicBeijing, China

e-mail: [email protected]

Zhou MengSchool of Mathematics and System Science, LMIB

Beihang UniversityBeijing(100191), China

e-mail: [email protected]

Abstract—In this paper we improve the computeralgorithm of Zhou and Winkler for computing relativeGroebner bases which used in Computer aided design andRobotics, etc. We introduce the concept of differencedifferential degree compatibility on generalized term orders.Then we prove that in the process of the algorithm thepolynomials with higher and higher degree wouldn't beproduced, if the term orders are difference differentialdegree compatibility. We present a condition on thegeneralized orders and prove that under the condition thealgorithm for computing relative Groebner bases willterminate. And then the relative Groebner bases exist underthe condition. Due to the algorithm is used as the main toolfor algorithmic computation of many engineering andtechnique problems, we conclude that our result improve thealgorithm and guarantee the algorithm effective works insolving verious problems of science and technology.

Keywords- Computer aided design; relative Groebner basis;difference differential module; dimension polynomials;termination of algorithm.

I. INTRODUCTION

Commutative Groebner basis theory and its computeralgorithm software are well known and have foundnumerous applications both inside mathematics as well asin science and technology. They are widely used in solvingequations, cryptosystems and cryptoanalysis, Geometricmodeling, proving theorems in geometries, computer aideddesign, robotics, and other engineering technique fields.For non-commutative case, the theory of Groebner bases infree modules over various rings of differential operators ordifference-differential operators has been developed. See[1-8]. Relative Groebner bases were introduced by Zhouand Winkler[9] in order to compute bivariate dimensionpolynomials in difference-differential modules. Thealgorithm for computing relative Groebner bases andbivariate dimension polynomials also were presented in [9].Christian Donch [10] made Maple software of thealgorithm. By now it is used as the main tool for thealgorithmic computation of dimension polynomials indifference differential modules.

Recently Christian Donch[10] presented an examplewhere the algorithm provided by Zhou and Winkler[9]doesnot terminate. From the counterexample Donch pointedout that it is questionable whether a relative Grobner basisalways exists.

In this paper we improve the results of Zhou andWinkler[8] about relative Groebner bases. We introducethe concept of difference-differential degree compatibilityon generalized term orders. Then we prove that in theprocess of the algorithm the polynomials with higher andhigher degree wouldn't be produced, if the two term ordersare difference-differential degree compatibility. So wepresent a condition on the generalized orders and provethat under the condition the algorithm for computingrelative Groebner bases will terminate. Also the relativeGroebner bases exist under the condition. Finally we provethe algorithm for computation of the bivariate dimensionpolynomials in difference-differential modules.

II. DEGREE COMPATIBILITY

In this paper Z, N, Z- and Q will denote the sets of allintegers, all nonnegative integers, all non-positive integers,and all rational numbers, respectively. By a ring we alwaysmean an associative ring with a unit. By the module over aring A we mean a unitary left A-module. Let R be a fieldwith character 0, },,{ 1 m a set of derivations

and },,{ 1 n a set of automorphisms of the ring

R, will denote the commutative semigroup of terms, i.e.elements of the form

nm ln

lkm

k 1111 …………….(2.1)

where mm Nkk ),,( 1 and n

n Zll ),,( 1 .

Let D = }{ Raa

……………….(2.2)

There are only finitely many coefficients a in (2.2)are different from zero. D is called the ring of differencedifferential operators over R.

Let F be a finitely generated free D-module (we call ita finitely generated free difference-differential module)with a set of free generators E={ qee ,,1 }. Zhou andWinkler[8] introduced the notion of relative Groebnerbases and the algorithm for computation of a relativeGroebner bases in difference-differential module F.

THEOREM 2.1. ( [9]) Let F be a free D-module, “ ”and “ ” be two generalized term orders on F, G be afinite subset of F \ {0} and W be the submodule in Fgenerated by G. Then G is a -Groebner basis of Wrelative to if and only if G is a Grobner basis with

International Conference on Mechatronics, Control and Electronic Engineering(MCE2014)

© 2014. The authors - Published by Atlantis Press 195

Page 2: An Algorithm for Computing Relative Groebner Bases

respect to of W and for all j , for all Ggg ki , ,

for all ),,( ki ggjVv , the S-polynomials

),,,( vggjS ki with respect to can be -reduced

to 0 modulo G relative to .Christian Donch[11] gave a counterexample pointing

out that the algorithm does not terminate in some cases. Hepointed out that in the process of the algorithm somepolynomials with higher and higher degree will beproduced, and then the algorithm will not terminate. Thismotivates us to give the concept of degree compatibility.

DEFINITION 2.1. Let F be a free D-module, “ ” and“ ” be two generalized term orders on F, for

jln

lkm

k et nm 1111 denote

m

jjkt

1deg

,

n

jjlt

1deg

, we call term orders “ ” and “ ”

are of difference-differential degree compatibility, if(i) 21 tt when 1deg t < 2deg t , or

1deg t = 2deg t and 1deg t < 2deg t , for

any 21,tt ;

(ii) 21 tt when 1deg t < 2deg t , or

1deg t = 2deg t and 1deg t < 2deg t , for

any 21,tt ;

(iii) 21 tt 21 tt when 1deg t = 2deg tand 1deg t = 2deg t , for any 21,tt .

Form the algorithm described in Theorem 2.1, let G bea -Groebner basis of W, if there exist Ggf , and

),,( gfjVv such that ),,,( vgfjS is -reduced

to 01 r by G relative to , we put

}{ 11 rGG , and so on will get a sequence

,2,1, iGi . Then the algorithm in Theorem 2.1 for

computing a -Groebner basis relative to of W willterminate if the sequence ,2,1, iGi , is a finite

sequence, i.e., there exist kN such that kk GG 1 forall iN.

THEOREM 2.2. Let F be a free D-module, “ ” and“ ” be two generalized term order on F,

FrrggG ipi },,,,,{ 11 \{0}, ,2,1i , such

that 1ir is -reduced modulo iG relative to .

Denote )(hlt as hu and )(hlt as hv for Fh .

If thr uui

1for any t , h iG , then sequence iG is

a finite sequence.PROOF. Since 1ir is -reduced modulo iG

relative to and thr uui

1for any t , h iG , it

follows that 1ir is -reduced modulo iG in usual

meaning. Then the sequence iG is just the produced

sequence from the algorithm for computing -Groebnerbases of W= pgg ,,1 (see [7], Theorem 3.3).

Therefore the sequence iG is a finite sequence.THEOREM 2.3. Let F be the free D-module and let U

be an infinite sequence of terms from the set E . Thenthere exists an index j (1 j q) and an infinitesubsequence jkjj eueueu ,,, 21 of the sequence U,such that any two elements of the sequence are in the sameorthant of ,and for all ,2,1i , iii uu 1 for some

i which is in the same orthant of as iu .PROOF. The statement is just Lemma 4.1 in [6]. The

proof can be found in ([12 ],Chap.0,section 17).THEOREM 2.4. Let F be a free D-module, be a

generalized term order on F. If v= )(hlt and )( hlt

is in the same orthant of as v, where h F and , then )( hlt )= v .

PROOF. By [9] Lemma 3.3, for each j there existssome and a term ju of h such that

)( hlt = Eu jj , Furthermore, the term ju of h is

unique: if )( 1hlt = Eu jj 11 and

)( 2hlt = Eu jj 22 then

21 jj uu . The term juis called j-th leading term of h and denoted by )(hlt j . The

coefficient of ju is denoted by )(hlc j .

Now suppose v= )(hlt Ej , then for j1we have )( 1hlt = Ev j1 (because in the same

orthant, is a usual term order). So for any , if)( hlt = Eu jj for a term ju of h, then ju =v.

THEOREM 2.5. vdeg deg + vdeg for

, v E . If and v are in the same orthant,then vdeg deg + vdeg .

PROOF. Since

n

jjlv

1deg

for

jln

lkm

k ev nm 1111 , it is clear that

n

jjj ll

1

n

jjl

1

+

n

jjl

1

for

nm l

nlk

mk 11

11 . If and v are in the

same orthant then

n

jjj ll

1

n

jjl

1+

n

jjl

1.

III. TERMINATION OF THE ALGORITHM FOR COMPUTINGRELATIVE GROEBNER BASES

THEOREM 3.1. Let F be a free D-module, “ ” and“ ” be two generalized term order on F. If the termorders “ ” and “ ” are of difference-differential degreecompatibility, then the algorithm for computing a

196

Page 3: An Algorithm for Computing Relative Groebner Bases

-Groebner basis relative to of W will terminate.And then there exist the relative Groebner bases.

PROOF. Let G={ pgg ,,1 } be a finite subset of F\{0} and W be the submodule in F generated by G. We maysuppose that G is a -Groebner basis of W, and by thealgorithm for computing a -Groebner basis relative to of W we get a series },,,,,{ 11 ipi rrggG ,

,2,1i , such that 1ir is -reduced modulo iGrelative to .

Denote )(hlt as hu and )(hlt as hv for

Fh . Then it follows from [9] Theorem 2.1 that(a) thr uu

i

1for any t , h iG ; or

(b) thr uui

1, thr vv

i

1and thr vv

i

1for

some t , h iG .If the algorithm doesn't terminate, then the sequence

},,,,,{ 11 ipi rrggG , ,2,1i , will be an

infinite sequence. Because there are finitely many irsatisfy (a) ( see THEOREM 2.2), we may suppose thatthere are infinitely many { ir , ,2,1i } and kN suchthat when i>k the following condition holds:

iru =

ji rtu ,

jii rtr vv andjii rtr vv for some

it , j<i.

Note that ifji rr uu , then

ji rr vv . So there exists

an infinite subsequence U = { ku ,2,1k } of {iru }

and it does not contain two equal elements. Indeed, if thisis not true, then there is an infinite subsequence U'={ ,2,1 lul } of {

iru } such that all elements of U'

are equal. It follows that V'={ ,2,1 lvl } is an

infinite strictly descending sequence with respect to ,i.e. 21 vv , Since is a generalized term orderon F, this is impossible.

Now the set U is infinite and it does not contain twoequal elements. By THEOREM 2.3, there is an infinitesequence {

21, hh uu } of elements of U which does not

contain two equal elements, such that any two elements ofthe sequence are in the same orthant of , and for all

,2,1i ,ii hih uu

1for some i which is in

the same orthant of asih

u (and1ih

u ).

From thatiii hh vv

1,

iii hh vv 1

, and the term

orders “ ” and “ ” are difference-differential degreecompatibility, we have

1deg

ihv <

iihvdeg , or

1deg

ihv <

iihvdeg , or

1deg

ihv =

iihvdeg and

1deg

ihv =

iihvdeg for some i which is in the

same orthant of asih

u (and1ih

u ).

Now we may suppose that allihv , ,2,1i , are in

a same orthant of , this is because there are onlyfinitely many orthant in , so there exist an infinitesubsequence of

ihv , ,2,1i such that all elements are

in a same orthant of . Then by THEOREM 2.4,)( iihlt = )( ii hlt , i.e.

iihv =

ihiv . It follows that

1deg

ihv <

ihivdeg (3.1)

or1

degih

v <ihivdeg (3.2)

or1

degih

v =ihivdeg ,

1deg

ihv =

ihivdeg (3.3)

for some i which is in the same orthant of as

ihu (and

1ihu ). Still, we may suppose that all

ihv ,

,2,1i satisfy (3.1)(or allihv , ,2,1i satisfy (3.2),

or allihv , ,2,1i satisfy (3.3)).

If allihv , ,2,1i satisfy (3.1), let ih ku

ideg

and ih lvideg , then 1il < ii ldeg (THEOREM

2.5) and then ii ll 1 < ideg . Note thatii hih uu

1

implies that1

degih

u =ihi u degdeg

( THEOREM 2.5) and then 1ik = ii kdeg ,

therefore ii kk 1 = ideg .

So we get ii ll 1 < ii kk 1 for all ,2,1i .

This means that 11 ii kl < ii kl for all ,2,1i .

Since il =ihvdeg ,

ihi uk deg andih

u ihv so

ii kl 0 by the definition of difference-differential

degree compatibility in “ ” and “ ”. Therefore we geta infinite nonnegative integer series

ii kl > 11 ii kl > 22 ii kl >……, a contradiction.

If allihv , ,2,1i satisfy (3.2), then by the

symmetry of “ ” and “ ” for relative Groebner bases(see[9]) and the symmetry of difference-differential degreecompatibility (DEFINITION 2.1), it is obvious that acontradiction will be reduced as in the case (3.1). If all

ihv , ,2,1i satisfy (3.3), then by the definition ofdifference-differential degree compatibility, the leadingterm and the leading term of ih will be the same one.This contradict to the definition of sequence{ ih , ,2,1i }. Then the proof of the theorem iscompleted.

IV. CONCLUSIONS

From THEOREM 3.1 we can conclude that if the termorders “ ” and “ ” are difference-differential degreecompatibility, then the algorithm for computing a relativeGroebner basis can be implemented in finite steps bycomputer.

THEOREM 4.1. Let F be a free D-module, “ ” and“ ” be two generalized term order on F, which are of

197

Page 4: An Algorithm for Computing Relative Groebner Bases

difference-differential degree compatibility, G be a finitesubset of F\ {0} and W be the submodule in F generatedby G. For each j and f, g F\{0} let V(j, f, g) , S(j, f,

g, v) and S'(j, f, g, v) be as in [9] w.r.t. and ,respectively. Then the following algorithm for computinga -Groebner basis of W relative to will becompleted in finite steps:Input: G={ gg ,,1 }, a set of generators of W

and , two generalized term order on FOutput: },,{ 1 ggG , a -Groebner basis of W

relative toBegin

G G: ;While there exist f, gG' and vV(j, f, g) such that

S'(j, f, g, v) is reduced (w.r.t. ) to r 0 by G'Do G' :=G' {r}

Endwhile;G'' :=G';While there exist f, gG'' and vV(j, f, g) such that

S(j, f, g, v) is -reduced to r 0 by G'' relativeto

Do G'' :=G'' {r}Endwhile

EndPROOF. In the theorem, the algorithm for computing arelative Groebner basis can be divided into two parts. Thefirst part deals with S'(j, f, g, v) w.r.t. and determinesa Groebner basis G' w.r.t. . Then, the second partdeals with S(j, f, g, v) w.r.t. and relative to ,which determines a -Groebner basis relative to .It is known that the first part for a Groebner basis G' w.r.t. will be completed in finite steps [7]. By THEOREM3.1, if G' is a -Groebner basis , “ ” and “ ” are ofdifference-differential degree compatibility, then thesequence },,,,,{ 11 ipi rrggG , ,2,1i , willnot be an infinite sequence, and then the second part willbe completed in finite steps.

Then we get the following conclusions.(1) If the term orders “ ” and “ ” satisfy the

condition of difference-differential degreecompatibility, then the algorithm for computingrelative Groebner bases will be completed in finitesteps.

(2) If the term orders “ ” and “ ” satisfy thecondition of difference-differential degree

compatibility, then the -Groebner bases relativeto exist.

(3) The algorithm in [9] for computation of thebivariate dimension polynomials in differencedifferential modules can be implemented in finitesteps by computer, and the Maple software in [10]can be implemented in finite time.

ACKNOWLEDGMENT

This work has been supported by the NSFC project11271040.

.

REFERENCES

[1] M. Noumi, “Wronskima determinants and the Groebnerrepresentation of linear differential equation,” In:AlgebraicAnalysis, Boston, Academic Press,1988, pp. 549-569.

[2] N. Takayama, “Groebner basis and the problem of contiguousrelations,” Japan J. Appl. Math., vol. 6, 1989, pp. 147-160.

[3] T. Oaku and T. Shimoyama, “A Groebner basis method formodules over rings of differential operators,” J. Symb. Comput.,vol. 18(3), 1994, pp. 223-248.

[4] M. Insa and F. Pauer, “Groebner bases in rings of differentialoperators,” In: Groebner Bases and Applications, London Math.Soc. Lecture Note Series 251, B.Buchberger and F.Winkler (eds.),Cambridge UK, Cambridge University Press, 1998, pp.367-380.

[5] F. Pauer and A.Unterkircher, “Groebner bases for ideals in Laurentpolynomial rings and their applications to systems of differenceequations,” AAECC, vol.9, 1999, pp. 271-291.

[6] A.B.Levin, “Reduced GroEbner bases, free difference-differentialmodules and difference-differential dimension polynomials,”J.Symb. Comput.,vol.30(4), 2000, pp. 357-382.

[7] M. Zhou and F. Winkler, “Groebner bases in difference-differentialmodules,” Proc. ISSAC 2006, ACM Press,pp. 353-360.

[8] A.B.Levin, “Groebner bases with respect to several orderings andmultivariable dimension polynomials,” J.Symb. Comput.,vol.42(5),2007, pp. 561--578.

[9] M. Zhou and F. Winkler, “Computing difference-differentialdimension polynomials by relative Groebner bases indifference-differential modules,” J.Symb. Comput.,vol.43, 2008,pp. 726-745.

[10] C.Donch, “Bivariate difference-differential dimension polynomialsand their computation in Maple,” Proc. of the 8th InternationalConference on Applied Informatics, Eger, Hungary, January 27-30,2010, pp.221-228.

[11] C.Donch, “Characterization of relative Groebner bases,” J.Symb.Comput.,vol.55, 2013, pp. 19-29.

[12] E.R.Kolchin, “The notion of dimension in the theory of algebraicdifferential equations,” Bull. Am. Math. Soc..vol.70,pp. 570-573.

198