Linear.Matrix:det33 from linear-1.19.1.3

Percentage Accurate: 73.0% → 83.5%
Time: 18.2s
Alternatives: 22
Speedup: 0.9×

Specification

?
\[\begin{array}{l} \\ \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (+
  (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
  (* j (- (* c t) (* i y)))))
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) - (i * a)))) + (j * ((c * t) - (i * y)));
}
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) - (i * a)))) + (j * ((c * t) - (i * y)))
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) - (i * a)))) + (j * ((c * t) - (i * y)));
}
def code(x, y, z, t, a, b, c, i, j):
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
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(i * a)))) + Float64(j * Float64(Float64(c * t) - Float64(i * y))))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
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[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)
\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 22 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.0% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (+
  (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
  (* j (- (* c t) (* i y)))))
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) - (i * a)))) + (j * ((c * t) - (i * y)));
}
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) - (i * a)))) + (j * ((c * t) - (i * y)))
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) - (i * a)))) + (j * ((c * t) - (i * y)));
}
def code(x, y, z, t, a, b, c, i, j):
	return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
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(i * a)))) + Float64(j * Float64(Float64(c * t) - Float64(i * y))))
end
function tmp = code(x, y, z, t, a, b, c, i, j)
	tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
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[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)
\end{array}

Alternative 1: 83.5% 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(a \cdot i - z \cdot c\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\ \mathbf{if}\;t\_1 \leq \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(t, \mathsf{fma}\left(j, c, x \cdot \left(-a\right)\right), y \cdot \left(x \cdot z - i \cdot j\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 (- (* a i) (* z c))))
          (* j (- (* t c) (* y i))))))
   (if (<= t_1 INFINITY)
     t_1
     (fma t (fma j c (* x (- a))) (* y (- (* x z) (* 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 = ((x * ((y * z) - (t * a))) + (b * ((a * i) - (z * c)))) + (j * ((t * c) - (y * i)));
	double tmp;
	if (t_1 <= ((double) INFINITY)) {
		tmp = t_1;
	} else {
		tmp = fma(t, fma(j, c, (x * -a)), (y * ((x * z) - (i * j))));
	}
	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(a * i) - Float64(z * c)))) + Float64(j * Float64(Float64(t * c) - Float64(y * i))))
	tmp = 0.0
	if (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = fma(t, fma(j, c, Float64(x * Float64(-a))), Float64(y * Float64(Float64(x * z) - Float64(i * j))));
	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[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(t * c), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(t * N[(j * c + N[(x * (-a)), $MachinePrecision]), $MachinePrecision] + N[(y * N[(N[(x * z), $MachinePrecision] - N[(i * j), $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(a \cdot i - z \cdot c\right)\right) + j \cdot \left(t \cdot c - y \cdot i\right)\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(t, \mathsf{fma}\left(j, c, x \cdot \left(-a\right)\right), y \cdot \left(x \cdot z - i \cdot j\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 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < +inf.0

    1. Initial program 89.8%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    2. Add Preprocessing

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

    1. Initial program 0.0%

      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
    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(c \cdot \left(j \cdot t\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
    4. Applied rewrites35.0%

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

      \[\leadsto \mathsf{fma}\left(t, \mathsf{fma}\left(j, c, \color{blue}{a \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 rewrites65.3%

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

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

    Alternative 2: 78.7% accurate, 0.9× speedup?

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

      1. Initial program 63.1%

        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. Add Preprocessing
      3. Taylor expanded in j around inf

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

          \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
        2. sub-negN/A

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

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

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

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

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

          \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
        8. lower-neg.f6485.3

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

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

      if -3.20000000000000011e140 < j < 7.80000000000000079e162

      1. Initial program 75.0%

        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      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(c \cdot \left(j \cdot t\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
      4. Applied rewrites82.3%

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

      if 7.80000000000000079e162 < j

      1. Initial program 85.7%

        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. Add Preprocessing
      3. Taylor expanded in x around 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          \[\leadsto \mathsf{fma}\left(j, \mathsf{fma}\left(c, t, i \cdot \left(\mathsf{neg}\left(y\right)\right)\right), b \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(z\right), \color{blue}{i \cdot a}\right)\right) \]
        23. lower-*.f6488.5

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

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

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

    Alternative 3: 71.2% accurate, 0.9× speedup?

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

      1. Initial program 70.1%

        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. Add Preprocessing
      3. Taylor expanded in x around 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          \[\leadsto \mathsf{fma}\left(j, \mathsf{fma}\left(c, t, i \cdot \left(\mathsf{neg}\left(y\right)\right)\right), b \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(z\right), \color{blue}{i \cdot a}\right)\right) \]
        23. lower-*.f6481.7

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

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

      if -2.65e-7 < i < 1.65e50

      1. Initial program 82.0%

        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      2. Add Preprocessing
      3. Taylor expanded in c around inf

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

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

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

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

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

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

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

      if 1.65e50 < i

      1. Initial program 62.4%

        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
      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(c \cdot \left(j \cdot t\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
      4. Applied rewrites57.3%

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

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

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

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

      Alternative 4: 66.8% accurate, 1.1× speedup?

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

        1. Initial program 72.3%

          \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
        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(c \cdot \left(j \cdot t\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
        4. Applied rewrites79.8%

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

          \[\leadsto \mathsf{fma}\left(t, \mathsf{fma}\left(j, c, \color{blue}{a \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 rewrites77.3%

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

          if -1.0799999999999999e-157 < y < 7.19999999999999989e-122

          1. Initial program 81.9%

            \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
          2. Add Preprocessing
          3. Taylor expanded in x around 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

              \[\leadsto \mathsf{fma}\left(j, \mathsf{fma}\left(c, t, i \cdot \left(\mathsf{neg}\left(y\right)\right)\right), b \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(z\right), \color{blue}{i \cdot a}\right)\right) \]
            23. lower-*.f6477.1

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

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

          if 7.19999999999999989e-122 < y < 3.3e20

          1. Initial program 72.3%

            \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
          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(c \cdot \left(j \cdot t\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
          4. Applied rewrites74.8%

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

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

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

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

          Alternative 5: 67.7% accurate, 1.2× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(t, \mathsf{fma}\left(j, c, x \cdot \left(-a\right)\right), i \cdot \mathsf{fma}\left(j, -y, a \cdot b\right)\right)\\ \mathbf{if}\;t \leq -3.8 \cdot 10^{-33}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 800000:\\ \;\;\;\;\mathsf{fma}\left(j, \mathsf{fma}\left(c, t, y \cdot \left(-i\right)\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot 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 (fma t (fma j c (* x (- a))) (* i (fma j (- y) (* a b))))))
             (if (<= t -3.8e-33)
               t_1
               (if (<= t 800000.0)
                 (fma j (fma c t (* y (- i))) (* b (fma c (- z) (* a 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 = fma(t, fma(j, c, (x * -a)), (i * fma(j, -y, (a * b))));
          	double tmp;
          	if (t <= -3.8e-33) {
          		tmp = t_1;
          	} else if (t <= 800000.0) {
          		tmp = fma(j, fma(c, t, (y * -i)), (b * fma(c, -z, (a * i))));
          	} else {
          		tmp = t_1;
          	}
          	return tmp;
          }
          
          function code(x, y, z, t, a, b, c, i, j)
          	t_1 = fma(t, fma(j, c, Float64(x * Float64(-a))), Float64(i * fma(j, Float64(-y), Float64(a * b))))
          	tmp = 0.0
          	if (t <= -3.8e-33)
          		tmp = t_1;
          	elseif (t <= 800000.0)
          		tmp = fma(j, fma(c, t, Float64(y * Float64(-i))), Float64(b * fma(c, Float64(-z), Float64(a * 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[(j * c + N[(x * (-a)), $MachinePrecision]), $MachinePrecision] + N[(i * N[(j * (-y) + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -3.8e-33], t$95$1, If[LessEqual[t, 800000.0], N[(j * N[(c * t + N[(y * (-i)), $MachinePrecision]), $MachinePrecision] + N[(b * N[(c * (-z) + N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := \mathsf{fma}\left(t, \mathsf{fma}\left(j, c, x \cdot \left(-a\right)\right), i \cdot \mathsf{fma}\left(j, -y, a \cdot b\right)\right)\\
          \mathbf{if}\;t \leq -3.8 \cdot 10^{-33}:\\
          \;\;\;\;t\_1\\
          
          \mathbf{elif}\;t \leq 800000:\\
          \;\;\;\;\mathsf{fma}\left(j, \mathsf{fma}\left(c, t, y \cdot \left(-i\right)\right), b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\right)\\
          
          \mathbf{else}:\\
          \;\;\;\;t\_1\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 2 regimes
          2. if t < -3.79999999999999994e-33 or 8e5 < t

            1. Initial program 68.1%

              \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
            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(c \cdot \left(j \cdot t\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
            4. Applied rewrites75.3%

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

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

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

              if -3.79999999999999994e-33 < t < 8e5

              1. Initial program 81.9%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              2. Add Preprocessing
              3. Taylor expanded in x around 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                  \[\leadsto \mathsf{fma}\left(j, \mathsf{fma}\left(c, t, i \cdot \left(\mathsf{neg}\left(y\right)\right)\right), b \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(z\right), \color{blue}{i \cdot a}\right)\right) \]
                23. lower-*.f6466.4

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

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

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

            Alternative 6: 66.0% accurate, 1.2× speedup?

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

              1. Initial program 85.5%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              2. Add Preprocessing
              3. Taylor expanded in x around inf

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

                  \[\leadsto \color{blue}{x \cdot \left(y \cdot z - a \cdot t\right)} \]
                2. lower--.f64N/A

                  \[\leadsto x \cdot \color{blue}{\left(y \cdot z - a \cdot t\right)} \]
                3. lower-*.f64N/A

                  \[\leadsto x \cdot \left(\color{blue}{y \cdot z} - a \cdot t\right) \]
                4. *-commutativeN/A

                  \[\leadsto x \cdot \left(y \cdot z - \color{blue}{t \cdot a}\right) \]
                5. lower-*.f6493.0

                  \[\leadsto x \cdot \left(y \cdot z - \color{blue}{t \cdot a}\right) \]
              5. Applied rewrites93.0%

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

              if -2.1000000000000001e252 < x < 3.1000000000000001e209

              1. Initial program 74.7%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              2. Add Preprocessing
              3. Taylor expanded in x around 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                  \[\leadsto \mathsf{fma}\left(j, \mathsf{fma}\left(c, t, i \cdot \left(\mathsf{neg}\left(y\right)\right)\right), b \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(z\right), \color{blue}{i \cdot a}\right)\right) \]
                23. lower-*.f6468.5

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

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

              if 3.1000000000000001e209 < x

              1. Initial program 68.0%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              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(c \cdot \left(j \cdot t\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
              4. Applied rewrites45.9%

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

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

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

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

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

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

                  \[\leadsto x \cdot \left(\color{blue}{\left(\mathsf{neg}\left(a \cdot t\right)\right)} + y \cdot z\right) \]
                6. *-commutativeN/A

                  \[\leadsto x \cdot \left(\left(\mathsf{neg}\left(\color{blue}{t \cdot a}\right)\right) + y \cdot z\right) \]
                7. distribute-rgt-neg-inN/A

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

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

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

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

                  \[\leadsto x \cdot \mathsf{fma}\left(t, \color{blue}{\mathsf{neg}\left(a\right)}, y \cdot z\right) \]
                12. lower-*.f6486.6

                  \[\leadsto x \cdot \mathsf{fma}\left(t, -a, \color{blue}{y \cdot z}\right) \]
              7. Applied rewrites86.6%

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

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

            Alternative 7: 52.3% accurate, 1.4× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} t_1 := t \cdot \mathsf{fma}\left(j, c, x \cdot \left(-a\right)\right)\\ \mathbf{if}\;t \leq -900:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -1.65 \cdot 10^{-208}:\\ \;\;\;\;b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\\ \mathbf{elif}\;t \leq 1.65 \cdot 10^{-108}:\\ \;\;\;\;y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\ \mathbf{elif}\;t \leq 1.5 \cdot 10^{+59}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, a \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 (* t (fma j c (* x (- a))))))
               (if (<= t -900.0)
                 t_1
                 (if (<= t -1.65e-208)
                   (* b (fma c (- z) (* a i)))
                   (if (<= t 1.65e-108)
                     (* y (fma j (- i) (* x z)))
                     (if (<= t 1.5e+59) (* i (fma j (- y) (* a 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 = t * fma(j, c, (x * -a));
            	double tmp;
            	if (t <= -900.0) {
            		tmp = t_1;
            	} else if (t <= -1.65e-208) {
            		tmp = b * fma(c, -z, (a * i));
            	} else if (t <= 1.65e-108) {
            		tmp = y * fma(j, -i, (x * z));
            	} else if (t <= 1.5e+59) {
            		tmp = i * fma(j, -y, (a * b));
            	} else {
            		tmp = t_1;
            	}
            	return tmp;
            }
            
            function code(x, y, z, t, a, b, c, i, j)
            	t_1 = Float64(t * fma(j, c, Float64(x * Float64(-a))))
            	tmp = 0.0
            	if (t <= -900.0)
            		tmp = t_1;
            	elseif (t <= -1.65e-208)
            		tmp = Float64(b * fma(c, Float64(-z), Float64(a * i)));
            	elseif (t <= 1.65e-108)
            		tmp = Float64(y * fma(j, Float64(-i), Float64(x * z)));
            	elseif (t <= 1.5e+59)
            		tmp = Float64(i * fma(j, Float64(-y), Float64(a * b)));
            	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[(j * c + N[(x * (-a)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -900.0], t$95$1, If[LessEqual[t, -1.65e-208], N[(b * N[(c * (-z) + N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.65e-108], N[(y * N[(j * (-i) + N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.5e+59], N[(i * N[(j * (-y) + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            t_1 := t \cdot \mathsf{fma}\left(j, c, x \cdot \left(-a\right)\right)\\
            \mathbf{if}\;t \leq -900:\\
            \;\;\;\;t\_1\\
            
            \mathbf{elif}\;t \leq -1.65 \cdot 10^{-208}:\\
            \;\;\;\;b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\\
            
            \mathbf{elif}\;t \leq 1.65 \cdot 10^{-108}:\\
            \;\;\;\;y \cdot \mathsf{fma}\left(j, -i, x \cdot z\right)\\
            
            \mathbf{elif}\;t \leq 1.5 \cdot 10^{+59}:\\
            \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, a \cdot b\right)\\
            
            \mathbf{else}:\\
            \;\;\;\;t\_1\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 4 regimes
            2. if t < -900 or 1.5e59 < t

              1. Initial program 66.1%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              2. Add Preprocessing
              3. Taylor expanded in t around inf

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

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

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

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

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

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

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

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

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

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

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

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

              if -900 < t < -1.65000000000000003e-208

              1. Initial program 80.1%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              2. Add Preprocessing
              3. Taylor expanded in b around inf

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

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

                  \[\leadsto b \cdot \color{blue}{\left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + a \cdot i\right)} \]
                3. 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(a \cdot i\right)\right)\right)\right)}\right) \]
                4. distribute-neg-inN/A

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

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

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

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

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

                  \[\leadsto b \cdot \left(\mathsf{neg}\left(\color{blue}{\left(c \cdot z + \left(\mathsf{neg}\left(a \cdot i\right)\right)\right)}\right)\right) \]
                10. 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(a \cdot i\right)\right)\right)\right)\right)} \]
                11. remove-double-negN/A

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

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

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

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

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

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

                  \[\leadsto b \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(z\right), \color{blue}{i \cdot a}\right) \]
                18. lower-*.f6455.7

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

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

              if -1.65000000000000003e-208 < t < 1.6500000000000001e-108

              1. Initial program 81.6%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              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.2

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

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

              if 1.6500000000000001e-108 < t < 1.5e59

              1. Initial program 84.1%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              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(a \cdot b\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(a \cdot b\right)\right)} \]
                2. sub-negN/A

                  \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\right)\right) \]
                6. mul-1-negN/A

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

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

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

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

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

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

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

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

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

            Alternative 8: 51.4% accurate, 1.4× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \mathsf{fma}\left(b, -z, t \cdot j\right)\\ t_2 := i \cdot \mathsf{fma}\left(j, -y, a \cdot b\right)\\ \mathbf{if}\;i \leq -2.3 \cdot 10^{+25}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;i \leq -6.5 \cdot 10^{-67}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -9 \cdot 10^{-202}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\ \mathbf{elif}\;i \leq 2.05 \cdot 10^{+48}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
            (FPCore (x y z t a b c i j)
             :precision binary64
             (let* ((t_1 (* c (fma b (- z) (* t j)))) (t_2 (* i (fma j (- y) (* a b)))))
               (if (<= i -2.3e+25)
                 t_2
                 (if (<= i -6.5e-67)
                   t_1
                   (if (<= i -9e-202)
                     (* a (fma t (- x) (* b i)))
                     (if (<= i 2.05e+48) 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 = c * fma(b, -z, (t * j));
            	double t_2 = i * fma(j, -y, (a * b));
            	double tmp;
            	if (i <= -2.3e+25) {
            		tmp = t_2;
            	} else if (i <= -6.5e-67) {
            		tmp = t_1;
            	} else if (i <= -9e-202) {
            		tmp = a * fma(t, -x, (b * i));
            	} else if (i <= 2.05e+48) {
            		tmp = t_1;
            	} else {
            		tmp = t_2;
            	}
            	return tmp;
            }
            
            function code(x, y, z, t, a, b, c, i, j)
            	t_1 = Float64(c * fma(b, Float64(-z), Float64(t * j)))
            	t_2 = Float64(i * fma(j, Float64(-y), Float64(a * b)))
            	tmp = 0.0
            	if (i <= -2.3e+25)
            		tmp = t_2;
            	elseif (i <= -6.5e-67)
            		tmp = t_1;
            	elseif (i <= -9e-202)
            		tmp = Float64(a * fma(t, Float64(-x), Float64(b * i)));
            	elseif (i <= 2.05e+48)
            		tmp = 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[(c * N[(b * (-z) + N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(i * N[(j * (-y) + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -2.3e+25], t$95$2, If[LessEqual[i, -6.5e-67], t$95$1, If[LessEqual[i, -9e-202], N[(a * N[(t * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 2.05e+48], t$95$1, t$95$2]]]]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            t_1 := c \cdot \mathsf{fma}\left(b, -z, t \cdot j\right)\\
            t_2 := i \cdot \mathsf{fma}\left(j, -y, a \cdot b\right)\\
            \mathbf{if}\;i \leq -2.3 \cdot 10^{+25}:\\
            \;\;\;\;t\_2\\
            
            \mathbf{elif}\;i \leq -6.5 \cdot 10^{-67}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{elif}\;i \leq -9 \cdot 10^{-202}:\\
            \;\;\;\;a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\
            
            \mathbf{elif}\;i \leq 2.05 \cdot 10^{+48}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{else}:\\
            \;\;\;\;t\_2\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 3 regimes
            2. if i < -2.2999999999999998e25 or 2.0500000000000001e48 < i

              1. Initial program 68.3%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              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(a \cdot b\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(a \cdot b\right)\right)} \]
                2. sub-negN/A

                  \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\right)\right) \]
                6. mul-1-negN/A

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

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

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

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

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

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

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

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

              if -2.2999999999999998e25 < i < -6.4999999999999997e-67 or -9.00000000000000078e-202 < i < 2.0500000000000001e48

              1. Initial program 76.4%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              2. Add Preprocessing
              3. Taylor expanded in c around inf

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

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

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

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

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

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

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

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

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

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

                  \[\leadsto c \cdot \mathsf{fma}\left(b, \color{blue}{\mathsf{neg}\left(z\right)}, j \cdot t\right) \]
                11. lower-*.f6454.1

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

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

              if -6.4999999999999997e-67 < i < -9.00000000000000078e-202

              1. Initial program 93.6%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              2. Add Preprocessing
              3. Taylor expanded in a around inf

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

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

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

                  \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(t \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 a \cdot \left(\color{blue}{t \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 a \cdot \left(t \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 a \cdot \left(t \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 a \cdot \left(t \cdot \left(-1 \cdot x\right) + \color{blue}{b \cdot i}\right) \]
                8. lower-fma.f64N/A

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

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

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

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

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

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

              \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.3 \cdot 10^{+25}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, a \cdot b\right)\\ \mathbf{elif}\;i \leq -6.5 \cdot 10^{-67}:\\ \;\;\;\;c \cdot \mathsf{fma}\left(b, -z, t \cdot j\right)\\ \mathbf{elif}\;i \leq -9 \cdot 10^{-202}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\ \mathbf{elif}\;i \leq 2.05 \cdot 10^{+48}:\\ \;\;\;\;c \cdot \mathsf{fma}\left(b, -z, t \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;i \cdot \mathsf{fma}\left(j, -y, a \cdot b\right)\\ \end{array} \]
            5. Add Preprocessing

            Alternative 9: 41.8% accurate, 1.4× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\ \mathbf{if}\;y \leq -2.4 \cdot 10^{+136}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{elif}\;y \leq -1.55 \cdot 10^{-222}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 7 \cdot 10^{-108}:\\ \;\;\;\;b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\\ \mathbf{elif}\;y \leq 4 \cdot 10^{+163}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \end{array} \end{array} \]
            (FPCore (x y z t a b c i j)
             :precision binary64
             (let* ((t_1 (* a (fma t (- x) (* b i)))))
               (if (<= y -2.4e+136)
                 (* (* i j) (- y))
                 (if (<= y -1.55e-222)
                   t_1
                   (if (<= y 7e-108)
                     (* b (fma c (- z) (* a i)))
                     (if (<= y 4e+163) t_1 (* j (* y (- i)))))))))
            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(t, -x, (b * i));
            	double tmp;
            	if (y <= -2.4e+136) {
            		tmp = (i * j) * -y;
            	} else if (y <= -1.55e-222) {
            		tmp = t_1;
            	} else if (y <= 7e-108) {
            		tmp = b * fma(c, -z, (a * i));
            	} else if (y <= 4e+163) {
            		tmp = t_1;
            	} else {
            		tmp = j * (y * -i);
            	}
            	return tmp;
            }
            
            function code(x, y, z, t, a, b, c, i, j)
            	t_1 = Float64(a * fma(t, Float64(-x), Float64(b * i)))
            	tmp = 0.0
            	if (y <= -2.4e+136)
            		tmp = Float64(Float64(i * j) * Float64(-y));
            	elseif (y <= -1.55e-222)
            		tmp = t_1;
            	elseif (y <= 7e-108)
            		tmp = Float64(b * fma(c, Float64(-z), Float64(a * i)));
            	elseif (y <= 4e+163)
            		tmp = t_1;
            	else
            		tmp = Float64(j * Float64(y * Float64(-i)));
            	end
            	return tmp
            end
            
            code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(t * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2.4e+136], N[(N[(i * j), $MachinePrecision] * (-y)), $MachinePrecision], If[LessEqual[y, -1.55e-222], t$95$1, If[LessEqual[y, 7e-108], N[(b * N[(c * (-z) + N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4e+163], t$95$1, N[(j * N[(y * (-i)), $MachinePrecision]), $MachinePrecision]]]]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            t_1 := a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\
            \mathbf{if}\;y \leq -2.4 \cdot 10^{+136}:\\
            \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\
            
            \mathbf{elif}\;y \leq -1.55 \cdot 10^{-222}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{elif}\;y \leq 7 \cdot 10^{-108}:\\
            \;\;\;\;b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\\
            
            \mathbf{elif}\;y \leq 4 \cdot 10^{+163}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{else}:\\
            \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 4 regimes
            2. if y < -2.4e136

              1. Initial program 69.1%

                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
              2. Add Preprocessing
              3. Taylor expanded in j around inf

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

                  \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                2. sub-negN/A

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

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

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

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

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

                  \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                8. lower-neg.f6466.8

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

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

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

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

                if -2.4e136 < y < -1.5499999999999999e-222 or 6.9999999999999997e-108 < y < 3.9999999999999998e163

                1. Initial program 73.3%

                  \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                2. Add Preprocessing
                3. Taylor expanded in a around inf

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

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

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

                    \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(t \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 a \cdot \left(\color{blue}{t \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 a \cdot \left(t \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 a \cdot \left(t \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 a \cdot \left(t \cdot \left(-1 \cdot x\right) + \color{blue}{b \cdot i}\right) \]
                  8. lower-fma.f64N/A

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

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

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

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

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

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

                if -1.5499999999999999e-222 < y < 6.9999999999999997e-108

                1. Initial program 83.4%

                  \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                2. Add Preprocessing
                3. Taylor expanded in b around inf

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

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

                    \[\leadsto b \cdot \color{blue}{\left(\left(\mathsf{neg}\left(c \cdot z\right)\right) + a \cdot i\right)} \]
                  3. 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(a \cdot i\right)\right)\right)\right)}\right) \]
                  4. distribute-neg-inN/A

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

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

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

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

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

                    \[\leadsto b \cdot \left(\mathsf{neg}\left(\color{blue}{\left(c \cdot z + \left(\mathsf{neg}\left(a \cdot i\right)\right)\right)}\right)\right) \]
                  10. 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(a \cdot i\right)\right)\right)\right)\right)} \]
                  11. remove-double-negN/A

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

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

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

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

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

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

                    \[\leadsto b \cdot \mathsf{fma}\left(c, \mathsf{neg}\left(z\right), \color{blue}{i \cdot a}\right) \]
                  18. lower-*.f6457.6

                    \[\leadsto b \cdot \mathsf{fma}\left(c, -z, \color{blue}{i \cdot a}\right) \]
                5. Applied rewrites57.6%

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

                if 3.9999999999999998e163 < y

                1. Initial program 70.9%

                  \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                2. Add Preprocessing
                3. Taylor expanded in j around inf

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

                    \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                  2. sub-negN/A

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

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

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

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

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

                    \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                  8. lower-neg.f6465.4

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

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

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

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

                  \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.4 \cdot 10^{+136}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{elif}\;y \leq -1.55 \cdot 10^{-222}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\ \mathbf{elif}\;y \leq 7 \cdot 10^{-108}:\\ \;\;\;\;b \cdot \mathsf{fma}\left(c, -z, a \cdot i\right)\\ \mathbf{elif}\;y \leq 4 \cdot 10^{+163}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \end{array} \]
                10. Add Preprocessing

                Alternative 10: 41.7% accurate, 1.4× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\ \mathbf{if}\;y \leq -2.4 \cdot 10^{+136}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{elif}\;y \leq -1.55 \cdot 10^{-222}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 6.5 \cdot 10^{-108}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;y \leq 4 \cdot 10^{+163}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \end{array} \end{array} \]
                (FPCore (x y z t a b c i j)
                 :precision binary64
                 (let* ((t_1 (* a (fma t (- x) (* b i)))))
                   (if (<= y -2.4e+136)
                     (* (* i j) (- y))
                     (if (<= y -1.55e-222)
                       t_1
                       (if (<= y 6.5e-108)
                         (* b (- (* a i) (* z c)))
                         (if (<= y 4e+163) t_1 (* j (* y (- i)))))))))
                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(t, -x, (b * i));
                	double tmp;
                	if (y <= -2.4e+136) {
                		tmp = (i * j) * -y;
                	} else if (y <= -1.55e-222) {
                		tmp = t_1;
                	} else if (y <= 6.5e-108) {
                		tmp = b * ((a * i) - (z * c));
                	} else if (y <= 4e+163) {
                		tmp = t_1;
                	} else {
                		tmp = j * (y * -i);
                	}
                	return tmp;
                }
                
                function code(x, y, z, t, a, b, c, i, j)
                	t_1 = Float64(a * fma(t, Float64(-x), Float64(b * i)))
                	tmp = 0.0
                	if (y <= -2.4e+136)
                		tmp = Float64(Float64(i * j) * Float64(-y));
                	elseif (y <= -1.55e-222)
                		tmp = t_1;
                	elseif (y <= 6.5e-108)
                		tmp = Float64(b * Float64(Float64(a * i) - Float64(z * c)));
                	elseif (y <= 4e+163)
                		tmp = t_1;
                	else
                		tmp = Float64(j * Float64(y * Float64(-i)));
                	end
                	return tmp
                end
                
                code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(a * N[(t * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -2.4e+136], N[(N[(i * j), $MachinePrecision] * (-y)), $MachinePrecision], If[LessEqual[y, -1.55e-222], t$95$1, If[LessEqual[y, 6.5e-108], N[(b * N[(N[(a * i), $MachinePrecision] - N[(z * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4e+163], t$95$1, N[(j * N[(y * (-i)), $MachinePrecision]), $MachinePrecision]]]]]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                t_1 := a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\
                \mathbf{if}\;y \leq -2.4 \cdot 10^{+136}:\\
                \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\
                
                \mathbf{elif}\;y \leq -1.55 \cdot 10^{-222}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{elif}\;y \leq 6.5 \cdot 10^{-108}:\\
                \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\
                
                \mathbf{elif}\;y \leq 4 \cdot 10^{+163}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{else}:\\
                \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 4 regimes
                2. if y < -2.4e136

                  1. Initial program 69.1%

                    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                  2. Add Preprocessing
                  3. Taylor expanded in j around inf

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

                      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                    2. sub-negN/A

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

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

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

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

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

                      \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                    8. lower-neg.f6466.8

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

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

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

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

                    if -2.4e136 < y < -1.5499999999999999e-222 or 6.5000000000000002e-108 < y < 3.9999999999999998e163

                    1. Initial program 73.3%

                      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                    2. Add Preprocessing
                    3. Taylor expanded in a around inf

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

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

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

                        \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(t \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 a \cdot \left(\color{blue}{t \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 a \cdot \left(t \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 a \cdot \left(t \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 a \cdot \left(t \cdot \left(-1 \cdot x\right) + \color{blue}{b \cdot i}\right) \]
                      8. lower-fma.f64N/A

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

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

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

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

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

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

                    if -1.5499999999999999e-222 < y < 6.5000000000000002e-108

                    1. Initial program 83.4%

                      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                    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(c \cdot \left(j \cdot t\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
                    4. Applied rewrites68.7%

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

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

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

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

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

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

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

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

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

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

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

                        \[\leadsto b \cdot \left(\color{blue}{i \cdot a} - c \cdot z\right) \]
                      11. lower-*.f6455.9

                        \[\leadsto b \cdot \left(i \cdot a - \color{blue}{c \cdot z}\right) \]
                    7. Applied rewrites55.9%

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

                    if 3.9999999999999998e163 < y

                    1. Initial program 70.9%

                      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                    2. Add Preprocessing
                    3. Taylor expanded in j around inf

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

                        \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                      2. sub-negN/A

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

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

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

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

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

                        \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                      8. lower-neg.f6465.4

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

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

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

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

                      \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.4 \cdot 10^{+136}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{elif}\;y \leq -1.55 \cdot 10^{-222}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\ \mathbf{elif}\;y \leq 6.5 \cdot 10^{-108}:\\ \;\;\;\;b \cdot \left(a \cdot i - z \cdot c\right)\\ \mathbf{elif}\;y \leq 4 \cdot 10^{+163}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y \cdot \left(-i\right)\right)\\ \end{array} \]
                    10. Add Preprocessing

                    Alternative 11: 41.5% accurate, 1.4× speedup?

                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\ \mathbf{if}\;a \leq -6.5 \cdot 10^{+20}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq -6.6 \cdot 10^{-249}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{elif}\;a \leq 1.8 \cdot 10^{-279}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;a \leq 1.5 \cdot 10^{+43}:\\ \;\;\;\;c \cdot \left(t \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 (* a (fma t (- x) (* b i)))))
                       (if (<= a -6.5e+20)
                         t_1
                         (if (<= a -6.6e-249)
                           (* (* i j) (- y))
                           (if (<= a 1.8e-279)
                             (* x (* y z))
                             (if (<= a 1.5e+43) (* c (* t 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 = a * fma(t, -x, (b * i));
                    	double tmp;
                    	if (a <= -6.5e+20) {
                    		tmp = t_1;
                    	} else if (a <= -6.6e-249) {
                    		tmp = (i * j) * -y;
                    	} else if (a <= 1.8e-279) {
                    		tmp = x * (y * z);
                    	} else if (a <= 1.5e+43) {
                    		tmp = c * (t * j);
                    	} else {
                    		tmp = t_1;
                    	}
                    	return tmp;
                    }
                    
                    function code(x, y, z, t, a, b, c, i, j)
                    	t_1 = Float64(a * fma(t, Float64(-x), Float64(b * i)))
                    	tmp = 0.0
                    	if (a <= -6.5e+20)
                    		tmp = t_1;
                    	elseif (a <= -6.6e-249)
                    		tmp = Float64(Float64(i * j) * Float64(-y));
                    	elseif (a <= 1.8e-279)
                    		tmp = Float64(x * Float64(y * z));
                    	elseif (a <= 1.5e+43)
                    		tmp = Float64(c * Float64(t * j));
                    	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[(t * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -6.5e+20], t$95$1, If[LessEqual[a, -6.6e-249], N[(N[(i * j), $MachinePrecision] * (-y)), $MachinePrecision], If[LessEqual[a, 1.8e-279], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.5e+43], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
                    
                    \begin{array}{l}
                    
                    \\
                    \begin{array}{l}
                    t_1 := a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\
                    \mathbf{if}\;a \leq -6.5 \cdot 10^{+20}:\\
                    \;\;\;\;t\_1\\
                    
                    \mathbf{elif}\;a \leq -6.6 \cdot 10^{-249}:\\
                    \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\
                    
                    \mathbf{elif}\;a \leq 1.8 \cdot 10^{-279}:\\
                    \;\;\;\;x \cdot \left(y \cdot z\right)\\
                    
                    \mathbf{elif}\;a \leq 1.5 \cdot 10^{+43}:\\
                    \;\;\;\;c \cdot \left(t \cdot j\right)\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;t\_1\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 4 regimes
                    2. if a < -6.5e20 or 1.50000000000000008e43 < a

                      1. Initial program 67.1%

                        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                      2. Add Preprocessing
                      3. Taylor expanded in a around inf

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

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

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

                          \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(t \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 a \cdot \left(\color{blue}{t \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 a \cdot \left(t \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 a \cdot \left(t \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 a \cdot \left(t \cdot \left(-1 \cdot x\right) + \color{blue}{b \cdot i}\right) \]
                        8. lower-fma.f64N/A

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

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

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

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

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

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

                      if -6.5e20 < a < -6.6e-249

                      1. Initial program 85.8%

                        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                      2. Add Preprocessing
                      3. Taylor expanded in j around inf

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

                          \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                        2. sub-negN/A

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

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

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

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

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

                          \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                        8. lower-neg.f6456.6

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

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

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

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

                        if -6.6e-249 < a < 1.7999999999999998e-279

                        1. Initial program 91.7%

                          \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                        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-*.f6471.4

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

                          \[\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 rewrites51.6%

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

                          if 1.7999999999999998e-279 < a < 1.50000000000000008e43

                          1. Initial program 76.7%

                            \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                          2. Add Preprocessing
                          3. Taylor expanded in j around inf

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

                              \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                            2. sub-negN/A

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

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

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

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

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

                              \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                            8. lower-neg.f6459.1

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

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

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

                              \[\leadsto \left(j \cdot c\right) \cdot \color{blue}{t} \]
                            2. Step-by-step derivation
                              1. Applied rewrites34.3%

                                \[\leadsto \left(t \cdot j\right) \cdot c \]
                            3. Recombined 4 regimes into one program.
                            4. Final simplification51.1%

                              \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -6.5 \cdot 10^{+20}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\ \mathbf{elif}\;a \leq -6.6 \cdot 10^{-249}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{elif}\;a \leq 1.8 \cdot 10^{-279}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;a \leq 1.5 \cdot 10^{+43}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\ \end{array} \]
                            5. Add Preprocessing

                            Alternative 12: 59.7% accurate, 1.5× speedup?

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

                              1. Initial program 73.3%

                                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                              2. Add Preprocessing
                              3. Taylor expanded in i around inf

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

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

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

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

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

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

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

                              if -3.2e23 < i < 9.2000000000000006e141

                              1. Initial program 79.3%

                                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                              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(c \cdot \left(j \cdot t\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
                              4. Applied rewrites82.7%

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

                                \[\leadsto \mathsf{fma}\left(t, \mathsf{fma}\left(j, c, \color{blue}{a \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 rewrites68.6%

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

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

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

                                  if 9.2000000000000006e141 < i

                                  1. Initial program 57.5%

                                    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                  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(a \cdot b\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(a \cdot b\right)\right)} \]
                                    2. sub-negN/A

                                      \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\right)\right) \]
                                    6. mul-1-negN/A

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

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

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

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

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

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

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

                                    \[\leadsto \color{blue}{i \cdot \mathsf{fma}\left(j, -y, b \cdot a\right)} \]
                                4. Recombined 3 regimes into one program.
                                5. Final simplification67.7%

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

                                Alternative 13: 59.5% accurate, 1.5× speedup?

                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := i \cdot \mathsf{fma}\left(j, -y, a \cdot b\right)\\ \mathbf{if}\;i \leq -4.1 \cdot 10^{+23}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq 9.2 \cdot 10^{+141}:\\ \;\;\;\;\mathsf{fma}\left(t, \mathsf{fma}\left(j, c, x \cdot \left(-a\right)\right), y \cdot \left(x \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) (* a b)))))
                                   (if (<= i -4.1e+23)
                                     t_1
                                     (if (<= i 9.2e+141) (fma t (fma j c (* x (- a))) (* 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 = i * fma(j, -y, (a * b));
                                	double tmp;
                                	if (i <= -4.1e+23) {
                                		tmp = t_1;
                                	} else if (i <= 9.2e+141) {
                                		tmp = fma(t, fma(j, c, (x * -a)), (y * (x * 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(a * b)))
                                	tmp = 0.0
                                	if (i <= -4.1e+23)
                                		tmp = t_1;
                                	elseif (i <= 9.2e+141)
                                		tmp = fma(t, fma(j, c, Float64(x * Float64(-a))), Float64(y * 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[(i * N[(j * (-y) + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -4.1e+23], t$95$1, If[LessEqual[i, 9.2e+141], N[(t * N[(j * c + N[(x * (-a)), $MachinePrecision]), $MachinePrecision] + N[(y * N[(x * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
                                
                                \begin{array}{l}
                                
                                \\
                                \begin{array}{l}
                                t_1 := i \cdot \mathsf{fma}\left(j, -y, a \cdot b\right)\\
                                \mathbf{if}\;i \leq -4.1 \cdot 10^{+23}:\\
                                \;\;\;\;t\_1\\
                                
                                \mathbf{elif}\;i \leq 9.2 \cdot 10^{+141}:\\
                                \;\;\;\;\mathsf{fma}\left(t, \mathsf{fma}\left(j, c, x \cdot \left(-a\right)\right), y \cdot \left(x \cdot z\right)\right)\\
                                
                                \mathbf{else}:\\
                                \;\;\;\;t\_1\\
                                
                                
                                \end{array}
                                \end{array}
                                
                                Derivation
                                1. Split input into 2 regimes
                                2. if i < -4.09999999999999996e23 or 9.2000000000000006e141 < i

                                  1. Initial program 67.2%

                                    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                  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(a \cdot b\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(a \cdot b\right)\right)} \]
                                    2. sub-negN/A

                                      \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\right)\right) \]
                                    6. mul-1-negN/A

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

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

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

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

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

                                      \[\leadsto i \cdot \mathsf{fma}\left(j, \mathsf{neg}\left(y\right), \color{blue}{b \cdot a}\right) \]
                                    12. lower-*.f6475.2

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

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

                                  if -4.09999999999999996e23 < i < 9.2000000000000006e141

                                  1. Initial program 79.3%

                                    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                  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(c \cdot \left(j \cdot t\right) + y \cdot \left(-1 \cdot \left(i \cdot j\right) + x \cdot z\right)\right)\right) - b \cdot \left(c \cdot z - a \cdot i\right)} \]
                                  4. Applied rewrites82.7%

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

                                    \[\leadsto \mathsf{fma}\left(t, \mathsf{fma}\left(j, c, \color{blue}{a \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 rewrites68.6%

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

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

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

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

                                    Alternative 14: 30.5% accurate, 1.6× speedup?

                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{if}\;i \leq -8 \cdot 10^{-26}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -2.9 \cdot 10^{-220}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;i \leq 5.5 \cdot 10^{-169}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 4.3 \cdot 10^{+47}:\\ \;\;\;\;c \cdot \left(z \cdot \left(-b\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 j) (- y))))
                                       (if (<= i -8e-26)
                                         t_1
                                         (if (<= i -2.9e-220)
                                           (* x (* y z))
                                           (if (<= i 5.5e-169)
                                             (* j (* t c))
                                             (if (<= i 4.3e+47) (* c (* 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 * j) * -y;
                                    	double tmp;
                                    	if (i <= -8e-26) {
                                    		tmp = t_1;
                                    	} else if (i <= -2.9e-220) {
                                    		tmp = x * (y * z);
                                    	} else if (i <= 5.5e-169) {
                                    		tmp = j * (t * c);
                                    	} else if (i <= 4.3e+47) {
                                    		tmp = c * (z * -b);
                                    	} 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 = (i * j) * -y
                                        if (i <= (-8d-26)) then
                                            tmp = t_1
                                        else if (i <= (-2.9d-220)) then
                                            tmp = x * (y * z)
                                        else if (i <= 5.5d-169) then
                                            tmp = j * (t * c)
                                        else if (i <= 4.3d+47) then
                                            tmp = c * (z * -b)
                                        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 = (i * j) * -y;
                                    	double tmp;
                                    	if (i <= -8e-26) {
                                    		tmp = t_1;
                                    	} else if (i <= -2.9e-220) {
                                    		tmp = x * (y * z);
                                    	} else if (i <= 5.5e-169) {
                                    		tmp = j * (t * c);
                                    	} else if (i <= 4.3e+47) {
                                    		tmp = c * (z * -b);
                                    	} else {
                                    		tmp = t_1;
                                    	}
                                    	return tmp;
                                    }
                                    
                                    def code(x, y, z, t, a, b, c, i, j):
                                    	t_1 = (i * j) * -y
                                    	tmp = 0
                                    	if i <= -8e-26:
                                    		tmp = t_1
                                    	elif i <= -2.9e-220:
                                    		tmp = x * (y * z)
                                    	elif i <= 5.5e-169:
                                    		tmp = j * (t * c)
                                    	elif i <= 4.3e+47:
                                    		tmp = c * (z * -b)
                                    	else:
                                    		tmp = t_1
                                    	return tmp
                                    
                                    function code(x, y, z, t, a, b, c, i, j)
                                    	t_1 = Float64(Float64(i * j) * Float64(-y))
                                    	tmp = 0.0
                                    	if (i <= -8e-26)
                                    		tmp = t_1;
                                    	elseif (i <= -2.9e-220)
                                    		tmp = Float64(x * Float64(y * z));
                                    	elseif (i <= 5.5e-169)
                                    		tmp = Float64(j * Float64(t * c));
                                    	elseif (i <= 4.3e+47)
                                    		tmp = Float64(c * Float64(z * Float64(-b)));
                                    	else
                                    		tmp = t_1;
                                    	end
                                    	return tmp
                                    end
                                    
                                    function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                    	t_1 = (i * j) * -y;
                                    	tmp = 0.0;
                                    	if (i <= -8e-26)
                                    		tmp = t_1;
                                    	elseif (i <= -2.9e-220)
                                    		tmp = x * (y * z);
                                    	elseif (i <= 5.5e-169)
                                    		tmp = j * (t * c);
                                    	elseif (i <= 4.3e+47)
                                    		tmp = c * (z * -b);
                                    	else
                                    		tmp = t_1;
                                    	end
                                    	tmp_2 = tmp;
                                    end
                                    
                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(i * j), $MachinePrecision] * (-y)), $MachinePrecision]}, If[LessEqual[i, -8e-26], t$95$1, If[LessEqual[i, -2.9e-220], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 5.5e-169], N[(j * N[(t * c), $MachinePrecision]), $MachinePrecision], If[LessEqual[i, 4.3e+47], N[(c * N[(z * (-b)), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
                                    
                                    \begin{array}{l}
                                    
                                    \\
                                    \begin{array}{l}
                                    t_1 := \left(i \cdot j\right) \cdot \left(-y\right)\\
                                    \mathbf{if}\;i \leq -8 \cdot 10^{-26}:\\
                                    \;\;\;\;t\_1\\
                                    
                                    \mathbf{elif}\;i \leq -2.9 \cdot 10^{-220}:\\
                                    \;\;\;\;x \cdot \left(y \cdot z\right)\\
                                    
                                    \mathbf{elif}\;i \leq 5.5 \cdot 10^{-169}:\\
                                    \;\;\;\;j \cdot \left(t \cdot c\right)\\
                                    
                                    \mathbf{elif}\;i \leq 4.3 \cdot 10^{+47}:\\
                                    \;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\
                                    
                                    \mathbf{else}:\\
                                    \;\;\;\;t\_1\\
                                    
                                    
                                    \end{array}
                                    \end{array}
                                    
                                    Derivation
                                    1. Split input into 4 regimes
                                    2. if i < -8.0000000000000003e-26 or 4.29999999999999995e47 < i

                                      1. Initial program 67.4%

                                        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                      2. Add Preprocessing
                                      3. Taylor expanded in j around inf

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

                                          \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                        2. sub-negN/A

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

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

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

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

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

                                          \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                        8. lower-neg.f6453.6

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

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

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

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

                                        if -8.0000000000000003e-26 < i < -2.8999999999999998e-220

                                        1. Initial program 90.7%

                                          \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                        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-*.f6447.8

                                            \[\leadsto z \cdot \mathsf{fma}\left(c, -b, \color{blue}{y \cdot x}\right) \]
                                        5. Applied rewrites47.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 rewrites33.5%

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

                                          if -2.8999999999999998e-220 < i < 5.4999999999999994e-169

                                          1. Initial program 78.0%

                                            \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                          2. Add Preprocessing
                                          3. Taylor expanded in j around inf

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

                                              \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                            2. sub-negN/A

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

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

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

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

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

                                              \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                            8. lower-neg.f6451.9

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

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

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

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

                                            if 5.4999999999999994e-169 < i < 4.29999999999999995e47

                                            1. Initial program 77.6%

                                              \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                            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-*.f6455.1

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

                                              \[\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 rewrites30.3%

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

                                                  \[\leadsto \left(z \cdot \left(-b\right)\right) \cdot c \]
                                              3. Recombined 4 regimes into one program.
                                              4. Final simplification42.8%

                                                \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -8 \cdot 10^{-26}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \mathbf{elif}\;i \leq -2.9 \cdot 10^{-220}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{elif}\;i \leq 5.5 \cdot 10^{-169}:\\ \;\;\;\;j \cdot \left(t \cdot c\right)\\ \mathbf{elif}\;i \leq 4.3 \cdot 10^{+47}:\\ \;\;\;\;c \cdot \left(z \cdot \left(-b\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \end{array} \]
                                              5. Add Preprocessing

                                              Alternative 15: 30.1% accurate, 2.0× speedup?

                                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 1.36 \cdot 10^{-174}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;j \leq 8.2 \cdot 10^{+74}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \end{array} \end{array} \]
                                              (FPCore (x y z t a b c i j)
                                               :precision binary64
                                               (if (<= j -9.5e+69)
                                                 (* t (* c j))
                                                 (if (<= j 1.36e-174)
                                                   (* i (* a b))
                                                   (if (<= j 8.2e+74) (* z (* x y)) (* (* i j) (- y))))))
                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                              	double tmp;
                                              	if (j <= -9.5e+69) {
                                              		tmp = t * (c * j);
                                              	} else if (j <= 1.36e-174) {
                                              		tmp = i * (a * b);
                                              	} else if (j <= 8.2e+74) {
                                              		tmp = z * (x * y);
                                              	} else {
                                              		tmp = (i * j) * -y;
                                              	}
                                              	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 <= (-9.5d+69)) then
                                                      tmp = t * (c * j)
                                                  else if (j <= 1.36d-174) then
                                                      tmp = i * (a * b)
                                                  else if (j <= 8.2d+74) then
                                                      tmp = z * (x * y)
                                                  else
                                                      tmp = (i * j) * -y
                                                  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 <= -9.5e+69) {
                                              		tmp = t * (c * j);
                                              	} else if (j <= 1.36e-174) {
                                              		tmp = i * (a * b);
                                              	} else if (j <= 8.2e+74) {
                                              		tmp = z * (x * y);
                                              	} else {
                                              		tmp = (i * j) * -y;
                                              	}
                                              	return tmp;
                                              }
                                              
                                              def code(x, y, z, t, a, b, c, i, j):
                                              	tmp = 0
                                              	if j <= -9.5e+69:
                                              		tmp = t * (c * j)
                                              	elif j <= 1.36e-174:
                                              		tmp = i * (a * b)
                                              	elif j <= 8.2e+74:
                                              		tmp = z * (x * y)
                                              	else:
                                              		tmp = (i * j) * -y
                                              	return tmp
                                              
                                              function code(x, y, z, t, a, b, c, i, j)
                                              	tmp = 0.0
                                              	if (j <= -9.5e+69)
                                              		tmp = Float64(t * Float64(c * j));
                                              	elseif (j <= 1.36e-174)
                                              		tmp = Float64(i * Float64(a * b));
                                              	elseif (j <= 8.2e+74)
                                              		tmp = Float64(z * Float64(x * y));
                                              	else
                                              		tmp = Float64(Float64(i * j) * Float64(-y));
                                              	end
                                              	return tmp
                                              end
                                              
                                              function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                              	tmp = 0.0;
                                              	if (j <= -9.5e+69)
                                              		tmp = t * (c * j);
                                              	elseif (j <= 1.36e-174)
                                              		tmp = i * (a * b);
                                              	elseif (j <= 8.2e+74)
                                              		tmp = z * (x * y);
                                              	else
                                              		tmp = (i * j) * -y;
                                              	end
                                              	tmp_2 = tmp;
                                              end
                                              
                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -9.5e+69], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.36e-174], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 8.2e+74], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], N[(N[(i * j), $MachinePrecision] * (-y)), $MachinePrecision]]]]
                                              
                                              \begin{array}{l}
                                              
                                              \\
                                              \begin{array}{l}
                                              \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\
                                              \;\;\;\;t \cdot \left(c \cdot j\right)\\
                                              
                                              \mathbf{elif}\;j \leq 1.36 \cdot 10^{-174}:\\
                                              \;\;\;\;i \cdot \left(a \cdot b\right)\\
                                              
                                              \mathbf{elif}\;j \leq 8.2 \cdot 10^{+74}:\\
                                              \;\;\;\;z \cdot \left(x \cdot y\right)\\
                                              
                                              \mathbf{else}:\\
                                              \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\
                                              
                                              
                                              \end{array}
                                              \end{array}
                                              
                                              Derivation
                                              1. Split input into 4 regimes
                                              2. if j < -9.4999999999999995e69

                                                1. Initial program 66.7%

                                                  \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                2. Add Preprocessing
                                                3. Taylor expanded in j around inf

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

                                                    \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                  2. sub-negN/A

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

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

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

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

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

                                                    \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                  8. lower-neg.f6473.1

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

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

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

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

                                                  if -9.4999999999999995e69 < j < 1.36e-174

                                                  1. Initial program 75.9%

                                                    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                  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(a \cdot b\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(a \cdot b\right)\right)} \]
                                                    2. sub-negN/A

                                                      \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\right)\right) \]
                                                    6. mul-1-negN/A

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

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

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

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

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

                                                      \[\leadsto i \cdot \mathsf{fma}\left(j, \mathsf{neg}\left(y\right), \color{blue}{b \cdot a}\right) \]
                                                    12. lower-*.f6441.8

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

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

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

                                                      \[\leadsto i \cdot \left(b \cdot \color{blue}{a}\right) \]

                                                    if 1.36e-174 < j < 8.2000000000000001e74

                                                    1. Initial program 77.0%

                                                      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                    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-*.f6454.4

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

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

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

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

                                                      if 8.2000000000000001e74 < j

                                                      1. Initial program 78.2%

                                                        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                      2. Add Preprocessing
                                                      3. Taylor expanded in j around inf

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

                                                          \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                        2. sub-negN/A

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

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

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

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

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

                                                          \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                        8. lower-neg.f6465.3

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

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

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

                                                          \[\leadsto -\left(j \cdot i\right) \cdot y \]
                                                      8. Recombined 4 regimes into one program.
                                                      9. Final simplification40.9%

                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 1.36 \cdot 10^{-174}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;j \leq 8.2 \cdot 10^{+74}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\left(i \cdot j\right) \cdot \left(-y\right)\\ \end{array} \]
                                                      10. Add Preprocessing

                                                      Alternative 16: 52.0% accurate, 2.0× speedup?

                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \mathsf{fma}\left(b, -z, t \cdot j\right)\\ \mathbf{if}\;c \leq -2.45 \cdot 10^{+103}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 2.45 \cdot 10^{-27}:\\ \;\;\;\;a \cdot \mathsf{fma}\left(t, -x, b \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 (* c (fma b (- z) (* t j)))))
                                                         (if (<= c -2.45e+103)
                                                           t_1
                                                           (if (<= c 2.45e-27) (* a (fma t (- x) (* b 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 = c * fma(b, -z, (t * j));
                                                      	double tmp;
                                                      	if (c <= -2.45e+103) {
                                                      		tmp = t_1;
                                                      	} else if (c <= 2.45e-27) {
                                                      		tmp = a * fma(t, -x, (b * i));
                                                      	} else {
                                                      		tmp = t_1;
                                                      	}
                                                      	return tmp;
                                                      }
                                                      
                                                      function code(x, y, z, t, a, b, c, i, j)
                                                      	t_1 = Float64(c * fma(b, Float64(-z), Float64(t * j)))
                                                      	tmp = 0.0
                                                      	if (c <= -2.45e+103)
                                                      		tmp = t_1;
                                                      	elseif (c <= 2.45e-27)
                                                      		tmp = Float64(a * fma(t, Float64(-x), Float64(b * i)));
                                                      	else
                                                      		tmp = t_1;
                                                      	end
                                                      	return tmp
                                                      end
                                                      
                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(c * N[(b * (-z) + N[(t * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -2.45e+103], t$95$1, If[LessEqual[c, 2.45e-27], N[(a * N[(t * (-x) + N[(b * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
                                                      
                                                      \begin{array}{l}
                                                      
                                                      \\
                                                      \begin{array}{l}
                                                      t_1 := c \cdot \mathsf{fma}\left(b, -z, t \cdot j\right)\\
                                                      \mathbf{if}\;c \leq -2.45 \cdot 10^{+103}:\\
                                                      \;\;\;\;t\_1\\
                                                      
                                                      \mathbf{elif}\;c \leq 2.45 \cdot 10^{-27}:\\
                                                      \;\;\;\;a \cdot \mathsf{fma}\left(t, -x, b \cdot i\right)\\
                                                      
                                                      \mathbf{else}:\\
                                                      \;\;\;\;t\_1\\
                                                      
                                                      
                                                      \end{array}
                                                      \end{array}
                                                      
                                                      Derivation
                                                      1. Split input into 2 regimes
                                                      2. if c < -2.4499999999999999e103 or 2.44999999999999988e-27 < c

                                                        1. Initial program 68.9%

                                                          \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                        2. Add Preprocessing
                                                        3. Taylor expanded in c around inf

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

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

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

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

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

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

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

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

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

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

                                                            \[\leadsto c \cdot \mathsf{fma}\left(b, \color{blue}{\mathsf{neg}\left(z\right)}, j \cdot t\right) \]
                                                          11. lower-*.f6466.1

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

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

                                                        if -2.4499999999999999e103 < c < 2.44999999999999988e-27

                                                        1. Initial program 78.8%

                                                          \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                        2. Add Preprocessing
                                                        3. Taylor expanded in a around inf

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

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

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

                                                            \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(t \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 a \cdot \left(\color{blue}{t \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 a \cdot \left(t \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 a \cdot \left(t \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 a \cdot \left(t \cdot \left(-1 \cdot x\right) + \color{blue}{b \cdot i}\right) \]
                                                          8. lower-fma.f64N/A

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

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

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

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

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

                                                          \[\leadsto \color{blue}{a \cdot \mathsf{fma}\left(t, -x, i \cdot b\right)} \]
                                                      3. Recombined 2 regimes into one program.
                                                      4. Final simplification53.9%

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

                                                      Alternative 17: 29.5% accurate, 2.1× speedup?

                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 1.36 \cdot 10^{-174}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;j \leq 2.4 \cdot 10^{+123}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \end{array} \]
                                                      (FPCore (x y z t a b c i j)
                                                       :precision binary64
                                                       (if (<= j -9.5e+69)
                                                         (* t (* c j))
                                                         (if (<= j 1.36e-174)
                                                           (* i (* a b))
                                                           (if (<= j 2.4e+123) (* z (* x y)) (* c (* t j))))))
                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                      	double tmp;
                                                      	if (j <= -9.5e+69) {
                                                      		tmp = t * (c * j);
                                                      	} else if (j <= 1.36e-174) {
                                                      		tmp = i * (a * b);
                                                      	} else if (j <= 2.4e+123) {
                                                      		tmp = z * (x * y);
                                                      	} else {
                                                      		tmp = c * (t * j);
                                                      	}
                                                      	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 <= (-9.5d+69)) then
                                                              tmp = t * (c * j)
                                                          else if (j <= 1.36d-174) then
                                                              tmp = i * (a * b)
                                                          else if (j <= 2.4d+123) then
                                                              tmp = z * (x * y)
                                                          else
                                                              tmp = c * (t * j)
                                                          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 <= -9.5e+69) {
                                                      		tmp = t * (c * j);
                                                      	} else if (j <= 1.36e-174) {
                                                      		tmp = i * (a * b);
                                                      	} else if (j <= 2.4e+123) {
                                                      		tmp = z * (x * y);
                                                      	} else {
                                                      		tmp = c * (t * j);
                                                      	}
                                                      	return tmp;
                                                      }
                                                      
                                                      def code(x, y, z, t, a, b, c, i, j):
                                                      	tmp = 0
                                                      	if j <= -9.5e+69:
                                                      		tmp = t * (c * j)
                                                      	elif j <= 1.36e-174:
                                                      		tmp = i * (a * b)
                                                      	elif j <= 2.4e+123:
                                                      		tmp = z * (x * y)
                                                      	else:
                                                      		tmp = c * (t * j)
                                                      	return tmp
                                                      
                                                      function code(x, y, z, t, a, b, c, i, j)
                                                      	tmp = 0.0
                                                      	if (j <= -9.5e+69)
                                                      		tmp = Float64(t * Float64(c * j));
                                                      	elseif (j <= 1.36e-174)
                                                      		tmp = Float64(i * Float64(a * b));
                                                      	elseif (j <= 2.4e+123)
                                                      		tmp = Float64(z * Float64(x * y));
                                                      	else
                                                      		tmp = Float64(c * Float64(t * j));
                                                      	end
                                                      	return tmp
                                                      end
                                                      
                                                      function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                      	tmp = 0.0;
                                                      	if (j <= -9.5e+69)
                                                      		tmp = t * (c * j);
                                                      	elseif (j <= 1.36e-174)
                                                      		tmp = i * (a * b);
                                                      	elseif (j <= 2.4e+123)
                                                      		tmp = z * (x * y);
                                                      	else
                                                      		tmp = c * (t * j);
                                                      	end
                                                      	tmp_2 = tmp;
                                                      end
                                                      
                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -9.5e+69], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.36e-174], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.4e+123], N[(z * N[(x * y), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]]
                                                      
                                                      \begin{array}{l}
                                                      
                                                      \\
                                                      \begin{array}{l}
                                                      \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\
                                                      \;\;\;\;t \cdot \left(c \cdot j\right)\\
                                                      
                                                      \mathbf{elif}\;j \leq 1.36 \cdot 10^{-174}:\\
                                                      \;\;\;\;i \cdot \left(a \cdot b\right)\\
                                                      
                                                      \mathbf{elif}\;j \leq 2.4 \cdot 10^{+123}:\\
                                                      \;\;\;\;z \cdot \left(x \cdot y\right)\\
                                                      
                                                      \mathbf{else}:\\
                                                      \;\;\;\;c \cdot \left(t \cdot j\right)\\
                                                      
                                                      
                                                      \end{array}
                                                      \end{array}
                                                      
                                                      Derivation
                                                      1. Split input into 4 regimes
                                                      2. if j < -9.4999999999999995e69

                                                        1. Initial program 66.7%

                                                          \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                        2. Add Preprocessing
                                                        3. Taylor expanded in j around inf

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

                                                            \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                          2. sub-negN/A

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

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

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

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

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

                                                            \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                          8. lower-neg.f6473.1

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

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

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

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

                                                          if -9.4999999999999995e69 < j < 1.36e-174

                                                          1. Initial program 75.9%

                                                            \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                          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(a \cdot b\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(a \cdot b\right)\right)} \]
                                                            2. sub-negN/A

                                                              \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\right)\right) \]
                                                            6. mul-1-negN/A

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

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

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

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

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

                                                              \[\leadsto i \cdot \mathsf{fma}\left(j, \mathsf{neg}\left(y\right), \color{blue}{b \cdot a}\right) \]
                                                            12. lower-*.f6441.8

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

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

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

                                                              \[\leadsto i \cdot \left(b \cdot \color{blue}{a}\right) \]

                                                            if 1.36e-174 < j < 2.39999999999999989e123

                                                            1. Initial program 73.1%

                                                              \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                            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-*.f6451.3

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

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

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

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

                                                              if 2.39999999999999989e123 < j

                                                              1. Initial program 83.4%

                                                                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                              2. Add Preprocessing
                                                              3. Taylor expanded in j around inf

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

                                                                  \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                                2. sub-negN/A

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

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

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

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

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

                                                                  \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                                8. lower-neg.f6471.4

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

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

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

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

                                                                    \[\leadsto \left(t \cdot j\right) \cdot c \]
                                                                3. Recombined 4 regimes into one program.
                                                                4. Final simplification37.2%

                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 1.36 \cdot 10^{-174}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;j \leq 2.4 \cdot 10^{+123}:\\ \;\;\;\;z \cdot \left(x \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]
                                                                5. Add Preprocessing

                                                                Alternative 18: 29.5% accurate, 2.1× speedup?

                                                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 1.36 \cdot 10^{-174}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;j \leq 2.3 \cdot 10^{+123}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \end{array} \]
                                                                (FPCore (x y z t a b c i j)
                                                                 :precision binary64
                                                                 (if (<= j -9.5e+69)
                                                                   (* t (* c j))
                                                                   (if (<= j 1.36e-174)
                                                                     (* i (* a b))
                                                                     (if (<= j 2.3e+123) (* x (* y z)) (* c (* t j))))))
                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                	double tmp;
                                                                	if (j <= -9.5e+69) {
                                                                		tmp = t * (c * j);
                                                                	} else if (j <= 1.36e-174) {
                                                                		tmp = i * (a * b);
                                                                	} else if (j <= 2.3e+123) {
                                                                		tmp = x * (y * z);
                                                                	} else {
                                                                		tmp = c * (t * j);
                                                                	}
                                                                	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 <= (-9.5d+69)) then
                                                                        tmp = t * (c * j)
                                                                    else if (j <= 1.36d-174) then
                                                                        tmp = i * (a * b)
                                                                    else if (j <= 2.3d+123) then
                                                                        tmp = x * (y * z)
                                                                    else
                                                                        tmp = c * (t * j)
                                                                    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 <= -9.5e+69) {
                                                                		tmp = t * (c * j);
                                                                	} else if (j <= 1.36e-174) {
                                                                		tmp = i * (a * b);
                                                                	} else if (j <= 2.3e+123) {
                                                                		tmp = x * (y * z);
                                                                	} else {
                                                                		tmp = c * (t * j);
                                                                	}
                                                                	return tmp;
                                                                }
                                                                
                                                                def code(x, y, z, t, a, b, c, i, j):
                                                                	tmp = 0
                                                                	if j <= -9.5e+69:
                                                                		tmp = t * (c * j)
                                                                	elif j <= 1.36e-174:
                                                                		tmp = i * (a * b)
                                                                	elif j <= 2.3e+123:
                                                                		tmp = x * (y * z)
                                                                	else:
                                                                		tmp = c * (t * j)
                                                                	return tmp
                                                                
                                                                function code(x, y, z, t, a, b, c, i, j)
                                                                	tmp = 0.0
                                                                	if (j <= -9.5e+69)
                                                                		tmp = Float64(t * Float64(c * j));
                                                                	elseif (j <= 1.36e-174)
                                                                		tmp = Float64(i * Float64(a * b));
                                                                	elseif (j <= 2.3e+123)
                                                                		tmp = Float64(x * Float64(y * z));
                                                                	else
                                                                		tmp = Float64(c * Float64(t * j));
                                                                	end
                                                                	return tmp
                                                                end
                                                                
                                                                function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                                	tmp = 0.0;
                                                                	if (j <= -9.5e+69)
                                                                		tmp = t * (c * j);
                                                                	elseif (j <= 1.36e-174)
                                                                		tmp = i * (a * b);
                                                                	elseif (j <= 2.3e+123)
                                                                		tmp = x * (y * z);
                                                                	else
                                                                		tmp = c * (t * j);
                                                                	end
                                                                	tmp_2 = tmp;
                                                                end
                                                                
                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -9.5e+69], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.36e-174], N[(i * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.3e+123], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]]
                                                                
                                                                \begin{array}{l}
                                                                
                                                                \\
                                                                \begin{array}{l}
                                                                \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\
                                                                \;\;\;\;t \cdot \left(c \cdot j\right)\\
                                                                
                                                                \mathbf{elif}\;j \leq 1.36 \cdot 10^{-174}:\\
                                                                \;\;\;\;i \cdot \left(a \cdot b\right)\\
                                                                
                                                                \mathbf{elif}\;j \leq 2.3 \cdot 10^{+123}:\\
                                                                \;\;\;\;x \cdot \left(y \cdot z\right)\\
                                                                
                                                                \mathbf{else}:\\
                                                                \;\;\;\;c \cdot \left(t \cdot j\right)\\
                                                                
                                                                
                                                                \end{array}
                                                                \end{array}
                                                                
                                                                Derivation
                                                                1. Split input into 4 regimes
                                                                2. if j < -9.4999999999999995e69

                                                                  1. Initial program 66.7%

                                                                    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                  2. Add Preprocessing
                                                                  3. Taylor expanded in j around inf

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

                                                                      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                                    2. sub-negN/A

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

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

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

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

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

                                                                      \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                                    8. lower-neg.f6473.1

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

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

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

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

                                                                    if -9.4999999999999995e69 < j < 1.36e-174

                                                                    1. Initial program 75.9%

                                                                      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                    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(a \cdot b\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(a \cdot b\right)\right)} \]
                                                                      2. sub-negN/A

                                                                        \[\leadsto i \cdot \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\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 \cdot \left(a \cdot b\right)\right)\right)\right) \]
                                                                      6. mul-1-negN/A

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

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

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

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

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

                                                                        \[\leadsto i \cdot \mathsf{fma}\left(j, \mathsf{neg}\left(y\right), \color{blue}{b \cdot a}\right) \]
                                                                      12. lower-*.f6441.8

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

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

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

                                                                        \[\leadsto i \cdot \left(b \cdot \color{blue}{a}\right) \]

                                                                      if 1.36e-174 < j < 2.2999999999999999e123

                                                                      1. Initial program 73.1%

                                                                        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                      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-*.f6451.3

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

                                                                        \[\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 rewrites32.3%

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

                                                                        if 2.2999999999999999e123 < j

                                                                        1. Initial program 83.4%

                                                                          \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                        2. Add Preprocessing
                                                                        3. Taylor expanded in j around inf

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

                                                                            \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                                          2. sub-negN/A

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

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

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

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

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

                                                                            \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                                          8. lower-neg.f6471.4

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

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

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

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

                                                                              \[\leadsto \left(t \cdot j\right) \cdot c \]
                                                                          3. Recombined 4 regimes into one program.
                                                                          4. Final simplification36.5%

                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 1.36 \cdot 10^{-174}:\\ \;\;\;\;i \cdot \left(a \cdot b\right)\\ \mathbf{elif}\;j \leq 2.3 \cdot 10^{+123}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]
                                                                          5. Add Preprocessing

                                                                          Alternative 19: 29.2% accurate, 2.1× speedup?

                                                                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 1.3 \cdot 10^{-174}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq 2.3 \cdot 10^{+123}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \end{array} \]
                                                                          (FPCore (x y z t a b c i j)
                                                                           :precision binary64
                                                                           (if (<= j -9.5e+69)
                                                                             (* t (* c j))
                                                                             (if (<= j 1.3e-174)
                                                                               (* a (* b i))
                                                                               (if (<= j 2.3e+123) (* x (* y z)) (* c (* t j))))))
                                                                          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                          	double tmp;
                                                                          	if (j <= -9.5e+69) {
                                                                          		tmp = t * (c * j);
                                                                          	} else if (j <= 1.3e-174) {
                                                                          		tmp = a * (b * i);
                                                                          	} else if (j <= 2.3e+123) {
                                                                          		tmp = x * (y * z);
                                                                          	} else {
                                                                          		tmp = c * (t * j);
                                                                          	}
                                                                          	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 <= (-9.5d+69)) then
                                                                                  tmp = t * (c * j)
                                                                              else if (j <= 1.3d-174) then
                                                                                  tmp = a * (b * i)
                                                                              else if (j <= 2.3d+123) then
                                                                                  tmp = x * (y * z)
                                                                              else
                                                                                  tmp = c * (t * j)
                                                                              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 <= -9.5e+69) {
                                                                          		tmp = t * (c * j);
                                                                          	} else if (j <= 1.3e-174) {
                                                                          		tmp = a * (b * i);
                                                                          	} else if (j <= 2.3e+123) {
                                                                          		tmp = x * (y * z);
                                                                          	} else {
                                                                          		tmp = c * (t * j);
                                                                          	}
                                                                          	return tmp;
                                                                          }
                                                                          
                                                                          def code(x, y, z, t, a, b, c, i, j):
                                                                          	tmp = 0
                                                                          	if j <= -9.5e+69:
                                                                          		tmp = t * (c * j)
                                                                          	elif j <= 1.3e-174:
                                                                          		tmp = a * (b * i)
                                                                          	elif j <= 2.3e+123:
                                                                          		tmp = x * (y * z)
                                                                          	else:
                                                                          		tmp = c * (t * j)
                                                                          	return tmp
                                                                          
                                                                          function code(x, y, z, t, a, b, c, i, j)
                                                                          	tmp = 0.0
                                                                          	if (j <= -9.5e+69)
                                                                          		tmp = Float64(t * Float64(c * j));
                                                                          	elseif (j <= 1.3e-174)
                                                                          		tmp = Float64(a * Float64(b * i));
                                                                          	elseif (j <= 2.3e+123)
                                                                          		tmp = Float64(x * Float64(y * z));
                                                                          	else
                                                                          		tmp = Float64(c * Float64(t * j));
                                                                          	end
                                                                          	return tmp
                                                                          end
                                                                          
                                                                          function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                                          	tmp = 0.0;
                                                                          	if (j <= -9.5e+69)
                                                                          		tmp = t * (c * j);
                                                                          	elseif (j <= 1.3e-174)
                                                                          		tmp = a * (b * i);
                                                                          	elseif (j <= 2.3e+123)
                                                                          		tmp = x * (y * z);
                                                                          	else
                                                                          		tmp = c * (t * j);
                                                                          	end
                                                                          	tmp_2 = tmp;
                                                                          end
                                                                          
                                                                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -9.5e+69], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.3e-174], N[(a * N[(b * i), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 2.3e+123], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]]]]
                                                                          
                                                                          \begin{array}{l}
                                                                          
                                                                          \\
                                                                          \begin{array}{l}
                                                                          \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\
                                                                          \;\;\;\;t \cdot \left(c \cdot j\right)\\
                                                                          
                                                                          \mathbf{elif}\;j \leq 1.3 \cdot 10^{-174}:\\
                                                                          \;\;\;\;a \cdot \left(b \cdot i\right)\\
                                                                          
                                                                          \mathbf{elif}\;j \leq 2.3 \cdot 10^{+123}:\\
                                                                          \;\;\;\;x \cdot \left(y \cdot z\right)\\
                                                                          
                                                                          \mathbf{else}:\\
                                                                          \;\;\;\;c \cdot \left(t \cdot j\right)\\
                                                                          
                                                                          
                                                                          \end{array}
                                                                          \end{array}
                                                                          
                                                                          Derivation
                                                                          1. Split input into 4 regimes
                                                                          2. if j < -9.4999999999999995e69

                                                                            1. Initial program 66.7%

                                                                              \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                            2. Add Preprocessing
                                                                            3. Taylor expanded in j around inf

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

                                                                                \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                                              2. sub-negN/A

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

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

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

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

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

                                                                                \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                                              8. lower-neg.f6473.1

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

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

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

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

                                                                              if -9.4999999999999995e69 < j < 1.3000000000000001e-174

                                                                              1. Initial program 75.9%

                                                                                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                              2. Add Preprocessing
                                                                              3. Taylor expanded in a around inf

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

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

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

                                                                                  \[\leadsto a \cdot \left(\color{blue}{\left(\mathsf{neg}\left(t \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 a \cdot \left(\color{blue}{t \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 a \cdot \left(t \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 a \cdot \left(t \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 a \cdot \left(t \cdot \left(-1 \cdot x\right) + \color{blue}{b \cdot i}\right) \]
                                                                                8. lower-fma.f64N/A

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

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

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

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

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

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

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

                                                                                  \[\leadsto a \cdot \left(i \cdot \color{blue}{b}\right) \]

                                                                                if 1.3000000000000001e-174 < j < 2.2999999999999999e123

                                                                                1. Initial program 73.1%

                                                                                  \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                                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-*.f6451.3

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

                                                                                  \[\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 rewrites32.3%

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

                                                                                  if 2.2999999999999999e123 < j

                                                                                  1. Initial program 83.4%

                                                                                    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                                  2. Add Preprocessing
                                                                                  3. Taylor expanded in j around inf

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

                                                                                      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                                                    2. sub-negN/A

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

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

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

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

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

                                                                                      \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                                                    8. lower-neg.f6471.4

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

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

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

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

                                                                                        \[\leadsto \left(t \cdot j\right) \cdot c \]
                                                                                    3. Recombined 4 regimes into one program.
                                                                                    4. Final simplification36.1%

                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -9.5 \cdot 10^{+69}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \mathbf{elif}\;j \leq 1.3 \cdot 10^{-174}:\\ \;\;\;\;a \cdot \left(b \cdot i\right)\\ \mathbf{elif}\;j \leq 2.3 \cdot 10^{+123}:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \end{array} \]
                                                                                    5. Add Preprocessing

                                                                                    Alternative 20: 29.4% accurate, 2.6× speedup?

                                                                                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -6.8 \cdot 10^{-22}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;t \leq 8200000000000:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \end{array} \end{array} \]
                                                                                    (FPCore (x y z t a b c i j)
                                                                                     :precision binary64
                                                                                     (if (<= t -6.8e-22)
                                                                                       (* c (* t j))
                                                                                       (if (<= t 8200000000000.0) (* x (* y z)) (* t (* c j)))))
                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                                    	double tmp;
                                                                                    	if (t <= -6.8e-22) {
                                                                                    		tmp = c * (t * j);
                                                                                    	} else if (t <= 8200000000000.0) {
                                                                                    		tmp = x * (y * z);
                                                                                    	} else {
                                                                                    		tmp = t * (c * j);
                                                                                    	}
                                                                                    	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 (t <= (-6.8d-22)) then
                                                                                            tmp = c * (t * j)
                                                                                        else if (t <= 8200000000000.0d0) then
                                                                                            tmp = x * (y * z)
                                                                                        else
                                                                                            tmp = t * (c * j)
                                                                                        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 (t <= -6.8e-22) {
                                                                                    		tmp = c * (t * j);
                                                                                    	} else if (t <= 8200000000000.0) {
                                                                                    		tmp = x * (y * z);
                                                                                    	} else {
                                                                                    		tmp = t * (c * j);
                                                                                    	}
                                                                                    	return tmp;
                                                                                    }
                                                                                    
                                                                                    def code(x, y, z, t, a, b, c, i, j):
                                                                                    	tmp = 0
                                                                                    	if t <= -6.8e-22:
                                                                                    		tmp = c * (t * j)
                                                                                    	elif t <= 8200000000000.0:
                                                                                    		tmp = x * (y * z)
                                                                                    	else:
                                                                                    		tmp = t * (c * j)
                                                                                    	return tmp
                                                                                    
                                                                                    function code(x, y, z, t, a, b, c, i, j)
                                                                                    	tmp = 0.0
                                                                                    	if (t <= -6.8e-22)
                                                                                    		tmp = Float64(c * Float64(t * j));
                                                                                    	elseif (t <= 8200000000000.0)
                                                                                    		tmp = Float64(x * Float64(y * z));
                                                                                    	else
                                                                                    		tmp = Float64(t * Float64(c * j));
                                                                                    	end
                                                                                    	return tmp
                                                                                    end
                                                                                    
                                                                                    function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                                                    	tmp = 0.0;
                                                                                    	if (t <= -6.8e-22)
                                                                                    		tmp = c * (t * j);
                                                                                    	elseif (t <= 8200000000000.0)
                                                                                    		tmp = x * (y * z);
                                                                                    	else
                                                                                    		tmp = t * (c * j);
                                                                                    	end
                                                                                    	tmp_2 = tmp;
                                                                                    end
                                                                                    
                                                                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[t, -6.8e-22], N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8200000000000.0], N[(x * N[(y * z), $MachinePrecision]), $MachinePrecision], N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]]]
                                                                                    
                                                                                    \begin{array}{l}
                                                                                    
                                                                                    \\
                                                                                    \begin{array}{l}
                                                                                    \mathbf{if}\;t \leq -6.8 \cdot 10^{-22}:\\
                                                                                    \;\;\;\;c \cdot \left(t \cdot j\right)\\
                                                                                    
                                                                                    \mathbf{elif}\;t \leq 8200000000000:\\
                                                                                    \;\;\;\;x \cdot \left(y \cdot z\right)\\
                                                                                    
                                                                                    \mathbf{else}:\\
                                                                                    \;\;\;\;t \cdot \left(c \cdot j\right)\\
                                                                                    
                                                                                    
                                                                                    \end{array}
                                                                                    \end{array}
                                                                                    
                                                                                    Derivation
                                                                                    1. Split input into 3 regimes
                                                                                    2. if t < -6.7999999999999997e-22

                                                                                      1. Initial program 68.8%

                                                                                        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                                      2. Add Preprocessing
                                                                                      3. Taylor expanded in j around inf

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

                                                                                          \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                                                        2. sub-negN/A

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

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

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

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

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

                                                                                          \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                                                        8. lower-neg.f6452.2

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

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

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

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

                                                                                            \[\leadsto \left(t \cdot j\right) \cdot c \]

                                                                                          if -6.7999999999999997e-22 < t < 8.2e12

                                                                                          1. Initial program 81.6%

                                                                                            \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                                          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-*.f6446.3

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

                                                                                            \[\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 rewrites28.4%

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

                                                                                            if 8.2e12 < t

                                                                                            1. Initial program 66.8%

                                                                                              \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                                            2. Add Preprocessing
                                                                                            3. Taylor expanded in j around inf

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

                                                                                                \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                                                              2. sub-negN/A

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

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

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

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

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

                                                                                                \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                                                              8. lower-neg.f6452.6

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

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

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

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

                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -6.8 \cdot 10^{-22}:\\ \;\;\;\;c \cdot \left(t \cdot j\right)\\ \mathbf{elif}\;t \leq 8200000000000:\\ \;\;\;\;x \cdot \left(y \cdot z\right)\\ \mathbf{else}:\\ \;\;\;\;t \cdot \left(c \cdot j\right)\\ \end{array} \]
                                                                                            10. Add Preprocessing

                                                                                            Alternative 21: 21.5% accurate, 5.5× speedup?

                                                                                            \[\begin{array}{l} \\ c \cdot \left(t \cdot j\right) \end{array} \]
                                                                                            (FPCore (x y z t a b c i j) :precision binary64 (* c (* t j)))
                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                                            	return c * (t * j);
                                                                                            }
                                                                                            
                                                                                            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 = c * (t * j)
                                                                                            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 c * (t * j);
                                                                                            }
                                                                                            
                                                                                            def code(x, y, z, t, a, b, c, i, j):
                                                                                            	return c * (t * j)
                                                                                            
                                                                                            function code(x, y, z, t, a, b, c, i, j)
                                                                                            	return Float64(c * Float64(t * j))
                                                                                            end
                                                                                            
                                                                                            function tmp = code(x, y, z, t, a, b, c, i, j)
                                                                                            	tmp = c * (t * j);
                                                                                            end
                                                                                            
                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(c * N[(t * j), $MachinePrecision]), $MachinePrecision]
                                                                                            
                                                                                            \begin{array}{l}
                                                                                            
                                                                                            \\
                                                                                            c \cdot \left(t \cdot j\right)
                                                                                            \end{array}
                                                                                            
                                                                                            Derivation
                                                                                            1. Initial program 74.7%

                                                                                              \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                                            2. Add Preprocessing
                                                                                            3. Taylor expanded in j around inf

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

                                                                                                \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                                                              2. sub-negN/A

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

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

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

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

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

                                                                                                \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                                                              8. lower-neg.f6444.9

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

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

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

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

                                                                                                  \[\leadsto \left(t \cdot j\right) \cdot c \]
                                                                                                2. Final simplification23.8%

                                                                                                  \[\leadsto c \cdot \left(t \cdot j\right) \]
                                                                                                3. Add Preprocessing

                                                                                                Alternative 22: 21.4% accurate, 5.5× speedup?

                                                                                                \[\begin{array}{l} \\ t \cdot \left(c \cdot j\right) \end{array} \]
                                                                                                (FPCore (x y z t a b c i j) :precision binary64 (* t (* c j)))
                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                                                	return t * (c * j);
                                                                                                }
                                                                                                
                                                                                                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 = t * (c * j)
                                                                                                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 t * (c * j);
                                                                                                }
                                                                                                
                                                                                                def code(x, y, z, t, a, b, c, i, j):
                                                                                                	return t * (c * j)
                                                                                                
                                                                                                function code(x, y, z, t, a, b, c, i, j)
                                                                                                	return Float64(t * Float64(c * j))
                                                                                                end
                                                                                                
                                                                                                function tmp = code(x, y, z, t, a, b, c, i, j)
                                                                                                	tmp = t * (c * j);
                                                                                                end
                                                                                                
                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(t * N[(c * j), $MachinePrecision]), $MachinePrecision]
                                                                                                
                                                                                                \begin{array}{l}
                                                                                                
                                                                                                \\
                                                                                                t \cdot \left(c \cdot j\right)
                                                                                                \end{array}
                                                                                                
                                                                                                Derivation
                                                                                                1. Initial program 74.7%

                                                                                                  \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
                                                                                                2. Add Preprocessing
                                                                                                3. Taylor expanded in j around inf

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

                                                                                                    \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                                                                                                  2. sub-negN/A

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

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

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

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

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

                                                                                                    \[\leadsto j \cdot \mathsf{fma}\left(c, t, i \cdot \color{blue}{\left(\mathsf{neg}\left(y\right)\right)}\right) \]
                                                                                                  8. lower-neg.f6444.9

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

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

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

                                                                                                    \[\leadsto \left(j \cdot c\right) \cdot \color{blue}{t} \]
                                                                                                  2. Final simplification23.1%

                                                                                                    \[\leadsto t \cdot \left(c \cdot j\right) \]
                                                                                                  3. Add Preprocessing

                                                                                                  Developer Target 1: 68.1% accurate, 0.2× speedup?

                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \frac{j \cdot \left({\left(c \cdot t\right)}^{2} - {\left(i \cdot y\right)}^{2}\right)}{c \cdot t + i \cdot y}\\ t_2 := x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\ \mathbf{if}\;t < -8.120978919195912 \cdot 10^{-33}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t < -4.712553818218485 \cdot 10^{-169}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t < -7.633533346031584 \cdot 10^{-308}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t < 1.0535888557455487 \cdot 10^{-139}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \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 (- (* c z) (* i a))))
                                                                                                            (/
                                                                                                             (* j (- (pow (* c t) 2.0) (pow (* i y) 2.0)))
                                                                                                             (+ (* c t) (* i y)))))
                                                                                                          (t_2
                                                                                                           (-
                                                                                                            (* x (- (* z y) (* a t)))
                                                                                                            (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j)))))
                                                                                                     (if (< t -8.120978919195912e-33)
                                                                                                       t_2
                                                                                                       (if (< t -4.712553818218485e-169)
                                                                                                         t_1
                                                                                                         (if (< t -7.633533346031584e-308)
                                                                                                           t_2
                                                                                                           (if (< t 1.0535888557455487e-139) 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 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (pow((c * t), 2.0) - pow((i * y), 2.0))) / ((c * t) + (i * y)));
                                                                                                  	double t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
                                                                                                  	double tmp;
                                                                                                  	if (t < -8.120978919195912e-33) {
                                                                                                  		tmp = t_2;
                                                                                                  	} else if (t < -4.712553818218485e-169) {
                                                                                                  		tmp = t_1;
                                                                                                  	} else if (t < -7.633533346031584e-308) {
                                                                                                  		tmp = t_2;
                                                                                                  	} else if (t < 1.0535888557455487e-139) {
                                                                                                  		tmp = 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 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (((c * t) ** 2.0d0) - ((i * y) ** 2.0d0))) / ((c * t) + (i * y)))
                                                                                                      t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j))
                                                                                                      if (t < (-8.120978919195912d-33)) then
                                                                                                          tmp = t_2
                                                                                                      else if (t < (-4.712553818218485d-169)) then
                                                                                                          tmp = t_1
                                                                                                      else if (t < (-7.633533346031584d-308)) then
                                                                                                          tmp = t_2
                                                                                                      else if (t < 1.0535888557455487d-139) then
                                                                                                          tmp = 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 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (Math.pow((c * t), 2.0) - Math.pow((i * y), 2.0))) / ((c * t) + (i * y)));
                                                                                                  	double t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
                                                                                                  	double tmp;
                                                                                                  	if (t < -8.120978919195912e-33) {
                                                                                                  		tmp = t_2;
                                                                                                  	} else if (t < -4.712553818218485e-169) {
                                                                                                  		tmp = t_1;
                                                                                                  	} else if (t < -7.633533346031584e-308) {
                                                                                                  		tmp = t_2;
                                                                                                  	} else if (t < 1.0535888557455487e-139) {
                                                                                                  		tmp = t_1;
                                                                                                  	} else {
                                                                                                  		tmp = t_2;
                                                                                                  	}
                                                                                                  	return tmp;
                                                                                                  }
                                                                                                  
                                                                                                  def code(x, y, z, t, a, b, c, i, j):
                                                                                                  	t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (math.pow((c * t), 2.0) - math.pow((i * y), 2.0))) / ((c * t) + (i * y)))
                                                                                                  	t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j))
                                                                                                  	tmp = 0
                                                                                                  	if t < -8.120978919195912e-33:
                                                                                                  		tmp = t_2
                                                                                                  	elif t < -4.712553818218485e-169:
                                                                                                  		tmp = t_1
                                                                                                  	elif t < -7.633533346031584e-308:
                                                                                                  		tmp = t_2
                                                                                                  	elif t < 1.0535888557455487e-139:
                                                                                                  		tmp = t_1
                                                                                                  	else:
                                                                                                  		tmp = t_2
                                                                                                  	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(c * z) - Float64(i * a)))) + Float64(Float64(j * Float64((Float64(c * t) ^ 2.0) - (Float64(i * y) ^ 2.0))) / Float64(Float64(c * t) + Float64(i * y))))
                                                                                                  	t_2 = Float64(Float64(x * Float64(Float64(z * y) - Float64(a * t))) - Float64(Float64(b * Float64(Float64(z * c) - Float64(a * i))) - Float64(Float64(Float64(c * t) - Float64(y * i)) * j)))
                                                                                                  	tmp = 0.0
                                                                                                  	if (t < -8.120978919195912e-33)
                                                                                                  		tmp = t_2;
                                                                                                  	elseif (t < -4.712553818218485e-169)
                                                                                                  		tmp = t_1;
                                                                                                  	elseif (t < -7.633533346031584e-308)
                                                                                                  		tmp = t_2;
                                                                                                  	elseif (t < 1.0535888557455487e-139)
                                                                                                  		tmp = 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 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (((c * t) ^ 2.0) - ((i * y) ^ 2.0))) / ((c * t) + (i * y)));
                                                                                                  	t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
                                                                                                  	tmp = 0.0;
                                                                                                  	if (t < -8.120978919195912e-33)
                                                                                                  		tmp = t_2;
                                                                                                  	elseif (t < -4.712553818218485e-169)
                                                                                                  		tmp = t_1;
                                                                                                  	elseif (t < -7.633533346031584e-308)
                                                                                                  		tmp = t_2;
                                                                                                  	elseif (t < 1.0535888557455487e-139)
                                                                                                  		tmp = 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[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[Power[N[(c * t), $MachinePrecision], 2.0], $MachinePrecision] - N[Power[N[(i * y), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(c * t), $MachinePrecision] + N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * N[(N[(z * y), $MachinePrecision] - N[(a * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(c * t), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[t, -8.120978919195912e-33], t$95$2, If[Less[t, -4.712553818218485e-169], t$95$1, If[Less[t, -7.633533346031584e-308], t$95$2, If[Less[t, 1.0535888557455487e-139], t$95$1, t$95$2]]]]]]
                                                                                                  
                                                                                                  \begin{array}{l}
                                                                                                  
                                                                                                  \\
                                                                                                  \begin{array}{l}
                                                                                                  t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \frac{j \cdot \left({\left(c \cdot t\right)}^{2} - {\left(i \cdot y\right)}^{2}\right)}{c \cdot t + i \cdot y}\\
                                                                                                  t_2 := x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\
                                                                                                  \mathbf{if}\;t < -8.120978919195912 \cdot 10^{-33}:\\
                                                                                                  \;\;\;\;t\_2\\
                                                                                                  
                                                                                                  \mathbf{elif}\;t < -4.712553818218485 \cdot 10^{-169}:\\
                                                                                                  \;\;\;\;t\_1\\
                                                                                                  
                                                                                                  \mathbf{elif}\;t < -7.633533346031584 \cdot 10^{-308}:\\
                                                                                                  \;\;\;\;t\_2\\
                                                                                                  
                                                                                                  \mathbf{elif}\;t < 1.0535888557455487 \cdot 10^{-139}:\\
                                                                                                  \;\;\;\;t\_1\\
                                                                                                  
                                                                                                  \mathbf{else}:\\
                                                                                                  \;\;\;\;t\_2\\
                                                                                                  
                                                                                                  
                                                                                                  \end{array}
                                                                                                  \end{array}
                                                                                                  

                                                                                                  Reproduce

                                                                                                  ?
                                                                                                  herbie shell --seed 2024238 
                                                                                                  (FPCore (x y z t a b c i j)
                                                                                                    :name "Linear.Matrix:det33 from linear-1.19.1.3"
                                                                                                    :precision binary64
                                                                                                  
                                                                                                    :alt
                                                                                                    (! :herbie-platform default (if (< t -1015122364899489/125000000000000000000000000000000000000000000000) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t -942510763643697/2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2) (pow (* i y) 2))) (+ (* c t) (* i y)))) (if (< t -238547917063487/3125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t 10535888557455487/100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2) (pow (* i y) 2))) (+ (* c t) (* i y)))) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))))))))
                                                                                                  
                                                                                                    (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))