Repository navigation
A power of x beside a function of a symbolic power of x is integrated by substituting the power, and a square root of a perfect square is the modulus at every depth - #1462
Merged
Conversation
… by substituting the power, and a square root of a perfect square is the modulus at every depth `x^(n - 1) e^(x^n)` with a symbolic n was declined: the general substitution takes a concrete power, and nothing took a symbolic one. It is `e^(x^n)/n` under u = x^n, and `x^(k n - 1) g(x^n)` for a whole k is `u^(k - 1) g(u)/n`, which is Rubi's 6.5.2 and 6.6.2 -- `(e x)^(n - 1) (a + b sech(c + d x^n))^p`, where the power in front is `e^(n - 1) x^(n - 1)` for a positive e, and the answer says so. `1/sqrt(1 + csch(x)^2)` was answered wrongly: under u = tanh(x) it is `sqrt(u^2)/(u^2 - 1)`, and six levels down the rule for a root of a quadratic beside a linear read a perfect square as a root and answered with a logarithm of zero. A square root of a perfect square is now written as `sgn(x + h) (x + h)` at every depth, before anything reads it, and Euler's substitution declines a perfect square rather than substituting `t = sqrt(u^2) - u`. The square root only: `(1 + 2u + u^2)^(5/2)` under the exponential substitution is a sign written for a variable whose sign the substitution knows, and rewriting it sent `tanh(x)/(a + b tanh(x)^2)^(5/2)` from twenty seconds to past the budget. Family 6 of the Rubi suite: 315 -> 335 of 417, 0 wrong (one wrong before); family 7 215/270 unchanged; the 1774-problem suite 1707, 0 wrong, 0 timeout. Allocation gate passed on all 19 gated benchmarks. Part of #718. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
This was referenced Sep 22, 2026
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.
x^(n - 1) e^(x^n)with a symbolicnwas declined: the general substitution takes a concrete power, and nothing took a symbolic one. It ise^(x^n)/nunderu = x^n, andx^(k n - 1) g(x^n)for a wholekisu^(k - 1) g(u)/n— Rubi's 6.5.2 and 6.6.2,(e x)^(n - 1) (a + b sech(c + d x^n))^p, where the power in front ise^(n - 1) x^(n - 1)for a positivee, and the answer says so (provided pe > 0).1/sqrt(1 + csch(x)^2)was answered wrongly on master (unevaluated in 2.5.0): underu = tanh(x)it issqrt(u^2)/(u^2 - 1), and six levels down the rule for a root of a quadratic beside a linear read the perfect square as a root and answered with a logarithm of zero — a derivative that is nowhere a number. A square root of a perfect square is now written assgn(x + h) (x + h)at every depth, before anything reads it, and Euler's substitution declines a perfect square rather than substitutingt = sqrt(u^2) - u.The square root only, not
(P)^(5/2):SolveByTakingASquareFactorOutOfARoot's remark says why that stays at the top — below a substitution the variable is one whose sign the substitution knows, and a sign written for it is a factor the rest of the search carries. Measured: with the rewrite at every half-odd power,tanh(x)/(a + b tanh(x)^2)^(5/2)(6.3.7:308) went from 20 s to past the budget, because underu = e^(2x)it holds(1 + 2u + u^2)^(5/2); restricted to the square root it is back to master's 20 s.Measured (all on this branch's final build):
familycap.sh 6 20): 315 → 335/417, 0 wrong (master has 1 wrong, the row above), 32 unevaluated, 8 unverifiable on the reals, 42 timeout. Eight rows moved Unsolved → Timeout on the 5 s cap; each times identically on master solo (20 s+), so that is memo warmth in the family run, not the branch.bench.sh: PASSED, allocation matches the baseline on all 19 gated benchmarks.BREAKING-CHANGES.mdcarries the entry with the 2.5.0 column measured on a 2.5.0 build.Part of #718.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura