text:
using Rubin
using Tests
using Elliptic
using HypergeometricFunctions
using Polylogarithms
using SpecialFunctions

@test integrate(2*(-1+3*cosh(4+6x))^-1, x) == :(1//6*2^(1/2)*arctan(2^(1/2)*tanh(2+3x)))
@test integrate((cosh(2+3x)^2+2*sinh(2+3x)^2)^-1, x) == :(1//6*2^(1/2)*arctan(2^(1/2)*tanh(2+3x)))
@test integrate((1+2*tanh(2+3x)^2)^-1*sech(2+3x)^2, x) == :(1//6*2^(1/2)*arctan(2^(1/2)*tanh(2+3x)))
@test integrate((2+coth(2+3x)^2)^-1*csch(2+3x)^2, x) == :(1//6*2^(1/2)*arctan(2^(1/2)*tanh(2+3x)))
@test integrate((2+-1*coth(2+3x)^2)^-1*csch(2+3x)^2, x) == :(-1//6*2^(1/2)*arctanh(2^(1/2)*tanh(2+3x)))
@test integrate((1+2*coth(2+3x)^2)^-1*csch(2+3x)^2, x) == :(1//6*2^(1/2)*arctan((1/2)*2^(1/2)*tanh(2+3x)))
@test integrate((1+-2*coth(2+3x)^2)^-1*csch(2+3x)^2, x) == :(-1//6*2^(1/2)*arctanh((1/2)*2^(1/2)*tanh(2+3x)))
@test integrate(cosh(a+b*x)*sinh(a+b*x), x) == :((1/2)*b^-1*sinh(a+b*x)^2)
@test integrate(sinh(a+b*x)^n*cosh(a+b*x), x) == :(b^-1*(1+n)^-1*sinh(a+b*x)^(1+n))
@test integrate(cosh(a+b*x)^3*sinh(a+b*x)^n, x) == :(b^-1*(1+n)^-1*sinh(a+b*x)^(1+n)+b^-1*(3+n)^-1*sinh(a+b*x)^(3+n))
@test integrate(cosh(a+b*x)^5*sinh(a+b*x)^n, x) == :(b^-1*(1+n)^-1*sinh(a+b*x)^(1+n)+b^-1*(5+n)^-1*sinh(a+b*x)^(5+n)+2*b^-1*(3+n)^-1*sinh(a+b*x)^(3+n))
@test integrate(cosh(a+b*x)^m*sinh(a+b*x), x) == :(b^-1*(1+m)^-1*cosh(a+b*x)^(1+m))
@test integrate(cosh(a+b*x)^m*sinh(a+b*x)^3, x) == :(b^-1*(3+m)^-1*cosh(a+b*x)^(3+m)+-1*b^-1*(1+m)^-1*cosh(a+b*x)^(1+m))
@test integrate(cosh(a+b*x)^m*sinh(a+b*x)^5, x) == :(b^-1*(1+m)^-1*cosh(a+b*x)^(1+m)+b^-1*(5+m)^-1*cosh(a+b*x)^(5+m)+-2*b^-1*(3+m)^-1*cosh(a+b*x)^(3+m))
@test integrate(cosh(a+b*x)^2*sinh(a+b*x)^2, x) == :(-1//8*x+-1//8*b^-1*cosh(a+b*x)*sinh(a+b*x)+1//4*b^-1*cosh(a+b*x)^3*sinh(a+b*x))
@test integrate(cosh(a+b*x)^2*sinh(a+b*x)^4, x) == :(1//16*x+-1//8*b^-1*cosh(a+b*x)^3*sinh(a+b*x)+1//6*b^-1*cosh(a+b*x)^3*sinh(a+b*x)^3+1//16*b^-1*cosh(a+b*x)*sinh(a+b*x))
@test integrate(cosh(a+b*x)^2*sinh(a+b*x)^6, x) == :(-5//128*x+-5//48*b^-1*cosh(a+b*x)^3*sinh(a+b*x)^3+-5//128*b^-1*cosh(a+b*x)*sinh(a+b*x)+1//8*b^-1*cosh(a+b*x)^3*sinh(a+b*x)^5+5//64*b^-1*cosh(a+b*x)^3*sinh(a+b*x))
@test integrate(cosh(a+b*x)^4*sinh(a+b*x)^2, x) == :(-1//16*x+-1//16*b^-1*cosh(a+b*x)*sinh(a+b*x)+-1//24*b^-1*cosh(a+b*x)^3*sinh(a+b*x)+1//6*b^-1*cosh(a+b*x)^5*sinh(a+b*x))
@test integrate(cosh(a+b*x)^4*sinh(a+b*x)^4, x) == :(3//128*x+-1//16*b^-1*cosh(a+b*x)^5*sinh(a+b*x)+1//8*b^-1*cosh(a+b*x)^5*sinh(a+b*x)^3+1//64*b^-1*cosh(a+b*x)^3*sinh(a+b*x)+3//128*b^-1*cosh(a+b*x)*sinh(a+b*x))
@test integrate(cosh(a+b*x)^4*sinh(a+b*x)^6, x) == :(-3//256*x+-3//256*b^-1*cosh(a+b*x)*sinh(a+b*x)+-1//16*b^-1*cosh(a+b*x)^5*sinh(a+b*x)^3+-1//128*b^-1*cosh(a+b*x)^3*sinh(a+b*x)+1//10*b^-1*cosh(a+b*x)^5*sinh(a+b*x)^5+1//32*b^-1*cosh(a+b*x)^5*sinh(a+b*x))
@test integrate(cosh(a+b*x)^6*sinh(a+b*x)^2, x) == :(-5//128*x+-5//128*b^-1*cosh(a+b*x)*sinh(a+b*x)+-5//192*b^-1*cosh(a+b*x)^3*sinh(a+b*x)+-1//48*b^-1*cosh(a+b*x)^5*sinh(a+b*x)+1//8*b^-1*cosh(a+b*x)^7*sinh(a+b*x))
@test integrate(cosh(a+b*x)^6*sinh(a+b*x)^4, x) == :(3//256*x+-3//80*b^-1*cosh(a+b*x)^7*sinh(a+b*x)+1//10*b^-1*cosh(a+b*x)^7*sinh(a+b*x)^3+1//128*b^-1*cosh(a+b*x)^3*sinh(a+b*x)+1//160*b^-1*cosh(a+b*x)^5*sinh(a+b*x)+3//256*b^-1*cosh(a+b*x)*sinh(a+b*x))
@test integrate(cosh(a+b*x)^6*sinh(a+b*x)^6, x) == :(-5//1024*x+-5//1024*b^-1*cosh(a+b*x)*sinh(a+b*x)+-5//1536*b^-1*cosh(a+b*x)^3*sinh(a+b*x)+-1//24*b^-1*cosh(a+b*x)^7*sinh(a+b*x)^3+-1//384*b^-1*cosh(a+b*x)^5*sinh(a+b*x)+1//12*b^-1*cosh(a+b*x)^7*sinh(a+b*x)^5+1//64*b^-1*cosh(a+b*x)^7*sinh(a+b*x))
@test integrate(csch(a+b*x)*sech(a+b*x), x) == :(b^-1*log(tanh(a+b*x)))
@test integrate(sech(a+b*x)^2*csch(a+b*x), x) == :(b^-1*sech(a+b*x)+-1*b^-1*arctanh(cosh(a+b*x)))
@test integrate(sech(a+b*x)^3*csch(a+b*x), x) == :(b^-1*log(tanh(a+b*x))+-1//2*b^-1*tanh(a+b*x)^2)
@test integrate(sech(a+b*x)^4*csch(a+b*x), x) == :(b^-1*sech(a+b*x)+-1*b^-1*arctanh(cosh(a+b*x))+1//3*b^-1*sech(a+b*x)^3)
@test integrate(sech(a+b*x)^5*csch(a+b*x), x) == :(b^-1*log(tanh(a+b*x))+-1*b^-1*tanh(a+b*x)^2+1//4*b^-1*tanh(a+b*x)^4)
@test integrate(csch(a+b*x)^2*sech(a+b*x), x) == :(-1*b^-1*arctan(sinh(a+b*x))+-1*b^-1*csch(a+b*x))
@test integrate(csch(a+b*x)^2*sech(a+b*x)^2, x) == :(-1*b^-1*coth(a+b*x)+-1*b^-1*tanh(a+b*x))
@test integrate(csch(a+b*x)^2*sech(a+b*x)^3, x) == :(-3//2*b^-1*arctan(sinh(a+b*x))+-3//2*b^-1*csch(a+b*x)+(1/2)*b^-1*sech(a+b*x)^2*csch(a+b*x))
@test integrate(csch(a+b*x)^2*sech(a+b*x)^4, x) == :(-1*b^-1*coth(a+b*x)+-2*b^-1*tanh(a+b*x)+1//3*b^-1*tanh(a+b*x)^3)
@test integrate(csch(a+b*x)^2*sech(a+b*x)^5, x) == :(-15//8*b^-1*arctan(sinh(a+b*x))+-15//8*b^-1*csch(a+b*x)+1//4*b^-1*sech(a+b*x)^4*csch(a+b*x)+5//8*b^-1*sech(a+b*x)^2*csch(a+b*x))
@test integrate(csch(a+b*x)^3*sech(a+b*x), x) == :(-1*b^-1*log(tanh(a+b*x))+-1//2*b^-1*coth(a+b*x)^2)
@test integrate(csch(a+b*x)^3*sech(a+b*x)^2, x) == :(-3//2*b^-1*sech(a+b*x)+3//2*b^-1*arctanh(cosh(a+b*x))+-1//2*b^-1*csch(a+b*x)^2*sech(a+b*x))
@test integrate(csch(a+b*x)^3*sech(a+b*x)^3, x) == :((1/2)*b^-1*tanh(a+b*x)^2+-2*b^-1*log(tanh(a+b*x))+-1//2*b^-1*coth(a+b*x)^2)
@test integrate(csch(a+b*x)^3*sech(a+b*x)^4, x) == :(-5//2*b^-1*sech(a+b*x)+-5//6*b^-1*sech(a+b*x)^3+5//2*b^-1*arctanh(cosh(a+b*x))+-1//2*b^-1*csch(a+b*x)^2*sech(a+b*x)^3)
@test integrate(csch(a+b*x)^3*sech(a+b*x)^5, x) == :(-3*b^-1*log(tanh(a+b*x))+-1//2*b^-1*coth(a+b*x)^2+-1//4*b^-1*tanh(a+b*x)^4+3//2*b^-1*tanh(a+b*x)^2)
@test integrate(csch(a+b*x)^4*sech(a+b*x), x) == :(b^-1*arctan(sinh(a+b*x))+b^-1*csch(a+b*x)+-1//3*b^-1*csch(a+b*x)^3)
@test integrate(csch(a+b*x)^4*sech(a+b*x)^2, x) == :(b^-1*tanh(a+b*x)+2*b^-1*coth(a+b*x)+-1//3*b^-1*coth(a+b*x)^3)
@test integrate(csch(a+b*x)^4*sech(a+b*x)^3, x) == :(-5//6*b^-1*csch(a+b*x)^3+5//2*b^-1*arctan(sinh(a+b*x))+5//2*b^-1*csch(a+b*x)+(1/2)*b^-1*csch(a+b*x)^3*sech(a+b*x)^2)
@test integrate(csch(a+b*x)^4*sech(a+b*x)^4, x) == :(3*b^-1*coth(a+b*x)+3*b^-1*tanh(a+b*x)+-1//3*b^-1*coth(a+b*x)^3+-1//3*b^-1*tanh(a+b*x)^3)
@test integrate(csch(a+b*x)^4*sech(a+b*x)^5, x) == :(-35//24*b^-1*csch(a+b*x)^3+35//8*b^-1*arctan(sinh(a+b*x))+35//8*b^-1*csch(a+b*x)+1//4*b^-1*csch(a+b*x)^3*sech(a+b*x)^4+7//8*b^-1*csch(a+b*x)^3*sech(a+b*x)^2)
@test integrate(csch(a+b*x)^5*sech(a+b*x), x) == :(b^-1*coth(a+b*x)^2+b^-1*log(tanh(a+b*x))+-1//4*b^-1*coth(a+b*x)^4)
@test integrate(csch(a+b*x)^5*sech(a+b*x)^2, x) == :(-15//8*b^-1*arctanh(cosh(a+b*x))+15//8*b^-1*sech(a+b*x)+-1//4*b^-1*csch(a+b*x)^4*sech(a+b*x)+5//8*b^-1*csch(a+b*x)^2*sech(a+b*x))
@test integrate(csch(a+b*x)^5*sech(a+b*x)^3, x) == :(3*b^-1*log(tanh(a+b*x))+-1//2*b^-1*tanh(a+b*x)^2+-1//4*b^-1*coth(a+b*x)^4+3//2*b^-1*coth(a+b*x)^2)
@test integrate(csch(a+b*x)^5*sech(a+b*x)^4, x) == :(-35//8*b^-1*arctanh(cosh(a+b*x))+35//8*b^-1*sech(a+b*x)+35//24*b^-1*sech(a+b*x)^3+-1//4*b^-1*csch(a+b*x)^4*sech(a+b*x)^3+7//8*b^-1*csch(a+b*x)^2*sech(a+b*x)^3)
@test integrate(csch(a+b*x)^5*sech(a+b*x)^5, x) == :(-2*b^-1*tanh(a+b*x)^2+2*b^-1*coth(a+b*x)^2+6*b^-1*log(tanh(a+b*x))+-1//4*b^-1*coth(a+b*x)^4+1//4*b^-1*tanh(a+b*x)^4)
@test integrate(cosh(a+b*x)^-7//2*sinh(a+b*x)^7//2, x) == :(b^-1*arctanh(cosh(a+b*x)^(1/2)*sinh(a+b*x)^-1//2)+-1*b^-1*arctan(cosh(a+b*x)^(1/2)*sinh(a+b*x)^-1//2)+-2*b^-1*cosh(a+b*x)^-1//2*sinh(a+b*x)^(1/2)+-2//5*b^-1*cosh(a+b*x)^-5//2*sinh(a+b*x)^5//2)
@test integrate(cosh(a+b*x)^-5//2*sinh(a+b*x)^5//2, x) == :(b^-1*arctanh(cosh(a+b*x)^-1//2*sinh(a+b*x)^(1/2))+-1*b^-1*arctan(cosh(a+b*x)^-1//2*sinh(a+b*x)^(1/2))+-2//3*b^-1*cosh(a+b*x)^-3//2*sinh(a+b*x)^3//2)
@test integrate(cosh(a+b*x)^-3//2*sinh(a+b*x)^3//2, x) == :(b^-1*arctanh(cosh(a+b*x)^(1/2)*sinh(a+b*x)^-1//2)+-1*b^-1*arctan(cosh(a+b*x)^(1/2)*sinh(a+b*x)^-1//2)+-2*b^-1*cosh(a+b*x)^-1//2*sinh(a+b*x)^(1/2))
@test integrate(cosh(a+b*x)^-1//2*sinh(a+b*x)^(1/2), x) == :(b^-1*arctanh(cosh(a+b*x)^-1//2*sinh(a+b*x)^(1/2))+-1*b^-1*arctan(cosh(a+b*x)^-1//2*sinh(a+b*x)^(1/2)))
@test integrate(cosh(a+b*x)^(1/2)*sinh(a+b*x)^-1//2, x) == :(b^-1*arctanh(cosh(a+b*x)^(1/2)*sinh(a+b*x)^-1//2)+-1*b^-1*arctan(cosh(a+b*x)^(1/2)*sinh(a+b*x)^-1//2))
@test integrate(cosh(a+b*x)^3//2*sinh(a+b*x)^-3//2, x) == :(b^-1*arctanh(cosh(a+b*x)^-1//2*sinh(a+b*x)^(1/2))+-1*b^-1*arctan(cosh(a+b*x)^-1//2*sinh(a+b*x)^(1/2))+-2*b^-1*cosh(a+b*x)^(1/2)*sinh(a+b*x)^-1//2)
@test integrate(cosh(a+b*x)^5//2*sinh(a+b*x)^-5//2, x) == :(b^-1*arctanh(cosh(a+b*x)^(1/2)*sinh(a+b*x)^-1//2)+-1*b^-1*arctan(cosh(a+b*x)^(1/2)*sinh(a+b*x)^-1//2)+-2//3*b^-1*cosh(a+b*x)^3//2*sinh(a+b*x)^-3//2)
@test integrate(cosh(a+b*x)^7//2*sinh(a+b*x)^-7//2, x) == :(b^-1*arctanh(cosh(a+b*x)^-1//2*sinh(a+b*x)^(1/2))+-1*b^-1*arctan(cosh(a+b*x)^-1//2*sinh(a+b*x)^(1/2))+-2*b^-1*cosh(a+b*x)^(1/2)*sinh(a+b*x)^-1//2+-2//5*b^-1*cosh(a+b*x)^5//2*sinh(a+b*x)^-5//2)
@test integrate(cosh(a+b*x)^-7//3*sinh(a+b*x)^7//3, x) == :(-1//2*b^-1*log(1+-1*cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3)+1//4*b^-1*log(1+cosh(a+b*x)^-4//3*sinh(a+b*x)^4//3+cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3)+-3//4*b^-1*cosh(a+b*x)^-4//3*sinh(a+b*x)^4//3+-1//2*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+2*cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3)))
@test integrate(cosh(a+b*x)^-5//3*sinh(a+b*x)^5//3, x) == :(-1//2*b^-1*log(1+-1*cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3)+1//4*b^-1*log(1+cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3+cosh(a+b*x)^4//3*sinh(a+b*x)^-4//3)+-3//2*b^-1*cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3+-1//2*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+2*cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3)))
@test integrate(cosh(a+b*x)^-4//3*sinh(a+b*x)^4//3, x) == :(b^-1*arctanh(cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3)+-1//4*b^-1*log(1+cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3+-1*cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3)+1//4*b^-1*log(1+cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3+cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3)+(1/2)*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+-2*cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3))+-3*b^-1*cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3+-1//2*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+2*cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3)))
@test integrate(cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3, x) == :(b^-1*arctanh(cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3)+-1//4*b^-1*log(1+cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3+-1*cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3)+1//4*b^-1*log(1+cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3+cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3)+(1/2)*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+-2*cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3))+-1//2*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+2*cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3)))
@test integrate(cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3, x) == :(-1//2*b^-1*log(1+-1*cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3)+1//4*b^-1*log(1+cosh(a+b*x)^-4//3*sinh(a+b*x)^4//3+cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3)+-1//2*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+2*cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3)))
@test integrate(cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3, x) == :(-1//2*b^-1*log(1+-1*cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3)+1//4*b^-1*log(1+cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3+cosh(a+b*x)^4//3*sinh(a+b*x)^-4//3)+-1//2*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+2*cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3)))
@test integrate(cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3, x) == :(b^-1*arctanh(cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3)+-1//4*b^-1*log(1+cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3+-1*cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3)+1//4*b^-1*log(1+cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3+cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3)+(1/2)*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+-2*cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3))+-1//2*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+2*cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3)))
@test integrate(cosh(a+b*x)^4//3*sinh(a+b*x)^-4//3, x) == :(b^-1*arctanh(cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3)+-1//4*b^-1*log(1+cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3+-1*cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3)+1//4*b^-1*log(1+cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3+cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3)+(1/2)*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+-2*cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3))+-3*b^-1*cosh(a+b*x)^1//3*sinh(a+b*x)^-1//3+-1//2*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+2*cosh(a+b*x)^-1//3*sinh(a+b*x)^1//3)))
@test integrate(cosh(a+b*x)^5//3*sinh(a+b*x)^-5//3, x) == :(-1//2*b^-1*log(1+-1*cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3)+1//4*b^-1*log(1+cosh(a+b*x)^-4//3*sinh(a+b*x)^4//3+cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3)+-3//2*b^-1*cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3+-1//2*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+2*cosh(a+b*x)^-2//3*sinh(a+b*x)^2//3)))
@test integrate(cosh(a+b*x)^7//3*sinh(a+b*x)^-7//3, x) == :(-1//2*b^-1*log(1+-1*cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3)+1//4*b^-1*log(1+cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3+cosh(a+b*x)^4//3*sinh(a+b*x)^-4//3)+-3//4*b^-1*cosh(a+b*x)^4//3*sinh(a+b*x)^-4//3+-1//2*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+2*cosh(a+b*x)^2//3*sinh(a+b*x)^-2//3)))
@test integrate(cosh(x)^2//3*sinh(x)^-8//3, x) == :(-3//5*cosh(x)^5//3*sinh(x)^-5//3)
@test integrate(cosh(x)^-8//3*sinh(x)^2//3, x) == :(3//5*cosh(x)^-5//3*sinh(x)^5//3)
@test integrate(csch(x)^7//3*cosh(x), x) == :(-3//4*csch(x)^4//3)
@test integrate(sinh(a+b*x)*tanh(a+b*x), x) == :(b^-1*sinh(a+b*x)+-1*b^-1*arctan(sinh(a+b*x)))
@test integrate(tanh(a+b*x)^2*sinh(a+b*x), x) == :(b^-1*cosh(a+b*x)+b^-1*sech(a+b*x))
@test integrate(tanh(a+b*x)^3*sinh(a+b*x), x) == :(-3//2*b^-1*arctan(sinh(a+b*x))+3//2*b^-1*sinh(a+b*x)+-1//2*b^-1*tanh(a+b*x)^2*sinh(a+b*x))
@test integrate(tanh(a+b*x)^4*sinh(a+b*x), x) == :(b^-1*cosh(a+b*x)+2*b^-1*sech(a+b*x)+-1//3*b^-1*sech(a+b*x)^3)
@test integrate(sinh(a+b*x)^2*tanh(a+b*x), x) == :((1/2)*b^-1*cosh(a+b*x)^2+-1*b^-1*log(cosh(a+b*x)))
@test integrate(sinh(a+b*x)^2*tanh(a+b*x)^2, x) == :(-3//2*x+3//2*b^-1*tanh(a+b*x)+(1/2)*b^-1*sinh(a+b*x)^2*tanh(a+b*x))
@test integrate(sinh(a+b*x)^2*tanh(a+b*x)^3, x) == :((1/2)*b^-1*cosh(a+b*x)^2+-2*b^-1*log(cosh(a+b*x))+-1//2*b^-1*sech(a+b*x)^2)
@test integrate(sinh(a+b*x)^3*tanh(a+b*x), x) == :(b^-1*arctan(sinh(a+b*x))+-1*b^-1*sinh(a+b*x)+1//3*b^-1*sinh(a+b*x)^3)
@test integrate(sinh(a+b*x)^3*tanh(a+b*x)^2, x) == :(-1*b^-1*sech(a+b*x)+-2*b^-1*cosh(a+b*x)+1//3*b^-1*cosh(a+b*x)^3)
@test integrate(sinh(a+b*x)^3*tanh(a+b*x)^3, x) == :(-5//2*b^-1*sinh(a+b*x)+5//2*b^-1*arctan(sinh(a+b*x))+5//6*b^-1*sinh(a+b*x)^3+-1//2*b^-1*sinh(a+b*x)^3*tanh(a+b*x)^2)
@test integrate(sinh(a+b*x)^4*tanh(a+b*x), x) == :(b^-1*log(cosh(a+b*x))+-1*b^-1*cosh(a+b*x)^2+1//4*b^-1*cosh(a+b*x)^4)
@test integrate(sech(a+b*x)*tanh(a+b*x), x) == :(-1*b^-1*sech(a+b*x))
@test integrate(sech(a+b*x)^2*tanh(a+b*x), x) == :(-1//2*b^-1*sech(a+b*x)^2)
@test integrate(sech(a+b*x)^n*tanh(a+b*x), x) == :(-1*b^-1*n^-1*sech(a+b*x)^n)
@test integrate(sech(a+b*x)^2*tanh(a+b*x)^2, x) == :(1//3*b^-1*tanh(a+b*x)^3)
@test integrate(sech(a+b*x)^2*tanh(a+b*x)^3, x) == :(1//4*b^-1*tanh(a+b*x)^4)
@test integrate(sech(a+b*x)^2*tanh(a+b*x)^n, x) == :(b^-1*(1+n)^-1*tanh(a+b*x)^(1+n))
@test integrate(tanh(a+b*x)^3*sech(a+b*x), x) == :(-1*b^-1*sech(a+b*x)+1//3*b^-1*sech(a+b*x)^3)
@test integrate(sech(a+b*x)^3*tanh(a+b*x)^3, x) == :(-1//3*b^-1*sech(a+b*x)^3+1//5*b^-1*sech(a+b*x)^5)
@test integrate(sech(a+b*x)^n*tanh(a+b*x)^3, x) == :(b^-1*(2+n)^-1*sech(a+b*x)^(2+n)+-1*b^-1*n^-1*sech(a+b*x)^n)
@test integrate(sech(a+b*x)^4*tanh(a+b*x)^2, x) == :(-1//5*b^-1*tanh(a+b*x)^5+1//3*b^-1*tanh(a+b*x)^3)
@test integrate(sech(a+b*x)^4*tanh(a+b*x)^(1/2), x) == :(-2//7*b^-1*tanh(a+b*x)^7//2+2//3*b^-1*tanh(a+b*x)^3//2)
@test integrate(sech(a+b*x)^4*tanh(a+b*x)^n, x) == :(b^-1*(1+n)^-1*tanh(a+b*x)^(1+n)+-1*b^-1*(3+n)^-1*tanh(a+b*x)^(3+n))
@test integrate(tanh(a+b*x)^2*sech(a+b*x), x) == :((1/2)*b^-1*arctan(sinh(a+b*x))+-1//2*b^-1*sech(a+b*x)*tanh(a+b*x))
@test integrate(tanh(a+b*x)^4*sech(a+b*x), x) == :(3//8*b^-1*arctan(sinh(a+b*x))+-3//8*b^-1*sech(a+b*x)*tanh(a+b*x)+-1//4*b^-1*tanh(a+b*x)^3*sech(a+b*x))
@test integrate(sech(a+b*x)^3*tanh(a+b*x)^2, x) == :(1//8*b^-1*arctan(sinh(a+b*x))+-1//4*b^-1*sech(a+b*x)^3*tanh(a+b*x)+1//8*b^-1*sech(a+b*x)*tanh(a+b*x))
@test integrate(tanh(x)^5*sech(x), x) == :(-1*sech(x)+-1//5*sech(x)^5+2//3*sech(x)^3)
@test integrate(sech(x)^7*tanh(x)^5, x) == :(-1//7*sech(x)^7+-1//11*sech(x)^11+2//9*sech(x)^9)
@test integrate(sech(x)^3*tanh(x)^4, x) == :(1//16*arctan(sinh(x))+-1//6*sech(x)^3*tanh(x)^3+-1//8*sech(x)^3*tanh(x)+1//16*sech(x)*tanh(x))
@test integrate(sech(x)^5*tanh(x)^2, x) == :(1//16*arctan(sinh(x))+-1//6*sech(x)^5*tanh(x)+1//16*sech(x)*tanh(x)+1//24*sech(x)^3*tanh(x))
@test integrate(sech(x)^8*tanh(x)^6, x) == :(-1//3*tanh(x)^9+-1//13*tanh(x)^13+1//7*tanh(x)^7+3//11*tanh(x)^11)
@test integrate(cosh(a+b*x)*coth(a+b*x), x) == :(b^-1*cosh(a+b*x)+-1*b^-1*arctanh(cosh(a+b*x)))
@test integrate(coth(a+b*x)^2*cosh(a+b*x), x) == :(b^-1*sinh(a+b*x)+-1*b^-1*csch(a+b*x))
@test integrate(coth(a+b*x)^3*cosh(a+b*x), x) == :(-3//2*b^-1*arctanh(cosh(a+b*x))+3//2*b^-1*cosh(a+b*x)+-1//2*b^-1*coth(a+b*x)^2*cosh(a+b*x))
@test integrate(coth(a+b*x)^4*cosh(a+b*x), x) == :(b^-1*sinh(a+b*x)+-2*b^-1*csch(a+b*x)+-1//3*b^-1*csch(a+b*x)^3)
@test integrate(cosh(a+b*x)^2*coth(a+b*x), x) == :(b^-1*log(sinh(a+b*x))+(1/2)*b^-1*sinh(a+b*x)^2)
@test integrate(cosh(a+b*x)^2*coth(a+b*x)^2, x) == :(3//2*x+-3//2*b^-1*coth(a+b*x)+(1/2)*b^-1*cosh(a+b*x)^2*coth(a+b*x))
@test integrate(cosh(a+b*x)^2*coth(a+b*x)^3, x) == :((1/2)*b^-1*sinh(a+b*x)^2+2*b^-1*log(sinh(a+b*x))+-1//2*b^-1*csch(a+b*x)^2)
@test integrate(cosh(a+b*x)^3*coth(a+b*x), x) == :(b^-1*cosh(a+b*x)+-1*b^-1*arctanh(cosh(a+b*x))+1//3*b^-1*cosh(a+b*x)^3)
@test integrate(cosh(a+b*x)^3*coth(a+b*x)^2, x) == :(-1*b^-1*csch(a+b*x)+2*b^-1*sinh(a+b*x)+1//3*b^-1*sinh(a+b*x)^3)
@test integrate(cosh(a+b*x)^3*coth(a+b*x)^3, x) == :(-5//2*b^-1*arctanh(cosh(a+b*x))+5//2*b^-1*cosh(a+b*x)+5//6*b^-1*cosh(a+b*x)^3+-1//2*b^-1*cosh(a+b*x)^3*coth(a+b*x)^2)
@test integrate(cosh(a+b*x)^4*coth(a+b*x), x) == :(b^-1*sinh(a+b*x)^2+b^-1*log(sinh(a+b*x))+1//4*b^-1*sinh(a+b*x)^4)
@test integrate(coth(a+b*x)*csch(a+b*x), x) == :(-1*b^-1*csch(a+b*x))
@test integrate(csch(a+b*x)^2*coth(a+b*x), x) == :(-1//2*b^-1*csch(a+b*x)^2)
@test integrate(csch(a+b*x)^n*coth(a+b*x), x) == :(-1*b^-1*n^-1*csch(a+b*x)^n)
@test integrate(coth(a+b*x)^2*csch(a+b*x)^2, x) == :(-1//3*b^-1*coth(a+b*x)^3)
@test integrate(coth(a+b*x)^3*csch(a+b*x)^2, x) == :(-1//4*b^-1*coth(a+b*x)^4)
@test integrate(coth(a+b*x)^n*csch(a+b*x)^2, x) == :(-1*b^-1*(1+n)^-1*coth(a+b*x)^(1+n))
@test integrate(coth(a+b*x)^3*csch(a+b*x), x) == :(-1*b^-1*csch(a+b*x)+-1//3*b^-1*csch(a+b*x)^3)
@test integrate(coth(a+b*x)^3*csch(a+b*x)^3, x) == :(-1//3*b^-1*csch(a+b*x)^3+-1//5*b^-1*csch(a+b*x)^5)
@test integrate(coth(a+b*x)^3*csch(a+b*x)^n, x) == :(-1*b^-1*n^-1*csch(a+b*x)^n+-1*b^-1*(2+n)^-1*csch(a+b*x)^(2+n))
@test integrate(coth(a+b*x)^2*csch(a+b*x), x) == :(-1//2*b^-1*arctanh(cosh(a+b*x))+-1//2*b^-1*coth(a+b*x)*csch(a+b*x))
@test integrate(coth(a+b*x)^2*csch(a+b*x)^3, x) == :(1//8*b^-1*arctanh(cosh(a+b*x))+-1//4*b^-1*csch(a+b*x)^3*coth(a+b*x)+-1//8*b^-1*coth(a+b*x)*csch(a+b*x))
@test integrate(coth(a+b*x)^4*csch(a+b*x), x) == :(-3//8*b^-1*arctanh(cosh(a+b*x))+-3//8*b^-1*coth(a+b*x)*csch(a+b*x)+-1//4*b^-1*coth(a+b*x)^3*csch(a+b*x))
@test integrate(coth(x)^2*csch(x)^4, x) == :(-1//5*coth(x)^5+1//3*coth(x)^3)
@test integrate(coth(x)^3*csch(x)^4, x) == :(-1//4*csch(x)^4+-1//6*csch(x)^6)
@test integrate(coth(x)^n*csch(x)^4, x) == :((1+n)^-1*coth(x)^(1+n)+-1*(3+n)^-1*coth(x)^(3+n))
@test integrate(coth(x)^4*csch(x)^3, x) == :(1//16*arctanh(cosh(x))+-1//6*coth(x)^3*csch(x)^3+-1//8*csch(x)^3*coth(x)+-1//16*coth(x)*csch(x))
@test integrate(coth(x)^4*csch(x)^6, x) == :(-1//5*coth(x)^5+-1//9*coth(x)^9+2//7*coth(x)^7)
@test integrate(coth(6x)^5*csch(6x), x) == :(-1//6*csch(6x)+-1//9*csch(6x)^3+-1//30*csch(6x)^5)
@test integrate(coth(x)^7*csch(x)^3, x) == :(-3//5*csch(x)^5+-3//7*csch(x)^7+-1//3*csch(x)^3+-1//9*csch(x)^9)
@test integrate(sinh(a+b*x)*sinh(c+b*x), x) == :(-1//2*x*cosh(a+-1c)+1//4*b^-1*sinh(a+c+2*b*x))
@test integrate(sinh(a+b*x)*sinh(c+-1*b*x), x) == :((1/2)*x*cosh(a+c)+-1//4*b^-1*sinh(a+-1c+2*b*x))
@test integrate(cosh(a+b*x)*cosh(c+b*x), x) == :((1/2)*x*cosh(a+-1c)+1//4*b^-1*sinh(a+c+2*b*x))
@test integrate(cosh(a+b*x)*cosh(c+-1*b*x), x) == :((1/2)*x*cosh(a+c)+1//4*b^-1*sinh(a+-1c+2*b*x))
@test integrate(tanh(a+b*x)*tanh(c+b*x), x) == :(x+b^-1*coth(a+-1c)*log(cosh(c+b*x))+-1*b^-1*coth(a+-1c)*log(cosh(a+b*x)))
@test integrate(tanh(a+b*x)*tanh(c+-1*b*x), x) == :(-1x+b^-1*coth(a+c)*log(cosh(a+b*x))+-1*b^-1*coth(a+c)*log(cosh(c+-1*b*x)))
@test integrate(coth(a+b*x)*coth(c+b*x), x) == :(x+b^-1*coth(a+-1c)*log(sinh(c+b*x))+-1*b^-1*coth(a+-1c)*log(sinh(a+b*x)))
@test integrate(coth(a+b*x)*coth(c+-1*b*x), x) == :(-1x+b^-1*coth(a+c)*log(sinh(a+b*x))+-1*b^-1*coth(a+c)*log(sinh(c+-1*b*x)))
@test integrate(sech(a+b*x)*sech(c+b*x), x) == :(b^-1*csch(a+-1c)*log(cosh(a+b*x))+-1*b^-1*csch(a+-1c)*log(cosh(c+b*x)))
@test integrate(sech(a+b*x)*sech(-1c+b*x), x) == :(b^-1*csch(a+c)*log(cosh(a+b*x))+-1*b^-1*csch(a+c)*log(cosh(c+-1*b*x)))
@test integrate(csch(a+b*x)*csch(c+b*x), x) == :(b^-1*csch(a+-1c)*log(sinh(c+b*x))+-1*b^-1*csch(a+-1c)*log(sinh(a+b*x)))
@test integrate(-1*csch(a+b*x)*csch(-1c+b*x), x) == :(b^-1*csch(a+c)*log(sinh(a+b*x))+-1*b^-1*csch(a+c)*log(sinh(c+-1*b*x)))
@test integrate(sinh(a+b*x)*tanh(c+b*x), x) == :(b^-1*sinh(a+b*x)+-1*b^-1*arctan(sinh(c+b*x))*cosh(a+-1c))
@test integrate(tanh(c+b*x)^2*sinh(a+b*x), x) == :(b^-1*cosh(a+b*x)+b^-1*cosh(a+-1c)*sech(c+b*x)+-1*b^-1*arctan(sinh(c+b*x))*sinh(a+-1c))
@test integrate(tanh(c+b*x)^3*sinh(a+b*x), x) == :(b^-1*sinh(a+b*x)+b^-1*sech(c+b*x)*sinh(a+-1c)+-3//2*b^-1*arctan(sinh(c+b*x))*cosh(a+-1c)+(1/2)*b^-1*cosh(a+-1c)*sech(c+b*x)*tanh(c+b*x))
@test integrate(coth(c+b*x)*sinh(a+b*x), x) == :(b^-1*sinh(a+b*x)+-1*b^-1*arctanh(cosh(c+b*x))*sinh(a+-1c))
@test integrate(coth(c+b*x)^2*sinh(a+b*x), x) == :(b^-1*cosh(a+b*x)+-1*b^-1*arctanh(cosh(c+b*x))*cosh(a+-1c)+-1*b^-1*csch(c+b*x)*sinh(a+-1c))
@test integrate(coth(c+b*x)^3*sinh(a+b*x), x) == :(b^-1*sinh(a+b*x)+-1*b^-1*cosh(a+-1c)*csch(c+b*x)+-3//2*b^-1*arctanh(cosh(c+b*x))*sinh(a+-1c)+-1//2*b^-1*coth(c+b*x)*csch(c+b*x)*sinh(a+-1c))
@test integrate(sech(c+b*x)*sinh(a+b*x), x) == :(x*sinh(a+-1c)+b^-1*cosh(a+-1c)*log(cosh(c+b*x)))
@test integrate(sech(c+b*x)^2*sinh(a+b*x), x) == :(b^-1*arctan(sinh(c+b*x))*sinh(a+-1c)+-1*b^-1*cosh(a+-1c)*sech(c+b*x))
@test integrate(sech(c+b*x)^3*sinh(a+b*x), x) == :(b^-1*sinh(a+-1c)*tanh(c+b*x)+-1//2*b^-1*sech(c+b*x)^2*cosh(a+-1c))
@test integrate(csch(c+b*x)*sinh(a+b*x), x) == :(x*cosh(a+-1c)+b^-1*log(sinh(c+b*x))*sinh(a+-1c))
@test integrate(csch(c+b*x)^2*sinh(a+b*x), x) == :(-1*b^-1*arctanh(cosh(c+b*x))*cosh(a+-1c)+-1*b^-1*csch(c+b*x)*sinh(a+-1c))
@test integrate(csch(c+b*x)^3*sinh(a+b*x), x) == :(-1*b^-1*cosh(a+-1c)*coth(c+b*x)+-1//2*b^-1*csch(c+b*x)^2*sinh(a+-1c))
@test integrate(cosh(a+b*x)*tanh(c+b*x), x) == :(b^-1*cosh(a+b*x)+-1*b^-1*arctan(sinh(c+b*x))*sinh(a+-1c))
@test integrate(tanh(c+b*x)^2*cosh(a+b*x), x) == :(b^-1*sinh(a+b*x)+b^-1*sech(c+b*x)*sinh(a+-1c)+-1*b^-1*arctan(sinh(c+b*x))*cosh(a+-1c))
@test integrate(tanh(c+b*x)^3*cosh(a+b*x), x) == :(b^-1*cosh(a+b*x)+b^-1*cosh(a+-1c)*sech(c+b*x)+-3//2*b^-1*arctan(sinh(c+b*x))*sinh(a+-1c)+(1/2)*b^-1*sech(c+b*x)*sinh(a+-1c)*tanh(c+b*x))
@test integrate(cosh(a+b*x)*coth(c+b*x), x) == :(b^-1*cosh(a+b*x)+-1*b^-1*arctanh(cosh(c+b*x))*cosh(a+-1c))
@test integrate(coth(c+b*x)^2*cosh(a+b*x), x) == :(b^-1*sinh(a+b*x)+-1*b^-1*arctanh(cosh(c+b*x))*sinh(a+-1c)+-1*b^-1*cosh(a+-1c)*csch(c+b*x))
@test integrate(coth(c+b*x)^3*cosh(a+b*x), x) == :(b^-1*cosh(a+b*x)+-1*b^-1*csch(c+b*x)*sinh(a+-1c)+-3//2*b^-1*arctanh(cosh(c+b*x))*cosh(a+-1c)+-1//2*b^-1*cosh(a+-1c)*coth(c+b*x)*csch(c+b*x))
@test integrate(cosh(a+b*x)*sech(c+b*x), x) == :(x*cosh(a+-1c)+b^-1*log(cosh(c+b*x))*sinh(a+-1c))
@test integrate(sech(c+b*x)^2*cosh(a+b*x), x) == :(b^-1*arctan(sinh(c+b*x))*cosh(a+-1c)+-1*b^-1*sech(c+b*x)*sinh(a+-1c))
@test integrate(sech(c+b*x)^3*cosh(a+b*x), x) == :(b^-1*cosh(a+-1c)*tanh(c+b*x)+-1//2*b^-1*sech(c+b*x)^2*sinh(a+-1c))
@test integrate(cosh(a+b*x)*csch(c+b*x), x) == :(x*sinh(a+-1c)+b^-1*cosh(a+-1c)*log(sinh(c+b*x)))
@test integrate(csch(c+b*x)^2*cosh(a+b*x), x) == :(-1*b^-1*arctanh(cosh(c+b*x))*sinh(a+-1c)+-1*b^-1*cosh(a+-1c)*csch(c+b*x))
@test integrate(csch(c+b*x)^3*cosh(a+b*x), x) == :(-1*b^-1*coth(c+b*x)*sinh(a+-1c)+-1//2*b^-1*csch(c+b*x)^2*cosh(a+-1c))
@test integrate(sinh(a+b*x)*sinh(c+d*x), x) == :((2b+2d)^-1*sinh(a+c+x*(b+d))+-1*(-2d+2b)^-1*sinh(a+-1c+x*(b+-1d)))
@test integrate(sinh(c+d*x)^2*sinh(a+b*x), x) == :((-8d+4b)^-1*cosh(a+-2c+x*(b+-2d))+(4b+8d)^-1*cosh(a+2c+x*(b+2d))+-1//2*b^-1*cosh(a+b*x))
@test integrate(sinh(c+d*x)^3*sinh(a+b*x), x) == :((8b+24d)^-1*sinh(a+3c+x*(b+3d))+-1*(-24d+8b)^-1*sinh(a+-3c+x*(b+-3d))+-3*(8b+8d)^-1*sinh(a+c+x*(b+d))+3*(-8d+8b)^-1*sinh(a+-1c+x*(b+-1d)))
@test integrate(sinh(a+b*x)^2*sinh(c+d*x)^2, x) == :(1//4*x+(-16d+16b)^-1*sinh(-2c+2a+x*(-2d+2b))+(16b+16d)^-1*sinh(2a+2c+x*(2b+2d))+-1//8*b^-1*sinh(2a+2*b*x)+-1//8*d^-1*sinh(2c+2*d*x))
@test integrate(sinh(a+b*x)^2*sinh(c+d*x)^3, x) == :((32b+48d)^-1*cosh(2a+3c+x*(2b+3d))+-1*(-48d+32b)^-1*cosh(-3c+2a+x*(-3d+2b))+-3*(16d+32b)^-1*cosh(c+2a+x*(d+2b))+3*(-16d+32b)^-1*cosh(-1c+2a+x*(-1d+2b))+-1//24*d^-1*cosh(3c+3*d*x)+3//8*d^-1*cosh(c+d*x))
@test integrate(sinh(a+b*x)^3*sinh(c+d*x)^3, x) == :((96b+96d)^-1*sinh(3a+3c+x*(3b+3d))+-1*(-96d+96b)^-1*sinh(-3c+3a+x*(-3d+3b))+-9*(-32d+32b)^-1*sinh(a+-1c+x*(b+-1d))+-3*(32b+96d)^-1*sinh(a+3c+x*(b+3d))+-3*(32d+96b)^-1*sinh(c+3a+x*(d+3b))+3*(-96d+32b)^-1*sinh(a+-3c+x*(b+-3d))+3*(-32d+96b)^-1*sinh(-1c+3a+x*(-1d+3b))+9*(32b+32d)^-1*sinh(a+c+x*(b+d)))
@test integrate(cosh(a+b*x)*cosh(c+d*x), x) == :((-2d+2b)^-1*sinh(a+-1c+x*(b+-1d))+(2b+2d)^-1*sinh(a+c+x*(b+d)))
@test integrate(cosh(c+d*x)^2*cosh(a+b*x), x) == :((-8d+4b)^-1*sinh(a+-2c+x*(b+-2d))+(4b+8d)^-1*sinh(a+2c+x*(b+2d))+(1/2)*b^-1*sinh(a+b*x))
@test integrate(cosh(c+d*x)^3*cosh(a+b*x), x) == :((-24d+8b)^-1*sinh(a+-3c+x*(b+-3d))+(8b+24d)^-1*sinh(a+3c+x*(b+3d))+3*(-8d+8b)^-1*sinh(a+-1c+x*(b+-1d))+3*(8b+8d)^-1*sinh(a+c+x*(b+d)))
@test integrate(cosh(a+b*x)^2*cosh(c+d*x)^2, x) == :(1//4*x+(-16d+16b)^-1*sinh(-2c+2a+x*(-2d+2b))+(16b+16d)^-1*sinh(2a+2c+x*(2b+2d))+1//8*b^-1*sinh(2a+2*b*x)+1//8*d^-1*sinh(2c+2*d*x))
@test integrate(cosh(a+b*x)^2*cosh(c+d*x)^3, x) == :((-48d+32b)^-1*sinh(-3c+2a+x*(-3d+2b))+(32b+48d)^-1*sinh(2a+3c+x*(2b+3d))+3*(-16d+32b)^-1*sinh(-1c+2a+x*(-1d+2b))+3*(16d+32b)^-1*sinh(c+2a+x*(d+2b))+1//24*d^-1*sinh(3c+3*d*x)+3//8*d^-1*sinh(c+d*x))
@test integrate(cosh(a+b*x)^3*cosh(c+d*x)^3, x) == :((-96d+96b)^-1*sinh(-3c+3a+x*(-3d+3b))+(96b+96d)^-1*sinh(3a+3c+x*(3b+3d))+3*(-96d+32b)^-1*sinh(a+-3c+x*(b+-3d))+3*(-32d+96b)^-1*sinh(-1c+3a+x*(-1d+3b))+3*(32b+96d)^-1*sinh(a+3c+x*(b+3d))+3*(32d+96b)^-1*sinh(c+3a+x*(d+3b))+9*(-32d+32b)^-1*sinh(a+-1c+x*(b+-1d))+9*(32b+32d)^-1*sinh(a+c+x*(b+d)))
@test integrate(cosh(c+d*x)*sinh(a+b*x), x) == :((-2d+2b)^-1*cosh(a+-1c+x*(b+-1d))+(2b+2d)^-1*cosh(a+c+x*(b+d)))
@test integrate(cosh(c+d*x)^2*sinh(a+b*x), x) == :((-8d+4b)^-1*cosh(a+-2c+x*(b+-2d))+(4b+8d)^-1*cosh(a+2c+x*(b+2d))+(1/2)*b^-1*cosh(a+b*x))
@test integrate(cosh(c+d*x)^3*sinh(a+b*x), x) == :((-24d+8b)^-1*cosh(a+-3c+x*(b+-3d))+(8b+24d)^-1*cosh(a+3c+x*(b+3d))+3*(-8d+8b)^-1*cosh(a+-1c+x*(b+-1d))+3*(8b+8d)^-1*cosh(a+c+x*(b+d)))
@test integrate(sinh(a+b*x)^2*cosh(c+d*x), x) == :((-4d+8b)^-1*sinh(-1c+2a+x*(-1d+2b))+(4d+8b)^-1*sinh(c+2a+x*(d+2b))+-1//2*d^-1*sinh(c+d*x))
@test integrate(cosh(c+d*x)^2*sinh(a+b*x)^2, x) == :(-1//4*x+(-16d+16b)^-1*sinh(-2c+2a+x*(-2d+2b))+(16b+16d)^-1*sinh(2a+2c+x*(2b+2d))+-1//8*d^-1*sinh(2c+2*d*x)+1//8*b^-1*sinh(2a+2*b*x))
@test integrate(cosh(c+d*x)^3*sinh(a+b*x)^2, x) == :((-48d+32b)^-1*sinh(-3c+2a+x*(-3d+2b))+(32b+48d)^-1*sinh(2a+3c+x*(2b+3d))+3*(-16d+32b)^-1*sinh(-1c+2a+x*(-1d+2b))+3*(16d+32b)^-1*sinh(c+2a+x*(d+2b))+-3//8*d^-1*sinh(c+d*x)+-1//24*d^-1*sinh(3c+3*d*x))
@test integrate(sinh(a+b*x)^3*cosh(c+d*x), x) == :((-8d+24b)^-1*cosh(-1c+3a+x*(-1d+3b))+(8d+24b)^-1*cosh(c+3a+x*(d+3b))+-3*(-8d+8b)^-1*cosh(a+-1c+x*(b+-1d))+-3*(8b+8d)^-1*cosh(a+c+x*(b+d)))
@test integrate(cosh(c+d*x)^2*sinh(a+b*x)^3, x) == :((-32d+48b)^-1*cosh(-2c+3a+x*(-2d+3b))+(32d+48b)^-1*cosh(2c+3a+x*(2d+3b))+-3*(-32d+16b)^-1*cosh(a+-2c+x*(b+-2d))+-3*(16b+32d)^-1*cosh(a+2c+x*(b+2d))+-3//8*b^-1*cosh(a+b*x)+1//24*b^-1*cosh(3a+3*b*x))
@test integrate(cosh(c+d*x)^3*sinh(a+b*x)^3, x) == :((-96d+96b)^-1*cosh(-3c+3a+x*(-3d+3b))+(96b+96d)^-1*cosh(3a+3c+x*(3b+3d))+-9*(-32d+32b)^-1*cosh(a+-1c+x*(b+-1d))+-9*(32b+32d)^-1*cosh(a+c+x*(b+d))+-3*(-96d+32b)^-1*cosh(a+-3c+x*(b+-3d))+-3*(32b+96d)^-1*cosh(a+3c+x*(b+3d))+3*(-32d+96b)^-1*cosh(-1c+3a+x*(-1d+3b))+3*(32d+96b)^-1*cosh(c+3a+x*(d+3b)))
@test integrate(sinh(x)*sinh(3x), x) == :(-1//4*sinh(2x)+1//8*sinh(4x))
@test integrate(sinh(x)*sinh(4x), x) == :(-1//6*sinh(3x)+1//10*sinh(5x))
@test integrate(sinh(x)*sinh(m*x), x) == :((2+2m)^-1*sinh(x*(1+m))+-1*(2+-2m)^-1*sinh(x*(1+-1m)))
@test integrate(cosh(2x)*sinh(x), x) == :(-1//2*cosh(x)+1//6*cosh(3x))
@test integrate(cosh(3x)*sinh(x), x) == :(-1//4*cosh(2x)+1//8*cosh(4x))
@test integrate(cosh(4x)*sinh(x), x) == :(-1//6*cosh(3x)+1//10*cosh(5x))
@test integrate(cosh(m*x)*sinh(x), x) == :((2+-2m)^-1*cosh(x*(1+-1m))+(2+2m)^-1*cosh(x*(1+m)))
@test integrate(sinh(x)*tanh(2x), x) == :(-1//2*2^(1/2)*arctan(2^(1/2)*sinh(x))+sinh(x))
@test integrate(sinh(x)*tanh(3x), x) == :(-1//3*arctan(2*sinh(x))+-1//3*arctan(sinh(x))+sinh(x))
@test integrate(sinh(x)*tanh(4x), x) == :(-1//4*(2+2^(1/2))^(1/2)*arctan(2*(2+2^(1/2))^-1//2*sinh(x))+-1//4*(2+-1*2^(1/2))^(1/2)*arctan(2*(2+-1*2^(1/2))^-1//2*sinh(x))+sinh(x))
@test integrate(sinh(x)*tanh(5x), x) == :(-1//5*arctan(sinh(x))+-1//5*(3//2+(1/2)*5^(1/2))^(1/2)*arctan(2*2^(1/2)*(3+5^(1/2))^-1//2*sinh(x))+-1//5*(3//2+-1//2*5^(1/2))^(1/2)*arctan((6+2*5^(1/2))^(1/2)*sinh(x))+sinh(x))
@test integrate(sinh(x)*tanh(6x), x) == :(-1//6*2^(1/2)*arctan(2^(1/2)*sinh(x))+-1//6*(2+3^(1/2))^(1/2)*arctan(2*(2+3^(1/2))^-1//2*sinh(x))+-1//6*(2+-1*3^(1/2))^(1/2)*arctan(2*(2+-1*3^(1/2))^-1//2*sinh(x))+sinh(x))
@test integrate(coth(2x)*sinh(x), x) == :(-1//2*arctan(sinh(x))+sinh(x))
@test integrate(coth(3x)*sinh(x), x) == :(-1//3*3^(1/2)*arctan(2//3*3^(1/2)*sinh(x))+sinh(x))
@test integrate(coth(4x)*sinh(x), x) == :(-1//4*arctan(sinh(x))+-1//4*2^(1/2)*arctan(2^(1/2)*sinh(x))+sinh(x))
@test integrate(coth(5x)*sinh(x), x) == :(-1//5*(5//2+(1/2)*5^(1/2))^(1/2)*arctan(2*2^(1/2)*(5+5^(1/2))^-1//2*sinh(x))+-1//5*(5//2+-1//2*5^(1/2))^(1/2)*arctan((2+2//5*5^(1/2))^(1/2)*sinh(x))+sinh(x))
@test integrate(coth(6x)*sinh(x), x) == :(-1//6*arctan(2*sinh(x))+-1//6*arctan(sinh(x))+-1//6*3^(1/2)*arctan(2//3*3^(1/2)*sinh(x))+sinh(x))
@test integrate(sech(2x)*sinh(x), x) == :(-1//2*2^(1/2)*arctanh(2^(1/2)*cosh(x)))
@test integrate(sech(3x)*sinh(x), x) == :(-1//3*log(cosh(x))+1//6*log(3+-4*cosh(x)^2))
@test integrate(sech(4x)*sinh(x), x) == :((1/2)*(4+-2*2^(1/2))^-1//2*arctanh(2*(2+-1*2^(1/2))^-1//2*cosh(x))+-1//2*(4+2*2^(1/2))^-1//2*arctanh(2*(2+2^(1/2))^-1//2*cosh(x)))
@test integrate(sech(5x)*sinh(x), x) == :(1//5*log(cosh(x))+-1*(1//20+-1//20*5^(1/2))*log(5+5^(1/2)+-8*cosh(x)^2)+-1*(1//20+1//20*5^(1/2))*log(5+-1*5^(1/2)+-8*cosh(x)^2))
@test integrate(sech(6x)*sinh(x), x) == :(-1//6*(2+3^(1/2))^-1//2*arctanh(2*(2+3^(1/2))^-1//2*cosh(x))+-1//6*(2+-1*3^(1/2))^-1//2*arctanh(2*(2+-1*3^(1/2))^-1//2*cosh(x))+1//6*2^(1/2)*arctanh(2^(1/2)*cosh(x)))
@test integrate(csch(2x)*sinh(x), x) == :((1/2)*arctan(sinh(x)))
@test integrate(csch(3x)*sinh(x), x) == :(1//3*3^(1/2)*arctan(1//3*3^(1/2)*tanh(x)))
@test integrate(csch(4x)*sinh(x), x) == :(-1//4*arctan(sinh(x))+1//4*2^(1/2)*arctan(2^(1/2)*sinh(x)))
@test integrate(csch(5x)*sinh(x), x) == :(-1//5*(5//2+(1/2)*5^(1/2))^(1/2)*arctan((5+2*5^(1/2))^-1//2*tanh(x))+1//5*(5//2+-1//2*5^(1/2))^(1/2)*arctan((5+-2*5^(1/2))^-1//2*tanh(x)))
@test integrate(csch(6x)*sinh(x), x) == :(1//6*arctan(2*sinh(x))+1//6*arctan(sinh(x))+-1//6*3^(1/2)*arctan(2//3*3^(1/2)*sinh(x)))
@test integrate(cosh(x)*sinh(3x), x) == :(1//4*cosh(2x)+1//8*cosh(4x))
@test integrate(cosh(x)*sinh(4x), x) == :(1//6*cosh(3x)+1//10*cosh(5x))
@test integrate(cosh(x)*sinh(m*x), x) == :((2+2m)^-1*cosh(x*(1+m))+-1*(2+-2m)^-1*cosh(x*(1+-1m)))
@test integrate(cosh(x)*cosh(2x), x) == :((1/2)*sinh(x)+1//6*sinh(3x))
@test integrate(cosh(x)*cosh(3x), x) == :(1//4*sinh(2x)+1//8*sinh(4x))
@test integrate(cosh(x)*cosh(4x), x) == :(1//6*sinh(3x)+1//10*sinh(5x))
@test integrate(cosh(x)*cosh(m*x), x) == :((2+-2m)^-1*sinh(x*(1+-1m))+(2+2m)^-1*sinh(x*(1+m)))
@test integrate(cosh(x)*tanh(2x), x) == :(-1//2*2^(1/2)*arctanh(2^(1/2)*cosh(x))+cosh(x))
@test integrate(cosh(x)*tanh(3x), x) == :(-1//3*3^(1/2)*arctanh(2//3*3^(1/2)*cosh(x))+cosh(x))
@test integrate(cosh(x)*tanh(4x), x) == :(-1//4*(2+2^(1/2))^(1/2)*arctanh(2*(2+2^(1/2))^-1//2*cosh(x))+-1//4*(2+-1*2^(1/2))^(1/2)*arctanh(2*(2+-1*2^(1/2))^-1//2*cosh(x))+cosh(x))
@test integrate(cosh(x)*tanh(5x), x) == :(-1//5*(5//2+(1/2)*5^(1/2))^(1/2)*arctanh(2*2^(1/2)*(5+5^(1/2))^-1//2*cosh(x))+-1//5*(5//2+-1//2*5^(1/2))^(1/2)*arctanh((2+2//5*5^(1/2))^(1/2)*cosh(x))+cosh(x))
@test integrate(cosh(x)*tanh(6x), x) == :(-1//6*2^(1/2)*arctanh(2^(1/2)*cosh(x))+-1//6*(2+3^(1/2))^(1/2)*arctanh(2*(2+3^(1/2))^-1//2*cosh(x))+-1//6*(2+-1*3^(1/2))^(1/2)*arctanh(2*(2+-1*3^(1/2))^-1//2*cosh(x))+cosh(x))
@test integrate(cosh(x)*coth(2x), x) == :(-1//2*arctanh(cosh(x))+cosh(x))
@test integrate(cosh(x)*coth(3x), x) == :(-1//6*log(1+2*cosh(x))+-1//6*log(1+cosh(x))+1//6*log(1+-1*cosh(x))+1//6*log(1+-2*cosh(x))+cosh(x))
@test integrate(cosh(x)*coth(4x), x) == :(-1//4*arctanh(cosh(x))+-1//4*2^(1/2)*arctanh(2^(1/2)*cosh(x))+cosh(x))
@test integrate(cosh(x)*coth(5x), x) == :(-1//5*arctanh(cosh(x))+(1//20+-1//20*5^(1/2))*log(1+-1*5^(1/2)+-4*cosh(x))+(1//20+1//20*5^(1/2))*log(1+5^(1/2)+-4*cosh(x))+-1*(1//20+-1//20*5^(1/2))*log(1+-1*5^(1/2)+4*cosh(x))+-1*(1//20+1//20*5^(1/2))*log(1+5^(1/2)+4*cosh(x))+cosh(x))
@test integrate(cosh(x)*coth(6x), x) == :(-1//6*arctanh(2*cosh(x))+-1//6*arctanh(cosh(x))+-1//6*3^(1/2)*arctanh(2//3*3^(1/2)*cosh(x))+cosh(x))
@test integrate(cosh(x)*sech(2x), x) == :((1/2)*2^(1/2)*arctan(2^(1/2)*sinh(x)))
@test integrate(cosh(x)*sech(3x), x) == :(1//3*3^(1/2)*arctan(3^(1/2)*tanh(x)))
@test integrate(cosh(x)*sech(4x), x) == :((1/2)*(4+-2*2^(1/2))^-1//2*arctan(2*(2+-1*2^(1/2))^-1//2*sinh(x))+-1//2*(4+2*2^(1/2))^-1//2*arctan(2*(2+2^(1/2))^-1//2*sinh(x)))
@test integrate(cosh(x)*sech(5x), x) == :(-1//5*(5//2+-1//2*5^(1/2))^(1/2)*arctan((5+-2*5^(1/2))^(1/2)*tanh(x))+1//5*(5//2+(1/2)*5^(1/2))^(1/2)*arctan((5+2*5^(1/2))^(1/2)*tanh(x)))
@test integrate(cosh(x)*sech(6x), x) == :(-1//6*2^(1/2)*arctan(2^(1/2)*sinh(x))+1//6*(2+3^(1/2))^-1//2*arctan(2*(2+3^(1/2))^-1//2*sinh(x))+1//6*(2+-1*3^(1/2))^-1//2*arctan(2*(2+-1*3^(1/2))^-1//2*sinh(x)))
@test integrate(cosh(x)*csch(2x), x) == :(-1//2*arctanh(cosh(x)))
@test integrate(cosh(x)*csch(3x), x) == :(-1//6*log(3+4*sinh(x)^2)+1//3*log(sinh(x)))
@test integrate(cosh(x)*csch(4x), x) == :(-1//4*arctanh(cosh(x))+1//4*2^(1/2)*arctanh(2^(1/2)*cosh(x)))
@test integrate(cosh(x)*csch(5x), x) == :(1//5*log(sinh(x))+-1*(1//20+-1//20*5^(1/2))*log(5+5^(1/2)+8*sinh(x)^2)+-1*(1//20+1//20*5^(1/2))*log(5+-1*5^(1/2)+8*sinh(x)^2))
@test integrate(cosh(x)*csch(6x), x) == :(-1//6*arctanh(2*cosh(x))+-1//6*arctanh(cosh(x))+1//6*3^(1/2)*arctanh(2//3*3^(1/2)*cosh(x)))
@test integrate(x^m*cosh(a+b*x)*sinh(a+b*x), x) == :(2^(-3+-1m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,2*b*x)*exp(-2a)+2^(-3+-1m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-2*b*x)*exp(2a))
@test integrate(x^3*cosh(a+b*x)*sinh(a+b*x), x) == :(1//4*b^-1*x^3+3//8*x*b^-3+(1/2)*b^-1*x^3*sinh(a+b*x)^2+-3//8*b^-4*cosh(a+b*x)*sinh(a+b*x)+3//4*x*b^-3*sinh(a+b*x)^2+-3//4*b^-2*x^2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(x^2*cosh(a+b*x)*sinh(a+b*x), x) == :(1//4*b^-1*x^2+1//4*b^-3*sinh(a+b*x)^2+(1/2)*b^-1*x^2*sinh(a+b*x)^2+-1//2*x*b^-2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(x*cosh(a+b*x)*sinh(a+b*x), x) == :(1//4*x*b^-1+(1/2)*x*b^-1*sinh(a+b*x)^2+-1//4*b^-2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(cosh(a+b*x)*sinh(a+b*x), x) == :((1/2)*b^-1*sinh(a+b*x)^2)
@test integrate(x^-1*cosh(a+b*x)*sinh(a+b*x), x) == :((1/2)*cosh(2a)*sinhintegral(2*b*x)+(1/2)*coshintegral(2*b*x)*sinh(2a))
@test integrate(x^-2*cosh(a+b*x)*sinh(a+b*x), x) == :(-1//2*x^-1*sinh(2a+2*b*x)+b*cosh(2a)*coshintegral(2*b*x)+b*sinh(2a)*sinhintegral(2*b*x))
@test integrate(x^-3*cosh(a+b*x)*sinh(a+b*x), x) == :(-1//4*x^-2*sinh(2a+2*b*x)+b^2*cosh(2a)*sinhintegral(2*b*x)+b^2*coshintegral(2*b*x)*sinh(2a)+-1//2*b*x^-1*cosh(2a+2*b*x))
@test integrate(x^-4*cosh(a+b*x)*sinh(a+b*x), x) == :(-1//6*x^-3*sinh(2a+2*b*x)+-1//3*b^2*x^-1*sinh(2a+2*b*x)+-1//6*b*x^-2*cosh(2a+2*b*x)+2//3*b^3*cosh(2a)*coshintegral(2*b*x)+2//3*b^3*sinh(2a)*sinhintegral(2*b*x))
@test integrate(x^m*cosh(a+b*x)^2*sinh(a+b*x), x) == :(1//8*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,b*x)*exp(-1a)+1//8*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-1*b*x)*exp(a)+1//8*3^(-1+-1m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,3*b*x)*exp(-3a)+1//8*3^(-1+-1m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-3*b*x)*exp(3a))
@test integrate(x^3*cosh(a+b*x)^2*sinh(a+b*x), x) == :(-14//9*b^-4*sinh(a+b*x)+-2//27*b^-4*sinh(a+b*x)^3+-2//3*b^-2*x^2*sinh(a+b*x)+1//3*b^-1*x^3*cosh(a+b*x)^3+2//9*x*b^-3*cosh(a+b*x)^3+4//3*x*b^-3*cosh(a+b*x)+-1//3*b^-2*x^2*cosh(a+b*x)^2*sinh(a+b*x))
@test integrate(x^2*cosh(a+b*x)^2*sinh(a+b*x), x) == :(2//27*b^-3*cosh(a+b*x)^3+4//9*b^-3*cosh(a+b*x)+-4//9*x*b^-2*sinh(a+b*x)+1//3*b^-1*x^2*cosh(a+b*x)^3+-2//9*x*b^-2*cosh(a+b*x)^2*sinh(a+b*x))
@test integrate(x*cosh(a+b*x)^2*sinh(a+b*x), x) == :(-1//3*b^-2*sinh(a+b*x)+-1//9*b^-2*sinh(a+b*x)^3+1//3*x*b^-1*cosh(a+b*x)^3)
@test integrate(cosh(a+b*x)^2*sinh(a+b*x), x) == :(1//3*b^-1*cosh(a+b*x)^3)
@test integrate(x^-1*cosh(a+b*x)^2*sinh(a+b*x), x) == :(1//4*cosh(a)*sinhintegral(b*x)+1//4*cosh(3a)*sinhintegral(3*b*x)+1//4*coshintegral(b*x)*sinh(a)+1//4*coshintegral(3*b*x)*sinh(3a))
@test integrate(x^-2*cosh(a+b*x)^2*sinh(a+b*x), x) == :(-1//4*x^-1*sinh(a+b*x)+-1//4*x^-1*sinh(3a+3*b*x)+1//4*b*cosh(a)*coshintegral(b*x)+1//4*b*sinh(a)*sinhintegral(b*x)+3//4*b*cosh(3a)*coshintegral(3*b*x)+3//4*b*sinh(3a)*sinhintegral(3*b*x))
@test integrate(x^-3*cosh(a+b*x)^2*sinh(a+b*x), x) == :(-1//8*x^-2*sinh(a+b*x)+-1//8*x^-2*sinh(3a+3*b*x)+-3//8*b*x^-1*cosh(3a+3*b*x)+-1//8*b*x^-1*cosh(a+b*x)+1//8*b^2*cosh(a)*sinhintegral(b*x)+1//8*b^2*coshintegral(b*x)*sinh(a)+9//8*b^2*cosh(3a)*sinhintegral(3*b*x)+9//8*b^2*coshintegral(3*b*x)*sinh(3a))
@test integrate(x^-4*cosh(a+b*x)^2*sinh(a+b*x), x) == :(-1//12*x^-3*sinh(a+b*x)+-1//12*x^-3*sinh(3a+3*b*x)+-3//8*b^2*x^-1*sinh(3a+3*b*x)+-1//8*b*x^-2*cosh(3a+3*b*x)+-1//24*b*x^-2*cosh(a+b*x)+-1//24*b^2*x^-1*sinh(a+b*x)+1//24*b^3*cosh(a)*coshintegral(b*x)+1//24*b^3*sinh(a)*sinhintegral(b*x)+9//8*b^3*cosh(3a)*coshintegral(3*b*x)+9//8*b^3*sinh(3a)*sinhintegral(3*b*x))
@test integrate(x^m*cosh(a+b*x)^3*sinh(a+b*x), x) == :(2^(-6+-2m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,4*b*x)*exp(-4a)+2^(-6+-2m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-4*b*x)*exp(4a)+2^(-4+-1m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,2*b*x)*exp(-2a)+2^(-4+-1m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-2*b*x)*exp(2a))
@test integrate(x^3*cosh(a+b*x)^3*sinh(a+b*x), x) == :(-45//256*x*b^-3+-3//32*b^-1*x^3+-45//256*b^-4*cosh(a+b*x)*sinh(a+b*x)+-3//128*b^-4*cosh(a+b*x)^3*sinh(a+b*x)+1//4*b^-1*x^3*cosh(a+b*x)^4+3//32*x*b^-3*cosh(a+b*x)^4+9//32*x*b^-3*cosh(a+b*x)^2+-9//32*b^-2*x^2*cosh(a+b*x)*sinh(a+b*x)+-3//16*b^-2*x^2*cosh(a+b*x)^3*sinh(a+b*x))
@test integrate(x^2*cosh(a+b*x)^3*sinh(a+b*x), x) == :(-3//32*b^-1*x^2+1//32*b^-3*cosh(a+b*x)^4+3//32*b^-3*cosh(a+b*x)^2+1//4*b^-1*x^2*cosh(a+b*x)^4+-3//16*x*b^-2*cosh(a+b*x)*sinh(a+b*x)+-1//8*x*b^-2*cosh(a+b*x)^3*sinh(a+b*x))
@test integrate(x*cosh(a+b*x)^3*sinh(a+b*x), x) == :(-3//32*x*b^-1+-3//32*b^-2*cosh(a+b*x)*sinh(a+b*x)+-1//16*b^-2*cosh(a+b*x)^3*sinh(a+b*x)+1//4*x*b^-1*cosh(a+b*x)^4)
@test integrate(cosh(a+b*x)^3*sinh(a+b*x), x) == :(1//4*b^-1*cosh(a+b*x)^4)
@test integrate(x^-1*cosh(a+b*x)^3*sinh(a+b*x), x) == :(1//4*cosh(2a)*sinhintegral(2*b*x)+1//4*coshintegral(2*b*x)*sinh(2a)+1//8*cosh(4a)*sinhintegral(4*b*x)+1//8*coshintegral(4*b*x)*sinh(4a))
@test integrate(x^-2*cosh(a+b*x)^3*sinh(a+b*x), x) == :(-1//4*x^-1*sinh(2a+2*b*x)+-1//8*x^-1*sinh(4a+4*b*x)+(1/2)*b*cosh(2a)*coshintegral(2*b*x)+(1/2)*b*cosh(4a)*coshintegral(4*b*x)+(1/2)*b*sinh(2a)*sinhintegral(2*b*x)+(1/2)*b*sinh(4a)*sinhintegral(4*b*x))
@test integrate(x^-3*cosh(a+b*x)^3*sinh(a+b*x), x) == :(-1//8*x^-2*sinh(2a+2*b*x)+-1//16*x^-2*sinh(4a+4*b*x)+b^2*cosh(4a)*sinhintegral(4*b*x)+b^2*coshintegral(4*b*x)*sinh(4a)+(1/2)*b^2*cosh(2a)*sinhintegral(2*b*x)+(1/2)*b^2*coshintegral(2*b*x)*sinh(2a)+-1//4*b*x^-1*cosh(2a+2*b*x)+-1//4*b*x^-1*cosh(4a+4*b*x))
@test integrate(x^-4*cosh(a+b*x)^3*sinh(a+b*x), x) == :(-1//12*x^-3*sinh(2a+2*b*x)+-1//24*x^-3*sinh(4a+4*b*x)+-1//3*b^2*x^-1*sinh(4a+4*b*x)+-1//6*b^2*x^-1*sinh(2a+2*b*x)+-1//12*b*x^-2*cosh(2a+2*b*x)+-1//12*b*x^-2*cosh(4a+4*b*x)+1//3*b^3*cosh(2a)*coshintegral(2*b*x)+1//3*b^3*sinh(2a)*sinhintegral(2*b*x)+4//3*b^3*cosh(4a)*coshintegral(4*b*x)+4//3*b^3*sinh(4a)*sinhintegral(4*b*x))
@test integrate(x^-1*cosh(x)*sinh(x), x) == :((1/2)*sinhintegral(2x))
@test integrate(x^-2*cosh(x)*sinh(x), x) == :(-1//2*x^-1*sinh(2x)+coshintegral(2x))
@test integrate(x^-3*cosh(x)*sinh(x), x) == :(-1//2*x^-1*cosh(2x)+-1//4*x^-2*sinh(2x)+sinhintegral(2x))
@test integrate(x^m*sinh(a+b*x)^2*cosh(a+b*x), x) == :(-1//8*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-1*b*x)*exp(a)+1//8*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,b*x)*exp(-1a)+-1//8*3^(-1+-1m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,3*b*x)*exp(-3a)+1//8*3^(-1+-1m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-3*b*x)*exp(3a))
@test integrate(x^3*sinh(a+b*x)^2*cosh(a+b*x), x) == :(-2//27*b^-4*cosh(a+b*x)^3+14//9*b^-4*cosh(a+b*x)+-4//3*x*b^-3*sinh(a+b*x)+1//3*b^-1*x^3*sinh(a+b*x)^3+2//3*b^-2*x^2*cosh(a+b*x)+2//9*x*b^-3*sinh(a+b*x)^3+-1//3*b^-2*x^2*sinh(a+b*x)^2*cosh(a+b*x))
@test integrate(x^2*sinh(a+b*x)^2*cosh(a+b*x), x) == :(-4//9*b^-3*sinh(a+b*x)+2//27*b^-3*sinh(a+b*x)^3+1//3*b^-1*x^2*sinh(a+b*x)^3+4//9*x*b^-2*cosh(a+b*x)+-2//9*x*b^-2*sinh(a+b*x)^2*cosh(a+b*x))
@test integrate(x*sinh(a+b*x)^2*cosh(a+b*x), x) == :(-1//9*b^-2*cosh(a+b*x)^3+1//3*b^-2*cosh(a+b*x)+1//3*x*b^-1*sinh(a+b*x)^3)
@test integrate(sinh(a+b*x)^2*cosh(a+b*x), x) == :(1//3*b^-1*sinh(a+b*x)^3)
@test integrate(x^-1*sinh(a+b*x)^2*cosh(a+b*x), x) == :(-1//4*cosh(a)*coshintegral(b*x)+-1//4*sinh(a)*sinhintegral(b*x)+1//4*cosh(3a)*coshintegral(3*b*x)+1//4*sinh(3a)*sinhintegral(3*b*x))
@test integrate(x^-2*sinh(a+b*x)^2*cosh(a+b*x), x) == :(-1//4*x^-1*cosh(3a+3*b*x)+1//4*x^-1*cosh(a+b*x)+-1//4*b*cosh(a)*sinhintegral(b*x)+-1//4*b*coshintegral(b*x)*sinh(a)+3//4*b*cosh(3a)*sinhintegral(3*b*x)+3//4*b*coshintegral(3*b*x)*sinh(3a))
@test integrate(x^-3*sinh(a+b*x)^2*cosh(a+b*x), x) == :(-1//8*x^-2*cosh(3a+3*b*x)+1//8*x^-2*cosh(a+b*x)+-3//8*b*x^-1*sinh(3a+3*b*x)+-1//8*b^2*cosh(a)*coshintegral(b*x)+-1//8*b^2*sinh(a)*sinhintegral(b*x)+1//8*b*x^-1*sinh(a+b*x)+9//8*b^2*cosh(3a)*coshintegral(3*b*x)+9//8*b^2*sinh(3a)*sinhintegral(3*b*x))
@test integrate(x^-4*sinh(a+b*x)^2*cosh(a+b*x), x) == :(-1//12*x^-3*cosh(3a+3*b*x)+1//12*x^-3*cosh(a+b*x)+-3//8*b^2*x^-1*cosh(3a+3*b*x)+-1//8*b*x^-2*sinh(3a+3*b*x)+-1//24*b^3*cosh(a)*sinhintegral(b*x)+-1//24*b^3*coshintegral(b*x)*sinh(a)+1//24*b*x^-2*sinh(a+b*x)+1//24*b^2*x^-1*cosh(a+b*x)+9//8*b^3*cosh(3a)*sinhintegral(3*b*x)+9//8*b^3*coshintegral(3*b*x)*sinh(3a))
@test integrate(x^m*cosh(a+b*x)^2*sinh(a+b*x)^2, x) == :(-1*x^(1+m)*(8+8m)^-1+2^(-6+-2m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-4*b*x)*exp(4a)+-1*2^(-6+-2m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,4*b*x)*exp(-4a))
@test integrate(x^3*cosh(a+b*x)^2*sinh(a+b*x)^2, x) == :(-1//32*x^4+-3//1024*b^-4*cosh(4a+4*b*x)+-3//128*b^-2*x^2*cosh(4a+4*b*x)+1//32*b^-1*x^3*sinh(4a+4*b*x)+3//256*x*b^-3*sinh(4a+4*b*x))
@test integrate(x^2*cosh(a+b*x)^2*sinh(a+b*x)^2, x) == :(-1//24*x^3+1//256*b^-3*sinh(4a+4*b*x)+-1//64*x*b^-2*cosh(4a+4*b*x)+1//32*b^-1*x^2*sinh(4a+4*b*x))
@test integrate(x*cosh(a+b*x)^2*sinh(a+b*x)^2, x) == :(-1//16*x^2+-1//128*b^-2*cosh(4a+4*b*x)+1//32*x*b^-1*sinh(4a+4*b*x))
@test integrate(cosh(a+b*x)^2*sinh(a+b*x)^2, x) == :(-1//8*x+-1//8*b^-1*cosh(a+b*x)*sinh(a+b*x)+1//4*b^-1*cosh(a+b*x)^3*sinh(a+b*x))
@test integrate(x^-1*cosh(a+b*x)^2*sinh(a+b*x)^2, x) == :(-1//8*log(x)+1//8*cosh(4a)*coshintegral(4*b*x)+1//8*sinh(4a)*sinhintegral(4*b*x))
@test integrate(x^-2*cosh(a+b*x)^2*sinh(a+b*x)^2, x) == :(1//8*x^-1+-1//8*x^-1*cosh(4a+4*b*x)+(1/2)*b*cosh(4a)*sinhintegral(4*b*x)+(1/2)*b*coshintegral(4*b*x)*sinh(4a))
@test integrate(x^-3*cosh(a+b*x)^2*sinh(a+b*x)^2, x) == :(1//16*x^-2+-1//16*x^-2*cosh(4a+4*b*x)+b^2*cosh(4a)*coshintegral(4*b*x)+b^2*sinh(4a)*sinhintegral(4*b*x)+-1//4*b*x^-1*sinh(4a+4*b*x))
@test integrate(x^-4*cosh(a+b*x)^2*sinh(a+b*x)^2, x) == :(1//24*x^-3+-1//24*x^-3*cosh(4a+4*b*x)+-1//3*b^2*x^-1*cosh(4a+4*b*x)+-1//12*b*x^-2*sinh(4a+4*b*x)+4//3*b^3*cosh(4a)*sinhintegral(4*b*x)+4//3*b^3*coshintegral(4*b*x)*sinh(4a))
@test integrate(x^m*cosh(a+b*x)^3*sinh(a+b*x)^2, x) == :(-1//16*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-1*b*x)*exp(a)+1//16*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,b*x)*exp(-1a)+-1//32*3^(-1+-1m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,3*b*x)*exp(-3a)+-1//32*5^(-1+-1m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,5*b*x)*exp(-5a)+1//32*3^(-1+-1m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-3*b*x)*exp(3a)+1//32*5^(-1+-1m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-5*b*x)*exp(5a))
@test integrate(x^3*cosh(a+b*x)^3*sinh(a+b*x)^2, x) == :(-3//5000*b^-4*cosh(5a+5*b*x)+-1//216*b^-4*cosh(3a+3*b*x)+3//4*b^-4*cosh(a+b*x)+-3//4*x*b^-3*sinh(a+b*x)+-3//400*b^-2*x^2*cosh(5a+5*b*x)+-1//8*b^-1*x^3*sinh(a+b*x)+-1//48*b^-2*x^2*cosh(3a+3*b*x)+1//48*b^-1*x^3*sinh(3a+3*b*x)+1//72*x*b^-3*sinh(3a+3*b*x)+1//80*b^-1*x^3*sinh(5a+5*b*x)+3//8*b^-2*x^2*cosh(a+b*x)+3//1000*x*b^-3*sinh(5a+5*b*x))
@test integrate(x^2*cosh(a+b*x)^3*sinh(a+b*x)^2, x) == :(-1//4*b^-3*sinh(a+b*x)+1//216*b^-3*sinh(3a+3*b*x)+1//1000*b^-3*sinh(5a+5*b*x)+-1//8*b^-1*x^2*sinh(a+b*x)+-1//72*x*b^-2*cosh(3a+3*b*x)+-1//200*x*b^-2*cosh(5a+5*b*x)+1//4*x*b^-2*cosh(a+b*x)+1//48*b^-1*x^2*sinh(3a+3*b*x)+1//80*b^-1*x^2*sinh(5a+5*b*x))
@test integrate(x*cosh(a+b*x)^3*sinh(a+b*x)^2, x) == :(-1//144*b^-2*cosh(3a+3*b*x)+-1//400*b^-2*cosh(5a+5*b*x)+1//8*b^-2*cosh(a+b*x)+-1//8*x*b^-1*sinh(a+b*x)+1//48*x*b^-1*sinh(3a+3*b*x)+1//80*x*b^-1*sinh(5a+5*b*x))
@test integrate(cosh(a+b*x)^3*sinh(a+b*x)^2, x) == :(1//3*b^-1*sinh(a+b*x)^3+1//5*b^-1*sinh(a+b*x)^5)
@test integrate(x^-1*cosh(a+b*x)^3*sinh(a+b*x)^2, x) == :(-1//8*cosh(a)*coshintegral(b*x)+-1//8*sinh(a)*sinhintegral(b*x)+1//16*cosh(3a)*coshintegral(3*b*x)+1//16*cosh(5a)*coshintegral(5*b*x)+1//16*sinh(3a)*sinhintegral(3*b*x)+1//16*sinh(5a)*sinhintegral(5*b*x))
@test integrate(x^-2*cosh(a+b*x)^3*sinh(a+b*x)^2, x) == :(-1//16*x^-1*cosh(3a+3*b*x)+-1//16*x^-1*cosh(5a+5*b*x)+1//8*x^-1*cosh(a+b*x)+-1//8*b*cosh(a)*sinhintegral(b*x)+-1//8*b*coshintegral(b*x)*sinh(a)+3//16*b*cosh(3a)*sinhintegral(3*b*x)+3//16*b*coshintegral(3*b*x)*sinh(3a)+5//16*b*cosh(5a)*sinhintegral(5*b*x)+5//16*b*coshintegral(5*b*x)*sinh(5a))
@test integrate(x^-3*cosh(a+b*x)^3*sinh(a+b*x)^2, x) == :(-1//32*x^-2*cosh(3a+3*b*x)+-1//32*x^-2*cosh(5a+5*b*x)+1//16*x^-2*cosh(a+b*x)+-5//32*b*x^-1*sinh(5a+5*b*x)+-3//32*b*x^-1*sinh(3a+3*b*x)+-1//16*b^2*cosh(a)*coshintegral(b*x)+-1//16*b^2*sinh(a)*sinhintegral(b*x)+1//16*b*x^-1*sinh(a+b*x)+9//32*b^2*cosh(3a)*coshintegral(3*b*x)+9//32*b^2*sinh(3a)*sinhintegral(3*b*x)+25//32*b^2*cosh(5a)*coshintegral(5*b*x)+25//32*b^2*sinh(5a)*sinhintegral(5*b*x))
@test integrate(x^-4*cosh(a+b*x)^3*sinh(a+b*x)^2, x) == :(-1//48*x^-3*cosh(3a+3*b*x)+-1//48*x^-3*cosh(5a+5*b*x)+1//24*x^-3*cosh(a+b*x)+-25//96*b^2*x^-1*cosh(5a+5*b*x)+-5//96*b*x^-2*sinh(5a+5*b*x)+-3//32*b^2*x^-1*cosh(3a+3*b*x)+-1//32*b*x^-2*sinh(3a+3*b*x)+-1//48*b^3*cosh(a)*sinhintegral(b*x)+-1//48*b^3*coshintegral(b*x)*sinh(a)+1//48*b*x^-2*sinh(a+b*x)+1//48*b^2*x^-1*cosh(a+b*x)+9//32*b^3*cosh(3a)*sinhintegral(3*b*x)+9//32*b^3*coshintegral(3*b*x)*sinh(3a)+125//96*b^3*cosh(5a)*sinhintegral(5*b*x)+125//96*b^3*coshintegral(5*b*x)*sinh(5a))
@test integrate(x^m*sinh(a+b*x)^3*cosh(a+b*x), x) == :(2^(-6+-2m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,4*b*x)*exp(-4a)+2^(-6+-2m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-4*b*x)*exp(4a)+-1*2^(-4+-1m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,2*b*x)*exp(-2a)+-1*2^(-4+-1m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-2*b*x)*exp(2a))
@test integrate(x^3*sinh(a+b*x)^3*cosh(a+b*x), x) == :(-45//256*x*b^-3+-3//32*b^-1*x^3+-9//32*x*b^-3*sinh(a+b*x)^2+-3//128*b^-4*sinh(a+b*x)^3*cosh(a+b*x)+1//4*b^-1*x^3*sinh(a+b*x)^4+3//32*x*b^-3*sinh(a+b*x)^4+45//256*b^-4*cosh(a+b*x)*sinh(a+b*x)+-3//16*b^-2*x^2*sinh(a+b*x)^3*cosh(a+b*x)+9//32*b^-2*x^2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(x^2*sinh(a+b*x)^3*cosh(a+b*x), x) == :(-3//32*b^-1*x^2+-3//32*b^-3*sinh(a+b*x)^2+1//32*b^-3*sinh(a+b*x)^4+1//4*b^-1*x^2*sinh(a+b*x)^4+-1//8*x*b^-2*sinh(a+b*x)^3*cosh(a+b*x)+3//16*x*b^-2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(x*sinh(a+b*x)^3*cosh(a+b*x), x) == :(-3//32*x*b^-1+-1//16*b^-2*sinh(a+b*x)^3*cosh(a+b*x)+1//4*x*b^-1*sinh(a+b*x)^4+3//32*b^-2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(sinh(a+b*x)^3*cosh(a+b*x), x) == :(1//4*b^-1*sinh(a+b*x)^4)
@test integrate(x^-1*sinh(a+b*x)^3*cosh(a+b*x), x) == :(-1//4*cosh(2a)*sinhintegral(2*b*x)+-1//4*coshintegral(2*b*x)*sinh(2a)+1//8*cosh(4a)*sinhintegral(4*b*x)+1//8*coshintegral(4*b*x)*sinh(4a))
@test integrate(x^-2*sinh(a+b*x)^3*cosh(a+b*x), x) == :(-1//8*x^-1*sinh(4a+4*b*x)+1//4*x^-1*sinh(2a+2*b*x)+(1/2)*b*cosh(4a)*coshintegral(4*b*x)+(1/2)*b*sinh(4a)*sinhintegral(4*b*x)+-1//2*b*cosh(2a)*coshintegral(2*b*x)+-1//2*b*sinh(2a)*sinhintegral(2*b*x))
@test integrate(x^-3*sinh(a+b*x)^3*cosh(a+b*x), x) == :(-1//16*x^-2*sinh(4a+4*b*x)+1//8*x^-2*sinh(2a+2*b*x)+b^2*cosh(4a)*sinhintegral(4*b*x)+b^2*coshintegral(4*b*x)*sinh(4a)+-1//2*b^2*cosh(2a)*sinhintegral(2*b*x)+-1//2*b^2*coshintegral(2*b*x)*sinh(2a)+-1//4*b*x^-1*cosh(4a+4*b*x)+1//4*b*x^-1*cosh(2a+2*b*x))
@test integrate(x^-4*sinh(a+b*x)^3*cosh(a+b*x), x) == :(-1//24*x^-3*sinh(4a+4*b*x)+1//12*x^-3*sinh(2a+2*b*x)+-1//3*b^2*x^-1*sinh(4a+4*b*x)+-1//3*b^3*cosh(2a)*coshintegral(2*b*x)+-1//3*b^3*sinh(2a)*sinhintegral(2*b*x)+-1//12*b*x^-2*cosh(4a+4*b*x)+1//6*b^2*x^-1*sinh(2a+2*b*x)+1//12*b*x^-2*cosh(2a+2*b*x)+4//3*b^3*cosh(4a)*coshintegral(4*b*x)+4//3*b^3*sinh(4a)*sinhintegral(4*b*x))
@test integrate(x^m*cosh(a+b*x)^2*sinh(a+b*x)^3, x) == :(-1//16*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,b*x)*exp(-1a)+-1//16*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-1*b*x)*exp(a)+-1//32*3^(-1+-1m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,3*b*x)*exp(-3a)+-1//32*3^(-1+-1m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-3*b*x)*exp(3a)+1//32*5^(-1+-1m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,5*b*x)*exp(-5a)+1//32*5^(-1+-1m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-5*b*x)*exp(5a))
@test integrate(x^3*cosh(a+b*x)^2*sinh(a+b*x)^3, x) == :(-3//5000*b^-4*sinh(5a+5*b*x)+1//216*b^-4*sinh(3a+3*b*x)+3//4*b^-4*sinh(a+b*x)+-3//4*x*b^-3*cosh(a+b*x)+-3//400*b^-2*x^2*sinh(5a+5*b*x)+-1//8*b^-1*x^3*cosh(a+b*x)+-1//48*b^-1*x^3*cosh(3a+3*b*x)+-1//72*x*b^-3*cosh(3a+3*b*x)+1//48*b^-2*x^2*sinh(3a+3*b*x)+1//80*b^-1*x^3*cosh(5a+5*b*x)+3//8*b^-2*x^2*sinh(a+b*x)+3//1000*x*b^-3*cosh(5a+5*b*x))
@test integrate(x^2*cosh(a+b*x)^2*sinh(a+b*x)^3, x) == :(-1//4*b^-3*cosh(a+b*x)+-1//216*b^-3*cosh(3a+3*b*x)+1//1000*b^-3*cosh(5a+5*b*x)+-1//8*b^-1*x^2*cosh(a+b*x)+-1//48*b^-1*x^2*cosh(3a+3*b*x)+-1//200*x*b^-2*sinh(5a+5*b*x)+1//4*x*b^-2*sinh(a+b*x)+1//72*x*b^-2*sinh(3a+3*b*x)+1//80*b^-1*x^2*cosh(5a+5*b*x))
@test integrate(x*cosh(a+b*x)^2*sinh(a+b*x)^3, x) == :(-1//400*b^-2*sinh(5a+5*b*x)+1//8*b^-2*sinh(a+b*x)+1//144*b^-2*sinh(3a+3*b*x)+-1//8*x*b^-1*cosh(a+b*x)+-1//48*x*b^-1*cosh(3a+3*b*x)+1//80*x*b^-1*cosh(5a+5*b*x))
@test integrate(cosh(a+b*x)^2*sinh(a+b*x)^3, x) == :(-1//3*b^-1*cosh(a+b*x)^3+1//5*b^-1*cosh(a+b*x)^5)
@test integrate(x^-1*cosh(a+b*x)^2*sinh(a+b*x)^3, x) == :(-1//8*cosh(a)*sinhintegral(b*x)+-1//8*coshintegral(b*x)*sinh(a)+-1//16*cosh(3a)*sinhintegral(3*b*x)+-1//16*coshintegral(3*b*x)*sinh(3a)+1//16*cosh(5a)*sinhintegral(5*b*x)+1//16*coshintegral(5*b*x)*sinh(5a))
@test integrate(x^-2*cosh(a+b*x)^2*sinh(a+b*x)^3, x) == :(-1//16*x^-1*sinh(5a+5*b*x)+1//8*x^-1*sinh(a+b*x)+1//16*x^-1*sinh(3a+3*b*x)+-3//16*b*cosh(3a)*coshintegral(3*b*x)+-3//16*b*sinh(3a)*sinhintegral(3*b*x)+-1//8*b*cosh(a)*coshintegral(b*x)+-1//8*b*sinh(a)*sinhintegral(b*x)+5//16*b*cosh(5a)*coshintegral(5*b*x)+5//16*b*sinh(5a)*sinhintegral(5*b*x))
@test integrate(x^-3*cosh(a+b*x)^2*sinh(a+b*x)^3, x) == :(-1//32*x^-2*sinh(5a+5*b*x)+1//16*x^-2*sinh(a+b*x)+1//32*x^-2*sinh(3a+3*b*x)+-9//32*b^2*cosh(3a)*sinhintegral(3*b*x)+-9//32*b^2*coshintegral(3*b*x)*sinh(3a)+-5//32*b*x^-1*cosh(5a+5*b*x)+-1//16*b^2*cosh(a)*sinhintegral(b*x)+-1//16*b^2*coshintegral(b*x)*sinh(a)+1//16*b*x^-1*cosh(a+b*x)+3//32*b*x^-1*cosh(3a+3*b*x)+25//32*b^2*cosh(5a)*sinhintegral(5*b*x)+25//32*b^2*coshintegral(5*b*x)*sinh(5a))
@test integrate(x^-4*cosh(a+b*x)^2*sinh(a+b*x)^3, x) == :(-1//48*x^-3*sinh(5a+5*b*x)+1//24*x^-3*sinh(a+b*x)+1//48*x^-3*sinh(3a+3*b*x)+-25//96*b^2*x^-1*sinh(5a+5*b*x)+-9//32*b^3*cosh(3a)*coshintegral(3*b*x)+-9//32*b^3*sinh(3a)*sinhintegral(3*b*x)+-5//96*b*x^-2*cosh(5a+5*b*x)+-1//48*b^3*cosh(a)*coshintegral(b*x)+-1//48*b^3*sinh(a)*sinhintegral(b*x)+1//32*b*x^-2*cosh(3a+3*b*x)+1//48*b*x^-2*cosh(a+b*x)+1//48*b^2*x^-1*sinh(a+b*x)+3//32*b^2*x^-1*sinh(3a+3*b*x)+125//96*b^3*cosh(5a)*coshintegral(5*b*x)+125//96*b^3*sinh(5a)*sinhintegral(5*b*x))
@test integrate(x^m*cosh(a+b*x)^3*sinh(a+b*x)^3, x) == :(-3*2^(-7+-1m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,2*b*x)*exp(-2a)+-3*2^(-7+-1m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-2*b*x)*exp(2a)+2^(-7+-1m)*3^(-1+-1m)*b^-1*x^m*(b*x)^(-1m)*SpecialFunctions.gamma(1+m,6*b*x)*exp(-6a)+2^(-7+-1m)*3^(-1+-1m)*b^-1*x^m*(-1*b*x)^(-1m)*SpecialFunctions.gamma(1+m,-6*b*x)*exp(6a))
@test integrate(x^3*cosh(a+b*x)^3*sinh(a+b*x)^3, x) == :(-1//6912*b^-4*sinh(6a+6*b*x)+9//256*b^-4*sinh(2a+2*b*x)+-9//128*x*b^-3*cosh(2a+2*b*x)+-3//64*b^-1*x^3*cosh(2a+2*b*x)+-1//384*b^-2*x^2*sinh(6a+6*b*x)+1//192*b^-1*x^3*cosh(6a+6*b*x)+1//1152*x*b^-3*cosh(6a+6*b*x)+9//128*b^-2*x^2*sinh(2a+2*b*x))
@test integrate(x^2*cosh(a+b*x)^3*sinh(a+b*x)^3, x) == :(-3//128*b^-3*cosh(2a+2*b*x)+1//3456*b^-3*cosh(6a+6*b*x)+-3//64*b^-1*x^2*cosh(2a+2*b*x)+-1//576*x*b^-2*sinh(6a+6*b*x)+1//192*b^-1*x^2*cosh(6a+6*b*x)+3//64*x*b^-2*sinh(2a+2*b*x))
@test integrate(x*cosh(a+b*x)^3*sinh(a+b*x)^3, x) == :(-1//1152*b^-2*sinh(6a+6*b*x)+3//128*b^-2*sinh(2a+2*b*x)+-3//64*x*b^-1*cosh(2a+2*b*x)+1//192*x*b^-1*cosh(6a+6*b*x))
@test integrate(cosh(a+b*x)^3*sinh(a+b*x)^3, x) == :(1//4*b^-1*sinh(a+b*x)^4+1//6*b^-1*sinh(a+b*x)^6)
@test integrate(x^-1*cosh(a+b*x)^3*sinh(a+b*x)^3, x) == :(-3//32*cosh(2a)*sinhintegral(2*b*x)+-3//32*coshintegral(2*b*x)*sinh(2a)+1//32*cosh(6a)*sinhintegral(6*b*x)+1//32*coshintegral(6*b*x)*sinh(6a))
@test integrate(x^-2*cosh(a+b*x)^3*sinh(a+b*x)^3, x) == :(-1//32*x^-1*sinh(6a+6*b*x)+3//32*x^-1*sinh(2a+2*b*x)+-3//16*b*cosh(2a)*coshintegral(2*b*x)+-3//16*b*sinh(2a)*sinhintegral(2*b*x)+3//16*b*cosh(6a)*coshintegral(6*b*x)+3//16*b*sinh(6a)*sinhintegral(6*b*x))
@test integrate(x^-3*cosh(a+b*x)^3*sinh(a+b*x)^3, x) == :(-1//64*x^-2*sinh(6a+6*b*x)+3//64*x^-2*sinh(2a+2*b*x)+-3//16*b^2*cosh(2a)*sinhintegral(2*b*x)+-3//16*b^2*coshintegral(2*b*x)*sinh(2a)+-3//32*b*x^-1*cosh(6a+6*b*x)+3//32*b*x^-1*cosh(2a+2*b*x)+9//16*b^2*cosh(6a)*sinhintegral(6*b*x)+9//16*b^2*coshintegral(6*b*x)*sinh(6a))
@test integrate(x^-4*cosh(a+b*x)^3*sinh(a+b*x)^3, x) == :(-1//96*x^-3*sinh(6a+6*b*x)+1//32*x^-3*sinh(2a+2*b*x)+-3//16*b^2*x^-1*sinh(6a+6*b*x)+-1//8*b^3*cosh(2a)*coshintegral(2*b*x)+-1//8*b^3*sinh(2a)*sinhintegral(2*b*x)+-1//32*b*x^-2*cosh(6a+6*b*x)+1//16*b^2*x^-1*sinh(2a+2*b*x)+1//32*b*x^-2*cosh(2a+2*b*x)+9//8*b^3*cosh(6a)*coshintegral(6*b*x)+9//8*b^3*sinh(6a)*sinhintegral(6*b*x))
@test integrate(x^3*sech(a+b*x)*sinh(a+b*x), x) == :(-1//4*x^4+3//4*b^-4*Polylogarithms.polylog(4,-1*exp(2a+2*b*x))+b^-1*x^3*log(1+exp(2a+2*b*x))+-3//2*x*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+3//2*b^-2*x^2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x)))
@test integrate(x^2*sech(a+b*x)*sinh(a+b*x), x) == :(-1//3*x^3+-1//2*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+x*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+b^-1*x^2*log(1+exp(2a+2*b*x)))
@test integrate(x*sech(a+b*x)*sinh(a+b*x), x) == :(-1//2*x^2+(1/2)*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+x*b^-1*log(1+exp(2a+2*b*x)))
@test integrate(sech(a+b*x)*sinh(a+b*x), x) == :(b^-1*log(cosh(a+b*x)))
@test integrate(x^3*sech(a+b*x)^2*sinh(a+b*x), x) == :(-1*b^-1*x^3*sech(a+b*x)+-6*im*b^-4*Polylogarithms.polylog(3,im*exp(a+b*x))+6*im*b^-4*Polylogarithms.polylog(3,-1*im*exp(a+b*x))+6*b^-2*x^2*arctan(exp(a+b*x))+-6*im*x*b^-3*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+6*im*x*b^-3*Polylogarithms.polylog(2,im*exp(a+b*x)))
@test integrate(x^2*sech(a+b*x)^2*sinh(a+b*x), x) == :(-1*b^-1*x^2*sech(a+b*x)+-2*im*b^-3*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+2*im*b^-3*Polylogarithms.polylog(2,im*exp(a+b*x))+4*x*b^-2*arctan(exp(a+b*x)))
@test integrate(x*sech(a+b*x)^2*sinh(a+b*x), x) == :(b^-2*arctan(sinh(a+b*x))+-1*x*b^-1*sech(a+b*x))
@test integrate(sech(a+b*x)^2*sinh(a+b*x), x) == :(-1*b^-1*sech(a+b*x))
@test integrate(x^3*sech(a+b*x)^3*sinh(a+b*x), x) == :(-3//2*b^-4*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+3//2*b^-2*x^2+-3*x*b^-3*log(1+exp(2a+2*b*x))+-1//2*b^-1*x^3*sech(a+b*x)^2+3//2*b^-2*x^2*tanh(a+b*x))
@test integrate(x^2*sech(a+b*x)^3*sinh(a+b*x), x) == :(-1*b^-3*log(cosh(a+b*x))+x*b^-2*tanh(a+b*x)+-1//2*b^-1*x^2*sech(a+b*x)^2)
@test integrate(x*sech(a+b*x)^3*sinh(a+b*x), x) == :((1/2)*b^-2*tanh(a+b*x)+-1//2*x*b^-1*sech(a+b*x)^2)
@test integrate(sech(a+b*x)^3*sinh(a+b*x), x) == :(-1//2*b^-1*sech(a+b*x)^2)
@test integrate(x^3*sinh(a+b*x)^2*sech(a+b*x), x) == :(-6*b^-4*cosh(a+b*x)+b^-1*x^3*sinh(a+b*x)+-6*im*b^-4*Polylogarithms.polylog(4,im*exp(a+b*x))+-3*b^-2*x^2*cosh(a+b*x)+-2*b^-1*x^3*arctan(exp(a+b*x))+6*im*b^-4*Polylogarithms.polylog(4,-1*im*exp(a+b*x))+6*x*b^-3*sinh(a+b*x)+-6*im*x*b^-3*Polylogarithms.polylog(3,-1*im*exp(a+b*x))+-3*im*b^-2*x^2*Polylogarithms.polylog(2,im*exp(a+b*x))+3*im*b^-2*x^2*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+6*im*x*b^-3*Polylogarithms.polylog(3,im*exp(a+b*x)))
@test integrate(x^2*sinh(a+b*x)^2*sech(a+b*x), x) == :(2*b^-3*sinh(a+b*x)+b^-1*x^2*sinh(a+b*x)+-2*im*b^-3*Polylogarithms.polylog(3,-1*im*exp(a+b*x))+-2*x*b^-2*cosh(a+b*x)+-2*b^-1*x^2*arctan(exp(a+b*x))+2*im*b^-3*Polylogarithms.polylog(3,im*exp(a+b*x))+-2*im*x*b^-2*Polylogarithms.polylog(2,im*exp(a+b*x))+2*im*x*b^-2*Polylogarithms.polylog(2,-1*im*exp(a+b*x)))
@test integrate(x*sinh(a+b*x)^2*sech(a+b*x), x) == :(-1*b^-2*cosh(a+b*x)+im*b^-2*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+x*b^-1*sinh(a+b*x)+-1*im*b^-2*Polylogarithms.polylog(2,im*exp(a+b*x))+-2*x*b^-1*arctan(exp(a+b*x)))
@test integrate(sinh(a+b*x)^2*sech(a+b*x), x) == :(b^-1*sinh(a+b*x)+-1*b^-1*arctan(sinh(a+b*x)))
@test integrate(x^3*sech(a+b*x)^2*sinh(a+b*x)^2, x) == :(1//4*x^4+-1*b^-1*x^3+-3//2*b^-4*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+-1*b^-1*x^3*tanh(a+b*x)+3*x*b^-3*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+3*b^-2*x^2*log(1+exp(2a+2*b*x)))
@test integrate(x^2*sech(a+b*x)^2*sinh(a+b*x)^2, x) == :(1//3*x^3+b^-3*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-1*b^-1*x^2+-1*b^-1*x^2*tanh(a+b*x)+2*x*b^-2*log(1+exp(2a+2*b*x)))
@test integrate(x*sech(a+b*x)^2*sinh(a+b*x)^2, x) == :((1/2)*x^2+b^-2*log(cosh(a+b*x))+-1*x*b^-1*tanh(a+b*x))
@test integrate(sech(a+b*x)^2*sinh(a+b*x)^2, x) == :(x+-1*b^-1*tanh(a+b*x))
@test integrate(x^3*sech(a+b*x)^3*sinh(a+b*x)^2, x) == :(b^-1*x^3*arctan(exp(a+b*x))+-3*im*b^-4*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+-3*im*b^-4*Polylogarithms.polylog(4,-1*im*exp(a+b*x))+3*im*b^-4*Polylogarithms.polylog(2,im*exp(a+b*x))+3*im*b^-4*Polylogarithms.polylog(4,im*exp(a+b*x))+6*x*b^-3*arctan(exp(a+b*x))+-3//2*b^-2*x^2*sech(a+b*x)+-3*im*x*b^-3*Polylogarithms.polylog(3,im*exp(a+b*x))+3*im*x*b^-3*Polylogarithms.polylog(3,-1*im*exp(a+b*x))+-3//2*im*b^-2*x^2*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+-1//2*b^-1*x^3*sech(a+b*x)*tanh(a+b*x)+3//2*im*b^-2*x^2*Polylogarithms.polylog(2,im*exp(a+b*x)))
@test integrate(x^2*sech(a+b*x)^3*sinh(a+b*x)^2, x) == :(b^-3*arctan(sinh(a+b*x))+im*b^-3*Polylogarithms.polylog(3,-1*im*exp(a+b*x))+b^-1*x^2*arctan(exp(a+b*x))+-1*im*b^-3*Polylogarithms.polylog(3,im*exp(a+b*x))+-1*x*b^-2*sech(a+b*x)+im*x*b^-2*Polylogarithms.polylog(2,im*exp(a+b*x))+-1*im*x*b^-2*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+-1//2*b^-1*x^2*sech(a+b*x)*tanh(a+b*x))
@test integrate(x*sech(a+b*x)^3*sinh(a+b*x)^2, x) == :(-1//2*b^-2*sech(a+b*x)+x*b^-1*arctan(exp(a+b*x))+(1/2)*im*b^-2*Polylogarithms.polylog(2,im*exp(a+b*x))+-1//2*im*b^-2*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+-1//2*x*b^-1*sech(a+b*x)*tanh(a+b*x))
@test integrate(sech(a+b*x)^3*sinh(a+b*x)^2, x) == :((1/2)*b^-1*arctan(sinh(a+b*x))+-1//2*b^-1*sech(a+b*x)*tanh(a+b*x))
@test integrate(x^3*sinh(a+b*x)^3*sech(a+b*x), x) == :(1//4*x^4+-3//4*b^-4*Polylogarithms.polylog(4,-1*exp(2a+2*b*x))+1//4*b^-1*x^3+3//8*x*b^-3+(1/2)*b^-1*x^3*sinh(a+b*x)^2+-1*b^-1*x^3*log(1+exp(2a+2*b*x))+-3//2*b^-2*x^2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-3//8*b^-4*cosh(a+b*x)*sinh(a+b*x)+3//2*x*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+3//4*x*b^-3*sinh(a+b*x)^2+-3//4*b^-2*x^2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(x^2*sinh(a+b*x)^3*sech(a+b*x), x) == :(1//3*x^3+(1/2)*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+1//4*b^-1*x^2+1//4*b^-3*sinh(a+b*x)^2+(1/2)*b^-1*x^2*sinh(a+b*x)^2+-1*x*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-1*b^-1*x^2*log(1+exp(2a+2*b*x))+-1//2*x*b^-2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(x*sinh(a+b*x)^3*sech(a+b*x), x) == :((1/2)*x^2+-1//2*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+1//4*x*b^-1+(1/2)*x*b^-1*sinh(a+b*x)^2+-1*x*b^-1*log(1+exp(2a+2*b*x))+-1//4*b^-2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(sinh(a+b*x)^3*sech(a+b*x), x) == :((1/2)*b^-1*cosh(a+b*x)^2+-1*b^-1*log(cosh(a+b*x)))
@test integrate(x^3*sech(a+b*x)^2*sinh(a+b*x)^3, x) == :(-6*b^-4*sinh(a+b*x)+b^-1*x^3*cosh(a+b*x)+b^-1*x^3*sech(a+b*x)+-6*im*b^-4*Polylogarithms.polylog(3,-1*im*exp(a+b*x))+-6*b^-2*x^2*arctan(exp(a+b*x))+-3*b^-2*x^2*sinh(a+b*x)+6*im*b^-4*Polylogarithms.polylog(3,im*exp(a+b*x))+6*x*b^-3*cosh(a+b*x)+-6*im*x*b^-3*Polylogarithms.polylog(2,im*exp(a+b*x))+6*im*x*b^-3*Polylogarithms.polylog(2,-1*im*exp(a+b*x)))
@test integrate(x^2*sech(a+b*x)^2*sinh(a+b*x)^3, x) == :(2*b^-3*cosh(a+b*x)+b^-1*x^2*cosh(a+b*x)+b^-1*x^2*sech(a+b*x)+-4*x*b^-2*arctan(exp(a+b*x))+-2*im*b^-3*Polylogarithms.polylog(2,im*exp(a+b*x))+-2*x*b^-2*sinh(a+b*x)+2*im*b^-3*Polylogarithms.polylog(2,-1*im*exp(a+b*x)))
@test integrate(x*sech(a+b*x)^2*sinh(a+b*x)^3, x) == :(-1*b^-2*arctan(sinh(a+b*x))+-1*b^-2*sinh(a+b*x)+x*b^-1*cosh(a+b*x)+x*b^-1*sech(a+b*x))
@test integrate(sech(a+b*x)^2*sinh(a+b*x)^3, x) == :(b^-1*cosh(a+b*x)+b^-1*sech(a+b*x))
@test integrate(x^3*sech(a+b*x)^3*sinh(a+b*x)^3, x) == :(-1//4*x^4+(1/2)*b^-1*x^3+-3//2*b^-2*x^2+3//2*b^-4*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+3//4*b^-4*Polylogarithms.polylog(4,-1*exp(2a+2*b*x))+b^-1*x^3*log(1+exp(2a+2*b*x))+3*x*b^-3*log(1+exp(2a+2*b*x))+-3//2*x*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+-3//2*b^-2*x^2*tanh(a+b*x)+-1//2*b^-1*x^3*tanh(a+b*x)^2+3//2*b^-2*x^2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x)))
@test integrate(x^2*sech(a+b*x)^3*sinh(a+b*x)^3, x) == :(-1//3*x^3+b^-3*log(cosh(a+b*x))+(1/2)*b^-1*x^2+-1//2*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+x*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+b^-1*x^2*log(1+exp(2a+2*b*x))+-1*x*b^-2*tanh(a+b*x)+-1//2*b^-1*x^2*tanh(a+b*x)^2)
@test integrate(x*sech(a+b*x)^3*sinh(a+b*x)^3, x) == :(-1//2*x^2+(1/2)*x*b^-1+(1/2)*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-1//2*b^-2*tanh(a+b*x)+x*b^-1*log(1+exp(2a+2*b*x))+-1//2*x*b^-1*tanh(a+b*x)^2)
@test integrate(sech(a+b*x)^3*sinh(a+b*x)^3, x) == :(b^-1*log(cosh(a+b*x))+-1//2*b^-1*tanh(a+b*x)^2)
@test integrate(x^3*cosh(a+b*x)*csch(a+b*x), x) == :(-1//4*x^4+3//4*b^-4*Polylogarithms.polylog(4,exp(2a+2*b*x))+b^-1*x^3*log(1+-1*exp(2a+2*b*x))+-3//2*x*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+3//2*b^-2*x^2*Polylogarithms.polylog(2,exp(2a+2*b*x)))
@test integrate(x^2*cosh(a+b*x)*csch(a+b*x), x) == :(-1//3*x^3+-1//2*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+x*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+b^-1*x^2*log(1+-1*exp(2a+2*b*x)))
@test integrate(x*cosh(a+b*x)*csch(a+b*x), x) == :(-1//2*x^2+(1/2)*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+x*b^-1*log(1+-1*exp(2a+2*b*x)))
@test integrate(cosh(a+b*x)*csch(a+b*x), x) == :(b^-1*log(sinh(a+b*x)))
@test integrate(x^3*cosh(a+b*x)^2*csch(a+b*x), x) == :(-6*b^-4*Polylogarithms.polylog(4,-1*exp(a+b*x))+-6*b^-4*sinh(a+b*x)+6*b^-4*Polylogarithms.polylog(4,exp(a+b*x))+b^-1*x^3*cosh(a+b*x)+-6*x*b^-3*Polylogarithms.polylog(3,exp(a+b*x))+-3*b^-2*x^2*Polylogarithms.polylog(2,-1*exp(a+b*x))+-3*b^-2*x^2*sinh(a+b*x)+-2*b^-1*x^3*arctanh(exp(a+b*x))+3*b^-2*x^2*Polylogarithms.polylog(2,exp(a+b*x))+6*x*b^-3*Polylogarithms.polylog(3,-1*exp(a+b*x))+6*x*b^-3*cosh(a+b*x))
@test integrate(x^2*cosh(a+b*x)^2*csch(a+b*x), x) == :(-2*b^-3*Polylogarithms.polylog(3,exp(a+b*x))+2*b^-3*Polylogarithms.polylog(3,-1*exp(a+b*x))+2*b^-3*cosh(a+b*x)+b^-1*x^2*cosh(a+b*x)+-2*x*b^-2*Polylogarithms.polylog(2,-1*exp(a+b*x))+-2*x*b^-2*sinh(a+b*x)+-2*b^-1*x^2*arctanh(exp(a+b*x))+2*x*b^-2*Polylogarithms.polylog(2,exp(a+b*x)))
@test integrate(x*cosh(a+b*x)^2*csch(a+b*x), x) == :(b^-2*Polylogarithms.polylog(2,exp(a+b*x))+-1*b^-2*Polylogarithms.polylog(2,-1*exp(a+b*x))+-1*b^-2*sinh(a+b*x)+x*b^-1*cosh(a+b*x)+-2*x*b^-1*arctanh(exp(a+b*x)))
@test integrate(cosh(a+b*x)^2*csch(a+b*x), x) == :(b^-1*cosh(a+b*x)+-1*b^-1*arctanh(cosh(a+b*x)))
@test integrate(x^3*cosh(a+b*x)^3*csch(a+b*x), x) == :(-1//4*x^4+1//4*b^-1*x^3+3//4*b^-4*Polylogarithms.polylog(4,exp(2a+2*b*x))+3//8*x*b^-3+b^-1*x^3*log(1+-1*exp(2a+2*b*x))+(1/2)*b^-1*x^3*sinh(a+b*x)^2+-3//2*x*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+-3//8*b^-4*cosh(a+b*x)*sinh(a+b*x)+3//2*b^-2*x^2*Polylogarithms.polylog(2,exp(2a+2*b*x))+3//4*x*b^-3*sinh(a+b*x)^2+-3//4*b^-2*x^2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(x^2*cosh(a+b*x)^3*csch(a+b*x), x) == :(-1//3*x^3+-1//2*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+1//4*b^-1*x^2+1//4*b^-3*sinh(a+b*x)^2+x*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+b^-1*x^2*log(1+-1*exp(2a+2*b*x))+(1/2)*b^-1*x^2*sinh(a+b*x)^2+-1//2*x*b^-2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(x*cosh(a+b*x)^3*csch(a+b*x), x) == :(-1//2*x^2+(1/2)*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+1//4*x*b^-1+x*b^-1*log(1+-1*exp(2a+2*b*x))+(1/2)*x*b^-1*sinh(a+b*x)^2+-1//4*b^-2*cosh(a+b*x)*sinh(a+b*x))
@test integrate(cosh(a+b*x)^3*csch(a+b*x), x) == :(b^-1*log(sinh(a+b*x))+(1/2)*b^-1*sinh(a+b*x)^2)
@test integrate(x*cosh(x)^2*coth(x)^2, x) == :(-1//4*cosh(x)^2+3//4*x^2+-1*x*coth(x)+(1/2)*x*cosh(x)*sinh(x)+log(sinh(x)))
@test integrate(x^2*cosh(x)^2*coth(x)^2, x) == :((1/2)*x^3+-1*x^2+1//4*x+-1*x^2*coth(x)+2*x*log(1+-1*exp(2x))+-1//2*x*cosh(x)^2+1//4*cosh(x)*sinh(x)+(1/2)*x^2*cosh(x)*sinh(x)+Polylogarithms.polylog(2,exp(2x)))
@test integrate(x^3*cosh(x)^2*coth(x)^2, x) == :(-1*x^3+-3//2*Polylogarithms.polylog(3,exp(2x))+-3//8*cosh(x)^2+3//8*x^2+3//8*x^4+-1*x^3*coth(x)+3*x*Polylogarithms.polylog(2,exp(2x))+3*x^2*log(1+-1*exp(2x))+-3//4*x^2*cosh(x)^2+(1/2)*x^3*cosh(x)*sinh(x)+3//4*x*cosh(x)*sinh(x))
@test integrate(x*cosh(x)^2*coth(x)^3, x) == :(-1*x^2+-1//2*coth(x)+3//4*x+(1/2)*x*sinh(x)^2+2*x*log(1+-1*exp(2x))+-1//2*x*coth(x)^2+-1//4*cosh(x)*sinh(x)+Polylogarithms.polylog(2,exp(2x)))
@test integrate(x^2*cosh(x)^2*coth(x)^3, x) == :(-1*Polylogarithms.polylog(3,exp(2x))+-2//3*x^3+1//4*sinh(x)^2+3//4*x^2+(1/2)*x^2*sinh(x)^2+-1*x*coth(x)+2*x*Polylogarithms.polylog(2,exp(2x))+2*x^2*log(1+-1*exp(2x))+-1//2*x^2*coth(x)^2+-1//2*x*cosh(x)*sinh(x)+log(sinh(x)))
@test integrate(x^3*cosh(x)^2*coth(x)^3, x) == :(-3//2*x^2+-1//2*x^4+3//2*Polylogarithms.polylog(2,exp(2x))+3//2*Polylogarithms.polylog(4,exp(2x))+3//4*x^3+3//8*x+(1/2)*x^3*sinh(x)^2+-3*x*Polylogarithms.polylog(3,exp(2x))+2*x^3*log(1+-1*exp(2x))+3*x*log(1+-1*exp(2x))+3*x^2*Polylogarithms.polylog(2,exp(2x))+-3//2*x^2*coth(x)+-3//8*cosh(x)*sinh(x)+-1//2*x^3*coth(x)^2+3//4*x*sinh(x)^2+-3//4*x^2*cosh(x)*sinh(x))
@test integrate(x^3*csch(a+b*x)^2*cosh(a+b*x), x) == :(-6*b^-4*Polylogarithms.polylog(3,exp(a+b*x))+6*b^-4*Polylogarithms.polylog(3,-1*exp(a+b*x))+-1*b^-1*x^3*csch(a+b*x)+-6*x*b^-3*Polylogarithms.polylog(2,-1*exp(a+b*x))+-6*b^-2*x^2*arctanh(exp(a+b*x))+6*x*b^-3*Polylogarithms.polylog(2,exp(a+b*x)))
@test integrate(x^2*csch(a+b*x)^2*cosh(a+b*x), x) == :(-2*b^-3*Polylogarithms.polylog(2,-1*exp(a+b*x))+2*b^-3*Polylogarithms.polylog(2,exp(a+b*x))+-1*b^-1*x^2*csch(a+b*x)+-4*x*b^-2*arctanh(exp(a+b*x)))
@test integrate(x*csch(a+b*x)^2*cosh(a+b*x), x) == :(-1*b^-2*arctanh(cosh(a+b*x))+-1*x*b^-1*csch(a+b*x))
@test integrate(csch(a+b*x)^2*cosh(a+b*x), x) == :(-1*b^-1*csch(a+b*x))
@test integrate(x^3*cosh(a+b*x)^2*csch(a+b*x)^2, x) == :(1//4*x^4+-1*b^-1*x^3+-3//2*b^-4*Polylogarithms.polylog(3,exp(2a+2*b*x))+-1*b^-1*x^3*coth(a+b*x)+3*x*b^-3*Polylogarithms.polylog(2,exp(2a+2*b*x))+3*b^-2*x^2*log(1+-1*exp(2a+2*b*x)))
@test integrate(x^2*cosh(a+b*x)^2*csch(a+b*x)^2, x) == :(1//3*x^3+b^-3*Polylogarithms.polylog(2,exp(2a+2*b*x))+-1*b^-1*x^2+-1*b^-1*x^2*coth(a+b*x)+2*x*b^-2*log(1+-1*exp(2a+2*b*x)))
@test integrate(x*cosh(a+b*x)^2*csch(a+b*x)^2, x) == :((1/2)*x^2+b^-2*log(sinh(a+b*x))+-1*x*b^-1*coth(a+b*x))
@test integrate(cosh(a+b*x)^2*csch(a+b*x)^2, x) == :(x+-1*b^-1*coth(a+b*x))
@test integrate(x^3*cosh(a+b*x)^3*csch(a+b*x)^2, x) == :(-6*b^-4*Polylogarithms.polylog(3,exp(a+b*x))+-6*b^-4*cosh(a+b*x)+6*b^-4*Polylogarithms.polylog(3,-1*exp(a+b*x))+b^-1*x^3*sinh(a+b*x)+-1*b^-1*x^3*csch(a+b*x)+-6*x*b^-3*Polylogarithms.polylog(2,-1*exp(a+b*x))+-6*b^-2*x^2*arctanh(exp(a+b*x))+-3*b^-2*x^2*cosh(a+b*x)+6*x*b^-3*Polylogarithms.polylog(2,exp(a+b*x))+6*x*b^-3*sinh(a+b*x))
@test integrate(x^2*cosh(a+b*x)^3*csch(a+b*x)^2, x) == :(-2*b^-3*Polylogarithms.polylog(2,-1*exp(a+b*x))+2*b^-3*Polylogarithms.polylog(2,exp(a+b*x))+2*b^-3*sinh(a+b*x)+b^-1*x^2*sinh(a+b*x)+-1*b^-1*x^2*csch(a+b*x)+-4*x*b^-2*arctanh(exp(a+b*x))+-2*x*b^-2*cosh(a+b*x))
@test integrate(x*cosh(a+b*x)^3*csch(a+b*x)^2, x) == :(-1*b^-2*arctanh(cosh(a+b*x))+-1*b^-2*cosh(a+b*x)+x*b^-1*sinh(a+b*x)+-1*x*b^-1*csch(a+b*x))
@test integrate(cosh(a+b*x)^3*csch(a+b*x)^2, x) == :(b^-1*sinh(a+b*x)+-1*b^-1*csch(a+b*x))
@test integrate(x^3*csch(a+b*x)^3*cosh(a+b*x), x) == :(-3//2*b^-2*x^2+3//2*b^-4*Polylogarithms.polylog(2,exp(2a+2*b*x))+3*x*b^-3*log(1+-1*exp(2a+2*b*x))+-3//2*b^-2*x^2*coth(a+b*x)+-1//2*b^-1*x^3*csch(a+b*x)^2)
@test integrate(x^2*csch(a+b*x)^3*cosh(a+b*x), x) == :(b^-3*log(sinh(a+b*x))+-1*x*b^-2*coth(a+b*x)+-1//2*b^-1*x^2*csch(a+b*x)^2)
@test integrate(x*csch(a+b*x)^3*cosh(a+b*x), x) == :(-1//2*b^-2*coth(a+b*x)+-1//2*x*b^-1*csch(a+b*x)^2)
@test integrate(csch(a+b*x)^3*cosh(a+b*x), x) == :(-1//2*b^-1*csch(a+b*x)^2)
@test integrate(x^3*cosh(a+b*x)^2*csch(a+b*x)^3, x) == :(-3*b^-4*Polylogarithms.polylog(2,-1*exp(a+b*x))+-3*b^-4*Polylogarithms.polylog(4,-1*exp(a+b*x))+3*b^-4*Polylogarithms.polylog(2,exp(a+b*x))+3*b^-4*Polylogarithms.polylog(4,exp(a+b*x))+-1*b^-1*x^3*arctanh(exp(a+b*x))+-6*x*b^-3*arctanh(exp(a+b*x))+-3*x*b^-3*Polylogarithms.polylog(3,exp(a+b*x))+3*x*b^-3*Polylogarithms.polylog(3,-1*exp(a+b*x))+-3//2*b^-2*x^2*Polylogarithms.polylog(2,-1*exp(a+b*x))+-3//2*b^-2*x^2*csch(a+b*x)+3//2*b^-2*x^2*Polylogarithms.polylog(2,exp(a+b*x))+-1//2*b^-1*x^3*coth(a+b*x)*csch(a+b*x))
@test integrate(x^2*cosh(a+b*x)^2*csch(a+b*x)^3, x) == :(b^-3*Polylogarithms.polylog(3,-1*exp(a+b*x))+-1*b^-3*Polylogarithms.polylog(3,exp(a+b*x))+-1*b^-3*arctanh(cosh(a+b*x))+x*b^-2*Polylogarithms.polylog(2,exp(a+b*x))+-1*x*b^-2*Polylogarithms.polylog(2,-1*exp(a+b*x))+-1*x*b^-2*csch(a+b*x)+-1*b^-1*x^2*arctanh(exp(a+b*x))+-1//2*b^-1*x^2*coth(a+b*x)*csch(a+b*x))
@test integrate(x*cosh(a+b*x)^2*csch(a+b*x)^3, x) == :((1/2)*b^-2*Polylogarithms.polylog(2,exp(a+b*x))+-1//2*b^-2*Polylogarithms.polylog(2,-1*exp(a+b*x))+-1//2*b^-2*csch(a+b*x)+-1*x*b^-1*arctanh(exp(a+b*x))+-1//2*x*b^-1*coth(a+b*x)*csch(a+b*x))
@test integrate(cosh(a+b*x)^2*csch(a+b*x)^3, x) == :(-1//2*b^-1*arctanh(cosh(a+b*x))+-1//2*b^-1*coth(a+b*x)*csch(a+b*x))
@test integrate(x^3*cosh(a+b*x)^3*csch(a+b*x)^3, x) == :(-1//4*x^4+(1/2)*b^-1*x^3+-3//2*b^-2*x^2+3//2*b^-4*Polylogarithms.polylog(2,exp(2a+2*b*x))+3//4*b^-4*Polylogarithms.polylog(4,exp(2a+2*b*x))+b^-1*x^3*log(1+-1*exp(2a+2*b*x))+3*x*b^-3*log(1+-1*exp(2a+2*b*x))+-3//2*x*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+-3//2*b^-2*x^2*coth(a+b*x)+-1//2*b^-1*x^3*coth(a+b*x)^2+3//2*b^-2*x^2*Polylogarithms.polylog(2,exp(2a+2*b*x)))
@test integrate(x^2*cosh(a+b*x)^3*csch(a+b*x)^3, x) == :(-1//3*x^3+b^-3*log(sinh(a+b*x))+(1/2)*b^-1*x^2+-1//2*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+x*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+b^-1*x^2*log(1+-1*exp(2a+2*b*x))+-1*x*b^-2*coth(a+b*x)+-1//2*b^-1*x^2*coth(a+b*x)^2)
@test integrate(x*cosh(a+b*x)^3*csch(a+b*x)^3, x) == :(-1//2*x^2+(1/2)*x*b^-1+(1/2)*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+-1//2*b^-2*coth(a+b*x)+x*b^-1*log(1+-1*exp(2a+2*b*x))+-1//2*x*b^-1*coth(a+b*x)^2)
@test integrate(cosh(a+b*x)^3*csch(a+b*x)^3, x) == :(b^-1*log(sinh(a+b*x))+-1//2*b^-1*coth(a+b*x)^2)
@test integrate(x^3*csch(a+b*x)*sech(a+b*x), x) == :(-3//4*b^-4*Polylogarithms.polylog(4,-1*exp(2a+2*b*x))+3//4*b^-4*Polylogarithms.polylog(4,exp(2a+2*b*x))+-2*b^-1*x^3*arctanh(exp(2a+2*b*x))+-3//2*x*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+-3//2*b^-2*x^2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+3//2*x*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+3//2*b^-2*x^2*Polylogarithms.polylog(2,exp(2a+2*b*x)))
@test integrate(x^2*csch(a+b*x)*sech(a+b*x), x) == :((1/2)*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+-1//2*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+x*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+-1*x*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-2*b^-1*x^2*arctanh(exp(2a+2*b*x)))
@test integrate(x*csch(a+b*x)*sech(a+b*x), x) == :((1/2)*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+-1//2*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-2*x*b^-1*arctanh(exp(2a+2*b*x)))
@test integrate(csch(a+b*x)*sech(a+b*x), x) == :(b^-1*log(tanh(a+b*x)))
@test integrate(x^3*sech(a+b*x)^2*csch(a+b*x), x) == :(-6*b^-4*Polylogarithms.polylog(4,-1*exp(a+b*x))+6*b^-4*Polylogarithms.polylog(4,exp(a+b*x))+b^-1*x^3*sech(a+b*x)+-6*im*b^-4*Polylogarithms.polylog(3,-1*im*exp(a+b*x))+-6*x*b^-3*Polylogarithms.polylog(3,exp(a+b*x))+-6*b^-2*x^2*arctan(exp(a+b*x))+-3*b^-2*x^2*Polylogarithms.polylog(2,-1*exp(a+b*x))+-2*b^-1*x^3*arctanh(exp(a+b*x))+3*b^-2*x^2*Polylogarithms.polylog(2,exp(a+b*x))+6*im*b^-4*Polylogarithms.polylog(3,im*exp(a+b*x))+6*x*b^-3*Polylogarithms.polylog(3,-1*exp(a+b*x))+-6*im*x*b^-3*Polylogarithms.polylog(2,im*exp(a+b*x))+6*im*x*b^-3*Polylogarithms.polylog(2,-1*im*exp(a+b*x)))
@test integrate(x^2*sech(a+b*x)^2*csch(a+b*x), x) == :(-2*b^-3*Polylogarithms.polylog(3,exp(a+b*x))+2*b^-3*Polylogarithms.polylog(3,-1*exp(a+b*x))+b^-1*x^2*sech(a+b*x)+-4*x*b^-2*arctan(exp(a+b*x))+-2*im*b^-3*Polylogarithms.polylog(2,im*exp(a+b*x))+-2*x*b^-2*Polylogarithms.polylog(2,-1*exp(a+b*x))+-2*b^-1*x^2*arctanh(exp(a+b*x))+2*im*b^-3*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+2*x*b^-2*Polylogarithms.polylog(2,exp(a+b*x)))
@test integrate(x*sech(a+b*x)^2*csch(a+b*x), x) == :(b^-2*Polylogarithms.polylog(2,exp(a+b*x))+-1*b^-2*Polylogarithms.polylog(2,-1*exp(a+b*x))+-1*b^-2*arctan(sinh(a+b*x))+x*b^-1*sech(a+b*x)+-2*x*b^-1*arctanh(exp(a+b*x)))
@test integrate(sech(a+b*x)^2*csch(a+b*x), x) == :(b^-1*sech(a+b*x)+-1*b^-1*arctanh(cosh(a+b*x)))
@test integrate(x^3*sech(a+b*x)^3*csch(a+b*x), x) == :((1/2)*b^-1*x^3+-3//2*b^-2*x^2+-3//4*b^-4*Polylogarithms.polylog(4,-1*exp(2a+2*b*x))+3//2*b^-4*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+3//4*b^-4*Polylogarithms.polylog(4,exp(2a+2*b*x))+-2*b^-1*x^3*arctanh(exp(2a+2*b*x))+3*x*b^-3*log(1+exp(2a+2*b*x))+-3//2*x*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+-3//2*b^-2*x^2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-3//2*b^-2*x^2*tanh(a+b*x)+-1//2*b^-1*x^3*tanh(a+b*x)^2+3//2*x*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+3//2*b^-2*x^2*Polylogarithms.polylog(2,exp(2a+2*b*x)))
@test integrate(x^2*sech(a+b*x)^3*csch(a+b*x), x) == :(b^-3*log(cosh(a+b*x))+(1/2)*b^-1*x^2+(1/2)*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+-1//2*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+x*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+-1*x*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-1*x*b^-2*tanh(a+b*x)+-2*b^-1*x^2*arctanh(exp(2a+2*b*x))+-1//2*b^-1*x^2*tanh(a+b*x)^2)
@test integrate(x*sech(a+b*x)^3*csch(a+b*x), x) == :((1/2)*x*b^-1+(1/2)*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+-1//2*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-1//2*b^-2*tanh(a+b*x)+-2*x*b^-1*arctanh(exp(2a+2*b*x))+-1//2*x*b^-1*tanh(a+b*x)^2)
@test integrate(sech(a+b*x)^3*csch(a+b*x), x) == :(b^-1*log(tanh(a+b*x))+-1//2*b^-1*tanh(a+b*x)^2)
@test integrate(x^3*csch(a+b*x)^2*sech(a+b*x), x) == :(-6*b^-4*Polylogarithms.polylog(3,exp(a+b*x))+6*b^-4*Polylogarithms.polylog(3,-1*exp(a+b*x))+-1*b^-1*x^3*csch(a+b*x)+-6*im*b^-4*Polylogarithms.polylog(4,im*exp(a+b*x))+-6*x*b^-3*Polylogarithms.polylog(2,-1*exp(a+b*x))+-6*b^-2*x^2*arctanh(exp(a+b*x))+-2*b^-1*x^3*arctan(exp(a+b*x))+6*im*b^-4*Polylogarithms.polylog(4,-1*im*exp(a+b*x))+6*x*b^-3*Polylogarithms.polylog(2,exp(a+b*x))+-6*im*x*b^-3*Polylogarithms.polylog(3,-1*im*exp(a+b*x))+-3*im*b^-2*x^2*Polylogarithms.polylog(2,im*exp(a+b*x))+3*im*b^-2*x^2*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+6*im*x*b^-3*Polylogarithms.polylog(3,im*exp(a+b*x)))
@test integrate(x^2*csch(a+b*x)^2*sech(a+b*x), x) == :(-2*b^-3*Polylogarithms.polylog(2,-1*exp(a+b*x))+2*b^-3*Polylogarithms.polylog(2,exp(a+b*x))+-1*b^-1*x^2*csch(a+b*x)+-4*x*b^-2*arctanh(exp(a+b*x))+-2*im*b^-3*Polylogarithms.polylog(3,-1*im*exp(a+b*x))+-2*b^-1*x^2*arctan(exp(a+b*x))+2*im*b^-3*Polylogarithms.polylog(3,im*exp(a+b*x))+-2*im*x*b^-2*Polylogarithms.polylog(2,im*exp(a+b*x))+2*im*x*b^-2*Polylogarithms.polylog(2,-1*im*exp(a+b*x)))
@test integrate(x*csch(a+b*x)^2*sech(a+b*x), x) == :(-1*b^-2*arctanh(cosh(a+b*x))+im*b^-2*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+-1*im*b^-2*Polylogarithms.polylog(2,im*exp(a+b*x))+-1*x*b^-1*csch(a+b*x)+-2*x*b^-1*arctan(exp(a+b*x)))
@test integrate(csch(a+b*x)^2*sech(a+b*x), x) == :(-1*b^-1*arctan(sinh(a+b*x))+-1*b^-1*csch(a+b*x))
@test integrate(x^3*csch(a+b*x)^2*sech(a+b*x)^2, x) == :(-2*b^-1*x^3+-3//8*b^-4*Polylogarithms.polylog(3,exp(4a+4*b*x))+-2*b^-1*x^3*coth(2a+2*b*x)+3*b^-2*x^2*log(1+-1*exp(4a+4*b*x))+3//2*x*b^-3*Polylogarithms.polylog(2,exp(4a+4*b*x)))
@test integrate(x^2*csch(a+b*x)^2*sech(a+b*x)^2, x) == :((1/2)*b^-3*Polylogarithms.polylog(2,exp(4a+4*b*x))+-2*b^-1*x^2+-2*b^-1*x^2*coth(2a+2*b*x)+2*x*b^-2*log(1+-1*exp(4a+4*b*x)))
@test integrate(x*csch(a+b*x)^2*sech(a+b*x)^2, x) == :(b^-2*log(sinh(2a+2*b*x))+-2*x*b^-1*coth(2a+2*b*x))
@test integrate(csch(a+b*x)^2*sech(a+b*x)^2, x) == :(-1*b^-1*coth(a+b*x)+-1*b^-1*tanh(a+b*x))
@test integrate(x^2*csch(a+b*x)^2*sech(a+b*x)^3, x) == :(b^-3*arctan(sinh(a+b*x))+-2*b^-3*Polylogarithms.polylog(2,-1*exp(a+b*x))+2*b^-3*Polylogarithms.polylog(2,exp(a+b*x))+-1*x*b^-2*sech(a+b*x)+-4*x*b^-2*arctanh(exp(a+b*x))+-3*im*b^-3*Polylogarithms.polylog(3,-1*im*exp(a+b*x))+-3*b^-1*x^2*arctan(exp(a+b*x))+3*im*b^-3*Polylogarithms.polylog(3,im*exp(a+b*x))+-3//2*b^-1*x^2*csch(a+b*x)+(1/2)*b^-1*x^2*sech(a+b*x)^2*csch(a+b*x)+-3*im*x*b^-2*Polylogarithms.polylog(2,im*exp(a+b*x))+3*im*x*b^-2*Polylogarithms.polylog(2,-1*im*exp(a+b*x)))
@test integrate(x*csch(a+b*x)^2*sech(a+b*x)^3, x) == :(-1*b^-2*arctanh(cosh(a+b*x))+-1//2*b^-2*sech(a+b*x)+-3*x*b^-1*arctan(exp(a+b*x))+-3//2*im*b^-2*Polylogarithms.polylog(2,im*exp(a+b*x))+-3//2*x*b^-1*csch(a+b*x)+3//2*im*b^-2*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+(1/2)*x*b^-1*sech(a+b*x)^2*csch(a+b*x))
@test integrate(csch(a+b*x)^2*sech(a+b*x)^3, x) == :(-3//2*b^-1*arctan(sinh(a+b*x))+-3//2*b^-1*csch(a+b*x)+(1/2)*b^-1*sech(a+b*x)^2*csch(a+b*x))
@test integrate(x^3*csch(a+b*x)^3*sech(a+b*x), x) == :((1/2)*b^-1*x^3+-3//2*b^-2*x^2+-3//4*b^-4*Polylogarithms.polylog(4,exp(2a+2*b*x))+3//2*b^-4*Polylogarithms.polylog(2,exp(2a+2*b*x))+3//4*b^-4*Polylogarithms.polylog(4,-1*exp(2a+2*b*x))+2*b^-1*x^3*arctanh(exp(2a+2*b*x))+3*x*b^-3*log(1+-1*exp(2a+2*b*x))+-3//2*x*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+-3//2*b^-2*x^2*Polylogarithms.polylog(2,exp(2a+2*b*x))+-3//2*b^-2*x^2*coth(a+b*x)+-1//2*b^-1*x^3*coth(a+b*x)^2+3//2*x*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+3//2*b^-2*x^2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x)))
@test integrate(x^2*csch(a+b*x)^3*sech(a+b*x), x) == :(b^-3*log(sinh(a+b*x))+(1/2)*b^-1*x^2+(1/2)*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+-1//2*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+x*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-1*x*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+-1*x*b^-2*coth(a+b*x)+2*b^-1*x^2*arctanh(exp(2a+2*b*x))+-1//2*b^-1*x^2*coth(a+b*x)^2)
@test integrate(x*csch(a+b*x)^3*sech(a+b*x), x) == :((1/2)*x*b^-1+(1/2)*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-1//2*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+-1//2*b^-2*coth(a+b*x)+2*x*b^-1*arctanh(exp(2a+2*b*x))+-1//2*x*b^-1*coth(a+b*x)^2)
@test integrate(csch(a+b*x)^3*sech(a+b*x), x) == :(-1*b^-1*log(tanh(a+b*x))+-1//2*b^-1*coth(a+b*x)^2)
@test integrate(x^3*csch(a+b*x)^3*sech(a+b*x)^2, x) == :(-9*b^-4*Polylogarithms.polylog(4,exp(a+b*x))+-3*b^-4*Polylogarithms.polylog(2,-1*exp(a+b*x))+3*b^-4*Polylogarithms.polylog(2,exp(a+b*x))+9*b^-4*Polylogarithms.polylog(4,-1*exp(a+b*x))+-9*x*b^-3*Polylogarithms.polylog(3,-1*exp(a+b*x))+-6*im*b^-4*Polylogarithms.polylog(3,im*exp(a+b*x))+-6*x*b^-3*arctanh(exp(a+b*x))+3*b^-1*x^3*arctanh(exp(a+b*x))+6*im*b^-4*Polylogarithms.polylog(3,-1*im*exp(a+b*x))+6*b^-2*x^2*arctan(exp(a+b*x))+9*x*b^-3*Polylogarithms.polylog(3,exp(a+b*x))+-9//2*b^-2*x^2*Polylogarithms.polylog(2,exp(a+b*x))+-3//2*b^-1*x^3*sech(a+b*x)+-3//2*b^-2*x^2*csch(a+b*x)+9//2*b^-2*x^2*Polylogarithms.polylog(2,-1*exp(a+b*x))+-6*im*x*b^-3*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+6*im*x*b^-3*Polylogarithms.polylog(2,im*exp(a+b*x))+-1//2*b^-1*x^3*csch(a+b*x)^2*sech(a+b*x))
@test integrate(x^2*csch(a+b*x)^3*sech(a+b*x)^2, x) == :(-1*b^-3*arctanh(cosh(a+b*x))+-3*b^-3*Polylogarithms.polylog(3,-1*exp(a+b*x))+3*b^-3*Polylogarithms.polylog(3,exp(a+b*x))+-1*x*b^-2*csch(a+b*x)+-3*x*b^-2*Polylogarithms.polylog(2,exp(a+b*x))+-2*im*b^-3*Polylogarithms.polylog(2,-1*im*exp(a+b*x))+2*im*b^-3*Polylogarithms.polylog(2,im*exp(a+b*x))+3*x*b^-2*Polylogarithms.polylog(2,-1*exp(a+b*x))+3*b^-1*x^2*arctanh(exp(a+b*x))+4*x*b^-2*arctan(exp(a+b*x))+-3//2*b^-1*x^2*sech(a+b*x)+-1//2*b^-1*x^2*csch(a+b*x)^2*sech(a+b*x))
@test integrate(x*csch(a+b*x)^3*sech(a+b*x)^2, x) == :(b^-2*arctan(sinh(a+b*x))+-3//2*b^-2*Polylogarithms.polylog(2,exp(a+b*x))+-1//2*b^-2*csch(a+b*x)+3//2*b^-2*Polylogarithms.polylog(2,-1*exp(a+b*x))+3*x*b^-1*arctanh(exp(a+b*x))+-3//2*x*b^-1*sech(a+b*x)+-1//2*x*b^-1*csch(a+b*x)^2*sech(a+b*x))
@test integrate(csch(a+b*x)^3*sech(a+b*x)^2, x) == :(-3//2*b^-1*sech(a+b*x)+3//2*b^-1*arctanh(cosh(a+b*x))+-1//2*b^-1*csch(a+b*x)^2*sech(a+b*x))
@test integrate(x^3*csch(a+b*x)^3*sech(a+b*x)^3, x) == :(-3//2*b^-4*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-3//2*b^-4*Polylogarithms.polylog(4,exp(2a+2*b*x))+3//2*b^-4*Polylogarithms.polylog(2,exp(2a+2*b*x))+3//2*b^-4*Polylogarithms.polylog(4,-1*exp(2a+2*b*x))+-6*x*b^-3*arctanh(exp(2a+2*b*x))+-3*x*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+-3*b^-2*x^2*Polylogarithms.polylog(2,exp(2a+2*b*x))+-3*b^-2*x^2*csch(2a+2*b*x)+3*x*b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+3*b^-2*x^2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+4*b^-1*x^3*arctanh(exp(2a+2*b*x))+-2*b^-1*x^3*coth(2a+2*b*x)*csch(2a+2*b*x))
@test integrate(x^2*csch(a+b*x)^3*sech(a+b*x)^3, x) == :(b^-3*Polylogarithms.polylog(3,exp(2a+2*b*x))+-1*b^-3*Polylogarithms.polylog(3,-1*exp(2a+2*b*x))+-1*b^-3*arctanh(cosh(2a+2*b*x))+-2*x*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+-2*x*b^-2*csch(2a+2*b*x)+2*x*b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+4*b^-1*x^2*arctanh(exp(2a+2*b*x))+-2*b^-1*x^2*coth(2a+2*b*x)*csch(2a+2*b*x))
@test integrate(x*csch(a+b*x)^3*sech(a+b*x)^3, x) == :(b^-2*Polylogarithms.polylog(2,-1*exp(2a+2*b*x))+-1*b^-2*Polylogarithms.polylog(2,exp(2a+2*b*x))+-1*b^-2*csch(2a+2*b*x)+4*x*b^-1*arctanh(exp(2a+2*b*x))+-2*x*b^-1*coth(2a+2*b*x)*csch(2a+2*b*x))
@test integrate(csch(a+b*x)^3*sech(a+b*x)^3, x) == :((1/2)*b^-1*tanh(a+b*x)^2+-2*b^-1*log(tanh(a+b*x))+-1//2*b^-1*coth(a+b*x)^2)
@test integrate(x*cosh(a+b*x)^5//2*sinh(a+b*x), x) == :(-20//147*b^-2*cosh(a+b*x)^(1/2)*sinh(a+b*x)+-4//49*b^-2*cosh(a+b*x)^5//2*sinh(a+b*x)+2//7*x*b^-1*cosh(a+b*x)^7//2+20//147*im*b^-2*Elliptic.F((1/2)*im*(a+b*x),2))
@test integrate(x*cosh(a+b*x)^3//2*sinh(a+b*x), x) == :(-4//25*b^-2*cosh(a+b*x)^3//2*sinh(a+b*x)+2//5*x*b^-1*cosh(a+b*x)^5//2+12//25*im*b^-2*Elliptic.E((1/2)*im*(a+b*x),2))
@test integrate(x*cosh(a+b*x)^(1/2)*sinh(a+b*x), x) == :(-4//9*b^-2*cosh(a+b*x)^(1/2)*sinh(a+b*x)+2//3*x*b^-1*cosh(a+b*x)^3//2+4//9*im*b^-2*Elliptic.F((1/2)*im*(a+b*x),2))
@test integrate(x*cosh(a+b*x)^-1//2*sinh(a+b*x), x) == :(2*x*b^-1*cosh(a+b*x)^(1/2)+4*im*b^-2*Elliptic.E((1/2)*im*(a+b*x),2))
@test integrate(x*cosh(a+b*x)^-3//2*sinh(a+b*x), x) == :(-4*im*b^-2*Elliptic.F((1/2)*im*(a+b*x),2)+-2*x*b^-1*cosh(a+b*x)^-1//2)
@test integrate(x*cosh(a+b*x)^-5//2*sinh(a+b*x), x) == :(-2//3*x*b^-1*cosh(a+b*x)^-3//2+4//3*im*b^-2*Elliptic.E((1/2)*im*(a+b*x),2)+4//3*b^-2*cosh(a+b*x)^-1//2*sinh(a+b*x))
@test integrate(x*cosh(a+b*x)^-7//2*sinh(a+b*x), x) == :(-4//15*im*b^-2*Elliptic.F((1/2)*im*(a+b*x),2)+-2//5*x*b^-1*cosh(a+b*x)^-5//2+4//15*b^-2*cosh(a+b*x)^-3//2*sinh(a+b*x))
@test integrate(x*cosh(a+b*x)^-9//2*sinh(a+b*x), x) == :(-2//7*x*b^-1*cosh(a+b*x)^-7//2+4//35*b^-2*cosh(a+b*x)^-5//2*sinh(a+b*x)+12//35*im*b^-2*Elliptic.E((1/2)*im*(a+b*x),2)+12//35*b^-2*cosh(a+b*x)^-1//2*sinh(a+b*x))
@test integrate(x*sech(a+b*x)^9//2*sinh(a+b*x), x) == :(-2//7*x*b^-1*sech(a+b*x)^7//2+4//35*b^-2*sech(a+b*x)^5//2*sinh(a+b*x)+12//35*b^-2*sech(a+b*x)^(1/2)*sinh(a+b*x)+12//35*im*b^-2*cosh(a+b*x)^(1/2)*sech(a+b*x)^(1/2)*Elliptic.E((1/2)*im*(a+b*x),2))
@test integrate(x*sech(a+b*x)^7//2*sinh(a+b*x), x) == :(-2//5*x*b^-1*sech(a+b*x)^5//2+4//15*b^-2*sech(a+b*x)^3//2*sinh(a+b*x)+-4//15*im*b^-2*cosh(a+b*x)^(1/2)*sech(a+b*x)^(1/2)*Elliptic.F((1/2)*im*(a+b*x),2))
@test integrate(x*sech(a+b*x)^5//2*sinh(a+b*x), x) == :(-2//3*x*b^-1*sech(a+b*x)^3//2+4//3*b^-2*sech(a+b*x)^(1/2)*sinh(a+b*x)+4//3*im*b^-2*cosh(a+b*x)^(1/2)*sech(a+b*x)^(1/2)*Elliptic.E((1/2)*im*(a+b*x),2))
@test integrate(x*sech(a+b*x)^3//2*sinh(a+b*x), x) == :(-2*x*b^-1*sech(a+b*x)^(1/2)+-4*im*b^-2*cosh(a+b*x)^(1/2)*sech(a+b*x)^(1/2)*Elliptic.F((1/2)*im*(a+b*x),2))
@test integrate(x*sech(a+b*x)^(1/2)*sinh(a+b*x), x) == :(2*x*b^-1*sech(a+b*x)^-1//2+4*im*b^-2*cosh(a+b*x)^(1/2)*sech(a+b*x)^(1/2)*Elliptic.E((1/2)*im*(a+b*x),2))
@test integrate(x*sech(a+b*x)^-1//2*sinh(a+b*x), x) == :(-4//9*b^-2*sech(a+b*x)^-1//2*sinh(a+b*x)+2//3*x*b^-1*sech(a+b*x)^-3//2+4//9*im*b^-2*cosh(a+b*x)^(1/2)*sech(a+b*x)^(1/2)*Elliptic.F((1/2)*im*(a+b*x),2))
@test integrate(x*sech(a+b*x)^-3//2*sinh(a+b*x), x) == :(-4//25*b^-2*sech(a+b*x)^-3//2*sinh(a+b*x)+2//5*x*b^-1*sech(a+b*x)^-5//2+12//25*im*b^-2*cosh(a+b*x)^(1/2)*sech(a+b*x)^(1/2)*Elliptic.E((1/2)*im*(a+b*x),2))
@test integrate(x*sech(a+b*x)^-5//2*sinh(a+b*x), x) == :(-20//147*b^-2*sech(a+b*x)^-1//2*sinh(a+b*x)+-4//49*b^-2*sech(a+b*x)^-5//2*sinh(a+b*x)+2//7*x*b^-1*sech(a+b*x)^-7//2+20//147*im*b^-2*cosh(a+b*x)^(1/2)*sech(a+b*x)^(1/2)*Elliptic.F((1/2)*im*(a+b*x),2))
@test integrate(x*sinh(a+b*x)^5//2*cosh(a+b*x), x) == :(-4//49*b^-2*sinh(a+b*x)^5//2*cosh(a+b*x)+2//7*x*b^-1*sinh(a+b*x)^7//2+20//147*b^-2*sinh(a+b*x)^(1/2)*cosh(a+b*x)+20//147*im*b^-2*(im*sinh(a+b*x))^(1/2)*sinh(a+b*x)^-1//2*Elliptic.F(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*sinh(a+b*x)^3//2*cosh(a+b*x), x) == :(-4//25*b^-2*sinh(a+b*x)^3//2*cosh(a+b*x)+2//5*x*b^-1*sinh(a+b*x)^5//2+-12//25*im*b^-2*(im*sinh(a+b*x))^-1//2*sinh(a+b*x)^(1/2)*Elliptic.E(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*sinh(a+b*x)^(1/2)*cosh(a+b*x), x) == :(-4//9*b^-2*sinh(a+b*x)^(1/2)*cosh(a+b*x)+2//3*x*b^-1*sinh(a+b*x)^3//2+-4//9*im*b^-2*(im*sinh(a+b*x))^(1/2)*sinh(a+b*x)^-1//2*Elliptic.F(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*sinh(a+b*x)^-1//2*cosh(a+b*x), x) == :(2*x*b^-1*sinh(a+b*x)^(1/2)+4*im*b^-2*(im*sinh(a+b*x))^-1//2*sinh(a+b*x)^(1/2)*Elliptic.E(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*sinh(a+b*x)^-3//2*cosh(a+b*x), x) == :(-2*x*b^-1*sinh(a+b*x)^-1//2+-4*im*b^-2*(im*sinh(a+b*x))^(1/2)*sinh(a+b*x)^-1//2*Elliptic.F(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*sinh(a+b*x)^-5//2*cosh(a+b*x), x) == :(-4//3*b^-2*sinh(a+b*x)^-1//2*cosh(a+b*x)+-2//3*x*b^-1*sinh(a+b*x)^-3//2+-4//3*im*b^-2*(im*sinh(a+b*x))^-1//2*sinh(a+b*x)^(1/2)*Elliptic.E(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*sinh(a+b*x)^-7//2*cosh(a+b*x), x) == :(-4//15*b^-2*sinh(a+b*x)^-3//2*cosh(a+b*x)+-2//5*x*b^-1*sinh(a+b*x)^-5//2+4//15*im*b^-2*(im*sinh(a+b*x))^(1/2)*sinh(a+b*x)^-1//2*Elliptic.F(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*sinh(a+b*x)^-9//2*cosh(a+b*x), x) == :(-4//35*b^-2*sinh(a+b*x)^-5//2*cosh(a+b*x)+-2//7*x*b^-1*sinh(a+b*x)^-7//2+12//35*b^-2*sinh(a+b*x)^-1//2*cosh(a+b*x)+12//35*im*b^-2*(im*sinh(a+b*x))^-1//2*sinh(a+b*x)^(1/2)*Elliptic.E(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*csch(a+b*x)^9//2*cosh(a+b*x), x) == :(-4//35*b^-2*csch(a+b*x)^5//2*cosh(a+b*x)+-2//7*x*b^-1*csch(a+b*x)^7//2+12//35*b^-2*csch(a+b*x)^(1/2)*cosh(a+b*x)+12//35*im*b^-2*(im*sinh(a+b*x))^-1//2*csch(a+b*x)^-1//2*Elliptic.E(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*csch(a+b*x)^7//2*cosh(a+b*x), x) == :(-4//15*b^-2*csch(a+b*x)^3//2*cosh(a+b*x)+-2//5*x*b^-1*csch(a+b*x)^5//2+4//15*im*b^-2*(im*sinh(a+b*x))^(1/2)*csch(a+b*x)^(1/2)*Elliptic.F(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*csch(a+b*x)^5//2*cosh(a+b*x), x) == :(-4//3*b^-2*csch(a+b*x)^(1/2)*cosh(a+b*x)+-2//3*x*b^-1*csch(a+b*x)^3//2+-4//3*im*b^-2*(im*sinh(a+b*x))^-1//2*csch(a+b*x)^-1//2*Elliptic.E(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*csch(a+b*x)^3//2*cosh(a+b*x), x) == :(-2*x*b^-1*csch(a+b*x)^(1/2)+-4*im*b^-2*(im*sinh(a+b*x))^(1/2)*csch(a+b*x)^(1/2)*Elliptic.F(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*csch(a+b*x)^(1/2)*cosh(a+b*x), x) == :(2*x*b^-1*csch(a+b*x)^-1//2+4*im*b^-2*(im*sinh(a+b*x))^-1//2*csch(a+b*x)^-1//2*Elliptic.E(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*csch(a+b*x)^-1//2*cosh(a+b*x), x) == :(-4//9*b^-2*csch(a+b*x)^-1//2*cosh(a+b*x)+2//3*x*b^-1*csch(a+b*x)^-3//2+-4//9*im*b^-2*(im*sinh(a+b*x))^(1/2)*csch(a+b*x)^(1/2)*Elliptic.F(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*csch(a+b*x)^-3//2*cosh(a+b*x), x) == :(-4//25*b^-2*csch(a+b*x)^-3//2*cosh(a+b*x)+2//5*x*b^-1*csch(a+b*x)^-5//2+-12//25*im*b^-2*(im*sinh(a+b*x))^-1//2*csch(a+b*x)^-1//2*Elliptic.E(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate(x*csch(a+b*x)^-5//2*cosh(a+b*x), x) == :(-4//49*b^-2*csch(a+b*x)^-5//2*cosh(a+b*x)+2//7*x*b^-1*csch(a+b*x)^-7//2+20//147*b^-2*csch(a+b*x)^-1//2*cosh(a+b*x)+20//147*im*b^-2*(im*sinh(a+b*x))^(1/2)*csch(a+b*x)^(1/2)*Elliptic.F(-1//4*pi+(1/2)*im*a+(1/2)*im*b*x,2))
@test integrate((sinh(x)*tanh(x))^(1/2), x) == :(2*(sinh(x)*tanh(x))^(1/2)*coth(x))
@test integrate((sinh(x)*tanh(x))^3//2, x) == :(2//3*(sinh(x)*tanh(x))^(1/2)*sinh(x)+8//3*(sinh(x)*tanh(x))^(1/2)*csch(x))
@test integrate((sinh(x)*tanh(x))^5//2, x) == :(-64//15*(sinh(x)*tanh(x))^(1/2)*coth(x)+16//15*(sinh(x)*tanh(x))^(1/2)*tanh(x)+2//5*(sinh(x)*tanh(x))^(1/2)*sinh(x)^2*tanh(x))
@test integrate((cosh(x)*coth(x))^(1/2), x) == :(2*(cosh(x)*coth(x))^(1/2)*tanh(x))
@test integrate((cosh(x)*coth(x))^3//2, x) == :(-8//3*(cosh(x)*coth(x))^(1/2)*sech(x)+2//3*(cosh(x)*coth(x))^(1/2)*cosh(x))
@test integrate((cosh(x)*coth(x))^5//2, x) == :(-16//15*(cosh(x)*coth(x))^(1/2)*coth(x)+64//15*(cosh(x)*coth(x))^(1/2)*tanh(x)+2//5*(cosh(x)*coth(x))^(1/2)*cosh(x)^2*coth(x))
@test integrate((a+b*sinh(x))^-1*(b+c+cosh(x)), x) == :(b^-1*log(a+b*sinh(x))+-1*(a^2+b^2)^-1//2*(2b+2c)*arctanh((a^2+b^2)^-1//2*(b+-1*a*tanh((1/2)*x))))
@test integrate((a+-1*b*sinh(x))^-1*(b+c+cosh(x)), x) == :(-1*b^-1*log(a+-1*b*sinh(x))+(a^2+b^2)^-1//2*(2b+2c)*arctanh((a^2+b^2)^-1//2*(b+a*tanh((1/2)*x))))
@test integrate((a+b*cosh(x))^-1*(b+c+sinh(x)), x) == :(b^-1*log(a+b*cosh(x))+(a+b)^-1//2*(a+-1b)^-1//2*(2b+2c)*arctanh((a+b)^-1//2*(a+-1b)^(1/2)*tanh((1/2)*x)))
@test integrate((a+-1*b*cosh(x))^-1*(b+c+sinh(x)), x) == :(-1*b^-1*log(a+-1*b*cosh(x))+(a+b)^-1//2*(a+-1b)^-1//2*(2b+2c)*arctanh((a+b)^(1/2)*(a+-1b)^-1//2*tanh((1/2)*x)))
@test integrate(x*(a+b*sinh(x))^-2*(b+-1*a*sinh(x)), x) == :(b^-1*log(a+b*sinh(x))+-1*x*(a+b*sinh(x))^-1*cosh(x))
@test integrate(x*(a+b*cosh(x))^-2*(b+a*cosh(x)), x) == :(-1*b^-1*log(a+b*cosh(x))+x*(a+b*cosh(x))^-1*sinh(x))
@test integrate((c+d*cosh(x))^-1*(a+b*sech(x)), x) == :(b*c^-1*arctan(sinh(x))+c^-1*(c+d)^-1//2*(c+-1d)^-1//2*(-2*b*d+2*a*c)*arctanh((c+d)^-1//2*(c+-1d)^(1/2)*tanh((1/2)*x)))
@test integrate((c+d*sinh(x))^-1*(a+b*csch(x)), x) == :(-1*b*c^-1*arctanh(cosh(x))+-1*c^-1*(c^2+d^2)^-1//2*(-2*b*d+2*a*c)*arctanh((c^2+d^2)^-1//2*(d+-1*c*tanh((1/2)*x))))
@test integrate((1+-1*sinh(x)^2)^-1*(1+sinh(x)^2), x) == :(-1x+2^(1/2)*arctanh(2^(1/2)*tanh(x)))
@test integrate((1+sinh(x)^2)^-1*(1+-1*sinh(x)^2), x) == :(-1x+2*tanh(x))
@test integrate((1+-1*cosh(x)^2)^-1*(1+cosh(x)^2), x) == :(-1x+2*coth(x))
@test integrate((1+cosh(x)^2)^-1*(1+-1*cosh(x)^2), x) == :(-1x+2^(1/2)*arctanh((1/2)*2^(1/2)*tanh(x)))
@test integrate((c+d*cosh(x))^-1*(a+b*sech(x)^2), x) == :(b*c^-1*tanh(x)+-1*b*d*c^-2*arctan(sinh(x))+c^-2*(c+d)^-1//2*(c+-1d)^-1//2*(2*a*c^2+2*b*d^2)*arctanh((c+d)^-1//2*(c+-1d)^(1/2)*tanh((1/2)*x)))
@test integrate((c+d*sinh(x))^-1*(a+b*csch(x)^2), x) == :(-1*b*c^-1*coth(x)+b*d*c^-2*arctanh(cosh(x))+-1*c^-2*(c^2+d^2)^-1//2*(2*a*c^2+2*b*d^2)*arctanh((c^2+d^2)^-1//2*(d+-1*c*tanh((1/2)*x))))
@test integrate(a*cosh(x)+b*sinh(x), x) == :(a*sinh(x)+b*cosh(x))
@test integrate((a*cosh(x)+b*sinh(x))^2, x) == :(x*((1/2)*a^2+-1//2*b^2)+(a*cosh(x)+b*sinh(x))*((1/2)*a*sinh(x)+(1/2)*b*cosh(x)))
@test integrate((a*cosh(x)+b*sinh(x))^3, x) == :(1//3*(a*sinh(x)+b*cosh(x))^3+(a^2+-1*b^2)*(a*sinh(x)+b*cosh(x)))
@test integrate((a*cosh(x)+b*sinh(x))^4, x) == :((a*cosh(x)+b*sinh(x))^3*(1//4*a*sinh(x)+1//4*b*cosh(x))+3//8*x*(a^2+-1*b^2)^2+(-3//8*b^2+3//8*a^2)*(a*cosh(x)+b*sinh(x))*(a*sinh(x)+b*cosh(x)))
@test integrate((a*cosh(x)+b*sinh(x))^5, x) == :(1//5*(a*sinh(x)+b*cosh(x))^5+(a^2+-1*b^2)^2*(a*sinh(x)+b*cosh(x))+(a*sinh(x)+b*cosh(x))^3*(-2//3*b^2+2//3*a^2))
@test integrate((a*cosh(x)+b*sinh(x))^-1, x) == :((a^2+-1*b^2)^-1//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x))))
@test integrate((a*cosh(x)+b*sinh(x))^-2, x) == :(a^-1*(a*cosh(x)+b*sinh(x))^-1*sinh(x))
@test integrate((a*cosh(x)+b*sinh(x))^-3, x) == :((1/2)*(a^2+-1*b^2)^-3//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x)))+(-2*b^2+2*a^2)^-1*(a*cosh(x)+b*sinh(x))^-2*(a*sinh(x)+b*cosh(x)))
@test integrate((a*cosh(x)+b*sinh(x))^-4, x) == :((-3*b^2+3*a^2)^-1*(a*cosh(x)+b*sinh(x))^-3*(a*sinh(x)+b*cosh(x))+2//3*a^-1*(a^2+-1*b^2)^-1*(a*cosh(x)+b*sinh(x))^-1*sinh(x))
@test integrate((a*cosh(x)+b*sinh(x))^-5, x) == :(3//8*(a^2+-1*b^2)^-5//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x)))+(-4*b^2+4*a^2)^-1*(a*cosh(x)+b*sinh(x))^-4*(a*sinh(x)+b*cosh(x))+1//8*(a^2+-1*b^2)^-2*(a*cosh(x)+b*sinh(x))^-2*(3*a*sinh(x)+3*b*cosh(x)))
@test integrate((a*cosh(x)+b*sinh(x))^(1/2), x) == :(-2*im*((a^2+-1*b^2)^-1//2*(a*cosh(x)+b*sinh(x)))^-1//2*(a*cosh(x)+b*sinh(x))^(1/2)*Elliptic.E(-1//2*atan(-1*im*b,a)+(1/2)*im*x,2))
@test integrate((a*cosh(x)+b*sinh(x))^3//2, x) == :((a*cosh(x)+b*sinh(x))^(1/2)*(2//3*a*sinh(x)+2//3*b*cosh(x))+-2//3*im*((a^2+-1*b^2)^-1//2*(a*cosh(x)+b*sinh(x)))^(1/2)*(a*cosh(x)+b*sinh(x))^-1//2*(a^2+-1*b^2)*Elliptic.F(-1//2*atan(-1*im*b,a)+(1/2)*im*x,2))
@test integrate((a*cosh(x)+b*sinh(x))^5//2, x) == :((a*cosh(x)+b*sinh(x))^3//2*(2//5*a*sinh(x)+2//5*b*cosh(x))+-6//5*im*((a^2+-1*b^2)^-1//2*(a*cosh(x)+b*sinh(x)))^-1//2*(a*cosh(x)+b*sinh(x))^(1/2)*(a^2+-1*b^2)*Elliptic.E(-1//2*atan(-1*im*b,a)+(1/2)*im*x,2))
@test integrate((a*cosh(x)+b*sinh(x))^-1//2, x) == :(-2*im*((a^2+-1*b^2)^-1//2*(a*cosh(x)+b*sinh(x)))^(1/2)*(a*cosh(x)+b*sinh(x))^-1//2*Elliptic.F(-1//2*atan(-1*im*b,a)+(1/2)*im*x,2))
@test integrate((a*cosh(x)+b*sinh(x))^-3//2, x) == :((a^2+-1*b^2)^-1*(a*cosh(x)+b*sinh(x))^-1//2*(2*a*sinh(x)+2*b*cosh(x))+2*im*((a^2+-1*b^2)^-1//2*(a*cosh(x)+b*sinh(x)))^-1//2*(a^2+-1*b^2)^-1*(a*cosh(x)+b*sinh(x))^(1/2)*Elliptic.E(-1//2*atan(-1*im*b,a)+(1/2)*im*x,2))
@test integrate((a*cosh(x)+b*sinh(x))^-5//2, x) == :((-3*b^2+3*a^2)^-1*(a*cosh(x)+b*sinh(x))^-3//2*(2*a*sinh(x)+2*b*cosh(x))+-2*im*((a^2+-1*b^2)^-1//2*(a*cosh(x)+b*sinh(x)))^(1/2)*(-3*b^2+3*a^2)^-1*(a*cosh(x)+b*sinh(x))^-1//2*Elliptic.F(-1//2*atan(-1*im*b,a)+(1/2)*im*x,2))
@test integrate(a*cosh(c+d*x)+a*sinh(c+d*x), x) == :(a*d^-1*cosh(c+d*x)+a*d^-1*sinh(c+d*x))
@test integrate((a*cosh(c+d*x)+a*sinh(c+d*x))^2, x) == :((1/2)*d^-1*(a*cosh(c+d*x)+a*sinh(c+d*x))^2)
@test integrate((a*cosh(c+d*x)+a*sinh(c+d*x))^3, x) == :(1//3*d^-1*(a*cosh(c+d*x)+a*sinh(c+d*x))^3)
@test integrate((a*cosh(c+d*x)+a*sinh(c+d*x))^n, x) == :(d^-1*n^-1*(a*cosh(c+d*x)+a*sinh(c+d*x))^n)
@test integrate((a*cosh(c+d*x)+a*sinh(c+d*x))^-1, x) == :(-1*d^-1*(a*cosh(c+d*x)+a*sinh(c+d*x))^-1)
@test integrate((a*cosh(c+d*x)+a*sinh(c+d*x))^-2, x) == :(-1//2*d^-1*(a*cosh(c+d*x)+a*sinh(c+d*x))^-2)
@test integrate((a*cosh(c+d*x)+a*sinh(c+d*x))^-3, x) == :(-1//3*d^-1*(a*cosh(c+d*x)+a*sinh(c+d*x))^-3)
@test integrate((a*cosh(c+d*x)+a*sinh(c+d*x))^(1/2), x) == :(2*d^-1*(a*cosh(c+d*x)+a*sinh(c+d*x))^(1/2))
@test integrate((a*cosh(c+d*x)+a*sinh(c+d*x))^-1//2, x) == :(-2*d^-1*(a*cosh(c+d*x)+a*sinh(c+d*x))^-1//2)
@test integrate(a*cosh(c+d*x)+-1*a*sinh(c+d*x), x) == :(a*d^-1*sinh(c+d*x)+-1*a*d^-1*cosh(c+d*x))
@test integrate((a*cosh(c+d*x)+-1*a*sinh(c+d*x))^2, x) == :(-1//2*d^-1*(a*cosh(c+d*x)+-1*a*sinh(c+d*x))^2)
@test integrate((a*cosh(c+d*x)+-1*a*sinh(c+d*x))^3, x) == :(-1//3*d^-1*(a*cosh(c+d*x)+-1*a*sinh(c+d*x))^3)
@test integrate((a*cosh(c+d*x)+-1*a*sinh(c+d*x))^n, x) == :(-1*d^-1*n^-1*(a*cosh(c+d*x)+-1*a*sinh(c+d*x))^n)
@test integrate((a*cosh(c+d*x)+-1*a*sinh(c+d*x))^-1, x) == :(d^-1*(a*cosh(c+d*x)+-1*a*sinh(c+d*x))^-1)
@test integrate((a*cosh(c+d*x)+-1*a*sinh(c+d*x))^-2, x) == :((1/2)*d^-1*(a*cosh(c+d*x)+-1*a*sinh(c+d*x))^-2)
@test integrate((a*cosh(c+d*x)+-1*a*sinh(c+d*x))^-3, x) == :(1//3*d^-1*(a*cosh(c+d*x)+-1*a*sinh(c+d*x))^-3)
@test integrate((a*cosh(c+d*x)+-1*a*sinh(c+d*x))^(1/2), x) == :(-2*d^-1*(a*cosh(c+d*x)+-1*a*sinh(c+d*x))^(1/2))
@test integrate((a*cosh(c+d*x)+-1*a*sinh(c+d*x))^-1//2, x) == :(2*d^-1*(a*cosh(c+d*x)+-1*a*sinh(c+d*x))^-1//2)
@test integrate((a*sech(x)+b*tanh(x))^5, x) == :(b^5*log(cosh(x))+-1//4*(a+b*sinh(x))^4*sech(x)^4*(b+-1*a*sinh(x))+-1//8*(a+b*sinh(x))^2*sech(x)^2*(2*b*(a^2+2*b^2)+-1*a*(3*a^2+5*b^2)*sinh(x))+1//8*a*(3*a^4+15*b^4+10*a^2*b^2)*arctan(sinh(x))+-1//8*a*b^2*(3*a^2+7*b^2)*sinh(x))
@test integrate((a*sech(x)+b*tanh(x))^4, x) == :(x*b^4+-1//3*(a+b*sinh(x))^3*sech(x)^3*(b+-1*a*sinh(x))+1//3*(a+b*sinh(x))^2*(a*b+(2*a^2+3*b^2)*sinh(x))*sech(x)+-4//3*a*b*(a^2+2*b^2)*cosh(x)+-1//3*b^2*(2*a^2+3*b^2)*cosh(x)*sinh(x))
@test integrate((a*sech(x)+b*tanh(x))^3, x) == :(b^3*log(cosh(x))+(1/2)*a*(a^2+3*b^2)*arctan(sinh(x))+-1//2*a*b^2*sinh(x)+-1//2*(a+b*sinh(x))^2*sech(x)^2*(b+-1*a*sinh(x)))
@test integrate((a*sech(x)+b*tanh(x))^2, x) == :(x*b^2+-1*a*b*cosh(x)+-1*(a+b*sinh(x))*(b+-1*a*sinh(x))*sech(x))
@test integrate(a*sech(x)+b*tanh(x), x) == :(a*arctan(sinh(x))+b*log(cosh(x)))
@test integrate((a*sech(x)+b*tanh(x))^-1, x) == :(b^-1*log(a+b*sinh(x)))
@test integrate((a*sech(x)+b*tanh(x))^-2, x) == :(x*b^-2+-1*b^-1*(a+b*sinh(x))^-1*cosh(x)+2*a*b^-2*(a^2+b^2)^-1//2*arctanh((a^2+b^2)^-1//2*(b+-1*a*tanh((1/2)*x))))
@test integrate((a*sech(x)+b*tanh(x))^-3, x) == :(b^-3*log(a+b*sinh(x))+2*a*b^-3*(a+b*sinh(x))^-1+-1//2*b^-3*(a+b*sinh(x))^-2*(a^2+b^2))
@test integrate((a*sech(x)+b*tanh(x))^-4, x) == :(x*b^-4+-1//3*b^-1*(a+b*sinh(x))^-3*cosh(x)^3+a*b^-4*(a^2+b^2)^-3//2*(2*a^2+3*b^2)*arctanh((a^2+b^2)^-1//2*(b+-1*a*tanh((1/2)*x)))+(1/2)*a*b^-1*(a+b*sinh(x))^-2*(a^2+b^2)^-1*cosh(x)^3+-1//2*b^-3*(a+b*sinh(x))^-1*(a^2+b^2)^-1*(2*a^2+2*b^2+a*b*sinh(x))*cosh(x))
@test integrate((a*sech(x)+b*tanh(x))^-5, x) == :(b^-5*log(a+b*sinh(x))+-1*b^-5*(a+b*sinh(x))^-2*(b^2+3*a^2)+4*a*b^-5*(a+b*sinh(x))^-1+-1//4*b^-5*(a+b*sinh(x))^-4*(a^2+b^2)^2+4//3*a*b^-5*(a+b*sinh(x))^-3*(a^2+b^2))
@test integrate((im*tanh(x)+sech(x))^5, x) == :(im*log(im+sinh(x))+-2*im*(1+-1*im*sinh(x))^-2+4*im*(1+-1*im*sinh(x))^-1)
@test integrate((im*tanh(x)+sech(x))^4, x) == :(x+2*im*(1+-1*im*sinh(x))^-1*cosh(x)+-2//3*im*(1+-1*im*sinh(x))^-3*cosh(x)^3)
@test integrate((im*tanh(x)+sech(x))^3, x) == :(-1*im*log(im+sinh(x))+-2*im*(1+-1*im*sinh(x))^-1)
@test integrate((im*tanh(x)+sech(x))^2, x) == :(-1x+-2*im*(1+-1*im*sinh(x))^-1*cosh(x))
@test integrate(im*tanh(x)+sech(x), x) == :(im*log(cosh(x))+arctan(sinh(x)))
@test integrate((im*tanh(x)+sech(x))^-1, x) == :(-1*im*log(im+-1*sinh(x)))
@test integrate((im*tanh(x)+sech(x))^-2, x) == :(-1x+2*im*(1+im*sinh(x))^-1*cosh(x))
@test integrate((im*tanh(x)+sech(x))^-3, x) == :(im*log(im+-1*sinh(x))+2*im*(1+im*sinh(x))^-1)
@test integrate((im*tanh(x)+sech(x))^-4, x) == :(x+-2*im*(1+im*sinh(x))^-1*cosh(x)+2//3*im*(1+im*sinh(x))^-3*cosh(x)^3)
@test integrate((im*tanh(x)+sech(x))^-5, x) == :(-1*im*log(im+-1*sinh(x))+-4*im*(1+im*sinh(x))^-1+2*im*(1+im*sinh(x))^-2)
@test integrate((-1*im*tanh(x)+sech(x))^5, x) == :(-1*im*log(im+-1*sinh(x))+-4*im*(1+im*sinh(x))^-1+2*im*(1+im*sinh(x))^-2)
@test integrate((-1*im*tanh(x)+sech(x))^4, x) == :(x+-2*im*(1+im*sinh(x))^-1*cosh(x)+2//3*im*(1+im*sinh(x))^-3*cosh(x)^3)
@test integrate((-1*im*tanh(x)+sech(x))^3, x) == :(im*log(im+-1*sinh(x))+2*im*(1+im*sinh(x))^-1)
@test integrate((-1*im*tanh(x)+sech(x))^2, x) == :(-1x+2*im*(1+im*sinh(x))^-1*cosh(x))
@test integrate(-1*im*tanh(x)+sech(x), x) == :(-1*im*log(cosh(x))+arctan(sinh(x)))
@test integrate((-1*im*tanh(x)+sech(x))^-1, x) == :(im*log(im+sinh(x)))
@test integrate((-1*im*tanh(x)+sech(x))^-2, x) == :(-1x+-2*im*(1+-1*im*sinh(x))^-1*cosh(x))
@test integrate((-1*im*tanh(x)+sech(x))^-3, x) == :(-1*im*log(im+sinh(x))+-2*im*(1+-1*im*sinh(x))^-1)
@test integrate((-1*im*tanh(x)+sech(x))^-4, x) == :(x+2*im*(1+-1*im*sinh(x))^-1*cosh(x)+-2//3*im*(1+-1*im*sinh(x))^-3*cosh(x)^3)
@test integrate((-1*im*tanh(x)+sech(x))^-5, x) == :(im*log(im+sinh(x))+-2*im*(1+-1*im*sinh(x))^-2+4*im*(1+-1*im*sinh(x))^-1)
@test integrate((a*coth(x)+b*csch(x))^5, x) == :(a^5*log(sinh(x))+-1//4*(b+a*cosh(x))^4*csch(x)^4*(a+b*cosh(x))+-1//8*b*(3*b^4+15*a^4+-10*a^2*b^2)*arctanh(cosh(x))+-1//8*(b+a*cosh(x))^2*csch(x)^2*(2*a*(-1*b^2+2*a^2)+b*(-3*b^2+5*a^2)*cosh(x))+1//8*b*a^2*(-3*b^2+7*a^2)*cosh(x))
@test integrate((a*coth(x)+b*csch(x))^4, x) == :(x*a^4+-1//3*(b+a*cosh(x))^2*(a*b+(-2*b^2+3*a^2)*cosh(x))*csch(x)+-1//3*(b+a*cosh(x))^3*csch(x)^3*(a+b*cosh(x))+1//3*a^2*(-2*b^2+3*a^2)*cosh(x)*sinh(x)+4//3*a*b*(-1*b^2+2*a^2)*sinh(x))
@test integrate((a*coth(x)+b*csch(x))^3, x) == :(a^3*log(sinh(x))+(1/2)*b*a^2*cosh(x)+-1//2*b*(-1*b^2+3*a^2)*arctanh(cosh(x))+-1//2*(b+a*cosh(x))^2*csch(x)^2*(a+b*cosh(x)))
@test integrate((a*coth(x)+b*csch(x))^2, x) == :(x*a^2+a*b*sinh(x)+-1*(a+b*cosh(x))*(b+a*cosh(x))*csch(x))
@test integrate(a*coth(x)+b*csch(x), x) == :(a*log(sinh(x))+-1*b*arctanh(cosh(x)))
@test integrate((a*coth(x)+b*csch(x))^-1, x) == :(a^-1*log(b+a*cosh(x)))
@test integrate((a*coth(x)+b*csch(x))^-2, x) == :(x*a^-2+-1*a^-1*(b+a*cosh(x))^-1*sinh(x)+-2*b*a^-2*(a+b)^-1//2*(a+-1b)^-1//2*arctan((a+b)^-1//2*(a+-1b)^(1/2)*tanh((1/2)*x)))
@test integrate((a*coth(x)+b*csch(x))^-3, x) == :(a^-3*log(b+a*cosh(x))+(1/2)*a^-3*(b+a*cosh(x))^-2*(a^2+-1*b^2)+2*b*a^-3*(b+a*cosh(x))^-1)
@test integrate((a*coth(x)+b*csch(x))^-4, x) == :(x*a^-4+-1//3*a^-1*(b+a*cosh(x))^-3*sinh(x)^3+-1//2*b*a^-1*(b+a*cosh(x))^-2*(a^2+-1*b^2)^-1*sinh(x)^3+-1//2*a^-3*(b+a*cosh(x))^-1*(a^2+-1*b^2)^-1*(-2*b^2+2*a^2+-1*a*b*cosh(x))*sinh(x)+-1*b*a^-4*(a+b)^-3//2*(a+-1b)^-3//2*(-2*b^2+3*a^2)*arctan((a+b)^-1//2*(a+-1b)^(1/2)*tanh((1/2)*x)))
@test integrate((a*coth(x)+b*csch(x))^-5, x) == :(a^-5*log(b+a*cosh(x))+a^-5*(b+a*cosh(x))^-2*(a^2+-3*b^2)+4*b*a^-5*(b+a*cosh(x))^-1+-1//4*a^-5*(b+a*cosh(x))^-4*(a^2+-1*b^2)^2+-4//3*b*a^-5*(b+a*cosh(x))^-3*(a^2+-1*b^2))
@test integrate((coth(x)+csch(x))^5, x) == :(-2*(1+-1*cosh(x))^-2+4*(1+-1*cosh(x))^-1+log(1+-1*cosh(x)))
@test integrate((coth(x)+csch(x))^4, x) == :(x+2*(1+-1*cosh(x))^-1*sinh(x)+2//3*(1+-1*cosh(x))^-3*sinh(x)^3)
@test integrate((coth(x)+csch(x))^3, x) == :(2*(1+-1*cosh(x))^-1+log(1+-1*cosh(x)))
@test integrate((coth(x)+csch(x))^2, x) == :(x+2*(1+-1*cosh(x))^-1*sinh(x))
@test integrate(coth(x)+csch(x), x) == :(-1*arctanh(cosh(x))+log(sinh(x)))
@test integrate((coth(x)+csch(x))^-1, x) == :(log(1+cosh(x)))
@test integrate((coth(x)+csch(x))^-2, x) == :(x+-2*(1+cosh(x))^-1*sinh(x))
@test integrate((coth(x)+csch(x))^-3, x) == :(2*(1+cosh(x))^-1+log(1+cosh(x)))
@test integrate((coth(x)+csch(x))^-4, x) == :(x+-2*(1+cosh(x))^-1*sinh(x)+-2//3*(1+cosh(x))^-3*sinh(x)^3)
@test integrate((coth(x)+csch(x))^-5, x) == :(-2*(1+cosh(x))^-2+4*(1+cosh(x))^-1+log(1+cosh(x)))
@test integrate((-1*coth(x)+csch(x))^5, x) == :(-1*log(1+cosh(x))+-4*(1+cosh(x))^-1+2*(1+cosh(x))^-2)
@test integrate((-1*coth(x)+csch(x))^4, x) == :(x+-2*(1+cosh(x))^-1*sinh(x)+-2//3*(1+cosh(x))^-3*sinh(x)^3)
@test integrate((-1*coth(x)+csch(x))^3, x) == :(-1*log(1+cosh(x))+-2*(1+cosh(x))^-1)
@test integrate((-1*coth(x)+csch(x))^2, x) == :(x+-2*(1+cosh(x))^-1*sinh(x))
@test integrate(-1*coth(x)+csch(x), x) == :(-1*arctanh(cosh(x))+-1*log(sinh(x)))
@test integrate((-1*coth(x)+csch(x))^-1, x) == :(-1*log(1+-1*cosh(x)))
@test integrate((-1*coth(x)+csch(x))^-2, x) == :(x+2*(1+-1*cosh(x))^-1*sinh(x))
@test integrate((-1*coth(x)+csch(x))^-3, x) == :(-1*log(1+-1*cosh(x))+-2*(1+-1*cosh(x))^-1)
@test integrate((-1*coth(x)+csch(x))^-4, x) == :(x+2*(1+-1*cosh(x))^-1*sinh(x)+2//3*(1+-1*cosh(x))^-3*sinh(x)^3)
@test integrate((-1*coth(x)+csch(x))^-5, x) == :(-1*log(1+-1*cosh(x))+-4*(1+-1*cosh(x))^-1+2*(1+-1*cosh(x))^-2)
@test integrate(csch(x)+sinh(x), x) == :(-1*arctanh(cosh(x))+cosh(x))
@test integrate((csch(x)+sinh(x))^2, x) == :(-3//2*coth(x)+3//2*x+(1/2)*cosh(x)^2*coth(x))
@test integrate((csch(x)+sinh(x))^3, x) == :(-5//2*arctanh(cosh(x))+5//2*cosh(x)+5//6*cosh(x)^3+-1//2*cosh(x)^3*coth(x)^2)
@test integrate((csch(x)+sinh(x))^(1/2), x) == :(2*(cosh(x)*coth(x))^(1/2)*tanh(x))
@test integrate((csch(x)+sinh(x))^3//2, x) == :(-8//3*(cosh(x)*coth(x))^(1/2)*sech(x)+2//3*(cosh(x)*coth(x))^(1/2)*cosh(x))
@test integrate((csch(x)+sinh(x))^5//2, x) == :(-16//15*(cosh(x)*coth(x))^(1/2)*coth(x)+64//15*(cosh(x)*coth(x))^(1/2)*tanh(x)+2//5*(cosh(x)*coth(x))^(1/2)*cosh(x)^2*coth(x))
@test integrate(-1*cosh(x)+sech(x), x) == :(-1*sinh(x)+arctan(sinh(x)))
@test integrate((-1*cosh(x)+sech(x))^2, x) == :(-3//2*x+3//2*tanh(x)+(1/2)*sinh(x)^2*tanh(x))
@test integrate((-1*cosh(x)+sech(x))^3, x) == :(-5//2*arctan(sinh(x))+-5//6*sinh(x)^3+5//2*sinh(x)+(1/2)*sinh(x)^3*tanh(x)^2)
@test integrate((-1*cosh(x)+sech(x))^(1/2), x) == :(2*(-1*sinh(x)*tanh(x))^(1/2)*coth(x))
@test integrate((-1*cosh(x)+sech(x))^3//2, x) == :(-8//3*(-1*sinh(x)*tanh(x))^(1/2)*csch(x)+-2//3*(-1*sinh(x)*tanh(x))^(1/2)*sinh(x))
@test integrate((-1*cosh(x)+sech(x))^5//2, x) == :(-64//15*(-1*sinh(x)*tanh(x))^(1/2)*coth(x)+16//15*(-1*sinh(x)*tanh(x))^(1/2)*tanh(x)+2//5*(-1*sinh(x)*tanh(x))^(1/2)*sinh(x)^2*tanh(x))
@test integrate((a*cosh(x)+b*sinh(x))^-1*sinh(x), x) == :(a*(a^2+-1*b^2)^-1*log(a*cosh(x)+b*sinh(x))+-1*b*x*(a^2+-1*b^2)^-1)
@test integrate((a*cosh(x)+b*sinh(x))^-1*sinh(x)^2, x) == :(a*(a^2+-1*b^2)^-1*sinh(x)+-1*b*(a^2+-1*b^2)^-1*cosh(x)+-1*a^2*(a^2+-1*b^2)^-3//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x))))
@test integrate((a*cosh(x)+b*sinh(x))^-1*sinh(x)^3, x) == :(a*(-2*b^2+2*a^2)^-1*sinh(x)^2+b*x*(-2*b^2+2*a^2)^-1+-1*a^3*(a^2+-1*b^2)^-2*log(a*cosh(x)+b*sinh(x))+b*x*a^2*(a^2+-1*b^2)^-2+-1*b*(-2*b^2+2*a^2)^-1*cosh(x)*sinh(x))
@test integrate((a*cosh(x)+b*sinh(x))^-1*cosh(x), x) == :(a*x*(a^2+-1*b^2)^-1+-1*b*(a^2+-1*b^2)^-1*log(a*cosh(x)+b*sinh(x)))
@test integrate((a*cosh(x)+b*sinh(x))^-1*cosh(x)^2, x) == :(a*(a^2+-1*b^2)^-1*sinh(x)+-1*b*(a^2+-1*b^2)^-1*cosh(x)+-1*b^2*(a^2+-1*b^2)^-3//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x))))
@test integrate((a*cosh(x)+b*sinh(x))^-1*cosh(x)^3, x) == :(a*x*(-2*b^2+2*a^2)^-1+b^3*(a^2+-1*b^2)^-2*log(a*cosh(x)+b*sinh(x))+-1*b*(-2*b^2+2*a^2)^-1*cosh(x)^2+a*(-2*b^2+2*a^2)^-1*cosh(x)*sinh(x)+-1*a*x*b^2*(a^2+-1*b^2)^-2)
@test integrate((a*sinh(x)+b*cosh(x))^-1*tanh(x), x) == :(a^-1*arctan(sinh(x))+b*a^-1*(a^2+-1*b^2)^-1//2*arctanh((a^2+-1*b^2)^-1//2*(a*cosh(x)+b*sinh(x))))
@test integrate((a*sinh(x)+b*cosh(x))^-1*coth(x), x) == :(-1*b^-1*arctanh(cosh(x))+a*b^-1*(a^2+-1*b^2)^-1//2*arctanh((a^2+-1*b^2)^-1//2*(a*cosh(x)+b*sinh(x))))
@test integrate((a*cosh(x)+b*sinh(x))^-2*sinh(x), x) == :(-1*a*(a^2+-1*b^2)^-1*(a*cosh(x)+b*sinh(x))^-1+-1*b*(a^2+-1*b^2)^-3//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x))))
@test integrate((a*cosh(x)+b*sinh(x))^-2*sinh(x)^2, x) == :(x*(a^2+-1*b^2)^-2*(a^2+b^2)+-1*a*(b+a*coth(x))^-1*(a^2+-1*b^2)^-1+-2*a*b*(a^2+-1*b^2)^-2*log(a*cosh(x)+b*sinh(x)))
@test integrate((a*cosh(x)+b*sinh(x))^-2*cosh(x), x) == :(a*(a^2+-1*b^2)^-3//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x)))+b*(a^2+-1*b^2)^-1*(a*cosh(x)+b*sinh(x))^-1)
@test integrate((a*cosh(x)+b*sinh(x))^-2*cosh(x)^2, x) == :(b*(a+b*tanh(x))^-1*(a^2+-1*b^2)^-1+x*(a^2+-1*b^2)^-2*(a^2+b^2)+-2*a*b*(a^2+-1*b^2)^-2*log(a*cosh(x)+b*sinh(x)))
@test integrate((a*cosh(x)+b*sinh(x))^-3*sinh(x), x) == :((1/2)*a^-1*(a+b*tanh(x))^-2*tanh(x)^2)
@test integrate((a*cosh(x)+b*sinh(x))^-3*sinh(x)^3, x) == :(-1*a*(b+a*coth(x))^-2*(-2*b^2+2*a^2)^-1+a*(a^2+-1*b^2)^-3*(a^2+3*b^2)*log(a*cosh(x)+b*sinh(x))+-1*b*x*(a^2+-1*b^2)^-3*(b^2+3*a^2)+2*a*b*(b+a*coth(x))^-1*(a^2+-1*b^2)^-2)
@test integrate((a*cosh(x)+b*sinh(x))^-3*cosh(x), x) == :(-1//2*b^-1*(b+a*coth(x))^-2*coth(x)^2)
@test integrate((a*cosh(x)+b*sinh(x))^-3*cosh(x)^3, x) == :(b*(a+b*tanh(x))^-2*(-2*b^2+2*a^2)^-1+a*x*(a^2+-1*b^2)^-3*(a^2+3*b^2)+-1*b*(a^2+-1*b^2)^-3*(b^2+3*a^2)*log(a*cosh(x)+b*sinh(x))+2*a*b*(a+b*tanh(x))^-1*(a^2+-1*b^2)^-2)
@test integrate((a*cosh(x)+b*sinh(x))^-1*cosh(x)*sinh(x), x) == :(a*(a^2+-1*b^2)^-1*cosh(x)+-1*b*(a^2+-1*b^2)^-1*sinh(x)+a*b*(a^2+-1*b^2)^-3//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x))))
@test integrate((a*cosh(x)+b*sinh(x))^-1*sinh(x)^2*cosh(x), x) == :(-1*a*x*(-2*b^2+2*a^2)^-1+-1*b*(-2*b^2+2*a^2)^-1*sinh(x)^2+a*(-2*b^2+2*a^2)^-1*cosh(x)*sinh(x)+b*a^2*(a^2+-1*b^2)^-2*log(a*cosh(x)+b*sinh(x))+-1*a*x*b^2*(a^2+-1*b^2)^-2)
@test integrate((a*cosh(x)+b*sinh(x))^-1*sinh(x)^3*cosh(x), x) == :(a*(-3*b^2+3*a^2)^-1*cosh(x)^3+-1*a*(a^2+-1*b^2)^-1*cosh(x)+-1*b*(-3*b^2+3*a^2)^-1*sinh(x)^3+b*a^2*(a^2+-1*b^2)^-2*sinh(x)+-1*a*b^2*(a^2+-1*b^2)^-2*cosh(x)+-1*b*a^3*(a^2+-1*b^2)^-5//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x))))
@test integrate((a*cosh(x)+b*sinh(x))^-1*cosh(x)^2*sinh(x), x) == :(a*(-2*b^2+2*a^2)^-1*sinh(x)^2+-1*b*x*(-2*b^2+2*a^2)^-1+b*x*a^2*(a^2+-1*b^2)^-2+-1*a*b^2*(a^2+-1*b^2)^-2*log(a*cosh(x)+b*sinh(x))+-1*b*(-2*b^2+2*a^2)^-1*cosh(x)*sinh(x))
@test integrate((a*cosh(x)+b*sinh(x))^-1*cosh(x)^2*sinh(x)^2, x) == :(a*(-3*b^2+3*a^2)^-1*sinh(x)^3+-1*b*(-3*b^2+3*a^2)^-1*cosh(x)^3+b*a^2*(a^2+-1*b^2)^-2*cosh(x)+a^2*b^2*(a^2+-1*b^2)^-5//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x)))+-1*a*b^2*(a^2+-1*b^2)^-2*sinh(x))
@test integrate((a*cosh(x)+b*sinh(x))^-1*cosh(x)^2*sinh(x)^3, x) == :(a*(-4*b^2+4*a^2)^-1*sinh(x)^4+b*x*(-8*b^2+8*a^2)^-1+b*(-8*b^2+8*a^2)^-1*cosh(x)*sinh(x)+a^3*b^2*(a^2+-1*b^2)^-3*log(a*cosh(x)+b*sinh(x))+-1*b*(-4*b^2+4*a^2)^-1*cosh(x)^3*sinh(x)+-1*x*a^2*b^3*(a^2+-1*b^2)^-3+-1//2*a*b^2*(a^2+-1*b^2)^-2*sinh(x)^2+-1//2*b*x*a^2*(a^2+-1*b^2)^-2+(1/2)*b*a^2*(a^2+-1*b^2)^-2*cosh(x)*sinh(x))
@test integrate((a*cosh(x)+b*sinh(x))^-1*cosh(x)^3*sinh(x), x) == :(a*(-3*b^2+3*a^2)^-1*cosh(x)^3+-1*b*(a^2+-1*b^2)^-1*sinh(x)+-1*b*(-3*b^2+3*a^2)^-1*sinh(x)^3+b*a^2*(a^2+-1*b^2)^-2*sinh(x)+-1*a*b^2*(a^2+-1*b^2)^-2*cosh(x)+-1*a*b^3*(a^2+-1*b^2)^-5//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x))))
@test integrate((a*cosh(x)+b*sinh(x))^-1*cosh(x)^3*sinh(x)^2, x) == :(-1*a*x*(-8*b^2+8*a^2)^-1+-1*b*(-4*b^2+4*a^2)^-1*cosh(x)^4+a*(-4*b^2+4*a^2)^-1*cosh(x)^3*sinh(x)+x*a^3*b^2*(a^2+-1*b^2)^-3+(1/2)*b*a^2*(a^2+-1*b^2)^-2*sinh(x)^2+-1*a*(-8*b^2+8*a^2)^-1*cosh(x)*sinh(x)+-1*a^2*b^3*(a^2+-1*b^2)^-3*log(a*cosh(x)+b*sinh(x))+-1//2*a*x*b^2*(a^2+-1*b^2)^-2+-1//2*a*b^2*(a^2+-1*b^2)^-2*cosh(x)*sinh(x))
@test integrate((a*cosh(x)+b*sinh(x))^-1*cosh(x)^3*sinh(x)^3, x) == :(a*(-5*b^2+5*a^2)^-1*cosh(x)^5+-1*a*(-3*b^2+3*a^2)^-1*cosh(x)^3+-1*b*(-5*b^2+5*a^2)^-1*sinh(x)^5+-1*b*(-3*b^2+3*a^2)^-1*sinh(x)^3+a^3*b^2*(a^2+-1*b^2)^-3*cosh(x)+a^3*b^3*(a^2+-1*b^2)^-7//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x)))+-1*a^2*b^3*(a^2+-1*b^2)^-3*sinh(x)+-1//3*a*b^2*(a^2+-1*b^2)^-2*cosh(x)^3+1//3*b*a^2*(a^2+-1*b^2)^-2*sinh(x)^3)
@test integrate((a*cosh(x)+b*sinh(x))^-2*cosh(x)*sinh(x), x) == :(a^2*(a^2+-1*b^2)^-2*log(a*cosh(x)+b*sinh(x))+b^2*(a^2+-1*b^2)^-2*log(a*cosh(x)+b*sinh(x))+b*(a^2+-1*b^2)^-1*(a*cosh(x)+b*sinh(x))^-1*sinh(x)+-2*a*b*x*(a^2+-1*b^2)^-2)
@test integrate((a*cosh(x)+b*sinh(x))^-2*sinh(x)^2*cosh(x), x) == :(a^2*(a^2+-1*b^2)^-2*sinh(x)+b^2*(a^2+-1*b^2)^-2*sinh(x)+-1*a^3*(a^2+-1*b^2)^-5//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x)))+-1*b*a^2*(a^2+-1*b^2)^-2*(a*cosh(x)+b*sinh(x))^-1+-2*a*b*(a^2+-1*b^2)^-2*cosh(x)+-2*a*b^2*(a^2+-1*b^2)^-5//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x))))
@test integrate((a*cosh(x)+b*sinh(x))^-2*sinh(x)^3*cosh(x), x) == :((1/2)*a^2*(a^2+-1*b^2)^-2*sinh(x)^2+(1/2)*b^2*(a^2+-1*b^2)^-2*sinh(x)^2+-1*a^4*(a^2+-1*b^2)^-3*log(a*cosh(x)+b*sinh(x))+a*b*x*(a^2+-1*b^2)^-2+a*x*b^3*(a^2+-1*b^2)^-3+b*x*a^3*(a^2+-1*b^2)^-3+-1*b*a^2*(b+a*coth(x))^-1*(a^2+-1*b^2)^-2+-3*a^2*b^2*(a^2+-1*b^2)^-3*log(a*cosh(x)+b*sinh(x))+a*b*x*(a^2+-1*b^2)^-3*(a^2+b^2)+-1*a*b*(a^2+-1*b^2)^-2*cosh(x)*sinh(x))
@test integrate((a*cosh(x)+b*sinh(x))^-2*cosh(x)^2*sinh(x), x) == :(a^2*(a^2+-1*b^2)^-2*cosh(x)+b^2*(a^2+-1*b^2)^-2*cosh(x)+b^3*(a^2+-1*b^2)^-5//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x)))+a*b^2*(a^2+-1*b^2)^-2*(a*cosh(x)+b*sinh(x))^-1+-2*a*b*(a^2+-1*b^2)^-2*sinh(x)+2*b*a^2*(a^2+-1*b^2)^-5//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x))))
@test integrate((a*cosh(x)+b*sinh(x))^-2*cosh(x)^2*sinh(x)^2, x) == :((1/2)*x*b^2*(a^2+-1*b^2)^-2+-1//2*x*a^2*(a^2+-1*b^2)^-2+(1/2)*a^2*(a^2+-1*b^2)^-2*cosh(x)*sinh(x)+(1/2)*b^2*(a^2+-1*b^2)^-2*cosh(x)*sinh(x)+-1*a*b*(a^2+-1*b^2)^-2*sinh(x)^2+-4*x*a^2*b^2*(a^2+-1*b^2)^-3+2*a*b^3*(a^2+-1*b^2)^-3*log(a*cosh(x)+b*sinh(x))+2*b*a^3*(a^2+-1*b^2)^-3*log(a*cosh(x)+b*sinh(x))+a*b^2*(a^2+-1*b^2)^-2*(a*cosh(x)+b*sinh(x))^-1*sinh(x))
@test integrate((a*cosh(x)+b*sinh(x))^-2*cosh(x)^2*sinh(x)^3, x) == :(-1*a^2*(a^2+-1*b^2)^-2*cosh(x)+1//3*a^2*(a^2+-1*b^2)^-2*cosh(x)^3+1//3*b^2*(a^2+-1*b^2)^-2*cosh(x)^3+-1*a^3*b^2*(a^2+-1*b^2)^-3*(a*cosh(x)+b*sinh(x))^-1+-4*a^2*b^2*(a^2+-1*b^2)^-3*cosh(x)+-3*a^2*b^3*(a^2+-1*b^2)^-7//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x)))+-2*b*a^4*(a^2+-1*b^2)^-7//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x)))+2*a*b^3*(a^2+-1*b^2)^-3*sinh(x)+2*b*a^3*(a^2+-1*b^2)^-3*sinh(x)+-2//3*a*b*(a^2+-1*b^2)^-2*sinh(x)^3)
@test integrate((a*cosh(x)+b*sinh(x))^-2*cosh(x)^3*sinh(x), x) == :((1/2)*a^2*(a^2+-1*b^2)^-2*sinh(x)^2+(1/2)*b^2*(a^2+-1*b^2)^-2*cosh(x)^2+-1*b^4*(a^2+-1*b^2)^-3*log(a*cosh(x)+b*sinh(x))+a*x*b^3*(a^2+-1*b^2)^-3+a*b^2*(a+b*tanh(x))^-1*(a^2+-1*b^2)^-2+b*x*a^3*(a^2+-1*b^2)^-3+-1*a*b*x*(a^2+-1*b^2)^-2+-3*a^2*b^2*(a^2+-1*b^2)^-3*log(a*cosh(x)+b*sinh(x))+a*b*x*(a^2+-1*b^2)^-3*(a^2+b^2)+-1*a*b*(a^2+-1*b^2)^-2*cosh(x)*sinh(x))
@test integrate((a*cosh(x)+b*sinh(x))^-2*cosh(x)^3*sinh(x)^2, x) == :(b^2*(a^2+-1*b^2)^-2*sinh(x)+1//3*a^2*(a^2+-1*b^2)^-2*sinh(x)^3+1//3*b^2*(a^2+-1*b^2)^-2*sinh(x)^3+a^2*b^3*(a^2+-1*b^2)^-3*(a*cosh(x)+b*sinh(x))^-1+-4*a^2*b^2*(a^2+-1*b^2)^-3*sinh(x)+2*a*b^3*(a^2+-1*b^2)^-3*cosh(x)+2*a*b^4*(a^2+-1*b^2)^-7//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x)))+2*b*a^3*(a^2+-1*b^2)^-3*cosh(x)+3*a^3*b^2*(a^2+-1*b^2)^-7//2*arctan((a^2+-1*b^2)^-1//2*(a*sinh(x)+b*cosh(x)))+-2//3*a*b*(a^2+-1*b^2)^-2*cosh(x)^3)
@test integrate((a*cosh(x)+b*sinh(x))^-2*cosh(x)^3*sinh(x)^3, x) == :(1//4*a^2*(a^2+-1*b^2)^-2*sinh(x)^4+1//4*b^2*(a^2+-1*b^2)^-2*cosh(x)^4+a*x*b^3*(a^2+-1*b^2)^-3+-1*b*x*a^3*(a^2+-1*b^2)^-3+-6*x*a^3*b^3*(a^2+-1*b^2)^-4+-2*a^2*b^2*(a^2+-1*b^2)^-3*sinh(x)^2+3*a^2*b^4*(a^2+-1*b^2)^-4*log(a*cosh(x)+b*sinh(x))+3*a^4*b^2*(a^2+-1*b^2)^-4*log(a*cosh(x)+b*sinh(x))+1//4*a*b*x*(a^2+-1*b^2)^-2+a*b^3*(a^2+-1*b^2)^-3*cosh(x)*sinh(x)+b*a^3*(a^2+-1*b^2)^-3*cosh(x)*sinh(x)+a^2*b^3*(a^2+-1*b^2)^-3*(a*cosh(x)+b*sinh(x))^-1*sinh(x)+-1//2*a*b*(a^2+-1*b^2)^-2*cosh(x)^3*sinh(x)+1//4*a*b*(a^2+-1*b^2)^-2*cosh(x)*sinh(x))
@test integrate((b*cosh(x)+c*sinh(x))^-1*(A+C*sinh(x)), x) == :(A*(b^2+-1*c^2)^-1//2*arctan((b^2+-1*c^2)^-1//2*(b*sinh(x)+c*cosh(x)))+C*b*(b^2+-1*c^2)^-1*log(b*cosh(x)+c*sinh(x))+-1*C*c*x*(b^2+-1*c^2)^-1)
@test integrate((b*cosh(x)+c*sinh(x))^-2*(A+C*sinh(x)), x) == :(-1*(b^2+-1*c^2)^-1*(b*cosh(x)+c*sinh(x))^-1*(C*b+-1*A*b*sinh(x)+-1*A*c*cosh(x))+-1*C*c*(b^2+-1*c^2)^-3//2*arctan((b^2+-1*c^2)^-1//2*(b*sinh(x)+c*cosh(x))))
@test integrate((b*cosh(x)+c*sinh(x))^-3*(A+C*sinh(x)), x) == :((1/2)*A*(b^2+-1*c^2)^-3//2*arctan((b^2+-1*c^2)^-1//2*(b*sinh(x)+c*cosh(x)))+-1*(b^2+-1*c^2)^-2*(b*cosh(x)+c*sinh(x))^-1*(C*c^2*cosh(x)+C*b*c*sinh(x))+-1*(-2*c^2+2*b^2)^-1*(b*cosh(x)+c*sinh(x))^-2*(C*b+-1*A*b*sinh(x)+-1*A*c*cosh(x)))
@test integrate((b*cosh(x)+c*sinh(x))^-1*(A+B*cosh(x)), x) == :(A*(b^2+-1*c^2)^-1//2*arctan((b^2+-1*c^2)^-1//2*(b*sinh(x)+c*cosh(x)))+B*b*x*(b^2+-1*c^2)^-1+-1*B*c*(b^2+-1*c^2)^-1*log(b*cosh(x)+c*sinh(x)))
@test integrate((b*cosh(x)+c*sinh(x))^-2*(A+B*cosh(x)), x) == :((b^2+-1*c^2)^-1*(b*cosh(x)+c*sinh(x))^-1*(B*c+A*b*sinh(x)+A*c*cosh(x))+B*b*(b^2+-1*c^2)^-3//2*arctan((b^2+-1*c^2)^-1//2*(b*sinh(x)+c*cosh(x))))
@test integrate((b*cosh(x)+c*sinh(x))^-3*(A+B*cosh(x)), x) == :((b^2+-1*c^2)^-2*(b*cosh(x)+c*sinh(x))^-1*(B*b^2*sinh(x)+B*b*c*cosh(x))+(-2*c^2+2*b^2)^-1*(b*cosh(x)+c*sinh(x))^-2*(B*c+A*b*sinh(x)+A*c*cosh(x))+(1/2)*A*(b^2+-1*c^2)^-3//2*arctan((b^2+-1*c^2)^-1//2*(b*sinh(x)+c*cosh(x))))
@test integrate((-1*sinh(x)+cosh(x))^-1*(cosh(x)+sinh(x)), x) == :((1/2)*(cosh(x)+sinh(x))^2)
@test integrate((cosh(x)+sinh(x))^-1*(-1*sinh(x)+cosh(x)), x) == :(-1//2*(cosh(x)+sinh(x))^-2)
@test integrate((im*sinh(x)+cosh(x))^-1*(-1*im*sinh(x)+cosh(x)), x) == :(-1*im*log(im*sinh(x)+cosh(x)))
@test integrate((b*cosh(x)+c*sinh(x))^-1*(B*cosh(x)+C*sinh(x)), x) == :(x*(b^2+-1*c^2)^-1*(B*b+-1*C*c)+-1*(b^2+-1*c^2)^-1*(B*c+-1*C*b)*log(b*cosh(x)+c*sinh(x)))
@test integrate((b*cosh(x)+c*sinh(x))^-2*(B*cosh(x)+C*sinh(x)), x) == :((b^2+-1*c^2)^-1*(b*cosh(x)+c*sinh(x))^-1*(B*c+-1*C*b)+(b^2+-1*c^2)^-3//2*(B*b+-1*C*c)*arctan((b^2+-1*c^2)^-1//2*(b*sinh(x)+c*cosh(x))))
@test integrate((b*cosh(x)+c*sinh(x))^-3*(B*cosh(x)+C*sinh(x)), x) == :((-2*c^2+2*b^2)^-1*(b*cosh(x)+c*sinh(x))^-2*(B*c+-1*C*b)+b^-1*(b^2+-1*c^2)^-1*(b*cosh(x)+c*sinh(x))^-1*(B*b+-1*C*c)*sinh(x))
@test integrate((b*cosh(x)+c*sinh(x))^-1*(A+B*cosh(x)+C*sinh(x)), x) == :(A*(b^2+-1*c^2)^-1//2*arctan((b^2+-1*c^2)^-1//2*(b*sinh(x)+c*cosh(x)))+x*(b^2+-1*c^2)^-1*(B*b+-1*C*c)+-1*(b^2+-1*c^2)^-1*(B*c+-1*C*b)*log(b*cosh(x)+c*sinh(x)))
@test integrate((b*cosh(x)+c*sinh(x))^-2*(A+B*cosh(x)+C*sinh(x)), x) == :((b^2+-1*c^2)^-1*(b*cosh(x)+c*sinh(x))^-1*(B*c+-1*C*b+A*b*sinh(x)+A*c*cosh(x))+(b^2+-1*c^2)^-3//2*(B*b+-1*C*c)*arctan((b^2+-1*c^2)^-1//2*(b*sinh(x)+c*cosh(x))))
@test integrate((b*cosh(x)+c*sinh(x))^-3*(A+B*cosh(x)+C*sinh(x)), x) == :((b^2+-1*c^2)^-2*(b*cosh(x)+c*sinh(x))^-1*(b*(B*b+-1*C*c)*sinh(x)+c*(B*b+-1*C*c)*cosh(x))+(-2*c^2+2*b^2)^-1*(b*cosh(x)+c*sinh(x))^-2*(B*c+-1*C*b+A*b*sinh(x)+A*c*cosh(x))+(1/2)*A*(b^2+-1*c^2)^-3//2*arctan((b^2+-1*c^2)^-1//2*(b*sinh(x)+c*cosh(x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^3, x) == :((a+b*cosh(x)+c*sinh(x))^2*(1//3*b*sinh(x)+1//3*c*cosh(x))+(5//6*a*b*sinh(x)+5//6*a*c*cosh(x))*(a+b*cosh(x)+c*sinh(x))+(1/2)*a*x*(-3*c^2+2*a^2+3*b^2)+1//6*b*(-4*c^2+4*b^2+11*a^2)*sinh(x)+1//6*c*(-4*c^2+4*b^2+11*a^2)*cosh(x))
@test integrate((a+b*cosh(x)+c*sinh(x))^2, x) == :(x*(a^2+(1/2)*b^2+-1//2*c^2)+((1/2)*b*sinh(x)+(1/2)*c*cosh(x))*(a+b*cosh(x)+c*sinh(x))+3//2*a*b*sinh(x)+3//2*a*c*cosh(x))
@test integrate(a+b*cosh(x)+c*sinh(x), x) == :(a*x+b*sinh(x)+c*cosh(x))
@test integrate((a+b*cosh(x)+c*sinh(x))^-1, x) == :(-2*(a^2+c^2+-1*b^2)^-1//2*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-2, x) == :(-1*(a+b*cosh(x)+c*sinh(x))^-1*(a^2+c^2+-1*b^2)^-1*(b*sinh(x)+c*cosh(x))+-2*a*(a^2+c^2+-1*b^2)^-3//2*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-3, x) == :(-1*(a+b*cosh(x)+c*sinh(x))^-2*(-2*b^2+2*a^2+2*c^2)^-1*(b*sinh(x)+c*cosh(x))+-1*(a^2+c^2+-1*b^2)^-5//2*(b^2+-1*c^2+2*a^2)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x)))+-1//2*(a+b*cosh(x)+c*sinh(x))^-1*(a^2+c^2+-1*b^2)^-2*(3*a*b*sinh(x)+3*a*c*cosh(x)))
@test integrate((a+b*cosh(x)+c*sinh(x))^-4, x) == :(-1*(a+b*cosh(x)+c*sinh(x))^-3*(-3*b^2+3*a^2+3*c^2)^-1*(b*sinh(x)+c*cosh(x))+-1//6*(a+b*cosh(x)+c*sinh(x))^-1*(a^2+c^2+-1*b^2)^-3*(b*(-4*c^2+4*b^2+11*a^2)*sinh(x)+c*(-4*c^2+4*b^2+11*a^2)*cosh(x))+-1//6*(a+b*cosh(x)+c*sinh(x))^-2*(a^2+c^2+-1*b^2)^-2*(5*a*b*sinh(x)+5*a*c*cosh(x))+-1*a*(a^2+c^2+-1*b^2)^-7//2*(-3*c^2+2*a^2+3*b^2)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((a+a*cosh(x)+c*sinh(x))^3, x) == :((a+a*cosh(x)+c*sinh(x))^2*(1//3*a*sinh(x)+1//3*c*cosh(x))+(5//6*a^2*sinh(x)+5//6*a*c*cosh(x))*(a+a*cosh(x)+c*sinh(x))+(1/2)*a*x*(-3*c^2+5*a^2)+1//6*a*(-4*c^2+15*a^2)*sinh(x)+1//6*c*(-4*c^2+15*a^2)*cosh(x))
@test integrate((a+a*cosh(x)+c*sinh(x))^2, x) == :(x*(-1//2*c^2+3//2*a^2)+((1/2)*a*sinh(x)+(1/2)*c*cosh(x))*(a+a*cosh(x)+c*sinh(x))+3//2*a^2*sinh(x)+3//2*a*c*cosh(x))
@test integrate(a+a*cosh(x)+c*sinh(x), x) == :(a*x+a*sinh(x)+c*cosh(x))
@test integrate((a+a*cosh(x)+c*sinh(x))^-1, x) == :(c^-1*log(a+c*tanh((1/2)*x)))
@test integrate((a+a*cosh(x)+c*sinh(x))^-2, x) == :(a*c^-3*log(a+c*tanh((1/2)*x))+-1*c^-2*(a+a*cosh(x)+c*sinh(x))^-1*(a*sinh(x)+c*cosh(x)))
@test integrate((a+a*cosh(x)+c*sinh(x))^-3, x) == :((1/2)*c^-5*(-1*c^2+3*a^2)*log(a+c*tanh((1/2)*x))+-1//2*c^-4*(a+a*cosh(x)+c*sinh(x))^-1*(3*a^2*sinh(x)+3*a*c*cosh(x))+-1//2*c^-2*(a+a*cosh(x)+c*sinh(x))^-2*(a*sinh(x)+c*cosh(x)))
@test integrate((a+a*cosh(x)+c*sinh(x))^-4, x) == :(-1//3*c^-2*(a+a*cosh(x)+c*sinh(x))^-3*(a*sinh(x)+c*cosh(x))+-1//6*c^-6*(a+a*cosh(x)+c*sinh(x))^-1*(a*(-4*c^2+15*a^2)*sinh(x)+c*(-4*c^2+15*a^2)*cosh(x))+-1//6*c^-4*(a+a*cosh(x)+c*sinh(x))^-2*(5*a^2*sinh(x)+5*a*c*cosh(x))+(1/2)*a*c^-7*(-3*c^2+5*a^2)*log(a+c*tanh((1/2)*x)))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^4, x) == :(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^3*(1//4*b*sinh(x)+1//4*c*cosh(x))+35//8*x*(b^2+-1*c^2)^2+(-35//24*c^2+35//24*b^2)*(b*sinh(x)+c*cosh(x))*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))+7//12*(b^2+-1*c^2)^(1/2)*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^2*(b*sinh(x)+c*cosh(x))+35//8*b*(b^2+-1*c^2)^3//2*sinh(x)+35//8*c*(b^2+-1*c^2)^3//2*cosh(x))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^3, x) == :(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^2*(1//3*b*sinh(x)+1//3*c*cosh(x))+5//2*x*(b^2+-1*c^2)^3//2+5//2*b*(b^2+-1*c^2)*sinh(x)+5//2*c*(b^2+-1*c^2)*cosh(x)+5//6*(b^2+-1*c^2)^(1/2)*(b*sinh(x)+c*cosh(x))*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x)))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^2, x) == :(x*(-3//2*c^2+3//2*b^2)+((1/2)*b*sinh(x)+(1/2)*c*cosh(x))*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))+3//2*b*(b^2+-1*c^2)^(1/2)*sinh(x)+3//2*c*(b^2+-1*c^2)^(1/2)*cosh(x))
@test integrate((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x), x) == :(b*sinh(x)+c*cosh(x)+x*(b^2+-1*c^2)^(1/2))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-1, x) == :(-1*c^-1*(b*sinh(x)+c*cosh(x))^-1*(c+(b^2+-1*c^2)^(1/2)*sinh(x)))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-2, x) == :(1//3*(b^2+-1*c^2)^-1//2*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-2*(b*sinh(x)+c*cosh(x))+-1//3*c^-1*(b^2+-1*c^2)^-1//2*(b*sinh(x)+c*cosh(x))^-1*(c+(b^2+-1*c^2)^(1/2)*sinh(x)))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-3, x) == :((-15*c^2+15*b^2)^-1*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-2*(2*b*sinh(x)+2*c*cosh(x))+1//5*(b^2+-1*c^2)^-1//2*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-3*(b*sinh(x)+c*cosh(x))+-1//15*c^-1*(b^2+-1*c^2)^-1*(b*sinh(x)+c*cosh(x))^-1*(2c+2*(b^2+-1*c^2)^(1/2)*sinh(x)))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-4, x) == :((-35*c^2+35*b^2)^-1*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-3*(3*b*sinh(x)+3*c*cosh(x))+1//7*(b^2+-1*c^2)^-1//2*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-4*(b*sinh(x)+c*cosh(x))+1//35*(b^2+-1*c^2)^-3//2*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-2*(2*b*sinh(x)+2*c*cosh(x))+-1//35*c^-1*(b^2+-1*c^2)^-3//2*(b*sinh(x)+c*cosh(x))^-1*(2c+2*(b^2+-1*c^2)^(1/2)*sinh(x)))
@test integrate((a+b*cosh(x)+c*sinh(x))^5//2, x) == :((a+b*cosh(x)+c*sinh(x))^(1/2)*(16//15*a*b*sinh(x)+16//15*a*c*cosh(x))+(a+b*cosh(x)+c*sinh(x))^3//2*(2//5*b*sinh(x)+2//5*c*cosh(x))+-2//15*im*((a+(b^2+-1*c^2)^(1/2))^-1*(a+b*cosh(x)+c*sinh(x)))^-1//2*(a+b*cosh(x)+c*sinh(x))^(1/2)*(-9*c^2+9*b^2+23*a^2)*Elliptic.E(-1//2*atan(-1*im*c,b)+(1/2)*im*x,2*(a+(b^2+-1*c^2)^(1/2))^-1*(b^2+-1*c^2)^(1/2))+16//15*im*a*((a+(b^2+-1*c^2)^(1/2))^-1*(a+b*cosh(x)+c*sinh(x)))^(1/2)*(a+b*cosh(x)+c*sinh(x))^-1//2*(a^2+c^2+-1*b^2)*Elliptic.F(-1//2*atan(-1*im*c,b)+(1/2)*im*x,2*(a+(b^2+-1*c^2)^(1/2))^-1*(b^2+-1*c^2)^(1/2)))
@test integrate((a+b*cosh(x)+c*sinh(x))^3//2, x) == :((a+b*cosh(x)+c*sinh(x))^(1/2)*(2//3*b*sinh(x)+2//3*c*cosh(x))+-8//3*im*a*((a+(b^2+-1*c^2)^(1/2))^-1*(a+b*cosh(x)+c*sinh(x)))^-1//2*(a+b*cosh(x)+c*sinh(x))^(1/2)*Elliptic.E(-1//2*atan(-1*im*c,b)+(1/2)*im*x,2*(a+(b^2+-1*c^2)^(1/2))^-1*(b^2+-1*c^2)^(1/2))+2//3*im*((a+(b^2+-1*c^2)^(1/2))^-1*(a+b*cosh(x)+c*sinh(x)))^(1/2)*(a+b*cosh(x)+c*sinh(x))^-1//2*(a^2+c^2+-1*b^2)*Elliptic.F(-1//2*atan(-1*im*c,b)+(1/2)*im*x,2*(a+(b^2+-1*c^2)^(1/2))^-1*(b^2+-1*c^2)^(1/2)))
@test integrate((a+b*cosh(x)+c*sinh(x))^(1/2), x) == :(-2*im*((a+(b^2+-1*c^2)^(1/2))^-1*(a+b*cosh(x)+c*sinh(x)))^-1//2*(a+b*cosh(x)+c*sinh(x))^(1/2)*Elliptic.E(-1//2*atan(-1*im*c,b)+(1/2)*im*x,2*(a+(b^2+-1*c^2)^(1/2))^-1*(b^2+-1*c^2)^(1/2)))
@test integrate((a+b*cosh(x)+c*sinh(x))^-1//2, x) == :(-2*im*((a+(b^2+-1*c^2)^(1/2))^-1*(a+b*cosh(x)+c*sinh(x)))^(1/2)*(a+b*cosh(x)+c*sinh(x))^-1//2*Elliptic.F(-1//2*atan(-1*im*c,b)+(1/2)*im*x,2*(a+(b^2+-1*c^2)^(1/2))^-1*(b^2+-1*c^2)^(1/2)))
@test integrate((a+b*cosh(x)+c*sinh(x))^-3//2, x) == :(-1*(a+b*cosh(x)+c*sinh(x))^-1//2*(a^2+c^2+-1*b^2)^-1*(2*b*sinh(x)+2*c*cosh(x))+-2*im*((a+(b^2+-1*c^2)^(1/2))^-1*(a+b*cosh(x)+c*sinh(x)))^-1//2*(a+b*cosh(x)+c*sinh(x))^(1/2)*(a^2+c^2+-1*b^2)^-1*Elliptic.E(-1//2*atan(-1*im*c,b)+(1/2)*im*x,2*(a+(b^2+-1*c^2)^(1/2))^-1*(b^2+-1*c^2)^(1/2)))
@test integrate((a+b*cosh(x)+c*sinh(x))^-5//2, x) == :(-1*(a+b*cosh(x)+c*sinh(x))^-3//2*(-3*b^2+3*a^2+3*c^2)^-1*(2*b*sinh(x)+2*c*cosh(x))+-1//3*(a+b*cosh(x)+c*sinh(x))^-1//2*(a^2+c^2+-1*b^2)^-2*(8*a*b*sinh(x)+8*a*c*cosh(x))+2*im*((a+(b^2+-1*c^2)^(1/2))^-1*(a+b*cosh(x)+c*sinh(x)))^(1/2)*(a+b*cosh(x)+c*sinh(x))^-1//2*(-3*b^2+3*a^2+3*c^2)^-1*Elliptic.F(-1//2*atan(-1*im*c,b)+(1/2)*im*x,2*(a+(b^2+-1*c^2)^(1/2))^-1*(b^2+-1*c^2)^(1/2))+-8//3*im*a*((a+(b^2+-1*c^2)^(1/2))^-1*(a+b*cosh(x)+c*sinh(x)))^-1//2*(a+b*cosh(x)+c*sinh(x))^(1/2)*(a^2+c^2+-1*b^2)^-2*Elliptic.E(-1//2*atan(-1*im*c,b)+(1/2)*im*x,2*(a+(b^2+-1*c^2)^(1/2))^-1*(b^2+-1*c^2)^(1/2)))
@test integrate((a+b*cosh(x)+c*sinh(x))^-7//2, x) == :(-1*(a+b*cosh(x)+c*sinh(x))^-5//2*(-5*b^2+5*a^2+5*c^2)^-1*(2*b*sinh(x)+2*c*cosh(x))+-1//15*(a+b*cosh(x)+c*sinh(x))^-3//2*(a^2+c^2+-1*b^2)^-2*(16*a*b*sinh(x)+16*a*c*cosh(x))+-1//15*(a+b*cosh(x)+c*sinh(x))^-1//2*(a^2+c^2+-1*b^2)^-3*(2*b*(-9*c^2+9*b^2+23*a^2)*sinh(x)+2*c*(-9*c^2+9*b^2+23*a^2)*cosh(x))+-2//15*im*((a+(b^2+-1*c^2)^(1/2))^-1*(a+b*cosh(x)+c*sinh(x)))^-1//2*(a+b*cosh(x)+c*sinh(x))^(1/2)*(a^2+c^2+-1*b^2)^-3*(-9*c^2+9*b^2+23*a^2)*Elliptic.E(-1//2*atan(-1*im*c,b)+(1/2)*im*x,2*(a+(b^2+-1*c^2)^(1/2))^-1*(b^2+-1*c^2)^(1/2))+16//15*im*a*((a+(b^2+-1*c^2)^(1/2))^-1*(a+b*cosh(x)+c*sinh(x)))^(1/2)*(a+b*cosh(x)+c*sinh(x))^-1//2*(a^2+c^2+-1*b^2)^-2*Elliptic.F(-1//2*atan(-1*im*c,b)+(1/2)*im*x,2*(a+(b^2+-1*c^2)^(1/2))^-1*(b^2+-1*c^2)^(1/2)))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^5//2, x) == :(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^3//2*(2//5*b*sinh(x)+2//5*c*cosh(x))+1//15*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-1//2*(-64*c^2+64*b^2)*(b*sinh(x)+c*cosh(x))+16//15*(b^2+-1*c^2)^(1/2)*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^(1/2)*(b*sinh(x)+c*cosh(x)))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^3//2, x) == :(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^(1/2)*(2//3*b*sinh(x)+2//3*c*cosh(x))+8//3*(b^2+-1*c^2)^(1/2)*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-1//2*(b*sinh(x)+c*cosh(x)))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^(1/2), x) == :(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-1//2*(2*b*sinh(x)+2*c*cosh(x)))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-1//2, x) == :(2^(1/2)*(b^2+-1*c^2)^-1//4*arctan((1/2)*2^(1/2)*(b^2+-1*c^2)^1//4*((b^2+-1*c^2)^(1/2)+(b^2+-1*c^2)^(1/2)*cosh(x+im*atan(-1*im*c,b)))^-1//2*sinh(x+im*atan(-1*im*c,b))))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-3//2, x) == :((1/2)*(b^2+-1*c^2)^-1//2*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-3//2*(b*sinh(x)+c*cosh(x))+1//4*2^(1/2)*(b^2+-1*c^2)^-3//4*arctan((1/2)*2^(1/2)*(b^2+-1*c^2)^1//4*((b^2+-1*c^2)^(1/2)+(b^2+-1*c^2)^(1/2)*cosh(x+im*atan(-1*im*c,b)))^-1//2*sinh(x+im*atan(-1*im*c,b))))
@test integrate(((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-5//2, x) == :((-16*c^2+16*b^2)^-1*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-3//2*(3*b*sinh(x)+3*c*cosh(x))+1//4*(b^2+-1*c^2)^-1//2*((b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-5//2*(b*sinh(x)+c*cosh(x))+3//32*2^(1/2)*(b^2+-1*c^2)^-5//4*arctan((1/2)*2^(1/2)*(b^2+-1*c^2)^1//4*((b^2+-1*c^2)^(1/2)+(b^2+-1*c^2)^(1/2)*cosh(x+im*atan(-1*im*c,b)))^-1//2*sinh(x+im*atan(-1*im*c,b))))
@test integrate((-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^5//2, x) == :((-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^3//2*(2//5*b*sinh(x)+2//5*c*cosh(x))+-16//15*(b^2+-1*c^2)^(1/2)*(-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^(1/2)*(b*sinh(x)+c*cosh(x))+1//15*(-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-1//2*(-64*c^2+64*b^2)*(b*sinh(x)+c*cosh(x)))
@test integrate((-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^3//2, x) == :((-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^(1/2)*(2//3*b*sinh(x)+2//3*c*cosh(x))+-8//3*(b^2+-1*c^2)^(1/2)*(-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-1//2*(b*sinh(x)+c*cosh(x)))
@test integrate((-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^(1/2), x) == :((-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-1//2*(2*b*sinh(x)+2*c*cosh(x)))
@test integrate((-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-1//2, x) == :(-1*2^(1/2)*(b^2+-1*c^2)^-1//4*arctanh((1/2)*2^(1/2)*(b^2+-1*c^2)^1//4*(-1*(b^2+-1*c^2)^(1/2)+(b^2+-1*c^2)^(1/2)*cosh(x+im*atan(-1*im*c,b)))^-1//2*sinh(x+im*atan(-1*im*c,b))))
@test integrate((-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-3//2, x) == :(-1//2*(b^2+-1*c^2)^-1//2*(-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-3//2*(b*sinh(x)+c*cosh(x))+1//4*2^(1/2)*(b^2+-1*c^2)^-3//4*arctanh((1/2)*2^(1/2)*(b^2+-1*c^2)^1//4*(-1*(b^2+-1*c^2)^(1/2)+(b^2+-1*c^2)^(1/2)*cosh(x+im*atan(-1*im*c,b)))^-1//2*sinh(x+im*atan(-1*im*c,b))))
@test integrate((-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-5//2, x) == :((-16*c^2+16*b^2)^-1*(-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-3//2*(3*b*sinh(x)+3*c*cosh(x))+-3//32*2^(1/2)*(b^2+-1*c^2)^-5//4*arctanh((1/2)*2^(1/2)*(b^2+-1*c^2)^1//4*(-1*(b^2+-1*c^2)^(1/2)+(b^2+-1*c^2)^(1/2)*cosh(x+im*atan(-1*im*c,b)))^-1//2*sinh(x+im*atan(-1*im*c,b)))+-1//4*(b^2+-1*c^2)^-1//2*(-1*(b^2+-1*c^2)^(1/2)+b*cosh(x)+c*sinh(x))^-5//2*(b*sinh(x)+c*cosh(x)))
@test integrate((a+b*tanh(x)+c*sech(x))^-1, x) == :(a*x*(a^2+-1*b^2)^-1+-1*b*(a^2+-1*b^2)^-1*log(c+a*cosh(x)+b*sinh(x))+-2*a*c*(a^2+-1*b^2)^-1*(a^2+-1*b^2+-1*c^2)^-1//2*arctan((a^2+-1*b^2+-1*c^2)^-1//2*(b+(a+-1c)*tanh((1/2)*x))))
@test integrate((a+b*coth(x)+c*csch(x))^-1, x) == :(a*x*(a^2+-1*b^2)^-1+-1*b*(a^2+-1*b^2)^-1*log(im*c+im*a*sinh(x)+im*b*cosh(x))+2*a*c*(a^2+-1*b^2)^-1*(a^2+c^2+-1*b^2)^-1//2*arctanh((a^2+c^2+-1*b^2)^-1//2*(a+(b+-1c)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-1*sinh(x), x) == :(b*(b^2+-1*c^2)^-1*log(a+b*cosh(x)+c*sinh(x))+-1*c*x*(b^2+-1*c^2)^-1+-2*a*c*(b^2+-1*c^2)^-1*(a^2+c^2+-1*b^2)^-1//2*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((1+cosh(x)+sinh(x))^-1*sinh(x), x) == :((1/2)*x+(1/2)*cosh(x)+-1//2*sinh(x))
@test integrate((a+b*tanh(x)+c*sech(x))^-1*sech(x), x) == :(2*(a^2+-1*b^2+-1*c^2)^-1//2*arctan((a^2+-1*b^2+-1*c^2)^-1//2*(b+(a+-1c)*tanh((1/2)*x))))
@test integrate((a+b*tanh(x)+c*sech(x))^-1*sech(x)^2, x) == :(b*(b^2+c^2)^-1*log(a+c+tanh((1/2)*x)^2*(a+-1c)+2*b*tanh((1/2)*x))+-1*b*(b^2+c^2)^-1*log(1+tanh((1/2)*x)^2)+2*c*(b^2+c^2)^-1*arctan(tanh((1/2)*x))+-2*a*c*(b^2+c^2)^-1*(a^2+-1*b^2+-1*c^2)^-1//2*arctan((a^2+-1*b^2+-1*c^2)^-1//2*(b+(a+-1c)*tanh((1/2)*x))))
@test integrate((2+2*coth(x)+3*csch(x))^-1*csch(x), x) == :(-2//3*arctanh(2//3+-1//3*tanh((1/2)*x)))
@test integrate((a+b*coth(x)+c*csch(x))^-1*csch(x), x) == :(-2*(a^2+c^2+-1*b^2)^-1//2*arctanh((a^2+c^2+-1*b^2)^-1//2*(a+(b+-1c)*tanh((1/2)*x))))
@test integrate((a+b*coth(x)+c*csch(x))^-1*csch(x)^2, x) == :((b+c)^-1*log(tanh((1/2)*x))+-1*b*(b^2+-1*c^2)^-1*log(b+c+tanh((1/2)*x)^2*(b+-1c)+2*a*tanh((1/2)*x))+-2*a*c*(b^2+-1*c^2)^-1*(a^2+c^2+-1*b^2)^-1//2*arctanh((a^2+c^2+-1*b^2)^-1//2*(a+(b+-1c)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-1*(A+C*sinh(x)), x) == :(C*b*(b^2+-1*c^2)^-1*log(a+b*cosh(x)+c*sinh(x))+-1*C*c*x*(b^2+-1*c^2)^-1+-1*(b^2+-1*c^2)^-1*(a^2+c^2+-1*b^2)^-1//2*(2*A*(b^2+-1*c^2)+2*C*a*c)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-2*(A+C*sinh(x)), x) == :((a+b*cosh(x)+c*sinh(x))^-1*(a^2+c^2+-1*b^2)^-1*(C*b+-1*(A*c+-1*C*a)*cosh(x)+-1*A*b*sinh(x))+-1*(a^2+c^2+-1*b^2)^-3//2*(2*A*a+2*C*c)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-3*(A+C*sinh(x)), x) == :((a+b*cosh(x)+c*sinh(x))^-2*(-2*b^2+2*a^2+2*c^2)^-1*(C*b+-1*(A*c+-1*C*a)*cosh(x)+-1*A*b*sinh(x))+(1/2)*(a+b*cosh(x)+c*sinh(x))^-1*(a^2+c^2+-1*b^2)^-2*(-1*(-1*C*a^2+2*C*c^2+3*A*a*c)*cosh(x)+C*a*b+-1*b*(2*C*c+3*A*a)*sinh(x))+-1*(a^2+c^2+-1*b^2)^-5//2*(A*(b^2+-1*c^2)+2*A*a^2+3*C*a*c)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-1*(A+B*cosh(x)), x) == :(B*b*x*(b^2+-1*c^2)^-1+(b^2+-1*c^2)^-1*(a^2+c^2+-1*b^2)^-1//2*(-2*A*(b^2+-1*c^2)+2*B*a*b)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x)))+-1*B*c*(b^2+-1*c^2)^-1*log(a+b*cosh(x)+c*sinh(x)))
@test integrate((a+b*cosh(x)+c*sinh(x))^-2*(A+B*cosh(x)), x) == :(-1*(a+b*cosh(x)+c*sinh(x))^-1*(a^2+c^2+-1*b^2)^-1*(B*c+(A*b+-1*B*a)*sinh(x)+A*c*cosh(x))+-1*(a^2+c^2+-1*b^2)^-3//2*(-2*B*b+2*A*a)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-3*(A+B*cosh(x)), x) == :(-1*(a+b*cosh(x)+c*sinh(x))^-2*(-2*b^2+2*a^2+2*c^2)^-1*(B*c+(A*b+-1*B*a)*sinh(x)+A*c*cosh(x))+-1*(a^2+c^2+-1*b^2)^-5//2*(A*(b^2+-1*c^2)+2*A*a^2+-3*B*a*b)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x)))+-1//2*(a+b*cosh(x)+c*sinh(x))^-1*(a^2+c^2+-1*b^2)^-2*((-1*B*a^2+-2*B*b^2+3*A*a*b)*sinh(x)+B*a*c+c*(-2*B*b+3*A*a)*cosh(x)))
@test integrate((a+b*cosh(x)+c*sinh(x))^-1*(B*cosh(x)+C*sinh(x)), x) == :(x*(b^2+-1*c^2)^-1*(B*b+-1*C*c)+-1*(b^2+-1*c^2)^-1*(B*c+-1*C*b)*log(a+b*cosh(x)+c*sinh(x))+2*a*(b^2+-1*c^2)^-1*(a^2+c^2+-1*b^2)^-1//2*(B*b+-1*C*c)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-2*(B*cosh(x)+C*sinh(x)), x) == :((a^2+c^2+-1*b^2)^-3//2*(-2*C*c+2*B*b)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x)))+-1*(a+b*cosh(x)+c*sinh(x))^-1*(a^2+c^2+-1*b^2)^-1*(B*c+-1*C*b+-1*B*a*sinh(x)+-1*C*a*cosh(x)))
@test integrate((a+b*cosh(x)+c*sinh(x))^-3*(B*cosh(x)+C*sinh(x)), x) == :(-1*(a+b*cosh(x)+c*sinh(x))^-2*(-2*b^2+2*a^2+2*c^2)^-1*(B*c+-1*C*b+-1*B*a*sinh(x)+-1*C*a*cosh(x))+-1//2*(a+b*cosh(x)+c*sinh(x))^-1*(a^2+c^2+-1*b^2)^-2*(a*(B*c+-1*C*b)+-1*(B*a^2+2*b*(B*b+-1*C*c))*sinh(x)+-1*(C*(a^2+-2*c^2)+2*B*b*c)*cosh(x))+3*a*(a^2+c^2+-1*b^2)^-5//2*(B*b+-1*C*c)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-1*(A+B*cosh(x)+C*sinh(x)), x) == :(x*(b^2+-1*c^2)^-1*(B*b+-1*C*c)+-1*(b^2+-1*c^2)^-1*(B*c+-1*C*b)*log(a+b*cosh(x)+c*sinh(x))+-1*(b^2+-1*c^2)^-1*(a^2+c^2+-1*b^2)^-1//2*(-2*A*c^2+2*A*b^2+-2*B*a*b+2*C*a*c)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-2*(A+B*cosh(x)+C*sinh(x)), x) == :(-1*(a+b*cosh(x)+c*sinh(x))^-1*(a^2+c^2+-1*b^2)^-1*(B*c+(A*b+-1*B*a)*sinh(x)+(A*c+-1*C*a)*cosh(x)+-1*C*b)+-1*(a^2+c^2+-1*b^2)^-3//2*(-2*B*b+2*A*a+2*C*c)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x))))
@test integrate((a+b*cosh(x)+c*sinh(x))^-3*(A+B*cosh(x)+C*sinh(x)), x) == :(-1*(a+b*cosh(x)+c*sinh(x))^-2*(-2*b^2+2*a^2+2*c^2)^-1*(B*c+(A*b+-1*B*a)*sinh(x)+(A*c+-1*C*a)*cosh(x)+-1*C*b)+-1*(a^2+c^2+-1*b^2)^-5//2*(A*b^2+-1*A*c^2+2*A*a^2+-3*B*a*b+3*C*a*c)*arctanh((a^2+c^2+-1*b^2)^-1//2*(c+-1*(a+-1b)*tanh((1/2)*x)))+-1//2*(a+b*cosh(x)+c*sinh(x))^-1*(a^2+c^2+-1*b^2)^-2*(a*(B*c+-1*C*b)+(-1*B*a^2+-2*b*(B*b+-1*C*c)+3*A*a*b)*sinh(x)+(-1*C*a^2+-2*c*(B*b+-1*C*c)+3*A*a*c)*cosh(x)))
@test integrate((a+b*cosh(x)+c*sinh(x))^-2*(b^2+-1*c^2+a*b*cosh(x)+a*c*sinh(x)), x) == :((a+b*cosh(x)+c*sinh(x))^-1*(b*sinh(x)+c*cosh(x)))
@test integrate((a+b*cosh(x)+b*sinh(x))^-1*(A+B*cosh(x)), x) == :((1/2)*B*a^-1*sinh(x)+(1/2)*x*a^-2*(-1*B*b+2*A*a)+-1//2*B*a^-1*cosh(x)+-1//2*a^-2*b^-1*(-1*B*a^2+-1*B*b^2+2*A*a*b)*log(a+b*cosh(x)+b*sinh(x)))
@test integrate((a+b*cosh(x)+b*sinh(x))^-1*(A+B*cosh(x)+C*sinh(x)), x) == :((1/2)*x*a^-2*(-1*b*(B+-1C)+2*A*a)+-1//2*a^-1*(B+-1C)*(-1*sinh(x)+cosh(x))+-1//2*a^-2*b^-1*(-1*a^2*(B+C)+-1*b^2*(B+-1C)+2*A*a*b)*log(a+b*cosh(x)+b*sinh(x)))
@test integrate((a+b*cosh(x)+-1*b*sinh(x))^-1*(A+C*sinh(x)), x) == :((1/2)*C*a^-1*cosh(x)+(1/2)*C*a^-1*sinh(x)+(1/2)*x*a^-2*(-1*C*b+2*A*a)+(1/2)*a^-2*b^-1*(C*a^2+-1*C*b^2+2*A*a*b)*log(a+b*cosh(x)+-1*b*sinh(x)))
@test integrate((a+b*cosh(x)+-1*b*sinh(x))^-1*(A+B*cosh(x)), x) == :((1/2)*B*a^-1*cosh(x)+(1/2)*B*a^-1*sinh(x)+(1/2)*x*a^-2*(-1*B*b+2*A*a)+(1/2)*a^-2*b^-1*(-1*B*a^2+-1*B*b^2+2*A*a*b)*log(a+b*cosh(x)+-1*b*sinh(x)))
@test integrate((a+b*cosh(x)+-1*b*sinh(x))^-1*(A+B*cosh(x)+C*sinh(x)), x) == :((1/2)*x*a^-2*(-1*b*(B+C)+2*A*a)+(1/2)*a^-1*(B+C)*(cosh(x)+sinh(x))+(1/2)*a^-2*b^-1*(-1*a^2*(B+-1C)+-1*b^2*(B+C)+2*A*a*b)*log(a+b*cosh(x)+-1*b*sinh(x)))
@test integrate((cosh(x)^2+sinh(x)^2)^-1, x) == :(arctan(tanh(x)))
@test integrate((cosh(x)^2+sinh(x)^2)^-2, x) == :((1+tanh(x)^2)^-1*tanh(x))
@test integrate((cosh(x)^2+sinh(x)^2)^-3, x) == :((1/2)*arctan(tanh(x))+(1/2)*(1+tanh(x)^2)^-2*sech(x)^2*tanh(x))
@test integrate((cosh(x)^2+-1*sinh(x)^2)^-1, x) == :(x)
@test integrate((cosh(x)^2+-1*sinh(x)^2)^-2, x) == :(x)
@test integrate((cosh(x)^2+-1*sinh(x)^2)^-3, x) == :(x)
@test integrate((sech(x)^2+tanh(x)^2)^-1, x) == :(x)
@test integrate((sech(x)^2+tanh(x)^2)^-2, x) == :(x)
@test integrate((sech(x)^2+tanh(x)^2)^-3, x) == :(x)
@test integrate((sech(x)^2+-1*tanh(x)^2)^-1, x) == :(-1x+2^(1/2)*arctanh(2^(1/2)*tanh(x)))
@test integrate((sech(x)^2+-1*tanh(x)^2)^-2, x) == :(x+(1+-2*tanh(x)^2)^-1*tanh(x)+-1//2*2^(1/2)*arctanh(2^(1/2)*tanh(x)))
@test integrate((sech(x)^2+-1*tanh(x)^2)^-3, x) == :(-1x+(1/2)*(1+-2*tanh(x)^2)^-2*tanh(x)+-1*(4+-8*tanh(x)^2)^-1*tanh(x)+7//8*2^(1/2)*arctanh(2^(1/2)*tanh(x)))
@test integrate((coth(x)^2+csch(x)^2)^-1, x) == :(x+-1*2^(1/2)*arctanh((1/2)*2^(1/2)*tanh(x)))
@test integrate((coth(x)^2+csch(x)^2)^-2, x) == :(x+-1*(2+-1*tanh(x)^2)^-1*tanh(x)+-1//2*2^(1/2)*arctanh((1/2)*2^(1/2)*tanh(x)))
@test integrate((coth(x)^2+csch(x)^2)^-3, x) == :(x+-1*(8+-4*tanh(x)^2)^-1*tanh(x)+-7//8*2^(1/2)*arctanh((1/2)*2^(1/2)*tanh(x))+-1//2*(2+-1*tanh(x)^2)^-2*tanh(x)^3)
@test integrate((coth(x)^2+-1*csch(x)^2)^-1, x) == :(x)
@test integrate((coth(x)^2+-1*csch(x)^2)^-2, x) == :(x)
@test integrate((coth(x)^2+-1*csch(x)^2)^-3, x) == :(x)
@test integrate((a+b*sinh(x)+c*sinh(x)^2)^-1, x) == :(-2*c*2^(1/2)*(-1*b^2+4*a*c)^-1//2*(b^2+-1*c*(-2c+2a)+im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*arctan((1/2)*2^(1/2)*(b^2+-1*c*(-2c+2a)+im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*((-1*b^2+4*a*c)^(1/2)*tanh((1/2)*x)+2*im*c+-1*im*b*tanh((1/2)*x)))+2*c*2^(1/2)*(-1*b^2+4*a*c)^-1//2*(b^2+-1*c*(-2c+2a)+-1*im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*arctan((1/2)*2^(1/2)*(b^2+-1*c*(-2c+2a)+-1*im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(-1*((-1*b^2+4*a*c)^(1/2)+im*b)*tanh((1/2)*x)+2*im*c)))
@test integrate((a+b*sinh(x)+c*sinh(x)^2)^-1*sinh(x), x) == :(2^(1/2)*(b^2+-1*c*(-2c+2a)+im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(im+b*(-1*b^2+4*a*c)^-1//2)*arctan((1/2)*2^(1/2)*(b^2+-1*c*(-2c+2a)+im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*((-1*b^2+4*a*c)^(1/2)*tanh((1/2)*x)+2*im*c+-1*im*b*tanh((1/2)*x)))+2^(1/2)*(b^2+-1*c*(-2c+2a)+-1*im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(im+-1*b*(-1*b^2+4*a*c)^-1//2)*arctan((1/2)*2^(1/2)*(b^2+-1*c*(-2c+2a)+-1*im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(-1*((-1*b^2+4*a*c)^(1/2)+im*b)*tanh((1/2)*x)+2*im*c)))
@test integrate((a+b*sinh(x)+c*sinh(x)^2)^-1*sinh(x)^2, x) == :(x*c^-1+-1*2^(1/2)*c^-1*(b^2+-1*c*(-2c+2a)+im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(im*b+(-1*b^2+4*a*c)^-1//2*(b^2+-2*a*c))*arctan((1/2)*2^(1/2)*(b^2+-1*c*(-2c+2a)+im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(-1*(-1*(-1*b^2+4*a*c)^(1/2)+im*b)*tanh((1/2)*x)+2*im*c))+-1*2^(1/2)*c^-1*(b^2+-1*c*(-2c+2a)+-1*im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(im*b+-1*(-1*b^2+4*a*c)^-1//2*(b^2+-2*a*c))*arctan((1/2)*2^(1/2)*(b^2+-1*c*(-2c+2a)+-1*im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(-1*((-1*b^2+4*a*c)^(1/2)+im*b)*tanh((1/2)*x)+2*im*c)))
@test integrate((a+b*sinh(x)+c*sinh(x)^2)^-1*sinh(x)^3, x) == :(c^-1*cosh(x)+-1*b*x*c^-2+2^(1/2)*c^-2*(b^2+-1*c*(-2c+2a)+im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(im*(b^2+-1*a*c+3*im*a*b*c*(-1*b^2+4*a*c)^-1//2)+b^3*(-1*b^2+4*a*c)^-1//2)*arctan((1/2)*2^(1/2)*(b^2+-1*c*(-2c+2a)+im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*((-1*b^2+4*a*c)^(1/2)*tanh((1/2)*x)+2*im*c+-1*im*b*tanh((1/2)*x)))+-1*2^(1/2)*c^-2*(b^2+-1*c*(-2c+2a)+-1*im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(b^3*(-1*b^2+4*a*c)^-1//2+-1*im*(b^2+-1*a*c+-3*im*a*b*c*(-1*b^2+4*a*c)^-1//2))*arctan((1/2)*2^(1/2)*(b^2+-1*c*(-2c+2a)+-1*im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(-1*((-1*b^2+4*a*c)^(1/2)+im*b)*tanh((1/2)*x)+2*im*c)))
@test integrate((b^2+a^2*sinh(x)^2+-2*a*b*sinh(x))^-1*(a+b*sinh(x)), x) == :((b+-1*a*sinh(x))^-1*cosh(x))
@test integrate((a+b*sinh(x)+c*sinh(x)^2)^-1*(d+e*sinh(x)), x) == :(2^(1/2)*(b^2+-1*c*(-2c+2a)+im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(im*e+-1*(-1*b^2+4*a*c)^-1//2*(-1*b*e+2*c*d))*arctan((1/2)*2^(1/2)*(b^2+-1*c*(-2c+2a)+im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*((-1*b^2+4*a*c)^(1/2)*tanh((1/2)*x)+2*im*c+-1*im*b*tanh((1/2)*x)))+2^(1/2)*(b^2+-1*c*(-2c+2a)+-1*im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(im*e+(-1*b^2+4*a*c)^-1//2*(-1*b*e+2*c*d))*arctan((1/2)*2^(1/2)*(b^2+-1*c*(-2c+2a)+-1*im*b*(-1*b^2+4*a*c)^(1/2))^-1//2*(-1*((-1*b^2+4*a*c)^(1/2)+im*b)*tanh((1/2)*x)+2*im*c)))
@test integrate((a+b*cosh(x)+c*cosh(x)^2)^-1, x) == :(-4*c*(b^2+-4*a*c)^-1//2*(b+(b^2+-4*a*c)^(1/2)+-2c)^-1//2*(b+(b^2+-4*a*c)^(1/2)+2c)^-1//2*arctanh((b+(b^2+-4*a*c)^(1/2)+-2c)^(1/2)*(b+(b^2+-4*a*c)^(1/2)+2c)^-1//2*tanh((1/2)*x))+4*c*(b^2+-4*a*c)^-1//2*(b+-1*(b^2+-4*a*c)^(1/2)+-2c)^-1//2*(b+-1*(b^2+-4*a*c)^(1/2)+2c)^-1//2*arctanh((b+-1*(b^2+-4*a*c)^(1/2)+-2c)^(1/2)*(b+-1*(b^2+-4*a*c)^(1/2)+2c)^-1//2*tanh((1/2)*x)))
@test integrate((a+b*cosh(x)+c*cosh(x)^2)^-1*cosh(x), x) == :((b+(b^2+-4*a*c)^(1/2)+-2c)^-1//2*(b+(b^2+-4*a*c)^(1/2)+2c)^-1//2*(2+2*b*(b^2+-4*a*c)^-1//2)*arctanh((b+(b^2+-4*a*c)^(1/2)+-2c)^(1/2)*(b+(b^2+-4*a*c)^(1/2)+2c)^-1//2*tanh((1/2)*x))+(b+-1*(b^2+-4*a*c)^(1/2)+-2c)^-1//2*(b+-1*(b^2+-4*a*c)^(1/2)+2c)^-1//2*(2+-2*b*(b^2+-4*a*c)^-1//2)*arctanh((b+-1*(b^2+-4*a*c)^(1/2)+-2c)^(1/2)*(b+-1*(b^2+-4*a*c)^(1/2)+2c)^-1//2*tanh((1/2)*x)))
@test integrate((a+b*cosh(x)+c*cosh(x)^2)^-1*cosh(x)^2, x) == :(x*c^-1+-1*c^-1*(b+(b^2+-4*a*c)^(1/2)+-2c)^-1//2*(b+(b^2+-4*a*c)^(1/2)+2c)^-1//2*(2b+2*(b^2+-4*a*c)^-1//2*(b^2+-2*a*c))*arctanh((b+(b^2+-4*a*c)^(1/2)+-2c)^(1/2)*(b+(b^2+-4*a*c)^(1/2)+2c)^-1//2*tanh((1/2)*x))+-1*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)+-2c)^-1//2*(b+-1*(b^2+-4*a*c)^(1/2)+2c)^-1//2*(2b+-2*(b^2+-4*a*c)^-1//2*(b^2+-2*a*c))*arctanh((b+-1*(b^2+-4*a*c)^(1/2)+-2c)^(1/2)*(b+-1*(b^2+-4*a*c)^(1/2)+2c)^-1//2*tanh((1/2)*x)))
@test integrate((a+b*cosh(x)+c*cosh(x)^2)^-1*cosh(x)^3, x) == :(c^-1*sinh(x)+-1*b*x*c^-2+c^-2*(b+(b^2+-4*a*c)^(1/2)+-2c)^-1//2*(b+(b^2+-4*a*c)^(1/2)+2c)^-1//2*(2*b^2+-2*a*c+2*b^3*(b^2+-4*a*c)^-1//2+-6*a*b*c*(b^2+-4*a*c)^-1//2)*arctanh((b+(b^2+-4*a*c)^(1/2)+-2c)^(1/2)*(b+(b^2+-4*a*c)^(1/2)+2c)^-1//2*tanh((1/2)*x))+c^-2*(b+-1*(b^2+-4*a*c)^(1/2)+-2c)^-1//2*(b+-1*(b^2+-4*a*c)^(1/2)+2c)^-1//2*(2*b^2+-2*a*c+-2*b^3*(b^2+-4*a*c)^-1//2+6*a*b*c*(b^2+-4*a*c)^-1//2)*arctanh((b+-1*(b^2+-4*a*c)^(1/2)+-2c)^(1/2)*(b+-1*(b^2+-4*a*c)^(1/2)+2c)^-1//2*tanh((1/2)*x)))
@test integrate((b^2+a^2*cosh(x)^2+2*a*b*cosh(x))^-1*(a+b*cosh(x)), x) == :((b+a*cosh(x))^-1*sinh(x))
@test integrate((a+b*cosh(x)+c*cosh(x)^2)^-1*(d+e*cosh(x)), x) == :((b+(b^2+-4*a*c)^(1/2)+-2c)^-1//2*(b+(b^2+-4*a*c)^(1/2)+2c)^-1//2*(2*e+-2*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*arctanh((b+(b^2+-4*a*c)^(1/2)+-2c)^(1/2)*(b+(b^2+-4*a*c)^(1/2)+2c)^-1//2*tanh((1/2)*x))+(b+-1*(b^2+-4*a*c)^(1/2)+-2c)^-1//2*(b+-1*(b^2+-4*a*c)^(1/2)+2c)^-1//2*(2*e+2*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*arctanh((b+-1*(b^2+-4*a*c)^(1/2)+-2c)^(1/2)*(b+-1*(b^2+-4*a*c)^(1/2)+2c)^-1//2*tanh((1/2)*x)))
@test integrate((a*cosh(x)^2+b*sinh(x)^2)^-1*sinh(x)^2, x) == :(x*(a+b)^-1+-1*a^(1/2)*b^-1//2*(a+b)^-1*arctan(a^-1//2*b^(1/2)*tanh(x)))
@test integrate((a*cosh(x)^2+b*sinh(x)^2)^-1*cosh(x)^2, x) == :(x*(a+b)^-1+a^-1//2*b^(1/2)*(a+b)^-1*arctan(a^-1//2*b^(1/2)*tanh(x)))
@test integrate((cosh(x)^3+sinh(x)^3)^-1*sinh(x)^3, x) == :((6+6*tanh(x))^-1+(1/2)*x+2//9*3^(1/2)*arctan(1//3*3^(1/2)*(1+-2*tanh(x))))
@test integrate((cosh(x)^3+sinh(x)^3)^-1*cosh(x)^3, x) == :((1/2)*x+-1*(6+6*tanh(x))^-1+-2//9*3^(1/2)*arctan(1//3*3^(1/2)*(1+-2*tanh(x))))
@test integrate(x*(a*sech(x)^2)^-1//2*csch(x)*sech(x), x) == :((a*sech(x)^2)^-1//2*Polylogarithms.polylog(2,exp(x))*sech(x)+-1*(a*sech(x)^2)^-1//2*Polylogarithms.polylog(2,-1*exp(x))*sech(x)+-2*x*(a*sech(x)^2)^-1//2*arctanh(exp(x))*sech(x))
@test integrate(x^2*(a*sech(x)^2)^-1//2*csch(x)*sech(x), x) == :(-2*(a*sech(x)^2)^-1//2*Polylogarithms.polylog(3,exp(x))*sech(x)+2*(a*sech(x)^2)^-1//2*Polylogarithms.polylog(3,-1*exp(x))*sech(x)+-2*x*(a*sech(x)^2)^-1//2*Polylogarithms.polylog(2,-1*exp(x))*sech(x)+-2*x^2*(a*sech(x)^2)^-1//2*arctanh(exp(x))*sech(x)+2*x*(a*sech(x)^2)^-1//2*Polylogarithms.polylog(2,exp(x))*sech(x))
@test integrate(x^3*(a*sech(x)^2)^-1//2*csch(x)*sech(x), x) == :(-6*(a*sech(x)^2)^-1//2*Polylogarithms.polylog(4,-1*exp(x))*sech(x)+6*(a*sech(x)^2)^-1//2*Polylogarithms.polylog(4,exp(x))*sech(x)+-6*x*(a*sech(x)^2)^-1//2*Polylogarithms.polylog(3,exp(x))*sech(x)+-3*x^2*(a*sech(x)^2)^-1//2*Polylogarithms.polylog(2,-1*exp(x))*sech(x)+-2*x^3*(a*sech(x)^2)^-1//2*arctanh(exp(x))*sech(x)+3*x^2*(a*sech(x)^2)^-1//2*Polylogarithms.polylog(2,exp(x))*sech(x)+6*x*(a*sech(x)^2)^-1//2*Polylogarithms.polylog(3,-1*exp(x))*sech(x))
@test integrate(x*(a*sech(x)^4)^-1//2*csch(x)*sech(x), x) == :((1/2)*(a*sech(x)^4)^-1//2*sech(x)^2*Polylogarithms.polylog(2,exp(2x))+-1//2*x^2*(a*sech(x)^4)^-1//2*sech(x)^2+x*(a*sech(x)^4)^-1//2*sech(x)^2*log(1+-1*exp(2x)))
@test integrate(x^2*(a*sech(x)^4)^-1//2*csch(x)*sech(x), x) == :(-1//2*(a*sech(x)^4)^-1//2*sech(x)^2*Polylogarithms.polylog(3,exp(2x))+-1//3*x^3*(a*sech(x)^4)^-1//2*sech(x)^2+x*(a*sech(x)^4)^-1//2*sech(x)^2*Polylogarithms.polylog(2,exp(2x))+x^2*(a*sech(x)^4)^-1//2*sech(x)^2*log(1+-1*exp(2x)))
@test integrate(x^3*(a*sech(x)^4)^-1//2*csch(x)*sech(x), x) == :(-1//4*x^4*(a*sech(x)^4)^-1//2*sech(x)^2+3//4*(a*sech(x)^4)^-1//2*sech(x)^2*Polylogarithms.polylog(4,exp(2x))+x^3*(a*sech(x)^4)^-1//2*sech(x)^2*log(1+-1*exp(2x))+-3//2*x*(a*sech(x)^4)^-1//2*sech(x)^2*Polylogarithms.polylog(3,exp(2x))+3//2*x^2*(a*sech(x)^4)^-1//2*sech(x)^2*Polylogarithms.polylog(2,exp(2x)))
@test integrate(x*(a*sech(x)^2)^(1/2)*csch(x)*sech(x), x) == :(x*(a*sech(x)^2)^(1/2)+(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(2,exp(x))*cosh(x)+-1*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(2,-1*exp(x))*cosh(x)+-1*(a*sech(x)^2)^(1/2)*arctan(sinh(x))*cosh(x)+-2*x*(a*sech(x)^2)^(1/2)*arctanh(exp(x))*cosh(x))
@test integrate(x^2*(a*sech(x)^2)^(1/2)*csch(x)*sech(x), x) == :(x^2*(a*sech(x)^2)^(1/2)+-2*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(3,exp(x))*cosh(x)+2*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(3,-1*exp(x))*cosh(x)+-4*x*(a*sech(x)^2)^(1/2)*arctan(exp(x))*cosh(x)+-2*im*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(2,im*exp(x))*cosh(x)+-2*x*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(2,-1*exp(x))*cosh(x)+-2*x^2*(a*sech(x)^2)^(1/2)*arctanh(exp(x))*cosh(x)+2*im*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(2,-1*im*exp(x))*cosh(x)+2*x*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(2,exp(x))*cosh(x))
@test integrate(x^3*(a*sech(x)^2)^(1/2)*csch(x)*sech(x), x) == :(x^3*(a*sech(x)^2)^(1/2)+-6*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(4,-1*exp(x))*cosh(x)+6*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(4,exp(x))*cosh(x)+-6*im*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(3,-1*im*exp(x))*cosh(x)+-6*x*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(3,exp(x))*cosh(x)+-6*x^2*(a*sech(x)^2)^(1/2)*arctan(exp(x))*cosh(x)+-3*x^2*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(2,-1*exp(x))*cosh(x)+-2*x^3*(a*sech(x)^2)^(1/2)*arctanh(exp(x))*cosh(x)+3*x^2*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(2,exp(x))*cosh(x)+6*im*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(3,im*exp(x))*cosh(x)+6*x*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(3,-1*exp(x))*cosh(x)+-6*im*x*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(2,im*exp(x))*cosh(x)+6*im*x*(a*sech(x)^2)^(1/2)*Polylogarithms.polylog(2,-1*im*exp(x))*cosh(x))
@test integrate(x*(a*sech(x)^4)^(1/2)*csch(x)*sech(x), x) == :((1/2)*x*(a*sech(x)^4)^(1/2)*cosh(x)^2+(1/2)*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(2,exp(2x))+-1//2*x*(a*sech(x)^4)^(1/2)*sinh(x)^2+-1//2*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(2,-1*exp(2x))+-1//2*(a*sech(x)^4)^(1/2)*cosh(x)*sinh(x)+-2*x*(a*sech(x)^4)^(1/2)*cosh(x)^2*arctanh(exp(2x)))
@test integrate(x^2*(a*sech(x)^4)^(1/2)*csch(x)*sech(x), x) == :((a*sech(x)^4)^(1/2)*cosh(x)^2*log(cosh(x))+(1/2)*x^2*(a*sech(x)^4)^(1/2)*cosh(x)^2+(1/2)*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(3,-1*exp(2x))+-1//2*x^2*(a*sech(x)^4)^(1/2)*sinh(x)^2+-1//2*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(3,exp(2x))+x*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(2,exp(2x))+-1*x*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(2,-1*exp(2x))+-1*x*(a*sech(x)^4)^(1/2)*cosh(x)*sinh(x)+-2*x^2*(a*sech(x)^4)^(1/2)*cosh(x)^2*arctanh(exp(2x)))
@test integrate(x^3*(a*sech(x)^4)^(1/2)*csch(x)*sech(x), x) == :((1/2)*x^3*(a*sech(x)^4)^(1/2)*cosh(x)^2+-3//2*x^2*(a*sech(x)^4)^(1/2)*cosh(x)^2+-3//4*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(4,-1*exp(2x))+-1//2*x^3*(a*sech(x)^4)^(1/2)*sinh(x)^2+3//2*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(2,-1*exp(2x))+3//4*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(4,exp(2x))+-2*x^3*(a*sech(x)^4)^(1/2)*cosh(x)^2*arctanh(exp(2x))+3*x*(a*sech(x)^4)^(1/2)*cosh(x)^2*log(1+exp(2x))+-3//2*x*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(3,exp(2x))+-3//2*x^2*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(2,-1*exp(2x))+-3//2*x^2*(a*sech(x)^4)^(1/2)*cosh(x)*sinh(x)+3//2*x*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(3,-1*exp(2x))+3//2*x^2*(a*sech(x)^4)^(1/2)*cosh(x)^2*Polylogarithms.polylog(2,exp(2x)))
@test integrate((a+b*cosh(c+d*x)*sinh(c+d*x))^3, x) == :(1//8*a*x*(-3*b^2+8*a^2)+1//24*b*d^-1*(-1*b^2+16*a^2)*cosh(2c+2*d*x)+1//48*b*d^-1*(2a+b*sinh(2c+2*d*x))^2*cosh(2c+2*d*x)+5//48*a*b^2*d^-1*cosh(2c+2*d*x)*sinh(2c+2*d*x))
@test integrate((a+b*cosh(c+d*x)*sinh(c+d*x))^2, x) == :(x*(a^2+-1//8*b^2)+(1/2)*a*b*d^-1*cosh(2c+2*d*x)+1//16*b^2*d^-1*cosh(2c+2*d*x)*sinh(2c+2*d*x))
@test integrate(a+b*cosh(c+d*x)*sinh(c+d*x), x) == :(a*x+(1/2)*b*d^-1*sinh(c+d*x)^2)
@test integrate((a+b*cosh(c+d*x)*sinh(c+d*x))^-1, x) == :(-2*d^-1*(b^2+4*a^2)^-1//2*arctanh((b^2+4*a^2)^-1//2*(b+-2*a*tanh(c+d*x))))
@test integrate((a+b*cosh(c+d*x)*sinh(c+d*x))^-2, x) == :(-8*a*d^-1*(b^2+4*a^2)^-3//2*arctanh((b^2+4*a^2)^-1//2*(b+-2*a*tanh(c+d*x)))+-2*b*d^-1*(b^2+4*a^2)^-1*(2a+b*sinh(2c+2*d*x))^-1*cosh(2c+2*d*x))
@test integrate((a+b*cosh(c+d*x)*sinh(c+d*x))^-3, x) == :(-1*d^-1*(b^2+4*a^2)^-5//2*(-4*b^2+32*a^2)*arctanh((b^2+4*a^2)^-1//2*(b+-2*a*tanh(c+d*x)))+-2*b*d^-1*(b^2+4*a^2)^-1*(2a+b*sinh(2c+2*d*x))^-2*cosh(2c+2*d*x)+-12*a*b*d^-1*(b^2+4*a^2)^-2*(2a+b*sinh(2c+2*d*x))^-1*cosh(2c+2*d*x))
@test integrate((a+b*cosh(c+d*x)*sinh(c+d*x))^5//2, x) == :(1//40*b*2^(1/2)*d^-1*(2a+b*sinh(2c+2*d*x))^3//2*cosh(2c+2*d*x)+2//15*a*b*2^(1/2)*d^-1*(2a+b*sinh(2c+2*d*x))^(1/2)*cosh(2c+2*d*x)+-1//120*im*2^(1/2)*d^-1*((2a+-1*im*b)^-1*(2a+b*sinh(2c+2*d*x)))^-1//2*(2a+b*sinh(2c+2*d*x))^(1/2)*(-9*b^2+92*a^2)*Elliptic.E(-1//4*pi+im*c+im*d*x,2*b*(b+2*im*a)^-1)+2//15*im*a*2^(1/2)*d^-1*((2a+-1*im*b)^-1*(2a+b*sinh(2c+2*d*x)))^(1/2)*(2a+b*sinh(2c+2*d*x))^-1//2*(b^2+4*a^2)*Elliptic.F(-1//4*pi+im*c+im*d*x,2*b*(b+2*im*a)^-1))
@test integrate((a+b*cosh(c+d*x)*sinh(c+d*x))^3//2, x) == :(1//12*b*2^(1/2)*d^-1*(2a+b*sinh(2c+2*d*x))^(1/2)*cosh(2c+2*d*x)+-2//3*im*a*2^(1/2)*d^-1*((2a+-1*im*b)^-1*(2a+b*sinh(2c+2*d*x)))^-1//2*(2a+b*sinh(2c+2*d*x))^(1/2)*Elliptic.E(-1//4*pi+im*c+im*d*x,2*b*(b+2*im*a)^-1)+1//12*im*2^(1/2)*d^-1*((2a+-1*im*b)^-1*(2a+b*sinh(2c+2*d*x)))^(1/2)*(2a+b*sinh(2c+2*d*x))^-1//2*(b^2+4*a^2)*Elliptic.F(-1//4*pi+im*c+im*d*x,2*b*(b+2*im*a)^-1))
@test integrate((a+b*cosh(c+d*x)*sinh(c+d*x))^(1/2), x) == :(-1//2*im*2^(1/2)*d^-1*((2a+-1*im*b)^-1*(2a+b*sinh(2c+2*d*x)))^-1//2*(2a+b*sinh(2c+2*d*x))^(1/2)*Elliptic.E(-1//4*pi+im*c+im*d*x,2*b*(b+2*im*a)^-1))
@test integrate((a+b*cosh(c+d*x)*sinh(c+d*x))^-1//2, x) == :(-1*im*2^(1/2)*d^-1*((2a+-1*im*b)^-1*(2a+b*sinh(2c+2*d*x)))^(1/2)*(2a+b*sinh(2c+2*d*x))^-1//2*Elliptic.F(-1//4*pi+im*c+im*d*x,2*b*(b+2*im*a)^-1))
@test integrate((a+b*cosh(c+d*x)*sinh(c+d*x))^-3//2, x) == :(-2*b*2^(1/2)*d^-1*(b^2+4*a^2)^-1*(2a+b*sinh(2c+2*d*x))^-1//2*cosh(2c+2*d*x)+-2*im*2^(1/2)*d^-1*((2a+-1*im*b)^-1*(2a+b*sinh(2c+2*d*x)))^-1//2*(b^2+4*a^2)^-1*(2a+b*sinh(2c+2*d*x))^(1/2)*Elliptic.E(-1//4*pi+im*c+im*d*x,2*b*(b+2*im*a)^-1))
@test integrate((a+b*cosh(c+d*x)*sinh(c+d*x))^-5//2, x) == :(-4*b*2^(1/2)*d^-1*(2a+b*sinh(2c+2*d*x))^-3//2*(3*b^2+12*a^2)^-1*cosh(2c+2*d*x)+4*im*2^(1/2)*d^-1*((2a+-1*im*b)^-1*(2a+b*sinh(2c+2*d*x)))^(1/2)*(2a+b*sinh(2c+2*d*x))^-1//2*(3*b^2+12*a^2)^-1*Elliptic.F(-1//4*pi+im*c+im*d*x,2*b*(b+2*im*a)^-1)+-32//3*a*b*2^(1/2)*d^-1*(b^2+4*a^2)^-2*(2a+b*sinh(2c+2*d*x))^-1//2*cosh(2c+2*d*x)+-32//3*im*a*2^(1/2)*d^-1*((2a+-1*im*b)^-1*(2a+b*sinh(2c+2*d*x)))^-1//2*(b^2+4*a^2)^-2*(2a+b*sinh(2c+2*d*x))^(1/2)*Elliptic.E(-1//4*pi+im*c+im*d*x,2*b*(b+2*im*a)^-1))
@test integrate(x^3*(a+b*cosh(x)*sinh(x))^-1, x) == :(-3//4*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(4,-1*b*((b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+3//4*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(4,-1*b*(-1*(b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+x^3*(b^2+4*a^2)^-1//2*log(1+b*(-1*(b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+-1*x^3*(b^2+4*a^2)^-1//2*log(1+b*((b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+-3//2*x*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(3,-1*b*(-1*(b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+-3//2*x^2*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(2,-1*b*((b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+3//2*x*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(3,-1*b*((b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+3//2*x^2*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(2,-1*b*(-1*(b^2+4*a^2)^(1/2)+2a)^-1*exp(2x)))
@test integrate(x^2*(a+b*cosh(x)*sinh(x))^-1, x) == :((1/2)*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(3,-1*b*((b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+-1//2*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(3,-1*b*(-1*(b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+x*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(2,-1*b*(-1*(b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+x^2*(b^2+4*a^2)^-1//2*log(1+b*(-1*(b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+-1*x*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(2,-1*b*((b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+-1*x^2*(b^2+4*a^2)^-1//2*log(1+b*((b^2+4*a^2)^(1/2)+2a)^-1*exp(2x)))
@test integrate(x*(a+b*cosh(x)*sinh(x))^-1, x) == :((1/2)*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(2,-1*b*(-1*(b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+-1//2*(b^2+4*a^2)^-1//2*Polylogarithms.polylog(2,-1*b*((b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+x*(b^2+4*a^2)^-1//2*log(1+b*(-1*(b^2+4*a^2)^(1/2)+2a)^-1*exp(2x))+-1*x*(b^2+4*a^2)^-1//2*log(1+b*((b^2+4*a^2)^(1/2)+2a)^-1*exp(2x)))
@test integrate(sinh(a+b*x)^3*exp(2a+2*b*x), x) == :(-1//8*b^-1*exp(3a+3*b*x)+1//8*b^-1*exp(-1a+-1*b*x)+1//40*b^-1*exp(5a+5*b*x)+3//8*b^-1*exp(a+b*x))
@test integrate(sinh(a+b*x)^2*exp(2a+2*b*x), x) == :(1//4*x+-1//4*b^-1*exp(2a+2*b*x)+1//16*b^-1*exp(4a+4*b*x))
@test integrate(exp(2a+2*b*x)*sinh(a+b*x), x) == :(-1//2*b^-1*exp(a+b*x)+1//6*b^-1*exp(3a+3*b*x))
@test integrate(csch(a+b*x)*exp(2a+2*b*x), x) == :(-2*b^-1*arctanh(exp(a+b*x))+2*b^-1*exp(a+b*x))
@test integrate(csch(a+b*x)^2*exp(2a+2*b*x), x) == :(2*b^-1*(1+-1*exp(2a+2*b*x))^-1+2*b^-1*log(1+-1*exp(2a+2*b*x)))
@test integrate(csch(a+b*x)^3*exp(2a+2*b*x), x) == :(-3*b^-1*arctanh(exp(a+b*x))+-2*b^-1*(1+-1*exp(2a+2*b*x))^-2*exp(3a+3*b*x)+3*b^-1*(1+-1*exp(2a+2*b*x))^-1*exp(a+b*x))
@test integrate(sinh(c+d*x)^3*exp(a+b*x), x) == :(b*(b^2+-9*d^2)^-1*sinh(c+d*x)^3*exp(a+b*x)+-6*d^3*(b^4+9*d^4+-10*b^2*d^2)^-1*cosh(c+d*x)*exp(a+b*x)+-3*d*(b^2+-9*d^2)^-1*sinh(c+d*x)^2*cosh(c+d*x)*exp(a+b*x)+6*b*d^2*(b^4+9*d^4+-10*b^2*d^2)^-1*exp(a+b*x)*sinh(c+d*x))
@test integrate(sinh(c+d*x)^2*exp(a+b*x), x) == :(b*(b^2+-4*d^2)^-1*sinh(c+d*x)^2*exp(a+b*x)+2*b^-1*d^2*(b^2+-4*d^2)^-1*exp(a+b*x)+-2*d*(b^2+-4*d^2)^-1*cosh(c+d*x)*exp(a+b*x)*sinh(c+d*x))
@test integrate(exp(a+b*x)*sinh(c+d*x), x) == :(b*(b^2+-1*d^2)^-1*exp(a+b*x)*sinh(c+d*x)+-1*d*(b^2+-1*d^2)^-1*cosh(c+d*x)*exp(a+b*x))
@test integrate(cosh(c+d*x)^3*exp(a+b*x), x) == :(b*(b^2+-9*d^2)^-1*cosh(c+d*x)^3*exp(a+b*x)+6*d^3*(b^4+9*d^4+-10*b^2*d^2)^-1*exp(a+b*x)*sinh(c+d*x)+-6*b*d^2*(b^4+9*d^4+-10*b^2*d^2)^-1*cosh(c+d*x)*exp(a+b*x)+-3*d*(b^2+-9*d^2)^-1*cosh(c+d*x)^2*exp(a+b*x)*sinh(c+d*x))
@test integrate(cosh(c+d*x)^2*exp(a+b*x), x) == :(b*(b^2+-4*d^2)^-1*cosh(c+d*x)^2*exp(a+b*x)+-2*b^-1*d^2*(b^2+-4*d^2)^-1*exp(a+b*x)+-2*d*(b^2+-4*d^2)^-1*cosh(c+d*x)*exp(a+b*x)*sinh(c+d*x))
@test integrate(cosh(c+d*x)*exp(a+b*x), x) == :(b*(b^2+-1*d^2)^-1*cosh(c+d*x)*exp(a+b*x)+-1*d*(b^2+-1*d^2)^-1*exp(a+b*x)*sinh(c+d*x))
@test integrate(F^(c*(a+b*x))*(f+im*f*sinh(d+e*x))^2, x) == :(F^(a*c+b*c*x)*b^-1*c^-1*f^2*log(F)^-1+-2*e*F^(a*c+b*c*x)*f^2*(4*e^2+-1*b^2*c^2*log(F)^2)^-1*cosh(d+e*x)*sinh(d+e*x)+2*im*e*F^(a*c+b*c*x)*f^2*(e^2+-1*b^2*c^2*log(F)^2)^-1*cosh(d+e*x)+b*c*F^(a*c+b*c*x)*f^2*(4*e^2+-1*b^2*c^2*log(F)^2)^-1*sinh(d+e*x)^2*log(F)+2*F^(a*c+b*c*x)*b^-1*c^-1*e^2*f^2*(4*e^2+-1*b^2*c^2*log(F)^2)^-1*log(F)^-1+-2*im*b*c*F^(a*c+b*c*x)*f^2*(e^2+-1*b^2*c^2*log(F)^2)^-1*log(F)*sinh(d+e*x))
@test integrate(F^(c*(a+b*x))*(f+im*f*sinh(d+e*x)), x) == :(f*F^(a*c+b*c*x)*b^-1*c^-1*log(F)^-1+im*e*f*F^(a*c+b*c*x)*(e^2+-1*b^2*c^2*log(F)^2)^-1*cosh(d+e*x)+-1*im*b*c*f*F^(a*c+b*c*x)*(e^2+-1*b^2*c^2*log(F)^2)^-1*log(F)*sinh(d+e*x))
@test integrate(F^(c*(a+b*x))*(f+f*cosh(d+e*x))^2, x) == :(F^(a*c+b*c*x)*b^-1*c^-1*f^2*log(F)^-1+2*e*F^(a*c+b*c*x)*f^2*(e^2+-1*b^2*c^2*log(F)^2)^-1*sinh(d+e*x)+2*e*F^(a*c+b*c*x)*f^2*(4*e^2+-1*b^2*c^2*log(F)^2)^-1*cosh(d+e*x)*sinh(d+e*x)+-1*b*c*F^(a*c+b*c*x)*f^2*(4*e^2+-1*b^2*c^2*log(F)^2)^-1*cosh(d+e*x)^2*log(F)+-2*b*c*F^(a*c+b*c*x)*f^2*(e^2+-1*b^2*c^2*log(F)^2)^-1*cosh(d+e*x)*log(F)+2*F^(a*c+b*c*x)*b^-1*c^-1*e^2*f^2*(4*e^2+-1*b^2*c^2*log(F)^2)^-1*log(F)^-1)
@test integrate(F^(c*(a+b*x))*(f+f*cosh(d+e*x)), x) == :(e*f*F^(a*c+b*c*x)*(e^2+-1*b^2*c^2*log(F)^2)^-1*sinh(d+e*x)+f*F^(a*c+b*c*x)*b^-1*c^-1*log(F)^-1+-1*b*c*f*F^(a*c+b*c*x)*(e^2+-1*b^2*c^2*log(F)^2)^-1*cosh(d+e*x)*log(F))
@test integrate(sinh(a+b*x)^3*cosh(a+b*x)*exp(a+b*x), x) == :(-1//8*b^-1*exp(-1a+-1*b*x)+-1//24*b^-1*exp(3a+3*b*x)+1//48*b^-1*exp(-3a+-3*b*x)+1//80*b^-1*exp(5a+5*b*x))
@test integrate(sinh(a+b*x)^2*cosh(a+b*x)*exp(a+b*x), x) == :(-1//8*x+-1//16*b^-1*exp(-2a+-2*b*x)+-1//16*b^-1*exp(2a+2*b*x)+1//32*b^-1*exp(4a+4*b*x))
@test integrate(cosh(a+b*x)*exp(a+b*x)*sinh(a+b*x), x) == :(1//4*b^-1*exp(-1a+-1*b*x)+1//12*b^-1*exp(3a+3*b*x))
@test integrate(cosh(a+b*x)*csch(a+b*x)*exp(a+b*x), x) == :(b^-1*exp(a+b*x)+-2*b^-1*arctanh(exp(a+b*x)))
@test integrate(csch(a+b*x)^2*cosh(a+b*x)*exp(a+b*x), x) == :(b^-1*log(1+-1*exp(2a+2*b*x))+2*b^-1*(1+-1*exp(2a+2*b*x))^-1)
@test integrate(csch(a+b*x)^3*cosh(a+b*x)*exp(a+b*x), x) == :(-1*b^-1*arctanh(exp(a+b*x))+-2*b^-1*(1+-1*exp(2a+2*b*x))^-2*exp(a+b*x)+3*b^-1*(1+-1*exp(2a+2*b*x))^-1*exp(a+b*x))
@test integrate(cosh(a+b*x)^2*sinh(a+b*x)^3*exp(a+b*x), x) == :(1//16*x+-1//32*b^-1*exp(2a+2*b*x)+-1//64*b^-1*exp(-2a+-2*b*x)+-1//128*b^-1*exp(4a+4*b*x)+1//128*b^-1*exp(-4a+-4*b*x)+1//192*b^-1*exp(6a+6*b*x))
@test integrate(cosh(a+b*x)^2*sinh(a+b*x)^2*exp(a+b*x), x) == :(-1//8*b^-1*exp(a+b*x)+-1//48*b^-1*exp(-3a+-3*b*x)+1//80*b^-1*exp(5a+5*b*x))
@test integrate(cosh(a+b*x)^2*exp(a+b*x)*sinh(a+b*x), x) == :(-1//8*x+1//16*b^-1*exp(-2a+-2*b*x)+1//16*b^-1*exp(2a+2*b*x)+1//32*b^-1*exp(4a+4*b*x))
@test integrate(cosh(a+b*x)^2*csch(a+b*x)*exp(a+b*x), x) == :(-1//2*x+b^-1*log(1+-1*exp(2a+2*b*x))+1//4*b^-1*exp(2a+2*b*x))
@test integrate(cosh(a+b*x)^2*csch(a+b*x)^2*exp(a+b*x), x) == :(b^-1*exp(a+b*x)+-2*b^-1*arctanh(exp(a+b*x))+2*b^-1*(1+-1*exp(2a+2*b*x))^-1*exp(a+b*x))
@test integrate(cosh(a+b*x)^2*csch(a+b*x)^3*exp(a+b*x), x) == :(b^-1*log(1+-1*exp(2a+2*b*x))+-2*b^-1*(1+-1*exp(2a+2*b*x))^-2+4*b^-1*(1+-1*exp(2a+2*b*x))^-1)
@test integrate(cosh(a+b*x)^3*sinh(a+b*x)^3*exp(a+b*x), x) == :(-3//64*b^-1*exp(-1a+-1*b*x)+-1//64*b^-1*exp(3a+3*b*x)+1//320*b^-1*exp(-5a+-5*b*x)+1//448*b^-1*exp(7a+7*b*x))
@test integrate(cosh(a+b*x)^3*sinh(a+b*x)^2*exp(a+b*x), x) == :(-1//16*x+-1//32*b^-1*exp(2a+2*b*x)+-1//64*b^-1*exp(-2a+-2*b*x)+-1//128*b^-1*exp(-4a+-4*b*x)+1//128*b^-1*exp(4a+4*b*x)+1//192*b^-1*exp(6a+6*b*x))
@test integrate(cosh(a+b*x)^3*exp(a+b*x)*sinh(a+b*x), x) == :(1//8*b^-1*exp(-1a+-1*b*x)+1//24*b^-1*exp(3a+3*b*x)+1//48*b^-1*exp(-3a+-3*b*x)+1//80*b^-1*exp(5a+5*b*x))
@test integrate(cosh(a+b*x)^3*csch(a+b*x)*exp(a+b*x), x) == :(b^-1*exp(a+b*x)+-2*b^-1*arctanh(exp(a+b*x))+1//4*b^-1*exp(-1a+-1*b*x)+1//12*b^-1*exp(3a+3*b*x))
@test integrate(cosh(a+b*x)^3*csch(a+b*x)^2*exp(a+b*x), x) == :((1/2)*x+b^-1*log(1+-1*exp(2a+2*b*x))+2*b^-1*(1+-1*exp(2a+2*b*x))^-1+1//4*b^-1*exp(2a+2*b*x))
@test integrate(cosh(a+b*x)^3*csch(a+b*x)^3*exp(a+b*x), x) == :(b^-1*exp(a+b*x)+-3*b^-1*arctanh(exp(a+b*x))+-2*b^-1*(1+-1*exp(2a+2*b*x))^-2*exp(a+b*x)+3*b^-1*(1+-1*exp(2a+2*b*x))^-1*exp(a+b*x))
@test integrate(sinh(a+b*x)^3*cosh(a+b*x)*exp(2a+2*b*x), x) == :(1//8*x+-1//32*b^-1*exp(4a+4*b*x)+1//32*b^-1*exp(-2a+-2*b*x)+1//96*b^-1*exp(6a+6*b*x))
@test integrate(sinh(a+b*x)^2*cosh(a+b*x)*exp(2a+2*b*x), x) == :(-1//8*b^-1*exp(a+b*x)+-1//8*b^-1*exp(-1a+-1*b*x)+-1//24*b^-1*exp(3a+3*b*x)+1//40*b^-1*exp(5a+5*b*x))
@test integrate(cosh(a+b*x)*exp(2a+2*b*x)*sinh(a+b*x), x) == :(-1//4*x+1//16*b^-1*exp(4a+4*b*x))
@test integrate(cosh(a+b*x)*csch(a+b*x)*exp(2a+2*b*x), x) == :(b^-1*log(1+-1*exp(2a+2*b*x))+(1/2)*b^-1*exp(2a+2*b*x))
@test integrate(csch(a+b*x)^2*cosh(a+b*x)*exp(2a+2*b*x), x) == :(-4*b^-1*arctanh(exp(a+b*x))+2*b^-1*exp(a+b*x)+2*b^-1*(1+-1*exp(2a+2*b*x))^-1*exp(a+b*x))
@test integrate(csch(a+b*x)^3*cosh(a+b*x)*exp(2a+2*b*x), x) == :(-2*b^-1*(1+-1*exp(2a+2*b*x))^-2+2*b^-1*log(1+-1*exp(2a+2*b*x))+6*b^-1*(1+-1*exp(2a+2*b*x))^-1)
@test integrate(cosh(a+b*x)^2*sinh(a+b*x)^3*exp(2a+2*b*x), x) == :(-1//32*b^-1*exp(-1a+-1*b*x)+-1//48*b^-1*exp(3a+3*b*x)+-1//160*b^-1*exp(5a+5*b*x)+1//16*b^-1*exp(a+b*x)+1//96*b^-1*exp(-3a+-3*b*x)+1//224*b^-1*exp(7a+7*b*x))
@test integrate(cosh(a+b*x)^2*sinh(a+b*x)^2*exp(2a+2*b*x), x) == :(-1//16*b^-1*exp(2a+2*b*x)+-1//32*b^-1*exp(-2a+-2*b*x)+1//96*b^-1*exp(6a+6*b*x))
@test integrate(cosh(a+b*x)^2*exp(2a+2*b*x)*sinh(a+b*x), x) == :(-1//8*b^-1*exp(a+b*x)+1//8*b^-1*exp(-1a+-1*b*x)+1//24*b^-1*exp(3a+3*b*x)+1//40*b^-1*exp(5a+5*b*x))
@test integrate(cosh(a+b*x)^2*csch(a+b*x)*exp(2a+2*b*x), x) == :(-2*b^-1*arctanh(exp(a+b*x))+1//6*b^-1*exp(3a+3*b*x)+3//2*b^-1*exp(a+b*x))
@test integrate(cosh(a+b*x)^2*csch(a+b*x)^2*exp(2a+2*b*x), x) == :((1/2)*b^-1*exp(2a+2*b*x)+2*b^-1*(1+-1*exp(2a+2*b*x))^-1+2*b^-1*log(1+-1*exp(2a+2*b*x)))
@test integrate(cosh(a+b*x)^2*csch(a+b*x)^3*exp(2a+2*b*x), x) == :(-5*b^-1*arctanh(exp(a+b*x))+2*b^-1*exp(a+b*x)+-2*b^-1*(1+-1*exp(2a+2*b*x))^-2*exp(3a+3*b*x)+3*b^-1*(1+-1*exp(2a+2*b*x))^-1*exp(a+b*x))
@test integrate(cosh(a+b*x)^3*sinh(a+b*x)^3*exp(2a+2*b*x), x) == :(3//64*x+-3//256*b^-1*exp(4a+4*b*x)+1//256*b^-1*exp(-4a+-4*b*x)+1//512*b^-1*exp(8a+8*b*x))
@test integrate(cosh(a+b*x)^3*sinh(a+b*x)^2*exp(2a+2*b*x), x) == :(-1//16*b^-1*exp(a+b*x)+-1//32*b^-1*exp(-1a+-1*b*x)+-1//48*b^-1*exp(3a+3*b*x)+-1//96*b^-1*exp(-3a+-3*b*x)+1//160*b^-1*exp(5a+5*b*x)+1//224*b^-1*exp(7a+7*b*x))
@test integrate(cosh(a+b*x)^3*exp(2a+2*b*x)*sinh(a+b*x), x) == :(-1//8*x+1//32*b^-1*exp(-2a+-2*b*x)+1//32*b^-1*exp(4a+4*b*x)+1//96*b^-1*exp(6a+6*b*x))
@test integrate(cosh(a+b*x)^3*csch(a+b*x)*exp(2a+2*b*x), x) == :(-1//4*x+b^-1*log(1+-1*exp(2a+2*b*x))+(1/2)*b^-1*exp(2a+2*b*x)+1//16*b^-1*exp(4a+4*b*x))
@test integrate(cosh(a+b*x)^3*csch(a+b*x)^2*exp(2a+2*b*x), x) == :(-4*b^-1*arctanh(exp(a+b*x))+1//6*b^-1*exp(3a+3*b*x)+5//2*b^-1*exp(a+b*x)+2*b^-1*(1+-1*exp(2a+2*b*x))^-1*exp(a+b*x))
@test integrate(cosh(a+b*x)^3*csch(a+b*x)^3*exp(2a+2*b*x), x) == :((1/2)*b^-1*exp(2a+2*b*x)+-2*b^-1*(1+-1*exp(2a+2*b*x))^-2+3*b^-1*log(1+-1*exp(2a+2*b*x))+6*b^-1*(1+-1*exp(2a+2*b*x))^-1)
@test integrate(exp(x)*sech(2x)*tanh(2x), x) == :(-1*(1+exp(4x))^-1*exp(3x)+-1//4*2^(1/2)*arctan(1+-1*2^(1/2)*exp(x))+-1//8*2^(1/2)*log(1+2^(1/2)*exp(x)+exp(2x))+1//4*2^(1/2)*arctan(1+2^(1/2)*exp(x))+1//8*2^(1/2)*log(1+-1*2^(1/2)*exp(x)+exp(2x)))
@test integrate(sech(2x)^2*exp(x)*tanh(2x), x) == :(-1*(1+exp(4x))^-2*exp(5x)+-1*(4+4*exp(4x))^-1*exp(x)+-1//16*2^(1/2)*arctan(1+-1*2^(1/2)*exp(x))+-1//32*2^(1/2)*log(1+-1*2^(1/2)*exp(x)+exp(2x))+1//16*2^(1/2)*arctan(1+2^(1/2)*exp(x))+1//32*2^(1/2)*log(1+2^(1/2)*exp(x)+exp(2x)))
@test integrate(tanh(2x)^2*exp(x)*sech(2x), x) == :((1+exp(4x))^-2*exp(3x)+-3*(4+4*exp(4x))^-1*exp(3x)+-5//16*2^(1/2)*arctan(1+-1*2^(1/2)*exp(x))+-5//32*2^(1/2)*log(1+2^(1/2)*exp(x)+exp(2x))+5//16*2^(1/2)*arctan(1+2^(1/2)*exp(x))+5//32*2^(1/2)*log(1+-1*2^(1/2)*exp(x)+exp(2x)))
@test integrate(sech(2x)^2*tanh(2x)^2*exp(x), x) == :(-3*(8+8*exp(4x))^-1*exp(x)+-5//6*(1+exp(4x))^-2*exp(5x)+-3//32*2^(1/2)*arctan(1+-1*2^(1/2)*exp(x))+-3//64*2^(1/2)*log(1+-1*2^(1/2)*exp(x)+exp(2x))+3//32*2^(1/2)*arctan(1+2^(1/2)*exp(x))+3//64*2^(1/2)*log(1+2^(1/2)*exp(x)+exp(2x))+4//3*(1+exp(4x))^-3*exp(5x))
@test integrate(coth(2x)*csch(2x)*exp(x), x) == :((1/2)*arctan(exp(x))+-1//2*arctanh(exp(x))+(1+-1*exp(4x))^-1*exp(3x))
@test integrate(csch(2x)^2*coth(2x)*exp(x), x) == :(-1//8*arctan(exp(x))+-1//8*arctanh(exp(x))+(4+-4*exp(4x))^-1*exp(x)+-1*(1+-1*exp(4x))^-2*exp(5x))
@test integrate(coth(2x)^2*csch(2x)*exp(x), x) == :(-5//8*arctanh(exp(x))+5//8*arctan(exp(x))+-1*(1+-1*exp(4x))^-2*exp(3x)+3*(4+-4*exp(4x))^-1*exp(3x))
@test integrate(coth(2x)^2*csch(2x)^2*exp(x), x) == :(-3//16*arctan(exp(x))+-3//16*arctanh(exp(x))+3*(8+-8*exp(4x))^-1*exp(x)+-5//6*(1+-1*exp(4x))^-2*exp(5x)+4//3*(1+-1*exp(4x))^-3*exp(5x))
@test integrate(sinh(a+b*x)^3*cosh(a+b*x)*exp(c+d*x), x) == :(b*(-2*d^2+32*b^2)^-1*cosh(4a+4*b*x)*exp(c+d*x)+d*(-4*d^2+16*b^2)^-1*exp(c+d*x)*sinh(2a+2*b*x)+-1*b*(-2*d^2+8*b^2)^-1*cosh(2a+2*b*x)*exp(c+d*x)+-1*d*(-8*d^2+128*b^2)^-1*exp(c+d*x)*sinh(4a+4*b*x))
@test integrate(sinh(a+b*x)^2*cosh(a+b*x)*exp(c+d*x), x) == :(d*(-4*d^2+4*b^2)^-1*cosh(a+b*x)*exp(c+d*x)+-1*b*(-4*d^2+4*b^2)^-1*exp(c+d*x)*sinh(a+b*x)+-1*d*(-4*d^2+36*b^2)^-1*cosh(3a+3*b*x)*exp(c+d*x)+3*b*(-4*d^2+36*b^2)^-1*exp(c+d*x)*sinh(3a+3*b*x))
@test integrate(cosh(a+b*x)*exp(c+d*x)*sinh(a+b*x), x) == :(b*(-1*d^2+4*b^2)^-1*cosh(2a+2*b*x)*exp(c+d*x)+-1*d*(-2*d^2+8*b^2)^-1*exp(c+d*x)*sinh(2a+2*b*x))
@test integrate(cosh(a+b*x)*exp(c+d*x), x) == :(b*(b^2+-1*d^2)^-1*exp(c+d*x)*sinh(a+b*x)+-1*d*(b^2+-1*d^2)^-1*cosh(a+b*x)*exp(c+d*x))
@test integrate(cosh(a+b*x)^2*sinh(a+b*x)^3*exp(c+d*x), x) == :(d*(-16*d^2+144*b^2)^-1*exp(c+d*x)*sinh(3a+3*b*x)+d*(-8*d^2+8*b^2)^-1*exp(c+d*x)*sinh(a+b*x)+-1*b*(-8*d^2+8*b^2)^-1*cosh(a+b*x)*exp(c+d*x)+-1*d*(-16*d^2+400*b^2)^-1*exp(c+d*x)*sinh(5a+5*b*x)+-3*b*(-16*d^2+144*b^2)^-1*cosh(3a+3*b*x)*exp(c+d*x)+5*b*(-16*d^2+400*b^2)^-1*cosh(5a+5*b*x)*exp(c+d*x))
@test integrate(cosh(a+b*x)^2*sinh(a+b*x)^2*exp(c+d*x), x) == :(-1//8*d^-1*exp(c+d*x)+b*(-2*d^2+32*b^2)^-1*exp(c+d*x)*sinh(4a+4*b*x)+-1*d*(-8*d^2+128*b^2)^-1*cosh(4a+4*b*x)*exp(c+d*x))
@test integrate(cosh(a+b*x)^2*exp(c+d*x)*sinh(a+b*x), x) == :(b*(-4*d^2+4*b^2)^-1*cosh(a+b*x)*exp(c+d*x)+-1*d*(-4*d^2+4*b^2)^-1*exp(c+d*x)*sinh(a+b*x)+-1*d*(-4*d^2+36*b^2)^-1*exp(c+d*x)*sinh(3a+3*b*x)+3*b*(-4*d^2+36*b^2)^-1*cosh(3a+3*b*x)*exp(c+d*x))
@test integrate(cosh(a+b*x)^2*exp(c+d*x), x) == :(-1*d*(-1*d^2+4*b^2)^-1*cosh(a+b*x)^2*exp(c+d*x)+2*b^2*d^-1*(-1*d^2+4*b^2)^-1*exp(c+d*x)+2*b*(-1*d^2+4*b^2)^-1*cosh(a+b*x)*exp(c+d*x)*sinh(a+b*x))
@test integrate(cosh(a+b*x)^3*sinh(a+b*x)^3*exp(c+d*x), x) == :(-1*d*(-32*d^2+1152*b^2)^-1*exp(c+d*x)*sinh(6a+6*b*x)+-3*b*(-16*d^2+64*b^2)^-1*cosh(2a+2*b*x)*exp(c+d*x)+3*b*(-16*d^2+576*b^2)^-1*cosh(6a+6*b*x)*exp(c+d*x)+3*d*(-32*d^2+128*b^2)^-1*exp(c+d*x)*sinh(2a+2*b*x))
@test integrate(cosh(a+b*x)^3*sinh(a+b*x)^2*exp(c+d*x), x) == :(d*(-8*d^2+8*b^2)^-1*cosh(a+b*x)*exp(c+d*x)+-1*b*(-8*d^2+8*b^2)^-1*exp(c+d*x)*sinh(a+b*x)+-1*d*(-16*d^2+144*b^2)^-1*cosh(3a+3*b*x)*exp(c+d*x)+-1*d*(-16*d^2+400*b^2)^-1*cosh(5a+5*b*x)*exp(c+d*x)+3*b*(-16*d^2+144*b^2)^-1*exp(c+d*x)*sinh(3a+3*b*x)+5*b*(-16*d^2+400*b^2)^-1*exp(c+d*x)*sinh(5a+5*b*x))
@test integrate(cosh(a+b*x)^3*exp(c+d*x)*sinh(a+b*x), x) == :(b*(-2*d^2+8*b^2)^-1*cosh(2a+2*b*x)*exp(c+d*x)+b*(-2*d^2+32*b^2)^-1*cosh(4a+4*b*x)*exp(c+d*x)+-1*d*(-8*d^2+128*b^2)^-1*exp(c+d*x)*sinh(4a+4*b*x)+-1*d*(-4*d^2+16*b^2)^-1*exp(c+d*x)*sinh(2a+2*b*x))
@test integrate(cosh(a+b*x)^3*exp(c+d*x), x) == :(-1*d*(-1*d^2+9*b^2)^-1*cosh(a+b*x)^3*exp(c+d*x)+6*b^3*(d^4+9*b^4+-10*b^2*d^2)^-1*exp(c+d*x)*sinh(a+b*x)+-6*d*b^2*(d^4+9*b^4+-10*b^2*d^2)^-1*cosh(a+b*x)*exp(c+d*x)+3*b*(-1*d^2+9*b^2)^-1*cosh(a+b*x)^2*exp(c+d*x)*sinh(a+b*x))
@test integrate(sinh(c+d*x)^3//2*exp(a+b*x)+-3*d^2*(-9*d^2+4*b^2)^-1*sinh(c+d*x)^-1//2*exp(a+b*x), x) == :(4*b*(-9*d^2+4*b^2)^-1*sinh(c+d*x)^3//2*exp(a+b*x)+-6*d*(-9*d^2+4*b^2)^-1*sinh(c+d*x)^(1/2)*cosh(c+d*x)*exp(a+b*x))
@test integrate(exp(n*cosh(a+b*x))*sinh(a+b*x), x) == :(b^-1*n^-1*exp(n*cosh(a+b*x)))
@test integrate(exp(n*cosh(a*c+b*c*x))*sinh(c*(a+b*x)), x) == :(b^-1*c^-1*n^-1*exp(n*cosh(c*(a+b*x))))
@test integrate(exp(n*cosh(c*(a+b*x)))*sinh(a*c+b*c*x), x) == :(b^-1*c^-1*n^-1*exp(n*cosh(a*c+b*c*x)))
@test integrate(exp(n*cosh(a+b*x))*tanh(a+b*x), x) == :(b^-1*expintegralei(n*cosh(a+b*x)))
@test integrate(exp(n*cosh(a*c+b*c*x))*tanh(c*(a+b*x)), x) == :(b^-1*c^-1*expintegralei(n*cosh(c*(a+b*x))))
@test integrate(exp(n*cosh(c*(a+b*x)))*tanh(a*c+b*c*x), x) == :(b^-1*c^-1*expintegralei(n*cosh(a*c+b*c*x)))
@test integrate(cosh(a+b*x)*exp(n*sinh(a+b*x)), x) == :(b^-1*n^-1*exp(n*sinh(a+b*x)))
@test integrate(cosh(c*(a+b*x))*exp(n*sinh(a*c+b*c*x)), x) == :(b^-1*c^-1*n^-1*exp(n*sinh(c*(a+b*x))))
@test integrate(cosh(a*c+b*c*x)*exp(n*sinh(c*(a+b*x))), x) == :(b^-1*c^-1*n^-1*exp(n*sinh(a*c+b*c*x)))
@test integrate(coth(a+b*x)*exp(n*sinh(a+b*x)), x) == :(b^-1*expintegralei(n*sinh(a+b*x)))
@test integrate(coth(c*(a+b*x))*exp(n*sinh(a*c+b*c*x)), x) == :(b^-1*c^-1*expintegralei(n*sinh(c*(a+b*x))))
@test integrate(coth(a*c+b*c*x)*exp(n*sinh(c*(a+b*x))), x) == :(b^-1*c^-1*expintegralei(n*sinh(a*c+b*c*x)))
@test integrate((a+b*tanh(x))^-1*sech(x)^2, x) == :(b^-1*log(a+b*tanh(x)))
@test integrate((1+tanh(x)^2)^-1*sech(x)^2, x) == :(arctan(tanh(x)))
@test integrate((9+tanh(x)^2)^-1*sech(x)^2, x) == :(1//3*arctan(1//3*tanh(x)))
@test integrate((a+b*tanh(x))^n*sech(x)^2, x) == :(b^-1*(1+n)^-1*(a+b*tanh(x))^(1+n))
@test integrate(sech(x)^2*(1+(1+-1*tanh(x)^2)^-1), x) == :(x+tanh(x))
@test integrate((1+-1*tanh(x)^2)^-1*sech(x)^2*(2+-1*tanh(x)^2), x) == :(x+tanh(x))
@test integrate((2+tanh(x)^2+2*tanh(x))^-1*sech(x)^2, x) == :(arctan(1+tanh(x)))
@test integrate((tanh(x)^2+tanh(x)^3)^-1*sech(x)^2, x) == :(-1*coth(x)+-1*log(tanh(x))+log(1+tanh(x)))
@test integrate((tanh(x)^3+-1*tanh(x)^2)^-1*sech(x)^2, x) == :(-1*log(tanh(x))+coth(x)+log(1+-1*tanh(x)))
@test integrate((3+-4*tanh(x)^3)^-1*sech(x)^2, x) == :(-1//18*6^1//3*log(3^1//3+-1*2^2//3*tanh(x))+1//36*6^1//3*log(3^2//3+2*2^1//3*tanh(x)^2+2^2//3*3^1//3*tanh(x))+1//18*2^1//3*3^5//6*arctan(1//3*3^1//6*(3^1//3+2*2^2//3*tanh(x))))
@test integrate((11+-5*tanh(x)+5*tanh(x)^2)^-1*sech(x)^2, x) == :(-2//195*195^(1/2)*arctan(1//39*195^(1/2)*(1+-2*tanh(x))))
@test integrate((c+d*tanh(x))^-1*sech(x)^2*(a+b*tanh(x)), x) == :(b*d^-1*tanh(x)+-1*d^-2*(b*c+-1*a*d)*log(c+d*tanh(x)))
@test integrate((a+b*tanh(x))^2*(c+d*tanh(x))^-1*sech(x)^2, x) == :((1/2)*d^-1*(a+b*tanh(x))^2+d^-3*(b*c+-1*a*d)^2*log(c+d*tanh(x))+-1*b*d^-2*(b*c+-1*a*d)*tanh(x))
@test integrate((a+b*tanh(x))^3*(c+d*tanh(x))^-1*sech(x)^2, x) == :(1//3*d^-1*(a+b*tanh(x))^3+-1*d^-4*(b*c+-1*a*d)^3*log(c+d*tanh(x))+-1//2*d^-2*(a+b*tanh(x))^2*(b*c+-1*a*d)+b*d^-3*(b*c+-1*a*d)^2*tanh(x))
@test integrate((2+tanh(x)^3)^-2*sech(x)^2*tanh(x)^2, x) == :(-1*(6+3*tanh(x)^3)^-1)
@test integrate((1+-1*tanh(x)^2)^3*sech(x)^2*tanh(x)^6, x) == :(-1//3*tanh(x)^9+-1//13*tanh(x)^13+1//7*tanh(x)^7+3//11*tanh(x)^11)
@test integrate((1+tanh(x)^3)^-1*sech(x)^2*(2+tanh(x)^2), x) == :(-2//3*3^(1/2)*arctan(1//3*3^(1/2)*(1+-2*tanh(x)))+log(1+tanh(x)))
@test integrate(sech(x)^2*(1+cosh(x)^2), x) == :(x+tanh(x))
@test integrate((1+sech(x)^2+-3*tanh(x))^-1*sech(x)^2, x) == :(2//17*17^(1/2)*arctanh(1//17*17^(1/2)*(3+2*tanh(x))))
@test integrate((4+-1*sech(x)^2)^-1//2*sech(x)^2, x) == :(arcsinh(1//3*3^(1/2)*tanh(x)))
@test integrate((1+-4*tanh(x)^2)^-1//2*sech(x)^2, x) == :((1/2)*arcsin(2*tanh(x)))
@test integrate((-4+tanh(x)^2)^-1//2*sech(x)^2, x) == :(arctanh((-4+tanh(x)^2)^-1//2*tanh(x)))
@test integrate((1+coth(x)^2)^(1/2)*sech(x)^2, x) == :(-1*arcsinh(coth(x))+(1+coth(x)^2)^(1/2)*tanh(x))
@test integrate((1+tanh(x)^2)^(1/2)*sech(x)^2, x) == :((1/2)*arcsinh(tanh(x))+(1/2)*(1+tanh(x)^2)^(1/2)*tanh(x))
@test integrate((-1+sech(x)^2)^2*sech(x)^4*tanh(x), x) == :(-1//8*tanh(x)^8+1//6*tanh(x)^6)
@test integrate(exp(n*sinh(a+b*x))*sinh(2a+2*b*x), x) == :(-2*b^-1*n^-2*exp(n*sinh(a+b*x))+2*b^-1*n^-1*exp(n*sinh(a+b*x))*sinh(a+b*x))
@test integrate(exp(n*sinh(a+b*x))*sinh(2a+2*b*x), x) == :(-2*b^-1*n^-2*exp(n*sinh(a+b*x))+2*b^-1*n^-1*exp(n*sinh(a+b*x))*sinh(a+b*x))
@test integrate(exp(n*sinh((1/2)*a+(1/2)*b*x))*sinh(a+b*x), x) == :(-4*b^-1*n^-2*exp(n*sinh((1/2)*a+(1/2)*b*x))+4*b^-1*n^-1*exp(n*sinh((1/2)*a+(1/2)*b*x))*sinh((1/2)*a+(1/2)*b*x))
@test integrate(exp(n*sinh((1/2)*a+(1/2)*b*x))*sinh(a+b*x), x) == :(-4*b^-1*n^-2*exp(n*sinh((1/2)*a+(1/2)*b*x))+4*b^-1*n^-1*exp(n*sinh((1/2)*a+(1/2)*b*x))*sinh((1/2)*a+(1/2)*b*x))
@test integrate(exp(n*cosh(a+b*x))*sinh(2a+2*b*x), x) == :(-2*b^-1*n^-2*exp(n*cosh(a+b*x))+2*b^-1*n^-1*cosh(a+b*x)*exp(n*cosh(a+b*x)))
@test integrate(exp(n*cosh(a+b*x))*sinh(2a+2*b*x), x) == :(-2*b^-1*n^-2*exp(n*cosh(a+b*x))+2*b^-1*n^-1*cosh(a+b*x)*exp(n*cosh(a+b*x)))
@test integrate(exp(n*cosh((1/2)*a+(1/2)*b*x))*sinh(a+b*x), x) == :(-4*b^-1*n^-2*exp(n*cosh((1/2)*a+(1/2)*b*x))+4*b^-1*n^-1*cosh((1/2)*a+(1/2)*b*x)*exp(n*cosh((1/2)*a+(1/2)*b*x)))
@test integrate(exp(n*cosh((1/2)*a+(1/2)*b*x))*sinh(a+b*x), x) == :(-4*b^-1*n^-2*exp(n*cosh((1/2)*a+(1/2)*b*x))+4*b^-1*n^-1*cosh((1/2)*a+(1/2)*b*x)*exp(n*cosh((1/2)*a+(1/2)*b*x)))
@test integrate(csch(x)*log(tanh(x))*sech(x), x) == :((1/2)*log(tanh(x))^2)
@test integrate(csch(2x)*log(tanh(x)), x) == :(1//4*log(tanh(x))^2)
@test integrate((5+-11*sech(x)^2)*sech(x)*tanh(x), x) == :(-5*sech(x)+11//3*sech(x)^3)
@test integrate((a+b*coth(x))^-1*csch(x)^2, x) == :(-1*b^-1*log(a+b*coth(x)))
@test integrate((a+b*coth(x))^n*csch(x)^2, x) == :(-1*b^-1*(1+n)^-1*(a+b*coth(x))^(1+n))
@test integrate(csch(x)^2*(-1+sinh(x)^2), x) == :(x+coth(x))
@test integrate(csch(x)^2*(-1+-1*(1+-1*coth(x)^2)^-1), x) == :(x+coth(x))
@test integrate((c+d*coth(x))^-1*csch(x)^2*(a+b*coth(x)), x) == :(d^-2*(b*c+-1*a*d)*log(c+d*coth(x))+-1*b*d^-1*coth(x))
@test integrate((a+b*coth(x))^2*(c+d*coth(x))^-1*csch(x)^2, x) == :(-1//2*d^-1*(a+b*coth(x))^2+-1*d^-3*(b*c+-1*a*d)^2*log(c+d*coth(x))+b*d^-2*(b*c+-1*a*d)*coth(x))
@test integrate((a+b*coth(x))^3*(c+d*coth(x))^-1*csch(x)^2, x) == :(-1//3*d^-1*(a+b*coth(x))^3+d^-4*(b*c+-1*a*d)^3*log(c+d*coth(x))+(1/2)*d^-2*(a+b*coth(x))^2*(b*c+-1*a*d)+-1*b*d^-3*(b*c+-1*a*d)^2*coth(x))
@test integrate((a+b*cosh(x)^2)^3*cosh(x)^3*sinh(x), x) == :(1//10*b^-2*(a+b*cosh(x)^2)^5+-1//8*a*b^-2*(a+b*cosh(x)^2)^4)
@test integrate((a+b*sinh(x)^2)^3*sinh(x)^3*cosh(x), x) == :(1//10*b^-2*(a+b*sinh(x)^2)^5+-1//8*a*b^-2*(a+b*sinh(x)^2)^4)
@test integrate((a+b*sinh(x)^2)^(1/2)*cosh(x)*sinh(x), x) == :(1//3*b^-1*(a+b*sinh(x)^2)^3//2)
@test integrate((1+log(coth(x))^2)^(1/2)*csch(x)*sech(x), x) == :(-1//2*arcsinh(log(coth(x)))+-1//2*(1+log(coth(x))^2)^(1/2)*log(coth(x)))
@test integrate(x^-1//2*coth(x^(1/2))*csch(x^(1/2)), x) == :(-2*csch(x^(1/2)))
@test integrate(x^-1//2*cosh(x^(1/2))*sinh(x^(1/2)), x) == :(sinh(x^(1/2))^2)
@test integrate(x^-1//2*sech(x^(1/2))*tanh(x^(1/2)), x) == :(-2*sech(x^(1/2)))
@test integrate((a+b*cosh(2x))^-1*sinh(x)^2, x) == :((1/2)*x*b^-1+-1//2*b^-1*(a+b)^(1/2)*(a+-1b)^-1//2*arctanh((a+b)^-1//2*(a+-1b)^(1/2)*tanh(x)))
@test integrate((a+b*cosh(2x))^-1*cosh(x)^2, x) == :((1/2)*x*b^-1+-1//2*b^-1*(a+b)^-1//2*(a+-1b)^(1/2)*arctanh((a+b)^-1//2*(a+-1b)^(1/2)*tanh(x)))
@test integrate((a*sinh(c+d*x)^2)^-1//2*tanh(c+d*x), x) == :(a^-1//2*d^-1*arctan(a^-1//2*(a*sinh(c+d*x)^2)^(1/2)))
@test integrate((a*cosh(c+d*x)^2)^-1//2*coth(c+d*x), x) == :(-1*a^-1//2*d^-1*arctanh(a^-1//2*(a*cosh(c+d*x)^2)^(1/2)))
@test integrate(x*cosh(2x)*sech(x), x) == :(-2*cosh(x)+im*Polylogarithms.polylog(2,-1*im*exp(x))+-1*im*Polylogarithms.polylog(2,im*exp(x))+-2*x*arctan(exp(x))+2*x*sinh(x))
@test integrate(x*sech(x)^2*cosh(2x), x) == :(x^2+-1*x*tanh(x)+log(cosh(x)))
@test integrate(x*sech(x)^3*cosh(2x), x) == :(-1//2*sech(x)+3*x*arctan(exp(x))+-3//2*im*Polylogarithms.polylog(2,-1*im*exp(x))+3//2*im*Polylogarithms.polylog(2,im*exp(x))+-1//2*x*sech(x)*tanh(x))
@test integrate(csch(x)^(1/2)*(x*cosh(x)+-4*sech(x)*tanh(x)), x) == :(-4*csch(x)^-3//2*sech(x)+2*x*csch(x)^-1//2)
@test integrate((cosh(x)+sinh(x))*sinh(x), x) == :((1/2)*sinh(x)^2+-1//2*x+(1/2)*cosh(x)*sinh(x))
@test integrate((1+cosh(x)+sinh(x))^-1*(1+sinh(x)^2), x) == :((1+tanh((1/2)*x))^-1+(2+-2*tanh((1/2)*x))^-1+-1//2*(1+tanh((1/2)*x))^-2+1//4*log(1+-1*tanh((1/2)*x))+3//4*log(1+tanh((1/2)*x)))
@test integrate(x^5*cosh(a+b*x^3)^7*sinh(a+b*x^3), x) == :(-35//3072*b^-1*x^3+-35//3072*b^-2*cosh(a+b*x^3)*sinh(a+b*x^3)+-35//4608*b^-2*cosh(a+b*x^3)^3*sinh(a+b*x^3)+-7//1152*b^-2*cosh(a+b*x^3)^5*sinh(a+b*x^3)+-1//192*b^-2*cosh(a+b*x^3)^7*sinh(a+b*x^3)+1//24*b^-1*x^3*cosh(a+b*x^3)^8)
@test integrate((1+exp(x))^-1*cosh(x)^2, x) == :(-1*log(1+exp(x))+-1//8*exp(-2x)+1//4*exp(x)+1//4*exp(-1x)+3//4*x)
@test integrate((1+sech(x))^(1/2)*tanh(x)^3*sech(x), x) == :(-4//5*(1+sech(x))^5//2+2//7*(1+sech(x))^7//2)
@test integrate((1+csch(x))^(1/2)*coth(x)^3*csch(x), x) == :(-4//3*(1+csch(x))^3//2+-2//7*(1+csch(x))^7//2+4//5*(1+csch(x))^5//2)
@test integrate(cosh(x)^x*(x*tanh(x)+log(cosh(x))), x) == :(cosh(x)^x)
@test integrate(F^(a+b*x)*(cosh(c+d*x)+sinh(c+d*x))^n, x) == :(F^(a+b*x)*(b*log(F)+d*n)^-1*exp(c+d*x)^n)
@test integrate(F^(a+b*x)*(-1*sinh(c+d*x)+cosh(c+d*x))^n, x) == :(-1*F^(a+b*x)*(d*n+-1*b*log(F))^-1*exp(-1c+-1*d*x)^n)
@test integrate((cosh(a+b*x)^4+sinh(a+b*x)^4)^-1*(cosh(a+b*x)^4+-1*sinh(a+b*x)^4), x) == :((1/2)*2^(1/2)*b^-1*arctan(1+2^(1/2)*tanh(a+b*x))+-1//2*2^(1/2)*b^-1*arctan(1+-1*2^(1/2)*tanh(a+b*x)))
@test integrate((cosh(a+b*x)^3+sinh(a+b*x)^3)^-1*(cosh(a+b*x)^3+-1*sinh(a+b*x)^3), x) == :(-1//3*b^-1*(1+tanh(a+b*x))^-1+-4//9*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+-2*tanh(a+b*x))))
@test integrate((cosh(a+b*x)^2+sinh(a+b*x)^2)^-1*(cosh(a+b*x)^2+-1*sinh(a+b*x)^2), x) == :(b^-1*arctan(tanh(a+b*x)))
@test integrate((cosh(a+b*x)+sinh(a+b*x))^-1*(-1*sinh(a+b*x)+cosh(a+b*x)), x) == :(-1//2*b^-1*(cosh(a+b*x)+sinh(a+b*x))^-2)
@test integrate((csch(a+b*x)+sech(a+b*x))^-1*(-1*csch(a+b*x)+sech(a+b*x)), x) == :(b^-1*(1+tanh(a+b*x))^-1)
@test integrate((csch(a+b*x)^2+sech(a+b*x)^2)^-1*(sech(a+b*x)^2+-1*csch(a+b*x)^2), x) == :(-1*b^-1*arctan(tanh(a+b*x)))
@test integrate((csch(a+b*x)^3+sech(a+b*x)^3)^-1*(sech(a+b*x)^3+-1*csch(a+b*x)^3), x) == :(1//3*b^-1*(1+tanh(a+b*x))^-1+4//9*3^(1/2)*b^-1*arctan(1//3*3^(1/2)*(1+-2*tanh(a+b*x))))
@test integrate((csch(a+b*x)^4+sech(a+b*x)^4)^-1*(sech(a+b*x)^4+-1*csch(a+b*x)^4), x) == :((1/2)*2^(1/2)*b^-1*arctan(1+-1*2^(1/2)*tanh(a+b*x))+-1//2*2^(1/2)*b^-1*arctan(1+2^(1/2)*tanh(a+b*x)))

max_stars_repo_path: test/6 Hyperbolic functions/6.7 Miscellaneous/6.7.1 Hyperbolic functions.jl