Repository navigation
Commit 34cdde4
Ask a folded exponential of a logarithm with its constant exponential named (#2009)
SolveByFoldingAnExponentialOfALogarithm writes e^(2a + 4 ln x) as (e^a x^2)^2,
leaving e^a a coefficient, and dividing by e^(2a) then writes e^(2a(-1)): the
two never cancelled. tanh(a + 2 ln x)^2/x^3 came back in six arms on the
signs of 4 e^(2a) and 4 e^(-2a), 7,796 characters, and its derivative carried
a condition on (e^(-28a))^2 that the evaluator takes for zero. Where the
folded integrand is a rational function of x and every x-free exponential is
a whole power of one, that exponential is also asked as a symbol k and
substituted back, conditions included, and the shorter answer is kept: in k
the factorization can split a biquadratic into arms on k's sign, as for
coth(a + 2 ln x)/x^2, where the exponential's answer stays.
All 728 rows of 6.3.x and 6.4.x and the 54 of 6.1.5, 6.2.5, 6.5.3 and 6.6.3
that reach the fold: 2 GAP -> OK, 20 answers shorter (7,796 -> 181 and
8,047 -> 202 characters among them), none longer, none lost. Chain pocket of
1,576 rows: verdicts identical; samples unchanged; 6.3.2:218 and 6.4.2:221
answered by Integrate itself where master needed Simplify, 5.9 s -> 144 ms
and 16.9 s -> 99 ms. No row's allocation grew past 1.3x.
Part of #233.
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 375fbb4 commit 34cdde4
3 files changed
Lines changed: 171 additions & 4 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
314 | 332 | | |
315 | 333 | | |
316 | 334 | | |
| |||
813 | 831 | | |
814 | 832 | | |
815 | 833 | | |
816 | | - | |
817 | | - | |
| 834 | + | |
818 | 835 | | |
819 | 836 | | |
820 | 837 | | |
| |||
823 | 840 | | |
824 | 841 | | |
825 | 842 | | |
826 | | - | |
827 | 843 | | |
828 | 844 | | |
829 | 845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26360 | 26360 | | |
26361 | 26361 | | |
26362 | 26362 | | |
| 26363 | + | |
| 26364 | + | |
| 26365 | + | |
| 26366 | + | |
| 26367 | + | |
| 26368 | + | |
| 26369 | + | |
| 26370 | + | |
| 26371 | + | |
| 26372 | + | |
| 26373 | + | |
| 26374 | + | |
| 26375 | + | |
| 26376 | + | |
| 26377 | + | |
| 26378 | + | |
| 26379 | + | |
| 26380 | + | |
26363 | 26381 | | |
26364 | 26382 | | |
26365 | 26383 | | |
| |||
26392 | 26410 | | |
26393 | 26411 | | |
26394 | 26412 | | |
26395 | | - | |
| 26413 | + | |
| 26414 | + | |
| 26415 | + | |
| 26416 | + | |
| 26417 | + | |
| 26418 | + | |
| 26419 | + | |
| 26420 | + | |
| 26421 | + | |
| 26422 | + | |
| 26423 | + | |
| 26424 | + | |
| 26425 | + | |
| 26426 | + | |
| 26427 | + | |
| 26428 | + | |
| 26429 | + | |
| 26430 | + | |
| 26431 | + | |
| 26432 | + | |
| 26433 | + | |
| 26434 | + | |
| 26435 | + | |
| 26436 | + | |
| 26437 | + | |
| 26438 | + | |
| 26439 | + | |
| 26440 | + | |
| 26441 | + | |
| 26442 | + | |
| 26443 | + | |
| 26444 | + | |
| 26445 | + | |
| 26446 | + | |
| 26447 | + | |
| 26448 | + | |
| 26449 | + | |
| 26450 | + | |
| 26451 | + | |
| 26452 | + | |
| 26453 | + | |
| 26454 | + | |
| 26455 | + | |
| 26456 | + | |
| 26457 | + | |
| 26458 | + | |
| 26459 | + | |
26396 | 26460 | | |
26397 | 26461 | | |
26398 | 26462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
0 commit comments