Repository navigation
A logarithm named as a linear is asked about where its name is zero - #1667
Merged
Merged
Conversation
`SolveByNamingALogarithmLinearInTheVariable` writes `ln(e^x)` as `x + c`, with `c` standing for `ln(e^x) - x`, and answers the generic case: `1/(x ln(e^x))` is `1/(x (x + c))`, whose answer divides by `c`. But `ln(e^v)` is `v` on the strip `|Im v| < pi`, so `c` is zero at every real `x` and the answer had no value anywhere on the real line. Where the answer has no value at `c = 0` and `c` is zero at real points, `c = 0` is asked as well, and its answer is the arm for `ln(e^x) - x = 0`: `1/(x ln(e^x))` is `-1/x` there. `ln(e^(2(a + b x))) - 2 b x`, which is `2a` on the real line, keeps the generic answer alone. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Rafael-SOWNet
added a commit
that referenced
this pull request
Oct 2, 2026
…and the spellings at risk measured again (#1671) * Breaking-changes entries for the integrals that say where they hold Two entries for answers #1663, #1667 and #1669 changed, measured on the 2.5.0 tag and on master 94ba5ff: e^atanh(a x) beside a half-integer power of a linear, and a logarithm of e^x named as a linear, both left unevaluated in 2.5.0. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura * The spellings at risk, measured again `2 | 6` is divisibility now, which is what it says, so it leaves the section; `{ x | x > 0 }` is still a one-element set, holding a divisibility rather than a disjunction; `a != b` is still `a! = b`. And a not-equal written `<>` prints as `not a = b`, not as `<>`. Measured on 94ba5ff. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Closes #1666.
SolveByNamingALogarithmLinearInTheVariablewritesln(e^x)asx + c, withcstanding forln(e^x) - x, and answers the generic case.1/(x ln(e^x))becomes1/(x (x + c)), whose answer divides byc. Butln(e^v)isvon the strip|Im v| < pi, socis zero at every realx, and the answer had no value anywhere on the real line.Now, when the answer has no value at
c = 0andcis zero at real points,c = 0is asked as well, and its answer becomes the arm forln(e^x) - x = 0:That is exact everywhere:
-1/xon the strip, and the generic answer off it, where it held already. The arm is added only when both conditions hold:atanh(tanh(a + b x)),cisln(e^(2(a + b x))) - 2 b x, which is2aon the real line, so the generic answer stands alone, as before.atanh(tanh(x))^2, the answer has a value atc = 0, so nothing changes.Tests:
ANameThatIsZeroOnTheRealLineIsAskedAboutAsZerodifferentiates1/(x ln(e^x)),cot(x)/ln(e^sin(x))and1/(x ln(e^(2x)))back at five real points. All three fail on master.ANameThatIsNotZeroOrIsHarmlessGetsNoArmpins that the two cases above stay without a piecewise.Measured on the Rubi corpus against master
bc6c190c, with both builds side by side:None of these are wrong on this branch.
Four problems moved, and I re-ran each alone on both builds:
1/(x ln(e^x))andcot(x)/ln(e^sin(x)), were wrong on master and are right here.1/atanh(tanh(a + b x)), couldn't be checked on master, because its answer had no value at any real point. It is the same defect. The integrator substitutesu = a + b xbefore this rule names anything, so the name isln(e^(2u)) - 2u, which is zero on the real line. It is right here.The suite passes, 14,309 tests on a fresh build, and so does the allocation gate.
🤖 Generated with Claude Code
https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura