10.07.2015 Views

University of Paderborn Department of Mathematics Diploma Thesis ...

University of Paderborn Department of Mathematics Diploma Thesis ...

University of Paderborn Department of Mathematics Diploma Thesis ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

76 CHAPTER 4. ALGORITHMS FOR STABLE IDEALSm 1 > m 2 > . . . > m r with respect to the lexicographic order, d i := deg m i , and letl i ∈ {0, . . . , n} be the index <strong>of</strong> the last variable appearing in m i . Then, by Theorem 2.17,the Hilbert series <strong>of</strong> R/I is given byH R/I (t) = 1 − ∑ ri=1 (1 − t)li · t d i(1 − t) n+1 .We will see below that the implementation <strong>of</strong> an algorithm, which computes the Hilbertseries H R/I (t) from the set <strong>of</strong> minimal generators <strong>of</strong> I goes straight forward.In the following source code we use lists to represent monomials, i.e. the monomialhas to be identified with the listx a 00 · x a 11 · . . . · x a n−1n−1 · x ann ∈ M[a 0 , a 1 , . . . , a n−1 , a n ].Then, the set <strong>of</strong> generators <strong>of</strong> any stable ideal can be encoded by a list <strong>of</strong> such lists.Note that (in our special situation) it is not a good choice, to encode the set <strong>of</strong> generators<strong>of</strong> an ideal by a set <strong>of</strong> lists instead <strong>of</strong> using a list <strong>of</strong> lists, because the elements <strong>of</strong> a set arenot ordered in MuPAD. Hence, it would be difficult to keep the monomials in lexicographicorder, which is necessary for most <strong>of</strong> the algorithms presented in the course <strong>of</strong> this chapter.The set <strong>of</strong> generators <strong>of</strong> any stable ideal appearing in this chapter will always be orderedwith respect to the lexicographic order.MuPAD Source Code 4.1. The MuPAD procedure below expects a list <strong>of</strong> lists encodingthe set <strong>of</strong> minimal generators <strong>of</strong> a stable ideal I and the index n <strong>of</strong> the last variable <strong>of</strong>R = K[x 0 , . . . , x n ]. It returns the non-reduced and the reduced Hilbert series <strong>of</strong> R/I.Input for the procedure compute Hilbert series.◦ M — a list <strong>of</strong> lists encoding the set <strong>of</strong> generators <strong>of</strong> some stable ideal in lexicographicorder◦ n — the index <strong>of</strong> the last variable <strong>of</strong> the polynomial ring ROutput <strong>of</strong> the procedure compute Hilbert series.◦ H — the numerator <strong>of</strong> the non-reduced Hilbert series◦ H red — the numerator <strong>of</strong> the reduced Hilbert series

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!