Repository navigation
Commit 492afc2
A logarithm of x is matched to a logarithm of a multiple of x below the bar (#1644)
By parts on li(b x)/x takes the antiderivative of 1/x, and with ln(x) the remainder was
b ln(x)/ln(b x), which nothing read. ln(b x) is as much an antiderivative of 1/x, and taken so, the
logarithm the derivative of li(b x) divides by cancels: li(b x)/x is li(b x) ln(b x) - b x, which is
Rubi's answer. The constant of integration is matched to a logarithm of a multiple of x below the
bar now, as it is matched to a polynomial divisor.
Measured on the Rubi corpus, master at 16203aa and this change on it, run side by side: family 8
380 -> 381 of 420 (li(b x)/x); family 3 at twenty a file 172 and 173 of 180, family 0 1756 of 1814,
and families 1, 2 and 4 to 7 at five a file 771 and 770 of 867. 0 wrong everywhere. Run alone, the
three that moved are li(b x)/x, answered here and not on master, and 3.2.3 #30 and 6.7.1 #180,
answered on both in 19 to 24 s: their side-by-side difference was load.
The unit tests pass, 14,262, and the performance gate passes on c6f7a34c, which is this change on
16203aa: allocation is what the baseline says on all 19 gated benchmarks.
SpecialFunctionsByPartsTest checks li(b x)/x at positive points, where li(b x) is real.
Part of #1501.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 9efc486 commit 492afc2
3 files changed
Lines changed: 59 additions & 1 deletion
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2353 | 2353 | | |
2354 | 2354 | | |
2355 | 2355 | | |
| 2356 | + | |
| 2357 | + | |
| 2358 | + | |
| 2359 | + | |
| 2360 | + | |
| 2361 | + | |
| 2362 | + | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
2356 | 2369 | | |
2357 | 2370 | | |
2358 | 2371 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1679 | 1679 | | |
1680 | 1680 | | |
1681 | 1681 | | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
1682 | 1694 | | |
1683 | 1695 | | |
1684 | 1696 | | |
| |||
20367 | 20379 | | |
20368 | 20380 | | |
20369 | 20381 | | |
| 20382 | + | |
| 20383 | + | |
| 20384 | + | |
| 20385 | + | |
| 20386 | + | |
| 20387 | + | |
| 20388 | + | |
| 20389 | + | |
| 20390 | + | |
| 20391 | + | |
| 20392 | + | |
| 20393 | + | |
| 20394 | + | |
| 20395 | + | |
| 20396 | + | |
| 20397 | + | |
| 20398 | + | |
| 20399 | + | |
| 20400 | + | |
20370 | 20401 | | |
20371 | 20402 | | |
20372 | 20403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
39 | | - | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
76 | 90 | | |
77 | 91 | | |
78 | 92 | | |
| |||
0 commit comments