Repository navigation
Write an even power of the sine beside the secant in the cosine - #2049
Merged
Rafael-SOWNet merged 1 commit intoOct 22, 2026
Conversation
Rubi's 4.5.1.3 sin(c + d x)^2/(a + b sec(c + d x)) ran past the corpus's budget: the half-angle substitution wrote it in 117,751 characters, and sin(x)^4/(a + b sec(x)) in 160,657. SolveByWritingARationalFunctionOfTheSecantInTheCosine wrote a rational function of the secant in the cosine beside the cosine itself, where the half-angle had written cos(x)^2/(a + b sec(x)) in 117,409 characters, and declined beside the sine as a second function. The sine stands there to even powers only, and sin(z)^(2k) is (1 - cos(z)^2)^k exactly, so it is now written so: (1 - cos(x)^2) cos(x)/(a cos(x) + b) is a polynomial over a linear in the cosine, 969 characters. The cosine beside the cosecant is written in the sine the same way. An odd power of the complement still declines. Part of #233. 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 #233.
sin(c + d x)^2/(a + b sec(c + d x))ran past the corpus's budget. The half-angle substitution answered it, in 117,751 characters.SolveByWritingARationalFunctionOfTheSecantInTheCosinewrote a rational function of the secant in the cosine beside the cosine itself, where the half angle had writtencos(x)^2/(a + b sec(x))in 117,409 characters. Beside the sine it declined, as a second function.sin(z)^(2k)is(1 - cos(z)^2)^kexactly, so it is now written so.(1 - cos(x)^2) cos(x)/(a cos(x) + b)is a polynomial over a linear in the cosine, which partial fractions answer in 969 characters. The cosine beside the cosecant goes into the sine the same way. An odd power of the complement still declines.sin(c + d x)^2/(a + b sec(c + d x))sin(x)^4/(a + b sec(x))cos(x)^2/(a + b csc(x))Chain against master ef4150e:
The library builds for netstandard2.0, net8.0 and net10.0. The suite is left to CI. The BREAKING-CHANGES lengths were measured on the branch, and the 2.5.0 column on a v2.5.0 build. Rebased onto e30f63f.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura