Repository navigation
A whole power of a sum of two square roots below the bar is rationalised - #1751
Merged
Merged
Conversation
x/(sqrt(a + b x) + sqrt(c + b x))^3 was declined, while the first power of such a sum below the bar is multiplied above and below by its conjugate. A whole power is multiplied by the same power of the conjugate, expanded; an even power over a constant difference of the radicands is left as it was, since its conjugate brings the root of the product of the radicands and those squares were answered as written. Rubi's 1.3.2. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
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.
x/(sqrt(a + b x) + sqrt(c + b x))^3was declined, while the first power of such a sum below the bar is multiplied above and below by its conjugate, the product of the pair being the difference of the radicands. 2.5.0 declined them too:287c69a7x/(sqrt(a + b x) + sqrt(c + b x))^31/(sqrt(a + b x) + sqrt(a + c x))^3x^2/(sqrt(a + b x) + sqrt(a + c x))^3x^3/(sqrt(a + b x) + sqrt(a + c x))^2The times include differentiating the answer back with the symbols pinned to check it.
What changes. A whole power of the pair below the bar is multiplied by the same power of the conjugate, expanded, over the same power of the difference of the radicands. An even power over a constant difference is left as it was: its conjugate brings the root of the product of the radicands with it, a root of a quadratic, and the squares over
sqrt(a + b x) + sqrt(c + b x)went past the budget so where they are answered in a second as written.Tests:
APowerOfASumOfRootsIntegralTest, four rows differentiated back with the symbols pinned; three are declined on master.Measured first on the 17 problems with a power of a sum of two square roots below the bar, all of them run, at the corpus's 5-second budget, against master
8f3757cd, the branch's base:Measured then on the Rubi corpus against master
8f3757cd:The harness counts no answer wrong in the pocket or the sample on either build. Of the 17 problems the two builds disagreed on, pocket and sample together, run again one build at a time, master answers 4 and this 11: eight that master declines, seven of 1.3.2's powers of a sum of roots and Welz's
1/(sqrt(x^2 - 1) (sqrt(x) + sqrt(x^2 - 1))^2)from the independent suites, answered here in two and a half to eight seconds. The other nine are at the edge of the harness's patience or beyond the budget on both: two both answer at nineteen to twenty-four seconds, two that master answers at twenty-one seconds ran past the patience here, one past it there is answered here at twenty-four, and four are declined or past the budget on both.The suite passes on the commit measured,
b51e3148, 14,595 tests with 13 skipped, and the allocation gate with it. On the merge with master287c69a7,dc7bcd54, the 4,141 calculus and corpus tests that run pass, with 2 skipped. Every row of the first table is as it says on the merge.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura