- Split input into 4 regimes
if z < -545304328682549084000 or -1.30419040528752668e-103 < z < -3.32540424209241046e-185 or 5.8169390842491342e-86 < z
Initial program 14.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-neg14.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-in14.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)\]
Simplified13.0
\[\leadsto \left(\left(\color{blue}{z \cdot \left(x \cdot y\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)\]
Simplified12.7
\[\leadsto \left(\left(z \cdot \left(x \cdot y\right) + \color{blue}{a \cdot \left(x \cdot \left(-t\right)\right)}\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 associate-*r*12.4
\[\leadsto \left(\left(z \cdot \left(x \cdot y\right) + \color{blue}{\left(a \cdot x\right) \cdot \left(-t\right)}\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
if -545304328682549084000 < z < -1.30419040528752668e-103 or 1.10742639132154364e-149 < z < 5.8169390842491342e-86
Initial program 9.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 sub-neg9.4
\[\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(c \cdot t + \left(-i \cdot y\right)\right)}\]
Applied distribute-lft-in9.4
\[\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(c \cdot t\right) + j \cdot \left(-i \cdot y\right)\right)}\]
Simplified9.4
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(\color{blue}{c \cdot \left(t \cdot j\right)} + j \cdot \left(-i \cdot y\right)\right)\]
Simplified9.0
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \left(c \cdot \left(t \cdot j\right) + \color{blue}{i \cdot \left(y \cdot \left(-j\right)\right)}\right)\]
if -3.32540424209241046e-185 < z < 1.40362981991906051e-230
Initial program 9.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-cbrt9.4
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{\left(\left(\sqrt[3]{b} \cdot \sqrt[3]{b}\right) \cdot \sqrt[3]{b}\right)} \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
Applied associate-*l*9.4
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{\left(\sqrt[3]{b} \cdot \sqrt[3]{b}\right) \cdot \left(\sqrt[3]{b} \cdot \left(c \cdot z - i \cdot a\right)\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
Simplified9.4
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\sqrt[3]{b} \cdot \sqrt[3]{b}\right) \cdot \color{blue}{\left(\left(c \cdot z - i \cdot a\right) \cdot \sqrt[3]{b}\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
- Using strategy
rm Applied add-cube-cbrt9.5
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\sqrt[3]{b} \cdot \sqrt[3]{b}\right) \cdot \color{blue}{\left(\left(\sqrt[3]{\left(c \cdot z - i \cdot a\right) \cdot \sqrt[3]{b}} \cdot \sqrt[3]{\left(c \cdot z - i \cdot a\right) \cdot \sqrt[3]{b}}\right) \cdot \sqrt[3]{\left(c \cdot z - i \cdot a\right) \cdot \sqrt[3]{b}}\right)}\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
Simplified9.5
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\sqrt[3]{b} \cdot \sqrt[3]{b}\right) \cdot \left(\color{blue}{\left(\sqrt[3]{\sqrt[3]{b} \cdot \left(z \cdot c - a \cdot i\right)} \cdot \sqrt[3]{\sqrt[3]{b} \cdot \left(z \cdot c - a \cdot i\right)}\right)} \cdot \sqrt[3]{\left(c \cdot z - i \cdot a\right) \cdot \sqrt[3]{b}}\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
Simplified9.5
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\sqrt[3]{b} \cdot \sqrt[3]{b}\right) \cdot \left(\left(\sqrt[3]{\sqrt[3]{b} \cdot \left(z \cdot c - a \cdot i\right)} \cdot \sqrt[3]{\sqrt[3]{b} \cdot \left(z \cdot c - a \cdot i\right)}\right) \cdot \color{blue}{\sqrt[3]{\sqrt[3]{b} \cdot \left(z \cdot c - a \cdot i\right)}}\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
if 1.40362981991906051e-230 < z < 1.10742639132154364e-149
Initial program 9.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 sub-neg9.4
\[\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-in9.4
\[\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)\]
Simplified13.0
\[\leadsto \left(\left(\color{blue}{z \cdot \left(x \cdot y\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)\]
Simplified13.1
\[\leadsto \left(\left(z \cdot \left(x \cdot y\right) + \color{blue}{a \cdot \left(x \cdot \left(-t\right)\right)}\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-sqr-sqrt13.2
\[\leadsto \left(\left(\color{blue}{\left(\sqrt{z} \cdot \sqrt{z}\right)} \cdot \left(x \cdot y\right) + a \cdot \left(x \cdot \left(-t\right)\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*13.2
\[\leadsto \left(\left(\color{blue}{\sqrt{z} \cdot \left(\sqrt{z} \cdot \left(x \cdot y\right)\right)} + a \cdot \left(x \cdot \left(-t\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\]
Simplified10.4
\[\leadsto \left(\left(\sqrt{z} \cdot \color{blue}{\left(x \cdot \left(y \cdot \sqrt{z}\right)\right)} + a \cdot \left(x \cdot \left(-t\right)\right)\right) - 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.1
\[\leadsto \begin{array}{l}
\mathbf{if}\;z \le -545304328682549084000:\\
\;\;\;\;\left(\left(z \cdot \left(x \cdot y\right) + \left(x \cdot a\right) \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{elif}\;z \le -1.30419040528752668 \cdot 10^{-103}:\\
\;\;\;\;\left(x \cdot \left(z \cdot y - a \cdot t\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \left(c \cdot \left(t \cdot j\right) + i \cdot \left(y \cdot \left(-j\right)\right)\right)\\
\mathbf{elif}\;z \le -3.32540424209241046 \cdot 10^{-185}:\\
\;\;\;\;\left(\left(z \cdot \left(x \cdot y\right) + \left(x \cdot a\right) \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{elif}\;z \le 1.40362981991906051 \cdot 10^{-230}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + \left(x \cdot \left(z \cdot y - a \cdot t\right) - \left(\sqrt[3]{b} \cdot \sqrt[3]{b}\right) \cdot \left(\sqrt[3]{\left(z \cdot c - a \cdot i\right) \cdot \sqrt[3]{b}} \cdot \left(\sqrt[3]{\left(z \cdot c - a \cdot i\right) \cdot \sqrt[3]{b}} \cdot \sqrt[3]{\left(z \cdot c - a \cdot i\right) \cdot \sqrt[3]{b}}\right)\right)\right)\\
\mathbf{elif}\;z \le 1.10742639132154364 \cdot 10^{-149}:\\
\;\;\;\;j \cdot \left(t \cdot c - y \cdot i\right) + \left(\left(\sqrt{z} \cdot \left(x \cdot \left(y \cdot \sqrt{z}\right)\right) + a \cdot \left(x \cdot \left(-t\right)\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right)\\
\mathbf{elif}\;z \le 5.8169390842491342 \cdot 10^{-86}:\\
\;\;\;\;\left(x \cdot \left(z \cdot y - a \cdot t\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + \left(c \cdot \left(t \cdot j\right) + i \cdot \left(y \cdot \left(-j\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\left(z \cdot \left(x \cdot y\right) + \left(x \cdot a\right) \cdot \left(-t\right)\right) - b \cdot \left(z \cdot c - a \cdot i\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\
\end{array}\]