#14209: Extra assumption kept by Maxima
-------------------------------------+-------------------------------------
Reporter: pipedream | Owner: burcin
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.3
Component: calculus | Resolution:
Keywords: maxima ecl | Merged in:
Authors: Karl-Dieter | Reviewers: Travis Scrimshaw
Crisman | Work issues:
Report Upstream: Fixed upstream, | Commit:
in a later stable release. | 54d060972983ad223c7b7f572ffad308b8b4dc56
Branch: | Stopgaps:
u/kcrisman/14209_doc_fix_twoints |
Dependencies: #13973, #13712, |
#11984, #15386 |
-------------------------------------+-------------------------------------
Comment (by pbruin):
Integrating over ''x'' in '''R''' after assuming ''x'' > 0 is problematic
in Maxima:
{{{
$ sage --maxima
...
(%i1) load(abs_integrate)$
(%i2) defint(exp(-abs(x))/cosh(x),x,minf,inf);
(%o2) 2 log(2)
(%i3) assume(x>0);
(%o3) [x > 0]
(%i4) defint(exp(-abs(x))/cosh(x),x,minf,inf);
defint: integral is divergent.
-- an error. To debug this try: debugmode(true);
}}}
The easiest solution is to put `forget(x > 0)` at the end of the doctest
with `assume(x > 0)`.
--
Ticket URL: <http://trac.sagemath.org/ticket/14209#comment:19>
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.