- Split input into 3 regimes
if (fma b (fma z (- c) (* i a)) (* x (- (* y z) (* a t)))) < -4.003618947400749e+305 or 1.5754270791658508e+303 < (fma b (fma z (- c) (* i a)) (* x (- (* y z) (* a t))))
Initial program 57.5
\[\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.5
\[\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.5
\[\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.1
\[\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.1
\[\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.5
\[\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.7
\[\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 simplify20.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 -4.003618947400749e+305 < (fma b (fma z (- c) (* i a)) (* x (- (* y z) (* a t)))) < -2.1541483089475933e+148
Initial program 5.7
\[\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 simplify5.7
\[\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}\]
Taylor expanded around 0 8.9
\[\leadsto (\left(z \cdot y - a \cdot t\right) \cdot x + \color{blue}{0})_* - \left(z \cdot c - i \cdot a\right) \cdot b\]
Applied simplify8.9
\[\leadsto \color{blue}{(b \cdot \left((z \cdot \left(-c\right) + \left(i \cdot a\right))_*\right) + \left(x \cdot \left(y \cdot z - a \cdot t\right)\right))_*}\]
if -2.1541483089475933e+148 < (fma b (fma z (- c) (* i a)) (* x (- (* y z) (* a t)))) < 1.5754270791658508e+303
Initial program 4.0
\[\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.0
\[\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.0
\[\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.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 simplify4.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 simplify4.0
\[\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}\]
- Using strategy
rm Applied add-cube-cbrt4.3
\[\leadsto (j \cdot \left(c \cdot t - y \cdot i\right) + \left((\color{blue}{\left(\left(\sqrt[3]{y \cdot z - t \cdot a} \cdot \sqrt[3]{y \cdot z - t \cdot a}\right) \cdot \sqrt[3]{y \cdot z - t \cdot a}\right)} \cdot x + \left((z \cdot \left(-c\right) + \left(a \cdot i\right))_* \cdot b\right))_*\right))_* + 0\]
- Recombined 3 regimes into one program.
Applied simplify7.3
\[\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))_* \le -4.003618947400749 \cdot 10^{+305}:\\
\;\;\;\;(\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 -2.1541483089475933 \cdot 10^{+148}:\\
\;\;\;\;(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))_*\\
\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 1.5754270791658508 \cdot 10^{+303}:\\
\;\;\;\;(j \cdot \left(t \cdot c - y \cdot i\right) + \left((\left(\left(\sqrt[3]{y \cdot z - t \cdot a} \cdot \sqrt[3]{y \cdot z - t \cdot a}\right) \cdot \sqrt[3]{y \cdot z - t \cdot a}\right) \cdot x + \left(b \cdot (z \cdot \left(-c\right) + \left(a \cdot i\right))_*\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}}\]