Repository navigation
What is left of a substitution in x as a power of its candidate is written in the candidate - #1657
Merged
Rafael-SOWNet merged 1 commit intoOct 1, 2026
Conversation
…itten in the candidate A substitution u = g(x) can leave some x in the integrand. Under u = sqrt(1 - a x)/sqrt(1 + a x), F^(k u)/(1 - a^2 x^2) divided by du/dx is F^(k u) times -sqrt(1 + a x)/(a sqrt(1 - a x)). That is -1/(a u), but it holds no u as written, so the candidate was refused. The integral is -Ei(k ln(F) u)/a, Rubi's 2.3. What is left in x is now tried as c u^k, for k from -2 to 2. Each power is first screened by the ratio at three points, with every other symbol pinned. A power that passes has its constant worked out symbolically, and a constant that keeps an x refuses the candidate. A linear candidate is skipped: what is left beside it is always a power of u, and the change of scale there would ask the same question again ahead of the rules that answer it. e^(1/x) is answered this way, as x e^(1/x) - Ei(1/x) under u = 1/x. The test that pinned it as declined predates Ei being a node, and now checks that the answer differentiates back. Measured on the Rubi corpus against master cd3b27b, both arms side by side: family 2 544 -> 557 of 650, family 3 175 of 180 against 174, family 0 1756 -> 1758 of 1814, and family 8 411 of 420 on both. There are 0 wrong anywhere. The 16 problems whose verdict moved, re-run alone, are 16 of 16 on the branch and 0 of 16 on master. The suite passes, 14,303 tests, and so does the allocation gate. Part of #718. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Rafael-SOWNet
deleted the
what-is-left-in-x-is-written-in-the-candidate
branch
October 29, 2026 00:44
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.
A substitution
u = g(x)can leave somexin the integrand, so the candidate was refused even when what is left is a power ofu. Takeu = sqrt(1 - a x)/sqrt(1 + a x). DividingF^(k u)/(1 - a^2 x^2)bydu/dxgivesF^(k u)times-sqrt(1 + a x)/(a sqrt(1 - a x)). That is-1/(a u), but it holds nouas written. The integral is-Ei(k ln(F) u)/a, which is Rubi's 2.3.What is left in
xis now tried asc u^k, forkfrom −2 to 2:xrefuses the candidate.A linear candidate is skipped. What is left beside it is always a power of
u, and changing the scale there would ask the same question again before the rules that answer it.e^(1/x)is now answered this way, asx e^(1/x) - Ei(1/x)underu = 1/x. The test that pinned it as declined predatesEibeing a node. It now checks that the answer differentiates back.Measured on the Rubi corpus against master
cd3b27b9, with both arms side by side:There are 0 wrong answers in any family. The 16 problems whose verdict moved, re-run alone, are 16 of 16 on this branch and 0 of 16 on master (11 unevaluated and 5 timeouts). Thirteen of them are 2.3, one is 3.2.3, and two are Apostol 260 and Hebisch 11. The suite passes, 14,303 tests, and so does the allocation gate.
The same run found a wrong answer that master already gives: #1655, which this branch leaves as it is.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura