- Split input into 4 regimes
if (* V l) < -inf.0 or 2.3827088884260915e+191 < (* V l)
Initial program 33.8
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied associate-/r*22.3
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{\frac{A}{V}}{\ell}}}\]
- Using strategy
rm Applied div-inv22.4
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{A}{V} \cdot \frac{1}{\ell}}}\]
if -inf.0 < (* V l) < -7.872123674130423e-308
Initial program 9.6
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied associate-/r*15.6
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{\frac{A}{V}}{\ell}}}\]
- Using strategy
rm Applied div-inv15.6
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{A}{V} \cdot \frac{1}{\ell}}}\]
Taylor expanded around 0 9.6
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{A}{\ell \cdot V}}}\]
if -7.872123674130423e-308 < (* V l) < -0.0
Initial program 59.7
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied associate-/r*37.2
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{\frac{A}{V}}{\ell}}}\]
- Using strategy
rm Applied div-inv37.2
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{A}{V} \cdot \frac{1}{\ell}}}\]
- Using strategy
rm Applied sqrt-prod39.2
\[\leadsto c0 \cdot \color{blue}{\left(\sqrt{\frac{A}{V}} \cdot \sqrt{\frac{1}{\ell}}\right)}\]
if -0.0 < (* V l) < 2.3827088884260915e+191
Initial program 8.8
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied associate-/r*14.6
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{\frac{A}{V}}{\ell}}}\]
- Using strategy
rm Applied div-inv14.7
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{A}{V} \cdot \frac{1}{\ell}}}\]
- Using strategy
rm Applied frac-times8.8
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{A \cdot 1}{V \cdot \ell}}}\]
Applied sqrt-div0.9
\[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{A \cdot 1}}{\sqrt{V \cdot \ell}}}\]
Simplified0.9
\[\leadsto c0 \cdot \frac{\color{blue}{\sqrt{A}}}{\sqrt{V \cdot \ell}}\]
- Recombined 4 regimes into one program.
Final simplification12.0
\[\leadsto \begin{array}{l}
\mathbf{if}\;V \cdot \ell = -\infty:\\
\;\;\;\;c0 \cdot \sqrt{\frac{1}{\ell} \cdot \frac{A}{V}}\\
\mathbf{elif}\;V \cdot \ell \le -7.872123674130423 \cdot 10^{-308}:\\
\;\;\;\;c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\\
\mathbf{elif}\;V \cdot \ell \le -0.0:\\
\;\;\;\;\left(\sqrt{\frac{A}{V}} \cdot \sqrt{\frac{1}{\ell}}\right) \cdot c0\\
\mathbf{elif}\;V \cdot \ell \le 2.3827088884260915 \cdot 10^{+191}:\\
\;\;\;\;c0 \cdot \frac{\sqrt{A}}{\sqrt{V \cdot \ell}}\\
\mathbf{else}:\\
\;\;\;\;c0 \cdot \sqrt{\frac{1}{\ell} \cdot \frac{A}{V}}\\
\end{array}\]