#19775: normalization in Pynac buggy
-------------------------------------------------+-------------------------
Reporter: rws | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.0
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: Reported upstream. Developers | Work issues:
acknowledge bug. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Changes (by rws):
* upstream: N/A => Reported upstream. Developers acknowledge bug.
Old description:
> from https://groups.google.com/forum/?hl=en#!topic/sage-devel/awa0lNGJugo
> {{{
> sage: a,b,c,d,e=var('a,b,c,d,e')
> sage: (e + c/a - b*c^2/(a^2*(b*c/a-d)) + c*d/(a*(b*c/a-d))).numerator()
> a^2*b*c*e - a^3*d*e
> sage: (c/a - b*c^2/(a^2*(b*c/a-d)) + c*d/(a*(b*c/a-d))).numerator()
> 0
>
> sage: (e + c/a - b*c^2/(a^2*(b*c/a-d)) + c*d/(a*(b*c/a-d))).normalize()
> (a^2*b*c*e - a^3*d*e)/((b*c - a*d)*a^2)
> }}}
New description:
from https://groups.google.com/forum/?hl=en#!topic/sage-devel/awa0lNGJugo
{{{
sage: a,b,c,d,e=var('a,b,c,d,e')
sage: (e + c/a - b*c^2/(a^2*(b*c/a-d)) + c*d/(a*(b*c/a-d))).numerator()
a^2*b*c*e - a^3*d*e
sage: (c/a - b*c^2/(a^2*(b*c/a-d)) + c*d/(a*(b*c/a-d))).numerator()
0
sage: (e + c/a - b*c^2/(a^2*(b*c/a-d)) + c*d/(a*(b*c/a-d))).normalize()
(a^2*b*c*e - a^3*d*e)/((b*c - a*d)*a^2)
}}}
See https://github.com/pynac/pynac/issues/111
--
--
Ticket URL: <http://trac.sagemath.org/ticket/19775#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.