Repository navigation
Commit 71eeb20
A hyperbolic function of a logarithm is integrated, the exponent folded structurally (#1470)
`tanh(ln(x))` was left as written. The library spells `tanh(y)` with
`e^(2y)`, so a hyperbolic function of a logarithm is an exponential whose
exponent is a sum holding one logarithm -- `e^(a + b ln(q))` -- and
SolveByFoldingAnExponentialOfALogarithm read only a product, `e^(k ln q)`.
It reads the exponent structurally now: `e^(u + v)` is `e^u e^v`,
`e^(u - v)` is `e^u/e^v`, `e^(k u)` and `e^(u/d)` are powers of `e^u` for
an x-free k and d, and `e^(ln q)` is `q`. So `a + b ln(c x^n)` folds to
`e^a (c x^n)^b`, and its negation -- which the same function writes below
the bar -- to the reciprocal of that.
Two conditions, both measured. Composed exponents are flattened as they
fold: `n (ln(q)/2)` is `q^(n/2)` and not `(sqrt(q))^n`, whose nesting made
`e^(n acoth(a x))/(c - a^2 c x^2)^4` a search of fifty seconds where the
flat form is declined in three. And one logarithm in the exponent: a
difference of two -- how the inverse hyperbolic cotangent of a reciprocal
arrives -- folds to a power of a quotient of quotients that nothing below
reads.
Family 6 of the Rubi suite: 375 -> 377 of 417, 0 wrong; family 7 215/270
and the 1774-problem suite 1707 unchanged. Suite 12632 passed; allocation
gate passed on all 19 gated benchmarks.
Part of #718.
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 48d447c commit 71eeb20
3 files changed
Lines changed: 103 additions & 16 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1109 | 1109 | | |
1110 | 1110 | | |
1111 | 1111 | | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
1112 | 1134 | | |
1113 | 1135 | | |
1114 | 1136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9877 | 9877 | | |
9878 | 9878 | | |
9879 | 9879 | | |
9880 | | - | |
9881 | | - | |
9882 | | - | |
9883 | | - | |
9884 | | - | |
9885 | | - | |
9886 | | - | |
9887 | | - | |
9888 | | - | |
9889 | | - | |
9890 | | - | |
9891 | | - | |
9892 | | - | |
9893 | | - | |
| 9880 | + | |
| 9881 | + | |
| 9882 | + | |
| 9883 | + | |
| 9884 | + | |
| 9885 | + | |
| 9886 | + | |
| 9887 | + | |
| 9888 | + | |
9894 | 9889 | | |
9895 | | - | |
9896 | | - | |
| 9890 | + | |
| 9891 | + | |
9897 | 9892 | | |
9898 | 9893 | | |
9899 | 9894 | | |
9900 | 9895 | | |
| 9896 | + | |
| 9897 | + | |
| 9898 | + | |
| 9899 | + | |
| 9900 | + | |
| 9901 | + | |
| 9902 | + | |
| 9903 | + | |
| 9904 | + | |
| 9905 | + | |
| 9906 | + | |
| 9907 | + | |
| 9908 | + | |
| 9909 | + | |
| 9910 | + | |
| 9911 | + | |
| 9912 | + | |
| 9913 | + | |
| 9914 | + | |
| 9915 | + | |
| 9916 | + | |
| 9917 | + | |
| 9918 | + | |
| 9919 | + | |
| 9920 | + | |
| 9921 | + | |
| 9922 | + | |
| 9923 | + | |
| 9924 | + | |
| 9925 | + | |
| 9926 | + | |
| 9927 | + | |
| 9928 | + | |
| 9929 | + | |
| 9930 | + | |
| 9931 | + | |
| 9932 | + | |
| 9933 | + | |
| 9934 | + | |
| 9935 | + | |
| 9936 | + | |
| 9937 | + | |
| 9938 | + | |
| 9939 | + | |
| 9940 | + | |
| 9941 | + | |
| 9942 | + | |
| 9943 | + | |
| 9944 | + | |
| 9945 | + | |
| 9946 | + | |
| 9947 | + | |
| 9948 | + | |
| 9949 | + | |
| 9950 | + | |
| 9951 | + | |
9901 | 9952 | | |
9902 | 9953 | | |
9903 | 9954 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
79 | 93 | | |
80 | 94 | | |
0 commit comments