Repository navigation
Count the powers of a logarithm in l'Hôpital's quotient at a point - #2407
Merged
Rafael-SOWNet merged 1 commit intoNov 10, 2026
Merged
Conversation
At a finite point the rule reads the quotient it gets by each factor's order, and a logarithm stopped the reading. (x - sin(x)) * ln(x) / x^3 at 0 from the right steps to ((1 - cos(x)) * ln(x) + (x - sin(x)) / x) / (3x^2), which is ln(x) / 6 to leading order and tends to -oo, and was left unevaluated. From the right, the powers of ln of the distance to the point are now counted beside the powers of the distance: alone above they are a pole, below they vanish, and of two terms of one order the one with more of them leads. A logarithm of c * d^k, c > 0 and k not 0, is k * ln(d) to leading order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2407 +/- ##
==========================================
+ Coverage 86.80% 86.81% +0.01%
==========================================
Files 312 312
Lines 69387 69407 +20
Branches 20254 20261 +7
==========================================
+ Hits 60231 60256 +25
+ Misses 4928 4924 -4
+ Partials 4228 4227 -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/limit-of-a-log-over-a-vanishing-quotient
branch
November 10, 2026 14:28
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.
At a finite point, l'Hôpital's rule reads the quotient it gets factor by factor, by order (#2406). A logarithm stopped that reading, because a log has no power order.
(x - sin(x)) * ln(x) / x^3at 0 from the right steps to((1 - cos(x)) * ln(x) + (x - sin(x)) / x) / (3x^2). To leading order that isln(x) / 6, which tends to −oo, but the limit was left unevaluated.From the right, the reading now counts the powers of
lnof the distance to the point alongside the powers of the distance:c * d^k, with c > 0 and k ≠ 0, isk * ln(d)to leading order.(x - sin(x)) * ln(x) / x^3(e^x - 1 - x) * ln(cos(x) * sqrt(x)) / x^2(e^x - 1 - x) * ln(x^2 * cos(x)) / x^2(x - sin(x)) * ln(x) / x^2cos(tanh(x))^log(x + 1, tanh(x))ln(x)^erf(x) - log(sqrt(1/2), 4)The last two rows come from limitcheck, which compares this branch against master over all of its seeds. It finds no new disagreements and only these two newly answered rows. No answer changes against 2.6.0, so there is no breaking-changes entry.
Every test suite, the AOT build and all ten harnesses pass. The new test is
ALogarithmIsReadByItsOrderTest.🤖 Generated with Claude Code