Repository navigation
Read a power of a positive limit to a constant exponent by continuity in a limit - #2412
Merged
Rafael-SOWNet merged 1 commit intoNov 11, 2026
Merged
Conversation
… in a limit A base tending to a positive number or to +oo, to a constant real exponent that is not 0, is continuous there, so the power's limit is the base's limit to that exponent. The descent asked the whole power first, which simplifies it, and Simplify expands the power: (x + 1 + i / ln(x))^(-16) at +oo took 7.8 s and ^(-24) more than 30 s, for 0. Both now take about 0.16 s. 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 #2412 +/- ##
=======================================
Coverage 86.82% 86.82%
=======================================
Files 312 312
Lines 69472 69477 +5
Branches 20292 20293 +1
=======================================
+ Hits 60319 60324 +5
+ Misses 4924 4922 -2
- Partials 4229 4231 +2
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-power-of-a-complex-sum-in-a-limit
branch
November 11, 2026 19:37
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 whose base tends to a positive number or to +oo, to a constant real exponent that is not 0, is continuous at that point, so its limit is the base's limit raised to the exponent.
Powf's descent asked for the limit of the whole power first. That simplifies the power, andSimplifyexpands it..Limit("x", "+oo")((x + 1) - log(x, -1)) ^ (2^3 * (-1 + -1))(x + 1 + i / ln(x)) ^ (-16)(x + 1 + i / ln(x)) ^ (-20)(x + 1 + i / ln(x)) ^ (-24)The first row is a limitcheck finding: it did not finish within the harness's 5 s. No answer changes, so there is no BREAKING-CHANGES entry. A base whose limit is negative, 0 or not real still takes the old path, and so does a symbolic exponent. At 1, the same expression still does not finish, as on master: there the sum tends to a complex infinity, which is held for v3 (#1019).
APowerOfAPositiveLimitIsContinuousTestbounds the ^(-32) case at 30 s, which fails on master. It also checks a finite positive base limit ((2 + 1/x)^(-3)→ 1/8,(4 + i/ln(x))^(1/2)→ 2), with answers the same as master's.Checked on this branch:
🤖 Generated with Claude Code