#16422: cancellation of two indefinite limits
-------------------------------------------------+-------------------------
Reporter: dkrenn | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.3
Component: symbolics | Resolution:
Keywords: symbolic, cancellation, | Merged in:
limit, indefinite | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Comment (by nbruin):
This is an upstream problem (in maxima). It seems "ind" isn't a special
symbol there either:
{{{
Maxima 5.29.1 http://maxima.sourceforge.net
using Lisp ECL 12.12.1
(%i3) limit(sin(x),x,inf)-limit(cos(x),x,inf);
(%o3) 0
}}}
We could intercept ind whenever it comes by (from limit) and raise an
exception to limit the damage, but I imagine the bad simplifications could
already happen internal to maxima.
This seems to happen with infinity as well, by the way:
{{{
(%i14) limit(1/x^2,x,0)-limit(1/x^4,x,0);
(%o14) 0
}}}
Sage catches those (when they happen in a way sage can see it happen), so
perhaps we should recognize `ind` and a special value--leading to an
exception if we can't do anything with it.
--
Ticket URL: <http://trac.sagemath.org/ticket/16422#comment:2>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.