Skip to content

Read a power with x in its base and its exponent as an exponential for the Risch-Norman ansatz - #2044

Closed
Rafael-SOWNet wants to merge 1 commit into
masterfrom
read-a-power-with-the-variable-in-its-exponent-as-an-exponential-for-the-ansatz
Closed

Rafael-SOWNet wants to merge 1 commit into
masterfrom
read-a-power-with-the-variable-in-its-exponent-as-an-exponential-for-the-ansatz

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Part of #233.

  • A power with x in its base and its exponent, read as an exponential by the Risch-Norman ansatz. Rubi's 2.3 x^(-2 - 1/x) (1 - ln(x)) is (-x^(-1/x))', and was declined. Spelled e^(-ln(x)/x) (1 - ln(x))/x^2, the ansatz answers it at once. Its monomials are exponentials and logarithms, and a power with x in both base and exponent is neither as written.
  • How it reads it. B^E is e^(E ln(B)) on the principal branch, which is what the power means, and the ansatz now reads it so. The part of the exponent free of x stays a power of B: e^((-2 - 1/x) ln(x)) is a monomial with no polynomial in x beside it, while x^(-2) e^(-ln(x)/x) is a rational function of x times one.
  • The answer. It is written back as a power, with the factors on both sides of the bar cancelled: -x^(-1/x), Rubi's own, where the ansatz alone gave -x e^(-ln(x)/x)/x.

Chain against master 78cd31b:

  • The pocket of every family-2 and family-3 row, 2,032 of them, went from 2,020 to 2,021 solved, with 0 wrong.
  • Every family's sample is unchanged.
  • The one row that moved, 2.3:807, went from declined to solved.
  • 7,560 rows were compared for allocation, and none grew past 1.3x and 300 MB.

The full unit suite passes locally: 16,551 passed, 0 failed. The BREAKING-CHANGES lengths were measured on the branch. Rebased onto 49bf5d1.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

…r the Risch-Norman ansatz

Rubi's 2.3 x^(-2 - 1/x) (1 - ln(x)) is (-x^(-1/x))', and was declined, where
e^(-ln(x)/x) (1 - ln(x))/x^2 is answered by the Risch-Norman ansatz at once:
the ansatz's monomials are exponentials and logarithms, and a power with x
in its base and its exponent is neither as written. B^E is e^(E ln(B)) on
the principal branch, which is what the power means. The ansatz now reads
it so, keeping the part of the exponent free of x as a power of B, since
e^((-2 - 1/x) ln(x)) is a monomial with no polynomial in x beside it, and
x^(-2) e^(-ln(x)/x) is a rational function of x times one. The answer is
written back as a power, with the factors written on both sides of the bar
cancelled: -x^(-1/x), Rubi's.

Part of #233.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet

Copy link
Copy Markdown
Member Author

Closing as redundant: #2034, merged since this branch was cut from 78cd31b, already answers both rows on master 49bf5d1 with the same answers (x^(-2 - 1/x) (1 - ln(x)) in 17 characters, x^(-1/x) (1 - ln(x))/x^2 in 19), measured on a build of each. The branch stays on the remote.

🤖 Generated with Claude Code

@github-project-automation github-project-automation Bot moved this from Todo to Done in AngouriMath Oct 22, 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