-
-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reduce in quotient rings is broken #37370
Comments
@mwageringel This seems related to some code you touched in #33217; could you maybe have a look? I don't know much about this topic. |
Uh oh, the problem is that the quotient ideal
Indeed: sage: 1 in R.quotient(R.ideal(I).groebner_basis()).ideal(J)
True # correct The relevant implementation is sage/src/sage/rings/polynomial/multi_polynomial_ideal.py Lines 5648 to 5655 in 30b3d78
I do not see a simple fix other than to throw an error if the defining ideal of the quotient ring is not already a Gröbner basis. Otherwise, one would have to replace the quotient ring by one that is defined in terms of a Gröbner basis, but that would be an awkward thing to do in the |
Why can't it just compute a Gröbner basis on demand when needed and cache it after the first time? I was under the impression that this is how things are done all over the multivariate codebase, is it not? |
Issue #33982 may be related. Both issues may have caused by buggy implementation of ideals over non-fields. |
Sage 10.3.beta8:
See also #33217.
The text was updated successfully, but these errors were encountered: