Closed malb closed 15 years ago
Attachment: B.sobj.gz
load("B.sobj") this file to test if the bug is fixed.
Wait-- sorry, that doesn't work either. Now things that are Groebner bases are considered not to be.
Attachment: basis_is_groebner.patch.gz
now it works on B.sobj
as well as on its groebner basis
There were two subtle bugs.
M
only had one row. Thus, i
would check only the first element of M
. Hence unpredictable behavior: sometimes the correct answer, sometimes not.[row,col]
and not by [row][col]
.apply after basis_is_groebner.patch
Attachment: basis_is_groebner_doctest.patch.gz
The attached patch fixes the issue for me. I've added a second patch which documents that the bug is indeed fixed. mabshoff, this patch should definitely go in for 3.3 because right now Sage gives wrong answers!
Merged both patches in Sage 3.3.alpha4.
Cheers,
Michael
For the attached list,
Ideal(gb).basis_is_groebner()
returnsTrue
but the basis is not a Gröbner basis!The code in question:
CC: @johnperry-math
Component: commutative algebra
Issue created by migration from https://trac.sagemath.org/ticket/5125