Repository navigation
Read a derivatives' quotient that grew but has a value at the point - #2366
Merged
Merged
Conversation
l'Hopital's rule bounds how much its derivatives' quotient may grow, which is a bound on differentiating again, and the product rule doubles cos(x) * sinh(x). The quotient it turned away, cos(x)(e^x + e^(-x)) - sin(x)(e^x - e^(-x)) over 2, is 1 at 0 and needed no more differentiating: cos(x) * sinh(x) / sin(x) from the right at 0 was left unevaluated, and so was ln(sin(x)) / ln(sinh(x)), which 2.6.0 answered NaN. log(sinh(x), sin(x)) * cos(x - 2) took 30 s to decline, and (sinh(x)(x + 2))^arcsin(2x) 5.7 s to answer 1. A quotient past the bound is now taken where it has a finite real value at a finite destination and holds no step function, which is its limit there. limitcheck, DEPTH=3, seeds 14, 16, 19, 23, 26, 28, 29, 31, 33 against master 984671d: compared 46666 -> 46672, "did not finish in 5 s" 5 -> 1, 595 s -> 550 s, the wrong values and the NaNs unchanged. Found at SEED=31 and SEED=33; no issue was filed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2366 +/- ##
=======================================
Coverage 86.78% 86.78%
=======================================
Files 312 312
Lines 68861 68867 +6
Branches 20066 20069 +3
=======================================
+ Hits 59761 59767 +6
+ Misses 4911 4910 -1
- Partials 4189 4190 +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.
ln(sin(x)) / ln(sinh(x))from the right at 0 is 1. Master left it unevaluated, and 2.6.0 answeredNaN, the claim that it does not exist.l'Hôpital's rule bounds how much its derivatives' quotient may grow. That is a bound on differentiating again, and the product rule doubles
cos(x) * sinh(x). The quotient the rule turned away,cos(x)(e^x + e^(-x)) - sin(x)(e^x - e^(-x))over 2, is 1 at 0 and needed no more differentiating. Socos(x) * sinh(x) / sin(x)at 0⁺ was left unevaluated, along with everything built on it.log(sinh(x), sin(x)) * cos(x - 2)took 30 s to decline, and(sinh(x)(x + 2))^arcsin(2x)took 5.7 s to answer 1.A quotient past the bound is now taken where it has a finite real value at a finite destination and holds no step function. That value is its limit there.
limitcheck, DEPTH=3, seeds 14, 16, 19, 23, 26, 28, 29, 31 and 33, against master 984671d:
Every changed answer is recorded in BREAKING-CHANGES.md. Suite, AOT and the harnesses are green locally.
Found by limitcheck at
SEED=31andSEED=33; no issue was filed.🤖 Generated with Claude Code