Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question
2

Quotient decomposition by Groebner basis

asked 14 years ago

mhampton gravatar image

I can accomplish the following task in awkward ways using syzygy modules, but I am wondering if there is a better way somehow. It would be nice to have a single command for it.

Suppose we have a polynomial P and a set of polynomials Q1,...,Qn, and it is possible to calculate the Groebner basis G of the ideal generated by all the Qi. Let R be the remainder of P after reducing by G. In Sage, how can we find polynomials S1,...,Sn such that P=R+SiQi?

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
4

answered 14 years ago

malb gravatar image

Do you mean this?

sage: R.<x,y,z> = GF(127)[]
sage: p = R.random_element(degree=3)
sage: Q = [R.random_element() for _ in range(R.ngens())]
sage: r = p.reduce(Ideal(Q))
sage: M = (p - r).lift(Q)
sage: p -r == sum([M[i]*Q[i] for i in range(len(M))])
True
Preview: (hide)
link

Comments

Thanks, somehow I had missed the "lift" command. That is exactly what I needed.

mhampton gravatar imagemhampton ( 14 years ago )
1

answered 14 years ago

Jacob gravatar image

This is more of a question than an answer, but Singular can do this with the command "division." Couldn't you use that?

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 14 years ago

Seen: 881 times

Last updated: Jan 13 '11