- Split input into 5 regimes
if (* V l) < -inf.0
Initial program 40.2
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied clear-num40.2
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{1}{\frac{V \cdot \ell}{A}}}}\]
- Using strategy
rm Applied associate-/l*22.7
\[\leadsto c0 \cdot \sqrt{\frac{1}{\color{blue}{\frac{V}{\frac{A}{\ell}}}}}\]
- Using strategy
rm Applied sqrt-div22.7
\[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{1}}{\sqrt{\frac{V}{\frac{A}{\ell}}}}}\]
Applied associate-*r/22.7
\[\leadsto \color{blue}{\frac{c0 \cdot \sqrt{1}}{\sqrt{\frac{V}{\frac{A}{\ell}}}}}\]
- Using strategy
rm Applied associate-/r/22.7
\[\leadsto \frac{c0 \cdot \sqrt{1}}{\sqrt{\color{blue}{\frac{V}{A} \cdot \ell}}}\]
Applied sqrt-prod37.7
\[\leadsto \frac{c0 \cdot \sqrt{1}}{\color{blue}{\sqrt{\frac{V}{A}} \cdot \sqrt{\ell}}}\]
if -inf.0 < (* V l) < -1.2396230748310597e-181
Initial program 8.5
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied clear-num9.0
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{1}{\frac{V \cdot \ell}{A}}}}\]
- Using strategy
rm Applied associate-/l*15.4
\[\leadsto c0 \cdot \sqrt{\frac{1}{\color{blue}{\frac{V}{\frac{A}{\ell}}}}}\]
- Using strategy
rm Applied sqrt-div15.4
\[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{1}}{\sqrt{\frac{V}{\frac{A}{\ell}}}}}\]
Applied associate-*r/15.3
\[\leadsto \color{blue}{\frac{c0 \cdot \sqrt{1}}{\sqrt{\frac{V}{\frac{A}{\ell}}}}}\]
Taylor expanded around inf 8.8
\[\leadsto \frac{c0 \cdot \sqrt{1}}{\sqrt{\color{blue}{\frac{\ell \cdot V}{A}}}}\]
if -1.2396230748310597e-181 < (* V l) < 4.4232076767945e-311
Initial program 45.0
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied clear-num45.0
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{1}{\frac{V \cdot \ell}{A}}}}\]
- Using strategy
rm Applied associate-/l*30.3
\[\leadsto c0 \cdot \sqrt{\frac{1}{\color{blue}{\frac{V}{\frac{A}{\ell}}}}}\]
- Using strategy
rm Applied sqrt-div29.5
\[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{1}}{\sqrt{\frac{V}{\frac{A}{\ell}}}}}\]
Applied associate-*r/29.4
\[\leadsto \color{blue}{\frac{c0 \cdot \sqrt{1}}{\sqrt{\frac{V}{\frac{A}{\ell}}}}}\]
- Using strategy
rm Applied div-inv29.5
\[\leadsto \frac{c0 \cdot \sqrt{1}}{\sqrt{\color{blue}{V \cdot \frac{1}{\frac{A}{\ell}}}}}\]
Applied sqrt-prod38.5
\[\leadsto \frac{c0 \cdot \sqrt{1}}{\color{blue}{\sqrt{V} \cdot \sqrt{\frac{1}{\frac{A}{\ell}}}}}\]
Applied associate-/r*39.1
\[\leadsto \color{blue}{\frac{\frac{c0 \cdot \sqrt{1}}{\sqrt{V}}}{\sqrt{\frac{1}{\frac{A}{\ell}}}}}\]
Simplified38.8
\[\leadsto \frac{\frac{c0 \cdot \sqrt{1}}{\sqrt{V}}}{\color{blue}{\sqrt{\frac{\ell}{A}}}}\]
if 4.4232076767945e-311 < (* V l) < 1.2463764972620927e+268
Initial program 9.2
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied div-inv9.3
\[\leadsto c0 \cdot \sqrt{\color{blue}{A \cdot \frac{1}{V \cdot \ell}}}\]
Applied sqrt-prod0.6
\[\leadsto c0 \cdot \color{blue}{\left(\sqrt{A} \cdot \sqrt{\frac{1}{V \cdot \ell}}\right)}\]
if 1.2463764972620927e+268 < (* V l)
Initial program 34.3
\[c0 \cdot \sqrt{\frac{A}{V \cdot \ell}}\]
- Using strategy
rm Applied clear-num34.5
\[\leadsto c0 \cdot \sqrt{\color{blue}{\frac{1}{\frac{V \cdot \ell}{A}}}}\]
- Using strategy
rm Applied associate-/l*22.1
\[\leadsto c0 \cdot \sqrt{\frac{1}{\color{blue}{\frac{V}{\frac{A}{\ell}}}}}\]
- Using strategy
rm Applied sqrt-div22.2
\[\leadsto c0 \cdot \color{blue}{\frac{\sqrt{1}}{\sqrt{\frac{V}{\frac{A}{\ell}}}}}\]
Applied associate-*r/22.1
\[\leadsto \color{blue}{\frac{c0 \cdot \sqrt{1}}{\sqrt{\frac{V}{\frac{A}{\ell}}}}}\]
- Recombined 5 regimes into one program.
Final simplification13.3
\[\leadsto \begin{array}{l}
\mathbf{if}\;V \cdot \ell = -\infty:\\
\;\;\;\;\frac{c0}{\sqrt{\frac{V}{A}} \cdot \sqrt{\ell}}\\
\mathbf{elif}\;V \cdot \ell \le -1.2396230748310597 \cdot 10^{-181}:\\
\;\;\;\;\frac{c0}{\sqrt{\frac{V \cdot \ell}{A}}}\\
\mathbf{elif}\;V \cdot \ell \le 4.4232076767945 \cdot 10^{-311}:\\
\;\;\;\;\frac{\frac{c0}{\sqrt{V}}}{\sqrt{\frac{\ell}{A}}}\\
\mathbf{elif}\;V \cdot \ell \le 1.2463764972620927 \cdot 10^{+268}:\\
\;\;\;\;\left(\sqrt{\frac{1}{V \cdot \ell}} \cdot \sqrt{A}\right) \cdot c0\\
\mathbf{else}:\\
\;\;\;\;\frac{c0}{\sqrt{\frac{V}{\frac{A}{\ell}}}}\\
\end{array}\]