Repository navigation
Ask the descent's own question once - #2383
Merged
Merged
Conversation
The descent of a quotient asks the quotient's whole limit when its parts read as 0/0 or oo/oo. At the root of the descent that is the question being asked: the path that began the descent asks the indeterminate power, l'Hopital's rule and, at an infinity, the rewrites and Gruntz, the moment the descent has nothing to say. Asked from inside the descent as well, it descended again and repeated every step of it, including simplifying the expression moved out to infinity. (1 - tanh(x)^2) * x * (1 + x^2) / tanh(x) at 0 from the right simplified it twice, nine seconds each, before l'Hopital's rule answered 1. 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 #2383 +/- ##
==========================================
- Coverage 86.77% 86.76% -0.02%
==========================================
Files 312 312
Lines 69107 69110 +3
Branches 20155 20156 +1
==========================================
- Hits 59971 59963 -8
- Misses 4920 4930 +10
- Partials 4216 4217 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
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.
The descent of a quotient asks for the quotient's whole limit when its parts read 0/0 or oo/oo. At the root of the descent, that is the question already being asked. The path that started the descent goes on to the indeterminate power, l'Hopital's rule and, at an infinity, the rewrites and Gruntz as soon as the descent has nothing to say. Asked from inside the descent as well, the whole limit descended again and repeated every step, including simplifying the expression moved out to infinity.
(1 - tanh(x)^2) * x * (1 + x^2) / tanh(x)at 0 from the right ran that simplification twice, nine seconds each time, before l'Hopital's rule answered 1 in 10 ms.The descent no longer asks for the whole limit of its own root. Quotients below the root still ask for theirs.
(1 - tanh(x)^2) * x * (1 + x^2) / tanh(x)(1 - tanh(x)^2) * x / tanh(x)No answer changes. The new test row passes on master as well; it pins the answer of the case #2377's comment names, which was not tested. What remains of the time is
Simplifyon that product, which takes 8 s outside a limit as well. With a symbol in place ofe^(2x)it takes 23 ms. That is a separate defect.Measured
DEPTH=3, across 42 seeds against master: no answer differs. Three rows that ran past the 5 s cap on master now finish within it, with the same answer master gives when allowed to finish (probed alone on both builds):log(2 ln(1/2), log(arcsin(x), x))at 0 from each side stays unevaluated, 7.1 s and 6.3 s down to 5.2 s and 4.1 s.(x^2 / sinh(x))^xat 0 two-sided stays NaN, 7.7 s down to 4.9 s. This is the conventionx^xfollows there.Found while tracing a limitcheck row; no issue was filed.
🤖 Generated with Claude Code