Repository navigation
An odd power of the tangent beside a function of the secant, in the secant - #1832
Merged
Merged
Conversation
…ecant Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Rafael-SOWNet
added a commit
that referenced
this pull request
Oct 9, 2026
* Breaking-changes entries for #1828 to #1832 and #1374 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura * And for #1368, #1611 and #1517, each measured on 2.5.0 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura * And for #1289, #1312, #1315, #1377, #1380 and #1371, each measured on 2.5.0 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
cot(c + d x)^3/(a + b sec(c + d x))^(3/2)ran past the corpus's budget. Inu = sec(y),du = sec(y) tan(y) dy, and the even power of the tangent left over is a power ofu^2 - 1. So an odd power of the tangent beside a function of the secant is, exactly,which here is a rational function beside the root of a linear.
SolveAnOddPowerOfTheTangentBesideAFunctionOfTheSecanttakes the cotangent as the tangent's reciprocal, and the cotangent beside a function of the cosecant inu = csc(y). It stands after the secant's other rules.60b8111ccot(x)^3/(a + b sec(x))^(3/2)cot(x)^3/(a + b sec(x)^2)^3cot(x)/(a + b sec(x))^(3/2)xstands fore + f x, which is what was probed. The first row's answer is long for the same reason #1831's are: a case for each sign of the roots of the quadratics the root of the linear makes.Tests:
AnOddPowerOfTheTangentBesideTheSecantIntegralTest, three rows (a shifted argument, the cotangent cubed, the cosecant), each differentiated back and compared at six points.Measured on every corpus problem with a secant or a cosecant in its integrand, 6,489 of them, at the corpus's 5-second budget, against master
e7ef0b75, before #1830 and #1831:Two problems of 4.5.1.4 are answered here and not on master, and none the other way. #1831 has since answered one of them on master. On the 6,372 both answer the time is 1,621 seconds on master and 1,593 here.
The harness counts no answer wrong in either. The two problems the builds disagreed on, run again one build at a time: master answers neither, this both.
The chain's own run of the suite was stopped by the machine's memory guard at 8 GB, with 9,745 passed and none failed. Merged with master, the whole suite was run twice on each tree. The test host peaked at 6.9 GB then 5.5 GB here, and at 3.7 GB then 6.9 GB on master. It passes: 15,187 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