Repository navigation
A quadratic's half-odd power beside a power of another quadratic is integrated - #1870
Merged
Rafael-SOWNet merged 5 commits intoOct 13, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…s reduced over the root 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
…beside-the-root-of-the-other
…ANGES Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Rafael-SOWNet
deleted the
two-quadratics-one-beside-the-root-of-the-other
branch
October 13, 2026 08:30
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.
Most of Rubi's 1.2.1.5 past the first powers was declined. That is a half-odd power of one quadratic
Bbeside a whole power of another,A. There were two seams, one on each side of the bar:SolveAPolynomialOverAPowerOfAQuadraticBesideTheRootOfAnotherread onlyP/(A^k sqrt(B)).B^(n/2)above the bar, for an oddn, is now read asB^((n + 1)/2)oversqrt(B), which is a polynomial over the root. That coverssqrt(B)/A^2andB^(3/2)/A^3.SolveARationalFunctionBesideTheRootOfAQuadraticsplits the rational part over the written factors.TrySplitOverWrittenFactorsdeclines a repeated quadratic with numbers in it, because over the rationals no rule reads a cubic over its square. Beside the root, though, each piece is a shape the rules read: a polynomial over the radicand's power is a polynomial times a half-odd power of the radicand, and one over the other quadratic's power goes to the reduction above. The root rule now says so through a new optional parameter,aRepeatedQuadraticIsRead. Every other caller is unchanged.Sizes, measured on master 915f742, on 2.5.0 and on this branch:
sqrt(3-x+2*x^2)/(2+3*x+5*x^2)^2sqrt(3-x+2*x^2)/(2+3*x+5*x^2)^3(3-x+2*x^2)^(3/2)/(2+3*x+5*x^2)^31/((3-x+2*x^2)^(3/2)*(2+3*x+5*x^2)^2)1/((3-x+2*x^2)^(3/2)*(2+3*x+5*x^2)^3)1/((3-x+2*x^2)^(5/2)*(2+3*x+5*x^2))1/((3-x+2*x^2)^(5/2)*(2+3*x+5*x^2)^2)1/((3-x+2*x^2)^(5/2)*(2+3*x+5*x^2)^3)(2+x)/((2+4*x-3*x^2)*(1+3*x-2*x^2)^(5/2))(1.2.1.6)(2+x)/((2+4*x-3*x^2)*(1+3*x+2*x^2)^(5/2))(1.2.1.6)(2+5*x+x^2)*sqrt(3+2*x+5*x^2)/(1+4*x-7*x^2)^3(1.2.1.9)(a+b*x+c*x^2)^(1/2)/(d+e*x+f*x^2)^2The symbolic one is large, but it matches what master already gives with the root below the bar:
1/((d+e*x+f*x^2)^2*sqrt(a+b*x+c*x^2))is 38,378 characters there.Each was checked exactly, derivative against integrand at 50, 300 and 2,000 digits. Every one agrees at every precision, once #1868's fix (#1869, merged in) stops a rational from keeping the precision it was first written out at.
Rubi corpus, compared with master a29f7ec:
The allocation gate passed. The suite passed: 15,308 passed, 0 failed. Master 915f742 is merged in, and the build passes for every target framework.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura