Singular `groebner_basis(deg_bound=1)` returns conflicting groebner basis including $1$ in the basis.

78 views
Skip to first unread message

Georgi Guninski

unread,
Jun 20, 2026, 1:25:37 AM (6 days ago) Jun 20
to sage-...@googlegroups.com
Singular `groebner_basis(deg_bound=1)` returns conflicting groebner
basis including $1$ in the basis.

sage: K.<x,y>=GF(2)[];I=[x*y,(x+1)*y,(y+1)*x,(y+1)*(x+1)]
sage: gb=Ideal(I).groebner_basis(deg_bound=1,algorithm="singular:groebner");gb
[x*y, x, y, 1]
sage: gb=Ideal(I).groebner_basis(deg_bound=1,algorithm="singular:std");gb
[x*y, x, y, 1]
sage: gb=Ideal(I).groebner_basis(deg_bound=None,algorithm="singular:std");gb
[1]

Georgi Guninski

unread,
Jun 21, 2026, 3:24:47 AM (5 days ago) Jun 21
to sage-...@googlegroups.com
I have other testcases, where `deg_bound=2` (and possibly greater)
fails in the same way.
This sucks much, can anyone else confirm it?

David Roe

unread,
Jun 21, 2026, 9:13:54 AM (5 days ago) Jun 21
to sage-...@googlegroups.com
I think that you're telling the Gröbner basis algorithm to ignore the xy term, so it can't reduce everything.  If you give a degree bound, I don't think you're guaranteed to get an actual Gröbner basis, and I think this is just a manifestation of that.  The ideal you give is the unit ideal, so it's not surprising that 1 is in the basis: the correct answer is [1].
David

--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CAGUWgD_nkCYXa4hpgF%2ByNLK9YQqF3WJ9fiuwUAmbQ_X8ickuew%40mail.gmail.com.

Travis Scrimshaw

unread,
Jun 21, 2026, 7:48:29 PM (4 days ago) Jun 21
to sage-devel
To me, they both look like Gröbner bases (which are not unique), but only [1] is the reduced Gröbner basis (which are unique). It’s analogous to echelon forms versus the RREF of a matrix. I don’t think there is anything wrong here.

Best,
Travis
Reply all
Reply to author
Forward
0 new messages