- Split input into 2 regimes
if (fma b (fma z (- c) (* i a)) (* x (- (* y z) (* a t)))) < -inf.0 or 4.216326481153233e+300 < (fma b (fma z (- c) (* i a)) (* x (- (* y z) (* a t))))
Initial program 57.4
\[\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)\]
Applied simplify57.4
\[\leadsto \color{blue}{(\left(z \cdot y - a \cdot t\right) \cdot x + \left(j \cdot \left(c \cdot t - i \cdot y\right)\right))_* - \left(z \cdot c - i \cdot a\right) \cdot b}\]
- Using strategy
rm Applied *-un-lft-identity57.4
\[\leadsto \color{blue}{1 \cdot (\left(z \cdot y - a \cdot t\right) \cdot x + \left(j \cdot \left(c \cdot t - i \cdot y\right)\right))_*} - \left(z \cdot c - i \cdot a\right) \cdot b\]
Applied prod-diff58.0
\[\leadsto \color{blue}{(1 \cdot \left((\left(z \cdot y - a \cdot t\right) \cdot x + \left(j \cdot \left(c \cdot t - i \cdot y\right)\right))_*\right) + \left(-b \cdot \left(z \cdot c - i \cdot a\right)\right))_* + (\left(-b\right) \cdot \left(z \cdot c - i \cdot a\right) + \left(b \cdot \left(z \cdot c - i \cdot a\right)\right))_*}\]
Applied simplify58.0
\[\leadsto \color{blue}{(j \cdot \left(c \cdot t - y \cdot i\right) + \left((\left(y \cdot z - t \cdot a\right) \cdot x + \left((z \cdot \left(-c\right) + \left(a \cdot i\right))_* \cdot b\right))_*\right))_*} + (\left(-b\right) \cdot \left(z \cdot c - i \cdot a\right) + \left(b \cdot \left(z \cdot c - i \cdot a\right)\right))_*\]
Applied simplify57.4
\[\leadsto (j \cdot \left(c \cdot t - y \cdot i\right) + \left((\left(y \cdot z - t \cdot a\right) \cdot x + \left((z \cdot \left(-c\right) + \left(a \cdot i\right))_* \cdot b\right))_*\right))_* + \color{blue}{0}\]
Taylor expanded around inf 32.8
\[\leadsto (j \cdot \left(c \cdot t - y \cdot i\right) + \color{blue}{\left(b \cdot \left(a \cdot i\right) - \left(a \cdot \left(t \cdot x\right) + z \cdot \left(b \cdot c\right)\right)\right)})_* + 0\]
Applied simplify21.7
\[\leadsto \color{blue}{(\left(t \cdot c - i \cdot y\right) \cdot j + \left((a \cdot \left(b \cdot i - t \cdot x\right) + \left(\left(c \cdot b\right) \cdot \left(-z\right)\right))_*\right))_*}\]
if -inf.0 < (fma b (fma z (- c) (* i a)) (* x (- (* y z) (* a t)))) < 4.216326481153233e+300
Initial program 4.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)\]
Applied simplify4.3
\[\leadsto \color{blue}{(\left(z \cdot y - a \cdot t\right) \cdot x + \left(j \cdot \left(c \cdot t - i \cdot y\right)\right))_* - \left(z \cdot c - i \cdot a\right) \cdot b}\]
- Using strategy
rm Applied *-un-lft-identity4.3
\[\leadsto \color{blue}{1 \cdot (\left(z \cdot y - a \cdot t\right) \cdot x + \left(j \cdot \left(c \cdot t - i \cdot y\right)\right))_*} - \left(z \cdot c - i \cdot a\right) \cdot b\]
Applied prod-diff4.3
\[\leadsto \color{blue}{(1 \cdot \left((\left(z \cdot y - a \cdot t\right) \cdot x + \left(j \cdot \left(c \cdot t - i \cdot y\right)\right))_*\right) + \left(-b \cdot \left(z \cdot c - i \cdot a\right)\right))_* + (\left(-b\right) \cdot \left(z \cdot c - i \cdot a\right) + \left(b \cdot \left(z \cdot c - i \cdot a\right)\right))_*}\]
Applied simplify4.3
\[\leadsto \color{blue}{(j \cdot \left(c \cdot t - y \cdot i\right) + \left((\left(y \cdot z - t \cdot a\right) \cdot x + \left((z \cdot \left(-c\right) + \left(a \cdot i\right))_* \cdot b\right))_*\right))_*} + (\left(-b\right) \cdot \left(z \cdot c - i \cdot a\right) + \left(b \cdot \left(z \cdot c - i \cdot a\right)\right))_*\]
Applied simplify4.3
\[\leadsto (j \cdot \left(c \cdot t - y \cdot i\right) + \left((\left(y \cdot z - t \cdot a\right) \cdot x + \left((z \cdot \left(-c\right) + \left(a \cdot i\right))_* \cdot b\right))_*\right))_* + \color{blue}{0}\]
- Recombined 2 regimes into one program.
Applied simplify6.6
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;(b \cdot \left((z \cdot \left(-c\right) + \left(a \cdot i\right))_*\right) + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* = -\infty:\\
\;\;\;\;(\left(t \cdot c - y \cdot i\right) \cdot j + \left((a \cdot \left(b \cdot i - x \cdot t\right) + \left(\left(-z\right) \cdot \left(b \cdot c\right)\right))_*\right))_*\\
\mathbf{if}\;(b \cdot \left((z \cdot \left(-c\right) + \left(a \cdot i\right))_*\right) + \left(\left(y \cdot z - t \cdot a\right) \cdot x\right))_* \le 4.216326481153233 \cdot 10^{+300}:\\
\;\;\;\;(j \cdot \left(t \cdot c - y \cdot i\right) + \left((\left(y \cdot z - t \cdot a\right) \cdot x + \left((z \cdot \left(-c\right) + \left(a \cdot i\right))_* \cdot b\right))_*\right))_*\\
\mathbf{else}:\\
\;\;\;\;(\left(t \cdot c - y \cdot i\right) \cdot j + \left((a \cdot \left(b \cdot i - x \cdot t\right) + \left(\left(-z\right) \cdot \left(b \cdot c\right)\right))_*\right))_*\\
\end{array}}\]