- Split input into 4 regimes
if (* c0 (sqrt (/ A (* V l)))) < -inf.0
Initial program 61.0
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
Initial simplification47.1
\[\leadsto c0 \cdot \sqrt{\frac{\frac{A}{V}}{\ell}}\]
- Using strategy
rm Applied sqrt-div42.3
\[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{\frac{A}{V}}}{\sqrt{\ell}}}\]
if -inf.0 < (* c0 (sqrt (/ A (* V l)))) < -5.771404596462238e-208 or 0.0 < (* c0 (sqrt (/ A (* V l)))) < 2.0451092951742008e+286
Initial program 0.8
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
if -5.771404596462238e-208 < (* c0 (sqrt (/ A (* V l)))) < 0.0
Initial program 31.1
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
Initial simplification23.6
\[\leadsto c0 \cdot \sqrt{\frac{\frac{A}{V}}{\ell}}\]
if 2.0451092951742008e+286 < (* c0 (sqrt (/ A (* V l))))
Initial program 56.4
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
Initial simplification43.6
\[\leadsto c0 \cdot \sqrt{\frac{\frac{A}{V}}{\ell}}\]
- Using strategy
rm Applied div-inv43.6
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{A}{V} \cdot \frac{1}{\ell}}}\]
Applied sqrt-prod41.9
\[\leadsto c0 \cdot \color{blue}{\left(\sqrt{\frac{A}{V}} \cdot \sqrt{\frac{1}{\ell}}\right)}\]
Applied associate-*r*42.2
\[\leadsto \color{blue}{\left(c0 \cdot \sqrt{\frac{A}{V}}\right) \cdot \sqrt{\frac{1}{\ell}}}\]
- Recombined 4 regimes into one program.
Final simplification14.2
\[\leadsto \begin{array}{l}
\mathbf{if}\;c0 \cdot \sqrt{\frac{A}{V \cdot \ell}} = -\infty:\\
\;\;\;\;\frac{\sqrt{\frac{A}{V}}}{\sqrt{\ell}} \cdot c0\\
\mathbf{elif}\;c0 \cdot \sqrt{\frac{A}{V \cdot \ell}} \le -5.771404596462238 \cdot 10^{-208}:\\
\;\;\;\;c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\\
\mathbf{elif}\;c0 \cdot \sqrt{\frac{A}{V \cdot \ell}} \le 0.0:\\
\;\;\;\;c0 \cdot \sqrt{\frac{\frac{A}{V}}{\ell}}\\
\mathbf{elif}\;c0 \cdot \sqrt{\frac{A}{V \cdot \ell}} \le 2.0451092951742008 \cdot 10^{+286}:\\
\;\;\;\;c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\\
\mathbf{else}:\\
\;\;\;\;\left(\sqrt{\frac{A}{V}} \cdot c0\right) \cdot \sqrt{\frac{1}{\ell}}\\
\end{array}\]