- Split input into 2 regimes
if y < -1.9749168121121723e-48 or 7.827987889564857e+37 < y
Initial program 15.8
\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
- Using strategy
rm Applied sub-neg15.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \color{blue}{\left(c \cdot t + \left(-i \cdot y\right)\right)}\]
Applied distribute-lft-in15.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \color{blue}{\left(j \cdot \left(c \cdot t\right) + j \cdot \left(-i \cdot y\right)\right)}\]
Taylor expanded around inf 15.6
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(\color{blue}{t \cdot \left(j \cdot c\right)} + j \cdot \left(-i \cdot y\right)\right)\]
- Using strategy
rm Applied distribute-lft-neg-in15.6
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(t \cdot \left(j \cdot c\right) + j \cdot \color{blue}{\left(\left(-i\right) \cdot y\right)}\right)\]
Applied associate-*r*12.0
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(t \cdot \left(j \cdot c\right) + \color{blue}{\left(j \cdot \left(-i\right)\right) \cdot y}\right)\]
if -1.9749168121121723e-48 < y < 7.827987889564857e+37
Initial program 8.8
\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
- Using strategy
rm Applied sub-neg8.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \color{blue}{\left(c \cdot t + \left(-i \cdot y\right)\right)}\]
Applied distribute-lft-in8.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \color{blue}{\left(j \cdot \left(c \cdot t\right) + j \cdot \left(-i \cdot y\right)\right)}\]
Taylor expanded around -inf 8.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(j \cdot \left(c \cdot t\right) + \color{blue}{-1 \cdot \left(i \cdot \left(y \cdot j\right)\right)}\right)\]
Simplified8.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(j \cdot \left(c \cdot t\right) + \color{blue}{\left(y \cdot j\right) \cdot \left(-i\right)}\right)\]
- Recombined 2 regimes into one program.
Final simplification10.1
\[\leadsto \begin{array}{l}
\mathbf{if}\;y \le -1.9749168121121723 \cdot 10^{-48} \lor \neg \left(y \le 7.827987889564857 \cdot 10^{+37}\right):\\
\;\;\;\;\left(x \cdot \left(z \cdot y - a \cdot t\right) - b \cdot \left(z \cdot c - i \cdot a\right)\right) + \left(t \cdot \left(c \cdot j\right) + \left(-y\right) \cdot \left(i \cdot j\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(x \cdot \left(z \cdot y - a \cdot t\right) - b \cdot \left(z \cdot c - i \cdot a\right)\right) + \left(\left(y \cdot j\right) \cdot \left(-i\right) + \left(c \cdot t\right) \cdot j\right)\\
\end{array}\]