Open nasser1 opened 4 months ago
does this happen with other integration backends on this example, too?
The problem is probably in expanding the integrand into a polynomial with 1000 monomials...
integrate((1-x)^2014*x,x, algorithm="fricas")
No error with maxima. No error with giac. Only with Fricas
sage: print(maxima.version())
5.47.0
sage: print(giac.version())
"giac 1.9.0-97, (c) B. Parisse and R. De Graeve, Institut Fourier, Universite Grenoble Alpes. Optimization, signalprocessing, graph theory (c) Luka Marohnić"
integrate((1-x)^2014*x,x, algorithm="giac")
integrate((1-x)^2014*x,x, algorithm="maxima")
No error. Result returned OK to sagemath
Steps To Reproduce
Using sagemath 10.3 with Fricas :
Sage gives
RecursionError: maximum recursion depth exceeded
on an integral which Fricas directly can doUsing Fricas directly, no error is generated and anti-derivative is given (not shown as too long)
Expected Behavior
No exception is expected as this is what the external CAS does.
Actual Behavior
Exception is generated
Additional Information
No response
Environment
Checklist