- Split input into 3 regimes
if (* V l) < -inf.0 or -2.404097081918418e-112 < (* V l) < -0.0 or 4.040417189109691e+293 < (* V l)
Initial program 38.5
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied associate-/r*24.9
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{\frac{A}{V}}{\ell}}}\]
if -inf.0 < (* V l) < -2.404097081918418e-112
Initial program 7.6
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
Taylor expanded around inf 7.6
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{A}{\ell \cdot V}}}\]
if -0.0 < (* V l) < 4.040417189109691e+293
Initial program 10.3
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied sqrt-div0.9
\[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{A}}{\sqrt{V \cdot \ell}}}\]
- Recombined 3 regimes into one program.
Final simplification10.6
\[\leadsto \begin{array}{l}
\mathbf{if}\;V \cdot \ell = -\infty:\\
\;\;\;\;\sqrt{\frac{\frac{A}{V}}{\ell}} \cdot c0\\
\mathbf{elif}\;V \cdot \ell \le -2.404097081918418 \cdot 10^{-112}:\\
\;\;\;\;\sqrt{\frac{A}{V \cdot \ell}} \cdot c0\\
\mathbf{elif}\;V \cdot \ell \le -0.0 \lor \neg \left(V \cdot \ell \le 4.040417189109691 \cdot 10^{+293}\right):\\
\;\;\;\;\sqrt{\frac{\frac{A}{V}}{\ell}} \cdot c0\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{A}}{\sqrt{V \cdot \ell}} \cdot c0\\
\end{array}\]