Repository navigation
Commit 06070d2
A rational function of the tangent of a linear argument with symbols in it is not simplified under the linear substitution (#1731)
* A linear substitution's quotient is not simplified
The substitution search reaches tan(g + h x) through u = g + h x and
simplified the quotient of the integrand by du/dx in u before asking
for its integral. Under a linear candidate that quotient is the
integrand with its argument renamed, over a constant, and holds nothing
to simplify; with the nine symbols of Rubi's 4.3.4.2 in it the
simplification took 28 of 32 s. It is handed on as it is:
(a + b tan(g + h x))(A + B tan(g + h x) + K tan(g + h x)^2)/(c + d tan(g + h x))^2
is answered in 4.5 s where master took 38, and the cube over a cube in
18 s where master ran past a minute and a half.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* Only a function of the tangent alone is handed on unsimplified under a linear substitution
Measured one build at a time, seven integrands master answers ran out of time on the branch:
beside a sine, a secant, a logarithm or the imaginary unit, the simplified form is what the rules
after the substitution read, and cot(c + d x)^8/(a + a sin(c + d x)) went from one second to
seventy without it. The quotient is handed on unsimplified only where every function of u in it
is its tangent or cotangent and it holds no imaginary unit, which is 4.3.4.2's shape; the seven
are back at master's times and 4.3.4.2's answers keep theirs.
Part of #718.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* The linear substitution's entry gives the time master measures today
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 752974b commit 06070d2
3 files changed
Lines changed: 94 additions & 1 deletion
File tree
- Sources
- AngouriMath/Functions/Continuous/Integration
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
846 | 861 | | |
847 | 862 | | |
848 | 863 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23726 | 23726 | | |
23727 | 23727 | | |
23728 | 23728 | | |
| 23729 | + | |
| 23730 | + | |
| 23731 | + | |
| 23732 | + | |
| 23733 | + | |
| 23734 | + | |
| 23735 | + | |
| 23736 | + | |
| 23737 | + | |
| 23738 | + | |
| 23739 | + | |
23729 | 23740 | | |
23730 | 23741 | | |
23731 | 23742 | | |
| |||
23877 | 23888 | | |
23878 | 23889 | | |
23879 | 23890 | | |
23880 | | - | |
| 23891 | + | |
| 23892 | + | |
| 23893 | + | |
| 23894 | + | |
| 23895 | + | |
| 23896 | + | |
| 23897 | + | |
| 23898 | + | |
| 23899 | + | |
| 23900 | + | |
| 23901 | + | |
| 23902 | + | |
| 23903 | + | |
| 23904 | + | |
23881 | 23905 | | |
23882 | 23906 | | |
23883 | 23907 | | |
| |||
| 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 | + | |
0 commit comments