Stack overflow integrating csch(29/10 + 13/10 x)^3 (17/10 + 23/10 sech(29/10 + 13/10 x)^2)^3: the power-of-a-quadratic reduction recurses on a remainder the division did not reduce
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start with IntegralPatterns.IntegrateRationalOverPowerOfQuadratic and TheFirstPowerCancels' Gather, reproducing the supplied integrand with rational parameters. Inspect the PolynomialLongDivision remainder checks at both recursion sites; done means the reduction declines when the remainder still has a higher variable power and the integrator returns a bounded decline instead of overflowing the stack.
Written by the indexing model from the issue text.
Description
csch(29/10+13/10*x)^3*(17/10+23/10*sech(29/10+13/10*x)^2)^3 (Rubi 6.5.7:30 with the parameters pinned to rationals) takes the process down with a stack overflow on master (01fa27bb), in IntegralPatterns.IntegrateRationalOverPowerOfQuadratic and, once that is guarded, in TheFirstPowerCancels' Gather: both divide the numerator by the quadratic with PolynomialLongDivision and recurse on the remainder at the same power, and for this integrand under u = e^x the division comes back with a remainder that is not linear, so the recursion never descends.
Fix in the PR that found it: a remainder that still has the variable to a higher power declines the reduction at both sites (the same problem then goes on to a decline within the budget rather than a crash). Why the division reports a remainder of full degree for these coefficients is not yet looked at.
- Dominant language
- C#
- Stars
- 832
- Forks
- 79
- Avg merge
- 3h 11m
- Merged PRs (30d)
- 357
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from asc-community/AngouriMath
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
asc-community/AngouriMath#1420 · 1 comment ·
-
Proposal
Difficulty 5/5 Over a week Newbie friendliness 35/100
asc-community/AngouriMath#1415 · 1 comment ·
-
Agentic goal
Difficulty 5/5 Over a week Newbie friendliness 25/100
asc-community/AngouriMath#1409 · 11 comments ·
-
Bug
Difficulty 4/5 3-5 days Newbie friendliness 55/100
asc-community/AngouriMath#1387 · 2 comments ·
-
Bug
Difficulty 4/5 3-5 days Newbie friendliness 65/100
asc-community/AngouriMath#1386 ·
All issues in asc-community/AngouriMath
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100