Repository navigation
Commit efd72ac
Split a power of x beside blocks to a power only where its pieces are read (#2000)
SolveAsPolynomialTerm writes 1/P as P^(-1) and asks it a level down, and
deeper still SolveByLinearRadicalSubstitution reached
IntegrateOverBlocksInAPowerOfX with besideAPowerOfX at descent 3. The pieces
over a block to a power are read only by IntegrateOverAPowerOfXBesideABlock,
which runs at the question asked or one below, so at descent 3 every piece
went round the whole search, about sixteen levels deep, before it was
declined, and the 1/P spelling one level up then answered in 80 ms. The
split now declines there, where a block is to a power past the first; with
every block to the first power the pieces are read at any depth, and stay.
Twelve of Rubi's 1.1.2.4 rows that took 5-16 s (542-544, 550-552, 562-564,
570-572) allocate 3-14 times less, 542 from 11.9 GB to 0.97, with the same
answers, character for character; 303 solved rows of 1.1.2.x and 1.1.3.x
answer as before, none allocating more.
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 685093c commit efd72ac
2 files changed
Lines changed: 70 additions & 0 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2882 | 2882 | | |
2883 | 2883 | | |
2884 | 2884 | | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
| 2895 | + | |
2885 | 2896 | | |
2886 | 2897 | | |
2887 | 2898 | | |
| |||
| 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 | + | |
0 commit comments