- Split input into 2 regimes
if t < -2.757625985983166e-115 or 1.5812996223887337e-176 < t
Initial program 3.1
\[\left(\left(\left(\left(\left(\left(x \cdot 18.0\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4.0\right) \cdot t\right) + b \cdot c\right) - \left(x \cdot 4.0\right) \cdot i\right) - \left(j \cdot 27.0\right) \cdot k\]
Simplified3.2
\[\leadsto \color{blue}{\left(c \cdot b - \left(\left(27.0 \cdot j\right) \cdot k + \left(x \cdot 4.0\right) \cdot i\right)\right) + \left(y \cdot \left(\left(x \cdot 18.0\right) \cdot z\right) - a \cdot 4.0\right) \cdot t}\]
Taylor expanded around -inf 4.1
\[\leadsto \left(c \cdot b - \left(\left(27.0 \cdot j\right) \cdot k + \left(x \cdot 4.0\right) \cdot i\right)\right) + \color{blue}{\left(18.0 \cdot \left(t \cdot \left(x \cdot \left(z \cdot y\right)\right)\right) - 4.0 \cdot \left(t \cdot a\right)\right)}\]
Simplified3.2
\[\leadsto \left(c \cdot b - \left(\left(27.0 \cdot j\right) \cdot k + \left(x \cdot 4.0\right) \cdot i\right)\right) + \color{blue}{t \cdot \left(\left(x \cdot z\right) \cdot \left(y \cdot 18.0\right) - 4.0 \cdot a\right)}\]
- Using strategy
rm Applied associate-*l*3.2
\[\leadsto \left(c \cdot b - \left(\left(27.0 \cdot j\right) \cdot k + \color{blue}{x \cdot \left(4.0 \cdot i\right)}\right)\right) + t \cdot \left(\left(x \cdot z\right) \cdot \left(y \cdot 18.0\right) - 4.0 \cdot a\right)\]
- Using strategy
rm Applied associate-*r*3.2
\[\leadsto \left(c \cdot b - \left(\left(27.0 \cdot j\right) \cdot k + x \cdot \left(4.0 \cdot i\right)\right)\right) + t \cdot \left(\color{blue}{\left(\left(x \cdot z\right) \cdot y\right) \cdot 18.0} - 4.0 \cdot a\right)\]
if -2.757625985983166e-115 < t < 1.5812996223887337e-176
Initial program 9.6
\[\left(\left(\left(\left(\left(\left(x \cdot 18.0\right) \cdot y\right) \cdot z\right) \cdot t - \left(a \cdot 4.0\right) \cdot t\right) + b \cdot c\right) - \left(x \cdot 4.0\right) \cdot i\right) - \left(j \cdot 27.0\right) \cdot k\]
Simplified9.0
\[\leadsto \color{blue}{\left(c \cdot b - \left(\left(27.0 \cdot j\right) \cdot k + \left(x \cdot 4.0\right) \cdot i\right)\right) + \left(y \cdot \left(\left(x \cdot 18.0\right) \cdot z\right) - a \cdot 4.0\right) \cdot t}\]
Taylor expanded around -inf 10.7
\[\leadsto \left(c \cdot b - \left(\left(27.0 \cdot j\right) \cdot k + \left(x \cdot 4.0\right) \cdot i\right)\right) + \color{blue}{\left(18.0 \cdot \left(t \cdot \left(x \cdot \left(z \cdot y\right)\right)\right) - 4.0 \cdot \left(t \cdot a\right)\right)}\]
Simplified9.1
\[\leadsto \left(c \cdot b - \left(\left(27.0 \cdot j\right) \cdot k + \left(x \cdot 4.0\right) \cdot i\right)\right) + \color{blue}{t \cdot \left(\left(x \cdot z\right) \cdot \left(y \cdot 18.0\right) - 4.0 \cdot a\right)}\]
- Using strategy
rm Applied associate-*l*9.2
\[\leadsto \left(c \cdot b - \left(\left(27.0 \cdot j\right) \cdot k + \color{blue}{x \cdot \left(4.0 \cdot i\right)}\right)\right) + t \cdot \left(\left(x \cdot z\right) \cdot \left(y \cdot 18.0\right) - 4.0 \cdot a\right)\]
Taylor expanded around 0 6.6
\[\leadsto \left(c \cdot b - \left(\left(27.0 \cdot j\right) \cdot k + x \cdot \left(4.0 \cdot i\right)\right)\right) + t \cdot \left(\color{blue}{0} - 4.0 \cdot a\right)\]
- Recombined 2 regimes into one program.
Final simplification4.3
\[\leadsto \begin{array}{l}
\mathbf{if}\;t \le -2.757625985983166 \cdot 10^{-115}:\\
\;\;\;\;\left(c \cdot b - \left(\left(i \cdot 4.0\right) \cdot x + k \cdot \left(j \cdot 27.0\right)\right)\right) + t \cdot \left(\left(\left(x \cdot z\right) \cdot y\right) \cdot 18.0 - a \cdot 4.0\right)\\
\mathbf{elif}\;t \le 1.5812996223887337 \cdot 10^{-176}:\\
\;\;\;\;\left(a \cdot 4.0\right) \cdot \left(-t\right) + \left(c \cdot b - \left(\left(i \cdot 4.0\right) \cdot x + k \cdot \left(j \cdot 27.0\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(c \cdot b - \left(\left(i \cdot 4.0\right) \cdot x + k \cdot \left(j \cdot 27.0\right)\right)\right) + t \cdot \left(\left(\left(x \cdot z\right) \cdot y\right) \cdot 18.0 - a \cdot 4.0\right)\\
\end{array}\]