\[ \int \frac {\log (x) \log ^2(\log (x))+e^{\frac {2 x^2}{\log (\log (x))}} (-2 x+4 x \log (x) \log (\log (x)))}{\log (x) \log ^2(\log (x))} \, dx \]
Optimal antiderivative \[ {\mathrm e}^{5}+x -41+{\mathrm e}^{\frac {2 x^{2}}{\ln \left (\ln \left (x \right )\right )}} \]
command
integrate(((4*x*ln(x)*ln(ln(x))-2*x)*exp(x**2/ln(ln(x)))**2+ln(x)*ln(ln(x))**2)/ln(x)/ln(ln(x))**2,x)
Sympy 1.10.1 under Python 3.10.4 output
\[ \text {Exception raised: TypeError} \]
Sympy 1.8 under Python 3.8.8 output
\[ x + e^{\frac {2 x^{2}}{\log {\left (\log {\left (x \right )} \right )}}} \]