- Split input into 3 regimes
if t < -116185823.38286732 or -4.699564094972082e-157 < t < -5.874223708412311e-281
Initial program 45.7
\[\frac{\sqrt{2} \cdot t}{\sqrt{\frac{x + 1}{x - 1} \cdot \left(\ell \cdot \ell + 2 \cdot \left(t \cdot t\right)\right) - \ell \cdot \ell}}\]
Taylor expanded around -inf 11.7
\[\leadsto \frac{\sqrt{2} \cdot t}{\color{blue}{2 \cdot \frac{t}{{\left(\sqrt{2}\right)}^{3} \cdot {x}^{2}} - \left(2 \cdot \frac{t}{\sqrt{2} \cdot {x}^{2}} + \left(t \cdot \sqrt{2} + 2 \cdot \frac{t}{\sqrt{2} \cdot x}\right)\right)}}\]
Simplified11.7
\[\leadsto \frac{\sqrt{2} \cdot t}{\color{blue}{\left(\frac{\frac{2}{x}}{x} \cdot \left(\frac{\frac{t}{\sqrt{2}}}{2} - \frac{t}{\sqrt{2}}\right) - \sqrt{2} \cdot t\right) + -2 \cdot \frac{\frac{t}{\sqrt{2}}}{x}}}\]
if -116185823.38286732 < t < -4.699564094972082e-157 or -5.874223708412311e-281 < t < 22733256174400524.0
Initial program 39.6
\[\frac{\sqrt{2} \cdot t}{\sqrt{\frac{x + 1}{x - 1} \cdot \left(\ell \cdot \ell + 2 \cdot \left(t \cdot t\right)\right) - \ell \cdot \ell}}\]
Taylor expanded around inf 16.5
\[\leadsto \frac{\sqrt{2} \cdot t}{\sqrt{\color{blue}{2 \cdot {t}^{2} + \left(2 \cdot \frac{{\ell}^{2}}{x} + 4 \cdot \frac{{t}^{2}}{x}\right)}}}\]
Simplified12.2
\[\leadsto \frac{\sqrt{2} \cdot t}{\sqrt{\color{blue}{\frac{\ell \cdot 2}{\frac{x}{\ell}} + t \cdot \left(t \cdot \left(2 + \frac{4}{x}\right)\right)}}}\]
- Using strategy
rm Applied add-sqr-sqrt12.3
\[\leadsto \frac{\color{blue}{\left(\sqrt{\sqrt{2}} \cdot \sqrt{\sqrt{2}}\right)} \cdot t}{\sqrt{\frac{\ell \cdot 2}{\frac{x}{\ell}} + t \cdot \left(t \cdot \left(2 + \frac{4}{x}\right)\right)}}\]
Applied associate-*l*12.2
\[\leadsto \frac{\color{blue}{\sqrt{\sqrt{2}} \cdot \left(\sqrt{\sqrt{2}} \cdot t\right)}}{\sqrt{\frac{\ell \cdot 2}{\frac{x}{\ell}} + t \cdot \left(t \cdot \left(2 + \frac{4}{x}\right)\right)}}\]
if 22733256174400524.0 < t
Initial program 42.2
\[\frac{\sqrt{2} \cdot t}{\sqrt{\frac{x + 1}{x - 1} \cdot \left(\ell \cdot \ell + 2 \cdot \left(t \cdot t\right)\right) - \ell \cdot \ell}}\]
Taylor expanded around inf 4.5
\[\leadsto \frac{\sqrt{2} \cdot t}{\color{blue}{\left(2 \cdot \frac{t}{\sqrt{2} \cdot {x}^{2}} + \left(t \cdot \sqrt{2} + 2 \cdot \frac{t}{\sqrt{2} \cdot x}\right)\right) - 2 \cdot \frac{t}{{\left(\sqrt{2}\right)}^{3} \cdot {x}^{2}}}}\]
Simplified4.5
\[\leadsto \frac{\sqrt{2} \cdot t}{\color{blue}{\left(\sqrt{2} \cdot t + \frac{\frac{t}{\sqrt{2}} \cdot 2}{x}\right) + \left(\frac{\frac{t}{\sqrt{2}} \cdot 2}{x \cdot x} - \frac{\frac{t}{\sqrt{2}}}{x \cdot x}\right)}}\]
- Recombined 3 regimes into one program.
Final simplification9.9
\[\leadsto \begin{array}{l}
\mathbf{if}\;t \le -116185823.38286732:\\
\;\;\;\;\frac{\sqrt{2} \cdot t}{\left(\left(\frac{\frac{t}{\sqrt{2}}}{2} - \frac{t}{\sqrt{2}}\right) \cdot \frac{\frac{2}{x}}{x} - \sqrt{2} \cdot t\right) + \frac{\frac{t}{\sqrt{2}}}{x} \cdot -2}\\
\mathbf{elif}\;t \le -4.699564094972082 \cdot 10^{-157}:\\
\;\;\;\;\frac{\sqrt{\sqrt{2}} \cdot \left(\sqrt{\sqrt{2}} \cdot t\right)}{\sqrt{\left(t \cdot \left(2 + \frac{4}{x}\right)\right) \cdot t + \frac{\ell \cdot 2}{\frac{x}{\ell}}}}\\
\mathbf{elif}\;t \le -5.874223708412311 \cdot 10^{-281}:\\
\;\;\;\;\frac{\sqrt{2} \cdot t}{\left(\left(\frac{\frac{t}{\sqrt{2}}}{2} - \frac{t}{\sqrt{2}}\right) \cdot \frac{\frac{2}{x}}{x} - \sqrt{2} \cdot t\right) + \frac{\frac{t}{\sqrt{2}}}{x} \cdot -2}\\
\mathbf{elif}\;t \le 22733256174400524.0:\\
\;\;\;\;\frac{\sqrt{\sqrt{2}} \cdot \left(\sqrt{\sqrt{2}} \cdot t\right)}{\sqrt{\left(t \cdot \left(2 + \frac{4}{x}\right)\right) \cdot t + \frac{\ell \cdot 2}{\frac{x}{\ell}}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{2} \cdot t}{\left(\frac{2 \cdot \frac{t}{\sqrt{2}}}{x \cdot x} - \frac{\frac{t}{\sqrt{2}}}{x \cdot x}\right) + \left(\sqrt{2} \cdot t + \frac{2 \cdot \frac{t}{\sqrt{2}}}{x}\right)}\\
\end{array}\]