- Split input into 2 regimes
if (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))) < -8.153354689643062e+307 or 1.7731740082465328e+308 < (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y))))
Initial program 60.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)\]
Taylor expanded around inf 55.2
\[\leadsto \color{blue}{\left(j \cdot \left(c \cdot t\right) + b \cdot \left(a \cdot i\right)\right) - j \cdot \left(y \cdot i\right)}\]
Applied simplify42.4
\[\leadsto \color{blue}{\left(a \cdot b - j \cdot y\right) \cdot i + \left(t \cdot c\right) \cdot j}\]
if -8.153354689643062e+307 < (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))) < 1.7731740082465328e+308
Initial program 0.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)\]
- Using strategy
rm Applied add-cube-cbrt1.1
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{\left(\sqrt[3]{b \cdot \left(c \cdot z - i \cdot a\right)} \cdot \sqrt[3]{b \cdot \left(c \cdot z - i \cdot a\right)}\right) \cdot \sqrt[3]{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-prod1.0
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\sqrt[3]{b \cdot \left(c \cdot z - i \cdot a\right)} \cdot \sqrt[3]{b \cdot \left(c \cdot z - i \cdot a\right)}\right) \cdot \color{blue}{\left(\sqrt[3]{b} \cdot \sqrt[3]{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 simplify8.6
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;j \cdot \left(c \cdot t - i \cdot y\right) + \left(\left(z \cdot y - a \cdot t\right) \cdot x - \left(z \cdot c - i \cdot a\right) \cdot b\right) \le -8.153354689643062 \cdot 10^{+307} \lor \neg \left(j \cdot \left(c \cdot t - i \cdot y\right) + \left(\left(z \cdot y - a \cdot t\right) \cdot x - \left(z \cdot c - i \cdot a\right) \cdot b\right) \le 1.7731740082465328 \cdot 10^{+308}\right):\\
\;\;\;\;i \cdot \left(b \cdot a - j \cdot y\right) + j \cdot \left(c \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(c \cdot t - i \cdot y\right) + \left(\left(z \cdot y - a \cdot t\right) \cdot x - \left(\sqrt[3]{z \cdot c - i \cdot a} \cdot \sqrt[3]{b}\right) \cdot \left(\sqrt[3]{\left(z \cdot c - i \cdot a\right) \cdot b} \cdot \sqrt[3]{\left(z \cdot c - i \cdot a\right) \cdot b}\right)\right)\\
\end{array}}\]