- Split input into 2 regimes
if x < -2.58205319147812e+70 or 6.759328371678758e-78 < x
Initial program 0.4
\[\left|\frac{x + 4}{y} - \frac{x}{y} \cdot z\right|\]
Initial simplification0.3
\[\leadsto \left|\frac{4 + x}{y} - \frac{x}{\frac{y}{z}}\right|\]
- Using strategy
rm Applied associate-/r/0.4
\[\leadsto \left|\frac{4 + x}{y} - \color{blue}{\frac{x}{y} \cdot z}\right|\]
if -2.58205319147812e+70 < x < 6.759328371678758e-78
Initial program 2.6
\[\left|\frac{x + 4}{y} - \frac{x}{y} \cdot z\right|\]
Initial simplification4.4
\[\leadsto \left|\frac{4 + x}{y} - \frac{x}{\frac{y}{z}}\right|\]
- Using strategy
rm Applied associate-/r/2.6
\[\leadsto \left|\frac{4 + x}{y} - \color{blue}{\frac{x}{y} \cdot z}\right|\]
- Using strategy
rm Applied associate-*l/0.2
\[\leadsto \left|\frac{4 + x}{y} - \color{blue}{\frac{x \cdot z}{y}}\right|\]
Applied sub-div0.2
\[\leadsto \left|\color{blue}{\frac{\left(4 + x\right) - x \cdot z}{y}}\right|\]
- Recombined 2 regimes into one program.
Final simplification0.3
\[\leadsto \begin{array}{l}
\mathbf{if}\;x \le -2.58205319147812 \cdot 10^{+70} \lor \neg \left(x \le 6.759328371678758 \cdot 10^{-78}\right):\\
\;\;\;\;\left|\frac{4 + x}{y} - \frac{x}{y} \cdot z\right|\\
\mathbf{else}:\\
\;\;\;\;\left|\frac{\left(4 + x\right) - x \cdot z}{y}\right|\\
\end{array}\]