The scaling rule does not simplify an integrand with the imaginary unit in it - #1718
Merged
Rafael-SOWNet merged 3 commits intoOct 3, 2026
Conversation
…it in it The rule that scales the variable by the integrand's one symbol simplified the scaled integrand three times to separate the whole power of the scale it is homogeneous of. With the imaginary unit beside the symbol that search ran past any budget: ((1 + i a x)/(1 - i a x))^(-5/4)/x^2, which is declined, took more than two minutes to be. Inner simplification separates what a whole power of the scale does, and where the parts do not separate so the rule declines; it is declined in 3 s. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Measured on the corpus, the integrands the scaling rule held up are answered by the rules after it now: sec(c + d x)^3/(a + i a tan(c + d x)), five powers of x beside e^(k i arctan(a + b x)), 1/(a + b csc(c + d x)^2)^4 among them, and 2.5.0 declined eight of nine. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…es-not-simplify-with-the-imaginary-unit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #718.
The rule that scales the variable by the integrand's one symbol simplified the scaled integrand three times, to separate the whole power of the scale it is homogeneous of. With the imaginary unit beside the symbol that search ran past any budget:
3a3d0163((1 + i a x)/(1 - i a x))^(-5/4)/x^2sec(c + d x)^3/(a + i a tan(c + d x))x^4 e^(2 i arctan(a + b x))1/(e^(3 i arctan(a + b x)) x^4)Measured one integrand at a time on a loaded machine, so the last two are rough; the first two are not.
What changes. With the imaginary unit in the integrand, the scaled integrand is inner-simplified, which separates what a whole power of the scale does, and where the parts do not separate the rule declines at once. Without the imaginary unit nothing changes.
Tests:
ComplexCoefficientRationalIntegralTest.AnImaginaryMobiusPowerIsDeclinedWithinAMinute:((1 + i a x)/(1 - i a x))^(-5/4)/x^2comes back within a minute, declined, where master ran past two.Measured first on the 1,112 problems with the imaginary unit in them, at the corpus's 5-second budget, against master
97c4b692, the branch's base:Measured then on the Rubi corpus against master
97c4b692:No answer is wrong on either build. The 15 problems the two builds disagreed on, run again one build at a time, all ran out of time on master; here 9 are answered --
sec(c + d x)^2/(a + i a tan(c + d x))and its cube,tan(c + d x)^(8/3)/(a + i a tan(c + d x)),1/(a + b csc(c + d x)^2)^4, and five powers ofxbesidee^(k i arctan(a + b x))-- 5 are declined in seconds, and one, from 1.1.1.5 and the change in family 1, runs out of time on both.The suite passes on the commit measured,
9e190e5b, 14,586 tests, and so does the allocation gate. Master3a3d0163is merged in since, without conflicts, after a commit with the entry inBREAKING-CHANGES.mdthat the corpus showed this owes. The calculus tests pass on the merge, 3,960 of 3,961; the other, a 30-second wall clock on decliningsin(x)/(x^3 + 1)^2, failed under the machine's load and passes on its own, and that integral is declined in 1.4 s on both builds.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura