Repository navigation
A power of the cosine beside a power of a + i a tan is read as one of the secant - #1814
Merged
Rafael-SOWNet merged 1 commit intoOct 7, 2026
Conversation
… the secant 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(c + d x))/(k cos(c + d x))^(3/2)was declined, with the three like it in Rubi's 4.3.1.2. #1796's rule integrates a power ofa + i a tan(z)beside a power of the secant ine^(i z)where the powers add up to a whole number, and it read the secant only; a power of the cosine is the same power of the secant with its sign turned.8a310f7fsqrt(a + i a tan(x))/(k cos(x))^(3/2)(k cos(x))^(3/2) sqrt(a + i a tan(x))What changes.
SolveAPowerOfAnImaginaryTangentBesideAPowerOfTheSecantreadscos(z)^p, and(k cos(z))^p, as a secant power-p, the factors kept as they are written. Rows that #1812's rule answered inu = a + i a tan(z)are now answered by this one first, all of them shorter: of the 88 rows of 4.3.1.2, 54 have the same answer as on master, 11 a shorter one (920 characters to 231 is typical), and 4 an answer where master has none, 579 to 766 characters long.Tests: two rows added to
ImaginaryTangentBesideTheSecantIntegralTest, one with the cosine below the bar and one above it, each differentiated back and compared as a complex number at real points.Measured first on every corpus problem with
iin its integrand, 2,253 of them, at the corpus's 5-second budget, against master8a310f7f: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. Four problems are answered here and not on master, the four of 4.3.1.2 named above, and none the other way; on the 1,987 both answer the time goes from 1,882 seconds to 1,852.Measured then on the Rubi corpus against master
8a310f7f:The harness counts no answer wrong in either. The five problems the builds disagreed on, run again one build at a time: master answers none, this answers the four; the fifth, a 4.3.2.1 quotient, neither answers.
The suite passes: 15,133 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