Repository navigation
a + i a tan under a root beside the tangent's differential is lowered over its conjugate - #1820
Merged
Rafael-SOWNet merged 1 commit intoOct 7, 2026
Conversation
…jugate Under u = tan(x), (a + i a u)(a - i a u) = a^2 (1 + u^2), so a power of the sum over 1 + u^2 is one power lower over the conjugate. 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 tan(e + f x))/(c + d tan(e + f x))^(3/2)ran past thirty seconds, with sixteen more of Rubi's 4.3.2.1: a root ofa + i a tanbeside a root ofc + d tan. Underu = tan(x)it issqrt(a + i a u)/((c + d u)^(3/2) (1 + u^2)), and the quotient by1 + u^2sent it into a search. Butso the sum's power is lowered by one over its conjugate,
a^2 (a + i a u)^(-1/2)/((c + d u)^(3/2) (a - i a u)): roots of two linears over a linear, which is answered in a second.SolveByTangentSubstitutionwrites the integrand inuso where a factor is a root ofA +- i A u. A constant taken out of the root first leaves the integrand as one reciprocal,(sqrt(1 + i u) (c + d u)^(3/2))^(-1), and that is read as the quotient it is. A whole power of the sum is left as it was: beside the cosine it is a polynomial in the sum, which the rules for the sine and the cosine answer sooner.f8e9734dsqrt(a + i a tan(x))/(c + d tan(x))^(3/2)(a + i a tan(x))^(3/2) (c + d tan(x))^(5/2)1/(sqrt(a + i a tan(x)) (c + d tan(x))^(3/2))1/((a + i a tan(x))^(3/2) (c + d tan(x))^(5/2))sqrt(a + i a tan(x))/sqrt(c + d tan(x))Tests:
ImaginaryTangentSumBesideARootOfALinearInTheTangentIntegralTest, the five rows above, each differentiated back and compared as a complex number at six real points.Measured first on every corpus problem with
iin its integrand, 2,253 of them, at the corpus's 5-second budget, against masterf8e9734d: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. Seventeen problems are answered here and not on master, all of 4.3.2.1, and none the other way; one of 4.3.3.1 goes from past the budget to an answer the harness cannot check on the reals. On the 2,006 both answer the time goes from 1,784 seconds to 1,685.Measured then on the Rubi corpus:
The harness counts no answer wrong in either. The eighteen problems the builds disagreed on, run again one build at a time: master answers none, this answers seventeen and the eighteenth past the budget no longer.
The suite passes: 15,153 passed, 13 skipped, none failed. The allocation gate passes: every gated benchmark allocates what the baseline says. The library builds for every target.
Left in 4.3.2.1: a whole power of the sum beside a root,
1/((a + i a tan)^3 (c + d tan)^(3/2)), where the time goes to splitting a fourth power of a linear with symbolic complex coefficients into partial fractions.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura