Repository navigation
Give a vanishing base to a negative whole power its infinity - #2380
Merged
Rafael-SOWNet merged 1 commit intoNov 7, 2026
Merged
Conversation
sin(x)^(-2) at 0 was left unevaluated from each side and was NaN two-sided, where 1/sin(x)^2 was +oo. The power's own rule for a vanishing base took only one that is never negative by its form. A base tending to 0 that is real near the point and keeps a sign there is not 0 near it, so to a negative whole power it is 1 over a power tending to 0 from that sign's side: +oo for an even power, +oo or -oo by the sign for an odd one, and two-sided only where both sides agree. The exponent has to be that whole number near the point, not only tend to it, so it is read through Simplify, which is asked only once its limit already is one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2380 +/- ##
==========================================
- Coverage 86.78% 86.76% -0.02%
==========================================
Files 312 312
Lines 69053 69072 +19
Branches 20141 20149 +8
==========================================
+ Hits 59925 59929 +4
- Misses 4917 4928 +11
- Partials 4211 4215 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Rafael-SOWNet
deleted the
feature/a-vanishing-base-to-a-negative-whole-power
branch
November 7, 2026 08:22
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.
sin(x)^(-2)at 0 was left unevaluated from each side and was NaN two-sided, where the limit is +oo and1/sin(x)^2already answered +oo. The power's rule for a vanishing base took only one that is never negative by its form, asabs(x)orx^2is.A base tending to 0 that is real near the point and keeps a sign there is not 0 near it, so to a negative whole power it is 1 over a power tending to 0 from that sign's side:
sin(x)^(-1)stays NaN.sin(x)^(x - 2)is left alone.x - 1 - (x + 1)is -2 only onceSimplifyhas cancelled x, andSimplifyis asked only once the exponent's limit is already a negative whole number.x^x - 1on the left of 0 is complex and is not read.sin(x)^(-2), two-sidedNaNNaN+oosin(x)^(-2), from the rightNaN+oo(arcsin(x)^(-2))^2, two-sidedNaNNaN+ootan(x/2)^((x - 1) - (x + 1)), two-sidedNaNNaN+oosin(x)^(-1), from the leftNaN-ooMeasured
DEPTH=3, across 41 seeds against master: five more limits answered atSEED=19, 77 and 80, each agreeing with the values.(tan(x)^(-1))^(-x)at 0, two-sided, was NaN and is now unevaluated. Its innertan(x)^(-1)is now -oo from the left and +oo from the right, where master left both unevaluated. The outer power then meets an infinity to the power 0 on each side, an indeterminate form, and declines, so it no longer reaches the route that answered NaN. The left side takes the complex branch, which makes this a case of Read a limit's value at a continuous point before simplifying #2365's open question. Unevaluated claims nothing either way.Found by limitcheck at
SEED=80; no issue was filed.🤖 Generated with Claude Code