- Split input into 3 regimes
if (* V l) < -inf.0 or -3.264856504357007e-102 < (* V l) < -0.0 or 5.837775632867874e+201 < (* V l)
Initial program 34.5
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied associate-/r*23.0
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{\frac{A}{V}}{\ell}}}\]
if -inf.0 < (* V l) < -3.264856504357007e-102
Initial program 7.4
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied add-sqr-sqrt7.4
\[\leadsto c0 \cdot \sqrt{\color{blue}{\sqrt{\frac{A}{V \cdot \ell}} \cdot \sqrt{\frac{A}{V \cdot \ell}}}}\]
Applied sqrt-prod7.6
\[\leadsto c0 \cdot \color{blue}{\left(\sqrt{\sqrt{\frac{A}{V \cdot \ell}}} \cdot \sqrt{\sqrt{\frac{A}{V \cdot \ell}}}\right)}\]
Applied associate-*r*7.6
\[\leadsto \color{blue}{\left(c0 \cdot \sqrt{\sqrt{\frac{A}{V \cdot \ell}}}\right) \cdot \sqrt{\sqrt{\frac{A}{V \cdot \ell}}}}\]
- Using strategy
rm Applied div-inv7.6
\[\leadsto \left(c0 \cdot \sqrt{\sqrt{\color{blue}{A \cdot \frac{1}{V \cdot \ell}}}}\right) \cdot \sqrt{\sqrt{\frac{A}{V \cdot \ell}}}\]
if -0.0 < (* V l) < 5.837775632867874e+201
Initial program 9.8
\[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.3
\[\leadsto \begin{array}{l}
\mathbf{if}\;V \cdot \ell = -\infty:\\
\;\;\;\;\sqrt{\frac{\frac{A}{V}}{\ell}} \cdot c0\\
\mathbf{elif}\;V \cdot \ell \le -3.264856504357007 \cdot 10^{-102}:\\
\;\;\;\;\left(c0 \cdot \sqrt{\sqrt{\frac{1}{V \cdot \ell} \cdot A}}\right) \cdot \sqrt{\sqrt{\frac{A}{V \cdot \ell}}}\\
\mathbf{elif}\;V \cdot \ell \le -0.0 \lor \neg \left(V \cdot \ell \le 5.837775632867874 \cdot 10^{+201}\right):\\
\;\;\;\;\sqrt{\frac{\frac{A}{V}}{\ell}} \cdot c0\\
\mathbf{else}:\\
\;\;\;\;c0 \cdot \frac{\sqrt{A}}{\sqrt{V \cdot \ell}}\\
\end{array}\]