The Hermite reduction's system is solved in one row order whatever the spelling - #1715
Merged
Merged
Conversation
…e spelling The rational part of a Hermite reduction is one linear system, and its rows were the powers of x in the order the coefficient dictionaries met them, which follows how the denominator's factors are written. With symbols in the coefficients the elimination's pivots followed that order: x/((1 + x^2)^3 (2 a x + b (x^2 + 1))) solved to coefficients of the thirty-sixth degree in the symbols that nothing reduced, and declining their logarithmic part took 40 s before the answer, where with (x^2 + 1)^3 written the whole took 1 s. The rows are ordered by their power of x; both spellings take half 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
…in-a-fixed-row-order # Conflicts: # BREAKING-CHANGES.md
Member
|
In case your comment polling loop failed, tell it to read #1649 (comment) |
…in-a-fixed-row-order
Member
Author
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.
How the denominator of a rational integrand was written decided how long its Hermite reduction took:
x/((1 + x^2)^3 (2 a x + b (x^2 + 1)))took 45 s, and the same with(x^2 + 1)^3below the bar 1.2 s.97c4b692x/((1 + x^2)^3 (2 a x + b (x^2 + 1)))x/((x^2 + 1)^3 (2 a x + b (x^2 + 1)))sin(c + d x)^4/(a + b tan(c + d x))^3sinh(c + d x)^6/(a - b sinh(c + d x)^4)^2(A + B x + K x^2)/(x^3 (a + b x^2 + c x^4)^2)What changes. The rational part of a Hermite reduction is one linear system, and its rows were the powers of
xin the order the coefficient dictionaries met them, which follows how the factors are written. With symbols in the coefficients the elimination's pivots followed that order, and in one order the solution came out in coefficients of the thirty-sixth degree in the symbols that the final cancellation did not reduce; declining the logarithmic part they made was forty seconds before the answer. The rows are ordered by their power ofxnow. The value of an answer does not change; where the order mattered, its coefficients can come out reduced where they were not.Tests:
RationalFactorsBesideASymbolicQuadraticTest.EitherSpellingOfOnePlusTheSquare, three rows, each answered within the test's minute and differentiated back.Measured first on every fourth problem of 4.1.1.2, 4.1.2.1 and 4.1.2.2, the half-angle tangent's rational functions with symbols, at the corpus's 5-second budget, against master
9a33298e, the branch's base:Measured then on the Rubi corpus against master
9a33298e:No answer is wrong on either build. The 7 problems the two builds disagreed on, run again one build at a time, timed out on master, all 7; here 6 are answered -- among them the third, fourth and fifth rows above,
1/((d + e x^2)(a + b x^2 + c x^4)^2)and1/(1 + cosh(x)^5)-- andx^7/(216 + 108 x^2 + 324 x^3 + 18 x^4 + x^6)^2is declined in 67 ms.The suite passes on the commit measured,
13eb63d1, 14,572 tests, and so does the allocation gate. Master97c4b692is merged in since, with one conflict inBREAKING-CHANGES.md, two entries at one place, both kept, and masterdbe5b382after it without conflicts; the calculus tests pass on that merge, 3,951 of them.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura