An odd half power of a quadratic with i in it is reduced as one without - #1805
Merged
Rafael-SOWNet merged 2 commits intoOct 6, 2026
Merged
Rafael-SOWNet merged 2 commits into
Rafael-SOWNet merged 2 commits into
Conversation
The reduction of a polynomial times an odd half power of a quadratic to R Q^(k + 1/2) + K/sqrt(Q) declined any coefficient off the real line, so sqrt(3 i x + 4 x^2) was answered and (3 i x + 4 x^2)^(5/2) was not. The solve is exact whatever the coefficients are, the table answers K/sqrt(Q) off the real line as on it, and the answer is differentiated back at sampled points before it is returned; it reduces those coefficients too now. Rubi's 1.2.1.1. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…f-a-quadratic-off-the-real-line-is-reduced
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.
sqrt(3 i x + 4 x^2)was answered and(3 i x + 4 x^2)^(5/2)declined, with the rest of the odd half powers of a quadratic withiamong its coefficients:15aae3d3(3 i x + 4 x^2)^(5/2)1/(3 i x + 4 x^2)^(7/2)(1 + i x + x^2)^(3/2)x (1 + i x + x^2)^(3/2)What changes.
SolveAPolynomialTimesAnOddHalfPowerOfAQuadraticreducesP Q^(m/2)toR Q^(k + 1/2) + K/sqrt(Q)by one linear solve, and declined any coefficient off the real line. The solve is exact whatever the coefficients are, the table answersK/sqrt(Q)off the real line as on it -- as a logarithm -- and the answer is differentiated back at sampled points before it is returned, so the guard declined nothing it had to. It is gone.Tests:
HalfOddPowerOfAQuadraticOffTheRealLineIntegralTest, five rows, differentiated back at real points and compared as complex numbers.Measured on the 1,017 corpus problems with
iand a root in the integrand, at the corpus's 5-second budget, against master221d3c5f:One answer is counted wrong on each build.
The 7 problems the two builds disagreed on, run again one build at a time: master answers none of them, declines 6 and runs past the budget on 1; this answers 6 and runs past the budget on 1.
The suite on the commit measured,
d75d5841, passes, 15,048 tests, and so does the allocation gate: every gated benchmark allocates what the baseline says. The head here,fb50974c, merges master15aae3d3; the calculus and corpus tests pass on it, 4,363 tests, and the library builds fornetstandard2.0.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura