Many thanks for all replies. GMS suggested to use Ideal.reduce(), but from the documentation: "Requires computation of a Groebner basis, which can be a very expensive operation"
I suspected that polynomial division is significantly more cheap than groebner basis. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAGUWgD9p-Jd7vUacWddbatMNDB9aQRvYC%3DyQDKGA0mFwXhHExQ%40mail.gmail.com.