- Split input into 6 regimes
if y < -3.13538655420924283e23 or -3.0683073124079845e-119 < y < -2.798889537393456e-301 or 1.23084721813778515e173 < y < 3.97085492737642187e276
Initial program 15.3
\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied sub-neg15.3
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\]
Applied distribute-lft-in15.3
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + \color{blue}{\left(j \cdot \left(c \cdot a\right) + j \cdot \left(-y \cdot i\right)\right)}\]
Simplified15.5
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + \left(\color{blue}{c \cdot \left(j \cdot a\right)} + j \cdot \left(-y \cdot i\right)\right)\]
Simplified15.3
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + \left(c \cdot \left(j \cdot a\right) + \color{blue}{i \cdot \left(\left(-y\right) \cdot j\right)}\right)\]
- Using strategy
rm Applied associate-*r*15.4
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + \left(\color{blue}{\left(c \cdot j\right) \cdot a} + i \cdot \left(\left(-y\right) \cdot j\right)\right)\]
if -3.13538655420924283e23 < y < -3.0683073124079845e-119
Initial program 9.8
\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied sub-neg9.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \color{blue}{\left(c \cdot z + \left(-t \cdot i\right)\right)}\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Applied distribute-lft-in9.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{\left(b \cdot \left(c \cdot z\right) + b \cdot \left(-t \cdot i\right)\right)}\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Simplified9.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + \color{blue}{b \cdot \left(t \cdot \left(-i\right)\right)}\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied associate-*r*8.7
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\color{blue}{\left(b \cdot c\right) \cdot z} + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Taylor expanded around inf 8.7
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\color{blue}{z \cdot \left(b \cdot c\right)} + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Simplified9.2
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\color{blue}{c \cdot \left(b \cdot z\right)} + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
if -2.798889537393456e-301 < y < 1.16511535069567956e-16
Initial program 10.1
\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied sub-neg10.1
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \color{blue}{\left(c \cdot z + \left(-t \cdot i\right)\right)}\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Applied distribute-lft-in10.1
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{\left(b \cdot \left(c \cdot z\right) + b \cdot \left(-t \cdot i\right)\right)}\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Simplified10.1
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + \color{blue}{b \cdot \left(t \cdot \left(-i\right)\right)}\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied associate-*r*9.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\color{blue}{\left(b \cdot c\right) \cdot z} + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied distribute-rgt-neg-out9.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\left(b \cdot c\right) \cdot z + b \cdot \color{blue}{\left(-t \cdot i\right)}\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Applied distribute-rgt-neg-out9.8
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\left(b \cdot c\right) \cdot z + \color{blue}{\left(-b \cdot \left(t \cdot i\right)\right)}\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Simplified9.0
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\left(b \cdot c\right) \cdot z + \left(-\color{blue}{i \cdot \left(b \cdot t\right)}\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
if 1.16511535069567956e-16 < y < 1.0053141711881715e115
Initial program 12.7
\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied sub-neg12.7
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \color{blue}{\left(c \cdot a + \left(-y \cdot i\right)\right)}\]
Applied distribute-lft-in12.7
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + \color{blue}{\left(j \cdot \left(c \cdot a\right) + j \cdot \left(-y \cdot i\right)\right)}\]
Simplified12.7
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + \left(\color{blue}{c \cdot \left(j \cdot a\right)} + j \cdot \left(-y \cdot i\right)\right)\]
Simplified12.9
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + \left(c \cdot \left(j \cdot a\right) + \color{blue}{i \cdot \left(\left(-y\right) \cdot j\right)}\right)\]
- Using strategy
rm Applied sub-neg12.9
\[\leadsto \left(x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - b \cdot \left(c \cdot z - t \cdot i\right)\right) + \left(c \cdot \left(j \cdot a\right) + i \cdot \left(\left(-y\right) \cdot j\right)\right)\]
Applied distribute-lft-in12.9
\[\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 - t \cdot i\right)\right) + \left(c \cdot \left(j \cdot a\right) + i \cdot \left(\left(-y\right) \cdot j\right)\right)\]
Simplified13.3
\[\leadsto \left(\left(\color{blue}{z \cdot \left(y \cdot x\right)} + x \cdot \left(-t \cdot a\right)\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + \left(c \cdot \left(j \cdot a\right) + i \cdot \left(\left(-y\right) \cdot j\right)\right)\]
Simplified12.4
\[\leadsto \left(\left(z \cdot \left(y \cdot x\right) + \color{blue}{t \cdot \left(a \cdot \left(-x\right)\right)}\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + \left(c \cdot \left(j \cdot a\right) + i \cdot \left(\left(-y\right) \cdot j\right)\right)\]
if 1.0053141711881715e115 < y < 1.23084721813778515e173
Initial program 16.1
\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied sub-neg16.1
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \color{blue}{\left(c \cdot z + \left(-t \cdot i\right)\right)}\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Applied distribute-lft-in16.1
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{\left(b \cdot \left(c \cdot z\right) + b \cdot \left(-t \cdot i\right)\right)}\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Simplified16.1
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + \color{blue}{b \cdot \left(t \cdot \left(-i\right)\right)}\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied associate-*r*18.6
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(\color{blue}{\left(b \cdot c\right) \cdot z} + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied sub-neg18.6
\[\leadsto \left(x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(\left(b \cdot c\right) \cdot z + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Applied distribute-lft-in18.6
\[\leadsto \left(\color{blue}{\left(x \cdot \left(y \cdot z\right) + x \cdot \left(-t \cdot a\right)\right)} - \left(\left(b \cdot c\right) \cdot z + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Simplified13.5
\[\leadsto \left(\left(\color{blue}{y \cdot \left(z \cdot x\right)} + x \cdot \left(-t \cdot a\right)\right) - \left(\left(b \cdot c\right) \cdot z + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Simplified13.3
\[\leadsto \left(\left(y \cdot \left(z \cdot x\right) + \color{blue}{a \cdot \left(t \cdot \left(-x\right)\right)}\right) - \left(\left(b \cdot c\right) \cdot z + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
if 3.97085492737642187e276 < y
Initial program 25.1
\[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied sub-neg25.1
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \color{blue}{\left(c \cdot z + \left(-t \cdot i\right)\right)}\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Applied distribute-lft-in25.1
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \color{blue}{\left(b \cdot \left(c \cdot z\right) + b \cdot \left(-t \cdot i\right)\right)}\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Simplified25.1
\[\leadsto \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(b \cdot \left(c \cdot z\right) + \color{blue}{b \cdot \left(t \cdot \left(-i\right)\right)}\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Using strategy
rm Applied sub-neg25.1
\[\leadsto \left(x \cdot \color{blue}{\left(y \cdot z + \left(-t \cdot a\right)\right)} - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Applied distribute-lft-in25.1
\[\leadsto \left(\color{blue}{\left(x \cdot \left(y \cdot z\right) + x \cdot \left(-t \cdot a\right)\right)} - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Simplified26.9
\[\leadsto \left(\left(\color{blue}{z \cdot \left(y \cdot x\right)} + x \cdot \left(-t \cdot a\right)\right) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
Simplified23.9
\[\leadsto \left(\left(z \cdot \left(y \cdot x\right) + \color{blue}{a \cdot \left(t \cdot \left(-x\right)\right)}\right) - \left(b \cdot \left(c \cdot z\right) + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right)\]
- Recombined 6 regimes into one program.
Final simplification12.4
\[\leadsto \begin{array}{l}
\mathbf{if}\;y \le -3.13538655420924283 \cdot 10^{23}:\\
\;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right) + \left(a \cdot \left(c \cdot j\right) + i \cdot \left(y \cdot \left(-j\right)\right)\right)\\
\mathbf{elif}\;y \le -3.0683073124079845 \cdot 10^{-119}:\\
\;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(c \cdot \left(z \cdot b\right) + b \cdot \left(t \cdot \left(-i\right)\right)\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{elif}\;y \le -2.798889537393456 \cdot 10^{-301}:\\
\;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right) + \left(a \cdot \left(c \cdot j\right) + i \cdot \left(y \cdot \left(-j\right)\right)\right)\\
\mathbf{elif}\;y \le 1.16511535069567956 \cdot 10^{-16}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + \left(x \cdot \left(y \cdot z - t \cdot a\right) - \left(z \cdot \left(b \cdot c\right) + i \cdot \left(t \cdot \left(-b\right)\right)\right)\right)\\
\mathbf{elif}\;y \le 1.0053141711881715 \cdot 10^{115}:\\
\;\;\;\;\left(\left(z \cdot \left(y \cdot x\right) + t \cdot \left(x \cdot \left(-a\right)\right)\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right) + \left(i \cdot \left(y \cdot \left(-j\right)\right) + c \cdot \left(a \cdot j\right)\right)\\
\mathbf{elif}\;y \le 1.23084721813778515 \cdot 10^{173}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + \left(\left(y \cdot \left(x \cdot z\right) + a \cdot \left(x \cdot \left(-t\right)\right)\right) - \left(b \cdot \left(t \cdot \left(-i\right)\right) + z \cdot \left(b \cdot c\right)\right)\right)\\
\mathbf{elif}\;y \le 3.97085492737642187 \cdot 10^{276}:\\
\;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(z \cdot c - t \cdot i\right)\right) + \left(a \cdot \left(c \cdot j\right) + i \cdot \left(y \cdot \left(-j\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + \left(\left(z \cdot \left(y \cdot x\right) + a \cdot \left(x \cdot \left(-t\right)\right)\right) - \left(b \cdot \left(t \cdot \left(-i\right)\right) + b \cdot \left(z \cdot c\right)\right)\right)\\
\end{array}\]