I have used sympy
to evaluate this for large $a$ and I think that this converges to a value of $\frac{\pi^2}{4}$ but I am not able to arrive at this analytically. So I guess I want to prove analytically: $$ \lim_{a\to\infty}\int_0^a\frac{\tan^{-1}x\tan^{-1}(a-x)}{a}\,\mathrm{d}x = \frac{\pi^2}{4}$$
I have tried Integrating by parts, and Feynman's integral trick but I arrive at integrals which I don't know how to deal.