Repository navigation
An inequality has no solution where it has no value - #2321
Merged
Rafael-SOWNet merged 2 commits intoNov 1, 2026
Merged
Conversation
The inequality solver reads a quotient after a factor its numerator and denominator share has cancelled, so its answer had the points where that factor is zero, at which the quotient is 0/0 and has no value: (4x - x^3)/x > 0 was (-2; 2), with 0 in it, and x/x > 0 was RR. A pole that does not cancel was outside the answer already, a quotient being solved as the product of its numerator and denominator. The real zeros of every denominator in the expression as written are now taken out of the answer, for each of the four inequalities. Where a denominator's zeros are not found as finitely many numbers the answer is left as it was. Found by a cross-check of rational inequalities against their exact values at rational points, on which this leaves no point in an answer where the inequality fails. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2321 +/- ##
=======================================
Coverage 86.75% 86.76%
=======================================
Files 312 312
Lines 68338 68354 +16
Branches 19870 19876 +6
=======================================
+ Hits 59289 59304 +15
- Misses 4891 4892 +1
Partials 4158 4158
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Rafael-SOWNet
deleted the
an-inequality-has-no-solution-where-it-has-no-value
branch
November 1, 2026 21:01
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.
The inequality solver reads a quotient after a factor shared by its numerator and denominator has cancelled. So its answer included the points where that factor is zero, at which the quotient is
0/0and has no value. A pole that doesn't cancel was already outside the answer, since a quotient is solved as the product of its numerator and denominator.The real zeros of every denominator in the expression as written are now taken out of the answer, for all four inequalities. Where a denominator's zeros can't be found as finitely many numbers, the answer is left as it was.
Solve("x")(4x - x^3)/x > 0(-2; 2)(-2; 2) \ { 0 }x/x > 0RRRR \ { 0 }(-x + 2x^2 - x^3)/x <= 0(-oo; +oo)(-oo; +oo) \ { 0 }BREAKING-CHANGES.mdhas an entry.No issue was filed.
🤖 Generated with Claude Code