Skip to content

Split a biquadratic with surds in it by its roots in the square - #1903

Merged
Rafael-SOWNet merged 3 commits into
masterfrom
a-biquadratic-with-surds-is-split-by-its-roots-in-the-square
Oct 16, 2026
Merged

Rafael-SOWNet merged 3 commits into
masterfrom
a-biquadratic-with-surds-is-split-by-its-roots-in-the-square

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Part of #718.

SolveAnEvenPolynomialOverASymbolicBiquadratic splits an even polynomial over a + b x^2 + c x^4 by the two roots in x^2. It declined unless the denominator held a symbol, leaving numbers to the partial fractions. Those factor over the rationals, so (sqrt(2) - x^2)/(1 - sqrt(2) x^2 + x^4) was declined by both. The guard now also passes a denominator with a coefficient that is not rational. Rational biquadratics still go to the partial fractions as before.

Checks

  • Exact checks at 50–2000 digits on seven integrands with complex roots in x^2 and three with real ones: 150/150.
  • ABiquadraticWithSurdsIntegralTest: 6 cases; the existing biquadratic tests pass alongside, 49 in all.

Corpus, measured against master 55a8044 (this branch then merged bab8c75):

master this branch
pocket (7,779 rows) 7,736 7,738
families 0–8 unchanged unchanged
rows moved +2: 1.2.2.3:139, 140

A third move, 3.2.3:30, is solved on both arms re-run alone. One row read as slow, 3.2.3:42 (1.6 s → 6.8 s). Re-timed alone twice per arm while another chain ran, master took 6.0 and 7.0 s and this branch 6.5 and 9.3 s. It sits near the budget on both, and this change does not reach a logarithm. Gate passed; suite 15,419 passed, 0 failed.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

Rafael-SOWNet and others added 3 commits October 16, 2026 06:06
The rule for an even polynomial over a + b x^2 + c x^4 took symbolic coefficients only, and left
numbers to the partial fractions, which factor over the rationals: Rubi's 1.2.2.3
(sqrt(2) - x^2)/(1 - sqrt(2) x^2 + x^4) and (sqrt(2) + x^2)/(1 + sqrt(2) x^2 + x^4) were declined.

Part of #718

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
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 16, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit c92dbe0 into master Oct 16, 2026
34 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Oct 16, 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