A quadratic's coefficients are named for the odd half power's solve - #1742
Merged
Rafael-SOWNet merged 2 commits intoOct 4, 2026
Merged
Conversation
A polynomial times an odd half power of a quadratic is reduced with one linear solve in the coefficients, and a quotient or a product of symbols among them was carried through the elimination as written: sqrt(a + b x + g^2 x^2/f^2) came back in an answer of 188,000 characters after three seconds, and (a + b x + c x^2/f)^(3/2) in one of 478,000 after eight. Each such coefficient is named for the solve and written back in what it gives; the answers are a thousand characters, in a tenth of a second. 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.
sqrt(a + b x + g^2 x^2/f^2)is answered on master after three seconds, in 188,000 characters, wheresqrt(a + b x + g^2 x^2)is answered at once in a few hundred: the reduction of a polynomial times an odd half power of a quadratic solves one linear system in the quadratic's coefficients, and a quotient or a product of symbols among them was carried through the elimination as written. 2.5.0 declined these:cb8e133dsqrt(a + b x + g^2 x^2/f^2)x/sqrt(a + b x + g^2 x^2/f^2)(a + b x + c x^2/f)^(3/2)x^2 sqrt(a f + b x + c x^2/f)The times are of the integration alone, each in a fresh process; differentiating master's answers back to check them took up to a minute and a half more.
What changes. Each coefficient that is neither a number nor a symbol is named for the solve, and written back into the solution before anything else reads it; the table's integral and the final check stay on the radicand as written.
Tests:
CompoundCoefficientsOfAQuadraticIntegralTest, five rows differentiated back with the symbols pinned, and held to an answer of under 5,000 characters, which is what the length of the answer measures where a test cannot hold a time; on master the five are answered in 40,000 to 480,000.Measured first on the 333 problems of family 1 with a root of a quadratic whose coefficients have a quotient in them, at the corpus's 5-second budget, against master
8f3757cd, the branch's base:Measured then on the Rubi corpus against master
8f3757cd:No answer is wrong in the pocket or the sample on either build. Of the 11 problems the two builds disagreed on, pocket and sample together, run again one build at a time, master answers 2 and this 7. Three are the 1.3.2 problems that put a compound coefficient under the root,
(d + e x + f sqrt(a + b x + e^2 x^2/f^2))^kforkfrom one to three, past the budget on master and answered here in 0.02 to 9 seconds. The other four this answers, and the two master does, take about twenty seconds on either build, at the edge of the harness's patience; two of them,x/csch(x)^(3/2) + x sqrt(csch(x))/3and(a + b arctanh(c x^2))^2/x^5, are the one each families 6 and 7 lose in the sample, and both are answered here run alone. The last four are past the budget on both builds.The allocation gate passes on the commit measured,
cb1cd28a. Its suite run there was stopped by the machine's memory guard at 8 GB after 9,812 tests had passed and none failed: the chain runs the suite with no heap limit, and the guard watches the test host. On the merge with mastercb8e133d,d722c7e4, the whole suite under a 4 GB heap limit passes, 14,780 tests with 13 skipped, and every row of the first table is as it says.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura