Hi there,

AFAIK if you do that you prevent high-level implementation of Gröbner basis algorithms in Sage which call reduce, i.e. polynomial division with remainders, on S-polynomials wrt to the current basis.

Cheers,
Martin

Daniel Krenn <kr...@aon.at> writes:
On 2017-10-17 11:49, Luca De Feo wrote:
It takes I as the generators of the ideal and uses that as the reduction
set.

That's not a definition. I'm in front of a class asking what this function does, and I'm unable to give a mathematical definition of what Sage means by "reduction" modulo something that's not a Groebner
basis.

What it does is probably do the reduction using the list in reverse order
for this case.

"Probably" is not a mathematical definition. Besides, I think it's
more complicated than that.

Am I the only one who's regularly embarassed explaining Sage's quirks
to an audience of beginners (or not beginners)?

+1 for doing something.

What about the following fix: When the input is a list/tuple, we check if it is a Groebner basis or not. If it is, do the computation, if not,
print a warning or raise an error.

Testing if something is a Groebner basis could be done by converting the
list to an object of
<class
'sage.rings.polynomial.multi_polynomial_sequence.PolynomialSequence_generic'>
and use its method .is_groebner()

Daniel


--

_pgp: https://keybase.io/martinralbrecht
_www: https://martinralbrecht.wordpress.com
_jab: martinralbre...@jabber.ccc.de
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF

--
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to