- Split input into 2 regimes
if x < -1.6653653370778658e+81 or 9.751250882983964e+92 < x
Initial program 0.1
\[\left|\frac{x + 4}{y} - \frac{x}{y} \cdot z\right|\]
Initial simplification0.1
\[\leadsto \left|\frac{4 + x}{y} - \frac{x}{\frac{y}{z}}\right|\]
if -1.6653653370778658e+81 < x < 9.751250882983964e+92
Initial program 2.1
\[\left|\frac{x + 4}{y} - \frac{x}{y} \cdot z\right|\]
- Using strategy
rm Applied associate-*l/0.6
\[\leadsto \left|\frac{x + 4}{y} - \color{blue}{\frac{x \cdot z}{y}}\right|\]
Applied sub-div0.6
\[\leadsto \left|\color{blue}{\frac{\left(x + 4\right) - x \cdot z}{y}}\right|\]
- Recombined 2 regimes into one program.
Final simplification0.5
\[\leadsto \begin{array}{l}
\mathbf{if}\;x \le -1.6653653370778658 \cdot 10^{+81} \lor \neg \left(x \le 9.751250882983964 \cdot 10^{+92}\right):\\
\;\;\;\;\left|\frac{4 + x}{y} - \frac{x}{\frac{y}{z}}\right|\\
\mathbf{else}:\\
\;\;\;\;\left|\frac{\left(4 + x\right) - z \cdot x}{y}\right|\\
\end{array}\]