-
-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
integrate() problem #16643
Comments
comment:1
This may be a reportable issue upstream:
Without the Also, the problem does not arise in Maxima 5.30.0 on SBCL 1.1.8-2, so it may be a problem with maxima-ecl interaction (so it depends a little on how well the maxima-devs want to support ECL) Also executing |
comment:2
The following helps perhaps to locate the problematic code. The following fragment does complete (but after considerable time):
this is the code the integrator would execute, and it does return the integral unevaluated. So somehow we're avoiding the error above. Indeed, the difference seems to be how you feed the expression. Sage actually DOES return this integral (unevaluated), it just takes longer. The difference is in how you give the integral. The expression for the derivative that maxima computes gives the result above. However, the form computed by sage still works. If you do in maxima
everything is fine. So the only report for Maxima is the above question why ECL runs into an error for the particular integral given there. This integral is not the one encountered with the original sage script and the sage code does finish correctly (albeit after a rather long time). |
comment:3
I changed the title and description, because I found evidence there is no infinite loop involved. Please change back if you're unhappy with the change. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Upstream: Reported upstream. No feedback yet. |
comment:8
See also #12731. |
Changed upstream from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release. |
comment:9
It's claimed that upstream has this 'fixed' in some sense now. |
Reviewer: Peter Bruin |
comment:10
With Maxima 5.34.1 and also with 5.35.1 (see #17514), both integrals are returned unevaluated:
I propose to close this since the ECL error appears to have been fixed upstream and the example takes too long to be a sensible doctest. |
comment:11
says upstream... though I am agnostic on whether to close this, one could repurpose it as "make this integral faster" and ask upstream for that (or see if Sympy can do it faster, or whatever). |
comment:12
SymPy is much faster to concede defeat.
|
Changed reviewer from Peter Bruin to Peter Bruin, Ralf Stephan, Karl-Dieter Crisman |
comment:13
Yeah, probably can't have a ticket that says "make integrals that take a long time faster", too vague. |
I interrupted Sage after 5min of churning without result:
On a faster computer:
On the other hand, for the equivalent expression
which happens in maxima/ECL with
abs_integrate
loaded, but not in maxima/SBCL. Upstream: https://sourceforge.net/p/maxima/bugs/2781/Upstream: Fixed upstream, but not in a stable release.
Component: symbolics
Keywords: integration, maxima
Reviewer: Peter Bruin, Ralf Stephan, Karl-Dieter Crisman
Issue created by migration from https://trac.sagemath.org/ticket/16643
The text was updated successfully, but these errors were encountered: