Repository navigation
An odd power of the secant over a whole power of a + i a tan is integrated in the sum - #1813
Merged
Conversation
…rated in the sum 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.
Nine more of Rubi's 4.3.1.2 rows, which #1812's rule should have taken and did not:
b3ac1e8dsec(c + d x)^5/(a + i a tan(c + d x))^2sec(c + d x)^9/(a + i a tan(c + d x))^4(d sec(e + f x))^(2/3)/(a + i a tan(e + f x))^(4/3)1/((k cos(c + d x))^(5/2) sqrt(a + i a tan(c + d x)))Each is differentiated back and compared with the integrand as a complex number at real points with the symbols pinned; the nine answers run from 888 to 6,166 characters.
What changes. Two things in
SolveAPowerOfTheSecantBesideAPowerOfAnImaginaryTangentSumInTheSum.x, which carries the factor constant on intervals and an antiderivative inuof thousands of characters: large enough that the sampled evaluations could not decide, and right answers were declined after seconds --(d sec)^(2/3)/(a + i a tan)^(4/3)and the cosine's rows. It checks the formula inunow, on the path itself,u = A + i A tfor a realt, which is the claim the answer rests on.cos(x)^5/(a + i a tan(x))^3andsec(x)^3/(a + i a tan(x))^4in milliseconds, and notsec(x)^5/(a + i a tan(x))^2. An odd powersof the secant over the sum'sn-th withs + 2 n = 1is taken now: inuit is a whole power of2 A - uover the root ofu, answered in a second or two. Every other pair of whole powers is still left alone, since inuit is answered more slowly than they answer it, or not at all; letting them all through lost five rows the sine and cosine rules answer.Tests:
SecantBesideAnImaginaryTangentSumIntegralTestgainssec(x)^5/(a + i a tan(x))^2.Measured first on every corpus problem with
iin its integrand, 2,253 of them, at the corpus's 5-second budget, against masterb3ac1e8d:The one counted wrong on both is the 6.1.5
1/(a + i a sinh(c + d x))^(1/2)the harness counts wrong on every build. Nine problems are answered here and not on master, and none the other way; on the 1,978 both answer the time is 1,839 seconds against 1,838.Measured then on the Rubi corpus against master
b3ac1e8d:The harness counts no answer wrong in either.
The ten problems the two builds disagreed on, run again one build at a time: master answers none, this answers nine, in 1.8 to 10.6 seconds with the check. The tenth,
sqrt(a + i a tan(e + f x))/sqrt(c + d tan(e + f x)), is declined by both, master after 24 seconds.The suite passes on the head here,
c4ad9d2f, which is masterb3ac1e8dand this change: 15,131 tests, every one reported. The allocation gate passes: every gated benchmark allocates what the baseline says. The library builds for every target.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura