• No results found

Dept. of Electrical Engineering, Linkoping University S-581 83 Linkoping, Sweden

N/A
N/A
Protected

Academic year: 2021

Share "Dept. of Electrical Engineering, Linkoping University S-581 83 Linkoping, Sweden"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

Localization and Base Change Techniques in Computational Algebra

Krister Forsman

Dept. of Electrical Engineering, Linkoping University S-581 83 Linkoping, Sweden

email:

krister@isy.liu.se

1993-02-04

REGLERTEKNIK

AUTOMATIC CONTROL LINKÖPING

Technical reports from the automatic control group in Linkoping are available by anonymous ftp at the address

130.236.24.1 (joakim.isy.liu.se)

This report is contained in the compressed ps-le named

/pub/reports/LiTH-ISY-R-1445.ps.Z

(2)

Localization and Base Change Techniques in Computational Algebra

Krister Forsman

Dept. of Electrical Engineering

Linkoping University, S-581 83 Linkoping, Sweden email:

krister@isy.liu.se

1993-02-04

Abstract.

This report collects some useful results from commutative algebra and describes how they can be used to decrease the complexity in Grobner base computations. As a byproduct we see how Grobner bases relate to characteristic sets. The algorithms presented are well known but have, as far as the author knows not been collected in one place earlier.

Keywords:

Grobner bases, elimination, commutative algebra, localization, linear algebra, remainders, characteristic sets, zero-dimensional ideals.

1 Introduction and Terminology

The most important methods in elimination theory are resultants, Grobner bases (GB) and characteristic sets (CS).

Resultants are described in most classical textbooks on commutative algebra: 17, 20, 25, 32].

Some references for GB are 3, 10, 14, 15, 16, 29, 33].

Characteristic sets are discussed in e.g. 5, 6, 13, 18, 22, 31, 34].

Grobner bases are occasionally called standard bases, though this terminology does not seem to be historically correct the original reference for standard bases 19], treats a slightly dierent case.

It is the aim of this report to collect some useful results from commutative algebra and describe how they can be used to decrease complexity in GB computations. As a byproduct we will see how GB and CS are related. The reader is supposed to have some minimal background in commutative algebra and Grobner basis theory.

The following terminology and notation is used:

A

=

k



X1:::X

n ] where

k

is an arbitrary eld.

F

i =

k

(

X

n

;

i

+1:::X

n )

X1:::X

n

;

i ]. This makes

F

d an

n;d

-dimensional ring.

Capitals (

X1:::X

n ) are used for free variables, whereas lowercase letters denote vari-

ables subject to relations

x

i

2A=a

.

(3)

The ideal generated by

f1:::f

m

2A

is written

hf1:::f

m

i

.

The leading monomial of a polynomial

p

is written lm

p

. If

p

=

P



c



X

 where



are

N

n -vectors we have

deg

p

= max

f



c



6

= 0

g

(1)

and lm

p

=

Xdeg

p .

For an integral domain

R

its eld of fractions is written

Q

(

R

). For example we have

F

n =

Q

(

A

).

plex stands for purely lexicographic term-ordering.

The concept of ranking gives us a classication of all plex term-orderings on

A

.

Denition 1.1 A ranking of the variables

X1:::X

n is simply a permutation of these symbols. If

a

precedes

b

in the permutation we say that

a

has a lower rank than

b

, written

a<b

. If

A

and

B

are two sets of variables and any element of

A

has lower rank than all

elements of

B

we write

A<B

.

2

The ranking can be thought of as a reordering of the entries in the exponent vector if

r

is an element of the permutation group

S

n then

X

r

(1)>X

r

(2) >:::>X

r

(

n

) ) X

 =

X

r 

(1)1 :::X

r 

(n

n

)

(2) Thus the \standard" ranking is

X1 >:::>X

n .

Denition 1.2 We say that

p2A

is regular w.r.t.

X

i if lm

p2k



X

i ] using plex and ranking

X

i the highest.

2

Another word for regular is monic , but be careful not to confuse this with the property of having leading coecient 1. Consider

p

=

XY3;

2

Y2

+ 5

X3;

1 (3)

using plex and the ranking

X <Y

. Then lm

p

=

XY3

, so

p

is not regular w.r.t.

Y

, but the leading coecient of

p

is 1.

Denition 1.3 If

p2

Spec

A

then we dene the dimension of

p

to be dim

p

= trdeg k

Q

(

A=p

)

2

Note that this denition covers the case

p2F

i too, since we have no requirements on

k

.

Denition 1.4 A

d

-dimensional ideal

p2

Spec

A

is in weak noetherian position if

p\k



X

n

;

d

+1:::X

n ] = 0

p

is in noetherian position (n.p.) if it is in weak noetherian position and

A=p

is an integral

k



x

n

;

d

+1:::x

n ]-algebra.

2

(4)

To put an ideal in weak noetherian position one only has to renumber the variables. Any prime ideal can be put in noetherian position by a linear change of variables this is known as Noether's normalization lemma 1, 23, 28].

2 Some Facts about Grobner Bases

We will assume that Grobner bases are minimal, i.e. reduced. With this requirement and the convention that the elements of the GB have leading coecient 1 (the coecient ring is a eld) Grobner bases are unique 16]. We write

GB

(

a

) for the Grobner base of the ideal

aA

, making an implicit agreement on the term-ordering and that GB are always reduced.

Theorem 2.1 Let

a

be an ideal in

A

. dim

a

= 0 i for all

i

there is a

p 2 GB

(

a

) such that

p

is regular w.r.t.

X

i .

Proof. See 16] or 3, page 209].

2

This implies that

A=a

is an integral

k

-algebra. The theorem is true independently on what term ordering is used. Note that there may still be more than

n

polynomials in the GB:

Example 2.1 The set

fX12X1X2X22g

is a GB of a zero-dimensional ideal in

k



X1X2

].

2

For prime ideals the situation is simpler, though:

Theorem 2.2 A plex GB for a prime zero-dimensional ideal in

k



X1:::X

n ] has

n

ele- ments.

Proof. See 16].

2

In 16] it is also proved that generically the

n;

1 rst elements of the GB are linear in the leading variable. Thus the generic look of a plex-GB for a zero-dimensional prime ideal w.r.t.

X

n

<:::<X1

is

8

>

>

>

>

>

>

>

<

>

>

>

>

>

>

>

: X

1

;p

1

(

X

n )

X

2

;p

2

(

X

n ) ...

X

n

;1;p

n

;1

(

X

n )

p

n (

X

n )

(4)

where

8i

:

p

i

2 k



X

n ] and deg

p

n

>

deg

p

i for

i

= 1

:::n;

1. Note that the way this theorem is stated in 16] the GB is not reduced.

An (arbitrary) ideal that has a GB of the type (4) is said to be in generic position or general position. Thus a zero-dimensional ideal is in generic position if for two dierent zeroes (

a1:::a

n ) and (

b1:::b

n ) we have

a

n

6

=

b

n . In 16] it is proved that almost all variable changes of the type

X

i

7!X

i

 i<n X

n

7!X

n + n

X;1

1

c

i

X

i (5)

where all

c

i

2k

, puts a zero-dimensional prime ideal in generic position. In fact, 15] show

that any zero-dimensional radical ideal is put in generic position by a generic morphism of

the type (5). It is clear that with the above denition of genericity

(5)

a homogeneous ideal cannot be in generic position unless all elements of the GB are linear.

it depends on the ranking used whether an ideal is in generic position. E.g.

hX1X23i

is in generic position, but

hX13X2i

is not.

3 Change of Term Ordering Using Linear Algebra

The main disadvantage with Grobner bases is that their computational complexity is very high, in general. It has been showed that the complexity for computing a GB is lower for total degree orderings, e.g. revlex, than for a plex ordering 21, 24, 26, 27].

There is an approach to elimination theory that is also based on Grobner bases, but does not use the plex term ordering. This approach is primarily due to Boege, Gebauer and Kredel 2] it is also discussed in e.g. 3, 15]. The algorithm, let us call it the BGK algorithm, works for the special case when the ideal is zero-dimensional and it gives the univariate polynomial that generates the contraction of

I

to

k



X

i ] for some

X

i . We call this polynomial the minimal polynomial of

X

i , since we think of

Q

(

A=I

) as an algebraic extension of

k

, even though

I

does not have to be prime, i.e. maximal. (In fact

I

does not even have to be zero-dimensional see below.) The idea is rst to compute a Grobner base G w.r.t. a

revlex ordering and then compute remainders

R

d = rem(

X

di



G ) (6)

for successive

d

:s. Each

R

d is considered as an element in the vector space

k



X1 :::X

n ] d . Sooner or later these expressions for

R

d will be linearly dependent over

k

, since the ideal has dimension zero, and this linear dependency relation gives us the minimal polynomial for

X

i . The reason for using the approach described above is thus that it is typically more ecient than computing an entire plex GB see 2]. The BGK algorithm is part of the Grobner base package in Maple 4], available under the name

finduni

.

It turns out that the ideas above can be generalized to the following result: using linear algebra techniques it is possible to nd a Grobner base w.r.t. an arbitrary term-ordering given a GB w.r.t. any other term-ordering. This is known as the Faugere-Gianni-Lazard- Mora algorithm 7].

If the ideal considered is in generic position the minimal polynomial obtained from the BGK algorithm tells us

1. how many zeroes there are, 2. the multiplicity of the zeroes, 3. whether the zeroes are real or not.

These questions can be of practical importance e.g. when dealing with problems in real algebraic geometry, see e.g. 11].

Via Bezout's theorem we get a sucient condition for an ideal to be in generic position:

Theorem 3.1 Let

I

be a zero-dimensional ideal in

A

. Furthermore, let

N

be the product

of the total degrees of the polynomials of a generating set for the ideal

I

(

N

depends on the

particular set of generators) and

d

the degree of the minimal polynomial for

X

n . If

N

=

d

then

I

is in generic position.

(6)

Proof. The number of complex zeroes, counting multiplicity, is bounded from above by

N

according to the ane version of Bezout's theorem 12, page 223]. This means that

d N

with equality i the ideal has

N

zeroes, all of which dier in the coordinate

X

n , i.e.

I

is in

generic position.

2

Theorem 3.1 is often dicult to use directly, since Bezout's theorem only states an inequal- ity. If the original set of generators for the ideal is made (auto-)reduced, chances increase that equality occurs (remember that the number

N

depends on what generators that are chosen).

It should be noted that the BGK algorithm might terminate even if the ideal in question is not zero-dimensional. The condition

k



X

i ]

\I 6

= 0 is necessary and sucient for termination

a simple example of this is

hXi k



XY

]. More involved, application oriented examples can be found in 11] or 9, chapter 6].

4 Some Theorems on Localization

An apparent disadvantage with the BGK algorithm is that a (sucient) condition for it to terminate is that the ideal in question be zero-dimensional. However, if the ideal is not zero-dimensional we can in some cases change the coecient eld by localization so that the ideal becomes zero-dimensional and then apply BGK. Before doing this we have to know something about what happens to ideals under localization.

Theorem 4.1 Let

R

be a commutative ring and

S

a multiplicative system in

R

. There is a one-to-one correspondence between the prime ideals of

R

that do not intersect

S

and the prime ideals of

S;1R

(the localization of

R

at

S

).

Proof. See 1, proposition 3.11, iv] or 35, chapter IV,

x

10, theorem 15].

2

. Thus if we consider extension and contraction

R!S;1R

we have that

8p2

Spec

R

:

p\S

=

) p

ec =

p

(7) In the applications considered here

R

will be

A

and

S

=

k



X

n

;

d

+1:::X

n ]

nf

0

g

for some

d

. Thus

S;1R

=

F

d . The reasons for extending ideals to

F

d are two:

computing in

F

d is cheaper than computing in

A

.

the ideals considered may become zero-dimensional in

S;1R

so that the BGK algorithm can be used.

Theorem 4.2 Let

p 2

Spec

A

be

d

-dimensional and in weak noetherian position. If

p

e is the extension of

p

to

F

d then dim

p

e = 0 .

Proof.

p

e

2

Spec

F

d according to theorem 4.1. But dim

p

=

d

implies that

x1:::x

n

;

d

are algebraic over

k



x

n

;

d

+1:::x

n ]. Thus

dim

p

e = trdeg k

(

X

n;d+1

:::X

n)Q

(

F

d

=p

e ) = 0 (8)

2

Many times the ideals involved are not prime, but we can still use the localization tech-

nique as long as we are a little careful. The following theorem explains exactly how the ideals

of

R

relate to those of

S;1R

.

(7)

Theorem 4.3 Let

a

be an ideal in

R

and consider extension and contraction

R! S;1R

. We have

a

ec =



s

2

S (

a

:

s

)

Proof. See 1, proposition 3.11, ii].

2

5 Characteristic Sets

The reason that there are two apparently dierent methods in elimination theory is that reduction can be made in dierent ways. Buchberger's algorithm uses ordinary polynomial division, whereas Ritt's algorithm for computing CS 31] relies on pseudodivision. For details, see the references mentioned in the introduction. It is sometimes claimed that characteristic sets are more ecient than GB from a computational point of view, but it is questionable if this is still true when the \tricks" described above (sections 3 and 4) are used before applying Buchberger's algorithm.

In fact, in this section we will see that in the case of a prime ideal the dierence between CS and GB is not very large. We will use the following theorem:

Theorem 5.1 Let

p A

be a

d

-dimensional prime ideal and G a plex GB for

p

w.r.t. the ranking

X1>:::>X

n . If

p

is in n.p. then G =

fp1:::p

n

;

d

g

where

p

i is regular w.r.t.

X

i

for all

i

.

Proof. This is proposition 5.9 in 16].

2

Furthermore we need a simple fact on reduction:

Lemma 5.1 If

fg2A

and

g

is regular w.r.t. its leading variable then

f

is reduced w.r.t.

g

in the sense of Ritt i it is reduced w.r.t. g using the standard denition in Gr obner base theory.

Proof. Immediate from the denitions.

2

Theorem 5.2 Suppose that

p

is a

d

-dimensional prime ideal of

A

in noetherian position.

If G =

GB

(

p

) w.r.t. a plex term-ordering then then G is a CS for

p

.

Proof. G is a subset of

p

satisfying the denition of CS according to theorem 5.1 and

lemma 5.1.

2

Theorem 5.3 Suppose that

p

is a

d

-dimensional prime ideal of

A

in weak noetherian position and that

p

e is the extension of

p

to

F

d . If G =

GB

(

p

e ) w.r.t. a plex term-ordering and G

b

is obtained from G by clearing denominators, then G

b

is a CS for

p

.

Proof. Since

p

e is zero-dimensional (theorem 4.2) G =

fp1:::p

n

;

d

g

and

p

i are regular w.r.t.

X

i . This means that the denominators are polynomials in

k



X

n

;

d

+1:::X

n ]. It is clear that there is no nonzero polynomial

f

in

p

such that deg(

fX

i )

<

deg(

p

i

X

i ), so G

b

forms a CS for

p

.

2

Note that G

b

is not necessarily a GB for

p

:

(8)

Example 5.1 Let

p

=

hX1X2;X3X12;X4i

be an ideal in

k



X1:::X4

]. Clearly

p

is prime. We have that

F =

GB

(

p

) =

fX12;X4 X1X2;X3 X1X3;X2X4 X22X4;X32g

(9) So

p

is in weak noetherian position. If

p

e =

F2p

then

G =

GB

(

p

e ) =

fX1;X4

X

3 X

2

 X 2

2

; X

2

3

X

4

g

(10)

so that

G

b

=

fX1X3;X2X4 X22X4;X32g 6

= F

2

In 5, chapter 5] it is explained how a GB can be obtained from a CS using the Rabinovich trick 30, 8].

Acknowledgement

This work was nancially supported by the Swedish Council for Technical Research (TFR).

References

1] M.F. Atiyah and I.G. MacDonald. Introduction to Commutative Algebra . Addison- Wesley, 1969.

2] W. Boege, R. Gebauer, and H. Kredel. Some examples for solving systems of algebraic equations by calculating Grobner bases. J. Symbolic Computation , 1:83{98, 1986.

3] B. Buchberger. Grobner bases: An algorithmic method in polynomial ideal theory. In N.K. Bose, editor, Multidimensional Systems Theory , pages 184{232. Dordrecht Reidel, 1985.

4] B. Char, K.O. Geddes, G.H. Gonnet, B.L. Leong, M.B. Monagan, and S.M. Watt.

Maple V Library Reference Manual . Springer, 1991.

5] S.-C. Chou. Mechanical Geometry Theorem Proving . Mathematics and Its Applications.

D. Reidel, 1988.

6] R.M. Cohn. Dierence Algebra . Wiley, 1965.

7] J.C. Faugere, P. Gianni, D. Lazard, and T. Mora. Ecient computation of zero- dimensional Grobner bases by change of ordering. LITP, Universite Paris, July 1989.

8] A. Ferro and G. Gallo. Grobner bases, Ritt's algorithm and decision procedures for alge- braic theories. In L. Huguet and A. Poli, editors, Applied Algebra, Algebraic Algorithms and Error-Correcting Codes , volume 356 of LNCS , pages 230{237. Springer, 1989. Proc.

AAECC-5, Menorca.

(9)

9] K. Forsman. Constructive Commutative Algebra in Nonlinear Control Theory . PhD the- sis, Dept. of Electrical Engineering, Linkoping University, S-581 83 Linkoping, Sweden, 1991.

10] K. Forsman. Elementary aspects of constructive commutative algebra. Technical Re- port LiTH-ISY-I-1395, Dept. of Electrical Engineering, Linkoping University, S-581 83 Linkoping, Sweden, September 1992. Available by anonymous ftp

130.236.24.1

.

11] K. Forsman and T. Glad. Elimination theory in the analysis of local Lyapunov func- tions. Technical report, Dept. of Electrical Engineering, Linkoping University, S-581 83 Linkoping, Sweden, February 1993. Available by anonymous ftp

130.236.24.1

.

12] W. Fulton. Intersection Theory , volume 3:2 of Ergebnisse der Mathematik und ihrer Grenzgebiete . Springer, 1984.

13] G. Gallo and B. Mishra. Ecient algorithms and bounds for Wu-Ritt characteristic sets. In T. Mora and C. Traverso, editors, Eective Methods in Algebraic Geometry , volume 94 of Progress in Mathematics , pages 119{142. Birkhauser, 1991. From the Symposium MEGA 90, held at Castiglioncello, Italy, 1990.

14] K.O. Geddes, S.R. Czapor, and G. Labahn. Algorithms for Computer Algebra . Kluwer Academic Publishers, 1992.

15] P. Gianni and T. Mora. Algebraic solution of systems of polynomial equations using Grobner bases. In L. Huguet and A. Poli, editors, Applied Algebra, Algebraic Algorithms and Error-Correcting Codes , volume 356 of LNCS , pages 247{257. Springer, 1989. Proc.

AAECC-5, Menorca.

16] P. Gianni, B. Trager, and G. Zacharias. Grobner bases and primary decomposition of polynomial ideals. In L. Robbiano, editor, Computational Aspects of Commutative Algebra , pages 15{33. Academic Press, 1989. From J. Symb. Comp. Vol. 6, nr. 2-3.

17] W. Grobner. Moderne algebraische Geometrie. Die Idealtheoretischen Grundlagen . Springer, 1949.

18] L.C.G.J.M. Habets. Characteristic sets in commutative algebra: an overview. Technical Report COSOR 92-24, Department of Mathematics and Computing Science, Eindhoven University of Technology, P.O. 513, 5600 MB Eindhoven, The Netherlands, 1992.

19] H. Hironaka. Resolution of singularities of an algebraic variety over a eld of character- istic zero. Ann. Math. , 79:109{326, 1964.

20] W.V.D. Hodge and D. Pedoe. Methods of Algebraic Geometry . Cambridge University Press, 1953.

21] D.T. Huynh. A superexponential lower bound for Grobner bases and Church-Rosser commutative Thue systems. Inf. and Control , 68:196{206, 1986.

22] E.R. Kolchin. Dierential Algebra and Algebraic Groups. Academic Press, 1973.

23] E. Kunz. Introduction to Commutative Algebra and Algebraic Geometry . Birkhauser,

1985.

(10)

24] Y.N. Lakshman. A single exponential bound on the complexity of computing Grobner bases of zero dimensional ideals. In T. Mora and C. Traverso, editors, Eective Meth- ods in Algebraic Geometry , volume 94 of Progress in Mathematics , pages 227{234.

Birkhauser, 1991. From the Symposium MEGA 90, held at Castiglioncello, Italy, 1990.

25] S. Lang. Algebra . Addison-Wesley, 1984.

26] D. Lazard. Systems of algebraic equations (algorithms and complexity). Notes from a tutorial at the ISSAC'91 in Bonn, July 1991.

27] E.W. Mayr and A.R. Meyer. The complexity of the word problem for commutative semigroups and ideals. Adv. Math. , 46:305{329, 1982.

28] D. Mumford. The Red Book of Varieties and Schemes , volume 1388 of Lect. Notes in Math. Springer, 1988.

29] F. Pauer and M. Pfeifhofer. The theory of Grobner bases. L'Enseignement Math e- matique , 34:215{232, 1988.

30] J.L. Rabinowitsch. Zum Hilbertschen Nullstellensatz. Math. Ann. , 102:520, 1929.

31] J.F. Ritt. Dierential Algebra. Dover, 1950.

32] J.G. Semple and L. Roth. Introduction to Algebraic Geometry . Oxford University Press, 1985. First published 1949.

33] W. Trinks. Uber B. Buchbergers Verfahren, Systeme algebraischer Gleichungen zu losen.

J. Number Theory , 10:475{488, 1978.

34] W.-T. Wu. Basic principles of mechanical theorem proving in elementary geometries. J.

Automated Reasoning , 2(3):221{252, September 1986.

35] O. Zariski and P. Samuel. Commutative Algebra I , volume 28 of Graduate Texts in

Mathematics . Springer, 1975.

References

Related documents

In the case the channel is modeled as a known tapped-delay line (nite impulse response lter) and the input has a nite number of possible values, the Viterbi algorithm pro- vides

However, employing the inherent structure of some important problems, such as H 1 and gain-scheduling synthesis, convexity can be recovered and the existence of a controller K can

Dynamic uncertainties are treated by using constant scaling matrices in the nonlinear case and dynamic scaling systems in the linear (complex  ) case.. The nonlinear problem

During the last couples of year synthesis methods for gain scheduling using linear fractional transformations (LFTs) and structured singular values have been developed, see e.g 10,

We have shown that it is possible to transfer the state between two such points in nite time if they can be joined by a continuous curve of equilibria, provided the linearization

This along with the ensured monotone behavior suggest that the fuzzy approach might be a good alternative to neural nets when applied to predictive

System identication using Kautz models has been applied to aircraft ight utter data.. Traditional models (ARX, OE and ARMAX) require high model orders to cope with the

It can also be noted that the particular choice of noise model (60) is the answer to the question how H should be parameterized in the direct method in order to avoid the bias in the