Repository navigation
Leave a limit on the arctangent's cut unevaluated - #2334
Merged
Rafael-SOWNet merged 1 commit intoNov 2, 2026
Merged
Rafael-SOWNet merged 1 commit into
Rafael-SOWNet merged 1 commit into
Conversation
The arctangent's cut is the imaginary axis past i and -i, and its principal value there is the limit from one side only. A limit whose arctan argument arrived on the cut was read off that value without asking which side the argument came from: log(2, x) comes to i pi / ln(2) from the left half-plane as x comes up to -1, so arctan(log(2, x)) tends to -pi/2 + 0.224i there, and the answer was pi/2 + 0.224i. arctan(2i + x) at 0- was arctan(2i), pi/2 + 0.549i, where the values tend to -pi/2. Such a limit is now declined, as one on the logarithm's cut is (#2266), from the side where the principal value is right as well. limitcheck at seeds 1 and 7: the findings and counts are master's. At seed 11 the arctan row is gone, and 8 more limits are declined. 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 #2334 +/- ##
==========================================
- Coverage 86.75% 86.75% -0.01%
==========================================
Files 312 312
Lines 68447 68454 +7
Branches 19909 19910 +1
==========================================
+ Hits 59379 59384 +5
- Misses 4908 4913 +5
+ Partials 4160 4157 -3
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
an-arctangent-arriving-on-its-cut-is-not-read-off-its-principal-value
branch
November 2, 2026 17: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.
Found by limitcheck at seed 11. No issue was filed.
The arctangent's cut is the imaginary axis past
iand-i, and its principal value there is the limit from one side only. A limit whosearctanargument arrived on the cut was read off that value without asking which side the argument came from.arctan(log(2, x))at -1+-pi/2 + 0.224ipi/2 + 0.224iarctan(2i + x)at 0--pi/2 + 0.549ipi/2 + 0.549iSuch a limit is now declined, as one on the logarithm's cut is (#2266). That includes a limit from the side where the principal value is right: telling the sides apart needs the sign of the argument's real part along the approach, which this check doesn't have.
limitcheck:
Tests: both cut cases in
LimitOnAnArctangentsCutTestfail on master, and a control off the cut passes. There is a BREAKING entry, A limit on an arctangent's cut is not read off the principal value.🤖 Generated with Claude Code