Repository navigation
A power of a + i a csch is integrated in the exponential - #1823
Merged
Rafael-SOWNet merged 1 commit intoOct 8, 2026
Conversation
In w = e^y the sum is a (w + i)^2/(w^2 - 1), so a power of it not whole is a^p (w + i)^(2p) (w^2 - 1)^(-p) times a constant on every interval where both are continuous. Part of #718. 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 + i a csch(c + d x))was declined, with nine more of Rubi's 6.6.3 that are a power ofa ± i a cschnot whole. The sum is the square of a complex function over a real one, which nothing read. Inw = e^y,csch(y) = 2 w/(w^2 - 1)andso its power is
a^p (w + i)^(2p) (w^2 - 1)^(-p)times a constant on every interval where both are continuous, anddy = dw/w: a root of a quadratic times a linear power overw, which is answered at once.SolveAPowerOfAnImaginaryHyperbolicCosecantSumInTheExponentialreads the hyperbolic functions as their sine, takes one power of a sum in it, writes the sum inwas one quotient, and finds a constantqwith numeratorq (w ± i)^2. The constant is not written: the answer is the integrand times the antiderivative inwover what that differentiates back to, a quotient whose logarithmic derivative is zero. The antiderivative is checked inwagainst the integrand inw; checked inx, with the slope a symbol pinned at a sample,e^(c + d x)at the sampled points was past what the evaluation decides.d8dff2a5sqrt(a + i a csch(c + d x))(a + i a csch(c + d x))^(3/2)1/sqrt(a - i a csch(c + d x))Every one of 6.6.3's eleven failing rows was also probed at points of both signs of the argument; ten are answered, and
1/(a + i a csch(c + d x))^(3/2)is still declined.Tests:
APowerOfAnImaginaryHyperbolicCosecantSumIntegralTest, the three rows above, each differentiated back and compared as a complex number at six real points of both signs.Measured on every corpus problem with
iin its integrand, 2,253 of them, at the corpus's 5-second budget, against masterd8dff2a5:The one counted wrong on both is the known 6.1.5
1/(a + i a sinh(c + d x))^(1/2), the harness's own. Ten problems are answered here and not on master, all of 6.6.3, and none the other way; on the 2,030 both answer the time is 1,663 seconds and 1,668.The harness counts no answer wrong in either. The eleven problems the builds disagreed on, run again one build at a time: master answers none, this the ten of 6.6.3; the eleventh, 4.3.1.2's
cos(c + d x)^11 (a + i a tan(c + d x))^(7/2), is past the budget on both.The suite passes: 15,162 passed, 13 skipped, none failed. 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