If I am not mistaken, any ideal I = <f_1, …, f_r> of R[x] is spanned by a **single** polynomial (which is the gcd of the f_i). So, in your examples, the ideal spanned by x^2 and x^2+x+1 is in fact R[x], because their gcd is one.
Then reduction should just be the remainder of the division by the single generator of the ideal...
(this is of course only true with polynomial in one variables)
Charles
> Thanks for any advice.
>
> Cheers,
>
> Florent
>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To post to this group, send email to
sage-...@googlegroups.com.
> To unsubscribe from this group, send email to
sage-devel+...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/sage-devel?hl=en.
>
>