Repository navigation
Keep an antiderivative as found where its inner simplification would multiply it - #2056
Merged
Rafael-SOWNet merged 1 commit intoOct 22, 2026
Conversation
…multiply it Integrate inner-simplifies the antiderivative before returning it, which drops a branch whose guard is decidably false (#772). It also combines a sum of piecewises case by case, and where their conditions differ as written the arms multiply: Rubi's 1.1.2.2 x^19/(a + b x^2)^10 was answered in 11,811 characters and returned in 5,051,391, ten piecewises of four arms each, which the corpus spent seventeen seconds of its budget differentiating back. Where the simplification makes an answer more than four times larger, by node count, the answer is returned as it was found. Part of #233. 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 #233.
Integrateinner-simplifies the antiderivative before returning it, which drops a branch whose guard is decidably false (Integrate emits unreduced piecewise branches that divide by a literal 0 #772). It also combines a sum of piecewises case by case, and where their conditions differ as written, the arms multiply.x^19/(a + b x^2)^10was answered in 11,811 characters and returned in 5,051,391, ten piecewises of four arms each. The corpus then spent most of its time differentiating that back. At 24.9 s the row sat at the edge of the corpus's hard cutoff.x^19/(a + b x^2)^10x^7/(a + b x^2)^4Chain over the whole corpus, against master ef4150e (the branch on de11aaf):
The library builds for netstandard2.0, net8.0 and net10.0. The suite is left to CI. The BREAKING-CHANGES lengths were measured on the branch, and the 2.5.0 column on a v2.5.0 build. Rebased onto 1566841.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura