Skip to content

Ask a vanishing factor times an infinity as a whole once, read as a part - #2389

Merged
Rafael-SOWNet merged 2 commits into
masterfrom
feature/over-a-constant
Nov 8, 2026
Merged

Rafael-SOWNet merged 2 commits into
masterfrom
feature/over-a-constant

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

A product tending to 0 times an infinity, read as a part of something else, is asked as a whole once. In the descent, such a product, with neither a quotient nor a sum for a factor, came back as 0 * oo, a form with no value. x^pi ln(x) at 0 from the right is 0, and its own limit says so. Read as part of x^pi ln(x) / 2 or sin(x^pi ln(x)), it was that form, and the whole was left unevaluated. x ln(x) escaped only because a polynomial rule catches it. A quotient already asks its whole limit once in the same case, and the product now does as well. It has the same gates as the regroup in #2384 and the distribution in #2387: one side only, and not while the sides of a limit are compared. Only a value is taken.

Limit 2.6.0 master branch
x^pi ln(x) / 2 at 0+ unevaluated unevaluated 0
sin(x^pi ln(x)), sin(x^(3/2) ln(x)) at 0+ unevaluated unevaluated 0
x^pi / log(x, -1) - 2 at 0+ unevaluated, 7 s unevaluated, 14 s -2, 9 s
sin(ln(x) x) at 0- unevaluated unevaluated 0

log(x, -1) is i pi / ln(x), so x^pi / log(x, -1) is x^pi ln(x) / (i pi), which tends to 0. From the left of 0, x^pi ln(x) / 2 is still left unevaluated. So is two-sided sin(x^pi ln(x)).

limitcheck A/B against master (DEPTH=3, the usual seeds): one answer gained, none lost, and no timing moved. The gained answer is sin(ln(x) x) at 0-, where x (ln|x| + i pi) tends to 0.

Each changed answer is in BREAKING-CHANGES.md, measured on 2.6.0. The full suite (19,127), the wrapper suites, AOT and the ten harnesses pass.

Found by limitcheck, from the slow decline of x^pi / log(x, -1) - 2. No issue was filed.

🤖 Generated with Claude Code

Rafael-SOWNet and others added 2 commits November 8, 2026 08:58
In the descent, a product whose factors tend to 0 and to an infinity, with
neither a quotient nor a sum for a factor, came back as 0 * oo, a form with
no value. x^pi ln(x) at 0 from the right is 0, and its own limit says so, but
read as a part of x^pi ln(x) / 2 or sin(x^pi ln(x)) it was that form, and the
whole was left unevaluated. Its whole limit is now asked once, as a
quotient's already is, under the same gates as the regroup and the
distribution: one side only, and not while the sides are being compared.
Only a value is taken. x^pi / log(x, -1) - 2 at 0 from the right is -2,
where it was left unevaluated after 14 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Rafael-SOWNet Rafael-SOWNet added this to the 2.7.0 milestone Nov 8, 2026
@codecov

codecov Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 86.78%. Comparing base (1c543f1) to head (8393872).

Files with missing lines Patch % Lines
...nctions/Continuous/Limits/Solvers/Limit.Classes.cs 88.88% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2389      +/-   ##
==========================================
- Coverage   86.79%   86.78%   -0.02%     
==========================================
  Files         312      312              
  Lines       69205    69213       +8     
  Branches    20179    20181       +2     
==========================================
- Hits        60069    60065       -4     
- Misses       4921     4932      +11     
- Partials     4215     4216       +1     
Flag Coverage Δ
cpp 37.77% <ø> (ø)
csharp 87.32% <88.88%> (-0.02%) ⬇️
fsharp 32.97% <ø> (ø)
interactive 40.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...nctions/Continuous/Limits/Solvers/Limit.Classes.cs 75.98% <88.88%> (+0.21%) ⬆️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Rafael-SOWNet
Rafael-SOWNet merged commit 88f5f3c into master Nov 8, 2026
35 checks passed
@Rafael-SOWNet
Rafael-SOWNet deleted the feature/over-a-constant branch November 8, 2026 10:53
@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant