Repository navigation
Two operands' conditions are joined once - #2193
Merged
Merged
Conversation
An operation on two operands that each carry a condition joined the two with a bare and, so (a provided b > 0) + (c provided b > 0) was a + c provided b > 0 and b > 0, and a second derivative of 1/sqrt(x^2 + 13) stated not x ^ 2 + 13 = 0 three times. #2186 made Providedf.Both state a conjunct once where another conjunct forces it, and Providedf's own simplification goes through it. The join of two operands now does too, in ExpandOnTwoArguments and ExpandOnTwoAndTArguments, so the condition comes out as Providedf would state it. Part of #212. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2193 +/- ##
==========================================
- Coverage 86.54% 86.54% -0.01%
==========================================
Files 297 297
Lines 66324 66324
Branches 19267 19267
==========================================
- Hits 57402 57400 -2
- Misses 4852 4855 +3
+ Partials 4070 4069 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
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.
An operation on two operands that each carry a condition joined the two conditions with a plain
and:"(a provided b > 0) + (c provided b > 0)".ToEntity().InnerSimplifieda + c provided b > 0 and b > 0a + c provided b > 0A second derivative of
1/sqrt(x^2 + 13)statednot x ^ 2 + 13 = 0three times.#2186 made
Providedf.Bothdrop a conjunct that another conjunct forces, andProvidedf's own simplification goes through it. The join of two operands now goes through it as well, inExpandOnTwoArgumentsandExpandOnTwoAndTArguments. The five new tests fail without the change. Part of #212.🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura