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

@test integrate((4+6*exp(x))^-1*exp(x), x) == :(1//6*log(2+3*exp(x)))
@test integrate((a+b*exp(x))^-1*exp(x), x) == :(b^-1*log(a+b*exp(x)))
@test integrate((a+b*exp(c+d*x))^-1*exp(d*x), x) == :(b^-1*d^-1*exp(-1c)*log(a+b*exp(c+d*x)))
@test integrate((a+b*exp(c+d*x))^-1*exp(c+d*x), x) == :(b^-1*d^-1*log(a+b*exp(c+d*x)))
@test integrate((a+b*exp(x))^n*exp(x), x) == :(b^-1*(1+n)^-1*(a+b*exp(x))^(1+n))
@test integrate((a+b*exp(c+d*x))^n*exp(d*x), x) == :(b^-1*d^-1*(1+n)^-1*(a+b*exp(c+d*x))^(1+n)*exp(-1c))
@test integrate((a+b*exp(c+d*x))^n*exp(c+d*x), x) == :(b^-1*d^-1*(1+n)^-1*(a+b*exp(c+d*x))^(1+n))
@test integrate(F^x*(a+b*F^x)^-1, x) == :(b^-1*log(F)^-1*log(a+b*F^x))
@test integrate(F^(d*x)*(a+b*F^(c+d*x))^-1, x) == :(F^(-1c)*b^-1*d^-1*log(F)^-1*log(a+b*F^(c+d*x)))
@test integrate(F^(c+d*x)*(a+b*F^(c+d*x))^-1, x) == :(b^-1*d^-1*log(F)^-1*log(a+b*F^(c+d*x)))
@test integrate(F^x*(a+b*F^x)^n, x) == :(b^-1*(1+n)^-1*(a+b*F^x)^(1+n)*log(F)^-1)
@test integrate(F^(d*x)*(a+b*F^(c+d*x))^n, x) == :(F^(-1c)*b^-1*d^-1*(1+n)^-1*(a+b*F^(c+d*x))^(1+n)*log(F)^-1)
@test integrate(F^(c+d*x)*(a+b*F^(c+d*x))^n, x) == :(b^-1*d^-1*(1+n)^-1*(a+b*F^(c+d*x))^(1+n)*log(F)^-1)
@test integrate((a+b*exp(x)^n)^p*exp(x)^n, x) == :(b^-1*n^-1*(1+p)^-1*(a+b*exp(x)^n)^(1+p))
@test integrate((a+b*exp(x)^n)^p*exp(n*x), x) == :(b^-1*n^-1*(1+p)^-1*(a+b*exp(x)^n)^(1+p)*exp(x)^(-1n)*exp(n*x))
@test integrate((F^(e*(c+d*x)))^n*(a+b*(F^(e*(c+d*x)))^n)^p, x) == :(b^-1*d^-1*e^-1*n^-1*(1+p)^-1*(a+b*(F^(e*(c+d*x)))^n)^(1+p)*log(F)^-1)
@test integrate((G^(h*(f+g*x)))^(d*e*n*g^-1*h^-1*log(G)^-1*log(F))*(a+b*(F^(e*(c+d*x)))^n)^p, x) == :(b^-1*d^-1*e^-1*n^-1*(F^(e*(c+d*x)))^(-1n)*(G^(h*(f+g*x)))^(d*e*n*g^-1*h^-1*log(G)^-1*log(F))*(1+p)^-1*(a+b*(F^(e*(c+d*x)))^n)^(1+p)*log(F)^-1)
@test integrate((a+b*exp(x))^-1*exp(2x), x) == :(b^-1*exp(x)+-1*a*b^-2*log(a+b*exp(x)))
@test integrate((a+b*exp(x))^-2*exp(2x), x) == :(b^-2*log(a+b*exp(x))+a*b^-2*(a+b*exp(x))^-1)
@test integrate((a+b*exp(x))^-3*exp(2x), x) == :((1/2)*a^-1*(a+b*exp(x))^-2*exp(2x))
@test integrate((a+b*exp(x))^-4*exp(2x), x) == :(-1//2*b^-2*(a+b*exp(x))^-2+1//3*a*b^-2*(a+b*exp(x))^-3)
@test integrate((a+b*exp(2x))^-1*exp(4x), x) == :((1/2)*b^-1*exp(2x)+-1//2*a*b^-2*log(a+b*exp(2x)))
@test integrate((a+b*exp(2x))^-2*exp(4x), x) == :((1/2)*b^-2*log(a+b*exp(2x))+(1/2)*a*b^-2*(a+b*exp(2x))^-1)
@test integrate((a+b*exp(2x))^-3*exp(4x), x) == :(1//4*a^-1*(a+b*exp(2x))^-2*exp(4x))
@test integrate((a+b*exp(2x))^-4*exp(4x), x) == :(-1//4*b^-2*(a+b*exp(2x))^-2+1//6*a*b^-2*(a+b*exp(2x))^-3)
@test integrate((a+b*exp(2x))^-2//3*exp(4x), x) == :(3//8*b^-2*(a+b*exp(2x))^4//3+-3//2*a*b^-2*(a+b*exp(2x))^1//3)
@test integrate((a+b*exp(n*x))*exp(-1*n*x), x) == :(b*x+-1*a*n^-1*exp(-1*n*x))
@test integrate((a+b*exp(n*x))^2*exp(-1*n*x), x) == :(b^2*n^-1*exp(n*x)+-1*a^2*n^-1*exp(-1*n*x)+2*a*b*x)
@test integrate((a+b*exp(n*x))^3*exp(-1*n*x), x) == :((1/2)*b^3*n^-1*exp(2*n*x)+-1*a^3*n^-1*exp(-1*n*x)+3*b*x*a^2+3*a*b^2*n^-1*exp(n*x))
@test integrate((a+b*exp(n*x))^-1*exp(-1*n*x), x) == :(-1*b*x*a^-2+-1*a^-1*n^-1*exp(-1*n*x)+b*a^-2*n^-1*log(a+b*exp(n*x)))
@test integrate((a+b*exp(n*x))^-2*exp(-1*n*x), x) == :(-1*a^-2*n^-1*exp(-1*n*x)+-2*b*x*a^-3+-1*b*a^-2*n^-1*(a+b*exp(n*x))^-1+2*b*a^-3*n^-1*log(a+b*exp(n*x)))
@test integrate((a+b*exp(n*x))^-3*exp(-1*n*x), x) == :(-1*a^-3*n^-1*exp(-1*n*x)+-3*b*x*a^-4+-2*b*a^-3*n^-1*(a+b*exp(n*x))^-1+3*b*a^-4*n^-1*log(a+b*exp(n*x))+-1//2*b*a^-2*n^-1*(a+b*exp(n*x))^-2)
@test integrate(f^(a+b*x)*(c+d*f^(e+2*b*x))^-1, x) == :(b^-1*c^-1//2*d^-1//2*f^(a+-1//2*e)*log(f)^-1*arctan(c^-1//2*d^(1/2)*f^((1/2)*e+b*x)))
@test integrate(f^(a+2*b*x)*(c+d*f^(e+2*b*x))^-1, x) == :((1/2)*b^-1*d^-1*f^(a+-1*e)*log(f)^-1*log(c+d*f^(e+2*b*x)))
@test integrate(f^(a+3*b*x)*(c+d*f^(e+2*b*x))^-1, x) == :(b^-1*d^-1*f^(a+-1*e+b*x)*log(f)^-1+-1*b^-1*c^(1/2)*d^-3//2*f^(a+-3//2*e)*log(f)^-1*arctan(c^-1//2*d^(1/2)*f^((1/2)*e+b*x)))
@test integrate(f^(a+4*b*x)*(c+d*f^(e+2*b*x))^-1, x) == :((1/2)*b^-1*d^-1*f^(a+-1*e+2*b*x)*log(f)^-1+-1//2*c*b^-1*d^-2*f^(a+-2*e)*log(f)^-1*log(c+d*f^(e+2*b*x)))
@test integrate(f^(a+5*b*x)*(c+d*f^(e+2*b*x))^-1, x) == :(1//3*b^-1*d^-1*f^(a+-1*e+3*b*x)*log(f)^-1+-1*c*b^-1*d^-2*f^(a+-2*e+b*x)*log(f)^-1+b^-1*c^3//2*d^-5//2*f^(a+-5//2*e)*log(f)^-1*arctan(c^-1//2*d^(1/2)*f^((1/2)*e+b*x)))
@test integrate((1+exp(2x))^-1*exp(x), x) == :(arctan(exp(x)))
@test integrate((1+-1*exp(2x))^-1*exp(x), x) == :(arctanh(exp(x)))
@test integrate(x*(1+-1*exp(2x))^-1*exp(x), x) == :((1/2)*Polylogarithms.polylog(2,-1*exp(x))+-1//2*Polylogarithms.polylog(2,exp(x))+x*arctanh(exp(x)))
@test integrate(x^2*(1+-1*exp(2x))^-1*exp(x), x) == :(-1*Polylogarithms.polylog(3,-1*exp(x))+x*Polylogarithms.polylog(2,-1*exp(x))+x^2*arctanh(exp(x))+-1*x*Polylogarithms.polylog(2,exp(x))+Polylogarithms.polylog(3,exp(x)))
@test integrate(x^3*(1+-1*exp(2x))^-1*exp(x), x) == :(-3*Polylogarithms.polylog(4,exp(x))+3*Polylogarithms.polylog(4,-1*exp(x))+x^3*arctanh(exp(x))+-3*x*Polylogarithms.polylog(3,-1*exp(x))+3*x*Polylogarithms.polylog(3,exp(x))+-3//2*x^2*Polylogarithms.polylog(2,exp(x))+3//2*x^2*Polylogarithms.polylog(2,-1*exp(x)))
@test integrate(f^x*(a+b*f^(2x))^-1, x) == :(a^-1//2*b^-1//2*log(f)^-1*arctan(a^-1//2*b^(1/2)*f^x))
@test integrate(x*f^x*(a+b*f^(2x))^-1, x) == :(x*a^-1//2*b^-1//2*log(f)^-1*arctan(a^-1//2*b^(1/2)*f^x)+(1/2)*im*a^-1//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,im*a^-1//2*b^(1/2)*f^x)+-1//2*im*a^-1//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^-1//2*b^(1/2)*f^x))
@test integrate(f^x*x^2*(a+b*f^(2x))^-1, x) == :(im*a^-1//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,-1*im*a^-1//2*b^(1/2)*f^x)+a^-1//2*b^-1//2*x^2*log(f)^-1*arctan(a^-1//2*b^(1/2)*f^x)+-1*im*a^-1//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,im*a^-1//2*b^(1/2)*f^x)+im*x*a^-1//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,im*a^-1//2*b^(1/2)*f^x)+-1*im*x*a^-1//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^-1//2*b^(1/2)*f^x))
@test integrate(f^x*x^3*(a+b*f^(2x))^-1, x) == :(a^-1//2*b^-1//2*x^3*log(f)^-1*arctan(a^-1//2*b^(1/2)*f^x)+-3*im*a^-1//2*b^-1//2*log(f)^-4*Polylogarithms.polylog(4,-1*im*a^-1//2*b^(1/2)*f^x)+3*im*a^-1//2*b^-1//2*log(f)^-4*Polylogarithms.polylog(4,im*a^-1//2*b^(1/2)*f^x)+-3*im*x*a^-1//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,im*a^-1//2*b^(1/2)*f^x)+3*im*x*a^-1//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,-1*im*a^-1//2*b^(1/2)*f^x)+-3//2*im*a^-1//2*b^-1//2*x^2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^-1//2*b^(1/2)*f^x)+3//2*im*a^-1//2*b^-1//2*x^2*log(f)^-2*Polylogarithms.polylog(2,im*a^-1//2*b^(1/2)*f^x))
@test integrate(f^x*(a+b*f^(2x))^-2, x) == :((1/2)*a^-1*f^x*(a+b*f^(2x))^-1*log(f)^-1+(1/2)*a^-3//2*b^-1//2*log(f)^-1*arctan(a^-1//2*b^(1/2)*f^x))
@test integrate(x*f^x*(a+b*f^(2x))^-2, x) == :(-1//2*a^-3//2*b^-1//2*log(f)^-2*arctan(a^-1//2*b^(1/2)*f^x)+(1/2)*x*a^-1*f^x*(a+b*f^(2x))^-1*log(f)^-1+(1/2)*x*a^-3//2*b^-1//2*log(f)^-1*arctan(a^-1//2*b^(1/2)*f^x)+-1//4*im*a^-3//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^-1//2*b^(1/2)*f^x)+1//4*im*a^-3//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,im*a^-1//2*b^(1/2)*f^x))
@test integrate(f^x*x^2*(a+b*f^(2x))^-2, x) == :((1/2)*im*a^-3//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(2,-1*im*a^-1//2*b^(1/2)*f^x)+(1/2)*im*a^-3//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,-1*im*a^-1//2*b^(1/2)*f^x)+(1/2)*a^-1*f^x*x^2*(a+b*f^(2x))^-1*log(f)^-1+(1/2)*a^-3//2*b^-1//2*x^2*log(f)^-1*arctan(a^-1//2*b^(1/2)*f^x)+-1*x*a^-3//2*b^-1//2*log(f)^-2*arctan(a^-1//2*b^(1/2)*f^x)+-1//2*im*a^-3//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(2,im*a^-1//2*b^(1/2)*f^x)+-1//2*im*a^-3//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,im*a^-1//2*b^(1/2)*f^x)+(1/2)*im*x*a^-3//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,im*a^-1//2*b^(1/2)*f^x)+-1//2*im*x*a^-3//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^-1//2*b^(1/2)*f^x))
@test integrate(f^x*x^3*(a+b*f^(2x))^-2, x) == :((1/2)*a^-1*f^x*x^3*(a+b*f^(2x))^-1*log(f)^-1+(1/2)*a^-3//2*b^-1//2*x^3*log(f)^-1*arctan(a^-1//2*b^(1/2)*f^x)+-3//2*im*a^-3//2*b^-1//2*log(f)^-4*Polylogarithms.polylog(3,-1*im*a^-1//2*b^(1/2)*f^x)+-3//2*im*a^-3//2*b^-1//2*log(f)^-4*Polylogarithms.polylog(4,-1*im*a^-1//2*b^(1/2)*f^x)+-3//2*a^-3//2*b^-1//2*x^2*log(f)^-2*arctan(a^-1//2*b^(1/2)*f^x)+3//2*im*a^-3//2*b^-1//2*log(f)^-4*Polylogarithms.polylog(3,im*a^-1//2*b^(1/2)*f^x)+3//2*im*a^-3//2*b^-1//2*log(f)^-4*Polylogarithms.polylog(4,im*a^-1//2*b^(1/2)*f^x)+-3//2*im*x*a^-3//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(2,im*a^-1//2*b^(1/2)*f^x)+-3//2*im*x*a^-3//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,im*a^-1//2*b^(1/2)*f^x)+-3//4*im*a^-3//2*b^-1//2*x^2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^-1//2*b^(1/2)*f^x)+3//2*im*x*a^-3//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(2,-1*im*a^-1//2*b^(1/2)*f^x)+3//2*im*x*a^-3//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,-1*im*a^-1//2*b^(1/2)*f^x)+3//4*im*a^-3//2*b^-1//2*x^2*log(f)^-2*Polylogarithms.polylog(2,im*a^-1//2*b^(1/2)*f^x))
@test integrate(f^x*(a+b*f^(2x))^-3, x) == :(1//4*a^-1*f^x*(a+b*f^(2x))^-2*log(f)^-1+3//8*a^-2*f^x*(a+b*f^(2x))^-1*log(f)^-1+3//8*a^-5//2*b^-1//2*log(f)^-1*arctan(a^-1//2*b^(1/2)*f^x))
@test integrate(x*f^x*(a+b*f^(2x))^-3, x) == :(-1//2*a^-5//2*b^-1//2*log(f)^-2*arctan(a^-1//2*b^(1/2)*f^x)+-1//8*a^-2*f^x*(a+b*f^(2x))^-1*log(f)^-2+-3//16*im*a^-5//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^-1//2*b^(1/2)*f^x)+1//4*x*a^-1*f^x*(a+b*f^(2x))^-2*log(f)^-1+3//8*x*a^-2*f^x*(a+b*f^(2x))^-1*log(f)^-1+3//8*x*a^-5//2*b^-1//2*log(f)^-1*arctan(a^-1//2*b^(1/2)*f^x)+3//16*im*a^-5//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,im*a^-1//2*b^(1/2)*f^x))
@test integrate(f^x*x^2*(a+b*f^(2x))^-3, x) == :(1//4*a^-5//2*b^-1//2*log(f)^-3*arctan(a^-1//2*b^(1/2)*f^x)+(1/2)*im*a^-5//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(2,-1*im*a^-1//2*b^(1/2)*f^x)+-1*x*a^-5//2*b^-1//2*log(f)^-2*arctan(a^-1//2*b^(1/2)*f^x)+-3//8*im*a^-5//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,im*a^-1//2*b^(1/2)*f^x)+-1//2*im*a^-5//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(2,im*a^-1//2*b^(1/2)*f^x)+-1//4*x*a^-2*f^x*(a+b*f^(2x))^-1*log(f)^-2+1//4*a^-1*f^x*x^2*(a+b*f^(2x))^-2*log(f)^-1+3//8*im*a^-5//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,-1*im*a^-1//2*b^(1/2)*f^x)+3//8*a^-2*f^x*x^2*(a+b*f^(2x))^-1*log(f)^-1+3//8*a^-5//2*b^-1//2*x^2*log(f)^-1*arctan(a^-1//2*b^(1/2)*f^x)+-3//8*im*x*a^-5//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^-1//2*b^(1/2)*f^x)+3//8*im*x*a^-5//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,im*a^-1//2*b^(1/2)*f^x))
@test integrate((a*f^x+b*f^(-1x))^-1, x) == :(a^-1//2*b^-1//2*log(f)^-1*arctan(a^(1/2)*b^-1//2*f^x))
@test integrate(x*(a*f^x+b*f^(-1x))^-1, x) == :(x*a^-1//2*b^-1//2*log(f)^-1*arctan(a^(1/2)*b^-1//2*f^x)+(1/2)*im*a^-1//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,im*a^(1/2)*b^-1//2*f^x)+-1//2*im*a^-1//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^(1/2)*b^-1//2*f^x))
@test integrate(x^2*(a*f^x+b*f^(-1x))^-1, x) == :(im*a^-1//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,-1*im*a^(1/2)*b^-1//2*f^x)+a^-1//2*b^-1//2*x^2*log(f)^-1*arctan(a^(1/2)*b^-1//2*f^x)+-1*im*a^-1//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,im*a^(1/2)*b^-1//2*f^x)+im*x*a^-1//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,im*a^(1/2)*b^-1//2*f^x)+-1*im*x*a^-1//2*b^-1//2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^(1/2)*b^-1//2*f^x))
@test integrate(x^3*(a*f^x+b*f^(-1x))^-1, x) == :(a^-1//2*b^-1//2*x^3*log(f)^-1*arctan(a^(1/2)*b^-1//2*f^x)+-3*im*a^-1//2*b^-1//2*log(f)^-4*Polylogarithms.polylog(4,-1*im*a^(1/2)*b^-1//2*f^x)+3*im*a^-1//2*b^-1//2*log(f)^-4*Polylogarithms.polylog(4,im*a^(1/2)*b^-1//2*f^x)+-3*im*x*a^-1//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,im*a^(1/2)*b^-1//2*f^x)+3*im*x*a^-1//2*b^-1//2*log(f)^-3*Polylogarithms.polylog(3,-1*im*a^(1/2)*b^-1//2*f^x)+-3//2*im*a^-1//2*b^-1//2*x^2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^(1/2)*b^-1//2*f^x)+3//2*im*a^-1//2*b^-1//2*x^2*log(f)^-2*Polylogarithms.polylog(2,im*a^(1/2)*b^-1//2*f^x))
@test integrate((a*f^x+b*f^(-1x))^-2, x) == :(-1//2*a^-1*(b+a*f^(2x))^-1*log(f)^-1)
@test integrate(x*(a*f^x+b*f^(-1x))^-2, x) == :((1/2)*x*a^-1*b^-1*log(f)^-1+-1//2*x*a^-1*(b+a*f^(2x))^-1*log(f)^-1+-1//4*a^-1*b^-1*log(f)^-2*log(b+a*f^(2x)))
@test integrate(x^2*(a*f^x+b*f^(-1x))^-2, x) == :((1/2)*a^-1*b^-1*x^2*log(f)^-1+-1//2*a^-1*x^2*(b+a*f^(2x))^-1*log(f)^-1+-1//4*a^-1*b^-1*log(f)^-3*Polylogarithms.polylog(2,-1*a*b^-1*f^(2x))+-1//2*x*a^-1*b^-1*log(f)^-2*log(1+a*b^-1*f^(2x)))
@test integrate(x^3*(a*f^x+b*f^(-1x))^-2, x) == :((1/2)*a^-1*b^-1*x^3*log(f)^-1+-1//2*a^-1*x^3*(b+a*f^(2x))^-1*log(f)^-1+3//8*a^-1*b^-1*log(f)^-4*Polylogarithms.polylog(3,-1*a*b^-1*f^(2x))+-3//4*x*a^-1*b^-1*log(f)^-3*Polylogarithms.polylog(2,-1*a*b^-1*f^(2x))+-3//4*a^-1*b^-1*x^2*log(f)^-2*log(1+a*b^-1*f^(2x)))
@test integrate((a*f^x+b*f^(-1x))^-3, x) == :(-1//4*a^-1*f^x*(b+a*f^(2x))^-2*log(f)^-1+1//8*a^-3//2*b^-3//2*log(f)^-1*arctan(a^(1/2)*b^-1//2*f^x)+1//8*a^-1*b^-1*f^x*(b+a*f^(2x))^-1*log(f)^-1)
@test integrate(x*(a*f^x+b*f^(-1x))^-3, x) == :(-1//4*x*a^-1*f^x*(b+a*f^(2x))^-2*log(f)^-1+-1//16*im*a^-3//2*b^-3//2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^(1/2)*b^-1//2*f^x)+1//8*x*a^-3//2*b^-3//2*log(f)^-1*arctan(a^(1/2)*b^-1//2*f^x)+1//8*a^-1*b^-1*f^x*(b+a*f^(2x))^-1*log(f)^-2+1//16*im*a^-3//2*b^-3//2*log(f)^-2*Polylogarithms.polylog(2,im*a^(1/2)*b^-1//2*f^x)+1//8*x*a^-1*b^-1*f^x*(b+a*f^(2x))^-1*log(f)^-1)
@test integrate(x^2*(a*f^x+b*f^(-1x))^-3, x) == :(-1//4*a^-3//2*b^-3//2*log(f)^-3*arctan(a^(1/2)*b^-1//2*f^x)+-1//4*a^-1*f^x*x^2*(b+a*f^(2x))^-2*log(f)^-1+-1//8*im*a^-3//2*b^-3//2*log(f)^-3*Polylogarithms.polylog(3,im*a^(1/2)*b^-1//2*f^x)+1//8*im*a^-3//2*b^-3//2*log(f)^-3*Polylogarithms.polylog(3,-1*im*a^(1/2)*b^-1//2*f^x)+1//8*a^-3//2*b^-3//2*x^2*log(f)^-1*arctan(a^(1/2)*b^-1//2*f^x)+-1//8*im*x*a^-3//2*b^-3//2*log(f)^-2*Polylogarithms.polylog(2,-1*im*a^(1/2)*b^-1//2*f^x)+1//4*x*a^-1*b^-1*f^x*(b+a*f^(2x))^-1*log(f)^-2+1//8*im*x*a^-3//2*b^-3//2*log(f)^-2*Polylogarithms.polylog(2,im*a^(1/2)*b^-1//2*f^x)+1//8*a^-1*b^-1*f^x*x^2*(b+a*f^(2x))^-1*log(f)^-1)
@test integrate(f^(a+b*x+c*x^2)*g^(d+e*x+f*x^2), x) == :((1/2)*pi^(1/2)*f^a*g^d*(c*log(f)+f*log(g))^-1//2*erfi((1/2)*(c*log(f)+f*log(g))^-1//2*(b*log(f)+e*log(g)+2*x*(c*log(f)+f*log(g))))*exp(-1*(b*log(f)+e*log(g))^2*(4*c*log(f)+4*f*log(g))^-1))
@test integrate(f^(a+b*x^2)*x^m, x) == :(-1//2*f^a*x^(1+m)*(-1*b*x^2*log(f))^(-1//2+-1//2*m)*SpecialFunctions.gamma(1/2+(1/2)*m,-1*b*x^2*log(f)))
@test integrate(f^(a+b*x^2)*x^11, x) == :(-1//2*b^-6*f^(a+b*x^2)*log(f)^-6*(120+-1*b^5*x^10*log(f)^5+-120*b*x^2*log(f)+-20*b^3*x^6*log(f)^3+5*b^4*x^8*log(f)^4+60*b^2*x^4*log(f)^2))
@test integrate(f^(a+b*x^2)*x^9, x) == :((1/2)*b^-5*f^(a+b*x^2)*log(f)^-5*(24+b^4*x^8*log(f)^4+-24*b*x^2*log(f)+-4*b^3*x^6*log(f)^3+12*b^2*x^4*log(f)^2))
@test integrate(f^(a+b*x^2)*x^7, x) == :(-3*b^-4*f^(a+b*x^2)*log(f)^-4+(1/2)*b^-1*f^(a+b*x^2)*x^6*log(f)^-1+3*b^-3*f^(a+b*x^2)*x^2*log(f)^-3+-3//2*b^-2*f^(a+b*x^2)*x^4*log(f)^-2)
@test integrate(f^(a+b*x^2)*x^5, x) == :(b^-3*f^(a+b*x^2)*log(f)^-3+(1/2)*b^-1*f^(a+b*x^2)*x^4*log(f)^-1+-1*b^-2*f^(a+b*x^2)*x^2*log(f)^-2)
@test integrate(f^(a+b*x^2)*x^3, x) == :(-1//2*b^-2*f^(a+b*x^2)*log(f)^-2+(1/2)*b^-1*f^(a+b*x^2)*x^2*log(f)^-1)
@test integrate(x*f^(a+b*x^2), x) == :((1/2)*b^-1*f^(a+b*x^2)*log(f)^-1)
@test integrate(f^(a+b*x^2)*x^-1, x) == :((1/2)*f^a*expintegralei(b*x^2*log(f)))
@test integrate(f^(a+b*x^2)*x^-3, x) == :(-1//2*f^(a+b*x^2)*x^-2+(1/2)*b*f^a*expintegralei(b*x^2*log(f))*log(f))
@test integrate(f^(a+b*x^2)*x^-5, x) == :(-1//4*f^(a+b*x^2)*x^-4+-1//4*b*f^(a+b*x^2)*x^-2*log(f)+1//4*b^2*f^a*log(f)^2*expintegralei(b*x^2*log(f)))
@test integrate(f^(a+b*x^2)*x^-7, x) == :(-1//6*f^(a+b*x^2)*x^-6+-1//12*b*f^(a+b*x^2)*x^-4*log(f)+-1//12*b^2*f^(a+b*x^2)*x^-2*log(f)^2+1//12*b^3*f^a*log(f)^3*expintegralei(b*x^2*log(f)))
@test integrate(f^(a+b*x^2)*x^-9, x) == :(-1//2*b^4*f^a*log(f)^4*SpecialFunctions.gamma(-4,-1*b*x^2*log(f)))
@test integrate(f^(a+b*x^2)*x^-11, x) == :((1/2)*b^5*f^a*log(f)^5*SpecialFunctions.gamma(-5,-1*b*x^2*log(f)))
@test integrate(f^(a+b*x^2)*x^12, x) == :(-1//2*f^a*x^13*(-1*b*x^2*log(f))^-13//2*SpecialFunctions.gamma(13//2,-1*b*x^2*log(f)))
@test integrate(f^(a+b*x^2)*x^10, x) == :(-1//2*f^a*x^11*(-1*b*x^2*log(f))^-11//2*SpecialFunctions.gamma(11//2,-1*b*x^2*log(f)))
@test integrate(f^(a+b*x^2)*x^8, x) == :((1/2)*b^-1*f^(a+b*x^2)*x^7*log(f)^-1+-105//16*x*b^-4*f^(a+b*x^2)*log(f)^-4+-7//4*b^-2*f^(a+b*x^2)*x^5*log(f)^-2+35//8*b^-3*f^(a+b*x^2)*x^3*log(f)^-3+105//32*pi^(1/2)*b^-9//2*f^a*log(f)^-9//2*erfi(x*b^(1/2)*log(f)^(1/2)))
@test integrate(f^(a+b*x^2)*x^6, x) == :((1/2)*b^-1*f^(a+b*x^2)*x^5*log(f)^-1+-5//4*b^-2*f^(a+b*x^2)*x^3*log(f)^-2+15//8*x*b^-3*f^(a+b*x^2)*log(f)^-3+-15//16*pi^(1/2)*b^-7//2*f^a*log(f)^-7//2*erfi(x*b^(1/2)*log(f)^(1/2)))
@test integrate(f^(a+b*x^2)*x^4, x) == :((1/2)*b^-1*f^(a+b*x^2)*x^3*log(f)^-1+-3//4*x*b^-2*f^(a+b*x^2)*log(f)^-2+3//8*pi^(1/2)*b^-5//2*f^a*log(f)^-5//2*erfi(x*b^(1/2)*log(f)^(1/2)))
@test integrate(f^(a+b*x^2)*x^2, x) == :((1/2)*x*b^-1*f^(a+b*x^2)*log(f)^-1+-1//4*pi^(1/2)*b^-3//2*f^a*log(f)^-3//2*erfi(x*b^(1/2)*log(f)^(1/2)))
@test integrate(f^(a+b*x^2), x) == :((1/2)*pi^(1/2)*b^-1//2*f^a*log(f)^-1//2*erfi(x*b^(1/2)*log(f)^(1/2)))
@test integrate(f^(a+b*x^2)*x^-2, x) == :(-1*f^(a+b*x^2)*x^-1+pi^(1/2)*b^(1/2)*f^a*log(f)^(1/2)*erfi(x*b^(1/2)*log(f)^(1/2)))
@test integrate(f^(a+b*x^2)*x^-4, x) == :(-1//3*f^(a+b*x^2)*x^-3+-2//3*b*f^(a+b*x^2)*x^-1*log(f)+2//3*pi^(1/2)*b^3//2*f^a*log(f)^3//2*erfi(x*b^(1/2)*log(f)^(1/2)))
@test integrate(f^(a+b*x^2)*x^-6, x) == :(-1//5*f^(a+b*x^2)*x^-5+-4//15*b^2*f^(a+b*x^2)*x^-1*log(f)^2+-2//15*b*f^(a+b*x^2)*x^-3*log(f)+4//15*pi^(1/2)*b^5//2*f^a*log(f)^5//2*erfi(x*b^(1/2)*log(f)^(1/2)))
@test integrate(f^(a+b*x^2)*x^-8, x) == :(-1//7*f^(a+b*x^2)*x^-7+-8//105*b^3*f^(a+b*x^2)*x^-1*log(f)^3+-4//105*b^2*f^(a+b*x^2)*x^-3*log(f)^2+-2//35*b*f^(a+b*x^2)*x^-5*log(f)+8//105*pi^(1/2)*b^7//2*f^a*log(f)^7//2*erfi(x*b^(1/2)*log(f)^(1/2)))
@test integrate(f^(a+b*x^2)*x^-10, x) == :(-1//2*f^a*x^-9*(-1*b*x^2*log(f))^9//2*SpecialFunctions.gamma(-9//2,-1*b*x^2*log(f)))
@test integrate(f^(a+b*x^2)*x^-12, x) == :(-1//2*f^a*x^-11*(-1*b*x^2*log(f))^11//2*SpecialFunctions.gamma(-11//2,-1*b*x^2*log(f)))
@test integrate(f^(a+b*x^3)*x^m, x) == :(-1//3*f^a*x^(1+m)*(-1*b*x^3*log(f))^(-1//3+-1//3*m)*SpecialFunctions.gamma(1//3+1//3*m,-1*b*x^3*log(f)))
@test integrate(f^(a+b*x^3)*x^17, x) == :(-1//3*b^-6*f^(a+b*x^3)*log(f)^-6*(120+-1*b^5*x^15*log(f)^5+-120*b*x^3*log(f)+-20*b^3*x^9*log(f)^3+5*b^4*x^12*log(f)^4+60*b^2*x^6*log(f)^2))
@test integrate(f^(a+b*x^3)*x^14, x) == :(1//3*b^-5*f^(a+b*x^3)*log(f)^-5*(24+b^4*x^12*log(f)^4+-24*b*x^3*log(f)+-4*b^3*x^9*log(f)^3+12*b^2*x^6*log(f)^2))
@test integrate(f^(a+b*x^3)*x^11, x) == :(-2*b^-4*f^(a+b*x^3)*log(f)^-4+-1*b^-2*f^(a+b*x^3)*x^6*log(f)^-2+2*b^-3*f^(a+b*x^3)*x^3*log(f)^-3+1//3*b^-1*f^(a+b*x^3)*x^9*log(f)^-1)
@test integrate(f^(a+b*x^3)*x^8, x) == :(2//3*b^-3*f^(a+b*x^3)*log(f)^-3+-2//3*b^-2*f^(a+b*x^3)*x^3*log(f)^-2+1//3*b^-1*f^(a+b*x^3)*x^6*log(f)^-1)
@test integrate(f^(a+b*x^3)*x^5, x) == :(-1//3*b^-2*f^(a+b*x^3)*log(f)^-2+1//3*b^-1*f^(a+b*x^3)*x^3*log(f)^-1)
@test integrate(f^(a+b*x^3)*x^2, x) == :(1//3*b^-1*f^(a+b*x^3)*log(f)^-1)
@test integrate(f^(a+b*x^3)*x^-1, x) == :(1//3*f^a*expintegralei(b*x^3*log(f)))
@test integrate(f^(a+b*x^3)*x^-4, x) == :(-1//3*f^(a+b*x^3)*x^-3+1//3*b*f^a*expintegralei(b*x^3*log(f))*log(f))
@test integrate(f^(a+b*x^3)*x^-7, x) == :(-1//6*f^(a+b*x^3)*x^-6+-1//6*b*f^(a+b*x^3)*x^-3*log(f)+1//6*b^2*f^a*log(f)^2*expintegralei(b*x^3*log(f)))
@test integrate(f^(a+b*x^3)*x^-10, x) == :(-1//9*f^(a+b*x^3)*x^-9+-1//18*b*f^(a+b*x^3)*x^-6*log(f)+-1//18*b^2*f^(a+b*x^3)*x^-3*log(f)^2+1//18*b^3*f^a*log(f)^3*expintegralei(b*x^3*log(f)))
@test integrate(f^(a+b*x^3)*x^-13, x) == :(-1//3*b^4*f^a*log(f)^4*SpecialFunctions.gamma(-4,-1*b*x^3*log(f)))
@test integrate(f^(a+b*x^3)*x^-16, x) == :(1//3*b^5*f^a*log(f)^5*SpecialFunctions.gamma(-5,-1*b*x^3*log(f)))
@test integrate(f^(a+b*x^3)*x^4, x) == :(-1//3*f^a*x^5*(-1*b*x^3*log(f))^-5//3*SpecialFunctions.gamma(5//3,-1*b*x^3*log(f)))
@test integrate(f^(a+b*x^3)*x^3, x) == :(-1//3*f^a*x^4*(-1*b*x^3*log(f))^-4//3*SpecialFunctions.gamma(4//3,-1*b*x^3*log(f)))
@test integrate(x*f^(a+b*x^3), x) == :(-1//3*f^a*x^2*(-1*b*x^3*log(f))^-2//3*SpecialFunctions.gamma(2//3,-1*b*x^3*log(f)))
@test integrate(f^(a+b*x^3), x) == :(-1//3*x*f^a*(-1*b*x^3*log(f))^-1//3*SpecialFunctions.gamma(1//3,-1*b*x^3*log(f)))
@test integrate(f^(a+b*x^3)*x^-2, x) == :(-1//3*f^a*x^-1*(-1*b*x^3*log(f))^1//3*SpecialFunctions.gamma(-1//3,-1*b*x^3*log(f)))
@test integrate(f^(a+b*x^3)*x^-3, x) == :(-1//3*f^a*x^-2*(-1*b*x^3*log(f))^2//3*SpecialFunctions.gamma(-2//3,-1*b*x^3*log(f)))
@test integrate(x^2*exp(4*x^3), x) == :(1//12*exp(4*x^3))
@test integrate(f^(a+b*x^-1)*x^m, x) == :(f^a*x^(1+m)*(-1*b*x^-1*log(f))^(1+m)*SpecialFunctions.gamma(-1+-1m,-1*b*x^-1*log(f)))
@test integrate(f^(a+b*x^-1)*x^4, x) == :(-1*b^5*f^a*log(f)^5*SpecialFunctions.gamma(-5,-1*b*x^-1*log(f)))
@test integrate(f^(a+b*x^-1)*x^3, x) == :(b^4*f^a*log(f)^4*SpecialFunctions.gamma(-4,-1*b*x^-1*log(f)))
@test integrate(f^(a+b*x^-1)*x^2, x) == :(1//3*f^(a+b*x^-1)*x^3+-1//6*b^3*f^a*log(f)^3*expintegralei(b*x^-1*log(f))+1//6*b*f^(a+b*x^-1)*x^2*log(f)+1//6*x*b^2*f^(a+b*x^-1)*log(f)^2)
@test integrate(x*f^(a+b*x^-1), x) == :((1/2)*f^(a+b*x^-1)*x^2+(1/2)*b*x*f^(a+b*x^-1)*log(f)+-1//2*b^2*f^a*log(f)^2*expintegralei(b*x^-1*log(f)))
@test integrate(f^(a+b*x^-1), x) == :(x*f^(a+b*x^-1)+-1*b*f^a*expintegralei(b*x^-1*log(f))*log(f))
@test integrate(f^(a+b*x^-1)*x^-1, x) == :(-1*f^a*expintegralei(b*x^-1*log(f)))
@test integrate(f^(a+b*x^-1)*x^-2, x) == :(-1*b^-1*f^(a+b*x^-1)*log(f)^-1)
@test integrate(f^(a+b*x^-1)*x^-3, x) == :(b^-2*f^(a+b*x^-1)*log(f)^-2+-1*b^-1*f^(a+b*x^-1)*x^-1*log(f)^-1)
@test integrate(f^(a+b*x^-1)*x^-4, x) == :(-2*b^-3*f^(a+b*x^-1)*log(f)^-3+-1*b^-1*f^(a+b*x^-1)*x^-2*log(f)^-1+2*b^-2*f^(a+b*x^-1)*x^-1*log(f)^-2)
@test integrate(f^(a+b*x^-1)*x^-5, x) == :(6*b^-4*f^(a+b*x^-1)*log(f)^-4+-1*b^-1*f^(a+b*x^-1)*x^-3*log(f)^-1+-6*b^-3*f^(a+b*x^-1)*x^-1*log(f)^-3+3*b^-2*f^(a+b*x^-1)*x^-2*log(f)^-2)
@test integrate(f^(a+b*x^-1)*x^-6, x) == :(-1*b^-5*f^(a+b*x^-1)*x^-4*log(f)^-5*(24*x^4+b^4*log(f)^4+-24*b*x^3*log(f)+-4*x*b^3*log(f)^3+12*b^2*x^2*log(f)^2))
@test integrate(f^(a+b*x^-1)*x^-7, x) == :(b^-6*f^(a+b*x^-1)*x^-5*log(f)^-6*(120*x^5+-1*b^5*log(f)^5+-120*b*x^4*log(f)+-20*b^3*x^2*log(f)^3+5*x*b^4*log(f)^4+60*b^2*x^3*log(f)^2))
@test integrate(f^(a+b*x^-2)*x^m, x) == :((1/2)*f^a*x^(1+m)*(-1*b*x^-2*log(f))^(1/2+(1/2)*m)*SpecialFunctions.gamma(-1//2+-1//2*m,-1*b*x^-2*log(f)))
@test integrate(f^(a+b*x^-2)*x^9, x) == :(-1//2*b^5*f^a*log(f)^5*SpecialFunctions.gamma(-5,-1*b*x^-2*log(f)))
@test integrate(f^(a+b*x^-2)*x^7, x) == :((1/2)*b^4*f^a*log(f)^4*SpecialFunctions.gamma(-4,-1*b*x^-2*log(f)))
@test integrate(f^(a+b*x^-2)*x^5, x) == :(1//6*f^(a+b*x^-2)*x^6+-1//12*b^3*f^a*log(f)^3*expintegralei(b*x^-2*log(f))+1//12*b*f^(a+b*x^-2)*x^4*log(f)+1//12*b^2*f^(a+b*x^-2)*x^2*log(f)^2)
@test integrate(f^(a+b*x^-2)*x^3, x) == :(1//4*f^(a+b*x^-2)*x^4+-1//4*b^2*f^a*log(f)^2*expintegralei(b*x^-2*log(f))+1//4*b*f^(a+b*x^-2)*x^2*log(f))
@test integrate(x*f^(a+b*x^-2), x) == :((1/2)*f^(a+b*x^-2)*x^2+-1//2*b*f^a*expintegralei(b*x^-2*log(f))*log(f))
@test integrate(f^(a+b*x^-2)*x^-1, x) == :(-1//2*f^a*expintegralei(b*x^-2*log(f)))
@test integrate(f^(a+b*x^-2)*x^-3, x) == :(-1//2*b^-1*f^(a+b*x^-2)*log(f)^-1)
@test integrate(f^(a+b*x^-2)*x^-5, x) == :((1/2)*b^-2*f^(a+b*x^-2)*log(f)^-2+-1//2*b^-1*f^(a+b*x^-2)*x^-2*log(f)^-1)
@test integrate(f^(a+b*x^-2)*x^-7, x) == :(-1*b^-3*f^(a+b*x^-2)*log(f)^-3+b^-2*f^(a+b*x^-2)*x^-2*log(f)^-2+-1//2*b^-1*f^(a+b*x^-2)*x^-4*log(f)^-1)
@test integrate(f^(a+b*x^-2)*x^-9, x) == :(3*b^-4*f^(a+b*x^-2)*log(f)^-4+-3*b^-3*f^(a+b*x^-2)*x^-2*log(f)^-3+-1//2*b^-1*f^(a+b*x^-2)*x^-6*log(f)^-1+3//2*b^-2*f^(a+b*x^-2)*x^-4*log(f)^-2)
@test integrate(f^(a+b*x^-2)*x^-11, x) == :(-1//2*b^-5*f^(a+b*x^-2)*x^-8*log(f)^-5*(24*x^8+b^4*log(f)^4+-24*b*x^6*log(f)+-4*b^3*x^2*log(f)^3+12*b^2*x^4*log(f)^2))
@test integrate(f^(a+b*x^-2)*x^-13, x) == :((1/2)*b^-6*f^(a+b*x^-2)*x^-10*log(f)^-6*(120*x^10+-1*b^5*log(f)^5+-120*b*x^8*log(f)+-20*b^3*x^4*log(f)^3+5*b^4*x^2*log(f)^4+60*b^2*x^6*log(f)^2))
@test integrate(f^(a+b*x^-2)*x^10, x) == :((1/2)*f^a*x^11*(-1*b*x^-2*log(f))^11//2*SpecialFunctions.gamma(-11//2,-1*b*x^-2*log(f)))
@test integrate(f^(a+b*x^-2)*x^8, x) == :((1/2)*f^a*x^9*(-1*b*x^-2*log(f))^9//2*SpecialFunctions.gamma(-9//2,-1*b*x^-2*log(f)))
@test integrate(f^(a+b*x^-2)*x^6, x) == :(1//7*f^(a+b*x^-2)*x^7+2//35*b*f^(a+b*x^-2)*x^5*log(f)+4//105*b^2*f^(a+b*x^-2)*x^3*log(f)^2+8//105*x*b^3*f^(a+b*x^-2)*log(f)^3+-8//105*pi^(1/2)*b^7//2*f^a*log(f)^7//2*erfi(b^(1/2)*x^-1*log(f)^(1/2)))
@test integrate(f^(a+b*x^-2)*x^4, x) == :(1//5*f^(a+b*x^-2)*x^5+2//15*b*f^(a+b*x^-2)*x^3*log(f)+4//15*x*b^2*f^(a+b*x^-2)*log(f)^2+-4//15*pi^(1/2)*b^5//2*f^a*log(f)^5//2*erfi(b^(1/2)*x^-1*log(f)^(1/2)))
@test integrate(f^(a+b*x^-2)*x^2, x) == :(1//3*f^(a+b*x^-2)*x^3+2//3*b*x*f^(a+b*x^-2)*log(f)+-2//3*pi^(1/2)*b^3//2*f^a*log(f)^3//2*erfi(b^(1/2)*x^-1*log(f)^(1/2)))
@test integrate(f^(a+b*x^-2), x) == :(x*f^(a+b*x^-2)+-1*pi^(1/2)*b^(1/2)*f^a*log(f)^(1/2)*erfi(b^(1/2)*x^-1*log(f)^(1/2)))
@test integrate(f^(a+b*x^-2)*x^-2, x) == :(-1//2*pi^(1/2)*b^-1//2*f^a*log(f)^-1//2*erfi(b^(1/2)*x^-1*log(f)^(1/2)))
@test integrate(f^(a+b*x^-2)*x^-4, x) == :(-1//2*b^-1*f^(a+b*x^-2)*x^-1*log(f)^-1+1//4*pi^(1/2)*b^-3//2*f^a*log(f)^-3//2*erfi(b^(1/2)*x^-1*log(f)^(1/2)))
@test integrate(f^(a+b*x^-2)*x^-6, x) == :(-1//2*b^-1*f^(a+b*x^-2)*x^-3*log(f)^-1+3//4*b^-2*f^(a+b*x^-2)*x^-1*log(f)^-2+-3//8*pi^(1/2)*b^-5//2*f^a*log(f)^-5//2*erfi(b^(1/2)*x^-1*log(f)^(1/2)))
@test integrate(f^(a+b*x^-2)*x^-8, x) == :(-15//8*b^-3*f^(a+b*x^-2)*x^-1*log(f)^-3+-1//2*b^-1*f^(a+b*x^-2)*x^-5*log(f)^-1+5//4*b^-2*f^(a+b*x^-2)*x^-3*log(f)^-2+15//16*pi^(1/2)*b^-7//2*f^a*log(f)^-7//2*erfi(b^(1/2)*x^-1*log(f)^(1/2)))
@test integrate(f^(a+b*x^-2)*x^-10, x) == :(-35//8*b^-3*f^(a+b*x^-2)*x^-3*log(f)^-3+-1//2*b^-1*f^(a+b*x^-2)*x^-7*log(f)^-1+7//4*b^-2*f^(a+b*x^-2)*x^-5*log(f)^-2+105//16*b^-4*f^(a+b*x^-2)*x^-1*log(f)^-4+-105//32*pi^(1/2)*b^-9//2*f^a*log(f)^-9//2*erfi(b^(1/2)*x^-1*log(f)^(1/2)))
@test integrate(f^(a+b*x^-2)*x^-12, x) == :((1/2)*f^a*x^-11*(-1*b*x^-2*log(f))^-11//2*SpecialFunctions.gamma(11//2,-1*b*x^-2*log(f)))
@test integrate(f^(a+b*x^-2)*x^-14, x) == :((1/2)*f^a*x^-13*(-1*b*x^-2*log(f))^-13//2*SpecialFunctions.gamma(13//2,-1*b*x^-2*log(f)))
@test integrate(f^(a+b*x^-3)*x^m, x) == :(1//3*f^a*x^(1+m)*(-1*b*x^-3*log(f))^(1//3+1//3*m)*SpecialFunctions.gamma(-1//3+-1//3*m,-1*b*x^-3*log(f)))
@test integrate(f^(a+b*x^-3)*x^14, x) == :(-1//3*b^5*f^a*log(f)^5*SpecialFunctions.gamma(-5,-1*b*x^-3*log(f)))
@test integrate(f^(a+b*x^-3)*x^11, x) == :(1//3*b^4*f^a*log(f)^4*SpecialFunctions.gamma(-4,-1*b*x^-3*log(f)))
@test integrate(f^(a+b*x^-3)*x^8, x) == :(1//9*f^(a+b*x^-3)*x^9+-1//18*b^3*f^a*log(f)^3*expintegralei(b*x^-3*log(f))+1//18*b*f^(a+b*x^-3)*x^6*log(f)+1//18*b^2*f^(a+b*x^-3)*x^3*log(f)^2)
@test integrate(f^(a+b*x^-3)*x^5, x) == :(1//6*f^(a+b*x^-3)*x^6+-1//6*b^2*f^a*log(f)^2*expintegralei(b*x^-3*log(f))+1//6*b*f^(a+b*x^-3)*x^3*log(f))
@test integrate(f^(a+b*x^-3)*x^2, x) == :(1//3*f^(a+b*x^-3)*x^3+-1//3*b*f^a*expintegralei(b*x^-3*log(f))*log(f))
@test integrate(f^(a+b*x^-3)*x^-1, x) == :(-1//3*f^a*expintegralei(b*x^-3*log(f)))
@test integrate(f^(a+b*x^-3)*x^-4, x) == :(-1//3*b^-1*f^(a+b*x^-3)*log(f)^-1)
@test integrate(f^(a+b*x^-3)*x^-7, x) == :(1//3*b^-2*f^(a+b*x^-3)*log(f)^-2+-1//3*b^-1*f^(a+b*x^-3)*x^-3*log(f)^-1)
@test integrate(f^(a+b*x^-3)*x^-10, x) == :(-2//3*b^-3*f^(a+b*x^-3)*log(f)^-3+-1//3*b^-1*f^(a+b*x^-3)*x^-6*log(f)^-1+2//3*b^-2*f^(a+b*x^-3)*x^-3*log(f)^-2)
@test integrate(f^(a+b*x^-3)*x^-13, x) == :(2*b^-4*f^(a+b*x^-3)*log(f)^-4+b^-2*f^(a+b*x^-3)*x^-6*log(f)^-2+-2*b^-3*f^(a+b*x^-3)*x^-3*log(f)^-3+-1//3*b^-1*f^(a+b*x^-3)*x^-9*log(f)^-1)
@test integrate(f^(a+b*x^-3)*x^-16, x) == :(-1//3*b^-5*f^(a+b*x^-3)*x^-12*log(f)^-5*(24*x^12+b^4*log(f)^4+-24*b*x^9*log(f)+-4*b^3*x^3*log(f)^3+12*b^2*x^6*log(f)^2))
@test integrate(f^(a+b*x^-3)*x^-19, x) == :(1//3*b^-6*f^(a+b*x^-3)*x^-15*log(f)^-6*(120*x^15+-1*b^5*log(f)^5+-120*b*x^12*log(f)+-20*b^3*x^6*log(f)^3+5*b^4*x^3*log(f)^4+60*b^2*x^9*log(f)^2))
@test integrate(f^(a+b*x^-3)*x^4, x) == :(1//3*f^a*x^5*(-1*b*x^-3*log(f))^5//3*SpecialFunctions.gamma(-5//3,-1*b*x^-3*log(f)))
@test integrate(f^(a+b*x^-3)*x^3, x) == :(1//3*f^a*x^4*(-1*b*x^-3*log(f))^4//3*SpecialFunctions.gamma(-4//3,-1*b*x^-3*log(f)))
@test integrate(x*f^(a+b*x^-3), x) == :(1//3*f^a*x^2*(-1*b*x^-3*log(f))^2//3*SpecialFunctions.gamma(-2//3,-1*b*x^-3*log(f)))
@test integrate(f^(a+b*x^-3), x) == :(1//3*x*f^a*(-1*b*x^-3*log(f))^1//3*SpecialFunctions.gamma(-1//3,-1*b*x^-3*log(f)))
@test integrate(f^(a+b*x^-3)*x^-2, x) == :(1//3*f^a*x^-1*(-1*b*x^-3*log(f))^-1//3*SpecialFunctions.gamma(1//3,-1*b*x^-3*log(f)))
@test integrate(f^(a+b*x^-3)*x^-3, x) == :(1//3*f^a*x^-2*(-1*b*x^-3*log(f))^-2//3*SpecialFunctions.gamma(2//3,-1*b*x^-3*log(f)))
@test integrate(f^(a+b*x^-3)*x^-5, x) == :(1//3*f^a*x^-4*(-1*b*x^-3*log(f))^-4//3*SpecialFunctions.gamma(4//3,-1*b*x^-3*log(f)))
@test integrate(f^(a+b*x^n)*x^m, x) == :(-1*f^a*n^-1*x^(1+m)*(-1*b*x^n*log(f))^(-1*n^-1*(1+m))*SpecialFunctions.gamma(n^-1*(1+m),-1*b*x^n*log(f)))
@test integrate(f^(a+b*x^n)*x^3, x) == :(-1*f^a*n^-1*x^4*(-1*b*x^n*log(f))^(-4*n^-1)*SpecialFunctions.gamma(4*n^-1,-1*b*x^n*log(f)))
@test integrate(f^(a+b*x^n)*x^2, x) == :(-1*f^a*n^-1*x^3*(-1*b*x^n*log(f))^(-3*n^-1)*SpecialFunctions.gamma(3*n^-1,-1*b*x^n*log(f)))
@test integrate(x*f^(a+b*x^n), x) == :(-1*f^a*n^-1*x^2*(-1*b*x^n*log(f))^(-2*n^-1)*SpecialFunctions.gamma(2*n^-1,-1*b*x^n*log(f)))
@test integrate(f^(a+b*x^n), x) == :(-1*x*f^a*n^-1*(-1*b*x^n*log(f))^(-1*n^-1)*SpecialFunctions.gamma(n^-1,-1*b*x^n*log(f)))
@test integrate(f^(a+b*x^n)*x^-1, x) == :(f^a*n^-1*expintegralei(b*x^n*log(f)))
@test integrate(f^(a+b*x^n)*x^-2, x) == :(-1*f^a*n^-1*x^-1*(-1*b*x^n*log(f))^(n^-1)*SpecialFunctions.gamma(-1*n^-1,-1*b*x^n*log(f)))
@test integrate(f^(a+b*x^n)*x^-3, x) == :(-1*f^a*n^-1*x^-2*(-1*b*x^n*log(f))^(2*n^-1)*SpecialFunctions.gamma(-2*n^-1,-1*b*x^n*log(f)))
@test integrate(f^(a+b*x^n)*x^-4, x) == :(-1*f^a*n^-1*x^-3*(-1*b*x^n*log(f))^(3*n^-1)*SpecialFunctions.gamma(-3*n^-1,-1*b*x^n*log(f)))
@test integrate(f^(a+b*x^n)*x^(-1+3n), x) == :(2*b^-3*f^(a+b*x^n)*n^-1*log(f)^-3+b^-1*f^(a+b*x^n)*n^-1*x^(2n)*log(f)^-1+-2*b^-2*f^(a+b*x^n)*n^-1*x^n*log(f)^-2)
@test integrate(f^(a+b*x^n)*x^(-1+2n), x) == :(-1*b^-2*f^(a+b*x^n)*n^-1*log(f)^-2+b^-1*f^(a+b*x^n)*n^-1*x^n*log(f)^-1)
@test integrate(f^(a+b*x^n)*x^(-1+n), x) == :(b^-1*f^(a+b*x^n)*n^-1*log(f)^-1)
@test integrate(f^(a+b*x^n)*x^-1, x) == :(f^a*n^-1*expintegralei(b*x^n*log(f)))
@test integrate(f^(a+b*x^n)*x^(-1+-1n), x) == :(-1*f^(a+b*x^n)*n^-1*x^(-1n)+b*f^a*n^-1*expintegralei(b*x^n*log(f))*log(f))
@test integrate(f^(a+b*x^n)*x^(-1+-2n), x) == :(-1//2*f^(a+b*x^n)*n^-1*x^(-2n)+(1/2)*b^2*f^a*n^-1*log(f)^2*expintegralei(b*x^n*log(f))+-1//2*b*f^(a+b*x^n)*n^-1*x^(-1n)*log(f))
@test integrate(f^(a+b*x^n)*x^(-1+5//2*n), x) == :(b^-1*f^(a+b*x^n)*n^-1*x^(3//2*n)*log(f)^-1+-3//2*b^-2*f^(a+b*x^n)*n^-1*x^((1/2)*n)*log(f)^-2+3//4*pi^(1/2)*b^-5//2*f^a*n^-1*log(f)^-5//2*erfi(b^(1/2)*x^((1/2)*n)*log(f)^(1/2)))
@test integrate(f^(a+b*x^n)*x^(-1+3//2*n), x) == :(b^-1*f^(a+b*x^n)*n^-1*x^((1/2)*n)*log(f)^-1+-1//2*pi^(1/2)*b^-3//2*f^a*n^-1*log(f)^-3//2*erfi(b^(1/2)*x^((1/2)*n)*log(f)^(1/2)))
@test integrate(f^(a+b*x^n)*x^(-1+(1/2)*n), x) == :(pi^(1/2)*b^-1//2*f^a*n^-1*log(f)^-1//2*erfi(b^(1/2)*x^((1/2)*n)*log(f)^(1/2)))
@test integrate(f^(a+b*x^n)*x^(-1+-1//2*n), x) == :(-2*f^(a+b*x^n)*n^-1*x^(-1//2*n)+2*pi^(1/2)*b^(1/2)*f^a*n^-1*log(f)^(1/2)*erfi(b^(1/2)*x^((1/2)*n)*log(f)^(1/2)))
@test integrate(f^(a+b*x^n)*x^(-1+-3//2*n), x) == :(-2//3*f^(a+b*x^n)*n^-1*x^(-3//2*n)+-4//3*b*f^(a+b*x^n)*n^-1*x^(-1//2*n)*log(f)+4//3*pi^(1/2)*b^3//2*f^a*n^-1*log(f)^3//2*erfi(b^(1/2)*x^((1/2)*n)*log(f)^(1/2)))
@test integrate(x*exp(-0.1x), x) == :(-100.0*exp(-0.1x)+-10.0*x*exp(-0.1x))
@test integrate(f^(c*(a+b*x)^2)*x^3, x) == :(-1//2*b^-4*c^-2*f^(c*(a+b*x)^2)*log(f)^-2+(1/2)*b^-4*c^-1*f^(c*(a+b*x)^2)*(a+b*x)^2*log(f)^-1+3//2*a^2*b^-4*c^-1*f^(c*(a+b*x)^2)*log(f)^-1+-3//2*a*b^-4*c^-1*f^(c*(a+b*x)^2)*log(f)^-1*(a+b*x)+-1//2*pi^(1/2)*a^3*b^-4*c^-1//2*log(f)^-1//2*erfi(c^(1/2)*log(f)^(1/2)*(a+b*x))+3//4*a*pi^(1/2)*b^-4*c^-3//2*log(f)^-3//2*erfi(c^(1/2)*log(f)^(1/2)*(a+b*x)))
@test integrate(f^(c*(a+b*x)^2)*x^2, x) == :((1/2)*b^-3*c^-1*f^(c*(a+b*x)^2)*log(f)^-1*(a+b*x)+-1*a*b^-3*c^-1*f^(c*(a+b*x)^2)*log(f)^-1+-1//4*pi^(1/2)*b^-3*c^-3//2*log(f)^-3//2*erfi(c^(1/2)*log(f)^(1/2)*(a+b*x))+(1/2)*pi^(1/2)*a^2*b^-3*c^-1//2*log(f)^-1//2*erfi(c^(1/2)*log(f)^(1/2)*(a+b*x)))
@test integrate(x*f^(c*(a+b*x)^2), x) == :((1/2)*b^-2*c^-1*f^(c*(a+b*x)^2)*log(f)^-1+-1//2*a*pi^(1/2)*b^-2*c^-1//2*log(f)^-1//2*erfi(c^(1/2)*log(f)^(1/2)*(a+b*x)))
@test integrate(f^(c*(a+b*x)^2), x) == :((1/2)*pi^(1/2)*b^-1*c^-1//2*log(f)^-1//2*erfi(c^(1/2)*log(f)^(1/2)*(a+b*x)))
@test integrate(f^(c*(a+b*x)^3)*x^2, x) == :(1//3*b^-3*c^-1*f^(c*(a+b*x)^3)*log(f)^-1+-1//3*a^2*b^-3*(-1*c*(a+b*x)^3*log(f))^-1//3*(a+b*x)*SpecialFunctions.gamma(1//3,-1*c*(a+b*x)^3*log(f))+2//3*a*b^-3*(-1*c*(a+b*x)^3*log(f))^-2//3*(a+b*x)^2*SpecialFunctions.gamma(2//3,-1*c*(a+b*x)^3*log(f)))
@test integrate(x*f^(c*(a+b*x)^3), x) == :(-1//3*b^-2*(-1*c*(a+b*x)^3*log(f))^-2//3*(a+b*x)^2*SpecialFunctions.gamma(2//3,-1*c*(a+b*x)^3*log(f))+1//3*a*b^-2*(-1*c*(a+b*x)^3*log(f))^-1//3*(a+b*x)*SpecialFunctions.gamma(1//3,-1*c*(a+b*x)^3*log(f)))
@test integrate(f^(c*(a+b*x)^3), x) == :(-1//3*b^-1*(-1*c*(a+b*x)^3*log(f))^-1//3*(a+b*x)*SpecialFunctions.gamma(1//3,-1*c*(a+b*x)^3*log(f)))
@test integrate(x^4*exp(a^3+b^3*x^3+3*a*b^2*x^2+3*b*x*a^2), x) == :(2*a^2*b^-5*exp((a+b*x)^3)+-1//3*b^-5*(-1*(a+b*x)^3)^-5//3*(a+b*x)^5*SpecialFunctions.gamma(5//3,-1*(a+b*x)^3)+-1//3*a^4*b^-5*(-1*(a+b*x)^3)^-1//3*(a+b*x)*SpecialFunctions.gamma(1//3,-1*(a+b*x)^3)+4//3*a*b^-5*(-1*(a+b*x)^3)^-4//3*(a+b*x)^4*SpecialFunctions.gamma(4//3,-1*(a+b*x)^3)+4//3*a^3*b^-5*(-1*(a+b*x)^3)^-2//3*(a+b*x)^2*SpecialFunctions.gamma(2//3,-1*(a+b*x)^3))
@test integrate(x^3*exp(a^3+b^3*x^3+3*a*b^2*x^2+3*b*x*a^2), x) == :(-1*a*b^-4*exp((a+b*x)^3)+-1//3*b^-4*(-1*(a+b*x)^3)^-4//3*(a+b*x)^4*SpecialFunctions.gamma(4//3,-1*(a+b*x)^3)+-1*a^2*b^-4*(-1*(a+b*x)^3)^-2//3*(a+b*x)^2*SpecialFunctions.gamma(2//3,-1*(a+b*x)^3)+1//3*a^3*b^-4*(-1*(a+b*x)^3)^-1//3*(a+b*x)*SpecialFunctions.gamma(1//3,-1*(a+b*x)^3))
@test integrate(x^2*exp(a^3+b^3*x^3+3*a*b^2*x^2+3*b*x*a^2), x) == :(1//3*b^-3*exp((a+b*x)^3)+-1//3*a^2*b^-3*(-1*(a+b*x)^3)^-1//3*(a+b*x)*SpecialFunctions.gamma(1//3,-1*(a+b*x)^3)+2//3*a*b^-3*(-1*(a+b*x)^3)^-2//3*(a+b*x)^2*SpecialFunctions.gamma(2//3,-1*(a+b*x)^3))
@test integrate(x*exp(a^3+b^3*x^3+3*a*b^2*x^2+3*b*x*a^2), x) == :(-1//3*b^-2*(-1*(a+b*x)^3)^-2//3*(a+b*x)^2*SpecialFunctions.gamma(2//3,-1*(a+b*x)^3)+1//3*a*b^-2*(-1*(a+b*x)^3)^-1//3*(a+b*x)*SpecialFunctions.gamma(1//3,-1*(a+b*x)^3))
@test integrate(exp(a^3+b^3*x^3+3*a*b^2*x^2+3*b*x*a^2), x) == :(-1//3*b^-1*(-1*(a+b*x)^3)^-1//3*(a+b*x)*SpecialFunctions.gamma(1//3,-1*(a+b*x)^3))
@test integrate(exp((5+3x)^(1/2)), x) == :(-2//3*exp((5+3x)^(1/2))+2//3*(5+3x)^(1/2)*exp((5+3x)^(1/2)))
@test integrate(f^(c*(a+b*x)^-1)*x^4, x) == :(a^4*b^-5*f^(c*(a+b*x)^-1)*(a+b*x)+-1*b^-5*c^5*log(f)^5*SpecialFunctions.gamma(-5,-1*c*(a+b*x)^-1*log(f))+-2*a^3*b^-5*f^(c*(a+b*x)^-1)*(a+b*x)^2+2*a^2*b^-5*f^(c*(a+b*x)^-1)*(a+b*x)^3+-1*c*a^4*b^-5*expintegralei(c*(a+b*x)^-1*log(f))*log(f)+-1*a^2*b^-5*c^3*log(f)^3*expintegralei(c*(a+b*x)^-1*log(f))+-4*a*b^-5*c^4*log(f)^4*SpecialFunctions.gamma(-4,-1*c*(a+b*x)^-1*log(f))+2*a^3*b^-5*c^2*log(f)^2*expintegralei(c*(a+b*x)^-1*log(f))+c*a^2*b^-5*f^(c*(a+b*x)^-1)*(a+b*x)^2*log(f)+a^2*b^-5*c^2*f^(c*(a+b*x)^-1)*log(f)^2*(a+b*x)+-2*c*a^3*b^-5*f^(c*(a+b*x)^-1)*(a+b*x)*log(f))
@test integrate(f^(c*(a+b*x)^-1)*x^3, x) == :(b^-4*c^4*log(f)^4*SpecialFunctions.gamma(-4,-1*c*(a+b*x)^-1*log(f))+-1*a*b^-4*f^(c*(a+b*x)^-1)*(a+b*x)^3+-1*a^3*b^-4*f^(c*(a+b*x)^-1)*(a+b*x)+3//2*a^2*b^-4*f^(c*(a+b*x)^-1)*(a+b*x)^2+c*a^3*b^-4*expintegralei(c*(a+b*x)^-1*log(f))*log(f)+(1/2)*a*b^-4*c^3*log(f)^3*expintegralei(c*(a+b*x)^-1*log(f))+-3//2*a^2*b^-4*c^2*log(f)^2*expintegralei(c*(a+b*x)^-1*log(f))+-1//2*a*c*b^-4*f^(c*(a+b*x)^-1)*(a+b*x)^2*log(f)+-1//2*a*b^-4*c^2*f^(c*(a+b*x)^-1)*log(f)^2*(a+b*x)+3//2*c*a^2*b^-4*f^(c*(a+b*x)^-1)*(a+b*x)*log(f))
@test integrate(f^(c*(a+b*x)^-1)*x^2, x) == :(1//3*b^-3*f^(c*(a+b*x)^-1)*(a+b*x)^3+a^2*b^-3*f^(c*(a+b*x)^-1)*(a+b*x)+-1*a*b^-3*f^(c*(a+b*x)^-1)*(a+b*x)^2+-1//6*b^-3*c^3*log(f)^3*expintegralei(c*(a+b*x)^-1*log(f))+a*b^-3*c^2*log(f)^2*expintegralei(c*(a+b*x)^-1*log(f))+-1*c*a^2*b^-3*expintegralei(c*(a+b*x)^-1*log(f))*log(f)+1//6*c*b^-3*f^(c*(a+b*x)^-1)*(a+b*x)^2*log(f)+1//6*b^-3*c^2*f^(c*(a+b*x)^-1)*log(f)^2*(a+b*x)+-1*a*c*b^-3*f^(c*(a+b*x)^-1)*(a+b*x)*log(f))
@test integrate(x*f^(c*(a+b*x)^-1), x) == :((1/2)*b^-2*f^(c*(a+b*x)^-1)*(a+b*x)^2+-1*a*b^-2*f^(c*(a+b*x)^-1)*(a+b*x)+-1//2*b^-2*c^2*log(f)^2*expintegralei(c*(a+b*x)^-1*log(f))+a*c*b^-2*expintegralei(c*(a+b*x)^-1*log(f))*log(f)+(1/2)*c*b^-2*f^(c*(a+b*x)^-1)*(a+b*x)*log(f))
@test integrate(f^(c*(a+b*x)^-1), x) == :(b^-1*f^(c*(a+b*x)^-1)*(a+b*x)+-1*c*b^-1*expintegralei(c*(a+b*x)^-1*log(f))*log(f))
@test integrate(f^(c*(a+b*x)^-1)*x^-1, x) == :(-1*expintegralei(c*(a+b*x)^-1*log(f))+f^(c*a^-1)*expintegralei(-1*b*c*x*a^-1*(a+b*x)^-1*log(f)))
@test integrate(f^(c*(a+b*x)^-1)*x^-2, x) == :(-1*f^(c*(a+b*x)^-1)*x^-1+-1*b*a^-1*f^(c*(a+b*x)^-1)+-1*b*c*a^-2*f^(c*a^-1)*expintegralei(-1*b*c*x*a^-1*(a+b*x)^-1*log(f))*log(f))
@test integrate(f^(c*(a+b*x)^-1)*x^-3, x) == :(-1//2*f^(c*(a+b*x)^-1)*x^-2+(1/2)*a^-2*b^2*f^(c*(a+b*x)^-1)+(1/2)*c*a^-3*b^2*f^(c*(a+b*x)^-1)*log(f)+c*a^-3*b^2*f^(c*a^-1)*expintegralei(-1*b*c*x*a^-1*(a+b*x)^-1*log(f))*log(f)+(1/2)*b*c*a^-2*f^(c*(a+b*x)^-1)*x^-1*log(f)+(1/2)*a^-4*b^2*c^2*f^(c*a^-1)*log(f)^2*expintegralei(-1*b*c*x*a^-1*(a+b*x)^-1*log(f)))
@test integrate(f^(c*(a+b*x)^-2)*x^4, x) == :(1//5*b^-5*f^(c*(a+b*x)^-2)*(a+b*x)^5+a^4*b^-5*f^(c*(a+b*x)^-2)*(a+b*x)+-1*a*b^-5*f^(c*(a+b*x)^-2)*(a+b*x)^4+-2*a^3*b^-5*f^(c*(a+b*x)^-2)*(a+b*x)^2+2*a^2*b^-5*f^(c*(a+b*x)^-2)*(a+b*x)^3+a*b^-5*c^2*log(f)^2*expintegralei(c*(a+b*x)^-2*log(f))+2*c*a^3*b^-5*expintegralei(c*(a+b*x)^-2*log(f))*log(f)+-4//15*pi^(1/2)*b^-5*c^5//2*log(f)^5//2*erfi(c^(1/2)*(a+b*x)^-1*log(f)^(1/2))+2//15*c*b^-5*f^(c*(a+b*x)^-2)*(a+b*x)^3*log(f)+4//15*b^-5*c^2*f^(c*(a+b*x)^-2)*log(f)^2*(a+b*x)+-1*a*c*b^-5*f^(c*(a+b*x)^-2)*(a+b*x)^2*log(f)+-1*pi^(1/2)*a^4*b^-5*c^(1/2)*log(f)^(1/2)*erfi(c^(1/2)*(a+b*x)^-1*log(f)^(1/2))+-4*pi^(1/2)*a^2*b^-5*c^3//2*log(f)^3//2*erfi(c^(1/2)*(a+b*x)^-1*log(f)^(1/2))+4*c*a^2*b^-5*f^(c*(a+b*x)^-2)*(a+b*x)*log(f))
@test integrate(f^(c*(a+b*x)^-2)*x^3, x) == :(1//4*b^-4*f^(c*(a+b*x)^-2)*(a+b*x)^4+-1*a*b^-4*f^(c*(a+b*x)^-2)*(a+b*x)^3+-1*a^3*b^-4*f^(c*(a+b*x)^-2)*(a+b*x)+-1//4*b^-4*c^2*log(f)^2*expintegralei(c*(a+b*x)^-2*log(f))+3//2*a^2*b^-4*f^(c*(a+b*x)^-2)*(a+b*x)^2+-3//2*c*a^2*b^-4*expintegralei(c*(a+b*x)^-2*log(f))*log(f)+1//4*c*b^-4*f^(c*(a+b*x)^-2)*(a+b*x)^2*log(f)+pi^(1/2)*a^3*b^-4*c^(1/2)*log(f)^(1/2)*erfi(c^(1/2)*(a+b*x)^-1*log(f)^(1/2))+-2*a*c*b^-4*f^(c*(a+b*x)^-2)*(a+b*x)*log(f)+2*a*pi^(1/2)*b^-4*c^3//2*log(f)^3//2*erfi(c^(1/2)*(a+b*x)^-1*log(f)^(1/2)))
@test integrate(f^(c*(a+b*x)^-2)*x^2, x) == :(1//3*b^-3*f^(c*(a+b*x)^-2)*(a+b*x)^3+a^2*b^-3*f^(c*(a+b*x)^-2)*(a+b*x)+-1*a*b^-3*f^(c*(a+b*x)^-2)*(a+b*x)^2+a*c*b^-3*expintegralei(c*(a+b*x)^-2*log(f))*log(f)+-2//3*pi^(1/2)*b^-3*c^3//2*log(f)^3//2*erfi(c^(1/2)*(a+b*x)^-1*log(f)^(1/2))+2//3*c*b^-3*f^(c*(a+b*x)^-2)*(a+b*x)*log(f)+-1*pi^(1/2)*a^2*b^-3*c^(1/2)*log(f)^(1/2)*erfi(c^(1/2)*(a+b*x)^-1*log(f)^(1/2)))
@test integrate(x*f^(c*(a+b*x)^-2), x) == :((1/2)*b^-2*f^(c*(a+b*x)^-2)*(a+b*x)^2+-1*a*b^-2*f^(c*(a+b*x)^-2)*(a+b*x)+-1//2*c*b^-2*expintegralei(c*(a+b*x)^-2*log(f))*log(f)+a*pi^(1/2)*b^-2*c^(1/2)*log(f)^(1/2)*erfi(c^(1/2)*(a+b*x)^-1*log(f)^(1/2)))
@test integrate(f^(c*(a+b*x)^-2), x) == :(b^-1*f^(c*(a+b*x)^-2)*(a+b*x)+-1*pi^(1/2)*b^-1*c^(1/2)*log(f)^(1/2)*erfi(c^(1/2)*(a+b*x)^-1*log(f)^(1/2)))
@test integrate(f^(c*(a+b*x)^-3)*x^4, x) == :(2*a^2*b^-5*f^(c*(a+b*x)^-3)*(a+b*x)^3+1//3*b^-5*(-1*c*(a+b*x)^-3*log(f))^5//3*(a+b*x)^5*SpecialFunctions.gamma(-5//3,-1*c*(a+b*x)^-3*log(f))+-2*c*a^2*b^-5*expintegralei(c*(a+b*x)^-3*log(f))*log(f)+-4//3*a*b^-5*(-1*c*(a+b*x)^-3*log(f))^4//3*(a+b*x)^4*SpecialFunctions.gamma(-4//3,-1*c*(a+b*x)^-3*log(f))+-4//3*a^3*b^-5*(-1*c*(a+b*x)^-3*log(f))^2//3*(a+b*x)^2*SpecialFunctions.gamma(-2//3,-1*c*(a+b*x)^-3*log(f))+1//3*a^4*b^-5*(-1*c*(a+b*x)^-3*log(f))^1//3*(a+b*x)*SpecialFunctions.gamma(-1//3,-1*c*(a+b*x)^-3*log(f)))
@test integrate(f^(c*(a+b*x)^-3)*x^3, x) == :(-1*a*b^-4*f^(c*(a+b*x)^-3)*(a+b*x)^3+1//3*b^-4*(-1*c*(a+b*x)^-3*log(f))^4//3*(a+b*x)^4*SpecialFunctions.gamma(-4//3,-1*c*(a+b*x)^-3*log(f))+a*c*b^-4*expintegralei(c*(a+b*x)^-3*log(f))*log(f)+a^2*b^-4*(-1*c*(a+b*x)^-3*log(f))^2//3*(a+b*x)^2*SpecialFunctions.gamma(-2//3,-1*c*(a+b*x)^-3*log(f))+-1//3*a^3*b^-4*(-1*c*(a+b*x)^-3*log(f))^1//3*(a+b*x)*SpecialFunctions.gamma(-1//3,-1*c*(a+b*x)^-3*log(f)))
@test integrate(f^(c*(a+b*x)^-3)*x^2, x) == :(1//3*b^-3*f^(c*(a+b*x)^-3)*(a+b*x)^3+-1//3*c*b^-3*expintegralei(c*(a+b*x)^-3*log(f))*log(f)+-2//3*a*b^-3*(-1*c*(a+b*x)^-3*log(f))^2//3*(a+b*x)^2*SpecialFunctions.gamma(-2//3,-1*c*(a+b*x)^-3*log(f))+1//3*a^2*b^-3*(-1*c*(a+b*x)^-3*log(f))^1//3*(a+b*x)*SpecialFunctions.gamma(-1//3,-1*c*(a+b*x)^-3*log(f)))
@test integrate(x*f^(c*(a+b*x)^-3), x) == :(1//3*b^-2*(-1*c*(a+b*x)^-3*log(f))^2//3*(a+b*x)^2*SpecialFunctions.gamma(-2//3,-1*c*(a+b*x)^-3*log(f))+-1//3*a*b^-2*(-1*c*(a+b*x)^-3*log(f))^1//3*(a+b*x)*SpecialFunctions.gamma(-1//3,-1*c*(a+b*x)^-3*log(f)))
@test integrate(f^(c*(a+b*x)^-3), x) == :(1//3*b^-1*(-1*c*(a+b*x)^-3*log(f))^1//3*(a+b*x)*SpecialFunctions.gamma(-1//3,-1*c*(a+b*x)^-3*log(f)))
@test integrate(f^(c*(a+b*x))*x^m, x) == :(b^-1*c^-1*f^(a*c)*x^m*(-1*b*c*x*log(f))^(-1m)*log(f)^-1*SpecialFunctions.gamma(1+m,-1*b*c*x*log(f)))
@test integrate(f^(c*(a+b*x)^n)*x^3, x) == :(-1*b^-4*n^-1*(-1*c*(a+b*x)^n*log(f))^(-4*n^-1)*(a+b*x)^4*SpecialFunctions.gamma(4*n^-1,-1*c*(a+b*x)^n*log(f))+a^3*b^-4*n^-1*(-1*c*(a+b*x)^n*log(f))^(-1*n^-1)*(a+b*x)*SpecialFunctions.gamma(n^-1,-1*c*(a+b*x)^n*log(f))+-3*a^2*b^-4*n^-1*(-1*c*(a+b*x)^n*log(f))^(-2*n^-1)*(a+b*x)^2*SpecialFunctions.gamma(2*n^-1,-1*c*(a+b*x)^n*log(f))+3*a*b^-4*n^-1*(-1*c*(a+b*x)^n*log(f))^(-3*n^-1)*(a+b*x)^3*SpecialFunctions.gamma(3*n^-1,-1*c*(a+b*x)^n*log(f)))
@test integrate(f^(c*(a+b*x)^n)*x^2, x) == :(-1*b^-3*n^-1*(-1*c*(a+b*x)^n*log(f))^(-3*n^-1)*(a+b*x)^3*SpecialFunctions.gamma(3*n^-1,-1*c*(a+b*x)^n*log(f))+-1*a^2*b^-3*n^-1*(-1*c*(a+b*x)^n*log(f))^(-1*n^-1)*(a+b*x)*SpecialFunctions.gamma(n^-1,-1*c*(a+b*x)^n*log(f))+2*a*b^-3*n^-1*(-1*c*(a+b*x)^n*log(f))^(-2*n^-1)*(a+b*x)^2*SpecialFunctions.gamma(2*n^-1,-1*c*(a+b*x)^n*log(f)))
@test integrate(x*f^(c*(a+b*x)^n), x) == :(-1*b^-2*n^-1*(-1*c*(a+b*x)^n*log(f))^(-2*n^-1)*(a+b*x)^2*SpecialFunctions.gamma(2*n^-1,-1*c*(a+b*x)^n*log(f))+a*b^-2*n^-1*(-1*c*(a+b*x)^n*log(f))^(-1*n^-1)*(a+b*x)*SpecialFunctions.gamma(n^-1,-1*c*(a+b*x)^n*log(f)))
@test integrate(f^(c*(a+b*x)^n), x) == :(-1*b^-1*n^-1*(-1*c*(a+b*x)^n*log(f))^(-1*n^-1)*(a+b*x)*SpecialFunctions.gamma(n^-1,-1*c*(a+b*x)^n*log(f)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^m, x) == :(-1//2*F^a*d^-1*(-1*b*(c+d*x)^2*log(F))^(-1//2+-1//2*m)*(c+d*x)^(1+m)*SpecialFunctions.gamma(1/2+(1/2)*m,-1*b*(c+d*x)^2*log(F)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^11, x) == :(-1//2*F^(a+b*(c+d*x)^2)*b^-6*d^-1*log(F)^-6*(120+-1*b^5*(c+d*x)^10*log(F)^5+-120*b*(c+d*x)^2*log(F)+-20*b^3*(c+d*x)^6*log(F)^3+5*b^4*(c+d*x)^8*log(F)^4+60*b^2*(c+d*x)^4*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^9, x) == :((1/2)*F^(a+b*(c+d*x)^2)*b^-5*d^-1*log(F)^-5*(24+b^4*(c+d*x)^8*log(F)^4+-24*b*(c+d*x)^2*log(F)+-4*b^3*(c+d*x)^6*log(F)^3+12*b^2*(c+d*x)^4*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^7, x) == :(-3*F^(a+b*(c+d*x)^2)*b^-4*d^-1*log(F)^-4+(1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-1*(c+d*x)^6*log(F)^-1+3*F^(a+b*(c+d*x)^2)*b^-3*d^-1*(c+d*x)^2*log(F)^-3+-3//2*F^(a+b*(c+d*x)^2)*b^-2*d^-1*(c+d*x)^4*log(F)^-2)
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^5, x) == :(F^(a+b*(c+d*x)^2)*b^-3*d^-1*log(F)^-3+(1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-1*(c+d*x)^4*log(F)^-1+-1*F^(a+b*(c+d*x)^2)*b^-2*d^-1*(c+d*x)^2*log(F)^-2)
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^3, x) == :(-1//2*F^(a+b*(c+d*x)^2)*b^-2*d^-1*log(F)^-2+(1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-1*(c+d*x)^2*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x), x) == :((1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-1*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-1, x) == :((1/2)*F^a*d^-1*expintegralei(b*(c+d*x)^2*log(F)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-3, x) == :(-1//2*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-2+(1/2)*b*F^a*d^-1*expintegralei(b*(c+d*x)^2*log(F))*log(F))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-5, x) == :(-1//4*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-4+-1//4*b*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-2*log(F)+1//4*F^a*b^2*d^-1*log(F)^2*expintegralei(b*(c+d*x)^2*log(F)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-7, x) == :(-1//6*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-6+-1//12*b*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-4*log(F)+-1//12*F^(a+b*(c+d*x)^2)*b^2*d^-1*(c+d*x)^-2*log(F)^2+1//12*F^a*b^3*d^-1*log(F)^3*expintegralei(b*(c+d*x)^2*log(F)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-9, x) == :(-1//2*F^a*b^4*d^-1*log(F)^4*SpecialFunctions.gamma(-4,-1*b*(c+d*x)^2*log(F)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-11, x) == :((1/2)*F^a*b^5*d^-1*log(F)^5*SpecialFunctions.gamma(-5,-1*b*(c+d*x)^2*log(F)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^12, x) == :(-1//2*F^a*d^-1*(-1*b*(c+d*x)^2*log(F))^-13//2*(c+d*x)^13*SpecialFunctions.gamma(13//2,-1*b*(c+d*x)^2*log(F)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^10, x) == :(-1//2*F^a*d^-1*(-1*b*(c+d*x)^2*log(F))^-11//2*(c+d*x)^11*SpecialFunctions.gamma(11//2,-1*b*(c+d*x)^2*log(F)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^8, x) == :((1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-1*(c+d*x)^7*log(F)^-1+-105//16*F^(a+b*(c+d*x)^2)*b^-4*d^-1*log(F)^-4*(c+d*x)+-7//4*F^(a+b*(c+d*x)^2)*b^-2*d^-1*(c+d*x)^5*log(F)^-2+35//8*F^(a+b*(c+d*x)^2)*b^-3*d^-1*(c+d*x)^3*log(F)^-3+105//32*pi^(1/2)*F^a*b^-9//2*d^-1*log(F)^-9//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^6, x) == :((1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-1*(c+d*x)^5*log(F)^-1+-5//4*F^(a+b*(c+d*x)^2)*b^-2*d^-1*(c+d*x)^3*log(F)^-2+15//8*F^(a+b*(c+d*x)^2)*b^-3*d^-1*log(F)^-3*(c+d*x)+-15//16*pi^(1/2)*F^a*b^-7//2*d^-1*log(F)^-7//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^4, x) == :((1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-1*(c+d*x)^3*log(F)^-1+-3//4*F^(a+b*(c+d*x)^2)*b^-2*d^-1*log(F)^-2*(c+d*x)+3//8*pi^(1/2)*F^a*b^-5//2*d^-1*log(F)^-5//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^2, x) == :((1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-1*log(F)^-1*(c+d*x)+-1//4*pi^(1/2)*F^a*b^-3//2*d^-1*log(F)^-3//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2), x) == :((1/2)*pi^(1/2)*F^a*b^-1//2*d^-1*log(F)^-1//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-2, x) == :(-1*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-1+pi^(1/2)*F^a*b^(1/2)*d^-1*log(F)^(1/2)*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-4, x) == :(-1//3*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-3+-2//3*b*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-1*log(F)+2//3*pi^(1/2)*F^a*b^3//2*d^-1*log(F)^3//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-6, x) == :(-1//5*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-5+-4//15*F^(a+b*(c+d*x)^2)*b^2*d^-1*(c+d*x)^-1*log(F)^2+-2//15*b*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-3*log(F)+4//15*pi^(1/2)*F^a*b^5//2*d^-1*log(F)^5//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-8, x) == :(-1//7*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-7+-8//105*F^(a+b*(c+d*x)^2)*b^3*d^-1*(c+d*x)^-1*log(F)^3+-4//105*F^(a+b*(c+d*x)^2)*b^2*d^-1*(c+d*x)^-3*log(F)^2+-2//35*b*F^(a+b*(c+d*x)^2)*d^-1*(c+d*x)^-5*log(F)+8//105*pi^(1/2)*F^a*b^7//2*d^-1*log(F)^7//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-10, x) == :(-1//2*F^a*d^-1*(-1*b*(c+d*x)^2*log(F))^9//2*(c+d*x)^-9*SpecialFunctions.gamma(-9//2,-1*b*(c+d*x)^2*log(F)))
@test integrate(F^(a+b*(c+d*x)^2)*(c+d*x)^-12, x) == :(-1//2*F^a*d^-1*(-1*b*(c+d*x)^2*log(F))^11//2*(c+d*x)^-11*SpecialFunctions.gamma(-11//2,-1*b*(c+d*x)^2*log(F)))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^m, x) == :(-1//3*F^a*d^-1*(-1*b*(c+d*x)^3*log(F))^(-1//3+-1//3*m)*(c+d*x)^(1+m)*SpecialFunctions.gamma(1//3+1//3*m,-1*b*(c+d*x)^3*log(F)))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^17, x) == :(-1//3*F^(a+b*(c+d*x)^3)*b^-6*d^-1*log(F)^-6*(120+-1*b^5*(c+d*x)^15*log(F)^5+-120*b*(c+d*x)^3*log(F)+-20*b^3*(c+d*x)^9*log(F)^3+5*b^4*(c+d*x)^12*log(F)^4+60*b^2*(c+d*x)^6*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^14, x) == :(1//3*F^(a+b*(c+d*x)^3)*b^-5*d^-1*log(F)^-5*(24+b^4*(c+d*x)^12*log(F)^4+-24*b*(c+d*x)^3*log(F)+-4*b^3*(c+d*x)^9*log(F)^3+12*b^2*(c+d*x)^6*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^11, x) == :(-2*F^(a+b*(c+d*x)^3)*b^-4*d^-1*log(F)^-4+-1*F^(a+b*(c+d*x)^3)*b^-2*d^-1*(c+d*x)^6*log(F)^-2+2*F^(a+b*(c+d*x)^3)*b^-3*d^-1*(c+d*x)^3*log(F)^-3+1//3*F^(a+b*(c+d*x)^3)*b^-1*d^-1*(c+d*x)^9*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^8, x) == :(2//3*F^(a+b*(c+d*x)^3)*b^-3*d^-1*log(F)^-3+-2//3*F^(a+b*(c+d*x)^3)*b^-2*d^-1*(c+d*x)^3*log(F)^-2+1//3*F^(a+b*(c+d*x)^3)*b^-1*d^-1*(c+d*x)^6*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^5, x) == :(-1//3*F^(a+b*(c+d*x)^3)*b^-2*d^-1*log(F)^-2+1//3*F^(a+b*(c+d*x)^3)*b^-1*d^-1*(c+d*x)^3*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^2, x) == :(1//3*F^(a+b*(c+d*x)^3)*b^-1*d^-1*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^-1, x) == :(1//3*F^a*d^-1*expintegralei(b*(c+d*x)^3*log(F)))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^-4, x) == :(-1//3*F^(a+b*(c+d*x)^3)*d^-1*(c+d*x)^-3+1//3*b*F^a*d^-1*expintegralei(b*(c+d*x)^3*log(F))*log(F))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^-7, x) == :(-1//6*F^(a+b*(c+d*x)^3)*d^-1*(c+d*x)^-6+-1//6*b*F^(a+b*(c+d*x)^3)*d^-1*(c+d*x)^-3*log(F)+1//6*F^a*b^2*d^-1*log(F)^2*expintegralei(b*(c+d*x)^3*log(F)))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^-10, x) == :(-1//9*F^(a+b*(c+d*x)^3)*d^-1*(c+d*x)^-9+-1//18*b*F^(a+b*(c+d*x)^3)*d^-1*(c+d*x)^-6*log(F)+-1//18*F^(a+b*(c+d*x)^3)*b^2*d^-1*(c+d*x)^-3*log(F)^2+1//18*F^a*b^3*d^-1*log(F)^3*expintegralei(b*(c+d*x)^3*log(F)))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^-13, x) == :(-1//3*F^a*b^4*d^-1*log(F)^4*SpecialFunctions.gamma(-4,-1*b*(c+d*x)^3*log(F)))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^-16, x) == :(1//3*F^a*b^5*d^-1*log(F)^5*SpecialFunctions.gamma(-5,-1*b*(c+d*x)^3*log(F)))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^3, x) == :(-1//3*F^a*d^-1*(-1*b*(c+d*x)^3*log(F))^-4//3*(c+d*x)^4*SpecialFunctions.gamma(4//3,-1*b*(c+d*x)^3*log(F)))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x), x) == :(-1//3*F^a*d^-1*(-1*b*(c+d*x)^3*log(F))^-2//3*(c+d*x)^2*SpecialFunctions.gamma(2//3,-1*b*(c+d*x)^3*log(F)))
@test integrate(F^(a+b*(c+d*x)^3), x) == :(-1//3*F^a*d^-1*(-1*b*(c+d*x)^3*log(F))^-1//3*(c+d*x)*SpecialFunctions.gamma(1//3,-1*b*(c+d*x)^3*log(F)))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^-2, x) == :(-1//3*F^a*d^-1*(-1*b*(c+d*x)^3*log(F))^1//3*(c+d*x)^-1*SpecialFunctions.gamma(-1//3,-1*b*(c+d*x)^3*log(F)))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^-3, x) == :(-1//3*F^a*d^-1*(-1*b*(c+d*x)^3*log(F))^2//3*(c+d*x)^-2*SpecialFunctions.gamma(-2//3,-1*b*(c+d*x)^3*log(F)))
@test integrate(F^(a+b*(c+d*x)^3)*(c+d*x)^-5, x) == :(-1//3*F^a*d^-1*(-1*b*(c+d*x)^3*log(F))^4//3*(c+d*x)^-4*SpecialFunctions.gamma(-4//3,-1*b*(c+d*x)^3*log(F)))
@test integrate(f^(a+b*(c+d*x)^(1/2)), x) == :(-2*b^-2*d^-1*f^(a+b*(c+d*x)^(1/2))*log(f)^-2+2*b^-1*d^-1*f^(a+b*(c+d*x)^(1/2))*(c+d*x)^(1/2)*log(f)^-1)
@test integrate(f^(a+b*(c+d*x)^1//3), x) == :(6*b^-3*d^-1*f^(a+b*(c+d*x)^1//3)*log(f)^-3+-6*b^-2*d^-1*f^(a+b*(c+d*x)^1//3)*(c+d*x)^1//3*log(f)^-2+3*b^-1*d^-1*f^(a+b*(c+d*x)^1//3)*(c+d*x)^2//3*log(f)^-1)
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x)^m, x) == :(F^a*d^-1*(-1*b*(c+d*x)^-1*log(F))^(1+m)*(c+d*x)^(1+m)*SpecialFunctions.gamma(-1+-1m,-1*b*(c+d*x)^-1*log(F)))
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x)^4, x) == :(-1*F^a*b^5*d^-1*log(F)^5*SpecialFunctions.gamma(-5,-1*b*(c+d*x)^-1*log(F)))
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x)^3, x) == :(F^a*b^4*d^-1*log(F)^4*SpecialFunctions.gamma(-4,-1*b*(c+d*x)^-1*log(F)))
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x)^2, x) == :(1//3*F^(a+b*(c+d*x)^-1)*d^-1*(c+d*x)^3+-1//6*F^a*b^3*d^-1*log(F)^3*expintegralei(b*(c+d*x)^-1*log(F))+1//6*b*F^(a+b*(c+d*x)^-1)*d^-1*(c+d*x)^2*log(F)+1//6*F^(a+b*(c+d*x)^-1)*b^2*d^-1*log(F)^2*(c+d*x))
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x), x) == :((1/2)*F^(a+b*(c+d*x)^-1)*d^-1*(c+d*x)^2+(1/2)*b*F^(a+b*(c+d*x)^-1)*d^-1*(c+d*x)*log(F)+-1//2*F^a*b^2*d^-1*log(F)^2*expintegralei(b*(c+d*x)^-1*log(F)))
@test integrate(F^(a+b*(c+d*x)^-1), x) == :(F^(a+b*(c+d*x)^-1)*d^-1*(c+d*x)+-1*b*F^a*d^-1*expintegralei(b*(c+d*x)^-1*log(F))*log(F))
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x)^-1, x) == :(-1*F^a*d^-1*expintegralei(b*(c+d*x)^-1*log(F)))
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x)^-2, x) == :(-1*F^(a+b*(c+d*x)^-1)*b^-1*d^-1*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x)^-3, x) == :(F^(a+b*(c+d*x)^-1)*b^-2*d^-1*log(F)^-2+-1*F^(a+b*(c+d*x)^-1)*b^-1*d^-1*(c+d*x)^-1*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x)^-4, x) == :(-2*F^(a+b*(c+d*x)^-1)*b^-3*d^-1*log(F)^-3+-1*F^(a+b*(c+d*x)^-1)*b^-1*d^-1*(c+d*x)^-2*log(F)^-1+2*F^(a+b*(c+d*x)^-1)*b^-2*d^-1*(c+d*x)^-1*log(F)^-2)
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x)^-5, x) == :(6*F^(a+b*(c+d*x)^-1)*b^-4*d^-1*log(F)^-4+-1*F^(a+b*(c+d*x)^-1)*b^-1*d^-1*(c+d*x)^-3*log(F)^-1+-6*F^(a+b*(c+d*x)^-1)*b^-3*d^-1*(c+d*x)^-1*log(F)^-3+3*F^(a+b*(c+d*x)^-1)*b^-2*d^-1*(c+d*x)^-2*log(F)^-2)
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x)^-6, x) == :(-1*F^(a+b*(c+d*x)^-1)*b^-5*d^-1*(c+d*x)^-4*log(F)^-5*(24*(c+d*x)^4+b^4*log(F)^4+-24*b*(c+d*x)^3*log(F)+-4*b^3*log(F)^3*(c+d*x)+12*b^2*(c+d*x)^2*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^-1)*(c+d*x)^-7, x) == :(F^(a+b*(c+d*x)^-1)*b^-6*d^-1*(c+d*x)^-5*log(F)^-6*(120*(c+d*x)^5+-1*b^5*log(F)^5+-120*b*(c+d*x)^4*log(F)+-20*b^3*(c+d*x)^2*log(F)^3+5*b^4*log(F)^4*(c+d*x)+60*b^2*(c+d*x)^3*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^m, x) == :((1/2)*F^a*d^-1*(-1*b*(c+d*x)^-2*log(F))^(1/2+(1/2)*m)*(c+d*x)^(1+m)*SpecialFunctions.gamma(-1//2+-1//2*m,-1*b*(c+d*x)^-2*log(F)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^9, x) == :(-1//2*F^a*b^5*d^-1*log(F)^5*SpecialFunctions.gamma(-5,-1*b*(c+d*x)^-2*log(F)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^7, x) == :((1/2)*F^a*b^4*d^-1*log(F)^4*SpecialFunctions.gamma(-4,-1*b*(c+d*x)^-2*log(F)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^5, x) == :(1//6*F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)^6+-1//12*F^a*b^3*d^-1*log(F)^3*expintegralei(b*(c+d*x)^-2*log(F))+1//12*b*F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)^4*log(F)+1//12*F^(a+b*(c+d*x)^-2)*b^2*d^-1*(c+d*x)^2*log(F)^2)
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^3, x) == :(1//4*F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)^4+-1//4*F^a*b^2*d^-1*log(F)^2*expintegralei(b*(c+d*x)^-2*log(F))+1//4*b*F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)^2*log(F))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x), x) == :((1/2)*F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)^2+-1//2*b*F^a*d^-1*expintegralei(b*(c+d*x)^-2*log(F))*log(F))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-1, x) == :(-1//2*F^a*d^-1*expintegralei(b*(c+d*x)^-2*log(F)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-3, x) == :(-1//2*F^(a+b*(c+d*x)^-2)*b^-1*d^-1*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-5, x) == :((1/2)*F^(a+b*(c+d*x)^-2)*b^-2*d^-1*log(F)^-2+-1//2*F^(a+b*(c+d*x)^-2)*b^-1*d^-1*(c+d*x)^-2*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-7, x) == :(-1*F^(a+b*(c+d*x)^-2)*b^-3*d^-1*log(F)^-3+F^(a+b*(c+d*x)^-2)*b^-2*d^-1*(c+d*x)^-2*log(F)^-2+-1//2*F^(a+b*(c+d*x)^-2)*b^-1*d^-1*(c+d*x)^-4*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-9, x) == :(3*F^(a+b*(c+d*x)^-2)*b^-4*d^-1*log(F)^-4+-3*F^(a+b*(c+d*x)^-2)*b^-3*d^-1*(c+d*x)^-2*log(F)^-3+-1//2*F^(a+b*(c+d*x)^-2)*b^-1*d^-1*(c+d*x)^-6*log(F)^-1+3//2*F^(a+b*(c+d*x)^-2)*b^-2*d^-1*(c+d*x)^-4*log(F)^-2)
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-11, x) == :(-1//2*F^(a+b*(c+d*x)^-2)*b^-5*d^-1*(c+d*x)^-8*log(F)^-5*(24*(c+d*x)^8+b^4*log(F)^4+-24*b*(c+d*x)^6*log(F)+-4*b^3*(c+d*x)^2*log(F)^3+12*b^2*(c+d*x)^4*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-13, x) == :((1/2)*F^(a+b*(c+d*x)^-2)*b^-6*d^-1*(c+d*x)^-10*log(F)^-6*(120*(c+d*x)^10+-1*b^5*log(F)^5+-120*b*(c+d*x)^8*log(F)+-20*b^3*(c+d*x)^4*log(F)^3+5*b^4*(c+d*x)^2*log(F)^4+60*b^2*(c+d*x)^6*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^10, x) == :((1/2)*F^a*d^-1*(-1*b*(c+d*x)^-2*log(F))^11//2*(c+d*x)^11*SpecialFunctions.gamma(-11//2,-1*b*(c+d*x)^-2*log(F)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^8, x) == :((1/2)*F^a*d^-1*(-1*b*(c+d*x)^-2*log(F))^9//2*(c+d*x)^9*SpecialFunctions.gamma(-9//2,-1*b*(c+d*x)^-2*log(F)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^6, x) == :(1//7*F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)^7+2//35*b*F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)^5*log(F)+4//105*F^(a+b*(c+d*x)^-2)*b^2*d^-1*(c+d*x)^3*log(F)^2+8//105*F^(a+b*(c+d*x)^-2)*b^3*d^-1*log(F)^3*(c+d*x)+-8//105*pi^(1/2)*F^a*b^7//2*d^-1*log(F)^7//2*erfi(b^(1/2)*(c+d*x)^-1*log(F)^(1/2)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^4, x) == :(1//5*F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)^5+2//15*b*F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)^3*log(F)+4//15*F^(a+b*(c+d*x)^-2)*b^2*d^-1*log(F)^2*(c+d*x)+-4//15*pi^(1/2)*F^a*b^5//2*d^-1*log(F)^5//2*erfi(b^(1/2)*(c+d*x)^-1*log(F)^(1/2)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^2, x) == :(1//3*F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)^3+2//3*b*F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)*log(F)+-2//3*pi^(1/2)*F^a*b^3//2*d^-1*log(F)^3//2*erfi(b^(1/2)*(c+d*x)^-1*log(F)^(1/2)))
@test integrate(F^(a+b*(c+d*x)^-2), x) == :(F^(a+b*(c+d*x)^-2)*d^-1*(c+d*x)+-1*pi^(1/2)*F^a*b^(1/2)*d^-1*log(F)^(1/2)*erfi(b^(1/2)*(c+d*x)^-1*log(F)^(1/2)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-2, x) == :(-1//2*pi^(1/2)*F^a*b^-1//2*d^-1*log(F)^-1//2*erfi(b^(1/2)*(c+d*x)^-1*log(F)^(1/2)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-4, x) == :(-1//2*F^(a+b*(c+d*x)^-2)*b^-1*d^-1*(c+d*x)^-1*log(F)^-1+1//4*pi^(1/2)*F^a*b^-3//2*d^-1*log(F)^-3//2*erfi(b^(1/2)*(c+d*x)^-1*log(F)^(1/2)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-6, x) == :(-1//2*F^(a+b*(c+d*x)^-2)*b^-1*d^-1*(c+d*x)^-3*log(F)^-1+3//4*F^(a+b*(c+d*x)^-2)*b^-2*d^-1*(c+d*x)^-1*log(F)^-2+-3//8*pi^(1/2)*F^a*b^-5//2*d^-1*log(F)^-5//2*erfi(b^(1/2)*(c+d*x)^-1*log(F)^(1/2)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-8, x) == :(-15//8*F^(a+b*(c+d*x)^-2)*b^-3*d^-1*(c+d*x)^-1*log(F)^-3+-1//2*F^(a+b*(c+d*x)^-2)*b^-1*d^-1*(c+d*x)^-5*log(F)^-1+5//4*F^(a+b*(c+d*x)^-2)*b^-2*d^-1*(c+d*x)^-3*log(F)^-2+15//16*pi^(1/2)*F^a*b^-7//2*d^-1*log(F)^-7//2*erfi(b^(1/2)*(c+d*x)^-1*log(F)^(1/2)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-10, x) == :(-35//8*F^(a+b*(c+d*x)^-2)*b^-3*d^-1*(c+d*x)^-3*log(F)^-3+-1//2*F^(a+b*(c+d*x)^-2)*b^-1*d^-1*(c+d*x)^-7*log(F)^-1+7//4*F^(a+b*(c+d*x)^-2)*b^-2*d^-1*(c+d*x)^-5*log(F)^-2+105//16*F^(a+b*(c+d*x)^-2)*b^-4*d^-1*(c+d*x)^-1*log(F)^-4+-105//32*pi^(1/2)*F^a*b^-9//2*d^-1*log(F)^-9//2*erfi(b^(1/2)*(c+d*x)^-1*log(F)^(1/2)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-12, x) == :((1/2)*F^a*d^-1*(-1*b*(c+d*x)^-2*log(F))^-11//2*(c+d*x)^-11*SpecialFunctions.gamma(11//2,-1*b*(c+d*x)^-2*log(F)))
@test integrate(F^(a+b*(c+d*x)^-2)*(c+d*x)^-14, x) == :((1/2)*F^a*d^-1*(-1*b*(c+d*x)^-2*log(F))^-13//2*(c+d*x)^-13*SpecialFunctions.gamma(13//2,-1*b*(c+d*x)^-2*log(F)))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^m, x) == :(1//3*F^a*d^-1*(-1*b*(c+d*x)^-3*log(F))^(1//3+1//3*m)*(c+d*x)^(1+m)*SpecialFunctions.gamma(-1//3+-1//3*m,-1*b*(c+d*x)^-3*log(F)))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^14, x) == :(-1//3*F^a*b^5*d^-1*log(F)^5*SpecialFunctions.gamma(-5,-1*b*(c+d*x)^-3*log(F)))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^11, x) == :(1//3*F^a*b^4*d^-1*log(F)^4*SpecialFunctions.gamma(-4,-1*b*(c+d*x)^-3*log(F)))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^8, x) == :(1//9*F^(a+b*(c+d*x)^-3)*d^-1*(c+d*x)^9+-1//18*F^a*b^3*d^-1*log(F)^3*expintegralei(b*(c+d*x)^-3*log(F))+1//18*b*F^(a+b*(c+d*x)^-3)*d^-1*(c+d*x)^6*log(F)+1//18*F^(a+b*(c+d*x)^-3)*b^2*d^-1*(c+d*x)^3*log(F)^2)
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^5, x) == :(1//6*F^(a+b*(c+d*x)^-3)*d^-1*(c+d*x)^6+-1//6*F^a*b^2*d^-1*log(F)^2*expintegralei(b*(c+d*x)^-3*log(F))+1//6*b*F^(a+b*(c+d*x)^-3)*d^-1*(c+d*x)^3*log(F))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^2, x) == :(1//3*F^(a+b*(c+d*x)^-3)*d^-1*(c+d*x)^3+-1//3*b*F^a*d^-1*expintegralei(b*(c+d*x)^-3*log(F))*log(F))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^-1, x) == :(-1//3*F^a*d^-1*expintegralei(b*(c+d*x)^-3*log(F)))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^-4, x) == :(-1//3*F^(a+b*(c+d*x)^-3)*b^-1*d^-1*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^-7, x) == :(1//3*F^(a+b*(c+d*x)^-3)*b^-2*d^-1*log(F)^-2+-1//3*F^(a+b*(c+d*x)^-3)*b^-1*d^-1*(c+d*x)^-3*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^-10, x) == :(-2//3*F^(a+b*(c+d*x)^-3)*b^-3*d^-1*log(F)^-3+-1//3*F^(a+b*(c+d*x)^-3)*b^-1*d^-1*(c+d*x)^-6*log(F)^-1+2//3*F^(a+b*(c+d*x)^-3)*b^-2*d^-1*(c+d*x)^-3*log(F)^-2)
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^-13, x) == :(2*F^(a+b*(c+d*x)^-3)*b^-4*d^-1*log(F)^-4+F^(a+b*(c+d*x)^-3)*b^-2*d^-1*(c+d*x)^-6*log(F)^-2+-2*F^(a+b*(c+d*x)^-3)*b^-3*d^-1*(c+d*x)^-3*log(F)^-3+-1//3*F^(a+b*(c+d*x)^-3)*b^-1*d^-1*(c+d*x)^-9*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^-16, x) == :(-1//3*F^(a+b*(c+d*x)^-3)*b^-5*d^-1*(c+d*x)^-12*log(F)^-5*(24*(c+d*x)^12+b^4*log(F)^4+-24*b*(c+d*x)^9*log(F)+-4*b^3*(c+d*x)^3*log(F)^3+12*b^2*(c+d*x)^6*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^-19, x) == :(1//3*F^(a+b*(c+d*x)^-3)*b^-6*d^-1*(c+d*x)^-15*log(F)^-6*(120*(c+d*x)^15+-1*b^5*log(F)^5+-120*b*(c+d*x)^12*log(F)+-20*b^3*(c+d*x)^6*log(F)^3+5*b^4*(c+d*x)^3*log(F)^4+60*b^2*(c+d*x)^9*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^3, x) == :(1//3*F^a*d^-1*(-1*b*(c+d*x)^-3*log(F))^4//3*(c+d*x)^4*SpecialFunctions.gamma(-4//3,-1*b*(c+d*x)^-3*log(F)))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x), x) == :(1//3*F^a*d^-1*(-1*b*(c+d*x)^-3*log(F))^2//3*(c+d*x)^2*SpecialFunctions.gamma(-2//3,-1*b*(c+d*x)^-3*log(F)))
@test integrate(F^(a+b*(c+d*x)^-3), x) == :(1//3*F^a*d^-1*(-1*b*(c+d*x)^-3*log(F))^1//3*(c+d*x)*SpecialFunctions.gamma(-1//3,-1*b*(c+d*x)^-3*log(F)))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^-2, x) == :(1//3*F^a*d^-1*(-1*b*(c+d*x)^-3*log(F))^-1//3*(c+d*x)^-1*SpecialFunctions.gamma(1//3,-1*b*(c+d*x)^-3*log(F)))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^-3, x) == :(1//3*F^a*d^-1*(-1*b*(c+d*x)^-3*log(F))^-2//3*(c+d*x)^-2*SpecialFunctions.gamma(2//3,-1*b*(c+d*x)^-3*log(F)))
@test integrate(F^(a+b*(c+d*x)^-3)*(c+d*x)^-5, x) == :(1//3*F^a*d^-1*(-1*b*(c+d*x)^-3*log(F))^-4//3*(c+d*x)^-4*SpecialFunctions.gamma(4//3,-1*b*(c+d*x)^-3*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^m, x) == :(-1*F^a*d^-1*n^-1*(-1*b*(c+d*x)^n*log(F))^(-1*n^-1*(1+m))*(c+d*x)^(1+m)*SpecialFunctions.gamma(n^-1*(1+m),-1*b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^3, x) == :(-1*F^a*d^-1*n^-1*(-1*b*(c+d*x)^n*log(F))^(-4*n^-1)*(c+d*x)^4*SpecialFunctions.gamma(4*n^-1,-1*b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^2, x) == :(-1*F^a*d^-1*n^-1*(-1*b*(c+d*x)^n*log(F))^(-3*n^-1)*(c+d*x)^3*SpecialFunctions.gamma(3*n^-1,-1*b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x), x) == :(-1*F^a*d^-1*n^-1*(-1*b*(c+d*x)^n*log(F))^(-2*n^-1)*(c+d*x)^2*SpecialFunctions.gamma(2*n^-1,-1*b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n), x) == :(-1*F^a*d^-1*n^-1*(-1*b*(c+d*x)^n*log(F))^(-1*n^-1)*(c+d*x)*SpecialFunctions.gamma(n^-1,-1*b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^-1, x) == :(F^a*d^-1*n^-1*expintegralei(b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^-2, x) == :(-1*F^a*d^-1*n^-1*(-1*b*(c+d*x)^n*log(F))^(n^-1)*(c+d*x)^-1*SpecialFunctions.gamma(-1*n^-1,-1*b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^-3, x) == :(-1*F^a*d^-1*n^-1*(-1*b*(c+d*x)^n*log(F))^(2*n^-1)*(c+d*x)^-2*SpecialFunctions.gamma(-2*n^-1,-1*b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^-4, x) == :(-1*F^a*d^-1*n^-1*(-1*b*(c+d*x)^n*log(F))^(3*n^-1)*(c+d*x)^-3*SpecialFunctions.gamma(-3*n^-1,-1*b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^(-1+6n), x) == :(-1*F^(a+b*(c+d*x)^n)*b^-6*d^-1*n^-1*log(F)^-6*(120+-1*b^5*(c+d*x)^(5n)*log(F)^5+-120*b*(c+d*x)^n*log(F)+-20*b^3*(c+d*x)^(3n)*log(F)^3+5*b^4*(c+d*x)^(4n)*log(F)^4+60*b^2*(c+d*x)^(2n)*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^(-1+5n), x) == :(F^(a+b*(c+d*x)^n)*b^-5*d^-1*n^-1*log(F)^-5*(24+b^4*(c+d*x)^(4n)*log(F)^4+-24*b*(c+d*x)^n*log(F)+-4*b^3*(c+d*x)^(3n)*log(F)^3+12*b^2*(c+d*x)^(2n)*log(F)^2))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^(-1+4n), x) == :(-6*F^(a+b*(c+d*x)^n)*b^-4*d^-1*n^-1*log(F)^-4+F^(a+b*(c+d*x)^n)*b^-1*d^-1*n^-1*(c+d*x)^(3n)*log(F)^-1+-3*F^(a+b*(c+d*x)^n)*b^-2*d^-1*n^-1*(c+d*x)^(2n)*log(F)^-2+6*F^(a+b*(c+d*x)^n)*b^-3*d^-1*n^-1*(c+d*x)^n*log(F)^-3)
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^(-1+3n), x) == :(2*F^(a+b*(c+d*x)^n)*b^-3*d^-1*n^-1*log(F)^-3+F^(a+b*(c+d*x)^n)*b^-1*d^-1*n^-1*(c+d*x)^(2n)*log(F)^-1+-2*F^(a+b*(c+d*x)^n)*b^-2*d^-1*n^-1*(c+d*x)^n*log(F)^-2)
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^(-1+2n), x) == :(-1*F^(a+b*(c+d*x)^n)*b^-2*d^-1*n^-1*log(F)^-2+F^(a+b*(c+d*x)^n)*b^-1*d^-1*n^-1*(c+d*x)^n*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^(-1+n), x) == :(F^(a+b*(c+d*x)^n)*b^-1*d^-1*n^-1*log(F)^-1)
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^-1, x) == :(F^a*d^-1*n^-1*expintegralei(b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^(-1+-1n), x) == :(-1*F^(a+b*(c+d*x)^n)*d^-1*n^-1*(c+d*x)^(-1n)+b*F^a*d^-1*n^-1*expintegralei(b*(c+d*x)^n*log(F))*log(F))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^(-1+-2n), x) == :(-1//2*F^(a+b*(c+d*x)^n)*d^-1*n^-1*(c+d*x)^(-2n)+(1/2)*F^a*b^2*d^-1*n^-1*log(F)^2*expintegralei(b*(c+d*x)^n*log(F))+-1//2*b*F^(a+b*(c+d*x)^n)*d^-1*n^-1*(c+d*x)^(-1n)*log(F))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^(-1+-3n), x) == :(-1//3*F^(a+b*(c+d*x)^n)*d^-1*n^-1*(c+d*x)^(-3n)+-1//6*b*F^(a+b*(c+d*x)^n)*d^-1*n^-1*(c+d*x)^(-2n)*log(F)+-1//6*F^(a+b*(c+d*x)^n)*b^2*d^-1*n^-1*(c+d*x)^(-1n)*log(F)^2+1//6*F^a*b^3*d^-1*n^-1*log(F)^3*expintegralei(b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^(-1+-4n), x) == :(-1*F^a*b^4*d^-1*n^-1*log(F)^4*SpecialFunctions.gamma(-4,-1*b*(c+d*x)^n*log(F)))
@test integrate(F^(a+b*(c+d*x)^n)*(c+d*x)^(-1+-5n), x) == :(F^a*b^5*d^-1*n^-1*log(F)^5*SpecialFunctions.gamma(-5,-1*b*(c+d*x)^n*log(F)))
@test integrate(F^(c*(a+b*x)^n)*(a+b*x)^(-1+(1/2)*n), x) == :(pi^(1/2)*b^-1*c^-1//2*n^-1*log(F)^-1//2*erfi(c^(1/2)*(a+b*x)^((1/2)*n)*log(F)^(1/2)))
@test integrate(F^(-1*c*(a+b*x)^n)*(a+b*x)^(-1+(1/2)*n), x) == :(pi^(1/2)*b^-1*c^-1//2*n^-1*log(F)^-1//2*erf(c^(1/2)*(a+b*x)^((1/2)*n)*log(F)^(1/2)))
@test integrate(F^(a+b*(c+d*x)^2)*(e+f*x)^5, x) == :(F^(a+b*(c+d*x)^2)*b^-3*d^-6*f^5*log(F)^-3+(1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-6*f^5*(c+d*x)^4*log(F)^-1+-1*F^(a+b*(c+d*x)^2)*b^-2*d^-6*f^5*(c+d*x)^2*log(F)^-2+-5*F^(a+b*(c+d*x)^2)*b^-2*d^-6*f^3*(d*e+-1*c*f)^2*log(F)^-2+5//2*f*F^(a+b*(c+d*x)^2)*b^-1*d^-6*(d*e+-1*c*f)^4*log(F)^-1+(1/2)*pi^(1/2)*F^a*b^-1//2*d^-6*(d*e+-1*c*f)^5*log(F)^-1//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x))+5*F^(a+b*(c+d*x)^2)*b^-1*d^-6*f^2*(d*e+-1*c*f)^3*log(F)^-1*(c+d*x)+5*F^(a+b*(c+d*x)^2)*b^-1*d^-6*f^3*(c+d*x)^2*(d*e+-1*c*f)^2*log(F)^-1+-15//4*F^(a+b*(c+d*x)^2)*b^-2*d^-6*f^4*log(F)^-2*(c+d*x)*(d*e+-1*c*f)+5//2*F^(a+b*(c+d*x)^2)*b^-1*d^-6*f^4*(c+d*x)^3*log(F)^-1*(d*e+-1*c*f)+-5//2*pi^(1/2)*F^a*b^-3//2*d^-6*f^2*(d*e+-1*c*f)^3*log(F)^-3//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x))+15//8*pi^(1/2)*F^a*b^-5//2*d^-6*f^4*log(F)^-5//2*(d*e+-1*c*f)*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(e+f*x)^4, x) == :((1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-5*f^4*(c+d*x)^3*log(F)^-1+-2*F^(a+b*(c+d*x)^2)*b^-2*d^-5*f^3*log(F)^-2*(d*e+-1*c*f)+2*f*F^(a+b*(c+d*x)^2)*b^-1*d^-5*(d*e+-1*c*f)^3*log(F)^-1+-3//4*F^(a+b*(c+d*x)^2)*b^-2*d^-5*f^4*log(F)^-2*(c+d*x)+(1/2)*pi^(1/2)*F^a*b^-1//2*d^-5*(d*e+-1*c*f)^4*log(F)^-1//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x))+2*F^(a+b*(c+d*x)^2)*b^-1*d^-5*f^3*(c+d*x)^2*log(F)^-1*(d*e+-1*c*f)+3*F^(a+b*(c+d*x)^2)*b^-1*d^-5*f^2*(d*e+-1*c*f)^2*log(F)^-1*(c+d*x)+3//8*pi^(1/2)*F^a*b^-5//2*d^-5*f^4*log(F)^-5//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x))+-3//2*pi^(1/2)*F^a*b^-3//2*d^-5*f^2*(d*e+-1*c*f)^2*log(F)^-3//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(e+f*x)^3, x) == :(-1//2*F^(a+b*(c+d*x)^2)*b^-2*d^-4*f^3*log(F)^-2+(1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-4*f^3*(c+d*x)^2*log(F)^-1+3//2*f*F^(a+b*(c+d*x)^2)*b^-1*d^-4*(d*e+-1*c*f)^2*log(F)^-1+(1/2)*pi^(1/2)*F^a*b^-1//2*d^-4*(d*e+-1*c*f)^3*log(F)^-1//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x))+3//2*F^(a+b*(c+d*x)^2)*b^-1*d^-4*f^2*log(F)^-1*(c+d*x)*(d*e+-1*c*f)+-3//4*pi^(1/2)*F^a*b^-3//2*d^-4*f^2*log(F)^-3//2*(d*e+-1*c*f)*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(e+f*x)^2, x) == :(f*F^(a+b*(c+d*x)^2)*b^-1*d^-3*log(F)^-1*(d*e+-1*c*f)+(1/2)*F^(a+b*(c+d*x)^2)*b^-1*d^-3*f^2*log(F)^-1*(c+d*x)+(1/2)*pi^(1/2)*F^a*b^-1//2*d^-3*(d*e+-1*c*f)^2*log(F)^-1//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x))+-1//4*pi^(1/2)*F^a*b^-3//2*d^-3*f^2*log(F)^-3//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2)*(e+f*x), x) == :((1/2)*f*F^(a+b*(c+d*x)^2)*b^-1*d^-2*log(F)^-1+(1/2)*pi^(1/2)*F^a*b^-1//2*d^-2*log(F)^-1//2*(d*e+-1*c*f)*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate(F^(a+b*(c+d*x)^2), x) == :((1/2)*pi^(1/2)*F^a*b^-1//2*d^-1*log(F)^-1//2*erfi(b^(1/2)*log(F)^(1/2)*(c+d*x)))
@test integrate((a+b*x)^3*exp(e*(c+d*x)^3), x) == :(-1*b^2*d^-4*e^-1*(b*c+-1*a*d)*exp(e*(c+d*x)^3)+-1//3*b^3*d^-4*(-1*e*(c+d*x)^3)^-4//3*(c+d*x)^4*SpecialFunctions.gamma(4//3,-1*e*(c+d*x)^3)+1//3*d^-4*(-1*e*(c+d*x)^3)^-1//3*(b*c+-1*a*d)^3*(c+d*x)*SpecialFunctions.gamma(1//3,-1*e*(c+d*x)^3)+-1*b*d^-4*(-1*e*(c+d*x)^3)^-2//3*(c+d*x)^2*(b*c+-1*a*d)^2*SpecialFunctions.gamma(2//3,-1*e*(c+d*x)^3))
@test integrate((a+b*x)^2*exp(e*(c+d*x)^3), x) == :(1//3*b^2*d^-3*e^-1*exp(e*(c+d*x)^3)+-1//3*d^-3*(-1*e*(c+d*x)^3)^-1//3*(b*c+-1*a*d)^2*(c+d*x)*SpecialFunctions.gamma(1//3,-1*e*(c+d*x)^3)+2//3*b*d^-3*(-1*e*(c+d*x)^3)^-2//3*(c+d*x)^2*(b*c+-1*a*d)*SpecialFunctions.gamma(2//3,-1*e*(c+d*x)^3))
@test integrate((a+b*x)*exp(e*(c+d*x)^3), x) == :(-1//3*b*d^-2*(-1*e*(c+d*x)^3)^-2//3*(c+d*x)^2*SpecialFunctions.gamma(2//3,-1*e*(c+d*x)^3)+1//3*d^-2*(-1*e*(c+d*x)^3)^-1//3*(c+d*x)*(b*c+-1*a*d)*SpecialFunctions.gamma(1//3,-1*e*(c+d*x)^3))
@test integrate(exp(e*(c+d*x)^3), x) == :(-1//3*d^-1*(-1*e*(c+d*x)^3)^-1//3*(c+d*x)*SpecialFunctions.gamma(1//3,-1*e*(c+d*x)^3))
@test integrate(F^(a+b*(c+d*x)^-1)*(e+f*x)^-1, x) == :(F^(a+-1*b*f*(d*e+-1*c*f)^-1)*f^-1*expintegralei(b*d*(c+d*x)^-1*(d*e+-1*c*f)^-1*(e+f*x)*log(F))+-1*F^a*f^-1*expintegralei(b*(c+d*x)^-1*log(F)))
@test integrate(F^(a+b*(c+d*x)^-1)*(e+f*x)^-2, x) == :(-1*F^(a+b*(c+d*x)^-1)*f^-1*(e+f*x)^-1+d*F^(a+b*(c+d*x)^-1)*f^-1*(d*e+-1*c*f)^-1+-1*b*d*F^(a+-1*b*f*(d*e+-1*c*f)^-1)*(d*e+-1*c*f)^-2*expintegralei(b*d*(c+d*x)^-1*(d*e+-1*c*f)^-1*(e+f*x)*log(F))*log(F))
@test integrate(F^(a+b*(c+d*x)^-1)*(e+f*x)^-3, x) == :(-1//2*F^(a+b*(c+d*x)^-1)*f^-1*(e+f*x)^-2+(1/2)*F^(a+b*(c+d*x)^-1)*d^2*f^-1*(d*e+-1*c*f)^-2+-1//2*b*F^(a+b*(c+d*x)^-1)*d^2*(d*e+-1*c*f)^-3*log(F)+(1/2)*b*d*F^(a+b*(c+d*x)^-1)*(e+f*x)^-1*(d*e+-1*c*f)^-2*log(F)+-1*b*F^(a+-1*b*f*(d*e+-1*c*f)^-1)*d^2*(d*e+-1*c*f)^-3*expintegralei(b*d*(c+d*x)^-1*(d*e+-1*c*f)^-1*(e+f*x)*log(F))*log(F)+(1/2)*f*F^(a+-1*b*f*(d*e+-1*c*f)^-1)*b^2*d^2*(d*e+-1*c*f)^-4*log(F)^2*expintegralei(b*d*(c+d*x)^-1*(d*e+-1*c*f)^-1*(e+f*x)*log(F)))
@test integrate(F^(a+b*(c+d*x)^-1)*(e+f*x)^-4, x) == :(-1//3*F^(a+b*(c+d*x)^-1)*f^-1*(e+f*x)^-3+1//3*F^(a+b*(c+d*x)^-1)*d^3*f^-1*(d*e+-1*c*f)^-3+-5//6*b*F^(a+b*(c+d*x)^-1)*d^3*(d*e+-1*c*f)^-4*log(F)+-1*b*F^(a+-1*b*f*(d*e+-1*c*f)^-1)*d^3*(d*e+-1*c*f)^-4*expintegralei(b*d*(c+d*x)^-1*(d*e+-1*c*f)^-1*(e+f*x)*log(F))*log(F)+1//6*b*d*F^(a+b*(c+d*x)^-1)*(e+f*x)^-2*(d*e+-1*c*f)^-2*log(F)+1//6*f*F^(a+b*(c+d*x)^-1)*b^2*d^3*(d*e+-1*c*f)^-5*log(F)^2+2//3*b*F^(a+b*(c+d*x)^-1)*d^2*(e+f*x)^-1*(d*e+-1*c*f)^-3*log(F)+f*F^(a+-1*b*f*(d*e+-1*c*f)^-1)*b^2*d^3*(d*e+-1*c*f)^-5*log(F)^2*expintegralei(b*d*(c+d*x)^-1*(d*e+-1*c*f)^-1*(e+f*x)*log(F))+-1//6*f*F^(a+b*(c+d*x)^-1)*b^2*d^2*(e+f*x)^-1*(d*e+-1*c*f)^-4*log(F)^2+-1//6*F^(a+-1*b*f*(d*e+-1*c*f)^-1)*b^3*d^3*f^2*(d*e+-1*c*f)^-6*log(F)^3*expintegralei(b*d*(c+d*x)^-1*(d*e+-1*c*f)^-1*(e+f*x)*log(F)))
@test integrate((a+b*x)^4*exp(e*(c+d*x)^-1), x) == :(d^-5*(b*c+-1*a*d)^4*(c+d*x)*exp(e*(c+d*x)^-1)+-1*e*d^-5*(b*c+-1*a*d)^4*expintegralei(e*(c+d*x)^-1)+-1*b^4*d^-5*e^5*SpecialFunctions.gamma(-5,-1*e*(c+d*x)^-1)+-1*b^2*d^-5*e^3*(b*c+-1*a*d)^2*expintegralei(e*(c+d*x)^-1)+-4*b^3*d^-5*e^4*(b*c+-1*a*d)*SpecialFunctions.gamma(-4,-1*e*(c+d*x)^-1)+-2*b*d^-5*(c+d*x)^2*(b*c+-1*a*d)^3*exp(e*(c+d*x)^-1)+2*b*d^-5*e^2*(b*c+-1*a*d)^3*expintegralei(e*(c+d*x)^-1)+2*b^2*d^-5*(c+d*x)^3*(b*c+-1*a*d)^2*exp(e*(c+d*x)^-1)+e*b^2*d^-5*(c+d*x)^2*(b*c+-1*a*d)^2*exp(e*(c+d*x)^-1)+b^2*d^-5*e^2*(b*c+-1*a*d)^2*(c+d*x)*exp(e*(c+d*x)^-1)+-2*b*e*d^-5*(b*c+-1*a*d)^3*(c+d*x)*exp(e*(c+d*x)^-1))
@test integrate((a+b*x)^3*exp(e*(c+d*x)^-1), x) == :(e*d^-4*(b*c+-1*a*d)^3*expintegralei(e*(c+d*x)^-1)+b^3*d^-4*e^4*SpecialFunctions.gamma(-4,-1*e*(c+d*x)^-1)+-1*d^-4*(b*c+-1*a*d)^3*(c+d*x)*exp(e*(c+d*x)^-1)+(1/2)*b^2*d^-4*e^3*(b*c+-1*a*d)*expintegralei(e*(c+d*x)^-1)+-1*b^2*d^-4*(c+d*x)^3*(b*c+-1*a*d)*exp(e*(c+d*x)^-1)+-3//2*b*d^-4*e^2*(b*c+-1*a*d)^2*expintegralei(e*(c+d*x)^-1)+3//2*b*d^-4*(c+d*x)^2*(b*c+-1*a*d)^2*exp(e*(c+d*x)^-1)+-1//2*e*b^2*d^-4*(c+d*x)^2*(b*c+-1*a*d)*exp(e*(c+d*x)^-1)+-1//2*b^2*d^-4*e^2*(c+d*x)*(b*c+-1*a*d)*exp(e*(c+d*x)^-1)+3//2*b*e*d^-4*(b*c+-1*a*d)^2*(c+d*x)*exp(e*(c+d*x)^-1))
@test integrate((a+b*x)^2*exp(e*(c+d*x)^-1), x) == :(d^-3*(b*c+-1*a*d)^2*(c+d*x)*exp(e*(c+d*x)^-1)+-1*e*d^-3*(b*c+-1*a*d)^2*expintegralei(e*(c+d*x)^-1)+-1//6*b^2*d^-3*e^3*expintegralei(e*(c+d*x)^-1)+1//3*b^2*d^-3*(c+d*x)^3*exp(e*(c+d*x)^-1)+b*d^-3*e^2*(b*c+-1*a*d)*expintegralei(e*(c+d*x)^-1)+-1*b*d^-3*(c+d*x)^2*(b*c+-1*a*d)*exp(e*(c+d*x)^-1)+1//6*e*b^2*d^-3*(c+d*x)^2*exp(e*(c+d*x)^-1)+1//6*b^2*d^-3*e^2*(c+d*x)*exp(e*(c+d*x)^-1)+-1*b*e*d^-3*(c+d*x)*(b*c+-1*a*d)*exp(e*(c+d*x)^-1))
@test integrate((a+b*x)*exp(e*(c+d*x)^-1), x) == :(e*d^-2*(b*c+-1*a*d)*expintegralei(e*(c+d*x)^-1)+(1/2)*b*d^-2*(c+d*x)^2*exp(e*(c+d*x)^-1)+-1*d^-2*(c+d*x)*(b*c+-1*a*d)*exp(e*(c+d*x)^-1)+-1//2*b*d^-2*e^2*expintegralei(e*(c+d*x)^-1)+(1/2)*b*e*d^-2*(c+d*x)*exp(e*(c+d*x)^-1))
@test integrate(exp(e*(c+d*x)^-1), x) == :(d^-1*(c+d*x)*exp(e*(c+d*x)^-1)+-1*e*d^-1*expintegralei(e*(c+d*x)^-1))
@test integrate((a+b*x)^-1*exp(e*(c+d*x)^-1), x) == :(-1*b^-1*expintegralei(e*(c+d*x)^-1)+b^-1*exp(b*e*(b*c+-1*a*d)^-1)*expintegralei(-1*d*e*(c+d*x)^-1*(b*c+-1*a*d)^-1*(a+b*x)))
@test integrate((a+b*x)^-2*exp(e*(c+d*x)^-1), x) == :(-1*b^-1*(a+b*x)^-1*exp(e*(c+d*x)^-1)+-1*d*b^-1*(b*c+-1*a*d)^-1*exp(e*(c+d*x)^-1)+-1*d*e*(b*c+-1*a*d)^-2*exp(b*e*(b*c+-1*a*d)^-1)*expintegralei(-1*d*e*(c+d*x)^-1*(b*c+-1*a*d)^-1*(a+b*x)))
@test integrate((a+b*x)^-3*exp(e*(c+d*x)^-1), x) == :(-1//2*b^-1*(a+b*x)^-2*exp(e*(c+d*x)^-1)+(1/2)*e*d^2*(b*c+-1*a*d)^-3*exp(e*(c+d*x)^-1)+(1/2)*b^-1*d^2*(b*c+-1*a*d)^-2*exp(e*(c+d*x)^-1)+e*d^2*(b*c+-1*a*d)^-3*exp(b*e*(b*c+-1*a*d)^-1)*expintegralei(-1*d*e*(c+d*x)^-1*(b*c+-1*a*d)^-1*(a+b*x))+(1/2)*d*e*(a+b*x)^-1*(b*c+-1*a*d)^-2*exp(e*(c+d*x)^-1)+(1/2)*b*d^2*e^2*(b*c+-1*a*d)^-4*exp(b*e*(b*c+-1*a*d)^-1)*expintegralei(-1*d*e*(c+d*x)^-1*(b*c+-1*a*d)^-1*(a+b*x)))
@test integrate((a+b*x)^3*exp(e*(c+d*x)^-2), x) == :(-1*d^-4*(b*c+-1*a*d)^3*(c+d*x)*exp(e*(c+d*x)^-2)+-1//4*b^3*d^-4*e^2*expintegralei(e*(c+d*x)^-2)+1//4*b^3*d^-4*(c+d*x)^4*exp(e*(c+d*x)^-2)+pi^(1/2)*d^-4*e^(1/2)*(b*c+-1*a*d)^3*erfi(e^(1/2)*(c+d*x)^-1)+-1*b^2*d^-4*(c+d*x)^3*(b*c+-1*a*d)*exp(e*(c+d*x)^-2)+-3//2*b*e*d^-4*(b*c+-1*a*d)^2*expintegralei(e*(c+d*x)^-2)+1//4*e*b^3*d^-4*(c+d*x)^2*exp(e*(c+d*x)^-2)+3//2*b*d^-4*(c+d*x)^2*(b*c+-1*a*d)^2*exp(e*(c+d*x)^-2)+-2*e*b^2*d^-4*(c+d*x)*(b*c+-1*a*d)*exp(e*(c+d*x)^-2)+2*pi^(1/2)*b^2*d^-4*e^3//2*(b*c+-1*a*d)*erfi(e^(1/2)*(c+d*x)^-1))
@test integrate((a+b*x)^2*exp(e*(c+d*x)^-2), x) == :(d^-3*(b*c+-1*a*d)^2*(c+d*x)*exp(e*(c+d*x)^-2)+1//3*b^2*d^-3*(c+d*x)^3*exp(e*(c+d*x)^-2)+b*e*d^-3*(b*c+-1*a*d)*expintegralei(e*(c+d*x)^-2)+-1*b*d^-3*(c+d*x)^2*(b*c+-1*a*d)*exp(e*(c+d*x)^-2)+-1*pi^(1/2)*d^-3*e^(1/2)*(b*c+-1*a*d)^2*erfi(e^(1/2)*(c+d*x)^-1)+-2//3*pi^(1/2)*b^2*d^-3*e^3//2*erfi(e^(1/2)*(c+d*x)^-1)+2//3*e*b^2*d^-3*(c+d*x)*exp(e*(c+d*x)^-2))
@test integrate((a+b*x)*exp(e*(c+d*x)^-2), x) == :((1/2)*b*d^-2*(c+d*x)^2*exp(e*(c+d*x)^-2)+-1*d^-2*(c+d*x)*(b*c+-1*a*d)*exp(e*(c+d*x)^-2)+-1//2*b*e*d^-2*expintegralei(e*(c+d*x)^-2)+pi^(1/2)*d^-2*e^(1/2)*(b*c+-1*a*d)*erfi(e^(1/2)*(c+d*x)^-1))
@test integrate(exp(e*(c+d*x)^-2), x) == :(d^-1*(c+d*x)*exp(e*(c+d*x)^-2)+-1*pi^(1/2)*d^-1*e^(1/2)*erfi(e^(1/2)*(c+d*x)^-1))
@test integrate((a+b*x)^3*exp(e*(c+d*x)^-3), x) == :(e*b^2*d^-4*(b*c+-1*a*d)*expintegralei(e*(c+d*x)^-3)+-1*b^2*d^-4*(c+d*x)^3*(b*c+-1*a*d)*exp(e*(c+d*x)^-3)+-1//3*d^-4*(-1*e*(c+d*x)^-3)^1//3*(b*c+-1*a*d)^3*(c+d*x)*SpecialFunctions.gamma(-1//3,-1*e*(c+d*x)^-3)+1//3*b^3*d^-4*(-1*e*(c+d*x)^-3)^4//3*(c+d*x)^4*SpecialFunctions.gamma(-4//3,-1*e*(c+d*x)^-3)+b*d^-4*(-1*e*(c+d*x)^-3)^2//3*(c+d*x)^2*(b*c+-1*a*d)^2*SpecialFunctions.gamma(-2//3,-1*e*(c+d*x)^-3))
@test integrate((a+b*x)^2*exp(e*(c+d*x)^-3), x) == :(-1//3*e*b^2*d^-3*expintegralei(e*(c+d*x)^-3)+1//3*b^2*d^-3*(c+d*x)^3*exp(e*(c+d*x)^-3)+1//3*d^-3*(-1*e*(c+d*x)^-3)^1//3*(b*c+-1*a*d)^2*(c+d*x)*SpecialFunctions.gamma(-1//3,-1*e*(c+d*x)^-3)+-2//3*b*d^-3*(-1*e*(c+d*x)^-3)^2//3*(c+d*x)^2*(b*c+-1*a*d)*SpecialFunctions.gamma(-2//3,-1*e*(c+d*x)^-3))
@test integrate((a+b*x)*exp(e*(c+d*x)^-3), x) == :(-1//3*d^-2*(-1*e*(c+d*x)^-3)^1//3*(c+d*x)*(b*c+-1*a*d)*SpecialFunctions.gamma(-1//3,-1*e*(c+d*x)^-3)+1//3*b*d^-2*(-1*e*(c+d*x)^-3)^2//3*(c+d*x)^2*SpecialFunctions.gamma(-2//3,-1*e*(c+d*x)^-3))
@test integrate(exp(e*(c+d*x)^-3), x) == :(1//3*d^-1*(-1*e*(c+d*x)^-3)^1//3*(c+d*x)*SpecialFunctions.gamma(-1//3,-1*e*(c+d*x)^-3))
@test integrate(F^(e+f*(c+d*x)^-1*(a+b*x))*(g+h*x)^-1, x) == :(F^(e+f*(d*g+-1*c*h)^-1*(b*g+-1*a*h))*h^-1*expintegralei(-1*f*(c+d*x)^-1*(d*g+-1*c*h)^-1*(g+h*x)*(b*c+-1*a*d)*log(F))+-1*F^(e+b*f*d^-1)*h^-1*expintegralei(-1*f*d^-1*(c+d*x)^-1*(b*c+-1*a*d)*log(F)))
@test integrate(F^(e+f*(c+d*x)^-1*(a+b*x))*(g+h*x)^-2, x) == :(-1*F^(e+f*(c+d*x)^-1*(a+b*x))*h^-1*(g+h*x)^-1+d*F^(e+b*f*d^-1+-1*f*d^-1*(c+d*x)^-1*(b*c+-1*a*d))*h^-1*(d*g+-1*c*h)^-1+f*F^(e+f*(d*g+-1*c*h)^-1*(b*g+-1*a*h))*(d*g+-1*c*h)^-2*(b*c+-1*a*d)*expintegralei(-1*f*(c+d*x)^-1*(d*g+-1*c*h)^-1*(g+h*x)*(b*c+-1*a*d)*log(F))*log(F))
@test integrate(F^(e+f*(c+d*x)^-1*(a+b*x))*(g+h*x)^-3, x) == :(-1//2*F^(e+f*(c+d*x)^-1*(a+b*x))*h^-1*(g+h*x)^-2+(1/2)*F^(e+b*f*d^-1+-1*f*d^-1*(c+d*x)^-1*(b*c+-1*a*d))*d^2*h^-1*(d*g+-1*c*h)^-2+(1/2)*d*f*F^(e+b*f*d^-1+-1*f*d^-1*(c+d*x)^-1*(b*c+-1*a*d))*(d*g+-1*c*h)^-3*(b*c+-1*a*d)*log(F)+-1//2*f*F^(e+f*(c+d*x)^-1*(a+b*x))*(g+h*x)^-1*(d*g+-1*c*h)^-2*(b*c+-1*a*d)*log(F)+d*f*F^(e+f*(d*g+-1*c*h)^-1*(b*g+-1*a*h))*(d*g+-1*c*h)^-3*(b*c+-1*a*d)*expintegralei(-1*f*(c+d*x)^-1*(d*g+-1*c*h)^-1*(g+h*x)*(b*c+-1*a*d)*log(F))*log(F)+(1/2)*h*F^(e+f*(d*g+-1*c*h)^-1*(b*g+-1*a*h))*f^2*(b*c+-1*a*d)^2*(d*g+-1*c*h)^-4*log(F)^2*expintegralei(-1*f*(c+d*x)^-1*(d*g+-1*c*h)^-1*(g+h*x)*(b*c+-1*a*d)*log(F)))
@test integrate(F^(e+f*(c+d*x)^-1*(a+b*x))*(g+h*x)^-4, x) == :(-1//3*F^(e+f*(c+d*x)^-1*(a+b*x))*h^-1*(g+h*x)^-3+1//3*F^(e+b*f*d^-1+-1*f*d^-1*(c+d*x)^-1*(b*c+-1*a*d))*d^3*h^-1*(d*g+-1*c*h)^-3+-1//6*f*F^(e+f*(c+d*x)^-1*(a+b*x))*(g+h*x)^-2*(d*g+-1*c*h)^-2*(b*c+-1*a*d)*log(F)+5//6*f*F^(e+b*f*d^-1+-1*f*d^-1*(c+d*x)^-1*(b*c+-1*a*d))*d^2*(d*g+-1*c*h)^-4*(b*c+-1*a*d)*log(F)+f*F^(e+f*(d*g+-1*c*h)^-1*(b*g+-1*a*h))*d^2*(d*g+-1*c*h)^-4*(b*c+-1*a*d)*expintegralei(-1*f*(c+d*x)^-1*(d*g+-1*c*h)^-1*(g+h*x)*(b*c+-1*a*d)*log(F))*log(F)+-2//3*d*f*F^(e+f*(c+d*x)^-1*(a+b*x))*(g+h*x)^-1*(d*g+-1*c*h)^-3*(b*c+-1*a*d)*log(F)+-1//6*h*F^(e+f*(c+d*x)^-1*(a+b*x))*f^2*(g+h*x)^-1*(b*c+-1*a*d)^2*(d*g+-1*c*h)^-4*log(F)^2+1//6*d*h*F^(e+b*f*d^-1+-1*f*d^-1*(c+d*x)^-1*(b*c+-1*a*d))*f^2*(b*c+-1*a*d)^2*(d*g+-1*c*h)^-5*log(F)^2+1//6*F^(e+f*(d*g+-1*c*h)^-1*(b*g+-1*a*h))*f^3*h^2*(b*c+-1*a*d)^3*(d*g+-1*c*h)^-6*log(F)^3*expintegralei(-1*f*(c+d*x)^-1*(d*g+-1*c*h)^-1*(g+h*x)*(b*c+-1*a*d)*log(F))+d*h*F^(e+f*(d*g+-1*c*h)^-1*(b*g+-1*a*h))*f^2*(b*c+-1*a*d)^2*(d*g+-1*c*h)^-5*log(F)^2*expintegralei(-1*f*(c+d*x)^-1*(d*g+-1*c*h)^-1*(g+h*x)*(b*c+-1*a*d)*log(F)))
@test integrate(f^(a+b*x+c*x^2)*x^3, x) == :(-1//2*c^-2*f^(a+b*x+c*x^2)*log(f)^-2+(1/2)*c^-1*f^(a+b*x+c*x^2)*x^2*log(f)^-1+1//8*b^2*c^-3*f^(a+b*x+c*x^2)*log(f)^-1+-1//4*b*x*c^-2*f^(a+b*x+c*x^2)*log(f)^-1+-1//16*pi^(1/2)*b^3*c^-7//2*f^(a+-1//4*b^2*c^-1)*log(f)^-1//2*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x))+3//8*b*pi^(1/2)*c^-5//2*f^(a+-1//4*b^2*c^-1)*log(f)^-3//2*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x)))
@test integrate(f^(a+b*x+c*x^2)*x^2, x) == :((1/2)*x*c^-1*f^(a+b*x+c*x^2)*log(f)^-1+-1//4*b*c^-2*f^(a+b*x+c*x^2)*log(f)^-1+-1//4*pi^(1/2)*c^-3//2*f^(a+-1//4*b^2*c^-1)*log(f)^-3//2*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x))+1//8*pi^(1/2)*b^2*c^-5//2*f^(a+-1//4*b^2*c^-1)*log(f)^-1//2*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x)))
@test integrate(x*f^(a+b*x+c*x^2), x) == :((1/2)*c^-1*f^(a+b*x+c*x^2)*log(f)^-1+-1//4*b*pi^(1/2)*c^-3//2*f^(a+-1//4*b^2*c^-1)*log(f)^-1//2*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x)))
@test integrate(f^(a+b*x+c*x^2), x) == :((1/2)*pi^(1/2)*c^-1//2*f^(a+-1//4*b^2*c^-1)*log(f)^-1//2*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x)))
@test integrate(x^3*exp(a+b*x+-1*c*x^2), x) == :(-1//2*c^-2*exp(a+b*x+-1*c*x^2)+-1//2*c^-1*x^2*exp(a+b*x+-1*c*x^2)+-1//8*b^2*c^-3*exp(a+b*x+-1*c*x^2)+-1//4*b*x*c^-2*exp(a+b*x+-1*c*x^2)+-3//8*b*pi^(1/2)*c^-5//2*erf((1/2)*c^-1//2*(b+-2*c*x))*exp(a+1//4*b^2*c^-1)+-1//16*pi^(1/2)*b^3*c^-7//2*erf((1/2)*c^-1//2*(b+-2*c*x))*exp(a+1//4*b^2*c^-1))
@test integrate(x^2*exp(a+b*x+-1*c*x^2), x) == :(-1//2*x*c^-1*exp(a+b*x+-1*c*x^2)+-1//4*b*c^-2*exp(a+b*x+-1*c*x^2)+-1//4*pi^(1/2)*c^-3//2*erf((1/2)*c^-1//2*(b+-2*c*x))*exp(a+1//4*b^2*c^-1)+-1//8*pi^(1/2)*b^2*c^-5//2*erf((1/2)*c^-1//2*(b+-2*c*x))*exp(a+1//4*b^2*c^-1))
@test integrate(x*exp(a+b*x+-1*c*x^2), x) == :(-1//2*c^-1*exp(a+b*x+-1*c*x^2)+-1//4*b*pi^(1/2)*c^-3//2*erf((1/2)*c^-1//2*(b+-2*c*x))*exp(a+1//4*b^2*c^-1))
@test integrate(exp(a+b*x+-1*c*x^2), x) == :(-1//2*pi^(1/2)*c^-1//2*erf((1/2)*c^-1//2*(b+-2*c*x))*exp(a+1//4*b^2*c^-1))
@test integrate(x^3*exp((a+b*x)*(c+d*x)), x) == :(-1//2*b^-2*d^-2*exp(a*c+x*(a*d+b*c)+b*d*x^2)+(1/2)*b^-1*d^-1*x^2*exp(a*c+x*(a*d+b*c)+b*d*x^2)+1//8*b^-3*d^-3*(a*d+b*c)^2*exp(a*c+x*(a*d+b*c)+b*d*x^2)+-1//4*x*b^-2*d^-2*(a*d+b*c)*exp(a*c+x*(a*d+b*c)+b*d*x^2)+-1//16*pi^(1/2)*b^-7//2*d^-7//2*(a*d+b*c)^3*erfi((1/2)*b^-1//2*d^-1//2*(a*d+b*c+2*b*d*x))*exp(-1//4*b^-1*d^-1*(b*c+-1*a*d)^2)+1//8*pi^(1/2)*b^-5//2*d^-5//2*(3*a*d+3*b*c)*erfi((1/2)*b^-1//2*d^-1//2*(a*d+b*c+2*b*d*x))*exp(-1//4*b^-1*d^-1*(b*c+-1*a*d)^2))
@test integrate(x^2*exp((a+b*x)*(c+d*x)), x) == :((1/2)*x*b^-1*d^-1*exp(a*c+x*(a*d+b*c)+b*d*x^2)+-1//4*b^-2*d^-2*(a*d+b*c)*exp(a*c+x*(a*d+b*c)+b*d*x^2)+-1//4*pi^(1/2)*b^-3//2*d^-3//2*erfi((1/2)*b^-1//2*d^-1//2*(a*d+b*c+2*b*d*x))*exp(-1//4*b^-1*d^-1*(b*c+-1*a*d)^2)+1//8*pi^(1/2)*b^-5//2*d^-5//2*(a*d+b*c)^2*erfi((1/2)*b^-1//2*d^-1//2*(a*d+b*c+2*b*d*x))*exp(-1//4*b^-1*d^-1*(b*c+-1*a*d)^2))
@test integrate(x*exp((a+b*x)*(c+d*x)), x) == :((1/2)*b^-1*d^-1*exp(a*c+x*(a*d+b*c)+b*d*x^2)+-1//4*pi^(1/2)*b^-3//2*d^-3//2*(a*d+b*c)*erfi((1/2)*b^-1//2*d^-1//2*(a*d+b*c+2*b*d*x))*exp(-1//4*b^-1*d^-1*(b*c+-1*a*d)^2))
@test integrate(exp((a+b*x)*(c+d*x)), x) == :((1/2)*pi^(1/2)*b^-1//2*d^-1//2*erfi((1/2)*b^-1//2*d^-1//2*(a*d+b*c+2*b*d*x))*exp(-1//4*b^-1*d^-1*(b*c+-1*a*d)^2))
@test integrate(f^(a+b*x+c*x^2)*(d+e*x)^3, x) == :(-1//2*c^-2*e^3*f^(a+b*x+c*x^2)*log(f)^-2+(1/2)*e*c^-1*f^(a+b*x+c*x^2)*(d+e*x)^2*log(f)^-1+1//8*e*c^-3*f^(a+b*x+c*x^2)*(-1*b*e+2*c*d)^2*log(f)^-1+1//4*e*c^-2*f^(a+b*x+c*x^2)*log(f)^-1*(d+e*x)*(-1*b*e+2*c*d)+1//16*pi^(1/2)*c^-7//2*f^(a+-1//4*b^2*c^-1)*(-1*b*e+2*c*d)^3*log(f)^-1//2*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x))+-3//8*pi^(1/2)*c^-5//2*e^2*f^(a+-1//4*b^2*c^-1)*log(f)^-3//2*(-1*b*e+2*c*d)*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x)))
@test integrate(f^(a+b*x+c*x^2)*(d+e*x)^2, x) == :((1/2)*e*c^-1*f^(a+b*x+c*x^2)*log(f)^-1*(d+e*x)+1//4*e*c^-2*f^(a+b*x+c*x^2)*log(f)^-1*(-1*b*e+2*c*d)+-1//4*pi^(1/2)*c^-3//2*e^2*f^(a+-1//4*b^2*c^-1)*log(f)^-3//2*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x))+1//8*pi^(1/2)*c^-5//2*f^(a+-1//4*b^2*c^-1)*(-1*b*e+2*c*d)^2*log(f)^-1//2*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x)))
@test integrate(f^(a+b*x+c*x^2)*(d+e*x), x) == :((1/2)*e*c^-1*f^(a+b*x+c*x^2)*log(f)^-1+1//4*pi^(1/2)*c^-3//2*f^(a+-1//4*b^2*c^-1)*log(f)^-1//2*(-1*b*e+2*c*d)*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x)))
@test integrate(f^(a+b*x+c*x^2)*(b+2*c*x)^3, x) == :(f^(a+b*x+c*x^2)*(b+2*c*x)^2*log(f)^-1+-4*c*f^(a+b*x+c*x^2)*log(f)^-2)
@test integrate(f^(a+b*x+c*x^2)*(b+2*c*x)^2, x) == :(f^(a+b*x+c*x^2)*log(f)^-1*(b+2*c*x)+-1*pi^(1/2)*c^(1/2)*f^(a+-1//4*b^2*c^-1)*log(f)^-3//2*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x)))
@test integrate(f^(a+b*x+c*x^2)*(b+2*c*x), x) == :(f^(a+b*x+c*x^2)*log(f)^-1)
@test integrate(f^(a+b*x+c*x^2)*(b+2*c*x)^-1, x) == :(1//4*c^-1*f^(a+-1//4*b^2*c^-1)*expintegralei(1//4*c^-1*(b+2*c*x)^2*log(f)))
@test integrate(f^(a+b*x+c*x^2)*(b+2*c*x)^-2, x) == :(-1//2*c^-1*f^(a+b*x+c*x^2)*(b+2*c*x)^-1+1//4*pi^(1/2)*c^-3//2*f^(a+-1//4*b^2*c^-1)*log(f)^(1/2)*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x)))
@test integrate(f^(a+b*x+c*x^2)*(b+2*c*x)^-3, x) == :(-1//4*c^-1*f^(a+b*x+c*x^2)*(b+2*c*x)^-2+1//16*c^-2*f^(a+-1//4*b^2*c^-1)*expintegralei(1//4*c^-1*(b+2*c*x)^2*log(f))*log(f))
@test integrate(f^(b*x+c*x^2)*(b+2*c*x)^3, x) == :(f^(b*x+c*x^2)*(b+2*c*x)^2*log(f)^-1+-4*c*f^(b*x+c*x^2)*log(f)^-2)
@test integrate(f^(b*x+c*x^2)*(b+2*c*x)^2, x) == :(f^(b*x+c*x^2)*log(f)^-1*(b+2*c*x)+-1*pi^(1/2)*c^(1/2)*f^(-1//4*b^2*c^-1)*log(f)^-3//2*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x)))
@test integrate(f^(b*x+c*x^2)*(b+2*c*x), x) == :(f^(b*x+c*x^2)*log(f)^-1)
@test integrate(f^(b*x+c*x^2)*(b+2*c*x)^-1, x) == :(1//4*c^-1*f^(-1//4*b^2*c^-1)*expintegralei(1//4*c^-1*(b+2*c*x)^2*log(f)))
@test integrate(f^(b*x+c*x^2)*(b+2*c*x)^-2, x) == :(-1//2*c^-1*f^(b*x+c*x^2)*(b+2*c*x)^-1+1//4*pi^(1/2)*c^-3//2*f^(-1//4*b^2*c^-1)*log(f)^(1/2)*erfi((1/2)*c^-1//2*log(f)^(1/2)*(b+2*c*x)))
@test integrate(f^(b*x+c*x^2)*(b+2*c*x)^-3, x) == :(-1//4*c^-1*f^(b*x+c*x^2)*(b+2*c*x)^-2+1//16*c^-2*f^(-1//4*b^2*c^-1)*expintegralei(1//4*c^-1*(b+2*c*x)^2*log(f))*log(f))
@test integrate(x^-2*(c+d*x^2)^-1*exp(a+b*x), x) == :(-1*c^-1*x^-1*exp(a+b*x)+b*c^-1*exp(a)*expintegralei(b*x)+(1/2)*d^(1/2)*(-1c)^-3//2*exp(a+b*d^-1//2*(-1c)^(1/2))*expintegralei(-1*b*d^-1//2*((-1c)^(1/2)+-1*x*d^(1/2)))+-1//2*d^(1/2)*(-1c)^-3//2*exp(a+-1*b*d^-1//2*(-1c)^(1/2))*expintegralei(b*d^-1//2*((-1c)^(1/2)+x*d^(1/2))))
@test integrate(x^-1*(c+d*x^2)^-1*exp(a+b*x), x) == :(c^-1*exp(a)*expintegralei(b*x)+-1//2*c^-1*exp(a+b*d^-1//2*(-1c)^(1/2))*expintegralei(-1*b*d^-1//2*((-1c)^(1/2)+-1*x*d^(1/2)))+-1//2*c^-1*exp(a+-1*b*d^-1//2*(-1c)^(1/2))*expintegralei(b*d^-1//2*((-1c)^(1/2)+x*d^(1/2))))
@test integrate((c+d*x^2)^-1*exp(a+b*x), x) == :((1/2)*d^-1//2*(-1c)^-1//2*exp(a+b*d^-1//2*(-1c)^(1/2))*expintegralei(-1*b*d^-1//2*((-1c)^(1/2)+-1*x*d^(1/2)))+-1//2*d^-1//2*(-1c)^-1//2*exp(a+-1*b*d^-1//2*(-1c)^(1/2))*expintegralei(b*d^-1//2*((-1c)^(1/2)+x*d^(1/2))))
@test integrate(x*(c+d*x^2)^-1*exp(a+b*x), x) == :((1/2)*d^-1*exp(a+b*d^-1//2*(-1c)^(1/2))*expintegralei(-1*b*d^-1//2*((-1c)^(1/2)+-1*x*d^(1/2)))+(1/2)*d^-1*exp(a+-1*b*d^-1//2*(-1c)^(1/2))*expintegralei(b*d^-1//2*((-1c)^(1/2)+x*d^(1/2))))
@test integrate(x^2*(c+d*x^2)^-1*exp(a+b*x), x) == :(b^-1*d^-1*exp(a+b*x)+(1/2)*d^-3//2*(-1c)^(1/2)*exp(a+b*d^-1//2*(-1c)^(1/2))*expintegralei(-1*b*d^-1//2*((-1c)^(1/2)+-1*x*d^(1/2)))+-1//2*d^-3//2*(-1c)^(1/2)*exp(a+-1*b*d^-1//2*(-1c)^(1/2))*expintegralei(b*d^-1//2*((-1c)^(1/2)+x*d^(1/2))))
@test integrate(x^-2*(a+b*x+c*x^2)^-1*exp(d+e*x), x) == :(-1*a^-1*x^-1*exp(d+e*x)+e*a^-1*exp(d)*expintegralei(e*x)+(1/2)*a^-2*(b+(b^2+-4*a*c)^-1//2*(b^2+-2*a*c))*exp(d+-1//2*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)+2*c*x))+(1/2)*a^-2*(b+-1*(b^2+-4*a*c)^-1//2*(b^2+-2*a*c))*exp(d+-1//2*e*c^-1*(b+(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+(b^2+-4*a*c)^(1/2)+2*c*x))+-1*b*a^-2*exp(d)*expintegralei(e*x))
@test integrate(x^-1*(a+b*x+c*x^2)^-1*exp(d+e*x), x) == :(a^-1*exp(d)*expintegralei(e*x)+-1//2*a^-1*(1+b*(b^2+-4*a*c)^-1//2)*exp(d+-1//2*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)+2*c*x))+-1//2*a^-1*(1+-1*b*(b^2+-4*a*c)^-1//2)*exp(d+-1//2*e*c^-1*(b+(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+(b^2+-4*a*c)^(1/2)+2*c*x)))
@test integrate((a+b*x+c*x^2)^-1*exp(d+e*x), x) == :((b^2+-4*a*c)^-1//2*exp(d+-1//2*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)+2*c*x))+-1*(b^2+-4*a*c)^-1//2*exp(d+-1//2*e*c^-1*(b+(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+(b^2+-4*a*c)^(1/2)+2*c*x)))
@test integrate(x*(a+b*x+c*x^2)^-1*exp(d+e*x), x) == :((1/2)*c^-1*(1+b*(b^2+-4*a*c)^-1//2)*exp(d+-1//2*e*c^-1*(b+(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+(b^2+-4*a*c)^(1/2)+2*c*x))+(1/2)*c^-1*(1+-1*b*(b^2+-4*a*c)^-1//2)*exp(d+-1//2*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)+2*c*x)))
@test integrate(x^2*(a+b*x+c*x^2)^-1*exp(d+e*x), x) == :(c^-1*e^-1*exp(d+e*x)+-1//2*c^-2*(b+(b^2+-4*a*c)^-1//2*(b^2+-2*a*c))*exp(d+-1//2*e*c^-1*(b+(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+(b^2+-4*a*c)^(1/2)+2*c*x))+-1//2*c^-2*(b+-1*(b^2+-4*a*c)^-1//2*(b^2+-2*a*c))*exp(d+-1//2*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)+2*c*x)))
@test integrate(x^3*(a+b*x+c*x^2)^-1*exp(d+e*x), x) == :(-1*c^-1*e^-2*exp(d+e*x)+x*c^-1*e^-1*exp(d+e*x)+(1/2)*c^-3*(b^2+-1*a*c+b*(b^2+-4*a*c)^-1//2*(b^2+-3*a*c))*exp(d+-1//2*e*c^-1*(b+(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+(b^2+-4*a*c)^(1/2)+2*c*x))+(1/2)*c^-3*(b^2+-1*a*c+-1*b*(b^2+-4*a*c)^-1//2*(b^2+-3*a*c))*exp(d+-1//2*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)))*expintegralei((1/2)*e*c^-1*(b+-1*(b^2+-4*a*c)^(1/2)+2*c*x))+-1*b*c^-2*e^-1*exp(d+e*x))
@test integrate(4^x*(a+b*2^x)^-1, x) == :(2^x*b^-1*log(2)^-1+-1*a*b^-2*log(2)^-1*log(a+b*2^x))
@test integrate(2^(2x)*(a+b*2^x)^-1, x) == :(2^x*b^-1*log(2)^-1+-1*a*b^-2*log(2)^-1*log(a+b*2^x))
@test integrate(4^x*(a+-1*b*2^x)^-1, x) == :(-1*2^x*b^-1*log(2)^-1+-1*a*b^-2*log(2)^-1*log(a+-1*b*2^x))
@test integrate(2^(2x)*(a+-1*b*2^x)^-1, x) == :(-1*2^x*b^-1*log(2)^-1+-1*a*b^-2*log(2)^-1*log(a+-1*b*2^x))
@test integrate(4^x*(a+b*2^(-1x))^-1, x) == :(x*a^-3*b^2+2^(-1+2x)*a^-1*log(2)^-1+a^-3*b^2*log(2)^-1*log(a+b*2^(-1x))+-1*b*2^x*a^-2*log(2)^-1)
@test integrate(2^(2x)*(a+b*2^(-1x))^-1, x) == :(x*a^-3*b^2+2^(-1+2x)*a^-1*log(2)^-1+a^-3*b^2*log(2)^-1*log(a+b*2^(-1x))+-1*b*2^x*a^-2*log(2)^-1)
@test integrate(4^x*(a+-1*b*2^(-1x))^-1, x) == :(x*a^-3*b^2+2^(-1+2x)*a^-1*log(2)^-1+b*2^x*a^-2*log(2)^-1+a^-3*b^2*log(2)^-1*log(a+-1*b*2^(-1x)))
@test integrate(2^(2x)*(a+-1*b*2^(-1x))^-1, x) == :(x*a^-3*b^2+2^(-1+2x)*a^-1*log(2)^-1+b*2^x*a^-2*log(2)^-1+a^-3*b^2*log(2)^-1*log(a+-1*b*2^(-1x)))
@test integrate(2^x*(a+b*4^x)^-1, x) == :(a^-1//2*b^-1//2*log(2)^-1*arctan(2^x*a^-1//2*b^(1/2)))
@test integrate(2^x*(a+b*2^(2x))^-1, x) == :(a^-1//2*b^-1//2*log(2)^-1*arctan(2^x*a^-1//2*b^(1/2)))
@test integrate(2^x*(a+-1*b*4^x)^-1, x) == :(a^-1//2*b^-1//2*log(2)^-1*arctanh(2^x*a^-1//2*b^(1/2)))
@test integrate(2^x*(a+-1*b*2^(2x))^-1, x) == :(a^-1//2*b^-1//2*log(2)^-1*arctanh(2^x*a^-1//2*b^(1/2)))
@test integrate(2^x*(a+b*4^(-1x))^-1, x) == :(2^x*a^-1*log(2)^-1+-1*a^-3//2*b^(1/2)*log(2)^-1*arctan(2^x*a^(1/2)*b^-1//2))
@test integrate(2^x*(a+b*2^(-2x))^-1, x) == :(2^x*a^-1*log(2)^-1+-1*a^-3//2*b^(1/2)*log(2)^-1*arctan(2^x*a^(1/2)*b^-1//2))
@test integrate(2^x*(a+-1*b*4^(-1x))^-1, x) == :(2^x*a^-1*log(2)^-1+-1*a^-3//2*b^(1/2)*log(2)^-1*arctanh(2^x*a^(1/2)*b^-1//2))
@test integrate(2^x*(a+-1*b*2^(-2x))^-1, x) == :(2^x*a^-1*log(2)^-1+-1*a^-3//2*b^(1/2)*log(2)^-1*arctanh(2^x*a^(1/2)*b^-1//2))
@test integrate(2^x*(a+b*4^x)^-1//2, x) == :(b^-1//2*log(2)^-1*arctanh(2^x*b^(1/2)*(a+b*4^x)^-1//2))
@test integrate(2^x*(a+b*2^(2x))^-1//2, x) == :(b^-1//2*log(2)^-1*arctanh(2^x*b^(1/2)*(a+b*4^x)^-1//2))
@test integrate(2^x*(a+-1*b*4^x)^-1//2, x) == :(b^-1//2*log(2)^-1*arctan(2^x*b^(1/2)*(a+-1*b*4^x)^-1//2))
@test integrate(2^x*(a+-1*b*2^(2x))^-1//2, x) == :(b^-1//2*log(2)^-1*arctan(2^x*b^(1/2)*(a+-1*b*4^x)^-1//2))
@test integrate(2^x*(a+b*4^(-1x))^-1//2, x) == :(2^x*a^-1*(a+b*2^(-2x))^(1/2)*log(2)^-1)
@test integrate(2^x*(a+b*2^(-2x))^-1//2, x) == :(2^x*a^-1*(a+b*2^(-2x))^(1/2)*log(2)^-1)
@test integrate(2^x*(a+-1*b*4^(-1x))^-1//2, x) == :(2^x*a^-1*(a+-1*b*2^(-2x))^(1/2)*log(2)^-1)
@test integrate(2^x*(a+-1*b*2^(-2x))^-1//2, x) == :(2^x*a^-1*(a+-1*b*2^(-2x))^(1/2)*log(2)^-1)
@test integrate(4^x*(a+b*2^x)^-1//2, x) == :(2//3*b^-2*(a+b*2^x)^3//2*log(2)^-1+-2*a*b^-2*(a+b*2^x)^(1/2)*log(2)^-1)
@test integrate(2^(2x)*(a+b*2^x)^-1//2, x) == :(2//3*b^-2*(a+b*2^x)^3//2*log(2)^-1+-2*a*b^-2*(a+b*2^x)^(1/2)*log(2)^-1)
@test integrate(4^x*(a+-1*b*2^x)^-1//2, x) == :(2//3*b^-2*(a+-1*b*2^x)^3//2*log(2)^-1+-2*a*b^-2*(a+-1*b*2^x)^(1/2)*log(2)^-1)
@test integrate(2^(2x)*(a+-1*b*2^x)^-1//2, x) == :(2//3*b^-2*(a+-1*b*2^x)^3//2*log(2)^-1+-2*a*b^-2*(a+-1*b*2^x)^(1/2)*log(2)^-1)
@test integrate(4^x*(a+b*2^(-1x))^-1//2, x) == :(2^(-1+2x)*a^-1*(a+b*2^(-1x))^(1/2)*log(2)^-1+3//4*a^-5//2*b^2*log(2)^-1*arctanh(a^-1//2*(a+b*2^(-1x))^(1/2))+-3*b*2^(-2+x)*a^-2*(a+b*2^(-1x))^(1/2)*log(2)^-1)
@test integrate(2^(2x)*(a+b*2^(-1x))^-1//2, x) == :(2^(-1+2x)*a^-1*(a+b*2^(-1x))^(1/2)*log(2)^-1+3//4*a^-5//2*b^2*log(2)^-1*arctanh(a^-1//2*(a+b*2^(-1x))^(1/2))+-3*b*2^(-2+x)*a^-2*(a+b*2^(-1x))^(1/2)*log(2)^-1)
@test integrate(4^x*(a+-1*b*2^(-1x))^-1//2, x) == :(2^(-1+2x)*a^-1*(a+-1*b*2^(-1x))^(1/2)*log(2)^-1+3//4*a^-5//2*b^2*log(2)^-1*arctanh(a^-1//2*(a+-1*b*2^(-1x))^(1/2))+3*b*2^(-2+x)*a^-2*(a+-1*b*2^(-1x))^(1/2)*log(2)^-1)
@test integrate(2^(2x)*(a+-1*b*2^(-1x))^-1//2, x) == :(2^(-1+2x)*a^-1*(a+-1*b*2^(-1x))^(1/2)*log(2)^-1+3//4*a^-5//2*b^2*log(2)^-1*arctanh(a^-1//2*(a+-1*b*2^(-1x))^(1/2))+3*b*2^(-2+x)*a^-2*(a+-1*b*2^(-1x))^(1/2)*log(2)^-1)
@test integrate((1+2*exp(x)+exp(2x))^-1, x) == :(x+(1+exp(x))^-1+-1*log(1+exp(x)))
@test integrate((2+3*exp(x)+exp(2x))^-1, x) == :((1/2)*x+(1/2)*log(2+exp(x))+-1*log(1+exp(x)))
@test integrate((-1+exp(x)+exp(2x))^-1, x) == :(-1x+(1/2+-1//10*5^(1/2))*log(1+5^(1/2)+2*exp(x))+(1/2+1//10*5^(1/2))*log(1+-1*5^(1/2)+2*exp(x)))
@test integrate((3+3*exp(x)+exp(2x))^-1, x) == :(-1//6*log(3+3*exp(x)+exp(2x))+1//3*x+-1//3*3^(1/2)*arctan(1//3*3^(1/2)*(3+2*exp(x))))
@test integrate((a+b*exp(x)+c*exp(2x))^-1, x) == :(x*a^-1+-1//2*a^-1*log(a+b*exp(x)+c*exp(2x))+b*a^-1*(b^2+-4*a*c)^-1//2*arctanh((b^2+-4*a*c)^-1//2*(b+2*c*exp(x))))
@test integrate(x*(1+2*exp(x)+exp(2x))^-1, x) == :((1/2)*x^2+-1x+-1*Polylogarithms.polylog(2,-1*exp(x))+x*(1+exp(x))^-1+-1*x*log(1+exp(x))+log(1+exp(x)))
@test integrate(x*(2+3*exp(x)+exp(2x))^-1, x) == :((1/2)*Polylogarithms.polylog(2,-1//2*exp(x))+-1*Polylogarithms.polylog(2,-1*exp(x))+1//4*x^2+(1/2)*x*log(1+(1/2)*exp(x))+-1*x*log(1+exp(x)))
@test integrate(x*(-1+exp(x)+exp(2x))^-1, x) == :(-2//5*5^(1/2)*(1+-1*5^(1/2))^-1*Polylogarithms.polylog(2,-2*(1+-1*5^(1/2))^-1*exp(x))+-1//5*5^(1/2)*x^2*(1+5^(1/2))^-1+1//5*5^(1/2)*x^2*(1+-1*5^(1/2))^-1+2//5*5^(1/2)*(1+5^(1/2))^-1*Polylogarithms.polylog(2,-2*(1+5^(1/2))^-1*exp(x))+-2//5*x*5^(1/2)*(1+-1*5^(1/2))^-1*log(1+2*(1+-1*5^(1/2))^-1*exp(x))+2//5*x*5^(1/2)*(1+5^(1/2))^-1*log(1+2*(1+5^(1/2))^-1*exp(x)))
@test integrate(x*(3+3*exp(x)+exp(2x))^-1, x) == :(-2//3*3^(1/2)*(3^(1/2)+3im)^-1*Polylogarithms.polylog(2,-2*(3+-1*im*3^(1/2))^-1*exp(x))+-1//3*3^(1/2)*x^2*(-1*3^(1/2)+3im)^-1+1//3*3^(1/2)*x^2*(3^(1/2)+3im)^-1+2//3*3^(1/2)*(-1*3^(1/2)+3im)^-1*Polylogarithms.polylog(2,-2*(3+im*3^(1/2))^-1*exp(x))+-2//3*x*3^(1/2)*(3^(1/2)+3im)^-1*log(1+2*(3+-1*im*3^(1/2))^-1*exp(x))+2//3*x*3^(1/2)*(-1*3^(1/2)+3im)^-1*log(1+2*(3+im*3^(1/2))^-1*exp(x)))
@test integrate(x*(a+b*exp(x)+c*exp(2x))^-1, x) == :(-1*c*x^2*(b^2+b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1+-1*c*x^2*(b^2+-1*b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1+2*c*(b^2+b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1*Polylogarithms.polylog(2,-2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(x))+2*c*(b^2+-1*b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1*Polylogarithms.polylog(2,-2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(x))+2*c*x*(b^2+b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1*log(1+2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(x))+2*c*x*(b^2+-1*b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1*log(1+2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(x)))
@test integrate(x^2*(1+2*exp(x)+exp(2x))^-1, x) == :(-1*x^2+2*Polylogarithms.polylog(2,-1*exp(x))+2*Polylogarithms.polylog(3,-1*exp(x))+1//3*x^3+x^2*(1+exp(x))^-1+-1*x^2*log(1+exp(x))+-2*x*Polylogarithms.polylog(2,-1*exp(x))+2*x*log(1+exp(x)))
@test integrate(x^2*(2+3*exp(x)+exp(2x))^-1, x) == :(-1*Polylogarithms.polylog(3,-1//2*exp(x))+2*Polylogarithms.polylog(3,-1*exp(x))+1//6*x^3+x*Polylogarithms.polylog(2,-1//2*exp(x))+(1/2)*x^2*log(1+(1/2)*exp(x))+-1*x^2*log(1+exp(x))+-2*x*Polylogarithms.polylog(2,-1*exp(x)))
@test integrate(x^2*(-1+exp(x)+exp(2x))^-1, x) == :(-4//5*5^(1/2)*(1+5^(1/2))^-1*Polylogarithms.polylog(3,-2*(1+5^(1/2))^-1*exp(x))+-2//15*5^(1/2)*x^3*(1+5^(1/2))^-1+2//15*5^(1/2)*x^3*(1+-1*5^(1/2))^-1+4//5*5^(1/2)*(1+-1*5^(1/2))^-1*Polylogarithms.polylog(3,-2*(1+-1*5^(1/2))^-1*exp(x))+-4//5*x*5^(1/2)*(1+-1*5^(1/2))^-1*Polylogarithms.polylog(2,-2*(1+-1*5^(1/2))^-1*exp(x))+-2//5*5^(1/2)*x^2*(1+-1*5^(1/2))^-1*log(1+2*(1+-1*5^(1/2))^-1*exp(x))+2//5*5^(1/2)*x^2*(1+5^(1/2))^-1*log(1+2*(1+5^(1/2))^-1*exp(x))+4//5*x*5^(1/2)*(1+5^(1/2))^-1*Polylogarithms.polylog(2,-2*(1+5^(1/2))^-1*exp(x)))
@test integrate(x^2*(3+3*exp(x)+exp(2x))^-1, x) == :(-4//3*3^(1/2)*(-1*3^(1/2)+3im)^-1*Polylogarithms.polylog(3,-2*(3+im*3^(1/2))^-1*exp(x))+-2//9*3^(1/2)*x^3*(-1*3^(1/2)+3im)^-1+2//9*3^(1/2)*x^3*(3^(1/2)+3im)^-1+4//3*3^(1/2)*(3^(1/2)+3im)^-1*Polylogarithms.polylog(3,-2*(3+-1*im*3^(1/2))^-1*exp(x))+-4//3*x*3^(1/2)*(3^(1/2)+3im)^-1*Polylogarithms.polylog(2,-2*(3+-1*im*3^(1/2))^-1*exp(x))+-2//3*3^(1/2)*x^2*(3^(1/2)+3im)^-1*log(1+2*(3+-1*im*3^(1/2))^-1*exp(x))+2//3*3^(1/2)*x^2*(-1*3^(1/2)+3im)^-1*log(1+2*(3+im*3^(1/2))^-1*exp(x))+4//3*x*3^(1/2)*(-1*3^(1/2)+3im)^-1*Polylogarithms.polylog(2,-2*(3+im*3^(1/2))^-1*exp(x)))
@test integrate(x^2*(a+b*exp(x)+c*exp(2x))^-1, x) == :(-4*c*(b^2+b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1*Polylogarithms.polylog(3,-2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(x))+-4*c*(b^2+-1*b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1*Polylogarithms.polylog(3,-2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(x))+-2*c*x^3*(3*b^2+-12*a*c+-3*b*(b^2+-4*a*c)^(1/2))^-1+-2*c*x^3*(3*b^2+-12*a*c+3*b*(b^2+-4*a*c)^(1/2))^-1+2*c*x^2*(b^2+b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1*log(1+2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(x))+2*c*x^2*(b^2+-1*b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1*log(1+2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(x))+4*c*x*(b^2+b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1*Polylogarithms.polylog(2,-2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(x))+4*c*x*(b^2+-1*b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1*Polylogarithms.polylog(2,-2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(x)))
@test integrate((1+f^(2c+2*d*x)+2*f^(c+d*x))^-1, x) == :(x+d^-1*(1+f^(c+d*x))^-1*log(f)^-1+-1*d^-1*log(f)^-1*log(1+f^(c+d*x)))
@test integrate((a+b*f^(c+d*x)+c*f^(2c+2*d*x))^-1, x) == :(x*a^-1+-1//2*a^-1*d^-1*log(f)^-1*log(a+b*f^(c+d*x)+c*f^(2c+2*d*x))+b*a^-1*d^-1*(b^2+-4*a*c)^-1//2*log(f)^-1*arctanh((b^2+-4*a*c)^-1//2*(b+2*c*f^(c+d*x))))
@test integrate((a+b*f^(g+h*x)+c*f^(2g+2*h*x))^-1, x) == :(x*a^-1+-1//2*a^-1*h^-1*log(f)^-1*log(a+b*f^(g+h*x)+c*f^(2g+2*h*x))+b*a^-1*h^-1*(b^2+-4*a*c)^-1//2*log(f)^-1*arctanh((b^2+-4*a*c)^-1//2*(b+2*c*f^(g+h*x))))
@test integrate(x*(1+f^(2c+2*d*x)+2*f^(c+d*x))^-1, x) == :((1/2)*x^2+d^-2*log(f)^-2*log(1+f^(c+d*x))+-1*x*d^-1*log(f)^-1+-1*d^-2*log(f)^-2*Polylogarithms.polylog(2,-1*f^(c+d*x))+x*d^-1*(1+f^(c+d*x))^-1*log(f)^-1+-1*x*d^-1*log(f)^-1*log(1+f^(c+d*x)))
@test integrate(x*(a+b*f^(c+d*x)+c*f^(2c+2*d*x))^-1, x) == :(-1*c*x^2*(b^2+b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1+-1*c*x^2*(b^2+-1*b*(b^2+-4*a*c)^(1/2)+-4*a*c)^-1+-2*c*d^-2*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(b^2+-4*a*c)^-1//2*log(f)^-2*Polylogarithms.polylog(2,-2*c*f^(c+d*x)*(b+-1*(b^2+-4*a*c)^(1/2))^-1)+2*c*d^-2*(b+(b^2+-4*a*c)^(1/2))^-1*(b^2+-4*a*c)^-1//2*log(f)^-2*Polylogarithms.polylog(2,-2*c*f^(c+d*x)*(b+(b^2+-4*a*c)^(1/2))^-1)+-2*c*x*d^-1*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(b^2+-4*a*c)^-1//2*log(f)^-1*log(1+2*c*f^(c+d*x)*(b+-1*(b^2+-4*a*c)^(1/2))^-1)+2*c*x*d^-1*(b+(b^2+-4*a*c)^(1/2))^-1*(b^2+-4*a*c)^-1//2*log(f)^-1*log(1+2*c*f^(c+d*x)*(b+(b^2+-4*a*c)^(1/2))^-1))
@test integrate(x^2*(1+f^(2c+2*d*x)+2*f^(c+d*x))^-1, x) == :(1//3*x^3+-1*d^-1*x^2*log(f)^-1+2*d^-3*log(f)^-3*Polylogarithms.polylog(2,-1*f^(c+d*x))+2*d^-3*log(f)^-3*Polylogarithms.polylog(3,-1*f^(c+d*x))+d^-1*x^2*(1+f^(c+d*x))^-1*log(f)^-1+-1*d^-1*x^2*log(f)^-1*log(1+f^(c+d*x))+-2*x*d^-2*log(f)^-2*Polylogarithms.polylog(2,-1*f^(c+d*x))+2*x*d^-2*log(f)^-2*log(1+f^(c+d*x)))
@test integrate(x^2*(a+b*f^(c+d*x)+c*f^(2c+2*d*x))^-1, x) == :(-2*c*x^3*(3*b^2+-12*a*c+-3*b*(b^2+-4*a*c)^(1/2))^-1+-2*c*x^3*(3*b^2+-12*a*c+3*b*(b^2+-4*a*c)^(1/2))^-1+-4*c*d^-3*(b+(b^2+-4*a*c)^(1/2))^-1*(b^2+-4*a*c)^-1//2*log(f)^-3*Polylogarithms.polylog(3,-2*c*f^(c+d*x)*(b+(b^2+-4*a*c)^(1/2))^-1)+4*c*d^-3*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(b^2+-4*a*c)^-1//2*log(f)^-3*Polylogarithms.polylog(3,-2*c*f^(c+d*x)*(b+-1*(b^2+-4*a*c)^(1/2))^-1)+-4*c*x*d^-2*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(b^2+-4*a*c)^-1//2*log(f)^-2*Polylogarithms.polylog(2,-2*c*f^(c+d*x)*(b+-1*(b^2+-4*a*c)^(1/2))^-1)+-2*c*d^-1*x^2*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(b^2+-4*a*c)^-1//2*log(f)^-1*log(1+2*c*f^(c+d*x)*(b+-1*(b^2+-4*a*c)^(1/2))^-1)+2*c*d^-1*x^2*(b+(b^2+-4*a*c)^(1/2))^-1*(b^2+-4*a*c)^-1//2*log(f)^-1*log(1+2*c*f^(c+d*x)*(b+(b^2+-4*a*c)^(1/2))^-1)+4*c*x*d^-2*(b+(b^2+-4*a*c)^(1/2))^-1*(b^2+-4*a*c)^-1//2*log(f)^-2*Polylogarithms.polylog(2,-2*c*f^(c+d*x)*(b+(b^2+-4*a*c)^(1/2))^-1))
@test integrate((a+b*f^(g+h*x)+c*f^(2g+2*h*x))^-1*(d+e*f^(g+h*x)), x) == :(d*x*a^-1+-1//2*d*a^-1*h^-1*log(f)^-1*log(a+b*f^(g+h*x)+c*f^(2g+2*h*x))+a^-1*h^-1*(b^2+-4*a*c)^-1//2*log(f)^-1*(b*d+-2*a*e)*arctanh((b^2+-4*a*c)^-1//2*(b+2*c*f^(g+h*x))))
@test integrate((a+b*f^(g+h*x)+c*f^(2g+2*h*x))^-1*(d+e*f^(g+h*x)), x) == :(d*x*a^-1+-1//2*d*a^-1*h^-1*log(f)^-1*log(a+b*f^(g+h*x)+c*f^(2g+2*h*x))+a^-1*h^-1*(b^2+-4*a*c)^-1//2*log(f)^-1*(b*d+-2*a*e)*arctanh((b^2+-4*a*c)^-1//2*(b+2*c*f^(g+h*x))))
@test integrate((2+exp(x)+exp(-1x))^-1, x) == :(-1*(1+exp(x))^-1)
@test integrate(x*(2+exp(x)+exp(-1x))^-1, x) == :(x+-1*log(1+exp(x))+-1*x*(1+exp(x))^-1)
@test integrate(x^2*(2+exp(x)+exp(-1x))^-1, x) == :(x^2+-2*Polylogarithms.polylog(2,-1*exp(x))+-1*x^2*(1+exp(x))^-1+-2*x*log(1+exp(x)))
@test integrate((2+f^(c+d*x)+f^(-1c+-1*d*x))^-1, x) == :(-1*d^-1*(1+f^(c+d*x))^-1*log(f)^-1)
@test integrate(x*(2+f^(c+d*x)+f^(-1c+-1*d*x))^-1, x) == :(x*d^-1*log(f)^-1+-1*d^-2*log(f)^-2*log(1+f^(c+d*x))+-1*x*d^-1*(1+f^(c+d*x))^-1*log(f)^-1)
@test integrate(x^2*(2+f^(c+d*x)+f^(-1c+-1*d*x))^-1, x) == :(d^-1*x^2*log(f)^-1+-2*d^-3*log(f)^-3*Polylogarithms.polylog(2,-1*f^(c+d*x))+-1*d^-1*x^2*(1+f^(c+d*x))^-1*log(f)^-1+-2*x*d^-2*log(f)^-2*log(1+f^(c+d*x)))
@test integrate((2+3^x+3^(-1x))^-1, x) == :(-1*(1+3^x)^-1*log(3)^-1)
@test integrate((1+-1*exp(-1x)+2*exp(x))^-1, x) == :(-1//3*log(1+exp(x))+1//3*log(1+-2*exp(x)))
@test integrate((a+b*exp(-1x)+c*exp(x))^-1, x) == :(-2*(a^2+-4*b*c)^-1//2*arctanh((a^2+-4*b*c)^-1//2*(a+2*c*exp(x))))
@test integrate(x*(a+b*exp(-1x)+c*exp(x))^-1, x) == :((a^2+-4*b*c)^-1//2*Polylogarithms.polylog(2,-2*c*(a+-1*(a^2+-4*b*c)^(1/2))^-1*exp(x))+-1*(a^2+-4*b*c)^-1//2*Polylogarithms.polylog(2,-2*c*(a+(a^2+-4*b*c)^(1/2))^-1*exp(x))+x*(a^2+-4*b*c)^-1//2*log(1+2*c*(a+-1*(a^2+-4*b*c)^(1/2))^-1*exp(x))+-1*x*(a^2+-4*b*c)^-1//2*log(1+2*c*(a+(a^2+-4*b*c)^(1/2))^-1*exp(x)))
@test integrate(x^2*(a+b*exp(-1x)+c*exp(x))^-1, x) == :(-2*(a^2+-4*b*c)^-1//2*Polylogarithms.polylog(3,-2*c*(a+-1*(a^2+-4*b*c)^(1/2))^-1*exp(x))+2*(a^2+-4*b*c)^-1//2*Polylogarithms.polylog(3,-2*c*(a+(a^2+-4*b*c)^(1/2))^-1*exp(x))+x^2*(a^2+-4*b*c)^-1//2*log(1+2*c*(a+-1*(a^2+-4*b*c)^(1/2))^-1*exp(x))+-1*x^2*(a^2+-4*b*c)^-1//2*log(1+2*c*(a+(a^2+-4*b*c)^(1/2))^-1*exp(x))+-2*x*(a^2+-4*b*c)^-1//2*Polylogarithms.polylog(2,-2*c*(a+(a^2+-4*b*c)^(1/2))^-1*exp(x))+2*x*(a^2+-4*b*c)^-1//2*Polylogarithms.polylog(2,-2*c*(a+-1*(a^2+-4*b*c)^(1/2))^-1*exp(x)))
@test integrate((a+b*f^(-1c+-1*d*x)+c*f^(c+d*x))^-1, x) == :(-2*d^-1*(a^2+-4*b*c)^-1//2*log(f)^-1*arctanh((a^2+-4*b*c)^-1//2*(a+2*c*f^(c+d*x))))
@test integrate(x*(a+b*f^(-1c+-1*d*x)+c*f^(c+d*x))^-1, x) == :(d^-2*(a^2+-4*b*c)^-1//2*log(f)^-2*Polylogarithms.polylog(2,-2*c*f^(c+d*x)*(a+-1*(a^2+-4*b*c)^(1/2))^-1)+-1*d^-2*(a^2+-4*b*c)^-1//2*log(f)^-2*Polylogarithms.polylog(2,-2*c*f^(c+d*x)*(a+(a^2+-4*b*c)^(1/2))^-1)+x*d^-1*(a^2+-4*b*c)^-1//2*log(f)^-1*log(1+2*c*f^(c+d*x)*(a+-1*(a^2+-4*b*c)^(1/2))^-1)+-1*x*d^-1*(a^2+-4*b*c)^-1//2*log(f)^-1*log(1+2*c*f^(c+d*x)*(a+(a^2+-4*b*c)^(1/2))^-1))
@test integrate(x^2*(a+b*f^(-1c+-1*d*x)+c*f^(c+d*x))^-1, x) == :(-2*d^-3*(a^2+-4*b*c)^-1//2*log(f)^-3*Polylogarithms.polylog(3,-2*c*f^(c+d*x)*(a+-1*(a^2+-4*b*c)^(1/2))^-1)+2*d^-3*(a^2+-4*b*c)^-1//2*log(f)^-3*Polylogarithms.polylog(3,-2*c*f^(c+d*x)*(a+(a^2+-4*b*c)^(1/2))^-1)+d^-1*x^2*(a^2+-4*b*c)^-1//2*log(f)^-1*log(1+2*c*f^(c+d*x)*(a+-1*(a^2+-4*b*c)^(1/2))^-1)+-1*d^-1*x^2*(a^2+-4*b*c)^-1//2*log(f)^-1*log(1+2*c*f^(c+d*x)*(a+(a^2+-4*b*c)^(1/2))^-1)+-2*x*d^-2*(a^2+-4*b*c)^-1//2*log(f)^-2*Polylogarithms.polylog(2,-2*c*f^(c+d*x)*(a+(a^2+-4*b*c)^(1/2))^-1)+2*x*d^-2*(a^2+-4*b*c)^-1//2*log(f)^-2*Polylogarithms.polylog(2,-2*c*f^(c+d*x)*(a+-1*(a^2+-4*b*c)^(1/2))^-1))
@test integrate((a+b*F^(c*(d+e*x)^(1/2)*(f+g*x)^-1//2))^3*(d*f+x*(d*g+e*f)+e*g*x^2)^-1, x) == :(2*a^3*(e*f+-1*d*g)^-1*log((d+e*x)^(1/2)*(f+g*x)^-1//2)+2*b^3*(e*f+-1*d*g)^-1*expintegralei(3*c*(d+e*x)^(1/2)*(f+g*x)^-1//2*log(F))+6*a*b^2*(e*f+-1*d*g)^-1*expintegralei(2*c*(d+e*x)^(1/2)*(f+g*x)^-1//2*log(F))+6*b*a^2*(e*f+-1*d*g)^-1*expintegralei(c*(d+e*x)^(1/2)*(f+g*x)^-1//2*log(F)))
@test integrate((a+b*F^(c*(d+e*x)^(1/2)*(f+g*x)^-1//2))^2*(d*f+x*(d*g+e*f)+e*g*x^2)^-1, x) == :(2*a^2*(e*f+-1*d*g)^-1*log((d+e*x)^(1/2)*(f+g*x)^-1//2)+2*b^2*(e*f+-1*d*g)^-1*expintegralei(2*c*(d+e*x)^(1/2)*(f+g*x)^-1//2*log(F))+4*a*b*(e*f+-1*d*g)^-1*expintegralei(c*(d+e*x)^(1/2)*(f+g*x)^-1//2*log(F)))
@test integrate((d*f+x*(d*g+e*f)+e*g*x^2)^-1*(a+b*F^(c*(d+e*x)^(1/2)*(f+g*x)^-1//2)), x) == :(2*a*(e*f+-1*d*g)^-1*log((d+e*x)^(1/2)*(f+g*x)^-1//2)+2*b*(e*f+-1*d*g)^-1*expintegralei(c*(d+e*x)^(1/2)*(f+g*x)^-1//2*log(F)))
@test integrate((d*f+x*(d*g+e*f)+e*g*x^2)^-1, x) == :((e*f+-1*d*g)^-1*log(d+e*x)+-1*(e*f+-1*d*g)^-1*log(f+g*x))
@test integrate((a+b*F^(c*(d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2))^3*(d^2+-1*e^2*x^2)^-1, x) == :(a^3*d^-1*e^-1*log((d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2)+b^3*d^-1*e^-1*expintegralei(3*c*(d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2*log(F))+3*a*b^2*d^-1*e^-1*expintegralei(2*c*(d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2*log(F))+3*b*a^2*d^-1*e^-1*expintegralei(c*(d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2*log(F)))
@test integrate((a+b*F^(c*(d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2))^2*(d^2+-1*e^2*x^2)^-1, x) == :(a^2*d^-1*e^-1*log((d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2)+b^2*d^-1*e^-1*expintegralei(2*c*(d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2*log(F))+2*a*b*d^-1*e^-1*expintegralei(c*(d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2*log(F)))
@test integrate((d^2+-1*e^2*x^2)^-1*(a+b*F^(c*(d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2)), x) == :(a*d^-1*e^-1*log((d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2)+b*d^-1*e^-1*expintegralei(c*(d+e*x)^(1/2)*(d*f+-1*e*f*x)^-1//2*log(F)))
@test integrate((d^2+-1*e^2*x^2)^-1, x) == :(d^-1*e^-1*arctanh(e*x*d^-1))
@test integrate((F^((1+a*x)^-1//2*(1+-1*a*x)^(1/2)))^n*(1+-1*a^2*x^2)^-1, x) == :(-1*F^(-1*n*(1+a*x)^-1//2*(1+-1*a*x)^(1/2))*a^-1*(F^((1+a*x)^-1//2*(1+-1*a*x)^(1/2)))^n*expintegralei(n*(1+a*x)^-1//2*(1+-1*a*x)^(1/2)*log(F)))
@test integrate(F^(3*(1+a*x)^-1//2*(1+-1*a*x)^(1/2))*(1+-1*a^2*x^2)^-1, x) == :(-1*a^-1*expintegralei(3*(1+a*x)^-1//2*(1+-1*a*x)^(1/2)*log(F)))
@test integrate(F^(2*(1+a*x)^-1//2*(1+-1*a*x)^(1/2))*(1+-1*a^2*x^2)^-1, x) == :(-1*a^-1*expintegralei(2*(1+a*x)^-1//2*(1+-1*a*x)^(1/2)*log(F)))
@test integrate(F^((1+a*x)^-1//2*(1+-1*a*x)^(1/2))*(1+-1*a^2*x^2)^-1, x) == :(-1*a^-1*expintegralei((1+a*x)^-1//2*(1+-1*a*x)^(1/2)*log(F)))
@test integrate(F^(-1*(1+a*x)^-1//2*(1+-1*a*x)^(1/2))*(1+-1*a^2*x^2)^-1, x) == :(-1*a^-1*expintegralei(-1*(1+a*x)^-1//2*(1+-1*a*x)^(1/2)*log(F)))
@test integrate(F^(-2*(1+a*x)^-1//2*(1+-1*a*x)^(1/2))*(1+-1*a^2*x^2)^-1, x) == :(-1*a^-1*expintegralei(-2*(1+a*x)^-1//2*(1+-1*a*x)^(1/2)*log(F)))
@test integrate(a^x*b^x*x^2, x) == :(2*a^x*b^x*(log(a)+log(b))^-3+a^x*b^x*x^2*(log(a)+log(b))^-1+-2*x*a^x*b^x*(log(a)+log(b))^-2)
@test integrate(x*a^x*b^x, x) == :(-1*a^x*b^x*(log(a)+log(b))^-2+x*a^x*b^x*(log(a)+log(b))^-1)
@test integrate(a^x*b^x, x) == :(a^x*b^x*(log(a)+log(b))^-1)
@test integrate(a^x*b^x*x^-1, x) == :(expintegralei(x*(log(a)+log(b))))
@test integrate(a^x*b^x*x^-2, x) == :((log(a)+log(b))*expintegralei(x*(log(a)+log(b)))+-1*a^x*b^x*x^-1)
@test integrate(a^x*b^x*x^-3, x) == :((1/2)*(log(a)+log(b))^2*expintegralei(x*(log(a)+log(b)))+-1//2*a^x*b^x*x^-2+-1//2*a^x*b^x*x^-1*(log(a)+log(b)))
@test integrate(a^x*b^x*c^x, x) == :(a^x*b^x*c^x*(log(a)+log(b)+log(c))^-1)
@test integrate(a^x*b^(-1x), x) == :(a^x*b^(-1x)*(-1*log(b)+log(a))^-1)
@test integrate(a^x*b^(-1x)*x^2, x) == :(2*a^x*b^(-1x)*(-1*log(b)+log(a))^-3+a^x*b^(-1x)*x^2*(-1*log(b)+log(a))^-1+-2*x*a^x*b^(-1x)*(-1*log(b)+log(a))^-2)
@test integrate((f+g*x)^3*(a+b*exp(h+i*x)+c*exp(2h+2*i*x))^-1*(d+e*exp(h+i*x)), x) == :(g^-1*(f+g*x)^4*(-4*(b^2+-4*a*c)^(1/2)+4b)^-1*(e+(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))+g^-1*(f+g*x)^4*(4b+4*(b^2+-4*a*c)^(1/2))^-1*(e+-1*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))+-1*g^3*i^-4*(b+(b^2+-4*a*c)^(1/2))^-1*(6*e+-6*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(4,-2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*g^3*i^-4*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(6*e+6*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(4,-2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*i^-1*(b+(b^2+-4*a*c)^(1/2))^-1*(f+g*x)^3*(e+-1*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*log(1+2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*i^-1*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(f+g*x)^3*(e+(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*log(1+2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+g^2*i^-3*(b+(b^2+-4*a*c)^(1/2))^-1*(f+g*x)*(6*e+-6*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(3,-2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+g^2*i^-3*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(f+g*x)*(6*e+6*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(3,-2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*g*i^-2*(b+(b^2+-4*a*c)^(1/2))^-1*(f+g*x)^2*(3*e+-3*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(2,-2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*g*i^-2*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(f+g*x)^2*(3*e+3*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(2,-2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x)))
@test integrate((f+g*x)^2*(a+b*exp(h+i*x)+c*exp(2h+2*i*x))^-1*(d+e*exp(h+i*x)), x) == :(g^-1*(f+g*x)^3*(-3*(b^2+-4*a*c)^(1/2)+3b)^-1*(e+(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))+g^-1*(f+g*x)^3*(3b+3*(b^2+-4*a*c)^(1/2))^-1*(e+-1*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))+g^2*i^-3*(b+(b^2+-4*a*c)^(1/2))^-1*(2*e+-2*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(3,-2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+g^2*i^-3*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(2*e+2*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(3,-2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*i^-1*(b+(b^2+-4*a*c)^(1/2))^-1*(f+g*x)^2*(e+-1*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*log(1+2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*i^-1*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(f+g*x)^2*(e+(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*log(1+2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*g*i^-2*(b+(b^2+-4*a*c)^(1/2))^-1*(f+g*x)*(2*e+-2*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(2,-2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*g*i^-2*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(f+g*x)*(2*e+2*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(2,-2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x)))
@test integrate((a+b*exp(h+i*x)+c*exp(2h+2*i*x))^-1*(d+e*exp(h+i*x))*(f+g*x), x) == :(g^-1*(f+g*x)^2*(-2*(b^2+-4*a*c)^(1/2)+2b)^-1*(e+(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))+g^-1*(f+g*x)^2*(2b+2*(b^2+-4*a*c)^(1/2))^-1*(e+-1*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))+-1*g*i^-2*(b+(b^2+-4*a*c)^(1/2))^-1*(e+-1*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(2,-2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*g*i^-2*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(e+(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*Polylogarithms.polylog(2,-2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*i^-1*(b+(b^2+-4*a*c)^(1/2))^-1*(e+-1*(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*(f+g*x)*log(1+2*c*(b+(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x))+-1*i^-1*(b+-1*(b^2+-4*a*c)^(1/2))^-1*(e+(b^2+-4*a*c)^-1//2*(-1*b*e+2*c*d))*(f+g*x)*log(1+2*c*(b+-1*(b^2+-4*a*c)^(1/2))^-1*exp(h+i*x)))
@test integrate((a+b*exp(h+i*x)+c*exp(2h+2*i*x))^-1*(d+e*exp(h+i*x)), x) == :(d*x*a^-1+-1//2*d*a^-1*i^-1*log(a+b*exp(h+i*x)+c*exp(2h+2*i*x))+a^-1*i^-1*(b^2+-4*a*c)^-1//2*(b*d+-2*a*e)*arctanh((b^2+-4*a*c)^-1//2*(b+2*c*exp(h+i*x))))
@test integrate(x*(b*e+-1*b*e*exp(2c+2*d*x)+-2*a*e*exp(c+d*x))^-1*(b*e+-1*a*e*exp(c+d*x)), x) == :((1/2)*x^2+-1//2*d^-2*Polylogarithms.polylog(2,-1*b*(a+(a^2+b^2)^(1/2))^-1*exp(c+d*x))+-1//2*d^-2*Polylogarithms.polylog(2,-1*b*(a+-1*(a^2+b^2)^(1/2))^-1*exp(c+d*x))+-1//2*x*d^-1*log(1+b*(a+(a^2+b^2)^(1/2))^-1*exp(c+d*x))+-1//2*x*d^-1*log(1+b*(a+-1*(a^2+b^2)^(1/2))^-1*exp(c+d*x)))
@test integrate((d+e*x)^m*exp(log((d+e*x)^n)^2), x) == :((1/2)*pi^(1/2)*e^-1*n^-1*((d+e*x)^n)^(-1*n^-1*(1+m))*(d+e*x)^(1+m)*erfi((1/2)*n^-1*(1+m+2*n*log((d+e*x)^n)))*exp(-1//4*n^-2*(1+m)^2))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n)^2))*(d*g+e*g*x)^m, x) == :((1/2)*pi^(1/2)*F^(a*f)*b^-1//2*e^-1*f^-1//2*g^-1*n^-1*(c*(d+e*x)^n)^(-1*n^-1*(1+m))*(d*g+e*g*x)^(1+m)*log(F)^-1//2*erfi((1/2)*b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(1+m+2*b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-1*f^-1*n^-2*(1+m)^2*log(F)^-1))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n)^2))*(d*g+e*g*x)^2, x) == :((1/2)*pi^(1/2)*F^(a*f)*b^-1//2*e^-1*f^-1//2*g^2*n^-1*(c*(d+e*x)^n)^(-3*n^-1)*(d+e*x)^3*log(F)^-1//2*erfi((1/2)*b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(3+2*b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-9//4*b^-1*f^-1*n^-2*log(F)^-1))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n)^2))*(d*g+e*g*x), x) == :((1/2)*g*pi^(1/2)*F^(a*f)*b^-1//2*e^-1*f^-1//2*n^-1*(c*(d+e*x)^n)^(-2*n^-1)*(d+e*x)^2*log(F)^-1//2*erfi(b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(1+b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-1*b^-1*f^-1*n^-2*log(F)^-1))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n)^2)), x) == :((1/2)*pi^(1/2)*F^(a*f)*b^-1//2*e^-1*f^-1//2*n^-1*(c*(d+e*x)^n)^(-1*n^-1)*log(F)^-1//2*(d+e*x)*erfi((1/2)*b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(1+2*b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-1*f^-1*n^-2*log(F)^-1))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n)^2))*(d*g+e*g*x)^-1, x) == :((1/2)*pi^(1/2)*F^(a*f)*b^-1//2*e^-1*f^-1//2*g^-1*n^-1*log(F)^-1//2*erfi(b^(1/2)*f^(1/2)*log(F)^(1/2)*log(c*(d+e*x)^n)))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n)^2))*(g+h*x)^3, x) == :((1/2)*pi^(1/2)*F^(a*f)*b^-1//2*e^-4*f^-1//2*h^3*n^-1*(c*(d+e*x)^n)^(-4*n^-1)*(d+e*x)^4*log(F)^-1//2*erfi(b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(2+b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-4*b^-1*f^-1*n^-2*log(F)^-1)+(1/2)*pi^(1/2)*F^(a*f)*b^-1//2*e^-4*f^-1//2*n^-1*(c*(d+e*x)^n)^(-1*n^-1)*(e*g+-1*d*h)^3*log(F)^-1//2*(d+e*x)*erfi((1/2)*b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(1+2*b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-1*f^-1*n^-2*log(F)^-1)+3//2*h*pi^(1/2)*F^(a*f)*b^-1//2*e^-4*f^-1//2*n^-1*(c*(d+e*x)^n)^(-2*n^-1)*(d+e*x)^2*(e*g+-1*d*h)^2*log(F)^-1//2*erfi(b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(1+b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-1*b^-1*f^-1*n^-2*log(F)^-1)+3//2*pi^(1/2)*F^(a*f)*b^-1//2*e^-4*f^-1//2*h^2*n^-1*(c*(d+e*x)^n)^(-3*n^-1)*(d+e*x)^3*log(F)^-1//2*(e*g+-1*d*h)*erfi((1/2)*b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(3+2*b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-9//4*b^-1*f^-1*n^-2*log(F)^-1))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n)^2))*(g+h*x)^2, x) == :((1/2)*pi^(1/2)*F^(a*f)*b^-1//2*e^-3*f^-1//2*h^2*n^-1*(c*(d+e*x)^n)^(-3*n^-1)*(d+e*x)^3*log(F)^-1//2*erfi((1/2)*b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(3+2*b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-9//4*b^-1*f^-1*n^-2*log(F)^-1)+(1/2)*pi^(1/2)*F^(a*f)*b^-1//2*e^-3*f^-1//2*n^-1*(c*(d+e*x)^n)^(-1*n^-1)*(e*g+-1*d*h)^2*log(F)^-1//2*(d+e*x)*erfi((1/2)*b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(1+2*b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-1*f^-1*n^-2*log(F)^-1)+h*pi^(1/2)*F^(a*f)*b^-1//2*e^-3*f^-1//2*n^-1*(c*(d+e*x)^n)^(-2*n^-1)*(d+e*x)^2*log(F)^-1//2*(e*g+-1*d*h)*erfi(b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(1+b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-1*b^-1*f^-1*n^-2*log(F)^-1))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n)^2))*(g+h*x), x) == :((1/2)*h*pi^(1/2)*F^(a*f)*b^-1//2*e^-2*f^-1//2*n^-1*(c*(d+e*x)^n)^(-2*n^-1)*(d+e*x)^2*log(F)^-1//2*erfi(b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(1+b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-1*b^-1*f^-1*n^-2*log(F)^-1)+(1/2)*pi^(1/2)*F^(a*f)*b^-1//2*e^-2*f^-1//2*n^-1*(c*(d+e*x)^n)^(-1*n^-1)*log(F)^-1//2*(d+e*x)*(e*g+-1*d*h)*erfi((1/2)*b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(1+2*b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-1*f^-1*n^-2*log(F)^-1))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n)^2)), x) == :((1/2)*pi^(1/2)*F^(a*f)*b^-1//2*e^-1*f^-1//2*n^-1*(c*(d+e*x)^n)^(-1*n^-1)*log(F)^-1//2*(d+e*x)*erfi((1/2)*b^-1//2*f^-1//2*n^-1*log(F)^-1//2*(1+2*b*f*n*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-1*f^-1*n^-2*log(F)^-1))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n))^2)*(d*g+e*g*x)^m, x) == :((1/2)*pi^(1/2)*F^(f*a^2)*b^-1*e^-1*f^-1//2*n^-1*(c*(d+e*x)^n)^(-1*n^-1*(1+m))*(d*g+e*g*x)^m*log(F)^-1//2*(d+e*x)*erfi((1/2)*b^-1*f^-1//2*n^-1*log(F)^-1//2*(1+m+2*a*b*f*n*log(F)+2*f*n*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-2*f^-1*n^-2*(1+m+2*a*b*f*n*log(F))^2*log(F)^-1))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n))^2)*(d*g+e*g*x)^2, x) == :((1/2)*pi^(1/2)*b^-1*e^-1*f^-1//2*g^2*n^-1*(c*(d+e*x)^n)^(-3*n^-1)*(d+e*x)^3*log(F)^-1//2*erfi((1/2)*b^-1*f^-1//2*log(F)^-1//2*(3*n^-1+2*a*b*f*log(F)+2*f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-2*f^-1*n^-2*log(F)^-1*(9+12*a*b*f*n*log(F))))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n))^2)*(d*g+e*g*x), x) == :((1/2)*g*pi^(1/2)*b^-1*e^-1*f^-1//2*n^-1*(c*(d+e*x)^n)^(-2*n^-1)*(d+e*x)^2*log(F)^-1//2*erfi(b^-1*f^-1//2*log(F)^-1//2*(n^-1+a*b*f*log(F)+f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1*b^-2*f^-1*n^-2*log(F)^-1*(1+2*a*b*f*n*log(F))))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n))^2), x) == :((1/2)*pi^(1/2)*b^-1*e^-1*f^-1//2*n^-1*(c*(d+e*x)^n)^(-1*n^-1)*log(F)^-1//2*(d+e*x)*erfi((1/2)*b^-1*f^-1//2*log(F)^-1//2*(n^-1+2*a*b*f*log(F)+2*f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-2*f^-1*n^-2*log(F)^-1*(1+4*a*b*f*n*log(F))))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n))^2)*(d*g+e*g*x)^-1, x) == :((1/2)*pi^(1/2)*b^-1*e^-1*f^-1//2*g^-1*n^-1*log(F)^-1//2*erfi(a*f^(1/2)*log(F)^(1/2)+b*f^(1/2)*log(F)^(1/2)*log(c*(d+e*x)^n)))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n))^2)*(g+h*x)^3, x) == :((1/2)*pi^(1/2)*b^-1*e^-4*f^-1//2*h^3*n^-1*(c*(d+e*x)^n)^(-4*n^-1)*(d+e*x)^4*log(F)^-1//2*erfi(b^-1*f^-1//2*log(F)^-1//2*(2*n^-1+a*b*f*log(F)+f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1*b^-2*f^-1*n^-2*log(F)^-1*(4+4*a*b*f*n*log(F)))+(1/2)*pi^(1/2)*b^-1*e^-4*f^-1//2*n^-1*(c*(d+e*x)^n)^(-1*n^-1)*(e*g+-1*d*h)^3*log(F)^-1//2*(d+e*x)*erfi((1/2)*b^-1*f^-1//2*log(F)^-1//2*(n^-1+2*a*b*f*log(F)+2*f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-2*f^-1*n^-2*log(F)^-1*(1+4*a*b*f*n*log(F)))+3//2*h*pi^(1/2)*b^-1*e^-4*f^-1//2*n^-1*(c*(d+e*x)^n)^(-2*n^-1)*(d+e*x)^2*(e*g+-1*d*h)^2*log(F)^-1//2*erfi(b^-1*f^-1//2*log(F)^-1//2*(n^-1+a*b*f*log(F)+f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1*b^-2*f^-1*n^-2*log(F)^-1*(1+2*a*b*f*n*log(F)))+3//2*pi^(1/2)*b^-1*e^-4*f^-1//2*h^2*n^-1*(c*(d+e*x)^n)^(-3*n^-1)*(d+e*x)^3*log(F)^-1//2*(e*g+-1*d*h)*erfi((1/2)*b^-1*f^-1//2*log(F)^-1//2*(3*n^-1+2*a*b*f*log(F)+2*f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-2*f^-1*n^-2*log(F)^-1*(9+12*a*b*f*n*log(F))))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n))^2)*(g+h*x)^2, x) == :((1/2)*pi^(1/2)*b^-1*e^-3*f^-1//2*h^2*n^-1*(c*(d+e*x)^n)^(-3*n^-1)*(d+e*x)^3*log(F)^-1//2*erfi((1/2)*b^-1*f^-1//2*log(F)^-1//2*(3*n^-1+2*a*b*f*log(F)+2*f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-2*f^-1*n^-2*log(F)^-1*(9+12*a*b*f*n*log(F)))+(1/2)*pi^(1/2)*b^-1*e^-3*f^-1//2*n^-1*(c*(d+e*x)^n)^(-1*n^-1)*(e*g+-1*d*h)^2*log(F)^-1//2*(d+e*x)*erfi((1/2)*b^-1*f^-1//2*log(F)^-1//2*(n^-1+2*a*b*f*log(F)+2*f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-2*f^-1*n^-2*log(F)^-1*(1+4*a*b*f*n*log(F)))+h*pi^(1/2)*b^-1*e^-3*f^-1//2*n^-1*(c*(d+e*x)^n)^(-2*n^-1)*(d+e*x)^2*log(F)^-1//2*(e*g+-1*d*h)*erfi(b^-1*f^-1//2*log(F)^-1//2*(n^-1+a*b*f*log(F)+f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1*b^-2*f^-1*n^-2*log(F)^-1*(1+2*a*b*f*n*log(F))))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n))^2)*(g+h*x), x) == :((1/2)*h*pi^(1/2)*b^-1*e^-2*f^-1//2*n^-1*(c*(d+e*x)^n)^(-2*n^-1)*(d+e*x)^2*log(F)^-1//2*erfi(b^-1*f^-1//2*log(F)^-1//2*(n^-1+a*b*f*log(F)+f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1*b^-2*f^-1*n^-2*log(F)^-1*(1+2*a*b*f*n*log(F)))+(1/2)*pi^(1/2)*b^-1*e^-2*f^-1//2*n^-1*(c*(d+e*x)^n)^(-1*n^-1)*log(F)^-1//2*(d+e*x)*(e*g+-1*d*h)*erfi((1/2)*b^-1*f^-1//2*log(F)^-1//2*(n^-1+2*a*b*f*log(F)+2*f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-2*f^-1*n^-2*log(F)^-1*(1+4*a*b*f*n*log(F))))
@test integrate(F^(f*(a+b*log(c*(d+e*x)^n))^2), x) == :((1/2)*pi^(1/2)*b^-1*e^-1*f^-1//2*n^-1*(c*(d+e*x)^n)^(-1*n^-1)*log(F)^-1//2*(d+e*x)*erfi((1/2)*b^-1*f^-1//2*log(F)^-1//2*(n^-1+2*a*b*f*log(F)+2*f*b^2*log(F)*log(c*(d+e*x)^n)))*exp(-1//4*b^-2*f^-1*n^-2*log(F)^-1*(1+4*a*b*f*n*log(F))))
@test integrate(F^(a+b*x+c*x^3)*(b+3*c*x^2), x) == :(F^(a+b*x+c*x^3)*log(F)^-1)
@test integrate(F^((a+b*x+c*x^2)^-1)*(a+b*x+c*x^2)^-2*(b+2*c*x), x) == :(-1*F^((a+b*x+c*x^2)^-1)*log(F)^-1)
@test integrate((a+b*x+c*x^2)^m*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :((a+b*x+c*x^2)^m*(-1a+-1*b*x+-1*c*x^2)^(-1m)*SpecialFunctions.gamma(1+m,-1a+-1*b*x+-1*c*x^2))
@test integrate((a+b*x+c*x^2)^3*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :(-6*exp(a+b*x+c*x^2)+(a+b*x+c*x^2)^3*exp(a+b*x+c*x^2)+-3*(a+b*x+c*x^2)^2*exp(a+b*x+c*x^2)+6*(a+b*x+c*x^2)*exp(a+b*x+c*x^2))
@test integrate((a+b*x+c*x^2)^2*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :(2*exp(a+b*x+c*x^2)+(a+b*x+c*x^2)^2*exp(a+b*x+c*x^2)+-2*(a+b*x+c*x^2)*exp(a+b*x+c*x^2))
@test integrate((b+2*c*x)*(a+b*x+c*x^2)*exp(a+b*x+c*x^2), x) == :(-1*exp(a+b*x+c*x^2)+(a+b*x+c*x^2)*exp(a+b*x+c*x^2))
@test integrate((b+2*c*x)*exp(a+b*x+c*x^2), x) == :(exp(a+b*x+c*x^2))
@test integrate((a+b*x+c*x^2)^-1*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :(expintegralei(a+b*x+c*x^2))
@test integrate((a+b*x+c*x^2)^-2*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :(-1*(a+b*x+c*x^2)^-1*exp(a+b*x+c*x^2)+expintegralei(a+b*x+c*x^2))
@test integrate((a+b*x+c*x^2)^-3*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :((1/2)*expintegralei(a+b*x+c*x^2)+-1*(2a+2*b*x+2*c*x^2)^-1*exp(a+b*x+c*x^2)+-1//2*(a+b*x+c*x^2)^-2*exp(a+b*x+c*x^2))
@test integrate((a+b*x+c*x^2)^7//2*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :((a+b*x+c*x^2)^7//2*exp(a+b*x+c*x^2)+-105//8*(a+b*x+c*x^2)^(1/2)*exp(a+b*x+c*x^2)+-7//2*(a+b*x+c*x^2)^5//2*exp(a+b*x+c*x^2)+35//4*(a+b*x+c*x^2)^3//2*exp(a+b*x+c*x^2)+105//16*pi^(1/2)*erfi((a+b*x+c*x^2)^(1/2)))
@test integrate((a+b*x+c*x^2)^5//2*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :((a+b*x+c*x^2)^5//2*exp(a+b*x+c*x^2)+-15//8*pi^(1/2)*erfi((a+b*x+c*x^2)^(1/2))+-5//2*(a+b*x+c*x^2)^3//2*exp(a+b*x+c*x^2)+15//4*(a+b*x+c*x^2)^(1/2)*exp(a+b*x+c*x^2))
@test integrate((a+b*x+c*x^2)^3//2*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :((a+b*x+c*x^2)^3//2*exp(a+b*x+c*x^2)+-3//2*(a+b*x+c*x^2)^(1/2)*exp(a+b*x+c*x^2)+3//4*pi^(1/2)*erfi((a+b*x+c*x^2)^(1/2)))
@test integrate((a+b*x+c*x^2)^(1/2)*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :((a+b*x+c*x^2)^(1/2)*exp(a+b*x+c*x^2)+-1//2*pi^(1/2)*erfi((a+b*x+c*x^2)^(1/2)))
@test integrate((a+b*x+c*x^2)^-1//2*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :(pi^(1/2)*erfi((a+b*x+c*x^2)^(1/2)))
@test integrate((a+b*x+c*x^2)^-3//2*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :(-2*(a+b*x+c*x^2)^-1//2*exp(a+b*x+c*x^2)+2*pi^(1/2)*erfi((a+b*x+c*x^2)^(1/2)))
@test integrate((a+b*x+c*x^2)^-5//2*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :(-4//3*(a+b*x+c*x^2)^-1//2*exp(a+b*x+c*x^2)+-2//3*(a+b*x+c*x^2)^-3//2*exp(a+b*x+c*x^2)+4//3*pi^(1/2)*erfi((a+b*x+c*x^2)^(1/2)))
@test integrate((a+b*x+c*x^2)^-7//2*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :(-8//15*(a+b*x+c*x^2)^-1//2*exp(a+b*x+c*x^2)+-4//15*(a+b*x+c*x^2)^-3//2*exp(a+b*x+c*x^2)+-2//5*(a+b*x+c*x^2)^-5//2*exp(a+b*x+c*x^2)+8//15*pi^(1/2)*erfi((a+b*x+c*x^2)^(1/2)))
@test integrate((a+b*x+c*x^2)^-9//2*(b+2*c*x)*exp(a+b*x+c*x^2), x) == :(-16//105*(a+b*x+c*x^2)^-1//2*exp(a+b*x+c*x^2)+-8//105*(a+b*x+c*x^2)^-3//2*exp(a+b*x+c*x^2)+-4//35*(a+b*x+c*x^2)^-5//2*exp(a+b*x+c*x^2)+-2//7*(a+b*x+c*x^2)^-7//2*exp(a+b*x+c*x^2)+16//105*pi^(1/2)*erfi((a+b*x+c*x^2)^(1/2)))
@test integrate((1+-1*exp(-2x))^-1//2*exp(-1x), x) == :(-1*arcsin(exp(-1x)))
@test integrate((4+exp(2x))^-1*exp(x), x) == :((1/2)*arctan((1/2)*exp(x)))
@test integrate((1+-1*exp(2x))^-1*exp(x), x) == :(arctanh(exp(x)))
@test integrate((3+-4*exp(2x))^-1*exp(x), x) == :(1//6*3^(1/2)*arctanh(2//3*3^(1/2)*exp(x)))
@test integrate((3+-4*exp(2x))^(1/2)*exp(x), x) == :(3//4*arcsin(2//3*3^(1/2)*exp(x))+(1/2)*(3+-4*exp(2x))^(1/2)*exp(x))
@test integrate(x^3*exp(x^2), x) == :(-1//2*exp(x^2)+(1/2)*x^2*exp(x^2))
@test integrate((1+-1*exp(2x))^(1/2)*exp(x), x) == :((1/2)*arcsin(exp(x))+(1/2)*(1+-1*exp(2x))^(1/2)*exp(x))
@test integrate((1+exp(x)+exp(2x))^-1//2*exp(x), x) == :(arcsinh(1//3*3^(1/2)*(1+2*exp(x))))
@test integrate((-4+exp(2x))^-1*exp(x), x) == :(-1//2*arctanh((1/2)*exp(x)))
@test integrate(x*exp(2+-1*x^2), x) == :(-1//2*exp(2+-1*x^2))
@test integrate(-1*x^ℯ+exp(x), x) == :(-1*x^(1+ℯ)*(1+ℯ)^-1+exp(x))
@test integrate((3+exp(2x))^-1*(-1+exp(2x)), x) == :(-1//3*x+2//3*log(3+exp(2x)))
@test integrate((1+-1*exp(2x))^-1//2*exp(x), x) == :(arcsin(exp(x)))
@test integrate((1+exp(4x))^-1*exp(2x), x) == :((1/2)*arctan(exp(2x)))
@test integrate((-3*exp(x)+exp(2x))^-1, x) == :(-1//9*x+1//3*exp(-1x)+1//9*log(3+-1*exp(x)))
@test integrate((1+exp(x))^-1*(-2+exp(x))*exp(x), x) == :(-3*log(1+exp(x))+exp(x))
@test integrate((-1+exp(2x))^-1*exp(x), x) == :(-1*arctanh(exp(x)))
@test integrate((1+exp(2x))^-1*exp(x), x) == :(arctan(exp(x)))
@test integrate((-1*exp(-2x)+exp(2x))^-1*(exp(-2x)+exp(2x)), x) == :((1/2)*log(1+-1*exp(4x))+-1x)
@test integrate((1+exp(2x))^-1//2*exp(x), x) == :(arcsinh(exp(x)))
@test integrate((4+x)^-1//2*exp((4+x)^(1/2)), x) == :(2*exp((4+x)^(1/2)))
@test integrate(x*(-1+exp(2*x^2))^-1//2, x) == :((1/2)*arctan((-1+exp(2*x^2))^(1/2)))
@test integrate((9+exp(2x))^(1/2)*exp(x), x) == :(9//2*arcsinh(1//3*exp(x))+(1/2)*(9+exp(2x))^(1/2)*exp(x))
@test integrate((1+exp(2x))^(1/2)*exp(x), x) == :((1/2)*arcsinh(exp(x))+(1/2)*(1+exp(2x))^(1/2)*exp(x))
@test integrate(x*(1+exp(2*x^2))^-1*exp(x^2), x) == :((1/2)*arctan(exp(x^2)))
@test integrate(x^2*exp(x^3//2), x) == :(-2//3*exp(x^3//2)+2//3*x^3//2*exp(x^3//2))
@test integrate((-3+exp(2x))^-1//2*exp(x), x) == :(arctanh((-3+exp(2x))^-1//2*exp(x)))
@test integrate((16+-1*exp(2x))^-1*exp(x), x) == :(1//4*arctanh(1//4*exp(x)))
@test integrate((1+exp(10x))^-1*exp(5x), x) == :(1//5*arctan(exp(5x)))
@test integrate((16+exp(8x))^-1//2*exp(4x), x) == :(1//4*arcsinh(1//4*exp(4x)))
@test integrate(x^2*cos(7*x^3)*exp(4*x^3), x) == :(4//195*cos(7*x^3)*exp(4*x^3)+7//195*exp(4*x^3)*sin(7*x^3))
@test integrate(x*exp(1+x^2), x) == :((1/2)*exp(1+x^2))
@test integrate(x^2*exp(1+x^3), x) == :(1//3*exp(1+x^3))
@test integrate(x^-1//2*exp(x^(1/2)), x) == :(2*exp(x^(1/2)))
@test integrate(x^-2//3*exp(x^1//3), x) == :(3*exp(x^1//3))
@test integrate((-8+x^5+2*x^3)*exp(3x), x) == :(-724//243*exp(3x)+-38//27*x^2*exp(3x)+-5//9*x^4*exp(3x)+1//3*x^5*exp(3x)+38//27*x^3*exp(3x)+76//81*x*exp(3x))
@test integrate((x+exp(x))^2, x) == :((1/2)*exp(2x)+-2*exp(x)+1//3*x^3+2*x*exp(x))
@test integrate((exp(x)+exp(2x)+exp(3x))*exp(-4x), x) == :(-1*exp(-1x)+-1//2*exp(-2x)+-1//3*exp(-3x))
@test integrate((1+2*exp(x)+exp(2x))^-1*exp(x), x) == :(-1*(1+exp(x))^-1)
@test integrate(cos(3x)*exp(-1x), x) == :(-1//10*cos(3x)*exp(-1x)+3//10*exp(-1x)*sin(3x))
@test integrate((2+3*exp(x)+exp(2x))^-1*exp(2x), x) == :(-1*log(1+exp(x))+2*log(2+exp(x)))
@test integrate((1+exp(x))^-1*exp(2x), x) == :(-1*log(1+exp(x))+exp(x))
@test integrate(cos(5x)*exp(3x), x) == :(3//34*cos(5x)*exp(3x)+5//34*exp(3x)*sin(5x))
@test integrate(exp(x)*sech(exp(x)), x) == :(arctan(sinh(exp(x))))
@test integrate((1+2*exp(x))^-1*exp(-1x), x) == :(-1*exp(-1x)+-2x+2*log(1+2*exp(x)))
@test integrate(cos(4+3x)*exp(x), x) == :(1//10*cos(4+3x)*exp(x)+3//10*exp(x)*sin(4+3x))
@test integrate(sec(-1+exp(x))^3*exp(x), x) == :(-1//2*arctanh(-1*sin(-1+exp(x)))+(1/2)*sec(-1+exp(x))*tan(-1+exp(x)))
@test integrate(x*(exp(x)+exp(-1x)), x) == :(-1*exp(x)+-1*exp(-1x)+x*exp(x)+-1*x*exp(-1x))
@test integrate((2+3*exp(x)+exp(2x))^-1*exp(x), x) == :(-1*log(2+exp(x))+log(1+exp(x)))
@test integrate((1+exp(x))^-1//3*exp(2x), x) == :(-3//2*(1+exp(x))^2//3+3//5*(1+exp(x))^5//3)
@test integrate((1+exp(x))^-1//4*exp(2x), x) == :(-4//3*(1+exp(x))^3//4+4//7*(1+exp(x))^7//4)
@test integrate((-1+-6*exp(x)+3*exp(2x))^-1//2*(-1*exp(x)+2*exp(2x)), x) == :(2//3*(-1+-6*exp(x)+3*exp(2x))^(1/2)+-1//3*3^(1/2)*arctanh(3^(1/2)*(-1+-6*exp(x)+3*exp(2x))^-1//2*(1+-1*exp(x))))
@test integrate((x^2+-5x)*exp(x), x) == :(7*exp(x)+x^2*exp(x)+-7*x*exp(x))
@test integrate((x^2+-1x)*exp(3x), x) == :(5//27*exp(3x)+-5//9*x*exp(3x)+1//3*x^2*exp(3x))
@test integrate(x^(2x)*(1+log(x))*exp(x^x), x) == :((-1+x^x)*exp(x^x))
@test integrate((exp(x)+exp(-1x))^-1*(exp(5x)+exp(7x)), x) == :(1//6*exp(6x))
@test integrate(x^(-2+-1*x^-1)*(1+-1*log(x)), x) == :(-1*x^(-1*x^-1))
@test integrate((a+b*exp(x))^2, x) == :(x*a^2+(1/2)*b^2*exp(2x)+2*a*b*exp(x))
@test integrate((a+b*exp(x))^3, x) == :(x*a^3+1//3*b^3*exp(3x)+3*b*a^2*exp(x)+3//2*a*b^2*exp(2x))
@test integrate((a+b*exp(x))^4, x) == :(x*a^4+1//4*b^4*exp(4x)+3*a^2*b^2*exp(2x)+4*b*a^3*exp(x)+4//3*a*b^3*exp(3x))
@test integrate((a+b*exp(c+d*x))^-1//2, x) == :(-2*a^-1//2*d^-1*arctanh(a^-1//2*(a+b*exp(c+d*x))^(1/2)))
@test integrate((-1a+b*exp(c+d*x))^-1//2, x) == :(2*a^-1//2*d^-1*arctan(a^-1//2*(-1a+b*exp(c+d*x))^(1/2)))
@test integrate((a+b*exp(c+d*x))^(1/2), x) == :(2*d^-1*(a+b*exp(c+d*x))^(1/2)+-2*a^(1/2)*d^-1*arctanh(a^-1//2*(a+b*exp(c+d*x))^(1/2)))
@test integrate((-1a+b*exp(c+d*x))^(1/2), x) == :(2*d^-1*(-1a+b*exp(c+d*x))^(1/2)+-2*a^(1/2)*d^-1*arctan(a^-1//2*(-1a+b*exp(c+d*x))^(1/2)))
@test integrate(exp(6x)*sin(3x), x) == :(-1//15*cos(3x)*exp(6x)+2//15*exp(6x)*sin(3x))
@test integrate((1+exp(2x))^-1*exp(3x), x) == :(-1*arctan(exp(x))+exp(x))
@test integrate((-1+exp(2x))^-1*exp(3x), x) == :(-1*arctanh(exp(x))+exp(x))
@test integrate((1+exp(2x))^-1//2*exp(-1x), x) == :(-1*(1+exp(2x))^(1/2)*exp(-1x))
@test integrate((-1+-8*exp(x)+exp(2x))^-1*exp(x), x) == :(1//17*17^(1/2)*arctanh(1//17*17^(1/2)*(4+-1*exp(x))))
@test integrate(x^3*exp(7x), x) == :(-6//2401*exp(7x)+-3//49*x^2*exp(7x)+1//7*x^3*exp(7x)+6//343*x*exp(7x))
@test integrate(x^3*exp(8+-2x), x) == :(-3//8*exp(8+-2x)+-3//4*x*exp(8+-2x)+-3//4*x^2*exp(8+-2x)+-1//2*x^3*exp(8+-2x))
@test integrate((9+-1*exp(2x))^(1/2)*exp(x), x) == :(9//2*arcsin(1//3*exp(x))+(1/2)*(9+-1*exp(2x))^(1/2)*exp(x))
@test integrate((9+-1*exp(2x))^(1/2)*exp(6x), x) == :(-27*(9+-1*exp(2x))^3//2+-1//7*(9+-1*exp(2x))^7//2+18//5*(9+-1*exp(2x))^5//2)
@test integrate((9+-1*exp(x))^-5//2*exp(6x), x) == :(-65610*(9+-1*exp(x))^-1//2+-14580*(9+-1*exp(x))^(1/2)+-18*(9+-1*exp(x))^5//2+540*(9+-1*exp(x))^3//2+39366*(9+-1*exp(x))^-3//2+2//7*(9+-1*exp(x))^7//2)
@test integrate(x^3*(2+-7*exp(x^4))^5, x) == :(-140*exp(x^4)+8*x^4+490*exp(2*x^4)+-16807//20*exp(5*x^4)+-3430//3*exp(3*x^4)+12005//8*exp(4*x^4))
@test integrate(x*(1+-1*exp(2*x^2))^(1/2)*exp(x^2), x) == :(1//4*arcsin(exp(x^2))+1//4*(1+-1*exp(2*x^2))^(1/2)*exp(x^2))
@test integrate(x^2*(1+-1*exp(4*x^3))^2*exp(x^3), x) == :(-2//15*exp(5*x^3)+1//3*exp(x^3)+1//27*exp(9*x^3))
@test integrate(exp(x+exp(x)), x) == :(exp(exp(x)))
@test integrate(exp(x+exp(x)+exp(exp(x))), x) == :(exp(exp(exp(x))))
@test integrate((exp(x)+exp(-1x))^2, x) == :((1/2)*exp(2x)+2x+-1//2*exp(-2x))
@test integrate((exp(x)+exp(-1x))^-1, x) == :(arctan(exp(x)))
@test integrate((exp(x)+exp(-1x))^-2, x) == :(-1*(2+2*exp(2x))^-1)
@test integrate((-1*exp(-1x)+exp(x))^-1, x) == :(-1*arctanh(exp(x)))
@test integrate((-1*exp(-1x)+exp(x))^-2, x) == :((2+-2*exp(2x))^-1)
@test integrate((-1*exp(-1x)+exp(x))^2*exp(x), x) == :(-1*exp(-1x)+-2*exp(x)+1//3*exp(3x))
@test integrate((-1*exp(-1x)+exp(x))^3*exp(x), x) == :((1/2)*exp(-2x)+3x+-3//2*exp(2x)+1//4*exp(4x))
@test integrate((1+2^x)^-1*(1+4^x), x) == :(x+2^x*log(2)^-1+-2*log(2)^-1*log(1+2^x))
@test integrate((1+2^(-1x))^-1*(1+4^x), x) == :(2^(-1+2x)*log(2)^-1+-1*2^x*log(2)^-1+2*log(2)^-1*log(1+2^x))
@test integrate(x^-2*exp((a+x)^2)+-2*a*x^-1*exp((a+x)^2), x) == :(pi^(1/2)*erfi(a+x)+-1*x^-1*exp((a+x)^2))
@test integrate((x^4+x^6+x^8)*exp(-1*x^2), x) == :(-147//16*x*exp(-1*x^2)+-49//8*x^3*exp(-1*x^2)+-9//4*x^5*exp(-1*x^2)+-1//2*x^7*exp(-1*x^2)+147//32*pi^(1/2)*erf(x))
@test integrate((-1*exp(x)+exp(3x))^-1, x) == :(-1*arctanh(exp(x))+exp(-1x))
@test integrate((-1+x)^-2*(-5+x+x^2)*exp(x), x) == :(-3*(1+-1x)^-1*exp(x)+exp(x))
@test integrate(x^3*(1+x^2)^-2*exp(x^2), x) == :((2+2*x^2)^-1*exp(x^2))
@test integrate((25+16*exp(2x))^-1//2*exp(3x), x) == :(-25//128*arcsinh(4//5*exp(x))+1//32*(25+16*exp(2x))^(1/2)*exp(x))
@test integrate((x+exp(x))^-1//2*(1+exp(x)), x) == :(2*(x+exp(x))^(1/2))
@test integrate((x+exp(x))^-1*(1+exp(x)), x) == :(log(x+exp(x)))
@test integrate(x^-2*exp(x^2), x) == :(pi^(1/2)*erfi(x)+-1*x^-1*exp(x^2))
@test integrate(x^-2*(1+4*x^4)*exp(x^2), x) == :(-1*x^-1*exp(x^2)+2*x*exp(x^2))
@test integrate((f^x)^(1/2)*(a+b*x)^2, x) == :(2*(f^x)^(1/2)*(a+b*x)^2*log(f)^-1+16*b^2*(f^x)^(1/2)*log(f)^-3+-8*b*(f^x)^(1/2)*log(f)^-2*(a+b*x))
@test integrate(x*3^(1+x^2), x) == :((1/2)*3^(1+x^2)*log(3)^-1)
@test integrate(2^(x^(1/2))*x^-1//2, x) == :(2^(1+x^(1/2))*log(2)^-1)
@test integrate(2^(x^-1)*x^-2, x) == :(-1*2^(x^-1)*log(2)^-1)
@test integrate(2^x+2^(-1x), x) == :(2^x*log(2)^-1+-1*2^(-1x)*log(2)^-1)
@test integrate((2+x^2+-3x)*exp(-4x), x) == :(-11//32*exp(-4x)+-1//4*x^2*exp(-4x)+5//8*x*exp(-4x))
@test integrate(k^((1/2)*x)+x^(k^(1/2)), x) == :(x^(1+k^(1/2))*(1+k^(1/2))^-1+2*k^((1/2)*x)*log(k)^-1)
@test integrate(10^(x^(1/2))*x^-1//2, x) == :(2^(1+x^(1/2))*5^(x^(1/2))*log(10)^-1)
@test integrate((x+exp(x))^-1//2+(x+exp(x))^-1//2*exp(x), x) == :(2*(x+exp(x))^(1/2))
@test integrate(2*(x+exp(x))^(1/2)+x*(x+exp(x))^-1//2*(1+exp(x)), x) == :(2*x*(x+exp(x))^(1/2))
@test integrate(2*(x+exp(x))^(1/2)+x*(x+exp(x))^-1//2+x*(x+exp(x))^-1//2*exp(x), x) == :(2*x*(x+exp(x))^(1/2))
@test integrate(4//5*x*(x^3+5*exp(x))^(1/2)+1//5*x^2*(x^3+5*exp(x))^-1//2*(3*x^2+5*exp(x)), x) == :(2//5*x^2*(x^3+5*exp(x))^(1/2))
@test integrate(-1*(x+exp(x))^-1//3*(1+exp(x)), x) == :(-3//2*(x+exp(x))^2//3)
@test integrate(-1*(x+exp(x))^-1//3+-1*(x+exp(x))^2//3+x*(x+exp(x))^-1//3, x) == :(-3//2*(x+exp(x))^2//3)
@test integrate((x+exp(x))^-1//3*(5x+(3+2x)*exp(x)), x) == :(3*x*(x+exp(x))^2//3)
@test integrate(3*(x+exp(x))^2//3+2*x*(x+exp(x))^-1//3+2*x*(x+exp(x))^-1//3*exp(x), x) == :(3*x*(x+exp(x))^2//3)
@test integrate((exp(x)+exp(-1x))^2*(-1*exp(-1x)+exp(x))*exp(x), x) == :((1/2)*exp(-2x)+(1/2)*exp(2x)+-1x+1//4*exp(4x))
@test integrate((a*F^(c+d*x))^m*(b*F^(e+f*x))^n, x) == :((a*F^(c+d*x))^m*(b*F^(e+f*x))^n*(d*m+f*n)^-1*log(F)^-1)
@test integrate(exp(a+b*x^n)*exp(c+d*x^n), x) == :(-1*x*n^-1*(-1*x^n*(b+d))^(-1*n^-1)*SpecialFunctions.gamma(n^-1,-1*x^n*(b+d))*exp(a+c))
@test integrate(f^(a+b*x^n)*g^(c+d*x^n), x) == :(-1*x*f^a*g^c*n^-1*(-1*x^n*(b*log(f)+d*log(g)))^(-1*n^-1)*SpecialFunctions.gamma(n^-1,-1*x^n*(b*log(f)+d*log(g))))
@test integrate(x^m*exp(x^n), x) == :(-1*n^-1*x^(1+m)*(-1*x^n)^(-1*n^-1*(1+m))*SpecialFunctions.gamma(n^-1*(1+m),-1*x^n))
@test integrate(f^(x^n)*x^m, x) == :(-1*n^-1*x^(1+m)*(-1*x^n*log(f))^(-1*n^-1*(1+m))*SpecialFunctions.gamma(n^-1*(1+m),-1*x^n*log(f)))
@test integrate((a+b*x)^m*exp((a+b*x)^n), x) == :(-1*b^-1*n^-1*(-1*(a+b*x)^n)^(-1*n^-1*(1+m))*(a+b*x)^(1+m)*SpecialFunctions.gamma(n^-1*(1+m),-1*(a+b*x)^n))
@test integrate(f^((a+b*x)^n)*(a+b*x)^m, x) == :(-1*b^-1*n^-1*(-1*(a+b*x)^n*log(f))^(-1*n^-1*(1+m))*(a+b*x)^(1+m)*SpecialFunctions.gamma(n^-1*(1+m),-1*(a+b*x)^n*log(f)))
@test integrate(x*exp((a+b*x)^3), x) == :(-1//3*b^-2*(-1*(a+b*x)^3)^-2//3*(a+b*x)^2*SpecialFunctions.gamma(2//3,-1*(a+b*x)^3)+1//3*a*b^-2*(-1*(a+b*x)^3)^-1//3*(a+b*x)*SpecialFunctions.gamma(1//3,-1*(a+b*x)^3))
@test integrate(x^-1*(x+exp(x))^-1//3*(3*(x+exp(x))^1//3+5*x^2+(2*x^2+3x)*exp(x)), x) == :(3*log(x)+3*x*(x+exp(x))^2//3)

ext: jl

max_stars_repo_path: test/2 Exponentials/2.3 Exponential functions.jl