- Split input into 2 regimes
if (- (* (- (* z y) (* a t)) x) (* (- (* z c) (* i a)) b)) < -inf.0 or 9.943145827257018e+292 < (- (* (- (* z y) (* a t)) x) (* (- (* z c) (* i a)) b))
Initial program 54.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-neg54.8
\[\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) + j \cdot \left(c \cdot t - i \cdot y\right)\]
Applied distribute-lft-in54.8
\[\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) + j \cdot \left(c \cdot t - i \cdot y\right)\]
Applied associate--l+54.8
\[\leadsto \color{blue}{\left(x \cdot \left(y \cdot z\right) + \left(x \cdot \left(-t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right)\right)} + j \cdot \left(c \cdot t - i \cdot y\right)\]
Applied simplify21.3
\[\leadsto \left(x \cdot \left(y \cdot z\right) + \color{blue}{\left(\left(i \cdot b - t \cdot x\right) \cdot a - \left(c \cdot b\right) \cdot z\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
if -inf.0 < (- (* (- (* z y) (* a t)) x) (* (- (* z c) (* i a)) b)) < 9.943145827257018e+292
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)\]
- Using strategy
rm Applied add-cube-cbrt4.6
\[\leadsto \left(\color{blue}{\left(\sqrt[3]{x \cdot \left(y \cdot z - t \cdot a\right)} \cdot \sqrt[3]{x \cdot \left(y \cdot z - t \cdot a\right)}\right) \cdot \sqrt[3]{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 cbrt-prod4.6
\[\leadsto \left(\left(\sqrt[3]{x \cdot \left(y \cdot z - t \cdot a\right)} \cdot \sqrt[3]{x \cdot \left(y \cdot z - t \cdot a\right)}\right) \cdot \color{blue}{\left(\sqrt[3]{x} \cdot \sqrt[3]{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)\]
- Recombined 2 regimes into one program.
Applied simplify7.0
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;x \cdot \left(y \cdot z - a \cdot t\right) - \left(c \cdot z - a \cdot i\right) \cdot b = -\infty \lor \neg \left(x \cdot \left(y \cdot z - a \cdot t\right) - \left(c \cdot z - a \cdot i\right) \cdot b \le 9.943145827257018 \cdot 10^{+292}\right):\\
\;\;\;\;j \cdot \left(c \cdot t - i \cdot y\right) + \left(x \cdot \left(y \cdot z\right) + \left(a \cdot \left(b \cdot i - x \cdot t\right) - z \cdot \left(b \cdot c\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(c \cdot t - i \cdot y\right) + \left(\left(\sqrt[3]{x \cdot \left(y \cdot z - a \cdot t\right)} \cdot \sqrt[3]{x \cdot \left(y \cdot z - a \cdot t\right)}\right) \cdot \left(\sqrt[3]{x} \cdot \sqrt[3]{y \cdot z - a \cdot t}\right) - \left(c \cdot z - a \cdot i\right) \cdot b\right)\\
\end{array}}\]