Repository navigation
Answer a negative whole power of a base growing without bound as 0 in a limit - #2413
Merged
Rafael-SOWNet merged 1 commit intoNov 11, 2026
Conversation
… a limit A power to a constant negative whole exponent whose base's reciprocal tends to 0 tends to 0, whatever direction the base grows in. The reciprocal is asked whole, under AsTheWholeLimit's guards, since the descent through the base's parts reads ((x + 1) - log(x, -1)) at 1 as 2 - ln(-1) / 0 and settles nothing. Before, the whole power was simplified and Simplify expanded it: ((x + 1) - log(x, -1))^(-16) at 1 did not finish in 30 s from any side, and is now 0 in under half a second. A whole exponent only: a base tending to -oo to an exponent that is not whole lies along the logarithm's cut, and is still declined, as APowerIsReadByItsOrderTest pins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2413 +/- ##
==========================================
- Coverage 86.81% 86.80% -0.02%
==========================================
Files 312 312
Lines 69477 69480 +3
Branches 20293 20295 +2
==========================================
- Hits 60316 60311 -5
- Misses 4929 4938 +9
+ Partials 4232 4231 -1
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-negative-power-of-a-growing-base-in-a-limit
branch
November 11, 2026 21:40
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.
A power to a constant negative whole exponent tends to 0 when the reciprocal of its base tends to 0. It does whatever direction the base grows in, real or complex.
Powf's descent now asks for that reciprocal's limit whole, throughAsTheWholeLimitand its guards against asking again inside it. The descent through the base's parts reads(x + 1) - log(x, -1)at 1 as2 - ln(-1) / 0and settles nothing. Before, the whole power was simplified, andSimplifyexpanded it."((x + 1) - log(x, -1)) ^ (-16)".ToEntity().Limit("x", 1, side)0, 0.39 s0, 0.38 s0, 0.48 slog(x, -1)isi pi / ln(x), so the base tends to a complex infinity at 1, and the values limitcheck samples settle at about 1e-136. This was the last "did not finish" family in limitcheck's 42 seeds, apart fromtanh(log(x, -1) - tan(x))at 1.A whole exponent only. A base tending to -oo raised to an exponent that is not whole lies along the logarithm's cut, and
APowerIsReadByItsOrderTest.APowerOfANegativeBaseIsDeclinedpins those as unevaluated. They stay unevaluated.Neighbouring cases were probed against master and none changed:
x^(-3)and(x + i)^(-2)at 0;(1/x + i)^(-2),ln(x)^(-1/2)and(i/ln(x))^(-1/2)at 0 or 1;(x - 1)^(-2)at 1, andtan(x)^(-2)at pi/2;(sin(x) + i)^(-1)and(x sin(x))^(-2)at +oo, both unevaluated: the second has no limit, and the new test checks that it stays unevaluated.Checked on this branch:
🤖 Generated with Claude Code