Repository navigation
Split a power of a product beside a whole power of a factor, and ask it early - #1889
Merged
Rafael-SOWNet merged 5 commits intoOct 15, 2026
Conversation
…it early A whole power of a product, or a sum standing as a factor, is split beside a root of one of its factors, and a root of a product beside a whole power of one; two whole powers are a rational function and left to the partial fractions. Asked right after each linear is written once: what reads the product whole took 27 seconds on Rubi's 1.2.1.2:2218 and answered :2276 in 29,285 characters. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Beside a bare factor the root was split where it read better whole: Welz's (1 + x)/((x - 2) sqrt(1 + x^3)) became three logarithms, and (1 + a x) sqrt(1 - a^2 x^2)/(1 - a x) went from 4 ms to 36 s. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Above the bar the split took the answer for (a + b x)^3 sqrt(c x^2 - a^2 c/b^2) from 3,540 characters to 33,316, and beside a power of x x^(5/2)/(b x^2 + c x^4)^3 from 1.7 seconds to 7.9. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
…t-splits-beside-a-whole-power-of-a-factor
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
SolveBySplittingARootOfAProductBesideARootOfAFactor(#1876, #1887) split(P Q)^rintoK P^r Q^ronly when the factor beside it was a root or a symbolic power too. It now also splits in two more cases:1/((d + e x)^4 (a d e + (c d^2 + a e^2) x + c d e x^2)^(3/2)), gathers into(d + e x)^(-11/2) (a e + c d x)^(-3/2). Only for a factor to a whole power of two or more below the bar:(1 + x)/((x - 2) sqrt(1 + x^3))became three logarithms instead of one,ALinearDividingARadicandOfSymbolshung the suite, and 1.1.1.2:1257 went from 4 ms to 36 s.(a + b x)^3 sqrt(c x^2 - a^2 c/b^2)went from 3,540 characters to 33,316.1/(sqrt(d + e x) (a d e + (c d^2 + a e^2) x + c d e x^2)). HereKis 1. Beside a power of x,x^(5/2)/(b x^2 + c x^4)^3went from 1.7 s to 7.9 s.Two whole powers are a rational function and are left to the partial fractions.
The rule now runs right after
SolveByWritingEachLinearOnce, ahead of the routes that read the product whole. Placed late, 2218 took 27 s to reach it, and 2276 was answered by another route first in 29,285 characters. Now they take 0.5 s and 1,611 characters.Measured
intbench, this branch against master 364eda3, 5 s budget. The pocket was 1.1.1.2–1.1.1.4, 1.2.1.2–1.2.1.4, 1.2.1.6, 1.2.1.9, 1.2.2.2–1.2.2.4 and 1.3.2 in full (13,826 rows), plus the usual family sample:
Nine rows moved, all to solved, and all held when re-run alone (master solves none of them alone):
All nine were checked exactly with
exactcheck(exact pins, 50 and 2,000 digits, four points, three pin sets): 216 of 216 diff 0. The gate and the suite pass (15,391).A wider version also answered 1.2.1.3:147 and 156,
(A + B x)/(x^4 (b x + c x^2)^(3/2)). It paid for that with the 3,540-to-33,316 growth and the 7.9 s above, so I left those two rows out.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura