Skip to content

Leave a power of x past the second beside a high power of a binomial in x^2 to the binomial rules - #2041

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
leave-a-power-of-x-beside-a-binomial-in-x-squared-to-the-binomial-rules
Oct 22, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
leave-a-power-of-x-beside-a-binomial-in-x-squared-to-the-binomial-rules

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Part of #233.

  • A power of x past the second beside a high power of a binomial in x², left to the binomial rules. SolveARationalFunctionOverAPowerOfASymbolicQuadratic already declined an odd integrand beside a power of x and a binomial in x^2 to the sixth power or past it, leaving it to the substitution in x^2. An even one is the binomial rules' x^m (a + b x^2)^p, but it was peeled here instead. Rubi's 1.1.2.2 1/(x^4 (a + b x^2)^10) had the power of x taken off four times, over ten levels of the recurrence each. It came back in 75,607 characters with its like terms never gathered, and was judged partial. Past the second power of x the rule now declines, and the binomial rules write 8,559 characters.
Integrand master 78cd31b this branch
1/(x^4 (a + b x^2)^10) 75,607 characters, 4.8 s, 0.58 GB 8,559 characters, 2.9 s, 0.55 GB
1/(x^6 (a + b x^2)^8) 33,638 characters, 1.2 s, 0.37 GB 6,063 characters, 0.5 s, 0.30 GB
1/(x^2 (a + b x^2)^10) 15,658 characters unchanged
  • Beside x² it is a trade, and it is left as it was. There the binomial rules are shorter but cost four times as much: 8,322 characters and 0.49 GB, against 15,658 and 0.10 GB. The first version of this branch declined there too, and the chain's allocation check flagged it.

Chain against master 78cd31b, before the narrowing to past x²:

  • The pocket of 7,790 rows (every 1.1.2.* and 1.2.1.* file) went from 7,788 to 7,789 solved, with 0 wrong.
  • Every family's sample is unchanged.
  • The one row that moved, 1.1.2.2:236, went from partial to solved.
  • 13,328 rows were compared for allocation. One grew past 1.3x and 300 MB: 1.1.2.2:235, the x² trade above, which the narrowing returns to master's answer.

The full unit suite passes locally on the narrowed version: 16,551 passed, 0 failed. The BREAKING-CHANGES lengths were measured on the branch. Rebased onto 37e2b1a.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

…in x^2 to the binomial rules

SolveARationalFunctionOverAPowerOfASymbolicQuadratic already declined an odd
integrand beside a power of x and a binomial in x^2 to the sixth power or
past it, leaving it to the substitution in x^2. An even one is the binomial
rules' x^m (a + b x^2)^p, and here it was peeled: Rubi's 1.1.2.2
1/(x^4 (a + b x^2)^10) took the power of x off four times, over ten levels of
the recurrence each, and came back in 75,607 characters with its like terms
never gathered. Past the second power of x it now declines, and the binomial
rules write 8,559; 1/(x^6 (a + b x^2)^8) goes from 33,638 to 6,063. Beside x^2
the binomial rules are shorter at four times the cost, 1/(x^2 (a + b x^2)^10)
in 8,322 characters and 0.49 GB against 15,658 and 0.10, and that is left as it
was.

Chain against master 78cd31b, before the narrowing to past x^2: pocket of
7,790 rows 7,788 -> 7,789 solved, 0 wrong; every family's sample unchanged;
the one move, 1.1.2.2:236, partial -> solved; of 13,328 rows compared for
allocation one grew past 1.3x and 300 MB, 1.1.2.2:235, the x^2 trade above,
which the narrowing returns to master's answer.

Part of #233.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet Rafael-SOWNet added this to the 2.6.0 milestone Oct 22, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit 94c9ab9 into master Oct 22, 2026
34 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant