I have written a monograph called Elliptic Integrals and Functions, which contains a sizeable collection of formulas and results relating to the named mathematical topics. At the time of this question, however, the monograph was missing a result on the following problem.
Assume $0<m<1$. For an arbitrary complex number $\gamma$, decompose $F(\gamma,m)$ into real and imaginary parts.
(The argument convention, as with all my other questions and answers on the MSE, follows Mathematica/mpmath convention; $m$ is the parameter.)
Because of the addition formulas – section 2.5 in the monograph – as soon as I can write $$F(\gamma,m)=F(\alpha,m)+F(i\beta,m)$$ where $\alpha$ and $\beta$ are real, I solve the above problem as well as the corresponding problems for the other two kinds of elliptic integrals because the extra parts in the addition formulas can themselves be decomposed (though writing out the full formula would be tedious).
Without loss of generality we can take $|\operatorname{Re}(\gamma)|<\frac\pi2$ (if it is exactly $\frac\pi2$, the formula below doesn't work and my answer here applies). Abramowitz and Stegun 17.4.11 gives the following solution: suppose $\gamma=a+bi$, then letting $$B=(1-m)-\cot^2a-m\sinh^2b\csc^2a\qquad C=(m-1)\cot^2a$$ we have $$\alpha=\tan^{-1}\sqrt{\frac2{-B+\sqrt{B^2-4C}}}\qquad\beta=\sinh^{-1}\sqrt{\frac{\tan^2a\cot^2\alpha-1}m}$$ and the signs of $\alpha$ and $\beta$ (which sign for the outer square roots) match those of $a$ and $b$ respectively.
Like the rest of A&S, no proof is given inside. The references, though numbered, are actually in alphabetical order and give no further leads. How can the above solution be shown and can it be simplified in any way?