- Split input into 3 regimes
if (+ (fma a (- (* b i) (* x t)) (* (* z c) (- b))) (* j (- (* c t) (* i y)))) < -8.448179909492943e+307 or 1.8482276614942102e+303 < (+ (fma a (- (* b i) (* x t)) (* (* z c) (- b))) (* j (- (* c t) (* i y))))
Initial program 38.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 0 36.9
\[\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}{0}\]
if -8.448179909492943e+307 < (+ (fma a (- (* b i) (* x t)) (* (* z c) (- b))) (* j (- (* c t) (* i y)))) < -1.619175176342172e+186 or 2.1367548480359e+196 < (+ (fma a (- (* b i) (* x t)) (* (* z c) (- b))) (* j (- (* c t) (* i y)))) < 1.8482276614942102e+303
Initial program 9.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)\]
Taylor expanded around inf 7.7
\[\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)\]
Simplified4.0
\[\leadsto \color{blue}{(a \cdot \left(b \cdot i - x \cdot t\right) + \left(\left(z \cdot c\right) \cdot \left(-b\right)\right))_*} + j \cdot \left(c \cdot t - i \cdot y\right)\]
if -1.619175176342172e+186 < (+ (fma a (- (* b i) (* x t)) (* (* z c) (- b))) (* j (- (* c t) (* i y)))) < 2.1367548480359e+196
Initial program 4.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 add-cube-cbrt4.5
\[\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(\left(\sqrt[3]{c \cdot t - i \cdot y} \cdot \sqrt[3]{c \cdot t - i \cdot y}\right) \cdot \sqrt[3]{c \cdot t - i \cdot y}\right)}\]
Applied associate-*r*4.5
\[\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(\sqrt[3]{c \cdot t - i \cdot y} \cdot \sqrt[3]{c \cdot t - i \cdot y}\right)\right) \cdot \sqrt[3]{c \cdot t - i \cdot y}}\]
- Recombined 3 regimes into one program.
Final simplification10.0
\[\leadsto \begin{array}{l}
\mathbf{if}\;j \cdot \left(c \cdot t - i \cdot y\right) + (a \cdot \left(i \cdot b - x \cdot t\right) + \left(\left(c \cdot z\right) \cdot \left(-b\right)\right))_* \le -8.448179909492943 \cdot 10^{+307}:\\
\;\;\;\;x \cdot \left(z \cdot y - t \cdot a\right) - b \cdot \left(c \cdot z - a \cdot i\right)\\
\mathbf{elif}\;j \cdot \left(c \cdot t - i \cdot y\right) + (a \cdot \left(i \cdot b - x \cdot t\right) + \left(\left(c \cdot z\right) \cdot \left(-b\right)\right))_* \le -1.619175176342172 \cdot 10^{+186}:\\
\;\;\;\;j \cdot \left(c \cdot t - i \cdot y\right) + (a \cdot \left(i \cdot b - x \cdot t\right) + \left(\left(c \cdot z\right) \cdot \left(-b\right)\right))_*\\
\mathbf{elif}\;j \cdot \left(c \cdot t - i \cdot y\right) + (a \cdot \left(i \cdot b - x \cdot t\right) + \left(\left(c \cdot z\right) \cdot \left(-b\right)\right))_* \le 2.1367548480359 \cdot 10^{+196}:\\
\;\;\;\;\left(x \cdot \left(z \cdot y - t \cdot a\right) - b \cdot \left(c \cdot z - a \cdot i\right)\right) + \sqrt[3]{c \cdot t - i \cdot y} \cdot \left(\left(\sqrt[3]{c \cdot t - i \cdot y} \cdot \sqrt[3]{c \cdot t - i \cdot y}\right) \cdot j\right)\\
\mathbf{elif}\;j \cdot \left(c \cdot t - i \cdot y\right) + (a \cdot \left(i \cdot b - x \cdot t\right) + \left(\left(c \cdot z\right) \cdot \left(-b\right)\right))_* \le 1.8482276614942102 \cdot 10^{+303}:\\
\;\;\;\;j \cdot \left(c \cdot t - i \cdot y\right) + (a \cdot \left(i \cdot b - x \cdot t\right) + \left(\left(c \cdot z\right) \cdot \left(-b\right)\right))_*\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(z \cdot y - t \cdot a\right) - b \cdot \left(c \cdot z - a \cdot i\right)\\
\end{array}\]