- Split input into 3 regimes
if (* V l) < -inf.0 or -1.8712132552540234e-118 < (* V l) < -0.0 or 5.98200702246031e+244 < (* V l)
Initial program 36.5
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied associate-/r*25.0
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{\frac{A}{V}}{\ell}}}\]
if -inf.0 < (* V l) < -1.8712132552540234e-118
Initial program 7.7
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied clear-num8.0
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{1}{\frac{V \cdot \ell}{A}}}}\]
if -0.0 < (* V l) < 5.98200702246031e+244
Initial program 9.6
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied sqrt-div0.8
\[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{A}}{\sqrt{V \cdot \ell}}}\]
- Recombined 3 regimes into one program.
Final simplification11.4
\[\leadsto \begin{array}{l}
\mathbf{if}\;V \cdot \ell = -\infty:\\
\;\;\;\;\sqrt{\frac{\frac{A}{V}}{\ell}} \cdot c0\\
\mathbf{elif}\;V \cdot \ell \le -1.8712132552540234 \cdot 10^{-118}:\\
\;\;\;\;\sqrt{\frac{1}{\frac{V \cdot \ell}{A}}} \cdot c0\\
\mathbf{elif}\;V \cdot \ell \le -0.0:\\
\;\;\;\;\sqrt{\frac{\frac{A}{V}}{\ell}} \cdot c0\\
\mathbf{elif}\;V \cdot \ell \le 5.98200702246031 \cdot 10^{+244}:\\
\;\;\;\;\frac{\sqrt{A}}{\sqrt{V \cdot \ell}} \cdot c0\\
\mathbf{else}:\\
\;\;\;\;\sqrt{\frac{\frac{A}{V}}{\ell}} \cdot c0\\
\end{array}\]