- Split input into 3 regimes
if a < -9.918032792012503e+139 or 1.3193342167850466e+28 < a
Initial program 17.9
\[\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)\]
Taylor expanded around inf 13.0
\[\leadsto \color{blue}{\left(a \cdot \left(i \cdot b\right) - \left(z \cdot \left(b \cdot c\right) + a \cdot \left(x \cdot t\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right)\]
Simplified13.0
\[\leadsto \color{blue}{(a \cdot \left(b \cdot i - x \cdot t\right) + \left(\left(c \cdot b\right) \cdot \left(-z\right)\right))_*} + j \cdot \left(c \cdot t - i \cdot y\right)\]
if -9.918032792012503e+139 < a < -6.409151110904502e-142
Initial program 10.2
\[\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-neg10.2
\[\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-in10.2
\[\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)}\]
- Using strategy
rm Applied sub-neg10.2
\[\leadsto \left(x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(j \cdot \left(c \cdot t\right) + j \cdot \left(-i \cdot y\right)\right)\]
Applied distribute-lft-in10.2
\[\leadsto \left(\color{blue}{\left(x \cdot \left(y \cdot z\right) + x \cdot \left(-t \cdot a\right)\right)} - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(j \cdot \left(c \cdot t\right) + j \cdot \left(-i \cdot y\right)\right)\]
- Using strategy
rm Applied associate-*r*10.0
\[\leadsto \left(\left(\color{blue}{\left(x \cdot y\right) \cdot z} + x \cdot \left(-t \cdot a\right)\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(j \cdot \left(c \cdot t\right) + j \cdot \left(-i \cdot y\right)\right)\]
if -6.409151110904502e-142 < a < 1.3193342167850466e+28
Initial program 9.3
\[\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-neg9.3
\[\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-in9.3
\[\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 9.2
\[\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)\]
Simplified9.2
\[\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 3 regimes into one program.
Final simplification10.4
\[\leadsto \begin{array}{l}
\mathbf{if}\;a \le -9.918032792012503 \cdot 10^{+139}:\\
\;\;\;\;j \cdot \left(t \cdot c - i \cdot y\right) + (a \cdot \left(b \cdot i - t \cdot x\right) + \left(\left(c \cdot b\right) \cdot \left(-z\right)\right))_*\\
\mathbf{elif}\;a \le -6.409151110904502 \cdot 10^{-142}:\\
\;\;\;\;\left(\left(\left(t \cdot a\right) \cdot \left(-x\right) + z \cdot \left(y \cdot x\right)\right) - b \cdot \left(z \cdot c - i \cdot a\right)\right) + \left(j \cdot \left(t \cdot c\right) + \left(i \cdot y\right) \cdot \left(-j\right)\right)\\
\mathbf{elif}\;a \le 1.3193342167850466 \cdot 10^{+28}:\\
\;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - i \cdot a\right)\right) + \left(j \cdot \left(t \cdot c\right) + \left(-i\right) \cdot \left(j \cdot y\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(t \cdot c - i \cdot y\right) + (a \cdot \left(b \cdot i - t \cdot x\right) + \left(\left(c \cdot b\right) \cdot \left(-z\right)\right))_*\\
\end{array}\]