Repository navigation
A logarithm of a nested quotient is written over one bar under the exponential substitution - #1410
Merged
Merged
Conversation
…ponential substitution 1/sqrt(atanh(tanh(a + b x))) was answered in 300 ms before the exponential substitution took a symbolic slope (#1377) and not after. atanh(tanh(a + b x)) arrives at the chain as 1/2 ln((1 + (w - 1)/(w + 1))/(1 - (w - 1)/(w + 1))) in w = e^(2(a + b x)), and under u = w that logarithm is 1/2 ln(u); but the combining on the way in reaches the quotient the integrand is and not one inside a function, the simplifier combines nothing (#1239), and the substitution search compared its candidates against the nested spelling and never saw the u. Every logarithm whose argument is a rational function of u with a quotient nested in it is now written over one bar in lowest terms where that is smaller, before the integrand in u is asked. Part of #718. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…ntial substitution Co-Authored-By: Claude Opus 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.
1/sqrt(atanh(tanh(a + b x)))was answered in 300 ms before the exponential substitution took a symbolic slope (#1377) and not after — the one known loss of that PR.atanh(tanh(a + b x))reaches the chain as1/2 ln((1 + (w - 1)/(w + 1))/(1 - (w - 1)/(w + 1)))inw = e^(2(a + b x)), and underu = wthat logarithm is1/2 ln(u); butSingleQuotient.Combineon the way in reaches the quotient the integrand is and not one inside a function,Simplifycombines nothing (#1239 —(1 + (u - 1)/(u + 1))/(1 - (u - 1)/(u + 1))simplifies to(8 - 8/(u + 1))(u + 1)/8), and the substitution search compared its candidates against the nested spelling and never saw theu.Under the exponential substitution, every logarithm whose argument is a rational function of
uwith a quotient nested in it is now written over one bar in lowest terms (combine, polynomial gcd, and aSimplifyof the small result), where that is smaller than what it replaces, before the question inuis asked. Nothing changes forSimplifyitself.84b0a9cf1/sqrt(atanh(tanh(a + b x)))2 sqrt(1/2 ln(e^(2bx + 2a)))/(1/2)/(2b), 0.3 satanh(tanh(a + b x))^(1/2)Measured, all detached and alone on the machine:
ExponentialSubstitutionIntegralTest, differentiated back with the parameters pinned.1/sqrt(atanh(tanh(a+b x)))andx/atanh(tanh(a+b x))^(5/2)Unsolved → Solved, nothing lost. The run reports four "errors": the sample was run under an 8 GB virtual-memory cap, and(c - c/(a^2 x^2))^(9/2)/e^(3 acoth(a x))reaches 8.4 GB in 30 s on master as well (/usr/bin/time -v, both builds), not observing the 5 s budget; under the cap it throwsOutOfMemoryExceptionand the threeasechrows after it inherit the exhausted process (2–12 ms each; all three are unevaluated solo, on both builds). A pre-existing runaway, next on my list, not this branch's.sech(c+d x)^3 (a + b tanh(c+d x)^2)^2Timeout → Solved, nothing lost.Part of #718.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura