Data.Colour.Matrix:determinant from colour-2.3.3, A

Percentage Accurate: 73.5% → 82.2%
Time: 20.6s
Alternatives: 23
Speedup: 0.9×

Specification

?
\[\begin{array}{l} \\ \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) \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (+
  (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i))))
  (* j (- (* c a) (* y i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
def code(x, y, z, t, a, b, c, i, j):
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
function code(x, y, z, t, a, b, c, i, j)
	return Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(t * i)))) + Float64(j * Float64(Float64(c * a) - Float64(y * i))))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\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)
\end{array}

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

The average percentage accuracy by input value. Horizontal axis shows value of an input variable; the variable is choosen in the title. Vertical axis is accuracy; higher is better. Red represent the original program, while blue represents Herbie's suggestion. These can be toggled with buttons below the plot. The line is an average while dots represent individual samples.

Accuracy vs Speed?

Herbie found 23 alternatives:

AlternativeAccuracySpeedup
The accuracy (vertical axis) and speed (horizontal axis) of each alternatives. Up and to the right is better. The red square shows the initial program, and each blue circle shows an alternative.The line shows the best available speed-accuracy tradeoffs.

Initial Program: 73.5% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \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) \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (+
  (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i))))
  (* j (- (* c a) (* y i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: i
    real(8), intent (in) :: j
    code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
}
def code(x, y, z, t, a, b, c, i, j):
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)))
function code(x, y, z, t, a, b, c, i, j)
	return Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(t * i)))) + Float64(j * Float64(Float64(c * a) - Float64(y * i))))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (t * i)))) + (j * ((c * a) - (y * i)));
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\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)
\end{array}

Alternative 1: 82.2% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\ t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + t\_1\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{if}\;t\_2 \leq 5 \cdot 10^{+303}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(\mathsf{fma}\left(z, x, \frac{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), t\_1\right)}{y}\right) - i \cdot j\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1 (* b (- (* t i) (* z c))))
        (t_2 (+ (+ (* x (- (* y z) (* t a))) t_1) (* j (- (* a c) (* y i))))))
   (if (<= t_2 5e+303)
     t_2
     (* y (- (fma z x (/ (fma a (fma j c (* x (- t))) t_1) y)) (* i j))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = b * ((t * i) - (z * c));
	double t_2 = ((x * ((y * z) - (t * a))) + t_1) + (j * ((a * c) - (y * i)));
	double tmp;
	if (t_2 <= 5e+303) {
		tmp = t_2;
	} else {
		tmp = y * (fma(z, x, (fma(a, fma(j, c, (x * -t)), t_1) / y)) - (i * j));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(b * Float64(Float64(t * i) - Float64(z * c)))
	t_2 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + t_1) + Float64(j * Float64(Float64(a * c) - Float64(y * i))))
	tmp = 0.0
	if (t_2 <= 5e+303)
		tmp = t_2;
	else
		tmp = Float64(y * Float64(fma(z, x, Float64(fma(a, fma(j, c, Float64(x * Float64(-t))), t_1) / y)) - Float64(i * j)));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision] + N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, 5e+303], t$95$2, N[(y * N[(N[(z * x + N[(N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision] - N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\
t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + t\_1\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;t\_2 \leq 5 \cdot 10^{+303}:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;y \cdot \left(\mathsf{fma}\left(z, x, \frac{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), t\_1\right)}{y}\right) - i \cdot j\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i)))) < 4.9999999999999997e303

    1. Initial program 92.5%

      \[\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) \]
    2. Add Preprocessing

    if 4.9999999999999997e303 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i))))

    1. Initial program 48.5%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(-1 \cdot \left(x \cdot z\right) + \left(-1 \cdot \frac{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + a \cdot \left(c \cdot j\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)}{y} + i \cdot j\right)\right)\right)} \]
    4. Applied rewrites72.2%

      \[\leadsto \color{blue}{\left(j \cdot i - \mathsf{fma}\left(z, x, \frac{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), b \cdot \left(i \cdot t - c \cdot z\right)\right)}{y}\right)\right) \cdot \left(-y\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification84.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right) \leq 5 \cdot 10^{+303}:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(\mathsf{fma}\left(z, x, \frac{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), b \cdot \left(t \cdot i - z \cdot c\right)\right)}{y}\right) - i \cdot j\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 84.2% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{if}\;t\_1 \leq \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1
         (+
          (+ (* x (- (* y z) (* t a))) (* b (- (* t i) (* z c))))
          (* j (- (* a c) (* y i))))))
   (if (<= t_1 INFINITY)
     t_1
     (fma a (fma j c (* x (- t))) (* y (fma j (- i) (* x z)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = ((x * ((y * z) - (t * a))) + (b * ((t * i) - (z * c)))) + (j * ((a * c) - (y * i)));
	double tmp;
	if (t_1 <= ((double) INFINITY)) {
		tmp = t_1;
	} else {
		tmp = fma(a, fma(j, c, (x * -t)), (y * fma(j, -i, (x * z))));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) + Float64(b * Float64(Float64(t * i) - Float64(z * c)))) + Float64(j * Float64(Float64(a * c) - Float64(y * i))))
	tmp = 0.0
	if (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = fma(a, fma(j, c, Float64(x * Float64(-t))), Float64(y * fma(j, Float64(-i), Float64(x * z))));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision] + N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i)))) < +inf.0

    1. Initial program 90.6%

      \[\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) \]
    2. Add Preprocessing

    if +inf.0 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 t i)))) (*.f64 j (-.f64 (*.f64 c a) (*.f64 y i))))

    1. Initial program 0.0%

      \[\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) \]
    2. Add Preprocessing
    3. Taylor expanded in y around 0

      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
    4. Applied rewrites44.4%

      \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
    5. Taylor expanded in b around 0

      \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right), y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right) \]
    6. Step-by-step derivation
      1. Applied rewrites53.8%

        \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-x\right)}\right), y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right) \]
    7. Recombined 2 regimes into one program.
    8. Final simplification84.4%

      \[\leadsto \begin{array}{l} \mathbf{if}\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right) \leq \infty:\\ \;\;\;\;\left(x \cdot \left(y \cdot z - t \cdot a\right) + b \cdot \left(t \cdot i - z \cdot c\right)\right) + j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \end{array} \]
    9. Add Preprocessing

    Alternative 3: 79.4% accurate, 0.9× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ t_2 := \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\ \mathbf{if}\;y \leq -1.35 \cdot 10^{-132}:\\ \;\;\;\;\mathsf{fma}\left(a, t\_2, t\_1\right)\\ \mathbf{elif}\;y \leq 1.22 \cdot 10^{+129}:\\ \;\;\;\;\mathsf{fma}\left(a, t\_2, \mathsf{fma}\left(z, x \cdot y - b \cdot c, i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
    (FPCore (x y z t a b c i j)
     :precision binary64
     (let* ((t_1 (fma b (- (* t i) (* z c)) (* y (fma j (- i) (* x z)))))
            (t_2 (fma j c (* x (- t)))))
       (if (<= y -1.35e-132)
         (fma a t_2 t_1)
         (if (<= y 1.22e+129)
           (fma a t_2 (fma z (- (* x y) (* b c)) (* i (fma j (- y) (* t b)))))
           t_1))))
    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
    	double t_1 = fma(b, ((t * i) - (z * c)), (y * fma(j, -i, (x * z))));
    	double t_2 = fma(j, c, (x * -t));
    	double tmp;
    	if (y <= -1.35e-132) {
    		tmp = fma(a, t_2, t_1);
    	} else if (y <= 1.22e+129) {
    		tmp = fma(a, t_2, fma(z, ((x * y) - (b * c)), (i * fma(j, -y, (t * b)))));
    	} else {
    		tmp = t_1;
    	}
    	return tmp;
    }
    
    function code(x, y, z, t, a, b, c, i, j)
    	t_1 = fma(b, Float64(Float64(t * i) - Float64(z * c)), Float64(y * fma(j, Float64(-i), Float64(x * z))))
    	t_2 = fma(j, c, Float64(x * Float64(-t)))
    	tmp = 0.0
    	if (y <= -1.35e-132)
    		tmp = fma(a, t_2, t_1);
    	elseif (y <= 1.22e+129)
    		tmp = fma(a, t_2, fma(z, Float64(Float64(x * y) - Float64(b * c)), Float64(i * fma(j, Float64(-y), Float64(t * b)))));
    	else
    		tmp = t_1;
    	end
    	return tmp
    end
    
    code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision] + N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.35e-132], N[(a * t$95$2 + t$95$1), $MachinePrecision], If[LessEqual[y, 1.22e+129], N[(a * t$95$2 + N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision] + N[(i * N[(j * (-y) + N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    t_1 := \mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\
    t_2 := \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\
    \mathbf{if}\;y \leq -1.35 \cdot 10^{-132}:\\
    \;\;\;\;\mathsf{fma}\left(a, t\_2, t\_1\right)\\
    
    \mathbf{elif}\;y \leq 1.22 \cdot 10^{+129}:\\
    \;\;\;\;\mathsf{fma}\left(a, t\_2, \mathsf{fma}\left(z, x \cdot y - b \cdot c, i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\right)\right)\\
    
    \mathbf{else}:\\
    \;\;\;\;t\_1\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 3 regimes
    2. if y < -1.34999999999999995e-132

      1. Initial program 74.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) \]
      2. Add Preprocessing
      3. Taylor expanded in y around 0

        \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
      4. Applied rewrites82.2%

        \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]

      if -1.34999999999999995e-132 < y < 1.2200000000000001e129

      1. Initial program 77.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) \]
      2. Add Preprocessing
      3. Taylor expanded in y around 0

        \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
      4. Applied rewrites76.6%

        \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
      5. Taylor expanded in i around 0

        \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right), -1 \cdot \left(b \cdot \left(c \cdot z\right)\right) + \left(i \cdot \left(-1 \cdot \left(j \cdot y\right) + b \cdot t\right) + x \cdot \left(y \cdot z\right)\right)\right) \]
      6. Step-by-step derivation
        1. Applied rewrites85.0%

          \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-x\right)}\right), \mathsf{fma}\left(z, y \cdot x - c \cdot b, i \cdot \mathsf{fma}\left(j, -y, b \cdot t\right)\right)\right) \]

        if 1.2200000000000001e129 < y

        1. Initial program 67.9%

          \[\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) \]
        2. Add Preprocessing
        3. Taylor expanded in a around 0

          \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
        4. Step-by-step derivation
          1. sub-negN/A

            \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) + \left(\mathsf{neg}\left(b \cdot \left(c \cdot z - i \cdot t\right)\right)\right)} \]
          2. +-commutativeN/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(b \cdot \left(c \cdot z - i \cdot t\right)\right)\right) + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right)} \]
          3. distribute-rgt-neg-inN/A

            \[\leadsto \color{blue}{b \cdot \left(\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)\right)} + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
          4. mul-1-negN/A

            \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
          5. lower-fma.f64N/A

            \[\leadsto \color{blue}{\mathsf{fma}\left(b, -1 \cdot \left(c \cdot z - i \cdot t\right), -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right)} \]
          6. mul-1-negN/A

            \[\leadsto \mathsf{fma}\left(b, \color{blue}{\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
          7. sub-negN/A

            \[\leadsto \mathsf{fma}\left(b, \mathsf{neg}\left(\color{blue}{\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)}\right), -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
          8. distribute-neg-inN/A

            \[\leadsto \mathsf{fma}\left(b, \color{blue}{\left(\mathsf{neg}\left(c \cdot z\right)\right) + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
          9. remove-double-negN/A

            \[\leadsto \mathsf{fma}\left(b, \left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{i \cdot t}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
          10. +-commutativeN/A

            \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t + \left(\mathsf{neg}\left(c \cdot z\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
          11. sub-negN/A

            \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t - c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
          12. lower--.f64N/A

            \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t - c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
          13. lower-*.f64N/A

            \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t} - c \cdot z, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
          14. lower-*.f64N/A

            \[\leadsto \mathsf{fma}\left(b, i \cdot t - \color{blue}{c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
          15. associate-*r*N/A

            \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, -1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) \]
          16. associate-*r*N/A

            \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, \color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) \]
          17. *-commutativeN/A

            \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, \left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) \]
        5. Applied rewrites88.4%

          \[\leadsto \color{blue}{\mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)} \]
      7. Recombined 3 regimes into one program.
      8. Final simplification84.5%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.35 \cdot 10^{-132}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), \mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\right)\\ \mathbf{elif}\;y \leq 1.22 \cdot 10^{+129}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), \mathsf{fma}\left(z, x \cdot y - b \cdot c, i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \end{array} \]
      9. Add Preprocessing

      Alternative 4: 78.2% accurate, 0.9× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\ t_2 := \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\ \mathbf{if}\;y \leq -50000000000:\\ \;\;\;\;\mathsf{fma}\left(a, t\_2, t\_1\right)\\ \mathbf{elif}\;y \leq 1.22 \cdot 10^{+129}:\\ \;\;\;\;\mathsf{fma}\left(a, t\_2, \mathsf{fma}\left(z, x \cdot y - b \cdot c, i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, t\_1\right)\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i j)
       :precision binary64
       (let* ((t_1 (* y (fma j (- i) (* x z)))) (t_2 (fma j c (* x (- t)))))
         (if (<= y -50000000000.0)
           (fma a t_2 t_1)
           (if (<= y 1.22e+129)
             (fma a t_2 (fma z (- (* x y) (* b c)) (* i (fma j (- y) (* t b)))))
             (fma b (- (* t i) (* z c)) t_1)))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
      	double t_1 = y * fma(j, -i, (x * z));
      	double t_2 = fma(j, c, (x * -t));
      	double tmp;
      	if (y <= -50000000000.0) {
      		tmp = fma(a, t_2, t_1);
      	} else if (y <= 1.22e+129) {
      		tmp = fma(a, t_2, fma(z, ((x * y) - (b * c)), (i * fma(j, -y, (t * b)))));
      	} else {
      		tmp = fma(b, ((t * i) - (z * c)), t_1);
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i, j)
      	t_1 = Float64(y * fma(j, Float64(-i), Float64(x * z)))
      	t_2 = fma(j, c, Float64(x * Float64(-t)))
      	tmp = 0.0
      	if (y <= -50000000000.0)
      		tmp = fma(a, t_2, t_1);
      	elseif (y <= 1.22e+129)
      		tmp = fma(a, t_2, fma(z, Float64(Float64(x * y) - Float64(b * c)), Float64(i * fma(j, Float64(-y), Float64(t * b)))));
      	else
      		tmp = fma(b, Float64(Float64(t * i) - Float64(z * c)), t_1);
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -50000000000.0], N[(a * t$95$2 + t$95$1), $MachinePrecision], If[LessEqual[y, 1.22e+129], N[(a * t$95$2 + N[(z * N[(N[(x * y), $MachinePrecision] - N[(b * c), $MachinePrecision]), $MachinePrecision] + N[(i * N[(j * (-y) + N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\
      t_2 := \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\
      \mathbf{if}\;y \leq -50000000000:\\
      \;\;\;\;\mathsf{fma}\left(a, t\_2, t\_1\right)\\
      
      \mathbf{elif}\;y \leq 1.22 \cdot 10^{+129}:\\
      \;\;\;\;\mathsf{fma}\left(a, t\_2, \mathsf{fma}\left(z, x \cdot y - b \cdot c, i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\right)\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, t\_1\right)\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if y < -5e10

        1. Initial program 71.9%

          \[\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) \]
        2. Add Preprocessing
        3. Taylor expanded in y around 0

          \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
        4. Applied rewrites81.4%

          \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
        5. Taylor expanded in b around 0

          \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right), y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right) \]
        6. Step-by-step derivation
          1. Applied rewrites75.1%

            \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-x\right)}\right), y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right) \]

          if -5e10 < y < 1.2200000000000001e129

          1. Initial program 78.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) \]
          2. Add Preprocessing
          3. Taylor expanded in y around 0

            \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
          4. Applied rewrites77.8%

            \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
          5. Taylor expanded in i around 0

            \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right), -1 \cdot \left(b \cdot \left(c \cdot z\right)\right) + \left(i \cdot \left(-1 \cdot \left(j \cdot y\right) + b \cdot t\right) + x \cdot \left(y \cdot z\right)\right)\right) \]
          6. Step-by-step derivation
            1. Applied rewrites84.8%

              \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-x\right)}\right), \mathsf{fma}\left(z, y \cdot x - c \cdot b, i \cdot \mathsf{fma}\left(j, -y, b \cdot t\right)\right)\right) \]

            if 1.2200000000000001e129 < y

            1. Initial program 67.9%

              \[\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) \]
            2. Add Preprocessing
            3. Taylor expanded in a around 0

              \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
            4. Step-by-step derivation
              1. sub-negN/A

                \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) + \left(\mathsf{neg}\left(b \cdot \left(c \cdot z - i \cdot t\right)\right)\right)} \]
              2. +-commutativeN/A

                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(b \cdot \left(c \cdot z - i \cdot t\right)\right)\right) + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right)} \]
              3. distribute-rgt-neg-inN/A

                \[\leadsto \color{blue}{b \cdot \left(\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)\right)} + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
              4. mul-1-negN/A

                \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
              5. lower-fma.f64N/A

                \[\leadsto \color{blue}{\mathsf{fma}\left(b, -1 \cdot \left(c \cdot z - i \cdot t\right), -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right)} \]
              6. mul-1-negN/A

                \[\leadsto \mathsf{fma}\left(b, \color{blue}{\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
              7. sub-negN/A

                \[\leadsto \mathsf{fma}\left(b, \mathsf{neg}\left(\color{blue}{\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)}\right), -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
              8. distribute-neg-inN/A

                \[\leadsto \mathsf{fma}\left(b, \color{blue}{\left(\mathsf{neg}\left(c \cdot z\right)\right) + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
              9. remove-double-negN/A

                \[\leadsto \mathsf{fma}\left(b, \left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{i \cdot t}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
              10. +-commutativeN/A

                \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t + \left(\mathsf{neg}\left(c \cdot z\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
              11. sub-negN/A

                \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t - c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
              12. lower--.f64N/A

                \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t - c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
              13. lower-*.f64N/A

                \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t} - c \cdot z, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
              14. lower-*.f64N/A

                \[\leadsto \mathsf{fma}\left(b, i \cdot t - \color{blue}{c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
              15. associate-*r*N/A

                \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, -1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) \]
              16. associate-*r*N/A

                \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, \color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) \]
              17. *-commutativeN/A

                \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, \left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) \]
            5. Applied rewrites88.4%

              \[\leadsto \color{blue}{\mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)} \]
          7. Recombined 3 regimes into one program.
          8. Final simplification83.1%

            \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -50000000000:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \mathbf{elif}\;y \leq 1.22 \cdot 10^{+129}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), \mathsf{fma}\left(z, x \cdot y - b \cdot c, i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \end{array} \]
          9. Add Preprocessing

          Alternative 5: 70.8% accurate, 1.1× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\ t_2 := \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\ \mathbf{if}\;a \leq -6.8 \cdot 10^{+73}:\\ \;\;\;\;\mathsf{fma}\left(a, t\_2, z \cdot \left(\mathsf{fma}\left(i, -\frac{t}{z}, c\right) \cdot \left(-b\right)\right)\right)\\ \mathbf{elif}\;a \leq 1.7 \cdot 10^{+35}:\\ \;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, t\_1\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(a, t\_2, t\_1\right)\\ \end{array} \end{array} \]
          (FPCore (x y z t a b c i j)
           :precision binary64
           (let* ((t_1 (* y (fma j (- i) (* x z)))) (t_2 (fma j c (* x (- t)))))
             (if (<= a -6.8e+73)
               (fma a t_2 (* z (* (fma i (- (/ t z)) c) (- b))))
               (if (<= a 1.7e+35) (fma b (- (* t i) (* z c)) t_1) (fma a t_2 t_1)))))
          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
          	double t_1 = y * fma(j, -i, (x * z));
          	double t_2 = fma(j, c, (x * -t));
          	double tmp;
          	if (a <= -6.8e+73) {
          		tmp = fma(a, t_2, (z * (fma(i, -(t / z), c) * -b)));
          	} else if (a <= 1.7e+35) {
          		tmp = fma(b, ((t * i) - (z * c)), t_1);
          	} else {
          		tmp = fma(a, t_2, t_1);
          	}
          	return tmp;
          }
          
          function code(x, y, z, t, a, b, c, i, j)
          	t_1 = Float64(y * fma(j, Float64(-i), Float64(x * z)))
          	t_2 = fma(j, c, Float64(x * Float64(-t)))
          	tmp = 0.0
          	if (a <= -6.8e+73)
          		tmp = fma(a, t_2, Float64(z * Float64(fma(i, Float64(-Float64(t / z)), c) * Float64(-b))));
          	elseif (a <= 1.7e+35)
          		tmp = fma(b, Float64(Float64(t * i) - Float64(z * c)), t_1);
          	else
          		tmp = fma(a, t_2, t_1);
          	end
          	return tmp
          end
          
          code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -6.8e+73], N[(a * t$95$2 + N[(z * N[(N[(i * (-N[(t / z), $MachinePrecision]) + c), $MachinePrecision] * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.7e+35], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision], N[(a * t$95$2 + t$95$1), $MachinePrecision]]]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\
          t_2 := \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\
          \mathbf{if}\;a \leq -6.8 \cdot 10^{+73}:\\
          \;\;\;\;\mathsf{fma}\left(a, t\_2, z \cdot \left(\mathsf{fma}\left(i, -\frac{t}{z}, c\right) \cdot \left(-b\right)\right)\right)\\
          
          \mathbf{elif}\;a \leq 1.7 \cdot 10^{+35}:\\
          \;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, t\_1\right)\\
          
          \mathbf{else}:\\
          \;\;\;\;\mathsf{fma}\left(a, t\_2, t\_1\right)\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 3 regimes
          2. if a < -6.8000000000000003e73

            1. Initial program 74.6%

              \[\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) \]
            2. Add Preprocessing
            3. Taylor expanded in y around 0

              \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
            4. Applied rewrites79.1%

              \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
            5. Taylor expanded in i around 0

              \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right), -1 \cdot \left(b \cdot \left(c \cdot z\right)\right) + \left(i \cdot \left(-1 \cdot \left(j \cdot y\right) + b \cdot t\right) + x \cdot \left(y \cdot z\right)\right)\right) \]
            6. Step-by-step derivation
              1. Applied rewrites83.9%

                \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-x\right)}\right), \mathsf{fma}\left(z, y \cdot x - c \cdot b, i \cdot \mathsf{fma}\left(j, -y, b \cdot t\right)\right)\right) \]
              2. Taylor expanded in z around inf

                \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(\mathsf{neg}\left(x\right)\right)}\right), z \cdot \left(\left(x \cdot y + \frac{i \cdot \left(-1 \cdot \left(j \cdot y\right) + b \cdot t\right)}{z}\right) - b \cdot c\right)\right) \]
              3. Step-by-step derivation
                1. Applied rewrites80.7%

                  \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-x\right)}\right), z \cdot \mathsf{fma}\left(i, \frac{\mathsf{fma}\left(j, -y, b \cdot t\right)}{z}, y \cdot x - c \cdot b\right)\right) \]
                2. Taylor expanded in b around -inf

                  \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(\mathsf{neg}\left(x\right)\right)\right), z \cdot \left(-1 \cdot \left(b \cdot \left(-1 \cdot \frac{i \cdot t}{z} - -1 \cdot c\right)\right)\right)\right) \]
                3. Step-by-step derivation
                  1. Applied rewrites76.5%

                    \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), z \cdot \left(-b \cdot \mathsf{fma}\left(i, \frac{t}{-z}, c\right)\right)\right) \]

                  if -6.8000000000000003e73 < a < 1.7000000000000001e35

                  1. Initial program 82.4%

                    \[\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) \]
                  2. Add Preprocessing
                  3. Taylor expanded in a around 0

                    \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
                  4. Step-by-step derivation
                    1. sub-negN/A

                      \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) + \left(\mathsf{neg}\left(b \cdot \left(c \cdot z - i \cdot t\right)\right)\right)} \]
                    2. +-commutativeN/A

                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(b \cdot \left(c \cdot z - i \cdot t\right)\right)\right) + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right)} \]
                    3. distribute-rgt-neg-inN/A

                      \[\leadsto \color{blue}{b \cdot \left(\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)\right)} + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                    4. mul-1-negN/A

                      \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                    5. lower-fma.f64N/A

                      \[\leadsto \color{blue}{\mathsf{fma}\left(b, -1 \cdot \left(c \cdot z - i \cdot t\right), -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right)} \]
                    6. mul-1-negN/A

                      \[\leadsto \mathsf{fma}\left(b, \color{blue}{\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                    7. sub-negN/A

                      \[\leadsto \mathsf{fma}\left(b, \mathsf{neg}\left(\color{blue}{\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)}\right), -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                    8. distribute-neg-inN/A

                      \[\leadsto \mathsf{fma}\left(b, \color{blue}{\left(\mathsf{neg}\left(c \cdot z\right)\right) + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                    9. remove-double-negN/A

                      \[\leadsto \mathsf{fma}\left(b, \left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{i \cdot t}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                    10. +-commutativeN/A

                      \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t + \left(\mathsf{neg}\left(c \cdot z\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                    11. sub-negN/A

                      \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t - c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                    12. lower--.f64N/A

                      \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t - c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                    13. lower-*.f64N/A

                      \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t} - c \cdot z, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                    14. lower-*.f64N/A

                      \[\leadsto \mathsf{fma}\left(b, i \cdot t - \color{blue}{c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                    15. associate-*r*N/A

                      \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, -1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) \]
                    16. associate-*r*N/A

                      \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, \color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) \]
                    17. *-commutativeN/A

                      \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, \left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) \]
                  5. Applied rewrites79.1%

                    \[\leadsto \color{blue}{\mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)} \]

                  if 1.7000000000000001e35 < a

                  1. Initial program 60.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) \]
                  2. Add Preprocessing
                  3. Taylor expanded in y around 0

                    \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
                  4. Applied rewrites79.8%

                    \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
                  5. Taylor expanded in b around 0

                    \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right), y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right) \]
                  6. Step-by-step derivation
                    1. Applied rewrites71.8%

                      \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-x\right)}\right), y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right) \]
                  7. Recombined 3 regimes into one program.
                  8. Final simplification76.8%

                    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -6.8 \cdot 10^{+73}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), z \cdot \left(\mathsf{fma}\left(i, -\frac{t}{z}, c\right) \cdot \left(-b\right)\right)\right)\\ \mathbf{elif}\;a \leq 1.7 \cdot 10^{+35}:\\ \;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \end{array} \]
                  9. Add Preprocessing

                  Alternative 6: 72.2% accurate, 1.2× speedup?

                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\ t_2 := \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), t\_1\right)\\ \mathbf{if}\;a \leq -7.5 \cdot 10^{+45}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;a \leq 1.7 \cdot 10^{+35}:\\ \;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, t\_1\right)\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
                  (FPCore (x y z t a b c i j)
                   :precision binary64
                   (let* ((t_1 (* y (fma j (- i) (* x z))))
                          (t_2 (fma a (fma j c (* x (- t))) t_1)))
                     (if (<= a -7.5e+45)
                       t_2
                       (if (<= a 1.7e+35) (fma b (- (* t i) (* z c)) t_1) t_2))))
                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                  	double t_1 = y * fma(j, -i, (x * z));
                  	double t_2 = fma(a, fma(j, c, (x * -t)), t_1);
                  	double tmp;
                  	if (a <= -7.5e+45) {
                  		tmp = t_2;
                  	} else if (a <= 1.7e+35) {
                  		tmp = fma(b, ((t * i) - (z * c)), t_1);
                  	} else {
                  		tmp = t_2;
                  	}
                  	return tmp;
                  }
                  
                  function code(x, y, z, t, a, b, c, i, j)
                  	t_1 = Float64(y * fma(j, Float64(-i), Float64(x * z)))
                  	t_2 = fma(a, fma(j, c, Float64(x * Float64(-t))), t_1)
                  	tmp = 0.0
                  	if (a <= -7.5e+45)
                  		tmp = t_2;
                  	elseif (a <= 1.7e+35)
                  		tmp = fma(b, Float64(Float64(t * i) - Float64(z * c)), t_1);
                  	else
                  		tmp = t_2;
                  	end
                  	return tmp
                  end
                  
                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]}, If[LessEqual[a, -7.5e+45], t$95$2, If[LessEqual[a, 1.7e+35], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision], t$95$2]]]]
                  
                  \begin{array}{l}
                  
                  \\
                  \begin{array}{l}
                  t_1 := y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\
                  t_2 := \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), t\_1\right)\\
                  \mathbf{if}\;a \leq -7.5 \cdot 10^{+45}:\\
                  \;\;\;\;t\_2\\
                  
                  \mathbf{elif}\;a \leq 1.7 \cdot 10^{+35}:\\
                  \;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, t\_1\right)\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;t\_2\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 2 regimes
                  2. if a < -7.50000000000000058e45 or 1.7000000000000001e35 < a

                    1. Initial program 67.9%

                      \[\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) \]
                    2. Add Preprocessing
                    3. Taylor expanded in y around 0

                      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
                    4. Applied rewrites79.8%

                      \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
                    5. Taylor expanded in b around 0

                      \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right), y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right) \]
                    6. Step-by-step derivation
                      1. Applied rewrites73.6%

                        \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-x\right)}\right), y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right) \]

                      if -7.50000000000000058e45 < a < 1.7000000000000001e35

                      1. Initial program 82.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) \]
                      2. Add Preprocessing
                      3. Taylor expanded in a around 0

                        \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
                      4. Step-by-step derivation
                        1. sub-negN/A

                          \[\leadsto \color{blue}{\left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) + \left(\mathsf{neg}\left(b \cdot \left(c \cdot z - i \cdot t\right)\right)\right)} \]
                        2. +-commutativeN/A

                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(b \cdot \left(c \cdot z - i \cdot t\right)\right)\right) + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right)} \]
                        3. distribute-rgt-neg-inN/A

                          \[\leadsto \color{blue}{b \cdot \left(\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)\right)} + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                        4. mul-1-negN/A

                          \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} + \left(-1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                        5. lower-fma.f64N/A

                          \[\leadsto \color{blue}{\mathsf{fma}\left(b, -1 \cdot \left(c \cdot z - i \cdot t\right), -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right)} \]
                        6. mul-1-negN/A

                          \[\leadsto \mathsf{fma}\left(b, \color{blue}{\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                        7. sub-negN/A

                          \[\leadsto \mathsf{fma}\left(b, \mathsf{neg}\left(\color{blue}{\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)}\right), -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                        8. distribute-neg-inN/A

                          \[\leadsto \mathsf{fma}\left(b, \color{blue}{\left(\mathsf{neg}\left(c \cdot z\right)\right) + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                        9. remove-double-negN/A

                          \[\leadsto \mathsf{fma}\left(b, \left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{i \cdot t}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                        10. +-commutativeN/A

                          \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t + \left(\mathsf{neg}\left(c \cdot z\right)\right)}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                        11. sub-negN/A

                          \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t - c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                        12. lower--.f64N/A

                          \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t - c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                        13. lower-*.f64N/A

                          \[\leadsto \mathsf{fma}\left(b, \color{blue}{i \cdot t} - c \cdot z, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                        14. lower-*.f64N/A

                          \[\leadsto \mathsf{fma}\left(b, i \cdot t - \color{blue}{c \cdot z}, -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + x \cdot \left(y \cdot z\right)\right) \]
                        15. associate-*r*N/A

                          \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, -1 \cdot \color{blue}{\left(\left(i \cdot j\right) \cdot y\right)} + x \cdot \left(y \cdot z\right)\right) \]
                        16. associate-*r*N/A

                          \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, \color{blue}{\left(-1 \cdot \left(i \cdot j\right)\right) \cdot y} + x \cdot \left(y \cdot z\right)\right) \]
                        17. *-commutativeN/A

                          \[\leadsto \mathsf{fma}\left(b, i \cdot t - c \cdot z, \left(-1 \cdot \left(i \cdot j\right)\right) \cdot y + x \cdot \color{blue}{\left(z \cdot y\right)}\right) \]
                      5. Applied rewrites79.5%

                        \[\leadsto \color{blue}{\mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)} \]
                    7. Recombined 2 regimes into one program.
                    8. Final simplification76.5%

                      \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -7.5 \cdot 10^{+45}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \mathbf{elif}\;a \leq 1.7 \cdot 10^{+35}:\\ \;\;\;\;\mathsf{fma}\left(b, t \cdot i - z \cdot c, y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \end{array} \]
                    9. Add Preprocessing

                    Alternative 7: 64.7% accurate, 1.2× speedup?

                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -6.4 \cdot 10^{+52}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \end{array} \end{array} \]
                    (FPCore (x y z t a b c i j)
                     :precision binary64
                     (if (<= i -6.4e+52)
                       (+ (* j (- (* a c) (* y i))) (* i (* t b)))
                       (if (<= i 1.8e+172)
                         (fma a (fma j c (* x (- t))) (* y (fma j (- i) (* x z))))
                         (* i (fma j (- y) (* t b))))))
                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                    	double tmp;
                    	if (i <= -6.4e+52) {
                    		tmp = (j * ((a * c) - (y * i))) + (i * (t * b));
                    	} else if (i <= 1.8e+172) {
                    		tmp = fma(a, fma(j, c, (x * -t)), (y * fma(j, -i, (x * z))));
                    	} else {
                    		tmp = i * fma(j, -y, (t * b));
                    	}
                    	return tmp;
                    }
                    
                    function code(x, y, z, t, a, b, c, i, j)
                    	tmp = 0.0
                    	if (i <= -6.4e+52)
                    		tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + Float64(i * Float64(t * b)));
                    	elseif (i <= 1.8e+172)
                    		tmp = fma(a, fma(j, c, Float64(x * Float64(-t))), Float64(y * fma(j, Float64(-i), Float64(x * z))));
                    	else
                    		tmp = Float64(i * fma(j, Float64(-y), Float64(t * b)));
                    	end
                    	return tmp
                    end
                    
                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[i, -6.4e+52], N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.8e+172], N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision] + N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(j * (-y) + N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
                    
                    \begin{array}{l}
                    
                    \\
                    \begin{array}{l}
                    \mathbf{if}\;i \leq -6.4 \cdot 10^{+52}:\\
                    \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + i \cdot \left(t \cdot b\right)\\
                    
                    \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\
                    \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 3 regimes
                    2. if i < -6.4e52

                      1. Initial program 78.2%

                        \[\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) \]
                      2. Add Preprocessing
                      3. Taylor expanded in i around inf

                        \[\leadsto \color{blue}{b \cdot \left(i \cdot t\right)} + j \cdot \left(c \cdot a - y \cdot i\right) \]
                      4. Step-by-step derivation
                        1. associate-*r*N/A

                          \[\leadsto \color{blue}{\left(b \cdot i\right) \cdot t} + j \cdot \left(c \cdot a - y \cdot i\right) \]
                        2. *-commutativeN/A

                          \[\leadsto \color{blue}{\left(i \cdot b\right)} \cdot t + j \cdot \left(c \cdot a - y \cdot i\right) \]
                        3. associate-*r*N/A

                          \[\leadsto \color{blue}{i \cdot \left(b \cdot t\right)} + j \cdot \left(c \cdot a - y \cdot i\right) \]
                        4. lower-*.f64N/A

                          \[\leadsto \color{blue}{i \cdot \left(b \cdot t\right)} + j \cdot \left(c \cdot a - y \cdot i\right) \]
                        5. lower-*.f6485.8

                          \[\leadsto i \cdot \color{blue}{\left(b \cdot t\right)} + j \cdot \left(c \cdot a - y \cdot i\right) \]
                      5. Applied rewrites85.8%

                        \[\leadsto \color{blue}{i \cdot \left(b \cdot t\right)} + j \cdot \left(c \cdot a - y \cdot i\right) \]

                      if -6.4e52 < i < 1.79999999999999987e172

                      1. Initial program 77.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) \]
                      2. Add Preprocessing
                      3. Taylor expanded in y around 0

                        \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
                      4. Applied rewrites80.9%

                        \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
                      5. Taylor expanded in b around 0

                        \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right), y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right) \]
                      6. Step-by-step derivation
                        1. Applied rewrites64.0%

                          \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-x\right)}\right), y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right) \]

                        if 1.79999999999999987e172 < i

                        1. Initial program 60.4%

                          \[\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) \]
                        2. Add Preprocessing
                        3. Taylor expanded in i around inf

                          \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                        4. Step-by-step derivation
                          1. lower-*.f64N/A

                            \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                          2. cancel-sign-sub-invN/A

                            \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \]
                          3. mul-1-negN/A

                            \[\leadsto i \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot y\right)\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                          4. distribute-rgt-neg-inN/A

                            \[\leadsto i \cdot \left(\color{blue}{j \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                          5. mul-1-negN/A

                            \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(-1 \cdot y\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                          6. metadata-evalN/A

                            \[\leadsto i \cdot \left(j \cdot \left(-1 \cdot y\right) + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \]
                          7. *-lft-identityN/A

                            \[\leadsto i \cdot \left(j \cdot \left(-1 \cdot y\right) + \color{blue}{b \cdot t}\right) \]
                          8. lower-fma.f64N/A

                            \[\leadsto i \cdot \color{blue}{\mathsf{fma}\left(j, -1 \cdot y, b \cdot t\right)} \]
                          9. mul-1-negN/A

                            \[\leadsto i \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(y\right)}, b \cdot t\right) \]
                          10. lower-neg.f64N/A

                            \[\leadsto i \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(y\right)}, b \cdot t\right) \]
                          11. lower-*.f6478.6

                            \[\leadsto i \cdot \mathsf{fma}\left(j, -y, \color{blue}{b \cdot t}\right) \]
                        5. Applied rewrites78.6%

                          \[\leadsto \color{blue}{i \cdot \mathsf{fma}\left(j, -y, b \cdot t\right)} \]
                      7. Recombined 3 regimes into one program.
                      8. Final simplification69.9%

                        \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -6.4 \cdot 10^{+52}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \end{array} \]
                      9. Add Preprocessing

                      Alternative 8: 59.2% accurate, 1.3× speedup?

                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -1.8 \cdot 10^{-39}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), x \cdot \left(y \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                      (FPCore (x y z t a b c i j)
                       :precision binary64
                       (let* ((t_1 (* i (fma j (- y) (* t b)))))
                         (if (<= i -4.2e+30)
                           t_1
                           (if (<= i -1.8e-39)
                             (* b (- (* t i) (* z c)))
                             (if (<= i 1.8e+172) (fma a (fma j c (* x (- t))) (* x (* y z))) t_1)))))
                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                      	double t_1 = i * fma(j, -y, (t * b));
                      	double tmp;
                      	if (i <= -4.2e+30) {
                      		tmp = t_1;
                      	} else if (i <= -1.8e-39) {
                      		tmp = b * ((t * i) - (z * c));
                      	} else if (i <= 1.8e+172) {
                      		tmp = fma(a, fma(j, c, (x * -t)), (x * (y * z)));
                      	} else {
                      		tmp = t_1;
                      	}
                      	return tmp;
                      }
                      
                      function code(x, y, z, t, a, b, c, i, j)
                      	t_1 = Float64(i * fma(j, Float64(-y), Float64(t * b)))
                      	tmp = 0.0
                      	if (i <= -4.2e+30)
                      		tmp = t_1;
                      	elseif (i <= -1.8e-39)
                      		tmp = Float64(b * Float64(Float64(t * i) - Float64(z * c)));
                      	elseif (i <= 1.8e+172)
                      		tmp = fma(a, fma(j, c, Float64(x * Float64(-t))), Float64(x * Float64(y * z)));
                      	else
                      		tmp = t_1;
                      	end
                      	return tmp
                      end
                      
                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(i * N[(j * (-y) + N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -4.2e+30], t$95$1, If[LessEqual[i, -1.8e-39], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.8e+172], N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision] + N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                      
                      \begin{array}{l}
                      
                      \\
                      \begin{array}{l}
                      t_1 := i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\
                      \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\
                      \;\;\;\;t\_1\\
                      
                      \mathbf{elif}\;i \leq -1.8 \cdot 10^{-39}:\\
                      \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
                      
                      \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\
                      \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), x \cdot \left(y \cdot z\right)\right)\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;t\_1\\
                      
                      
                      \end{array}
                      \end{array}
                      
                      Derivation
                      1. Split input into 3 regimes
                      2. if i < -4.2e30 or 1.79999999999999987e172 < i

                        1. Initial program 71.6%

                          \[\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) \]
                        2. Add Preprocessing
                        3. Taylor expanded in i around inf

                          \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                        4. Step-by-step derivation
                          1. lower-*.f64N/A

                            \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                          2. cancel-sign-sub-invN/A

                            \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \]
                          3. mul-1-negN/A

                            \[\leadsto i \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot y\right)\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                          4. distribute-rgt-neg-inN/A

                            \[\leadsto i \cdot \left(\color{blue}{j \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                          5. mul-1-negN/A

                            \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(-1 \cdot y\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                          6. metadata-evalN/A

                            \[\leadsto i \cdot \left(j \cdot \left(-1 \cdot y\right) + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \]
                          7. *-lft-identityN/A

                            \[\leadsto i \cdot \left(j \cdot \left(-1 \cdot y\right) + \color{blue}{b \cdot t}\right) \]
                          8. lower-fma.f64N/A

                            \[\leadsto i \cdot \color{blue}{\mathsf{fma}\left(j, -1 \cdot y, b \cdot t\right)} \]
                          9. mul-1-negN/A

                            \[\leadsto i \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(y\right)}, b \cdot t\right) \]
                          10. lower-neg.f64N/A

                            \[\leadsto i \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(y\right)}, b \cdot t\right) \]
                          11. lower-*.f6480.5

                            \[\leadsto i \cdot \mathsf{fma}\left(j, -y, \color{blue}{b \cdot t}\right) \]
                        5. Applied rewrites80.5%

                          \[\leadsto \color{blue}{i \cdot \mathsf{fma}\left(j, -y, b \cdot t\right)} \]

                        if -4.2e30 < i < -1.8e-39

                        1. Initial program 74.0%

                          \[\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) \]
                        2. Add Preprocessing
                        3. Taylor expanded in b around inf

                          \[\leadsto \color{blue}{b \cdot \left(i \cdot t - c \cdot z\right)} \]
                        4. Step-by-step derivation
                          1. cancel-sign-sub-invN/A

                            \[\leadsto b \cdot \color{blue}{\left(i \cdot t + \left(\mathsf{neg}\left(c\right)\right) \cdot z\right)} \]
                          2. +-commutativeN/A

                            \[\leadsto b \cdot \color{blue}{\left(\left(\mathsf{neg}\left(c\right)\right) \cdot z + i \cdot t\right)} \]
                          3. distribute-lft-neg-inN/A

                            \[\leadsto b \cdot \left(\color{blue}{\left(\mathsf{neg}\left(c \cdot z\right)\right)} + i \cdot t\right) \]
                          4. remove-double-negN/A

                            \[\leadsto b \cdot \left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)}\right) \]
                          5. distribute-neg-inN/A

                            \[\leadsto b \cdot \color{blue}{\left(\mathsf{neg}\left(\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)\right)} \]
                          6. sub-negN/A

                            \[\leadsto b \cdot \left(\mathsf{neg}\left(\color{blue}{\left(c \cdot z - i \cdot t\right)}\right)\right) \]
                          7. mul-1-negN/A

                            \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} \]
                          8. lower-*.f64N/A

                            \[\leadsto \color{blue}{b \cdot \left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} \]
                          9. mul-1-negN/A

                            \[\leadsto b \cdot \color{blue}{\left(\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)\right)} \]
                          10. sub-negN/A

                            \[\leadsto b \cdot \left(\mathsf{neg}\left(\color{blue}{\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)}\right)\right) \]
                          11. distribute-neg-inN/A

                            \[\leadsto b \cdot \color{blue}{\left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)\right)} \]
                          12. remove-double-negN/A

                            \[\leadsto b \cdot \left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{i \cdot t}\right) \]
                          13. +-commutativeN/A

                            \[\leadsto b \cdot \color{blue}{\left(i \cdot t + \left(\mathsf{neg}\left(c \cdot z\right)\right)\right)} \]
                          14. sub-negN/A

                            \[\leadsto b \cdot \color{blue}{\left(i \cdot t - c \cdot z\right)} \]
                          15. lower--.f64N/A

                            \[\leadsto b \cdot \color{blue}{\left(i \cdot t - c \cdot z\right)} \]
                          16. lower-*.f64N/A

                            \[\leadsto b \cdot \left(\color{blue}{i \cdot t} - c \cdot z\right) \]
                          17. lower-*.f6467.3

                            \[\leadsto b \cdot \left(i \cdot t - \color{blue}{c \cdot z}\right) \]
                        5. Applied rewrites67.3%

                          \[\leadsto \color{blue}{b \cdot \left(i \cdot t - c \cdot z\right)} \]

                        if -1.8e-39 < i < 1.79999999999999987e172

                        1. Initial program 77.6%

                          \[\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) \]
                        2. Add Preprocessing
                        3. Taylor expanded in y around 0

                          \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
                        4. Applied rewrites80.8%

                          \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
                        5. Taylor expanded in x around inf

                          \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right), x \cdot \left(y \cdot z\right)\right) \]
                        6. Step-by-step derivation
                          1. Applied rewrites58.1%

                            \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-x\right)}\right), x \cdot \left(y \cdot z\right)\right) \]
                        7. Recombined 3 regimes into one program.
                        8. Final simplification66.3%

                          \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \mathbf{elif}\;i \leq -1.8 \cdot 10^{-39}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), x \cdot \left(y \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \end{array} \]
                        9. Add Preprocessing

                        Alternative 9: 58.2% accurate, 1.3× speedup?

                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -5.1 \cdot 10^{-55}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), z \cdot \left(x \cdot y\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                        (FPCore (x y z t a b c i j)
                         :precision binary64
                         (let* ((t_1 (* i (fma j (- y) (* t b)))))
                           (if (<= i -4.2e+30)
                             t_1
                             (if (<= i -5.1e-55)
                               (* b (- (* t i) (* z c)))
                               (if (<= i 1.8e+172) (fma a (fma j c (* x (- t))) (* z (* x y))) t_1)))))
                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                        	double t_1 = i * fma(j, -y, (t * b));
                        	double tmp;
                        	if (i <= -4.2e+30) {
                        		tmp = t_1;
                        	} else if (i <= -5.1e-55) {
                        		tmp = b * ((t * i) - (z * c));
                        	} else if (i <= 1.8e+172) {
                        		tmp = fma(a, fma(j, c, (x * -t)), (z * (x * y)));
                        	} else {
                        		tmp = t_1;
                        	}
                        	return tmp;
                        }
                        
                        function code(x, y, z, t, a, b, c, i, j)
                        	t_1 = Float64(i * fma(j, Float64(-y), Float64(t * b)))
                        	tmp = 0.0
                        	if (i <= -4.2e+30)
                        		tmp = t_1;
                        	elseif (i <= -5.1e-55)
                        		tmp = Float64(b * Float64(Float64(t * i) - Float64(z * c)));
                        	elseif (i <= 1.8e+172)
                        		tmp = fma(a, fma(j, c, Float64(x * Float64(-t))), Float64(z * Float64(x * y)));
                        	else
                        		tmp = t_1;
                        	end
                        	return tmp
                        end
                        
                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(i * N[(j * (-y) + N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -4.2e+30], t$95$1, If[LessEqual[i, -5.1e-55], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.8e+172], N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision] + N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                        
                        \begin{array}{l}
                        
                        \\
                        \begin{array}{l}
                        t_1 := i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\
                        \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\
                        \;\;\;\;t\_1\\
                        
                        \mathbf{elif}\;i \leq -5.1 \cdot 10^{-55}:\\
                        \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
                        
                        \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\
                        \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), z \cdot \left(x \cdot y\right)\right)\\
                        
                        \mathbf{else}:\\
                        \;\;\;\;t\_1\\
                        
                        
                        \end{array}
                        \end{array}
                        
                        Derivation
                        1. Split input into 3 regimes
                        2. if i < -4.2e30 or 1.79999999999999987e172 < i

                          1. Initial program 71.6%

                            \[\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) \]
                          2. Add Preprocessing
                          3. Taylor expanded in i around inf

                            \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                          4. Step-by-step derivation
                            1. lower-*.f64N/A

                              \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                            2. cancel-sign-sub-invN/A

                              \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \]
                            3. mul-1-negN/A

                              \[\leadsto i \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot y\right)\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                            4. distribute-rgt-neg-inN/A

                              \[\leadsto i \cdot \left(\color{blue}{j \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                            5. mul-1-negN/A

                              \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(-1 \cdot y\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                            6. metadata-evalN/A

                              \[\leadsto i \cdot \left(j \cdot \left(-1 \cdot y\right) + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \]
                            7. *-lft-identityN/A

                              \[\leadsto i \cdot \left(j \cdot \left(-1 \cdot y\right) + \color{blue}{b \cdot t}\right) \]
                            8. lower-fma.f64N/A

                              \[\leadsto i \cdot \color{blue}{\mathsf{fma}\left(j, -1 \cdot y, b \cdot t\right)} \]
                            9. mul-1-negN/A

                              \[\leadsto i \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(y\right)}, b \cdot t\right) \]
                            10. lower-neg.f64N/A

                              \[\leadsto i \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(y\right)}, b \cdot t\right) \]
                            11. lower-*.f6480.5

                              \[\leadsto i \cdot \mathsf{fma}\left(j, -y, \color{blue}{b \cdot t}\right) \]
                          5. Applied rewrites80.5%

                            \[\leadsto \color{blue}{i \cdot \mathsf{fma}\left(j, -y, b \cdot t\right)} \]

                          if -4.2e30 < i < -5.09999999999999995e-55

                          1. Initial program 74.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) \]
                          2. Add Preprocessing
                          3. Taylor expanded in b around inf

                            \[\leadsto \color{blue}{b \cdot \left(i \cdot t - c \cdot z\right)} \]
                          4. Step-by-step derivation
                            1. cancel-sign-sub-invN/A

                              \[\leadsto b \cdot \color{blue}{\left(i \cdot t + \left(\mathsf{neg}\left(c\right)\right) \cdot z\right)} \]
                            2. +-commutativeN/A

                              \[\leadsto b \cdot \color{blue}{\left(\left(\mathsf{neg}\left(c\right)\right) \cdot z + i \cdot t\right)} \]
                            3. distribute-lft-neg-inN/A

                              \[\leadsto b \cdot \left(\color{blue}{\left(\mathsf{neg}\left(c \cdot z\right)\right)} + i \cdot t\right) \]
                            4. remove-double-negN/A

                              \[\leadsto b \cdot \left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)}\right) \]
                            5. distribute-neg-inN/A

                              \[\leadsto b \cdot \color{blue}{\left(\mathsf{neg}\left(\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)\right)} \]
                            6. sub-negN/A

                              \[\leadsto b \cdot \left(\mathsf{neg}\left(\color{blue}{\left(c \cdot z - i \cdot t\right)}\right)\right) \]
                            7. mul-1-negN/A

                              \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} \]
                            8. lower-*.f64N/A

                              \[\leadsto \color{blue}{b \cdot \left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} \]
                            9. mul-1-negN/A

                              \[\leadsto b \cdot \color{blue}{\left(\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)\right)} \]
                            10. sub-negN/A

                              \[\leadsto b \cdot \left(\mathsf{neg}\left(\color{blue}{\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)}\right)\right) \]
                            11. distribute-neg-inN/A

                              \[\leadsto b \cdot \color{blue}{\left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)\right)} \]
                            12. remove-double-negN/A

                              \[\leadsto b \cdot \left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{i \cdot t}\right) \]
                            13. +-commutativeN/A

                              \[\leadsto b \cdot \color{blue}{\left(i \cdot t + \left(\mathsf{neg}\left(c \cdot z\right)\right)\right)} \]
                            14. sub-negN/A

                              \[\leadsto b \cdot \color{blue}{\left(i \cdot t - c \cdot z\right)} \]
                            15. lower--.f64N/A

                              \[\leadsto b \cdot \color{blue}{\left(i \cdot t - c \cdot z\right)} \]
                            16. lower-*.f64N/A

                              \[\leadsto b \cdot \left(\color{blue}{i \cdot t} - c \cdot z\right) \]
                            17. lower-*.f6463.2

                              \[\leadsto b \cdot \left(i \cdot t - \color{blue}{c \cdot z}\right) \]
                          5. Applied rewrites63.2%

                            \[\leadsto \color{blue}{b \cdot \left(i \cdot t - c \cdot z\right)} \]

                          if -5.09999999999999995e-55 < i < 1.79999999999999987e172

                          1. Initial program 77.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) \]
                          2. Add Preprocessing
                          3. Taylor expanded in y around 0

                            \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
                          4. Applied rewrites80.9%

                            \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
                          5. Taylor expanded in i around 0

                            \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right), -1 \cdot \left(b \cdot \left(c \cdot z\right)\right) + \left(i \cdot \left(-1 \cdot \left(j \cdot y\right) + b \cdot t\right) + x \cdot \left(y \cdot z\right)\right)\right) \]
                          6. Step-by-step derivation
                            1. Applied rewrites77.6%

                              \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-x\right)}\right), \mathsf{fma}\left(z, y \cdot x - c \cdot b, i \cdot \mathsf{fma}\left(j, -y, b \cdot t\right)\right)\right) \]
                            2. Taylor expanded in z around inf

                              \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(\mathsf{neg}\left(x\right)\right)}\right), z \cdot \left(\left(x \cdot y + \frac{i \cdot \left(-1 \cdot \left(j \cdot y\right) + b \cdot t\right)}{z}\right) - b \cdot c\right)\right) \]
                            3. Step-by-step derivation
                              1. Applied rewrites73.0%

                                \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-x\right)}\right), z \cdot \mathsf{fma}\left(i, \frac{\mathsf{fma}\left(j, -y, b \cdot t\right)}{z}, y \cdot x - c \cdot b\right)\right) \]
                              2. Taylor expanded in x around inf

                                \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(\mathsf{neg}\left(x\right)\right)\right), z \cdot \left(x \cdot y\right)\right) \]
                              3. Step-by-step derivation
                                1. Applied rewrites57.8%

                                  \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), z \cdot \left(y \cdot x\right)\right) \]
                              4. Recombined 3 regimes into one program.
                              5. Final simplification65.9%

                                \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \mathbf{elif}\;i \leq -5.1 \cdot 10^{-55}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), z \cdot \left(x \cdot y\right)\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \end{array} \]
                              6. Add Preprocessing

                              Alternative 10: 50.8% accurate, 1.4× speedup?

                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-55}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;i \leq -8.5 \cdot 10^{-114}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;i \leq 1.26 \cdot 10^{+45}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                              (FPCore (x y z t a b c i j)
                               :precision binary64
                               (let* ((t_1 (* i (fma j (- y) (* t b)))))
                                 (if (<= i -4.2e+30)
                                   t_1
                                   (if (<= i -5e-55)
                                     (* b (- (* t i) (* z c)))
                                     (if (<= i -8.5e-114)
                                       (* y (* x z))
                                       (if (<= i 1.26e+45) (* c (- (* a j) (* z b))) t_1))))))
                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                              	double t_1 = i * fma(j, -y, (t * b));
                              	double tmp;
                              	if (i <= -4.2e+30) {
                              		tmp = t_1;
                              	} else if (i <= -5e-55) {
                              		tmp = b * ((t * i) - (z * c));
                              	} else if (i <= -8.5e-114) {
                              		tmp = y * (x * z);
                              	} else if (i <= 1.26e+45) {
                              		tmp = c * ((a * j) - (z * b));
                              	} else {
                              		tmp = t_1;
                              	}
                              	return tmp;
                              }
                              
                              function code(x, y, z, t, a, b, c, i, j)
                              	t_1 = Float64(i * fma(j, Float64(-y), Float64(t * b)))
                              	tmp = 0.0
                              	if (i <= -4.2e+30)
                              		tmp = t_1;
                              	elseif (i <= -5e-55)
                              		tmp = Float64(b * Float64(Float64(t * i) - Float64(z * c)));
                              	elseif (i <= -8.5e-114)
                              		tmp = Float64(y * Float64(x * z));
                              	elseif (i <= 1.26e+45)
                              		tmp = Float64(c * Float64(Float64(a * j) - Float64(z * b)));
                              	else
                              		tmp = t_1;
                              	end
                              	return tmp
                              end
                              
                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(i * N[(j * (-y) + N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -4.2e+30], t$95$1, If[LessEqual[i, -5e-55], N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, -8.5e-114], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.26e+45], N[(c * N[(N[(a * j), $MachinePrecision] - N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
                              
                              \begin{array}{l}
                              
                              \\
                              \begin{array}{l}
                              t_1 := i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\
                              \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\
                              \;\;\;\;t\_1\\
                              
                              \mathbf{elif}\;i \leq -5 \cdot 10^{-55}:\\
                              \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\
                              
                              \mathbf{elif}\;i \leq -8.5 \cdot 10^{-114}:\\
                              \;\;\;\;y \cdot \left(x \cdot z\right)\\
                              
                              \mathbf{elif}\;i \leq 1.26 \cdot 10^{+45}:\\
                              \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\
                              
                              \mathbf{else}:\\
                              \;\;\;\;t\_1\\
                              
                              
                              \end{array}
                              \end{array}
                              
                              Derivation
                              1. Split input into 4 regimes
                              2. if i < -4.2e30 or 1.26e45 < i

                                1. Initial program 70.0%

                                  \[\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) \]
                                2. Add Preprocessing
                                3. Taylor expanded in i around inf

                                  \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                                4. Step-by-step derivation
                                  1. lower-*.f64N/A

                                    \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                                  2. cancel-sign-sub-invN/A

                                    \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \]
                                  3. mul-1-negN/A

                                    \[\leadsto i \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot y\right)\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                                  4. distribute-rgt-neg-inN/A

                                    \[\leadsto i \cdot \left(\color{blue}{j \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                                  5. mul-1-negN/A

                                    \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(-1 \cdot y\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                                  6. metadata-evalN/A

                                    \[\leadsto i \cdot \left(j \cdot \left(-1 \cdot y\right) + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \]
                                  7. *-lft-identityN/A

                                    \[\leadsto i \cdot \left(j \cdot \left(-1 \cdot y\right) + \color{blue}{b \cdot t}\right) \]
                                  8. lower-fma.f64N/A

                                    \[\leadsto i \cdot \color{blue}{\mathsf{fma}\left(j, -1 \cdot y, b \cdot t\right)} \]
                                  9. mul-1-negN/A

                                    \[\leadsto i \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(y\right)}, b \cdot t\right) \]
                                  10. lower-neg.f64N/A

                                    \[\leadsto i \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(y\right)}, b \cdot t\right) \]
                                  11. lower-*.f6470.9

                                    \[\leadsto i \cdot \mathsf{fma}\left(j, -y, \color{blue}{b \cdot t}\right) \]
                                5. Applied rewrites70.9%

                                  \[\leadsto \color{blue}{i \cdot \mathsf{fma}\left(j, -y, b \cdot t\right)} \]

                                if -4.2e30 < i < -5.0000000000000002e-55

                                1. Initial program 74.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) \]
                                2. Add Preprocessing
                                3. Taylor expanded in b around inf

                                  \[\leadsto \color{blue}{b \cdot \left(i \cdot t - c \cdot z\right)} \]
                                4. Step-by-step derivation
                                  1. cancel-sign-sub-invN/A

                                    \[\leadsto b \cdot \color{blue}{\left(i \cdot t + \left(\mathsf{neg}\left(c\right)\right) \cdot z\right)} \]
                                  2. +-commutativeN/A

                                    \[\leadsto b \cdot \color{blue}{\left(\left(\mathsf{neg}\left(c\right)\right) \cdot z + i \cdot t\right)} \]
                                  3. distribute-lft-neg-inN/A

                                    \[\leadsto b \cdot \left(\color{blue}{\left(\mathsf{neg}\left(c \cdot z\right)\right)} + i \cdot t\right) \]
                                  4. remove-double-negN/A

                                    \[\leadsto b \cdot \left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)}\right) \]
                                  5. distribute-neg-inN/A

                                    \[\leadsto b \cdot \color{blue}{\left(\mathsf{neg}\left(\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)\right)} \]
                                  6. sub-negN/A

                                    \[\leadsto b \cdot \left(\mathsf{neg}\left(\color{blue}{\left(c \cdot z - i \cdot t\right)}\right)\right) \]
                                  7. mul-1-negN/A

                                    \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} \]
                                  8. lower-*.f64N/A

                                    \[\leadsto \color{blue}{b \cdot \left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} \]
                                  9. mul-1-negN/A

                                    \[\leadsto b \cdot \color{blue}{\left(\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)\right)} \]
                                  10. sub-negN/A

                                    \[\leadsto b \cdot \left(\mathsf{neg}\left(\color{blue}{\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)}\right)\right) \]
                                  11. distribute-neg-inN/A

                                    \[\leadsto b \cdot \color{blue}{\left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)\right)} \]
                                  12. remove-double-negN/A

                                    \[\leadsto b \cdot \left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{i \cdot t}\right) \]
                                  13. +-commutativeN/A

                                    \[\leadsto b \cdot \color{blue}{\left(i \cdot t + \left(\mathsf{neg}\left(c \cdot z\right)\right)\right)} \]
                                  14. sub-negN/A

                                    \[\leadsto b \cdot \color{blue}{\left(i \cdot t - c \cdot z\right)} \]
                                  15. lower--.f64N/A

                                    \[\leadsto b \cdot \color{blue}{\left(i \cdot t - c \cdot z\right)} \]
                                  16. lower-*.f64N/A

                                    \[\leadsto b \cdot \left(\color{blue}{i \cdot t} - c \cdot z\right) \]
                                  17. lower-*.f6463.2

                                    \[\leadsto b \cdot \left(i \cdot t - \color{blue}{c \cdot z}\right) \]
                                5. Applied rewrites63.2%

                                  \[\leadsto \color{blue}{b \cdot \left(i \cdot t - c \cdot z\right)} \]

                                if -5.0000000000000002e-55 < i < -8.5000000000000006e-114

                                1. Initial program 94.2%

                                  \[\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) \]
                                2. Add Preprocessing
                                3. Taylor expanded in y around inf

                                  \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
                                4. Step-by-step derivation
                                  1. lower-*.f64N/A

                                    \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
                                  2. associate-*r*N/A

                                    \[\leadsto y \cdot \left(\color{blue}{\left(-1 \cdot i\right) \cdot j} + x \cdot z\right) \]
                                  3. *-commutativeN/A

                                    \[\leadsto y \cdot \left(\color{blue}{j \cdot \left(-1 \cdot i\right)} + x \cdot z\right) \]
                                  4. lower-fma.f64N/A

                                    \[\leadsto y \cdot \color{blue}{\mathsf{fma}\left(j, -1 \cdot i, x \cdot z\right)} \]
                                  5. neg-mul-1N/A

                                    \[\leadsto y \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, x \cdot z\right) \]
                                  6. lower-neg.f64N/A

                                    \[\leadsto y \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, x \cdot z\right) \]
                                  7. *-commutativeN/A

                                    \[\leadsto y \cdot \mathsf{fma}\left(j, \mathsf{neg}\left(i\right), \color{blue}{z \cdot x}\right) \]
                                  8. lower-*.f6469.4

                                    \[\leadsto y \cdot \mathsf{fma}\left(j, -i, \color{blue}{z \cdot x}\right) \]
                                5. Applied rewrites69.4%

                                  \[\leadsto \color{blue}{y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)} \]
                                6. Taylor expanded in j around 0

                                  \[\leadsto y \cdot \left(x \cdot \color{blue}{z}\right) \]
                                7. Step-by-step derivation
                                  1. Applied rewrites57.6%

                                    \[\leadsto y \cdot \left(z \cdot \color{blue}{x}\right) \]

                                  if -8.5000000000000006e-114 < i < 1.26e45

                                  1. Initial program 78.5%

                                    \[\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) \]
                                  2. Add Preprocessing
                                  3. Taylor expanded in c around inf

                                    \[\leadsto \color{blue}{c \cdot \left(a \cdot j - b \cdot z\right)} \]
                                  4. Step-by-step derivation
                                    1. lower-*.f64N/A

                                      \[\leadsto \color{blue}{c \cdot \left(a \cdot j - b \cdot z\right)} \]
                                    2. lower--.f64N/A

                                      \[\leadsto c \cdot \color{blue}{\left(a \cdot j - b \cdot z\right)} \]
                                    3. *-commutativeN/A

                                      \[\leadsto c \cdot \left(\color{blue}{j \cdot a} - b \cdot z\right) \]
                                    4. lower-*.f64N/A

                                      \[\leadsto c \cdot \left(\color{blue}{j \cdot a} - b \cdot z\right) \]
                                    5. lower-*.f6449.6

                                      \[\leadsto c \cdot \left(j \cdot a - \color{blue}{b \cdot z}\right) \]
                                  5. Applied rewrites49.6%

                                    \[\leadsto \color{blue}{c \cdot \left(j \cdot a - b \cdot z\right)} \]
                                8. Recombined 4 regimes into one program.
                                9. Final simplification60.7%

                                  \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-55}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;i \leq -8.5 \cdot 10^{-114}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;i \leq 1.26 \cdot 10^{+45}:\\ \;\;\;\;c \cdot \left(a \cdot j - z \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \end{array} \]
                                10. Add Preprocessing

                                Alternative 11: 59.9% accurate, 1.5× speedup?

                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;i \leq -1.2 \cdot 10^{-65}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), x \cdot \left(y \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \end{array} \end{array} \]
                                (FPCore (x y z t a b c i j)
                                 :precision binary64
                                 (if (<= i -1.2e-65)
                                   (+ (* j (- (* a c) (* y i))) (* i (* t b)))
                                   (if (<= i 1.8e+172)
                                     (fma a (fma j c (* x (- t))) (* x (* y z)))
                                     (* i (fma j (- y) (* t b))))))
                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                	double tmp;
                                	if (i <= -1.2e-65) {
                                		tmp = (j * ((a * c) - (y * i))) + (i * (t * b));
                                	} else if (i <= 1.8e+172) {
                                		tmp = fma(a, fma(j, c, (x * -t)), (x * (y * z)));
                                	} else {
                                		tmp = i * fma(j, -y, (t * b));
                                	}
                                	return tmp;
                                }
                                
                                function code(x, y, z, t, a, b, c, i, j)
                                	tmp = 0.0
                                	if (i <= -1.2e-65)
                                		tmp = Float64(Float64(j * Float64(Float64(a * c) - Float64(y * i))) + Float64(i * Float64(t * b)));
                                	elseif (i <= 1.8e+172)
                                		tmp = fma(a, fma(j, c, Float64(x * Float64(-t))), Float64(x * Float64(y * z)));
                                	else
                                		tmp = Float64(i * fma(j, Float64(-y), Float64(t * b)));
                                	end
                                	return tmp
                                end
                                
                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[i, -1.2e-65], N[(N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(i * N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 1.8e+172], N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision] + N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(i * N[(j * (-y) + N[(t * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
                                
                                \begin{array}{l}
                                
                                \\
                                \begin{array}{l}
                                \mathbf{if}\;i \leq -1.2 \cdot 10^{-65}:\\
                                \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + i \cdot \left(t \cdot b\right)\\
                                
                                \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\
                                \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), x \cdot \left(y \cdot z\right)\right)\\
                                
                                \mathbf{else}:\\
                                \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\
                                
                                
                                \end{array}
                                \end{array}
                                
                                Derivation
                                1. Split input into 3 regimes
                                2. if i < -1.2000000000000001e-65

                                  1. Initial program 77.2%

                                    \[\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) \]
                                  2. Add Preprocessing
                                  3. Taylor expanded in i around inf

                                    \[\leadsto \color{blue}{b \cdot \left(i \cdot t\right)} + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                  4. Step-by-step derivation
                                    1. associate-*r*N/A

                                      \[\leadsto \color{blue}{\left(b \cdot i\right) \cdot t} + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                    2. *-commutativeN/A

                                      \[\leadsto \color{blue}{\left(i \cdot b\right)} \cdot t + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                    3. associate-*r*N/A

                                      \[\leadsto \color{blue}{i \cdot \left(b \cdot t\right)} + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                    4. lower-*.f64N/A

                                      \[\leadsto \color{blue}{i \cdot \left(b \cdot t\right)} + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                    5. lower-*.f6472.1

                                      \[\leadsto i \cdot \color{blue}{\left(b \cdot t\right)} + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                  5. Applied rewrites72.1%

                                    \[\leadsto \color{blue}{i \cdot \left(b \cdot t\right)} + j \cdot \left(c \cdot a - y \cdot i\right) \]

                                  if -1.2000000000000001e-65 < i < 1.79999999999999987e172

                                  1. Initial program 77.4%

                                    \[\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) \]
                                  2. Add Preprocessing
                                  3. Taylor expanded in y around 0

                                    \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
                                  4. Applied rewrites80.7%

                                    \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
                                  5. Taylor expanded in x around inf

                                    \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right), x \cdot \left(y \cdot z\right)\right) \]
                                  6. Step-by-step derivation
                                    1. Applied rewrites58.4%

                                      \[\leadsto \mathsf{fma}\left(a, \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-x\right)}\right), x \cdot \left(y \cdot z\right)\right) \]

                                    if 1.79999999999999987e172 < i

                                    1. Initial program 60.4%

                                      \[\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) \]
                                    2. Add Preprocessing
                                    3. Taylor expanded in i around inf

                                      \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                                    4. Step-by-step derivation
                                      1. lower-*.f64N/A

                                        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                                      2. cancel-sign-sub-invN/A

                                        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \]
                                      3. mul-1-negN/A

                                        \[\leadsto i \cdot \left(\color{blue}{\left(\mathsf{neg}\left(j \cdot y\right)\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                                      4. distribute-rgt-neg-inN/A

                                        \[\leadsto i \cdot \left(\color{blue}{j \cdot \left(\mathsf{neg}\left(y\right)\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                                      5. mul-1-negN/A

                                        \[\leadsto i \cdot \left(j \cdot \color{blue}{\left(-1 \cdot y\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right) \]
                                      6. metadata-evalN/A

                                        \[\leadsto i \cdot \left(j \cdot \left(-1 \cdot y\right) + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \]
                                      7. *-lft-identityN/A

                                        \[\leadsto i \cdot \left(j \cdot \left(-1 \cdot y\right) + \color{blue}{b \cdot t}\right) \]
                                      8. lower-fma.f64N/A

                                        \[\leadsto i \cdot \color{blue}{\mathsf{fma}\left(j, -1 \cdot y, b \cdot t\right)} \]
                                      9. mul-1-negN/A

                                        \[\leadsto i \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(y\right)}, b \cdot t\right) \]
                                      10. lower-neg.f64N/A

                                        \[\leadsto i \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(y\right)}, b \cdot t\right) \]
                                      11. lower-*.f6478.6

                                        \[\leadsto i \cdot \mathsf{fma}\left(j, -y, \color{blue}{b \cdot t}\right) \]
                                    5. Applied rewrites78.6%

                                      \[\leadsto \color{blue}{i \cdot \mathsf{fma}\left(j, -y, b \cdot t\right)} \]
                                  7. Recombined 3 regimes into one program.
                                  8. Final simplification65.0%

                                    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.2 \cdot 10^{-65}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right) + i \cdot \left(t \cdot b\right)\\ \mathbf{elif}\;i \leq 1.8 \cdot 10^{+172}:\\ \;\;\;\;\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right), x \cdot \left(y \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, t \cdot b\right)\\ \end{array} \]
                                  9. Add Preprocessing

                                  Alternative 12: 31.3% accurate, 1.6× speedup?

                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -2.45 \cdot 10^{-237}:\\ \;\;\;\;-b \cdot \left(z \cdot c\right)\\ \mathbf{elif}\;i \leq 1.62 \cdot 10^{-243}:\\ \;\;\;\;j \cdot \left(a \cdot c\right)\\ \mathbf{elif}\;i \leq 2.25 \cdot 10^{+52}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                  (FPCore (x y z t a b c i j)
                                   :precision binary64
                                   (let* ((t_1 (* y (* i (- j)))))
                                     (if (<= i -4.2e+30)
                                       t_1
                                       (if (<= i -2.45e-237)
                                         (- (* b (* z c)))
                                         (if (<= i 1.62e-243)
                                           (* j (* a c))
                                           (if (<= i 2.25e+52) (* y (* x z)) t_1))))))
                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                  	double t_1 = y * (i * -j);
                                  	double tmp;
                                  	if (i <= -4.2e+30) {
                                  		tmp = t_1;
                                  	} else if (i <= -2.45e-237) {
                                  		tmp = -(b * (z * c));
                                  	} else if (i <= 1.62e-243) {
                                  		tmp = j * (a * c);
                                  	} else if (i <= 2.25e+52) {
                                  		tmp = y * (x * z);
                                  	} else {
                                  		tmp = t_1;
                                  	}
                                  	return tmp;
                                  }
                                  
                                  real(8) function code(x, y, z, t, a, b, c, i, j)
                                      real(8), intent (in) :: x
                                      real(8), intent (in) :: y
                                      real(8), intent (in) :: z
                                      real(8), intent (in) :: t
                                      real(8), intent (in) :: a
                                      real(8), intent (in) :: b
                                      real(8), intent (in) :: c
                                      real(8), intent (in) :: i
                                      real(8), intent (in) :: j
                                      real(8) :: t_1
                                      real(8) :: tmp
                                      t_1 = y * (i * -j)
                                      if (i <= (-4.2d+30)) then
                                          tmp = t_1
                                      else if (i <= (-2.45d-237)) then
                                          tmp = -(b * (z * c))
                                      else if (i <= 1.62d-243) then
                                          tmp = j * (a * c)
                                      else if (i <= 2.25d+52) then
                                          tmp = y * (x * z)
                                      else
                                          tmp = t_1
                                      end if
                                      code = tmp
                                  end function
                                  
                                  public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                  	double t_1 = y * (i * -j);
                                  	double tmp;
                                  	if (i <= -4.2e+30) {
                                  		tmp = t_1;
                                  	} else if (i <= -2.45e-237) {
                                  		tmp = -(b * (z * c));
                                  	} else if (i <= 1.62e-243) {
                                  		tmp = j * (a * c);
                                  	} else if (i <= 2.25e+52) {
                                  		tmp = y * (x * z);
                                  	} else {
                                  		tmp = t_1;
                                  	}
                                  	return tmp;
                                  }
                                  
                                  def code(x, y, z, t, a, b, c, i, j):
                                  	t_1 = y * (i * -j)
                                  	tmp = 0
                                  	if i <= -4.2e+30:
                                  		tmp = t_1
                                  	elif i <= -2.45e-237:
                                  		tmp = -(b * (z * c))
                                  	elif i <= 1.62e-243:
                                  		tmp = j * (a * c)
                                  	elif i <= 2.25e+52:
                                  		tmp = y * (x * z)
                                  	else:
                                  		tmp = t_1
                                  	return tmp
                                  
                                  function code(x, y, z, t, a, b, c, i, j)
                                  	t_1 = Float64(y * Float64(i * Float64(-j)))
                                  	tmp = 0.0
                                  	if (i <= -4.2e+30)
                                  		tmp = t_1;
                                  	elseif (i <= -2.45e-237)
                                  		tmp = Float64(-Float64(b * Float64(z * c)));
                                  	elseif (i <= 1.62e-243)
                                  		tmp = Float64(j * Float64(a * c));
                                  	elseif (i <= 2.25e+52)
                                  		tmp = Float64(y * Float64(x * z));
                                  	else
                                  		tmp = t_1;
                                  	end
                                  	return tmp
                                  end
                                  
                                  function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                  	t_1 = y * (i * -j);
                                  	tmp = 0.0;
                                  	if (i <= -4.2e+30)
                                  		tmp = t_1;
                                  	elseif (i <= -2.45e-237)
                                  		tmp = -(b * (z * c));
                                  	elseif (i <= 1.62e-243)
                                  		tmp = j * (a * c);
                                  	elseif (i <= 2.25e+52)
                                  		tmp = y * (x * z);
                                  	else
                                  		tmp = t_1;
                                  	end
                                  	tmp_2 = tmp;
                                  end
                                  
                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(i * (-j)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -4.2e+30], t$95$1, If[LessEqual[i, -2.45e-237], (-N[(b * N[(z * c), $MachinePrecision]), $MachinePrecision]), If[LessEqual[i, 1.62e-243], N[(j * N[(a * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.25e+52], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
                                  
                                  \begin{array}{l}
                                  
                                  \\
                                  \begin{array}{l}
                                  t_1 := y \cdot \left(i \cdot \left(-j\right)\right)\\
                                  \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\
                                  \;\;\;\;t\_1\\
                                  
                                  \mathbf{elif}\;i \leq -2.45 \cdot 10^{-237}:\\
                                  \;\;\;\;-b \cdot \left(z \cdot c\right)\\
                                  
                                  \mathbf{elif}\;i \leq 1.62 \cdot 10^{-243}:\\
                                  \;\;\;\;j \cdot \left(a \cdot c\right)\\
                                  
                                  \mathbf{elif}\;i \leq 2.25 \cdot 10^{+52}:\\
                                  \;\;\;\;y \cdot \left(x \cdot z\right)\\
                                  
                                  \mathbf{else}:\\
                                  \;\;\;\;t\_1\\
                                  
                                  
                                  \end{array}
                                  \end{array}
                                  
                                  Derivation
                                  1. Split input into 4 regimes
                                  2. if i < -4.2e30 or 2.25e52 < i

                                    1. Initial program 70.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) \]
                                    2. Add Preprocessing
                                    3. Taylor expanded in j around inf

                                      \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                    4. Step-by-step derivation
                                      1. lower-*.f64N/A

                                        \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                      2. lower--.f64N/A

                                        \[\leadsto j \cdot \color{blue}{\left(a \cdot c - i \cdot y\right)} \]
                                      3. lower-*.f64N/A

                                        \[\leadsto j \cdot \left(\color{blue}{a \cdot c} - i \cdot y\right) \]
                                      4. lower-*.f6454.8

                                        \[\leadsto j \cdot \left(a \cdot c - \color{blue}{i \cdot y}\right) \]
                                    5. Applied rewrites54.8%

                                      \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                    6. Taylor expanded in a around 0

                                      \[\leadsto -1 \cdot \color{blue}{\left(i \cdot \left(j \cdot y\right)\right)} \]
                                    7. Step-by-step derivation
                                      1. Applied rewrites49.4%

                                        \[\leadsto -\left(j \cdot i\right) \cdot y \]

                                      if -4.2e30 < i < -2.45e-237

                                      1. Initial program 81.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) \]
                                      2. Add Preprocessing
                                      3. Taylor expanded in z around inf

                                        \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                      4. Step-by-step derivation
                                        1. lower-*.f64N/A

                                          \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                        2. sub-negN/A

                                          \[\leadsto z \cdot \color{blue}{\left(x \cdot y + \left(\mathsf{neg}\left(b \cdot c\right)\right)\right)} \]
                                        3. mul-1-negN/A

                                          \[\leadsto z \cdot \left(x \cdot y + \color{blue}{-1 \cdot \left(b \cdot c\right)}\right) \]
                                        4. +-commutativeN/A

                                          \[\leadsto z \cdot \color{blue}{\left(-1 \cdot \left(b \cdot c\right) + x \cdot y\right)} \]
                                        5. associate-*r*N/A

                                          \[\leadsto z \cdot \left(\color{blue}{\left(-1 \cdot b\right) \cdot c} + x \cdot y\right) \]
                                        6. *-commutativeN/A

                                          \[\leadsto z \cdot \left(\color{blue}{c \cdot \left(-1 \cdot b\right)} + x \cdot y\right) \]
                                        7. lower-fma.f64N/A

                                          \[\leadsto z \cdot \color{blue}{\mathsf{fma}\left(c, -1 \cdot b, x \cdot y\right)} \]
                                        8. neg-mul-1N/A

                                          \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                        9. lower-neg.f64N/A

                                          \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                        10. *-commutativeN/A

                                          \[\leadsto z \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(b\right), \color{blue}{y \cdot x}\right) \]
                                        11. lower-*.f6450.2

                                          \[\leadsto z \cdot \mathsf{fma}\left(c, -b, \color{blue}{y \cdot x}\right) \]
                                      5. Applied rewrites50.2%

                                        \[\leadsto \color{blue}{z \cdot \mathsf{fma}\left(c, -b, y \cdot x\right)} \]
                                      6. Taylor expanded in c around inf

                                        \[\leadsto -1 \cdot \color{blue}{\left(b \cdot \left(c \cdot z\right)\right)} \]
                                      7. Step-by-step derivation
                                        1. Applied rewrites33.0%

                                          \[\leadsto \left(c \cdot z\right) \cdot \color{blue}{\left(-b\right)} \]

                                        if -2.45e-237 < i < 1.62000000000000011e-243

                                        1. Initial program 71.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) \]
                                        2. Add Preprocessing
                                        3. Taylor expanded in j around inf

                                          \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                        4. Step-by-step derivation
                                          1. lower-*.f64N/A

                                            \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                          2. lower--.f64N/A

                                            \[\leadsto j \cdot \color{blue}{\left(a \cdot c - i \cdot y\right)} \]
                                          3. lower-*.f64N/A

                                            \[\leadsto j \cdot \left(\color{blue}{a \cdot c} - i \cdot y\right) \]
                                          4. lower-*.f6441.6

                                            \[\leadsto j \cdot \left(a \cdot c - \color{blue}{i \cdot y}\right) \]
                                        5. Applied rewrites41.6%

                                          \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                        6. Taylor expanded in a around inf

                                          \[\leadsto j \cdot \left(a \cdot \color{blue}{c}\right) \]
                                        7. Step-by-step derivation
                                          1. Applied rewrites41.7%

                                            \[\leadsto j \cdot \left(a \cdot \color{blue}{c}\right) \]

                                          if 1.62000000000000011e-243 < i < 2.25e52

                                          1. Initial program 82.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) \]
                                          2. Add Preprocessing
                                          3. Taylor expanded in y around inf

                                            \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
                                          4. Step-by-step derivation
                                            1. lower-*.f64N/A

                                              \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
                                            2. associate-*r*N/A

                                              \[\leadsto y \cdot \left(\color{blue}{\left(-1 \cdot i\right) \cdot j} + x \cdot z\right) \]
                                            3. *-commutativeN/A

                                              \[\leadsto y \cdot \left(\color{blue}{j \cdot \left(-1 \cdot i\right)} + x \cdot z\right) \]
                                            4. lower-fma.f64N/A

                                              \[\leadsto y \cdot \color{blue}{\mathsf{fma}\left(j, -1 \cdot i, x \cdot z\right)} \]
                                            5. neg-mul-1N/A

                                              \[\leadsto y \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, x \cdot z\right) \]
                                            6. lower-neg.f64N/A

                                              \[\leadsto y \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, x \cdot z\right) \]
                                            7. *-commutativeN/A

                                              \[\leadsto y \cdot \mathsf{fma}\left(j, \mathsf{neg}\left(i\right), \color{blue}{z \cdot x}\right) \]
                                            8. lower-*.f6438.5

                                              \[\leadsto y \cdot \mathsf{fma}\left(j, -i, \color{blue}{z \cdot x}\right) \]
                                          5. Applied rewrites38.5%

                                            \[\leadsto \color{blue}{y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)} \]
                                          6. Taylor expanded in j around 0

                                            \[\leadsto y \cdot \left(x \cdot \color{blue}{z}\right) \]
                                          7. Step-by-step derivation
                                            1. Applied rewrites29.4%

                                              \[\leadsto y \cdot \left(z \cdot \color{blue}{x}\right) \]
                                          8. Recombined 4 regimes into one program.
                                          9. Final simplification40.5%

                                            \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -4.2 \cdot 10^{+30}:\\ \;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{elif}\;i \leq -2.45 \cdot 10^{-237}:\\ \;\;\;\;-b \cdot \left(z \cdot c\right)\\ \mathbf{elif}\;i \leq 1.62 \cdot 10^{-243}:\\ \;\;\;\;j \cdot \left(a \cdot c\right)\\ \mathbf{elif}\;i \leq 2.25 \cdot 10^{+52}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\ \end{array} \]
                                          10. Add Preprocessing

                                          Alternative 13: 50.8% accurate, 1.6× speedup?

                                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -3.1 \cdot 10^{+107}:\\ \;\;\;\;\mathsf{fma}\left(c \cdot j, a, y \cdot \left(i \cdot \left(-j\right)\right)\right)\\ \mathbf{elif}\;j \leq 1.62 \cdot 10^{-251}:\\ \;\;\;\;t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\ \mathbf{elif}\;j \leq 5.6 \cdot 10^{+41}:\\ \;\;\;\;z \cdot \mathsf{fma}\left(c, -b, x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \end{array} \end{array} \]
                                          (FPCore (x y z t a b c i j)
                                           :precision binary64
                                           (if (<= j -3.1e+107)
                                             (fma (* c j) a (* y (* i (- j))))
                                             (if (<= j 1.62e-251)
                                               (* t (fma a (- x) (* b i)))
                                               (if (<= j 5.6e+41)
                                                 (* z (fma c (- b) (* x y)))
                                                 (* j (- (* a c) (* y i)))))))
                                          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                          	double tmp;
                                          	if (j <= -3.1e+107) {
                                          		tmp = fma((c * j), a, (y * (i * -j)));
                                          	} else if (j <= 1.62e-251) {
                                          		tmp = t * fma(a, -x, (b * i));
                                          	} else if (j <= 5.6e+41) {
                                          		tmp = z * fma(c, -b, (x * y));
                                          	} else {
                                          		tmp = j * ((a * c) - (y * i));
                                          	}
                                          	return tmp;
                                          }
                                          
                                          function code(x, y, z, t, a, b, c, i, j)
                                          	tmp = 0.0
                                          	if (j <= -3.1e+107)
                                          		tmp = fma(Float64(c * j), a, Float64(y * Float64(i * Float64(-j))));
                                          	elseif (j <= 1.62e-251)
                                          		tmp = Float64(t * fma(a, Float64(-x), Float64(b * i)));
                                          	elseif (j <= 5.6e+41)
                                          		tmp = Float64(z * fma(c, Float64(-b), Float64(x * y)));
                                          	else
                                          		tmp = Float64(j * Float64(Float64(a * c) - Float64(y * i)));
                                          	end
                                          	return tmp
                                          end
                                          
                                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -3.1e+107], N[(N[(c * j), $MachinePrecision] * a + N[(y * N[(i * (-j)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.62e-251], N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.6e+41], N[(z * N[(c * (-b) + N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                                          
                                          \begin{array}{l}
                                          
                                          \\
                                          \begin{array}{l}
                                          \mathbf{if}\;j \leq -3.1 \cdot 10^{+107}:\\
                                          \;\;\;\;\mathsf{fma}\left(c \cdot j, a, y \cdot \left(i \cdot \left(-j\right)\right)\right)\\
                                          
                                          \mathbf{elif}\;j \leq 1.62 \cdot 10^{-251}:\\
                                          \;\;\;\;t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\
                                          
                                          \mathbf{elif}\;j \leq 5.6 \cdot 10^{+41}:\\
                                          \;\;\;\;z \cdot \mathsf{fma}\left(c, -b, x \cdot y\right)\\
                                          
                                          \mathbf{else}:\\
                                          \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\
                                          
                                          
                                          \end{array}
                                          \end{array}
                                          
                                          Derivation
                                          1. Split input into 4 regimes
                                          2. if j < -3.10000000000000026e107

                                            1. Initial program 64.5%

                                              \[\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) \]
                                            2. Add Preprocessing
                                            3. Taylor expanded in j around inf

                                              \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                            4. Step-by-step derivation
                                              1. lower-*.f64N/A

                                                \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                              2. lower--.f64N/A

                                                \[\leadsto j \cdot \color{blue}{\left(a \cdot c - i \cdot y\right)} \]
                                              3. lower-*.f64N/A

                                                \[\leadsto j \cdot \left(\color{blue}{a \cdot c} - i \cdot y\right) \]
                                              4. lower-*.f6464.7

                                                \[\leadsto j \cdot \left(a \cdot c - \color{blue}{i \cdot y}\right) \]
                                            5. Applied rewrites64.7%

                                              \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                            6. Step-by-step derivation
                                              1. Applied rewrites65.0%

                                                \[\leadsto \mathsf{fma}\left(c \cdot j, \color{blue}{a}, -\left(i \cdot j\right) \cdot y\right) \]

                                              if -3.10000000000000026e107 < j < 1.62e-251

                                              1. Initial program 73.0%

                                                \[\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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in t around inf

                                                \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                              4. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                                2. sub-negN/A

                                                  \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right)} \]
                                                3. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(\color{blue}{\left(\mathsf{neg}\left(a \cdot x\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                4. distribute-rgt-neg-inN/A

                                                  \[\leadsto t \cdot \left(\color{blue}{a \cdot \left(\mathsf{neg}\left(x\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                5. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \color{blue}{\left(-1 \cdot x\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                6. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \left(-1 \cdot x\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(b \cdot i\right)\right)}\right)\right)\right) \]
                                                7. remove-double-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \left(-1 \cdot x\right) + \color{blue}{b \cdot i}\right) \]
                                                8. lower-fma.f64N/A

                                                  \[\leadsto t \cdot \color{blue}{\mathsf{fma}\left(a, -1 \cdot x, b \cdot i\right)} \]
                                                9. mul-1-negN/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \color{blue}{\mathsf{neg}\left(x\right)}, b \cdot i\right) \]
                                                10. lower-neg.f64N/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \color{blue}{\mathsf{neg}\left(x\right)}, b \cdot i\right) \]
                                                11. *-commutativeN/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \mathsf{neg}\left(x\right), \color{blue}{i \cdot b}\right) \]
                                                12. lower-*.f6452.7

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, -x, \color{blue}{i \cdot b}\right) \]
                                              5. Applied rewrites52.7%

                                                \[\leadsto \color{blue}{t \cdot \mathsf{fma}\left(a, -x, i \cdot b\right)} \]

                                              if 1.62e-251 < j < 5.5999999999999999e41

                                              1. Initial program 76.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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in z around inf

                                                \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                              4. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                2. sub-negN/A

                                                  \[\leadsto z \cdot \color{blue}{\left(x \cdot y + \left(\mathsf{neg}\left(b \cdot c\right)\right)\right)} \]
                                                3. mul-1-negN/A

                                                  \[\leadsto z \cdot \left(x \cdot y + \color{blue}{-1 \cdot \left(b \cdot c\right)}\right) \]
                                                4. +-commutativeN/A

                                                  \[\leadsto z \cdot \color{blue}{\left(-1 \cdot \left(b \cdot c\right) + x \cdot y\right)} \]
                                                5. associate-*r*N/A

                                                  \[\leadsto z \cdot \left(\color{blue}{\left(-1 \cdot b\right) \cdot c} + x \cdot y\right) \]
                                                6. *-commutativeN/A

                                                  \[\leadsto z \cdot \left(\color{blue}{c \cdot \left(-1 \cdot b\right)} + x \cdot y\right) \]
                                                7. lower-fma.f64N/A

                                                  \[\leadsto z \cdot \color{blue}{\mathsf{fma}\left(c, -1 \cdot b, x \cdot y\right)} \]
                                                8. neg-mul-1N/A

                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                                9. lower-neg.f64N/A

                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                                10. *-commutativeN/A

                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(b\right), \color{blue}{y \cdot x}\right) \]
                                                11. lower-*.f6461.9

                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, -b, \color{blue}{y \cdot x}\right) \]
                                              5. Applied rewrites61.9%

                                                \[\leadsto \color{blue}{z \cdot \mathsf{fma}\left(c, -b, y \cdot x\right)} \]

                                              if 5.5999999999999999e41 < j

                                              1. Initial program 84.9%

                                                \[\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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in j around inf

                                                \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                              4. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                2. lower--.f64N/A

                                                  \[\leadsto j \cdot \color{blue}{\left(a \cdot c - i \cdot y\right)} \]
                                                3. lower-*.f64N/A

                                                  \[\leadsto j \cdot \left(\color{blue}{a \cdot c} - i \cdot y\right) \]
                                                4. lower-*.f6473.3

                                                  \[\leadsto j \cdot \left(a \cdot c - \color{blue}{i \cdot y}\right) \]
                                              5. Applied rewrites73.3%

                                                \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                            7. Recombined 4 regimes into one program.
                                            8. Final simplification62.3%

                                              \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -3.1 \cdot 10^{+107}:\\ \;\;\;\;\mathsf{fma}\left(c \cdot j, a, y \cdot \left(i \cdot \left(-j\right)\right)\right)\\ \mathbf{elif}\;j \leq 1.62 \cdot 10^{-251}:\\ \;\;\;\;t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\ \mathbf{elif}\;j \leq 5.6 \cdot 10^{+41}:\\ \;\;\;\;z \cdot \mathsf{fma}\left(c, -b, x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \end{array} \]
                                            9. Add Preprocessing

                                            Alternative 14: 52.4% accurate, 1.6× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{if}\;j \leq -3.1 \cdot 10^{+107}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 1.62 \cdot 10^{-251}:\\ \;\;\;\;t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\ \mathbf{elif}\;j \leq 5.6 \cdot 10^{+41}:\\ \;\;\;\;z \cdot \mathsf{fma}\left(c, -b, x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                            (FPCore (x y z t a b c i j)
                                             :precision binary64
                                             (let* ((t_1 (* j (- (* a c) (* y i)))))
                                               (if (<= j -3.1e+107)
                                                 t_1
                                                 (if (<= j 1.62e-251)
                                                   (* t (fma a (- x) (* b i)))
                                                   (if (<= j 5.6e+41) (* z (fma c (- b) (* x y))) t_1)))))
                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                            	double t_1 = j * ((a * c) - (y * i));
                                            	double tmp;
                                            	if (j <= -3.1e+107) {
                                            		tmp = t_1;
                                            	} else if (j <= 1.62e-251) {
                                            		tmp = t * fma(a, -x, (b * i));
                                            	} else if (j <= 5.6e+41) {
                                            		tmp = z * fma(c, -b, (x * y));
                                            	} else {
                                            		tmp = t_1;
                                            	}
                                            	return tmp;
                                            }
                                            
                                            function code(x, y, z, t, a, b, c, i, j)
                                            	t_1 = Float64(j * Float64(Float64(a * c) - Float64(y * i)))
                                            	tmp = 0.0
                                            	if (j <= -3.1e+107)
                                            		tmp = t_1;
                                            	elseif (j <= 1.62e-251)
                                            		tmp = Float64(t * fma(a, Float64(-x), Float64(b * i)));
                                            	elseif (j <= 5.6e+41)
                                            		tmp = Float64(z * fma(c, Float64(-b), Float64(x * y)));
                                            	else
                                            		tmp = t_1;
                                            	end
                                            	return tmp
                                            end
                                            
                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -3.1e+107], t$95$1, If[LessEqual[j, 1.62e-251], N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 5.6e+41], N[(z * N[(c * (-b) + N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                                            
                                            \begin{array}{l}
                                            
                                            \\
                                            \begin{array}{l}
                                            t_1 := j \cdot \left(a \cdot c - y \cdot i\right)\\
                                            \mathbf{if}\;j \leq -3.1 \cdot 10^{+107}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            \mathbf{elif}\;j \leq 1.62 \cdot 10^{-251}:\\
                                            \;\;\;\;t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\
                                            
                                            \mathbf{elif}\;j \leq 5.6 \cdot 10^{+41}:\\
                                            \;\;\;\;z \cdot \mathsf{fma}\left(c, -b, x \cdot y\right)\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 3 regimes
                                            2. if j < -3.10000000000000026e107 or 5.5999999999999999e41 < j

                                              1. Initial program 76.6%

                                                \[\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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in j around inf

                                                \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                              4. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                2. lower--.f64N/A

                                                  \[\leadsto j \cdot \color{blue}{\left(a \cdot c - i \cdot y\right)} \]
                                                3. lower-*.f64N/A

                                                  \[\leadsto j \cdot \left(\color{blue}{a \cdot c} - i \cdot y\right) \]
                                                4. lower-*.f6469.8

                                                  \[\leadsto j \cdot \left(a \cdot c - \color{blue}{i \cdot y}\right) \]
                                              5. Applied rewrites69.8%

                                                \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]

                                              if -3.10000000000000026e107 < j < 1.62e-251

                                              1. Initial program 73.0%

                                                \[\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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in t around inf

                                                \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                              4. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                                2. sub-negN/A

                                                  \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right)} \]
                                                3. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(\color{blue}{\left(\mathsf{neg}\left(a \cdot x\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                4. distribute-rgt-neg-inN/A

                                                  \[\leadsto t \cdot \left(\color{blue}{a \cdot \left(\mathsf{neg}\left(x\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                5. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \color{blue}{\left(-1 \cdot x\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                6. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \left(-1 \cdot x\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(b \cdot i\right)\right)}\right)\right)\right) \]
                                                7. remove-double-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \left(-1 \cdot x\right) + \color{blue}{b \cdot i}\right) \]
                                                8. lower-fma.f64N/A

                                                  \[\leadsto t \cdot \color{blue}{\mathsf{fma}\left(a, -1 \cdot x, b \cdot i\right)} \]
                                                9. mul-1-negN/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \color{blue}{\mathsf{neg}\left(x\right)}, b \cdot i\right) \]
                                                10. lower-neg.f64N/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \color{blue}{\mathsf{neg}\left(x\right)}, b \cdot i\right) \]
                                                11. *-commutativeN/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \mathsf{neg}\left(x\right), \color{blue}{i \cdot b}\right) \]
                                                12. lower-*.f6452.7

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, -x, \color{blue}{i \cdot b}\right) \]
                                              5. Applied rewrites52.7%

                                                \[\leadsto \color{blue}{t \cdot \mathsf{fma}\left(a, -x, i \cdot b\right)} \]

                                              if 1.62e-251 < j < 5.5999999999999999e41

                                              1. Initial program 76.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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in z around inf

                                                \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                              4. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                2. sub-negN/A

                                                  \[\leadsto z \cdot \color{blue}{\left(x \cdot y + \left(\mathsf{neg}\left(b \cdot c\right)\right)\right)} \]
                                                3. mul-1-negN/A

                                                  \[\leadsto z \cdot \left(x \cdot y + \color{blue}{-1 \cdot \left(b \cdot c\right)}\right) \]
                                                4. +-commutativeN/A

                                                  \[\leadsto z \cdot \color{blue}{\left(-1 \cdot \left(b \cdot c\right) + x \cdot y\right)} \]
                                                5. associate-*r*N/A

                                                  \[\leadsto z \cdot \left(\color{blue}{\left(-1 \cdot b\right) \cdot c} + x \cdot y\right) \]
                                                6. *-commutativeN/A

                                                  \[\leadsto z \cdot \left(\color{blue}{c \cdot \left(-1 \cdot b\right)} + x \cdot y\right) \]
                                                7. lower-fma.f64N/A

                                                  \[\leadsto z \cdot \color{blue}{\mathsf{fma}\left(c, -1 \cdot b, x \cdot y\right)} \]
                                                8. neg-mul-1N/A

                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                                9. lower-neg.f64N/A

                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                                10. *-commutativeN/A

                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(b\right), \color{blue}{y \cdot x}\right) \]
                                                11. lower-*.f6461.9

                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, -b, \color{blue}{y \cdot x}\right) \]
                                              5. Applied rewrites61.9%

                                                \[\leadsto \color{blue}{z \cdot \mathsf{fma}\left(c, -b, y \cdot x\right)} \]
                                            3. Recombined 3 regimes into one program.
                                            4. Final simplification62.2%

                                              \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -3.1 \cdot 10^{+107}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{elif}\;j \leq 1.62 \cdot 10^{-251}:\\ \;\;\;\;t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\ \mathbf{elif}\;j \leq 5.6 \cdot 10^{+41}:\\ \;\;\;\;z \cdot \mathsf{fma}\left(c, -b, x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \end{array} \]
                                            5. Add Preprocessing

                                            Alternative 15: 51.8% accurate, 1.6× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\ \mathbf{if}\;t \leq -2.7 \cdot 10^{+44}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -1.7 \cdot 10^{-203}:\\ \;\;\;\;c \cdot \mathsf{fma}\left(j, a, z \cdot \left(-b\right)\right)\\ \mathbf{elif}\;t \leq 7.5 \cdot 10^{-49}:\\ \;\;\;\;y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                            (FPCore (x y z t a b c i j)
                                             :precision binary64
                                             (let* ((t_1 (* t (fma a (- x) (* b i)))))
                                               (if (<= t -2.7e+44)
                                                 t_1
                                                 (if (<= t -1.7e-203)
                                                   (* c (fma j a (* z (- b))))
                                                   (if (<= t 7.5e-49) (* y (fma j (- i) (* x z))) t_1)))))
                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                            	double t_1 = t * fma(a, -x, (b * i));
                                            	double tmp;
                                            	if (t <= -2.7e+44) {
                                            		tmp = t_1;
                                            	} else if (t <= -1.7e-203) {
                                            		tmp = c * fma(j, a, (z * -b));
                                            	} else if (t <= 7.5e-49) {
                                            		tmp = y * fma(j, -i, (x * z));
                                            	} else {
                                            		tmp = t_1;
                                            	}
                                            	return tmp;
                                            }
                                            
                                            function code(x, y, z, t, a, b, c, i, j)
                                            	t_1 = Float64(t * fma(a, Float64(-x), Float64(b * i)))
                                            	tmp = 0.0
                                            	if (t <= -2.7e+44)
                                            		tmp = t_1;
                                            	elseif (t <= -1.7e-203)
                                            		tmp = Float64(c * fma(j, a, Float64(z * Float64(-b))));
                                            	elseif (t <= 7.5e-49)
                                            		tmp = Float64(y * fma(j, Float64(-i), Float64(x * z)));
                                            	else
                                            		tmp = t_1;
                                            	end
                                            	return tmp
                                            end
                                            
                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.7e+44], t$95$1, If[LessEqual[t, -1.7e-203], N[(c * N[(j * a + N[(z * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 7.5e-49], N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                                            
                                            \begin{array}{l}
                                            
                                            \\
                                            \begin{array}{l}
                                            t_1 := t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\
                                            \mathbf{if}\;t \leq -2.7 \cdot 10^{+44}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            \mathbf{elif}\;t \leq -1.7 \cdot 10^{-203}:\\
                                            \;\;\;\;c \cdot \mathsf{fma}\left(j, a, z \cdot \left(-b\right)\right)\\
                                            
                                            \mathbf{elif}\;t \leq 7.5 \cdot 10^{-49}:\\
                                            \;\;\;\;y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 3 regimes
                                            2. if t < -2.7e44 or 7.4999999999999998e-49 < t

                                              1. Initial program 70.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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in t around inf

                                                \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                              4. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                                2. sub-negN/A

                                                  \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right)} \]
                                                3. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(\color{blue}{\left(\mathsf{neg}\left(a \cdot x\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                4. distribute-rgt-neg-inN/A

                                                  \[\leadsto t \cdot \left(\color{blue}{a \cdot \left(\mathsf{neg}\left(x\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                5. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \color{blue}{\left(-1 \cdot x\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                6. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \left(-1 \cdot x\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(b \cdot i\right)\right)}\right)\right)\right) \]
                                                7. remove-double-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \left(-1 \cdot x\right) + \color{blue}{b \cdot i}\right) \]
                                                8. lower-fma.f64N/A

                                                  \[\leadsto t \cdot \color{blue}{\mathsf{fma}\left(a, -1 \cdot x, b \cdot i\right)} \]
                                                9. mul-1-negN/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \color{blue}{\mathsf{neg}\left(x\right)}, b \cdot i\right) \]
                                                10. lower-neg.f64N/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \color{blue}{\mathsf{neg}\left(x\right)}, b \cdot i\right) \]
                                                11. *-commutativeN/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \mathsf{neg}\left(x\right), \color{blue}{i \cdot b}\right) \]
                                                12. lower-*.f6464.3

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, -x, \color{blue}{i \cdot b}\right) \]
                                              5. Applied rewrites64.3%

                                                \[\leadsto \color{blue}{t \cdot \mathsf{fma}\left(a, -x, i \cdot b\right)} \]

                                              if -2.7e44 < t < -1.6999999999999999e-203

                                              1. Initial program 76.5%

                                                \[\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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in y around 0

                                                \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
                                              4. Applied rewrites74.3%

                                                \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
                                              5. Taylor expanded in c around inf

                                                \[\leadsto \color{blue}{c \cdot \left(a \cdot j - b \cdot z\right)} \]
                                              6. Step-by-step derivation
                                                1. sub-negN/A

                                                  \[\leadsto c \cdot \color{blue}{\left(a \cdot j + \left(\mathsf{neg}\left(b \cdot z\right)\right)\right)} \]
                                                2. mul-1-negN/A

                                                  \[\leadsto c \cdot \left(a \cdot j + \color{blue}{-1 \cdot \left(b \cdot z\right)}\right) \]
                                                3. +-commutativeN/A

                                                  \[\leadsto c \cdot \color{blue}{\left(-1 \cdot \left(b \cdot z\right) + a \cdot j\right)} \]
                                                4. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{c \cdot \left(-1 \cdot \left(b \cdot z\right) + a \cdot j\right)} \]
                                                5. +-commutativeN/A

                                                  \[\leadsto c \cdot \color{blue}{\left(a \cdot j + -1 \cdot \left(b \cdot z\right)\right)} \]
                                                6. *-commutativeN/A

                                                  \[\leadsto c \cdot \left(\color{blue}{j \cdot a} + -1 \cdot \left(b \cdot z\right)\right) \]
                                                7. lower-fma.f64N/A

                                                  \[\leadsto c \cdot \color{blue}{\mathsf{fma}\left(j, a, -1 \cdot \left(b \cdot z\right)\right)} \]
                                                8. mul-1-negN/A

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, \color{blue}{\mathsf{neg}\left(b \cdot z\right)}\right) \]
                                                9. distribute-rgt-neg-inN/A

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, \color{blue}{b \cdot \left(\mathsf{neg}\left(z\right)\right)}\right) \]
                                                10. mul-1-negN/A

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, b \cdot \color{blue}{\left(-1 \cdot z\right)}\right) \]
                                                11. lower-*.f64N/A

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, \color{blue}{b \cdot \left(-1 \cdot z\right)}\right) \]
                                                12. mul-1-negN/A

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, b \cdot \color{blue}{\left(\mathsf{neg}\left(z\right)\right)}\right) \]
                                                13. lower-neg.f6453.9

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, b \cdot \color{blue}{\left(-z\right)}\right) \]
                                              7. Applied rewrites53.9%

                                                \[\leadsto \color{blue}{c \cdot \mathsf{fma}\left(j, a, b \cdot \left(-z\right)\right)} \]

                                              if -1.6999999999999999e-203 < t < 7.4999999999999998e-49

                                              1. Initial program 83.4%

                                                \[\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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in y around inf

                                                \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
                                              4. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
                                                2. associate-*r*N/A

                                                  \[\leadsto y \cdot \left(\color{blue}{\left(-1 \cdot i\right) \cdot j} + x \cdot z\right) \]
                                                3. *-commutativeN/A

                                                  \[\leadsto y \cdot \left(\color{blue}{j \cdot \left(-1 \cdot i\right)} + x \cdot z\right) \]
                                                4. lower-fma.f64N/A

                                                  \[\leadsto y \cdot \color{blue}{\mathsf{fma}\left(j, -1 \cdot i, x \cdot z\right)} \]
                                                5. neg-mul-1N/A

                                                  \[\leadsto y \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, x \cdot z\right) \]
                                                6. lower-neg.f64N/A

                                                  \[\leadsto y \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, x \cdot z\right) \]
                                                7. *-commutativeN/A

                                                  \[\leadsto y \cdot \mathsf{fma}\left(j, \mathsf{neg}\left(i\right), \color{blue}{z \cdot x}\right) \]
                                                8. lower-*.f6462.2

                                                  \[\leadsto y \cdot \mathsf{fma}\left(j, -i, \color{blue}{z \cdot x}\right) \]
                                              5. Applied rewrites62.2%

                                                \[\leadsto \color{blue}{y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)} \]
                                            3. Recombined 3 regimes into one program.
                                            4. Final simplification61.9%

                                              \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.7 \cdot 10^{+44}:\\ \;\;\;\;t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\ \mathbf{elif}\;t \leq -1.7 \cdot 10^{-203}:\\ \;\;\;\;c \cdot \mathsf{fma}\left(j, a, z \cdot \left(-b\right)\right)\\ \mathbf{elif}\;t \leq 7.5 \cdot 10^{-49}:\\ \;\;\;\;y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\ \end{array} \]
                                            5. Add Preprocessing

                                            Alternative 16: 52.1% accurate, 1.6× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\ \mathbf{if}\;t \leq -2.7 \cdot 10^{+44}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -1.4 \cdot 10^{-203}:\\ \;\;\;\;c \cdot \mathsf{fma}\left(j, a, z \cdot \left(-b\right)\right)\\ \mathbf{elif}\;t \leq 3.4 \cdot 10^{+50}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                            (FPCore (x y z t a b c i j)
                                             :precision binary64
                                             (let* ((t_1 (* t (fma a (- x) (* b i)))))
                                               (if (<= t -2.7e+44)
                                                 t_1
                                                 (if (<= t -1.4e-203)
                                                   (* c (fma j a (* z (- b))))
                                                   (if (<= t 3.4e+50) (* j (- (* a c) (* y i))) t_1)))))
                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                            	double t_1 = t * fma(a, -x, (b * i));
                                            	double tmp;
                                            	if (t <= -2.7e+44) {
                                            		tmp = t_1;
                                            	} else if (t <= -1.4e-203) {
                                            		tmp = c * fma(j, a, (z * -b));
                                            	} else if (t <= 3.4e+50) {
                                            		tmp = j * ((a * c) - (y * i));
                                            	} else {
                                            		tmp = t_1;
                                            	}
                                            	return tmp;
                                            }
                                            
                                            function code(x, y, z, t, a, b, c, i, j)
                                            	t_1 = Float64(t * fma(a, Float64(-x), Float64(b * i)))
                                            	tmp = 0.0
                                            	if (t <= -2.7e+44)
                                            		tmp = t_1;
                                            	elseif (t <= -1.4e-203)
                                            		tmp = Float64(c * fma(j, a, Float64(z * Float64(-b))));
                                            	elseif (t <= 3.4e+50)
                                            		tmp = Float64(j * Float64(Float64(a * c) - Float64(y * i)));
                                            	else
                                            		tmp = t_1;
                                            	end
                                            	return tmp
                                            end
                                            
                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(t * N[(a * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.7e+44], t$95$1, If[LessEqual[t, -1.4e-203], N[(c * N[(j * a + N[(z * (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.4e+50], N[(j * N[(N[(a * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                                            
                                            \begin{array}{l}
                                            
                                            \\
                                            \begin{array}{l}
                                            t_1 := t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\
                                            \mathbf{if}\;t \leq -2.7 \cdot 10^{+44}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            \mathbf{elif}\;t \leq -1.4 \cdot 10^{-203}:\\
                                            \;\;\;\;c \cdot \mathsf{fma}\left(j, a, z \cdot \left(-b\right)\right)\\
                                            
                                            \mathbf{elif}\;t \leq 3.4 \cdot 10^{+50}:\\
                                            \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 3 regimes
                                            2. if t < -2.7e44 or 3.3999999999999998e50 < t

                                              1. Initial program 69.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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in t around inf

                                                \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                              4. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                                2. sub-negN/A

                                                  \[\leadsto t \cdot \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right)} \]
                                                3. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(\color{blue}{\left(\mathsf{neg}\left(a \cdot x\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                4. distribute-rgt-neg-inN/A

                                                  \[\leadsto t \cdot \left(\color{blue}{a \cdot \left(\mathsf{neg}\left(x\right)\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                5. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \color{blue}{\left(-1 \cdot x\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \]
                                                6. mul-1-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \left(-1 \cdot x\right) + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(b \cdot i\right)\right)}\right)\right)\right) \]
                                                7. remove-double-negN/A

                                                  \[\leadsto t \cdot \left(a \cdot \left(-1 \cdot x\right) + \color{blue}{b \cdot i}\right) \]
                                                8. lower-fma.f64N/A

                                                  \[\leadsto t \cdot \color{blue}{\mathsf{fma}\left(a, -1 \cdot x, b \cdot i\right)} \]
                                                9. mul-1-negN/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \color{blue}{\mathsf{neg}\left(x\right)}, b \cdot i\right) \]
                                                10. lower-neg.f64N/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \color{blue}{\mathsf{neg}\left(x\right)}, b \cdot i\right) \]
                                                11. *-commutativeN/A

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, \mathsf{neg}\left(x\right), \color{blue}{i \cdot b}\right) \]
                                                12. lower-*.f6466.9

                                                  \[\leadsto t \cdot \mathsf{fma}\left(a, -x, \color{blue}{i \cdot b}\right) \]
                                              5. Applied rewrites66.9%

                                                \[\leadsto \color{blue}{t \cdot \mathsf{fma}\left(a, -x, i \cdot b\right)} \]

                                              if -2.7e44 < t < -1.40000000000000011e-203

                                              1. Initial program 76.5%

                                                \[\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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in y around 0

                                                \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \left(a \cdot \left(c \cdot j\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - i \cdot t\right)} \]
                                              4. Applied rewrites74.3%

                                                \[\leadsto \color{blue}{\mathsf{fma}\left(a, \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right), \mathsf{fma}\left(b, i \cdot t - c \cdot z, y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)\right)\right)} \]
                                              5. Taylor expanded in c around inf

                                                \[\leadsto \color{blue}{c \cdot \left(a \cdot j - b \cdot z\right)} \]
                                              6. Step-by-step derivation
                                                1. sub-negN/A

                                                  \[\leadsto c \cdot \color{blue}{\left(a \cdot j + \left(\mathsf{neg}\left(b \cdot z\right)\right)\right)} \]
                                                2. mul-1-negN/A

                                                  \[\leadsto c \cdot \left(a \cdot j + \color{blue}{-1 \cdot \left(b \cdot z\right)}\right) \]
                                                3. +-commutativeN/A

                                                  \[\leadsto c \cdot \color{blue}{\left(-1 \cdot \left(b \cdot z\right) + a \cdot j\right)} \]
                                                4. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{c \cdot \left(-1 \cdot \left(b \cdot z\right) + a \cdot j\right)} \]
                                                5. +-commutativeN/A

                                                  \[\leadsto c \cdot \color{blue}{\left(a \cdot j + -1 \cdot \left(b \cdot z\right)\right)} \]
                                                6. *-commutativeN/A

                                                  \[\leadsto c \cdot \left(\color{blue}{j \cdot a} + -1 \cdot \left(b \cdot z\right)\right) \]
                                                7. lower-fma.f64N/A

                                                  \[\leadsto c \cdot \color{blue}{\mathsf{fma}\left(j, a, -1 \cdot \left(b \cdot z\right)\right)} \]
                                                8. mul-1-negN/A

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, \color{blue}{\mathsf{neg}\left(b \cdot z\right)}\right) \]
                                                9. distribute-rgt-neg-inN/A

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, \color{blue}{b \cdot \left(\mathsf{neg}\left(z\right)\right)}\right) \]
                                                10. mul-1-negN/A

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, b \cdot \color{blue}{\left(-1 \cdot z\right)}\right) \]
                                                11. lower-*.f64N/A

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, \color{blue}{b \cdot \left(-1 \cdot z\right)}\right) \]
                                                12. mul-1-negN/A

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, b \cdot \color{blue}{\left(\mathsf{neg}\left(z\right)\right)}\right) \]
                                                13. lower-neg.f6453.9

                                                  \[\leadsto c \cdot \mathsf{fma}\left(j, a, b \cdot \color{blue}{\left(-z\right)}\right) \]
                                              7. Applied rewrites53.9%

                                                \[\leadsto \color{blue}{c \cdot \mathsf{fma}\left(j, a, b \cdot \left(-z\right)\right)} \]

                                              if -1.40000000000000011e-203 < t < 3.3999999999999998e50

                                              1. Initial program 81.6%

                                                \[\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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in j around inf

                                                \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                              4. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                2. lower--.f64N/A

                                                  \[\leadsto j \cdot \color{blue}{\left(a \cdot c - i \cdot y\right)} \]
                                                3. lower-*.f64N/A

                                                  \[\leadsto j \cdot \left(\color{blue}{a \cdot c} - i \cdot y\right) \]
                                                4. lower-*.f6455.4

                                                  \[\leadsto j \cdot \left(a \cdot c - \color{blue}{i \cdot y}\right) \]
                                              5. Applied rewrites55.4%

                                                \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                            3. Recombined 3 regimes into one program.
                                            4. Final simplification60.1%

                                              \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.7 \cdot 10^{+44}:\\ \;\;\;\;t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\ \mathbf{elif}\;t \leq -1.4 \cdot 10^{-203}:\\ \;\;\;\;c \cdot \mathsf{fma}\left(j, a, z \cdot \left(-b\right)\right)\\ \mathbf{elif}\;t \leq 3.4 \cdot 10^{+50}:\\ \;\;\;\;j \cdot \left(a \cdot c - y \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \mathsf{fma}\left(a, -x, b \cdot i\right)\\ \end{array} \]
                                            5. Add Preprocessing

                                            Alternative 17: 30.1% accurate, 2.0× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{if}\;j \leq -1.12 \cdot 10^{-128}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;j \leq 2.6 \cdot 10^{+177}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                            (FPCore (x y z t a b c i j)
                                             :precision binary64
                                             (let* ((t_1 (* y (* i (- j)))))
                                               (if (<= j -1.12e-128)
                                                 t_1
                                                 (if (<= j 6e+41) (* y (* x z)) (if (<= j 2.6e+177) (* a (* c j)) t_1)))))
                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                            	double t_1 = y * (i * -j);
                                            	double tmp;
                                            	if (j <= -1.12e-128) {
                                            		tmp = t_1;
                                            	} else if (j <= 6e+41) {
                                            		tmp = y * (x * z);
                                            	} else if (j <= 2.6e+177) {
                                            		tmp = a * (c * j);
                                            	} else {
                                            		tmp = t_1;
                                            	}
                                            	return tmp;
                                            }
                                            
                                            real(8) function code(x, y, z, t, a, b, c, i, j)
                                                real(8), intent (in) :: x
                                                real(8), intent (in) :: y
                                                real(8), intent (in) :: z
                                                real(8), intent (in) :: t
                                                real(8), intent (in) :: a
                                                real(8), intent (in) :: b
                                                real(8), intent (in) :: c
                                                real(8), intent (in) :: i
                                                real(8), intent (in) :: j
                                                real(8) :: t_1
                                                real(8) :: tmp
                                                t_1 = y * (i * -j)
                                                if (j <= (-1.12d-128)) then
                                                    tmp = t_1
                                                else if (j <= 6d+41) then
                                                    tmp = y * (x * z)
                                                else if (j <= 2.6d+177) then
                                                    tmp = a * (c * j)
                                                else
                                                    tmp = t_1
                                                end if
                                                code = tmp
                                            end function
                                            
                                            public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                            	double t_1 = y * (i * -j);
                                            	double tmp;
                                            	if (j <= -1.12e-128) {
                                            		tmp = t_1;
                                            	} else if (j <= 6e+41) {
                                            		tmp = y * (x * z);
                                            	} else if (j <= 2.6e+177) {
                                            		tmp = a * (c * j);
                                            	} else {
                                            		tmp = t_1;
                                            	}
                                            	return tmp;
                                            }
                                            
                                            def code(x, y, z, t, a, b, c, i, j):
                                            	t_1 = y * (i * -j)
                                            	tmp = 0
                                            	if j <= -1.12e-128:
                                            		tmp = t_1
                                            	elif j <= 6e+41:
                                            		tmp = y * (x * z)
                                            	elif j <= 2.6e+177:
                                            		tmp = a * (c * j)
                                            	else:
                                            		tmp = t_1
                                            	return tmp
                                            
                                            function code(x, y, z, t, a, b, c, i, j)
                                            	t_1 = Float64(y * Float64(i * Float64(-j)))
                                            	tmp = 0.0
                                            	if (j <= -1.12e-128)
                                            		tmp = t_1;
                                            	elseif (j <= 6e+41)
                                            		tmp = Float64(y * Float64(x * z));
                                            	elseif (j <= 2.6e+177)
                                            		tmp = Float64(a * Float64(c * j));
                                            	else
                                            		tmp = t_1;
                                            	end
                                            	return tmp
                                            end
                                            
                                            function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                            	t_1 = y * (i * -j);
                                            	tmp = 0.0;
                                            	if (j <= -1.12e-128)
                                            		tmp = t_1;
                                            	elseif (j <= 6e+41)
                                            		tmp = y * (x * z);
                                            	elseif (j <= 2.6e+177)
                                            		tmp = a * (c * j);
                                            	else
                                            		tmp = t_1;
                                            	end
                                            	tmp_2 = tmp;
                                            end
                                            
                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(y * N[(i * (-j)), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.12e-128], t$95$1, If[LessEqual[j, 6e+41], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.6e+177], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                                            
                                            \begin{array}{l}
                                            
                                            \\
                                            \begin{array}{l}
                                            t_1 := y \cdot \left(i \cdot \left(-j\right)\right)\\
                                            \mathbf{if}\;j \leq -1.12 \cdot 10^{-128}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\
                                            \;\;\;\;y \cdot \left(x \cdot z\right)\\
                                            
                                            \mathbf{elif}\;j \leq 2.6 \cdot 10^{+177}:\\
                                            \;\;\;\;a \cdot \left(c \cdot j\right)\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 3 regimes
                                            2. if j < -1.12e-128 or 2.59999999999999979e177 < j

                                              1. Initial program 71.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) \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in j around inf

                                                \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                              4. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                2. lower--.f64N/A

                                                  \[\leadsto j \cdot \color{blue}{\left(a \cdot c - i \cdot y\right)} \]
                                                3. lower-*.f64N/A

                                                  \[\leadsto j \cdot \left(\color{blue}{a \cdot c} - i \cdot y\right) \]
                                                4. lower-*.f6456.9

                                                  \[\leadsto j \cdot \left(a \cdot c - \color{blue}{i \cdot y}\right) \]
                                              5. Applied rewrites56.9%

                                                \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                              6. Taylor expanded in a around 0

                                                \[\leadsto -1 \cdot \color{blue}{\left(i \cdot \left(j \cdot y\right)\right)} \]
                                              7. Step-by-step derivation
                                                1. Applied rewrites42.6%

                                                  \[\leadsto -\left(j \cdot i\right) \cdot y \]

                                                if -1.12e-128 < j < 5.9999999999999997e41

                                                1. Initial program 74.9%

                                                  \[\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) \]
                                                2. Add Preprocessing
                                                3. Taylor expanded in y around inf

                                                  \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
                                                4. Step-by-step derivation
                                                  1. lower-*.f64N/A

                                                    \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
                                                  2. associate-*r*N/A

                                                    \[\leadsto y \cdot \left(\color{blue}{\left(-1 \cdot i\right) \cdot j} + x \cdot z\right) \]
                                                  3. *-commutativeN/A

                                                    \[\leadsto y \cdot \left(\color{blue}{j \cdot \left(-1 \cdot i\right)} + x \cdot z\right) \]
                                                  4. lower-fma.f64N/A

                                                    \[\leadsto y \cdot \color{blue}{\mathsf{fma}\left(j, -1 \cdot i, x \cdot z\right)} \]
                                                  5. neg-mul-1N/A

                                                    \[\leadsto y \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, x \cdot z\right) \]
                                                  6. lower-neg.f64N/A

                                                    \[\leadsto y \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, x \cdot z\right) \]
                                                  7. *-commutativeN/A

                                                    \[\leadsto y \cdot \mathsf{fma}\left(j, \mathsf{neg}\left(i\right), \color{blue}{z \cdot x}\right) \]
                                                  8. lower-*.f6439.1

                                                    \[\leadsto y \cdot \mathsf{fma}\left(j, -i, \color{blue}{z \cdot x}\right) \]
                                                5. Applied rewrites39.1%

                                                  \[\leadsto \color{blue}{y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)} \]
                                                6. Taylor expanded in j around 0

                                                  \[\leadsto y \cdot \left(x \cdot \color{blue}{z}\right) \]
                                                7. Step-by-step derivation
                                                  1. Applied rewrites32.1%

                                                    \[\leadsto y \cdot \left(z \cdot \color{blue}{x}\right) \]

                                                  if 5.9999999999999997e41 < j < 2.59999999999999979e177

                                                  1. Initial program 87.0%

                                                    \[\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) \]
                                                  2. Add Preprocessing
                                                  3. Taylor expanded in a around inf

                                                    \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                  4. Step-by-step derivation
                                                    1. lower-*.f64N/A

                                                      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                    2. +-commutativeN/A

                                                      \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
                                                    3. *-commutativeN/A

                                                      \[\leadsto a \cdot \left(\color{blue}{j \cdot c} + -1 \cdot \left(t \cdot x\right)\right) \]
                                                    4. lower-fma.f64N/A

                                                      \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(j, c, -1 \cdot \left(t \cdot x\right)\right)} \]
                                                    5. mul-1-negN/A

                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{\mathsf{neg}\left(t \cdot x\right)}\right) \]
                                                    6. distribute-rgt-neg-inN/A

                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                    7. mul-1-negN/A

                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-1 \cdot x\right)}\right) \]
                                                    8. lower-*.f64N/A

                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-1 \cdot x\right)}\right) \]
                                                    9. mul-1-negN/A

                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                    10. lower-neg.f6459.0

                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-x\right)}\right) \]
                                                  5. Applied rewrites59.0%

                                                    \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right)} \]
                                                  6. Taylor expanded in j around inf

                                                    \[\leadsto a \cdot \left(c \cdot \color{blue}{j}\right) \]
                                                  7. Step-by-step derivation
                                                    1. Applied rewrites45.9%

                                                      \[\leadsto a \cdot \left(j \cdot \color{blue}{c}\right) \]
                                                  8. Recombined 3 regimes into one program.
                                                  9. Final simplification38.8%

                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1.12 \cdot 10^{-128}:\\ \;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\ \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{elif}\;j \leq 2.6 \cdot 10^{+177}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(i \cdot \left(-j\right)\right)\\ \end{array} \]
                                                  10. Add Preprocessing

                                                  Alternative 18: 50.7% accurate, 2.0× speedup?

                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{if}\;b \leq -4.2 \cdot 10^{+103}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 5.4 \cdot 10^{+73}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                  (FPCore (x y z t a b c i j)
                                                   :precision binary64
                                                   (let* ((t_1 (* b (- (* t i) (* z c)))))
                                                     (if (<= b -4.2e+103)
                                                       t_1
                                                       (if (<= b 5.4e+73) (* a (fma j c (* x (- t)))) t_1))))
                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                  	double t_1 = b * ((t * i) - (z * c));
                                                  	double tmp;
                                                  	if (b <= -4.2e+103) {
                                                  		tmp = t_1;
                                                  	} else if (b <= 5.4e+73) {
                                                  		tmp = a * fma(j, c, (x * -t));
                                                  	} else {
                                                  		tmp = t_1;
                                                  	}
                                                  	return tmp;
                                                  }
                                                  
                                                  function code(x, y, z, t, a, b, c, i, j)
                                                  	t_1 = Float64(b * Float64(Float64(t * i) - Float64(z * c)))
                                                  	tmp = 0.0
                                                  	if (b <= -4.2e+103)
                                                  		tmp = t_1;
                                                  	elseif (b <= 5.4e+73)
                                                  		tmp = Float64(a * fma(j, c, Float64(x * Float64(-t))));
                                                  	else
                                                  		tmp = t_1;
                                                  	end
                                                  	return tmp
                                                  end
                                                  
                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(b * N[(N[(t * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -4.2e+103], t$95$1, If[LessEqual[b, 5.4e+73], N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
                                                  
                                                  \begin{array}{l}
                                                  
                                                  \\
                                                  \begin{array}{l}
                                                  t_1 := b \cdot \left(t \cdot i - z \cdot c\right)\\
                                                  \mathbf{if}\;b \leq -4.2 \cdot 10^{+103}:\\
                                                  \;\;\;\;t\_1\\
                                                  
                                                  \mathbf{elif}\;b \leq 5.4 \cdot 10^{+73}:\\
                                                  \;\;\;\;a \cdot \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\
                                                  
                                                  \mathbf{else}:\\
                                                  \;\;\;\;t\_1\\
                                                  
                                                  
                                                  \end{array}
                                                  \end{array}
                                                  
                                                  Derivation
                                                  1. Split input into 2 regimes
                                                  2. if b < -4.2000000000000003e103 or 5.3999999999999998e73 < b

                                                    1. Initial program 68.6%

                                                      \[\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) \]
                                                    2. Add Preprocessing
                                                    3. Taylor expanded in b around inf

                                                      \[\leadsto \color{blue}{b \cdot \left(i \cdot t - c \cdot z\right)} \]
                                                    4. Step-by-step derivation
                                                      1. cancel-sign-sub-invN/A

                                                        \[\leadsto b \cdot \color{blue}{\left(i \cdot t + \left(\mathsf{neg}\left(c\right)\right) \cdot z\right)} \]
                                                      2. +-commutativeN/A

                                                        \[\leadsto b \cdot \color{blue}{\left(\left(\mathsf{neg}\left(c\right)\right) \cdot z + i \cdot t\right)} \]
                                                      3. distribute-lft-neg-inN/A

                                                        \[\leadsto b \cdot \left(\color{blue}{\left(\mathsf{neg}\left(c \cdot z\right)\right)} + i \cdot t\right) \]
                                                      4. remove-double-negN/A

                                                        \[\leadsto b \cdot \left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)}\right) \]
                                                      5. distribute-neg-inN/A

                                                        \[\leadsto b \cdot \color{blue}{\left(\mathsf{neg}\left(\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)\right)} \]
                                                      6. sub-negN/A

                                                        \[\leadsto b \cdot \left(\mathsf{neg}\left(\color{blue}{\left(c \cdot z - i \cdot t\right)}\right)\right) \]
                                                      7. mul-1-negN/A

                                                        \[\leadsto b \cdot \color{blue}{\left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} \]
                                                      8. lower-*.f64N/A

                                                        \[\leadsto \color{blue}{b \cdot \left(-1 \cdot \left(c \cdot z - i \cdot t\right)\right)} \]
                                                      9. mul-1-negN/A

                                                        \[\leadsto b \cdot \color{blue}{\left(\mathsf{neg}\left(\left(c \cdot z - i \cdot t\right)\right)\right)} \]
                                                      10. sub-negN/A

                                                        \[\leadsto b \cdot \left(\mathsf{neg}\left(\color{blue}{\left(c \cdot z + \left(\mathsf{neg}\left(i \cdot t\right)\right)\right)}\right)\right) \]
                                                      11. distribute-neg-inN/A

                                                        \[\leadsto b \cdot \color{blue}{\left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(i \cdot t\right)\right)\right)\right)\right)} \]
                                                      12. remove-double-negN/A

                                                        \[\leadsto b \cdot \left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + \color{blue}{i \cdot t}\right) \]
                                                      13. +-commutativeN/A

                                                        \[\leadsto b \cdot \color{blue}{\left(i \cdot t + \left(\mathsf{neg}\left(c \cdot z\right)\right)\right)} \]
                                                      14. sub-negN/A

                                                        \[\leadsto b \cdot \color{blue}{\left(i \cdot t - c \cdot z\right)} \]
                                                      15. lower--.f64N/A

                                                        \[\leadsto b \cdot \color{blue}{\left(i \cdot t - c \cdot z\right)} \]
                                                      16. lower-*.f64N/A

                                                        \[\leadsto b \cdot \left(\color{blue}{i \cdot t} - c \cdot z\right) \]
                                                      17. lower-*.f6465.9

                                                        \[\leadsto b \cdot \left(i \cdot t - \color{blue}{c \cdot z}\right) \]
                                                    5. Applied rewrites65.9%

                                                      \[\leadsto \color{blue}{b \cdot \left(i \cdot t - c \cdot z\right)} \]

                                                    if -4.2000000000000003e103 < b < 5.3999999999999998e73

                                                    1. Initial program 79.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) \]
                                                    2. Add Preprocessing
                                                    3. Taylor expanded in a around inf

                                                      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                    4. Step-by-step derivation
                                                      1. lower-*.f64N/A

                                                        \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                      2. +-commutativeN/A

                                                        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
                                                      3. *-commutativeN/A

                                                        \[\leadsto a \cdot \left(\color{blue}{j \cdot c} + -1 \cdot \left(t \cdot x\right)\right) \]
                                                      4. lower-fma.f64N/A

                                                        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(j, c, -1 \cdot \left(t \cdot x\right)\right)} \]
                                                      5. mul-1-negN/A

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{\mathsf{neg}\left(t \cdot x\right)}\right) \]
                                                      6. distribute-rgt-neg-inN/A

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                      7. mul-1-negN/A

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-1 \cdot x\right)}\right) \]
                                                      8. lower-*.f64N/A

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-1 \cdot x\right)}\right) \]
                                                      9. mul-1-negN/A

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                      10. lower-neg.f6444.3

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-x\right)}\right) \]
                                                    5. Applied rewrites44.3%

                                                      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right)} \]
                                                  3. Recombined 2 regimes into one program.
                                                  4. Final simplification52.1%

                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -4.2 \cdot 10^{+103}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \mathbf{elif}\;b \leq 5.4 \cdot 10^{+73}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(t \cdot i - z \cdot c\right)\\ \end{array} \]
                                                  5. Add Preprocessing

                                                  Alternative 19: 43.2% accurate, 2.0× speedup?

                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\ \mathbf{if}\;a \leq -2.6 \cdot 10^{-116}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq 3.5 \cdot 10^{+19}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                  (FPCore (x y z t a b c i j)
                                                   :precision binary64
                                                   (let* ((t_1 (* a (fma j c (* x (- t))))))
                                                     (if (<= a -2.6e-116) t_1 (if (<= a 3.5e+19) (* j (* y (- i))) t_1))))
                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                  	double t_1 = a * fma(j, c, (x * -t));
                                                  	double tmp;
                                                  	if (a <= -2.6e-116) {
                                                  		tmp = t_1;
                                                  	} else if (a <= 3.5e+19) {
                                                  		tmp = j * (y * -i);
                                                  	} else {
                                                  		tmp = t_1;
                                                  	}
                                                  	return tmp;
                                                  }
                                                  
                                                  function code(x, y, z, t, a, b, c, i, j)
                                                  	t_1 = Float64(a * fma(j, c, Float64(x * Float64(-t))))
                                                  	tmp = 0.0
                                                  	if (a <= -2.6e-116)
                                                  		tmp = t_1;
                                                  	elseif (a <= 3.5e+19)
                                                  		tmp = Float64(j * Float64(y * Float64(-i)));
                                                  	else
                                                  		tmp = t_1;
                                                  	end
                                                  	return tmp
                                                  end
                                                  
                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(j * c + N[(x * (-t)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -2.6e-116], t$95$1, If[LessEqual[a, 3.5e+19], N[(j * N[(y * (-i)), $MachinePrecision]), $MachinePrecision], t$95$1]]]
                                                  
                                                  \begin{array}{l}
                                                  
                                                  \\
                                                  \begin{array}{l}
                                                  t_1 := a \cdot \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\
                                                  \mathbf{if}\;a \leq -2.6 \cdot 10^{-116}:\\
                                                  \;\;\;\;t\_1\\
                                                  
                                                  \mathbf{elif}\;a \leq 3.5 \cdot 10^{+19}:\\
                                                  \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\
                                                  
                                                  \mathbf{else}:\\
                                                  \;\;\;\;t\_1\\
                                                  
                                                  
                                                  \end{array}
                                                  \end{array}
                                                  
                                                  Derivation
                                                  1. Split input into 2 regimes
                                                  2. if a < -2.6e-116 or 3.5e19 < a

                                                    1. Initial program 71.6%

                                                      \[\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) \]
                                                    2. Add Preprocessing
                                                    3. Taylor expanded in a around inf

                                                      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                    4. Step-by-step derivation
                                                      1. lower-*.f64N/A

                                                        \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                      2. +-commutativeN/A

                                                        \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
                                                      3. *-commutativeN/A

                                                        \[\leadsto a \cdot \left(\color{blue}{j \cdot c} + -1 \cdot \left(t \cdot x\right)\right) \]
                                                      4. lower-fma.f64N/A

                                                        \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(j, c, -1 \cdot \left(t \cdot x\right)\right)} \]
                                                      5. mul-1-negN/A

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{\mathsf{neg}\left(t \cdot x\right)}\right) \]
                                                      6. distribute-rgt-neg-inN/A

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                      7. mul-1-negN/A

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-1 \cdot x\right)}\right) \]
                                                      8. lower-*.f64N/A

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-1 \cdot x\right)}\right) \]
                                                      9. mul-1-negN/A

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                      10. lower-neg.f6453.5

                                                        \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-x\right)}\right) \]
                                                    5. Applied rewrites53.5%

                                                      \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right)} \]

                                                    if -2.6e-116 < a < 3.5e19

                                                    1. Initial program 81.5%

                                                      \[\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) \]
                                                    2. Add Preprocessing
                                                    3. Taylor expanded in j around inf

                                                      \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                    4. Step-by-step derivation
                                                      1. lower-*.f64N/A

                                                        \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                      2. lower--.f64N/A

                                                        \[\leadsto j \cdot \color{blue}{\left(a \cdot c - i \cdot y\right)} \]
                                                      3. lower-*.f64N/A

                                                        \[\leadsto j \cdot \left(\color{blue}{a \cdot c} - i \cdot y\right) \]
                                                      4. lower-*.f6438.9

                                                        \[\leadsto j \cdot \left(a \cdot c - \color{blue}{i \cdot y}\right) \]
                                                    5. Applied rewrites38.9%

                                                      \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                    6. Taylor expanded in a around 0

                                                      \[\leadsto j \cdot \left(-1 \cdot \color{blue}{\left(i \cdot y\right)}\right) \]
                                                    7. Step-by-step derivation
                                                      1. Applied rewrites36.9%

                                                        \[\leadsto j \cdot \left(i \cdot \color{blue}{\left(-y\right)}\right) \]
                                                    8. Recombined 2 regimes into one program.
                                                    9. Final simplification47.2%

                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -2.6 \cdot 10^{-116}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\ \mathbf{elif}\;a \leq 3.5 \cdot 10^{+19}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(j, c, x \cdot \left(-t\right)\right)\\ \end{array} \]
                                                    10. Add Preprocessing

                                                    Alternative 20: 28.8% accurate, 2.6× speedup?

                                                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -9 \cdot 10^{-129}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c\right)\\ \end{array} \end{array} \]
                                                    (FPCore (x y z t a b c i j)
                                                     :precision binary64
                                                     (if (<= j -9e-129)
                                                       (* a (* c j))
                                                       (if (<= j 6e+41) (* y (* x z)) (* j (* a c)))))
                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                    	double tmp;
                                                    	if (j <= -9e-129) {
                                                    		tmp = a * (c * j);
                                                    	} else if (j <= 6e+41) {
                                                    		tmp = y * (x * z);
                                                    	} else {
                                                    		tmp = j * (a * c);
                                                    	}
                                                    	return tmp;
                                                    }
                                                    
                                                    real(8) function code(x, y, z, t, a, b, c, i, j)
                                                        real(8), intent (in) :: x
                                                        real(8), intent (in) :: y
                                                        real(8), intent (in) :: z
                                                        real(8), intent (in) :: t
                                                        real(8), intent (in) :: a
                                                        real(8), intent (in) :: b
                                                        real(8), intent (in) :: c
                                                        real(8), intent (in) :: i
                                                        real(8), intent (in) :: j
                                                        real(8) :: tmp
                                                        if (j <= (-9d-129)) then
                                                            tmp = a * (c * j)
                                                        else if (j <= 6d+41) then
                                                            tmp = y * (x * z)
                                                        else
                                                            tmp = j * (a * c)
                                                        end if
                                                        code = tmp
                                                    end function
                                                    
                                                    public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                    	double tmp;
                                                    	if (j <= -9e-129) {
                                                    		tmp = a * (c * j);
                                                    	} else if (j <= 6e+41) {
                                                    		tmp = y * (x * z);
                                                    	} else {
                                                    		tmp = j * (a * c);
                                                    	}
                                                    	return tmp;
                                                    }
                                                    
                                                    def code(x, y, z, t, a, b, c, i, j):
                                                    	tmp = 0
                                                    	if j <= -9e-129:
                                                    		tmp = a * (c * j)
                                                    	elif j <= 6e+41:
                                                    		tmp = y * (x * z)
                                                    	else:
                                                    		tmp = j * (a * c)
                                                    	return tmp
                                                    
                                                    function code(x, y, z, t, a, b, c, i, j)
                                                    	tmp = 0.0
                                                    	if (j <= -9e-129)
                                                    		tmp = Float64(a * Float64(c * j));
                                                    	elseif (j <= 6e+41)
                                                    		tmp = Float64(y * Float64(x * z));
                                                    	else
                                                    		tmp = Float64(j * Float64(a * c));
                                                    	end
                                                    	return tmp
                                                    end
                                                    
                                                    function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                    	tmp = 0.0;
                                                    	if (j <= -9e-129)
                                                    		tmp = a * (c * j);
                                                    	elseif (j <= 6e+41)
                                                    		tmp = y * (x * z);
                                                    	else
                                                    		tmp = j * (a * c);
                                                    	end
                                                    	tmp_2 = tmp;
                                                    end
                                                    
                                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -9e-129], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6e+41], N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision], N[(j * N[(a * c), $MachinePrecision]), $MachinePrecision]]]
                                                    
                                                    \begin{array}{l}
                                                    
                                                    \\
                                                    \begin{array}{l}
                                                    \mathbf{if}\;j \leq -9 \cdot 10^{-129}:\\
                                                    \;\;\;\;a \cdot \left(c \cdot j\right)\\
                                                    
                                                    \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\
                                                    \;\;\;\;y \cdot \left(x \cdot z\right)\\
                                                    
                                                    \mathbf{else}:\\
                                                    \;\;\;\;j \cdot \left(a \cdot c\right)\\
                                                    
                                                    
                                                    \end{array}
                                                    \end{array}
                                                    
                                                    Derivation
                                                    1. Split input into 3 regimes
                                                    2. if j < -9.00000000000000061e-129

                                                      1. Initial program 68.4%

                                                        \[\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) \]
                                                      2. Add Preprocessing
                                                      3. Taylor expanded in a around inf

                                                        \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                      4. Step-by-step derivation
                                                        1. lower-*.f64N/A

                                                          \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                        2. +-commutativeN/A

                                                          \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
                                                        3. *-commutativeN/A

                                                          \[\leadsto a \cdot \left(\color{blue}{j \cdot c} + -1 \cdot \left(t \cdot x\right)\right) \]
                                                        4. lower-fma.f64N/A

                                                          \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(j, c, -1 \cdot \left(t \cdot x\right)\right)} \]
                                                        5. mul-1-negN/A

                                                          \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{\mathsf{neg}\left(t \cdot x\right)}\right) \]
                                                        6. distribute-rgt-neg-inN/A

                                                          \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                        7. mul-1-negN/A

                                                          \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-1 \cdot x\right)}\right) \]
                                                        8. lower-*.f64N/A

                                                          \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-1 \cdot x\right)}\right) \]
                                                        9. mul-1-negN/A

                                                          \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                        10. lower-neg.f6445.9

                                                          \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-x\right)}\right) \]
                                                      5. Applied rewrites45.9%

                                                        \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right)} \]
                                                      6. Taylor expanded in j around inf

                                                        \[\leadsto a \cdot \left(c \cdot \color{blue}{j}\right) \]
                                                      7. Step-by-step derivation
                                                        1. Applied rewrites29.6%

                                                          \[\leadsto a \cdot \left(j \cdot \color{blue}{c}\right) \]

                                                        if -9.00000000000000061e-129 < j < 5.9999999999999997e41

                                                        1. Initial program 74.9%

                                                          \[\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) \]
                                                        2. Add Preprocessing
                                                        3. Taylor expanded in y around inf

                                                          \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
                                                        4. Step-by-step derivation
                                                          1. lower-*.f64N/A

                                                            \[\leadsto \color{blue}{y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)} \]
                                                          2. associate-*r*N/A

                                                            \[\leadsto y \cdot \left(\color{blue}{\left(-1 \cdot i\right) \cdot j} + x \cdot z\right) \]
                                                          3. *-commutativeN/A

                                                            \[\leadsto y \cdot \left(\color{blue}{j \cdot \left(-1 \cdot i\right)} + x \cdot z\right) \]
                                                          4. lower-fma.f64N/A

                                                            \[\leadsto y \cdot \color{blue}{\mathsf{fma}\left(j, -1 \cdot i, x \cdot z\right)} \]
                                                          5. neg-mul-1N/A

                                                            \[\leadsto y \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, x \cdot z\right) \]
                                                          6. lower-neg.f64N/A

                                                            \[\leadsto y \cdot \mathsf{fma}\left(j, \color{blue}{\mathsf{neg}\left(i\right)}, x \cdot z\right) \]
                                                          7. *-commutativeN/A

                                                            \[\leadsto y \cdot \mathsf{fma}\left(j, \mathsf{neg}\left(i\right), \color{blue}{z \cdot x}\right) \]
                                                          8. lower-*.f6439.1

                                                            \[\leadsto y \cdot \mathsf{fma}\left(j, -i, \color{blue}{z \cdot x}\right) \]
                                                        5. Applied rewrites39.1%

                                                          \[\leadsto \color{blue}{y \cdot \mathsf{fma}\left(j, -i, z \cdot x\right)} \]
                                                        6. Taylor expanded in j around 0

                                                          \[\leadsto y \cdot \left(x \cdot \color{blue}{z}\right) \]
                                                        7. Step-by-step derivation
                                                          1. Applied rewrites32.1%

                                                            \[\leadsto y \cdot \left(z \cdot \color{blue}{x}\right) \]

                                                          if 5.9999999999999997e41 < j

                                                          1. Initial program 84.9%

                                                            \[\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) \]
                                                          2. Add Preprocessing
                                                          3. Taylor expanded in j around inf

                                                            \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                          4. Step-by-step derivation
                                                            1. lower-*.f64N/A

                                                              \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                            2. lower--.f64N/A

                                                              \[\leadsto j \cdot \color{blue}{\left(a \cdot c - i \cdot y\right)} \]
                                                            3. lower-*.f64N/A

                                                              \[\leadsto j \cdot \left(\color{blue}{a \cdot c} - i \cdot y\right) \]
                                                            4. lower-*.f6473.3

                                                              \[\leadsto j \cdot \left(a \cdot c - \color{blue}{i \cdot y}\right) \]
                                                          5. Applied rewrites73.3%

                                                            \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                          6. Taylor expanded in a around inf

                                                            \[\leadsto j \cdot \left(a \cdot \color{blue}{c}\right) \]
                                                          7. Step-by-step derivation
                                                            1. Applied rewrites40.6%

                                                              \[\leadsto j \cdot \left(a \cdot \color{blue}{c}\right) \]
                                                          8. Recombined 3 regimes into one program.
                                                          9. Final simplification33.5%

                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -9 \cdot 10^{-129}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\ \;\;\;\;y \cdot \left(x \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c\right)\\ \end{array} \]
                                                          10. Add Preprocessing

                                                          Alternative 21: 28.7% accurate, 2.6× speedup?

                                                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -1.12 \cdot 10^{-128}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c\right)\\ \end{array} \end{array} \]
                                                          (FPCore (x y z t a b c i j)
                                                           :precision binary64
                                                           (if (<= j -1.12e-128)
                                                             (* a (* c j))
                                                             (if (<= j 6e+41) (* x (* y z)) (* j (* a c)))))
                                                          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                          	double tmp;
                                                          	if (j <= -1.12e-128) {
                                                          		tmp = a * (c * j);
                                                          	} else if (j <= 6e+41) {
                                                          		tmp = x * (y * z);
                                                          	} else {
                                                          		tmp = j * (a * c);
                                                          	}
                                                          	return tmp;
                                                          }
                                                          
                                                          real(8) function code(x, y, z, t, a, b, c, i, j)
                                                              real(8), intent (in) :: x
                                                              real(8), intent (in) :: y
                                                              real(8), intent (in) :: z
                                                              real(8), intent (in) :: t
                                                              real(8), intent (in) :: a
                                                              real(8), intent (in) :: b
                                                              real(8), intent (in) :: c
                                                              real(8), intent (in) :: i
                                                              real(8), intent (in) :: j
                                                              real(8) :: tmp
                                                              if (j <= (-1.12d-128)) then
                                                                  tmp = a * (c * j)
                                                              else if (j <= 6d+41) then
                                                                  tmp = x * (y * z)
                                                              else
                                                                  tmp = j * (a * c)
                                                              end if
                                                              code = tmp
                                                          end function
                                                          
                                                          public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                          	double tmp;
                                                          	if (j <= -1.12e-128) {
                                                          		tmp = a * (c * j);
                                                          	} else if (j <= 6e+41) {
                                                          		tmp = x * (y * z);
                                                          	} else {
                                                          		tmp = j * (a * c);
                                                          	}
                                                          	return tmp;
                                                          }
                                                          
                                                          def code(x, y, z, t, a, b, c, i, j):
                                                          	tmp = 0
                                                          	if j <= -1.12e-128:
                                                          		tmp = a * (c * j)
                                                          	elif j <= 6e+41:
                                                          		tmp = x * (y * z)
                                                          	else:
                                                          		tmp = j * (a * c)
                                                          	return tmp
                                                          
                                                          function code(x, y, z, t, a, b, c, i, j)
                                                          	tmp = 0.0
                                                          	if (j <= -1.12e-128)
                                                          		tmp = Float64(a * Float64(c * j));
                                                          	elseif (j <= 6e+41)
                                                          		tmp = Float64(x * Float64(y * z));
                                                          	else
                                                          		tmp = Float64(j * Float64(a * c));
                                                          	end
                                                          	return tmp
                                                          end
                                                          
                                                          function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                          	tmp = 0.0;
                                                          	if (j <= -1.12e-128)
                                                          		tmp = a * (c * j);
                                                          	elseif (j <= 6e+41)
                                                          		tmp = x * (y * z);
                                                          	else
                                                          		tmp = j * (a * c);
                                                          	end
                                                          	tmp_2 = tmp;
                                                          end
                                                          
                                                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -1.12e-128], N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 6e+41], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], N[(j * N[(a * c), $MachinePrecision]), $MachinePrecision]]]
                                                          
                                                          \begin{array}{l}
                                                          
                                                          \\
                                                          \begin{array}{l}
                                                          \mathbf{if}\;j \leq -1.12 \cdot 10^{-128}:\\
                                                          \;\;\;\;a \cdot \left(c \cdot j\right)\\
                                                          
                                                          \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\
                                                          \;\;\;\;x \cdot \left(y \cdot z\right)\\
                                                          
                                                          \mathbf{else}:\\
                                                          \;\;\;\;j \cdot \left(a \cdot c\right)\\
                                                          
                                                          
                                                          \end{array}
                                                          \end{array}
                                                          
                                                          Derivation
                                                          1. Split input into 3 regimes
                                                          2. if j < -1.12e-128

                                                            1. Initial program 68.4%

                                                              \[\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) \]
                                                            2. Add Preprocessing
                                                            3. Taylor expanded in a around inf

                                                              \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                            4. Step-by-step derivation
                                                              1. lower-*.f64N/A

                                                                \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                              2. +-commutativeN/A

                                                                \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
                                                              3. *-commutativeN/A

                                                                \[\leadsto a \cdot \left(\color{blue}{j \cdot c} + -1 \cdot \left(t \cdot x\right)\right) \]
                                                              4. lower-fma.f64N/A

                                                                \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(j, c, -1 \cdot \left(t \cdot x\right)\right)} \]
                                                              5. mul-1-negN/A

                                                                \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{\mathsf{neg}\left(t \cdot x\right)}\right) \]
                                                              6. distribute-rgt-neg-inN/A

                                                                \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                              7. mul-1-negN/A

                                                                \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-1 \cdot x\right)}\right) \]
                                                              8. lower-*.f64N/A

                                                                \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-1 \cdot x\right)}\right) \]
                                                              9. mul-1-negN/A

                                                                \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                              10. lower-neg.f6445.9

                                                                \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-x\right)}\right) \]
                                                            5. Applied rewrites45.9%

                                                              \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right)} \]
                                                            6. Taylor expanded in j around inf

                                                              \[\leadsto a \cdot \left(c \cdot \color{blue}{j}\right) \]
                                                            7. Step-by-step derivation
                                                              1. Applied rewrites29.6%

                                                                \[\leadsto a \cdot \left(j \cdot \color{blue}{c}\right) \]

                                                              if -1.12e-128 < j < 5.9999999999999997e41

                                                              1. Initial program 74.9%

                                                                \[\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) \]
                                                              2. Add Preprocessing
                                                              3. Taylor expanded in z around inf

                                                                \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                              4. Step-by-step derivation
                                                                1. lower-*.f64N/A

                                                                  \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                                2. sub-negN/A

                                                                  \[\leadsto z \cdot \color{blue}{\left(x \cdot y + \left(\mathsf{neg}\left(b \cdot c\right)\right)\right)} \]
                                                                3. mul-1-negN/A

                                                                  \[\leadsto z \cdot \left(x \cdot y + \color{blue}{-1 \cdot \left(b \cdot c\right)}\right) \]
                                                                4. +-commutativeN/A

                                                                  \[\leadsto z \cdot \color{blue}{\left(-1 \cdot \left(b \cdot c\right) + x \cdot y\right)} \]
                                                                5. associate-*r*N/A

                                                                  \[\leadsto z \cdot \left(\color{blue}{\left(-1 \cdot b\right) \cdot c} + x \cdot y\right) \]
                                                                6. *-commutativeN/A

                                                                  \[\leadsto z \cdot \left(\color{blue}{c \cdot \left(-1 \cdot b\right)} + x \cdot y\right) \]
                                                                7. lower-fma.f64N/A

                                                                  \[\leadsto z \cdot \color{blue}{\mathsf{fma}\left(c, -1 \cdot b, x \cdot y\right)} \]
                                                                8. neg-mul-1N/A

                                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                                                9. lower-neg.f64N/A

                                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                                                10. *-commutativeN/A

                                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(b\right), \color{blue}{y \cdot x}\right) \]
                                                                11. lower-*.f6453.5

                                                                  \[\leadsto z \cdot \mathsf{fma}\left(c, -b, \color{blue}{y \cdot x}\right) \]
                                                              5. Applied rewrites53.5%

                                                                \[\leadsto \color{blue}{z \cdot \mathsf{fma}\left(c, -b, y \cdot x\right)} \]
                                                              6. Taylor expanded in c around 0

                                                                \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]
                                                              7. Step-by-step derivation
                                                                1. Applied rewrites29.6%

                                                                  \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]

                                                                if 5.9999999999999997e41 < j

                                                                1. Initial program 84.9%

                                                                  \[\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) \]
                                                                2. Add Preprocessing
                                                                3. Taylor expanded in j around inf

                                                                  \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                                4. Step-by-step derivation
                                                                  1. lower-*.f64N/A

                                                                    \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                                  2. lower--.f64N/A

                                                                    \[\leadsto j \cdot \color{blue}{\left(a \cdot c - i \cdot y\right)} \]
                                                                  3. lower-*.f64N/A

                                                                    \[\leadsto j \cdot \left(\color{blue}{a \cdot c} - i \cdot y\right) \]
                                                                  4. lower-*.f6473.3

                                                                    \[\leadsto j \cdot \left(a \cdot c - \color{blue}{i \cdot y}\right) \]
                                                                5. Applied rewrites73.3%

                                                                  \[\leadsto \color{blue}{j \cdot \left(a \cdot c - i \cdot y\right)} \]
                                                                6. Taylor expanded in a around inf

                                                                  \[\leadsto j \cdot \left(a \cdot \color{blue}{c}\right) \]
                                                                7. Step-by-step derivation
                                                                  1. Applied rewrites40.6%

                                                                    \[\leadsto j \cdot \left(a \cdot \color{blue}{c}\right) \]
                                                                8. Recombined 3 regimes into one program.
                                                                9. Final simplification32.4%

                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1.12 \cdot 10^{-128}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(a \cdot c\right)\\ \end{array} \]
                                                                10. Add Preprocessing

                                                                Alternative 22: 28.8% accurate, 2.6× speedup?

                                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(c \cdot j\right)\\ \mathbf{if}\;j \leq -1.12 \cdot 10^{-128}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                (FPCore (x y z t a b c i j)
                                                                 :precision binary64
                                                                 (let* ((t_1 (* a (* c j))))
                                                                   (if (<= j -1.12e-128) t_1 (if (<= j 6e+41) (* x (* y z)) t_1))))
                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                	double t_1 = a * (c * j);
                                                                	double tmp;
                                                                	if (j <= -1.12e-128) {
                                                                		tmp = t_1;
                                                                	} else if (j <= 6e+41) {
                                                                		tmp = x * (y * z);
                                                                	} else {
                                                                		tmp = t_1;
                                                                	}
                                                                	return tmp;
                                                                }
                                                                
                                                                real(8) function code(x, y, z, t, a, b, c, i, j)
                                                                    real(8), intent (in) :: x
                                                                    real(8), intent (in) :: y
                                                                    real(8), intent (in) :: z
                                                                    real(8), intent (in) :: t
                                                                    real(8), intent (in) :: a
                                                                    real(8), intent (in) :: b
                                                                    real(8), intent (in) :: c
                                                                    real(8), intent (in) :: i
                                                                    real(8), intent (in) :: j
                                                                    real(8) :: t_1
                                                                    real(8) :: tmp
                                                                    t_1 = a * (c * j)
                                                                    if (j <= (-1.12d-128)) then
                                                                        tmp = t_1
                                                                    else if (j <= 6d+41) then
                                                                        tmp = x * (y * z)
                                                                    else
                                                                        tmp = t_1
                                                                    end if
                                                                    code = tmp
                                                                end function
                                                                
                                                                public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                	double t_1 = a * (c * j);
                                                                	double tmp;
                                                                	if (j <= -1.12e-128) {
                                                                		tmp = t_1;
                                                                	} else if (j <= 6e+41) {
                                                                		tmp = x * (y * z);
                                                                	} else {
                                                                		tmp = t_1;
                                                                	}
                                                                	return tmp;
                                                                }
                                                                
                                                                def code(x, y, z, t, a, b, c, i, j):
                                                                	t_1 = a * (c * j)
                                                                	tmp = 0
                                                                	if j <= -1.12e-128:
                                                                		tmp = t_1
                                                                	elif j <= 6e+41:
                                                                		tmp = x * (y * z)
                                                                	else:
                                                                		tmp = t_1
                                                                	return tmp
                                                                
                                                                function code(x, y, z, t, a, b, c, i, j)
                                                                	t_1 = Float64(a * Float64(c * j))
                                                                	tmp = 0.0
                                                                	if (j <= -1.12e-128)
                                                                		tmp = t_1;
                                                                	elseif (j <= 6e+41)
                                                                		tmp = Float64(x * Float64(y * z));
                                                                	else
                                                                		tmp = t_1;
                                                                	end
                                                                	return tmp
                                                                end
                                                                
                                                                function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                                	t_1 = a * (c * j);
                                                                	tmp = 0.0;
                                                                	if (j <= -1.12e-128)
                                                                		tmp = t_1;
                                                                	elseif (j <= 6e+41)
                                                                		tmp = x * (y * z);
                                                                	else
                                                                		tmp = t_1;
                                                                	end
                                                                	tmp_2 = tmp;
                                                                end
                                                                
                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(c * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[j, -1.12e-128], t$95$1, If[LessEqual[j, 6e+41], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], t$95$1]]]
                                                                
                                                                \begin{array}{l}
                                                                
                                                                \\
                                                                \begin{array}{l}
                                                                t_1 := a \cdot \left(c \cdot j\right)\\
                                                                \mathbf{if}\;j \leq -1.12 \cdot 10^{-128}:\\
                                                                \;\;\;\;t\_1\\
                                                                
                                                                \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\
                                                                \;\;\;\;x \cdot \left(y \cdot z\right)\\
                                                                
                                                                \mathbf{else}:\\
                                                                \;\;\;\;t\_1\\
                                                                
                                                                
                                                                \end{array}
                                                                \end{array}
                                                                
                                                                Derivation
                                                                1. Split input into 2 regimes
                                                                2. if j < -1.12e-128 or 5.9999999999999997e41 < j

                                                                  1. Initial program 75.6%

                                                                    \[\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) \]
                                                                  2. Add Preprocessing
                                                                  3. Taylor expanded in a around inf

                                                                    \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                                  4. Step-by-step derivation
                                                                    1. lower-*.f64N/A

                                                                      \[\leadsto \color{blue}{a \cdot \left(-1 \cdot \left(t \cdot x\right) + c \cdot j\right)} \]
                                                                    2. +-commutativeN/A

                                                                      \[\leadsto a \cdot \color{blue}{\left(c \cdot j + -1 \cdot \left(t \cdot x\right)\right)} \]
                                                                    3. *-commutativeN/A

                                                                      \[\leadsto a \cdot \left(\color{blue}{j \cdot c} + -1 \cdot \left(t \cdot x\right)\right) \]
                                                                    4. lower-fma.f64N/A

                                                                      \[\leadsto a \cdot \color{blue}{\mathsf{fma}\left(j, c, -1 \cdot \left(t \cdot x\right)\right)} \]
                                                                    5. mul-1-negN/A

                                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{\mathsf{neg}\left(t \cdot x\right)}\right) \]
                                                                    6. distribute-rgt-neg-inN/A

                                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                                    7. mul-1-negN/A

                                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-1 \cdot x\right)}\right) \]
                                                                    8. lower-*.f64N/A

                                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, \color{blue}{t \cdot \left(-1 \cdot x\right)}\right) \]
                                                                    9. mul-1-negN/A

                                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(\mathsf{neg}\left(x\right)\right)}\right) \]
                                                                    10. lower-neg.f6448.2

                                                                      \[\leadsto a \cdot \mathsf{fma}\left(j, c, t \cdot \color{blue}{\left(-x\right)}\right) \]
                                                                  5. Applied rewrites48.2%

                                                                    \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(j, c, t \cdot \left(-x\right)\right)} \]
                                                                  6. Taylor expanded in j around inf

                                                                    \[\leadsto a \cdot \left(c \cdot \color{blue}{j}\right) \]
                                                                  7. Step-by-step derivation
                                                                    1. Applied rewrites33.8%

                                                                      \[\leadsto a \cdot \left(j \cdot \color{blue}{c}\right) \]

                                                                    if -1.12e-128 < j < 5.9999999999999997e41

                                                                    1. Initial program 74.9%

                                                                      \[\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) \]
                                                                    2. Add Preprocessing
                                                                    3. Taylor expanded in z around inf

                                                                      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                                    4. Step-by-step derivation
                                                                      1. lower-*.f64N/A

                                                                        \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                                      2. sub-negN/A

                                                                        \[\leadsto z \cdot \color{blue}{\left(x \cdot y + \left(\mathsf{neg}\left(b \cdot c\right)\right)\right)} \]
                                                                      3. mul-1-negN/A

                                                                        \[\leadsto z \cdot \left(x \cdot y + \color{blue}{-1 \cdot \left(b \cdot c\right)}\right) \]
                                                                      4. +-commutativeN/A

                                                                        \[\leadsto z \cdot \color{blue}{\left(-1 \cdot \left(b \cdot c\right) + x \cdot y\right)} \]
                                                                      5. associate-*r*N/A

                                                                        \[\leadsto z \cdot \left(\color{blue}{\left(-1 \cdot b\right) \cdot c} + x \cdot y\right) \]
                                                                      6. *-commutativeN/A

                                                                        \[\leadsto z \cdot \left(\color{blue}{c \cdot \left(-1 \cdot b\right)} + x \cdot y\right) \]
                                                                      7. lower-fma.f64N/A

                                                                        \[\leadsto z \cdot \color{blue}{\mathsf{fma}\left(c, -1 \cdot b, x \cdot y\right)} \]
                                                                      8. neg-mul-1N/A

                                                                        \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                                                      9. lower-neg.f64N/A

                                                                        \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                                                      10. *-commutativeN/A

                                                                        \[\leadsto z \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(b\right), \color{blue}{y \cdot x}\right) \]
                                                                      11. lower-*.f6453.5

                                                                        \[\leadsto z \cdot \mathsf{fma}\left(c, -b, \color{blue}{y \cdot x}\right) \]
                                                                    5. Applied rewrites53.5%

                                                                      \[\leadsto \color{blue}{z \cdot \mathsf{fma}\left(c, -b, y \cdot x\right)} \]
                                                                    6. Taylor expanded in c around 0

                                                                      \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]
                                                                    7. Step-by-step derivation
                                                                      1. Applied rewrites29.6%

                                                                        \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]
                                                                    8. Recombined 2 regimes into one program.
                                                                    9. Final simplification32.1%

                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1.12 \cdot 10^{-128}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 6 \cdot 10^{+41}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(c \cdot j\right)\\ \end{array} \]
                                                                    10. Add Preprocessing

                                                                    Alternative 23: 22.7% accurate, 5.5× speedup?

                                                                    \[\begin{array}{l} \\ x \cdot \left(y \cdot z\right) \end{array} \]
                                                                    (FPCore (x y z t a b c i j) :precision binary64 (* x (* y z)))
                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                    	return x * (y * z);
                                                                    }
                                                                    
                                                                    real(8) function code(x, y, z, t, a, b, c, i, j)
                                                                        real(8), intent (in) :: x
                                                                        real(8), intent (in) :: y
                                                                        real(8), intent (in) :: z
                                                                        real(8), intent (in) :: t
                                                                        real(8), intent (in) :: a
                                                                        real(8), intent (in) :: b
                                                                        real(8), intent (in) :: c
                                                                        real(8), intent (in) :: i
                                                                        real(8), intent (in) :: j
                                                                        code = x * (y * z)
                                                                    end function
                                                                    
                                                                    public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                    	return x * (y * z);
                                                                    }
                                                                    
                                                                    def code(x, y, z, t, a, b, c, i, j):
                                                                    	return x * (y * z)
                                                                    
                                                                    function code(x, y, z, t, a, b, c, i, j)
                                                                    	return Float64(x * Float64(y * z))
                                                                    end
                                                                    
                                                                    function tmp = code(x, y, z, t, a, b, c, i, j)
                                                                    	tmp = x * (y * z);
                                                                    end
                                                                    
                                                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision]
                                                                    
                                                                    \begin{array}{l}
                                                                    
                                                                    \\
                                                                    x \cdot \left(y \cdot z\right)
                                                                    \end{array}
                                                                    
                                                                    Derivation
                                                                    1. Initial program 75.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) \]
                                                                    2. Add Preprocessing
                                                                    3. Taylor expanded in z around inf

                                                                      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                                    4. Step-by-step derivation
                                                                      1. lower-*.f64N/A

                                                                        \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                                      2. sub-negN/A

                                                                        \[\leadsto z \cdot \color{blue}{\left(x \cdot y + \left(\mathsf{neg}\left(b \cdot c\right)\right)\right)} \]
                                                                      3. mul-1-negN/A

                                                                        \[\leadsto z \cdot \left(x \cdot y + \color{blue}{-1 \cdot \left(b \cdot c\right)}\right) \]
                                                                      4. +-commutativeN/A

                                                                        \[\leadsto z \cdot \color{blue}{\left(-1 \cdot \left(b \cdot c\right) + x \cdot y\right)} \]
                                                                      5. associate-*r*N/A

                                                                        \[\leadsto z \cdot \left(\color{blue}{\left(-1 \cdot b\right) \cdot c} + x \cdot y\right) \]
                                                                      6. *-commutativeN/A

                                                                        \[\leadsto z \cdot \left(\color{blue}{c \cdot \left(-1 \cdot b\right)} + x \cdot y\right) \]
                                                                      7. lower-fma.f64N/A

                                                                        \[\leadsto z \cdot \color{blue}{\mathsf{fma}\left(c, -1 \cdot b, x \cdot y\right)} \]
                                                                      8. neg-mul-1N/A

                                                                        \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                                                      9. lower-neg.f64N/A

                                                                        \[\leadsto z \cdot \mathsf{fma}\left(c, \color{blue}{\mathsf{neg}\left(b\right)}, x \cdot y\right) \]
                                                                      10. *-commutativeN/A

                                                                        \[\leadsto z \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(b\right), \color{blue}{y \cdot x}\right) \]
                                                                      11. lower-*.f6435.8

                                                                        \[\leadsto z \cdot \mathsf{fma}\left(c, -b, \color{blue}{y \cdot x}\right) \]
                                                                    5. Applied rewrites35.8%

                                                                      \[\leadsto \color{blue}{z \cdot \mathsf{fma}\left(c, -b, y \cdot x\right)} \]
                                                                    6. Taylor expanded in c around 0

                                                                      \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]
                                                                    7. Step-by-step derivation
                                                                      1. Applied rewrites18.7%

                                                                        \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]
                                                                      2. Add Preprocessing

                                                                      Developer Target 1: 59.1% accurate, 0.2× speedup?

                                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(c \cdot a - y \cdot i\right)\\ t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - \frac{b \cdot \left({\left(c \cdot z\right)}^{2} - {\left(t \cdot i\right)}^{2}\right)}{c \cdot z + t \cdot i}\right) + t\_1\\ \mathbf{if}\;x < -1.469694296777705 \cdot 10^{-64}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;x < 3.2113527362226803 \cdot 10^{-147}:\\ \;\;\;\;\left(b \cdot i - x \cdot a\right) \cdot t - \left(z \cdot \left(c \cdot b\right) - t\_1\right)\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
                                                                      (FPCore (x y z t a b c i j)
                                                                       :precision binary64
                                                                       (let* ((t_1 (* j (- (* c a) (* y i))))
                                                                              (t_2
                                                                               (+
                                                                                (-
                                                                                 (* x (- (* y z) (* t a)))
                                                                                 (/
                                                                                  (* b (- (pow (* c z) 2.0) (pow (* t i) 2.0)))
                                                                                  (+ (* c z) (* t i))))
                                                                                t_1)))
                                                                         (if (< x -1.469694296777705e-64)
                                                                           t_2
                                                                           (if (< x 3.2113527362226803e-147)
                                                                             (- (* (- (* b i) (* x a)) t) (- (* z (* c b)) t_1))
                                                                             t_2))))
                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                      	double t_1 = j * ((c * a) - (y * i));
                                                                      	double t_2 = ((x * ((y * z) - (t * a))) - ((b * (pow((c * z), 2.0) - pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1;
                                                                      	double tmp;
                                                                      	if (x < -1.469694296777705e-64) {
                                                                      		tmp = t_2;
                                                                      	} else if (x < 3.2113527362226803e-147) {
                                                                      		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
                                                                      	} else {
                                                                      		tmp = t_2;
                                                                      	}
                                                                      	return tmp;
                                                                      }
                                                                      
                                                                      real(8) function code(x, y, z, t, a, b, c, i, j)
                                                                          real(8), intent (in) :: x
                                                                          real(8), intent (in) :: y
                                                                          real(8), intent (in) :: z
                                                                          real(8), intent (in) :: t
                                                                          real(8), intent (in) :: a
                                                                          real(8), intent (in) :: b
                                                                          real(8), intent (in) :: c
                                                                          real(8), intent (in) :: i
                                                                          real(8), intent (in) :: j
                                                                          real(8) :: t_1
                                                                          real(8) :: t_2
                                                                          real(8) :: tmp
                                                                          t_1 = j * ((c * a) - (y * i))
                                                                          t_2 = ((x * ((y * z) - (t * a))) - ((b * (((c * z) ** 2.0d0) - ((t * i) ** 2.0d0))) / ((c * z) + (t * i)))) + t_1
                                                                          if (x < (-1.469694296777705d-64)) then
                                                                              tmp = t_2
                                                                          else if (x < 3.2113527362226803d-147) then
                                                                              tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1)
                                                                          else
                                                                              tmp = t_2
                                                                          end if
                                                                          code = tmp
                                                                      end function
                                                                      
                                                                      public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                      	double t_1 = j * ((c * a) - (y * i));
                                                                      	double t_2 = ((x * ((y * z) - (t * a))) - ((b * (Math.pow((c * z), 2.0) - Math.pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1;
                                                                      	double tmp;
                                                                      	if (x < -1.469694296777705e-64) {
                                                                      		tmp = t_2;
                                                                      	} else if (x < 3.2113527362226803e-147) {
                                                                      		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
                                                                      	} else {
                                                                      		tmp = t_2;
                                                                      	}
                                                                      	return tmp;
                                                                      }
                                                                      
                                                                      def code(x, y, z, t, a, b, c, i, j):
                                                                      	t_1 = j * ((c * a) - (y * i))
                                                                      	t_2 = ((x * ((y * z) - (t * a))) - ((b * (math.pow((c * z), 2.0) - math.pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1
                                                                      	tmp = 0
                                                                      	if x < -1.469694296777705e-64:
                                                                      		tmp = t_2
                                                                      	elif x < 3.2113527362226803e-147:
                                                                      		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1)
                                                                      	else:
                                                                      		tmp = t_2
                                                                      	return tmp
                                                                      
                                                                      function code(x, y, z, t, a, b, c, i, j)
                                                                      	t_1 = Float64(j * Float64(Float64(c * a) - Float64(y * i)))
                                                                      	t_2 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(Float64(b * Float64((Float64(c * z) ^ 2.0) - (Float64(t * i) ^ 2.0))) / Float64(Float64(c * z) + Float64(t * i)))) + t_1)
                                                                      	tmp = 0.0
                                                                      	if (x < -1.469694296777705e-64)
                                                                      		tmp = t_2;
                                                                      	elseif (x < 3.2113527362226803e-147)
                                                                      		tmp = Float64(Float64(Float64(Float64(b * i) - Float64(x * a)) * t) - Float64(Float64(z * Float64(c * b)) - t_1));
                                                                      	else
                                                                      		tmp = t_2;
                                                                      	end
                                                                      	return tmp
                                                                      end
                                                                      
                                                                      function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                                      	t_1 = j * ((c * a) - (y * i));
                                                                      	t_2 = ((x * ((y * z) - (t * a))) - ((b * (((c * z) ^ 2.0) - ((t * i) ^ 2.0))) / ((c * z) + (t * i)))) + t_1;
                                                                      	tmp = 0.0;
                                                                      	if (x < -1.469694296777705e-64)
                                                                      		tmp = t_2;
                                                                      	elseif (x < 3.2113527362226803e-147)
                                                                      		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
                                                                      	else
                                                                      		tmp = t_2;
                                                                      	end
                                                                      	tmp_2 = tmp;
                                                                      end
                                                                      
                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(b * N[(N[Power[N[(c * z), $MachinePrecision], 2.0], $MachinePrecision] - N[Power[N[(t * i), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(c * z), $MachinePrecision] + N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]}, If[Less[x, -1.469694296777705e-64], t$95$2, If[Less[x, 3.2113527362226803e-147], N[(N[(N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] - N[(N[(z * N[(c * b), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision]), $MachinePrecision], t$95$2]]]]
                                                                      
                                                                      \begin{array}{l}
                                                                      
                                                                      \\
                                                                      \begin{array}{l}
                                                                      t_1 := j \cdot \left(c \cdot a - y \cdot i\right)\\
                                                                      t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - \frac{b \cdot \left({\left(c \cdot z\right)}^{2} - {\left(t \cdot i\right)}^{2}\right)}{c \cdot z + t \cdot i}\right) + t\_1\\
                                                                      \mathbf{if}\;x < -1.469694296777705 \cdot 10^{-64}:\\
                                                                      \;\;\;\;t\_2\\
                                                                      
                                                                      \mathbf{elif}\;x < 3.2113527362226803 \cdot 10^{-147}:\\
                                                                      \;\;\;\;\left(b \cdot i - x \cdot a\right) \cdot t - \left(z \cdot \left(c \cdot b\right) - t\_1\right)\\
                                                                      
                                                                      \mathbf{else}:\\
                                                                      \;\;\;\;t\_2\\
                                                                      
                                                                      
                                                                      \end{array}
                                                                      \end{array}
                                                                      

                                                                      Reproduce

                                                                      ?
                                                                      herbie shell --seed 2024238 
                                                                      (FPCore (x y z t a b c i j)
                                                                        :name "Data.Colour.Matrix:determinant from colour-2.3.3, A"
                                                                        :precision binary64
                                                                      
                                                                        :alt
                                                                        (! :herbie-platform default (if (< x -293938859355541/2000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2) (pow (* t i) 2))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))) (if (< x 32113527362226803/10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- (* (- (* b i) (* x a)) t) (- (* z (* c b)) (* j (- (* c a) (* y i))))) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2) (pow (* t i) 2))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))))))
                                                                      
                                                                        (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))