Repository navigation
Ask the parts of a one-sided limit's sum for their limits from its side - #2401
Merged
Rafael-SOWNet merged 1 commit intoNov 9, 2026
Merged
Conversation
The trivial transformations a limit makes before its descent replace a sum, a difference or a product by the limits of its parts where both are finite. They asked each part from both sides, also for a one-sided limit. x^pi / log(x, 2) - 2 at 0 from the right took its quotient through l'Hopital's rule from the left as well, where x^pi is not real, and on to +oo by the substitution that side asks for: 10 s, where the quotient alone takes 0.2 s. Each part is now asked from the side the limit is. Finite one-sided limits of the parts are the one-sided limit of their sum, difference or product, so the rewrite says nothing it could not say before; the two-sided case is as it was. The limit takes 0.19 s from the right and 0.85 s from the left, with the same answers. A part with a finite limit from the side approached and none from the other no longer keeps the whole unevaluated: x^x at 0 from the left goes to 1, so log(x, 1) - x^x + 1 is 0 there, where 2.6.0 and master leave it unevaluated. The limitcheck A/B against master answers eight such rows and loses none. 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 #2401 +/- ##
=======================================
Coverage 86.81% 86.81%
=======================================
Files 312 312
Lines 69332 69332
Branches 20232 20232
=======================================
+ Hits 60190 60191 +1
+ Misses 4917 4916 -1
Partials 4225 4225
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/limit-of-a-sum-with-a-logarithm-base
branch
November 9, 2026 17:55
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.
Before searching, a limit replaces a sum, difference or product whose parts have finite limits by those limits (
ApplyTrivialTransformations). For a one-sided limit it asked each part for its two-sided limit. Two effects:x^pi / log(x, 2) - 2at 0 from the right took its quotient through l'Hôpital's rule from the left as well, wherex^piis not real, and on to+oo: 10.4 s, against 0.19 s for the quotient alone.x ^ xat 0 from the left, kept the whole limit unevaluated.Each part is now asked from the side the limit is. Finite one-sided limits of the parts are the one-sided limit of their sum, difference or product, so nothing new is claimed; the two-sided case is unchanged.
x^pi / log(x, 2) - 2, right-2-2, 10.4 s-2, 0.19 sx^pi / log(x, 2) - 2, left-2, 10.5 s-2, 0.85 slog(x, 1) - x^x + 1, left0-tan(x)^abs(x), left-1(pi/x)^erf(x) * e^log(x, x), leftesqrt(x) + abs(x)/x, right / left1/-11/-1Measured:
→ 1since|ln x| · x → 0), no losses, no new timeouts.Still slow: the two-sided
x^pi / log(x, 2) - 2takes 10 s by another path; separate PR.🤖 Generated with Claude Code