- Split input into 4 regimes
if (+ (- (* (- (* a i) (* z c)) b) (* (* x t) a)) (* j (- (* c t) (* i y)))) < -8.448179909492943e+307
Initial program 48.1
\[\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 44.3
\[\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 < (+ (- (* (- (* a i) (* z c)) b) (* (* x t) a)) (* j (- (* c t) (* i y)))) < -4.050500231086865e+175 or 2.1367548480359e+196 < (+ (- (* (- (* a i) (* z c)) b) (* (* x t) a)) (* j (- (* c t) (* i y)))) < 8.445139932601509e+305
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)\]
Taylor expanded around inf 11.8
\[\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}{\left(\left(a \cdot i - z \cdot c\right) \cdot b - \left(x \cdot t\right) \cdot a\right)} + j \cdot \left(c \cdot t - i \cdot y\right)\]
if -4.050500231086865e+175 < (+ (- (* (- (* a i) (* z c)) b) (* (* x t) a)) (* j (- (* c t) (* i y)))) < 2.1367548480359e+196
Initial program 3.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)\]
- Using strategy
rm Applied add-cube-cbrt3.8
\[\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*3.8
\[\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}}\]
- Using strategy
rm Applied add-cube-cbrt3.9
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(j \cdot \left(\sqrt[3]{c \cdot t - i \cdot y} \cdot \sqrt[3]{\color{blue}{\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)\right) \cdot \sqrt[3]{c \cdot t - i \cdot y}\]
Applied cbrt-prod3.9
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(j \cdot \left(\sqrt[3]{c \cdot t - i \cdot y} \cdot \color{blue}{\left(\sqrt[3]{\sqrt[3]{c \cdot t - i \cdot y} \cdot \sqrt[3]{c \cdot t - i \cdot y}} \cdot \sqrt[3]{\sqrt[3]{c \cdot t - i \cdot y}}\right)}\right)\right) \cdot \sqrt[3]{c \cdot t - i \cdot y}\]
if 8.445139932601509e+305 < (+ (- (* (- (* a i) (* z c)) b) (* (* x t) a)) (* j (- (* c t) (* i y))))
Initial program 48.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)\]
- Using strategy
rm Applied flip--49.7
\[\leadsto \left(x \cdot \color{blue}{\frac{\left(y \cdot z\right) \cdot \left(y \cdot z\right) - \left(t \cdot a\right) \cdot \left(t \cdot a\right)}{y \cdot z + t \cdot a}} - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
Applied associate-*r/52.1
\[\leadsto \left(\color{blue}{\frac{x \cdot \left(\left(y \cdot z\right) \cdot \left(y \cdot z\right) - \left(t \cdot a\right) \cdot \left(t \cdot a\right)\right)}{y \cdot z + t \cdot a}} - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
- Recombined 4 regimes into one program.
Final simplification11.3
\[\leadsto \begin{array}{l}
\mathbf{if}\;j \cdot \left(c \cdot t - y \cdot i\right) + \left(b \cdot \left(a \cdot i - z \cdot c\right) - \left(x \cdot t\right) \cdot a\right) \le -8.448179909492943 \cdot 10^{+307}:\\
\;\;\;\;\left(z \cdot y - a \cdot t\right) \cdot x - b \cdot \left(z \cdot c - a \cdot i\right)\\
\mathbf{elif}\;j \cdot \left(c \cdot t - y \cdot i\right) + \left(b \cdot \left(a \cdot i - z \cdot c\right) - \left(x \cdot t\right) \cdot a\right) \le -4.050500231086865 \cdot 10^{+175}:\\
\;\;\;\;j \cdot \left(c \cdot t - y \cdot i\right) + \left(b \cdot \left(a \cdot i - z \cdot c\right) - \left(x \cdot t\right) \cdot a\right)\\
\mathbf{elif}\;j \cdot \left(c \cdot t - y \cdot i\right) + \left(b \cdot \left(a \cdot i - z \cdot c\right) - \left(x \cdot t\right) \cdot a\right) \le 2.1367548480359 \cdot 10^{+196}:\\
\;\;\;\;\sqrt[3]{c \cdot t - y \cdot i} \cdot \left(\left(\sqrt[3]{c \cdot t - y \cdot i} \cdot \left(\sqrt[3]{\sqrt[3]{c \cdot t - y \cdot i} \cdot \sqrt[3]{c \cdot t - y \cdot i}} \cdot \sqrt[3]{\sqrt[3]{c \cdot t - y \cdot i}}\right)\right) \cdot j\right) + \left(\left(z \cdot y - a \cdot t\right) \cdot x - b \cdot \left(z \cdot c - a \cdot i\right)\right)\\
\mathbf{elif}\;j \cdot \left(c \cdot t - y \cdot i\right) + \left(b \cdot \left(a \cdot i - z \cdot c\right) - \left(x \cdot t\right) \cdot a\right) \le 8.445139932601509 \cdot 10^{+305}:\\
\;\;\;\;j \cdot \left(c \cdot t - y \cdot i\right) + \left(b \cdot \left(a \cdot i - z \cdot c\right) - \left(x \cdot t\right) \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\frac{\left(\left(z \cdot y\right) \cdot \left(z \cdot y\right) - \left(a \cdot t\right) \cdot \left(a \cdot t\right)\right) \cdot x}{a \cdot t + z \cdot y} - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(c \cdot t - y \cdot i\right)\\
\end{array}\]