Linear.Matrix:det33 from linear-1.19.1.3

Percentage Accurate: 73.2% → 83.2%
Time: 13.5s
Alternatives: 21
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 21 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.2% 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.2% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(c \cdot t - i \cdot y\right) \cdot j - \left(\left(a \cdot t - z \cdot y\right) \cdot x - \left(i \cdot a - c \cdot z\right) \cdot b\right)\\ \mathbf{if}\;t\_1 \leq \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\frac{b}{x} \cdot i - t\right) \cdot x\right) \cdot a\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (let* ((t_1
         (-
          (* (- (* c t) (* i y)) j)
          (- (* (- (* a t) (* z y)) x) (* (- (* i a) (* c z)) b)))))
   (if (<= t_1 INFINITY) t_1 (* (* (- (* (/ b x) i) t) x) a))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double t_1 = (((c * t) - (i * y)) * j) - ((((a * t) - (z * y)) * x) - (((i * a) - (c * z)) * b));
	double tmp;
	if (t_1 <= ((double) INFINITY)) {
		tmp = t_1;
	} else {
		tmp = ((((b / x) * i) - t) * x) * a;
	}
	return tmp;
}
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 = (((c * t) - (i * y)) * j) - ((((a * t) - (z * y)) * x) - (((i * a) - (c * z)) * b));
	double tmp;
	if (t_1 <= Double.POSITIVE_INFINITY) {
		tmp = t_1;
	} else {
		tmp = ((((b / x) * i) - t) * x) * a;
	}
	return tmp;
}
def code(x, y, z, t, a, b, c, i, j):
	t_1 = (((c * t) - (i * y)) * j) - ((((a * t) - (z * y)) * x) - (((i * a) - (c * z)) * b))
	tmp = 0
	if t_1 <= math.inf:
		tmp = t_1
	else:
		tmp = ((((b / x) * i) - t) * x) * a
	return tmp
function code(x, y, z, t, a, b, c, i, j)
	t_1 = Float64(Float64(Float64(Float64(c * t) - Float64(i * y)) * j) - Float64(Float64(Float64(Float64(a * t) - Float64(z * y)) * x) - Float64(Float64(Float64(i * a) - Float64(c * z)) * b)))
	tmp = 0.0
	if (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = Float64(Float64(Float64(Float64(Float64(b / x) * i) - t) * x) * a);
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a, b, c, i, j)
	t_1 = (((c * t) - (i * y)) * j) - ((((a * t) - (z * y)) * x) - (((i * a) - (c * z)) * b));
	tmp = 0.0;
	if (t_1 <= Inf)
		tmp = t_1;
	else
		tmp = ((((b / x) * i) - t) * x) * a;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] - N[(N[(N[(N[(a * t), $MachinePrecision] - N[(z * y), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision] - N[(N[(N[(i * a), $MachinePrecision] - N[(c * z), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(N[(N[(N[(N[(b / x), $MachinePrecision] * i), $MachinePrecision] - t), $MachinePrecision] * x), $MachinePrecision] * a), $MachinePrecision]]]
\begin{array}{l}

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

\mathbf{else}:\\
\;\;\;\;\left(\left(\frac{b}{x} \cdot i - t\right) \cdot x\right) \cdot a\\


\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 91.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

    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 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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \left(x \cdot \left(-1 \cdot t + \frac{b \cdot i}{x}\right)\right) \cdot a \]
    7. Step-by-step derivation
      1. Applied rewrites54.6%

        \[\leadsto \left(\left(\frac{i \cdot b}{x} - t\right) \cdot x\right) \cdot a \]
      2. Step-by-step derivation
        1. Applied rewrites63.3%

          \[\leadsto \left(\left(\frac{b}{x} \cdot i - t\right) \cdot x\right) \cdot a \]
      3. Recombined 2 regimes into one program.
      4. Final simplification86.3%

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

      Alternative 2: 79.4% accurate, 0.9× speedup?

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

        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 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.9%

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

        if -7.7999999999999997e27 < t < 2.0999999999999999e-111

        1. Initial program 83.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 0

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

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

      Alternative 3: 78.3% accurate, 0.9× speedup?

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

        1. Initial program 50.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 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 rewrites42.2%

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

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

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

            \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-j, y, b \cdot a\right), i, c \cdot \left(j \cdot t\right)\right) \]
          3. Step-by-step derivation
            1. Applied rewrites83.3%

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

            if -2.60000000000000003e192 < i < 1.74999999999999986e268

            1. Initial program 79.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 rewrites83.6%

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

            if 1.74999999999999986e268 < i

            1. Initial program 40.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 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. *-commutativeN/A

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

                \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right) \cdot i} \]
              3. sub-negN/A

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

                \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\right)\right) \cdot i \]
              5. associate-*r*N/A

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

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

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

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

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

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

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

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

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

          Alternative 4: 55.6% accurate, 1.0× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-z, c \cdot b, \mathsf{fma}\left(-i, j, z \cdot x\right) \cdot y\right)\\ t_2 := \mathsf{fma}\left(\mathsf{fma}\left(-j, y, b \cdot a\right), i, \left(j \cdot t\right) \cdot c\right)\\ \mathbf{if}\;i \leq -2.45 \cdot 10^{+85}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;i \leq -5.1 \cdot 10^{-57}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq 2.6 \cdot 10^{-280}:\\ \;\;\;\;\mathsf{fma}\left(-x, a, j \cdot c\right) \cdot t\\ \mathbf{elif}\;i \leq 1.7 \cdot 10^{-138}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq 4.2 \cdot 10^{-44}:\\ \;\;\;\;\mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
          (FPCore (x y z t a b c i j)
           :precision binary64
           (let* ((t_1 (fma (- z) (* c b) (* (fma (- i) j (* z x)) y)))
                  (t_2 (fma (fma (- j) y (* b a)) i (* (* j t) c))))
             (if (<= i -2.45e+85)
               t_2
               (if (<= i -5.1e-57)
                 t_1
                 (if (<= i 2.6e-280)
                   (* (fma (- x) a (* j c)) t)
                   (if (<= i 1.7e-138)
                     t_1
                     (if (<= i 4.2e-44) (* (fma (- x) t (* i b)) a) 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(-z, (c * b), (fma(-i, j, (z * x)) * y));
          	double t_2 = fma(fma(-j, y, (b * a)), i, ((j * t) * c));
          	double tmp;
          	if (i <= -2.45e+85) {
          		tmp = t_2;
          	} else if (i <= -5.1e-57) {
          		tmp = t_1;
          	} else if (i <= 2.6e-280) {
          		tmp = fma(-x, a, (j * c)) * t;
          	} else if (i <= 1.7e-138) {
          		tmp = t_1;
          	} else if (i <= 4.2e-44) {
          		tmp = fma(-x, t, (i * b)) * a;
          	} else {
          		tmp = t_2;
          	}
          	return tmp;
          }
          
          function code(x, y, z, t, a, b, c, i, j)
          	t_1 = fma(Float64(-z), Float64(c * b), Float64(fma(Float64(-i), j, Float64(z * x)) * y))
          	t_2 = fma(fma(Float64(-j), y, Float64(b * a)), i, Float64(Float64(j * t) * c))
          	tmp = 0.0
          	if (i <= -2.45e+85)
          		tmp = t_2;
          	elseif (i <= -5.1e-57)
          		tmp = t_1;
          	elseif (i <= 2.6e-280)
          		tmp = Float64(fma(Float64(-x), a, Float64(j * c)) * t);
          	elseif (i <= 1.7e-138)
          		tmp = t_1;
          	elseif (i <= 4.2e-44)
          		tmp = Float64(fma(Float64(-x), t, Float64(i * b)) * a);
          	else
          		tmp = t_2;
          	end
          	return tmp
          end
          
          code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[((-z) * N[(c * b), $MachinePrecision] + N[(N[((-i) * j + N[(z * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[((-j) * y + N[(b * a), $MachinePrecision]), $MachinePrecision] * i + N[(N[(j * t), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -2.45e+85], t$95$2, If[LessEqual[i, -5.1e-57], t$95$1, If[LessEqual[i, 2.6e-280], N[(N[((-x) * a + N[(j * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[i, 1.7e-138], t$95$1, If[LessEqual[i, 4.2e-44], N[(N[((-x) * t + N[(i * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], t$95$2]]]]]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := \mathsf{fma}\left(-z, c \cdot b, \mathsf{fma}\left(-i, j, z \cdot x\right) \cdot y\right)\\
          t_2 := \mathsf{fma}\left(\mathsf{fma}\left(-j, y, b \cdot a\right), i, \left(j \cdot t\right) \cdot c\right)\\
          \mathbf{if}\;i \leq -2.45 \cdot 10^{+85}:\\
          \;\;\;\;t\_2\\
          
          \mathbf{elif}\;i \leq -5.1 \cdot 10^{-57}:\\
          \;\;\;\;t\_1\\
          
          \mathbf{elif}\;i \leq 2.6 \cdot 10^{-280}:\\
          \;\;\;\;\mathsf{fma}\left(-x, a, j \cdot c\right) \cdot t\\
          
          \mathbf{elif}\;i \leq 1.7 \cdot 10^{-138}:\\
          \;\;\;\;t\_1\\
          
          \mathbf{elif}\;i \leq 4.2 \cdot 10^{-44}:\\
          \;\;\;\;\mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\\
          
          \mathbf{else}:\\
          \;\;\;\;t\_2\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 4 regimes
          2. if i < -2.4499999999999998e85 or 4.20000000000000003e-44 < i

            1. Initial program 63.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 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 rewrites72.9%

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

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

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

                \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-j, y, b \cdot a\right), i, c \cdot \left(j \cdot t\right)\right) \]
              3. Step-by-step derivation
                1. Applied rewrites74.0%

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

                if -2.4499999999999998e85 < i < -5.1e-57 or 2.6e-280 < i < 1.7000000000000001e-138

                1. Initial program 87.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 0

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

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

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

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

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

                    \[\leadsto j \cdot \left(c \cdot t - i \cdot y\right) + \left(\left(x \cdot y\right) \cdot z - \color{blue}{\left(b \cdot c\right) \cdot z}\right) \]
                  6. distribute-rgt-out--N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                  \[\leadsto -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + \color{blue}{z \cdot \left(-1 \cdot \left(b \cdot c\right) + x \cdot y\right)} \]
                7. Step-by-step derivation
                  1. Applied rewrites72.5%

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

                  if -5.1e-57 < i < 2.6e-280

                  1. Initial program 79.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 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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

                  if 1.7000000000000001e-138 < i < 4.20000000000000003e-44

                  1. Initial program 87.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 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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

                    \[\leadsto \color{blue}{\mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a} \]
                8. Recombined 4 regimes into one program.
                9. Add Preprocessing

                Alternative 5: 54.3% accurate, 1.0× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\mathsf{fma}\left(-j, y, b \cdot a\right), i, \left(j \cdot t\right) \cdot c\right)\\ \mathbf{if}\;i \leq -1.3 \cdot 10^{+42}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -6 \cdot 10^{-57}:\\ \;\;\;\;\mathsf{fma}\left(-z, c, i \cdot a\right) \cdot b\\ \mathbf{elif}\;i \leq 7 \cdot 10^{-280}:\\ \;\;\;\;\mathsf{fma}\left(-x, a, j \cdot c\right) \cdot t\\ \mathbf{elif}\;i \leq 3.05 \cdot 10^{-139}:\\ \;\;\;\;\mathsf{fma}\left(-b, c, y \cdot x\right) \cdot z\\ \mathbf{elif}\;i \leq 4.2 \cdot 10^{-44}:\\ \;\;\;\;\mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                (FPCore (x y z t a b c i j)
                 :precision binary64
                 (let* ((t_1 (fma (fma (- j) y (* b a)) i (* (* j t) c))))
                   (if (<= i -1.3e+42)
                     t_1
                     (if (<= i -6e-57)
                       (* (fma (- z) c (* i a)) b)
                       (if (<= i 7e-280)
                         (* (fma (- x) a (* j c)) t)
                         (if (<= i 3.05e-139)
                           (* (fma (- b) c (* y x)) z)
                           (if (<= i 4.2e-44) (* (fma (- x) t (* i b)) a) 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(fma(-j, y, (b * a)), i, ((j * t) * c));
                	double tmp;
                	if (i <= -1.3e+42) {
                		tmp = t_1;
                	} else if (i <= -6e-57) {
                		tmp = fma(-z, c, (i * a)) * b;
                	} else if (i <= 7e-280) {
                		tmp = fma(-x, a, (j * c)) * t;
                	} else if (i <= 3.05e-139) {
                		tmp = fma(-b, c, (y * x)) * z;
                	} else if (i <= 4.2e-44) {
                		tmp = fma(-x, t, (i * b)) * a;
                	} else {
                		tmp = t_1;
                	}
                	return tmp;
                }
                
                function code(x, y, z, t, a, b, c, i, j)
                	t_1 = fma(fma(Float64(-j), y, Float64(b * a)), i, Float64(Float64(j * t) * c))
                	tmp = 0.0
                	if (i <= -1.3e+42)
                		tmp = t_1;
                	elseif (i <= -6e-57)
                		tmp = Float64(fma(Float64(-z), c, Float64(i * a)) * b);
                	elseif (i <= 7e-280)
                		tmp = Float64(fma(Float64(-x), a, Float64(j * c)) * t);
                	elseif (i <= 3.05e-139)
                		tmp = Float64(fma(Float64(-b), c, Float64(y * x)) * z);
                	elseif (i <= 4.2e-44)
                		tmp = Float64(fma(Float64(-x), t, Float64(i * b)) * a);
                	else
                		tmp = t_1;
                	end
                	return tmp
                end
                
                code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[((-j) * y + N[(b * a), $MachinePrecision]), $MachinePrecision] * i + N[(N[(j * t), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.3e+42], t$95$1, If[LessEqual[i, -6e-57], N[(N[((-z) * c + N[(i * a), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[i, 7e-280], N[(N[((-x) * a + N[(j * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[i, 3.05e-139], N[(N[((-b) * c + N[(y * x), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[i, 4.2e-44], N[(N[((-x) * t + N[(i * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], t$95$1]]]]]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                t_1 := \mathsf{fma}\left(\mathsf{fma}\left(-j, y, b \cdot a\right), i, \left(j \cdot t\right) \cdot c\right)\\
                \mathbf{if}\;i \leq -1.3 \cdot 10^{+42}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{elif}\;i \leq -6 \cdot 10^{-57}:\\
                \;\;\;\;\mathsf{fma}\left(-z, c, i \cdot a\right) \cdot b\\
                
                \mathbf{elif}\;i \leq 7 \cdot 10^{-280}:\\
                \;\;\;\;\mathsf{fma}\left(-x, a, j \cdot c\right) \cdot t\\
                
                \mathbf{elif}\;i \leq 3.05 \cdot 10^{-139}:\\
                \;\;\;\;\mathsf{fma}\left(-b, c, y \cdot x\right) \cdot z\\
                
                \mathbf{elif}\;i \leq 4.2 \cdot 10^{-44}:\\
                \;\;\;\;\mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\\
                
                \mathbf{else}:\\
                \;\;\;\;t\_1\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 5 regimes
                2. if i < -1.29999999999999995e42 or 4.20000000000000003e-44 < i

                  1. Initial program 65.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 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 rewrites72.5%

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

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

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

                      \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-j, y, b \cdot a\right), i, c \cdot \left(j \cdot t\right)\right) \]
                    3. Step-by-step derivation
                      1. Applied rewrites72.7%

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

                      if -1.29999999999999995e42 < i < -6.00000000000000001e-57

                      1. Initial program 80.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 b around inf

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

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

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

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

                          \[\leadsto \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) \cdot b \]
                        5. distribute-neg-inN/A

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

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

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

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

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

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

                          \[\leadsto \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)} \cdot b \]
                        12. *-commutativeN/A

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

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

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

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

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

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

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

                          \[\leadsto \mathsf{fma}\left(-z, c, \color{blue}{i \cdot a}\right) \cdot b \]
                        20. lower-*.f6462.2

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

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

                      if -6.00000000000000001e-57 < i < 7.0000000000000002e-280

                      1. Initial program 79.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 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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

                      if 7.0000000000000002e-280 < i < 3.0499999999999999e-139

                      1. Initial program 95.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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

                      if 3.0499999999999999e-139 < i < 4.20000000000000003e-44

                      1. Initial program 87.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 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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

                        \[\leadsto \color{blue}{\mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a} \]
                    4. Recombined 5 regimes into one program.
                    5. Add Preprocessing

                    Alternative 6: 71.2% accurate, 1.2× speedup?

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

                      1. Initial program 66.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 a around 0

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

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

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

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

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

                          \[\leadsto j \cdot \left(c \cdot t - i \cdot y\right) + \left(\left(x \cdot y\right) \cdot z - \color{blue}{\left(b \cdot c\right) \cdot z}\right) \]
                        6. distribute-rgt-out--N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                      if -2.9e52 < z < 9.8000000000000008e37

                      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 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(\mathsf{fma}\left(-z, c, i \cdot a\right), b, \mathsf{fma}\left(\mathsf{fma}\left(-x, a, j \cdot c\right), t, \mathsf{fma}\left(-i, j, z \cdot x\right) \cdot y\right)\right)} \]
                      5. Taylor expanded in z around 0

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

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

                      Alternative 7: 67.1% accurate, 1.2× speedup?

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

                        1. Initial program 65.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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

                        if -1.54999999999999993e193 < z < 5.5e14

                        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 rewrites79.9%

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

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

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

                          if 5.5e14 < z

                          1. Initial program 62.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 0

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

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

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

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

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

                              \[\leadsto j \cdot \left(c \cdot t - i \cdot y\right) + \left(\left(x \cdot y\right) \cdot z - \color{blue}{\left(b \cdot c\right) \cdot z}\right) \]
                            6. distribute-rgt-out--N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                            \[\leadsto -1 \cdot \left(i \cdot \left(j \cdot y\right)\right) + \color{blue}{z \cdot \left(-1 \cdot \left(b \cdot c\right) + x \cdot y\right)} \]
                          7. Step-by-step derivation
                            1. Applied rewrites76.8%

                              \[\leadsto \mathsf{fma}\left(-z, \color{blue}{c \cdot b}, \mathsf{fma}\left(-i, j, z \cdot x\right) \cdot y\right) \]
                          8. Recombined 3 regimes into one program.
                          9. Add Preprocessing

                          Alternative 8: 38.0% accurate, 1.4× speedup?

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

                            1. Initial program 65.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. *-commutativeN/A

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

                                \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right) \cdot i} \]
                              3. sub-negN/A

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

                                \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\right)\right) \cdot i \]
                              5. associate-*r*N/A

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

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

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

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

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

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

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

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

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

                              \[\leadsto \left(a \cdot b\right) \cdot i \]
                            7. Step-by-step derivation
                              1. Applied rewrites51.1%

                                \[\leadsto \left(b \cdot a\right) \cdot i \]

                              if -2.65e85 < i < -7.2000000000000001e-117 or -2.50000000000000015e-296 < i < 1.14999999999999996e-45

                              1. Initial program 89.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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

                              if -7.2000000000000001e-117 < i < -2.50000000000000015e-296

                              1. Initial program 74.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 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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

                                \[\leadsto \left(-1 \cdot \left(t \cdot x\right)\right) \cdot a \]
                              7. Step-by-step derivation
                                1. Applied rewrites57.3%

                                  \[\leadsto \left(\left(-t\right) \cdot x\right) \cdot a \]

                                if 1.14999999999999996e-45 < i < 7.39999999999999995e59

                                1. Initial program 68.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 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.1%

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

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

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

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

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

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

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

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

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

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

                                    \[\leadsto \mathsf{fma}\left(\color{blue}{-i}, y, c \cdot t\right) \cdot j \]
                                  10. lower-*.f6442.5

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

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

                                  \[\leadsto \left(c \cdot t\right) \cdot j \]
                                9. Step-by-step derivation
                                  1. Applied rewrites42.0%

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

                                  if 7.39999999999999995e59 < i

                                  1. Initial program 59.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 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 rewrites76.9%

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

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

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

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

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

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

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

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

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

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

                                      \[\leadsto \mathsf{fma}\left(\color{blue}{-i}, y, c \cdot t\right) \cdot j \]
                                    10. lower-*.f6450.0

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

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

                                    \[\leadsto \left(-1 \cdot \left(i \cdot y\right)\right) \cdot j \]
                                  9. Step-by-step derivation
                                    1. Applied rewrites41.4%

                                      \[\leadsto \left(\left(-y\right) \cdot i\right) \cdot j \]
                                  10. Recombined 5 regimes into one program.
                                  11. Add Preprocessing

                                  Alternative 9: 51.2% accurate, 1.4× speedup?

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

                                    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 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. *-commutativeN/A

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

                                        \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right) \cdot i} \]
                                      3. sub-negN/A

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

                                        \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\right)\right) \cdot i \]
                                      5. associate-*r*N/A

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

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

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

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

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

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

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

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

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

                                    if -7.2000000000000005e-57 < i < 7.0000000000000002e-280

                                    1. Initial program 79.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 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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

                                    if 7.0000000000000002e-280 < i < 3.0499999999999999e-139

                                    1. Initial program 95.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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

                                    if 3.0499999999999999e-139 < i < 3.1e114

                                    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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

                                  Alternative 10: 41.8% accurate, 1.4× speedup?

                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-i, j, z \cdot x\right) \cdot y\\ \mathbf{if}\;i \leq -2.25 \cdot 10^{+175}:\\ \;\;\;\;\left(b \cdot a\right) \cdot i\\ \mathbf{elif}\;i \leq -7.4 \cdot 10^{-134}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -2.5 \cdot 10^{-296}:\\ \;\;\;\;\left(\left(-t\right) \cdot x\right) \cdot a\\ \mathbf{elif}\;i \leq 1.4 \cdot 10^{-23}:\\ \;\;\;\;\mathsf{fma}\left(-b, c, y \cdot x\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                  (FPCore (x y z t a b c i j)
                                   :precision binary64
                                   (let* ((t_1 (* (fma (- i) j (* z x)) y)))
                                     (if (<= i -2.25e+175)
                                       (* (* b a) i)
                                       (if (<= i -7.4e-134)
                                         t_1
                                         (if (<= i -2.5e-296)
                                           (* (* (- t) x) a)
                                           (if (<= i 1.4e-23) (* (fma (- b) c (* 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 = fma(-i, j, (z * x)) * y;
                                  	double tmp;
                                  	if (i <= -2.25e+175) {
                                  		tmp = (b * a) * i;
                                  	} else if (i <= -7.4e-134) {
                                  		tmp = t_1;
                                  	} else if (i <= -2.5e-296) {
                                  		tmp = (-t * x) * a;
                                  	} else if (i <= 1.4e-23) {
                                  		tmp = fma(-b, c, (y * x)) * z;
                                  	} else {
                                  		tmp = t_1;
                                  	}
                                  	return tmp;
                                  }
                                  
                                  function code(x, y, z, t, a, b, c, i, j)
                                  	t_1 = Float64(fma(Float64(-i), j, Float64(z * x)) * y)
                                  	tmp = 0.0
                                  	if (i <= -2.25e+175)
                                  		tmp = Float64(Float64(b * a) * i);
                                  	elseif (i <= -7.4e-134)
                                  		tmp = t_1;
                                  	elseif (i <= -2.5e-296)
                                  		tmp = Float64(Float64(Float64(-t) * x) * a);
                                  	elseif (i <= 1.4e-23)
                                  		tmp = Float64(fma(Float64(-b), c, Float64(y * 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[(N[((-i) * j + N[(z * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[i, -2.25e+175], N[(N[(b * a), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[i, -7.4e-134], t$95$1, If[LessEqual[i, -2.5e-296], N[(N[((-t) * x), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[i, 1.4e-23], N[(N[((-b) * c + N[(y * x), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], t$95$1]]]]]
                                  
                                  \begin{array}{l}
                                  
                                  \\
                                  \begin{array}{l}
                                  t_1 := \mathsf{fma}\left(-i, j, z \cdot x\right) \cdot y\\
                                  \mathbf{if}\;i \leq -2.25 \cdot 10^{+175}:\\
                                  \;\;\;\;\left(b \cdot a\right) \cdot i\\
                                  
                                  \mathbf{elif}\;i \leq -7.4 \cdot 10^{-134}:\\
                                  \;\;\;\;t\_1\\
                                  
                                  \mathbf{elif}\;i \leq -2.5 \cdot 10^{-296}:\\
                                  \;\;\;\;\left(\left(-t\right) \cdot x\right) \cdot a\\
                                  
                                  \mathbf{elif}\;i \leq 1.4 \cdot 10^{-23}:\\
                                  \;\;\;\;\mathsf{fma}\left(-b, c, y \cdot x\right) \cdot z\\
                                  
                                  \mathbf{else}:\\
                                  \;\;\;\;t\_1\\
                                  
                                  
                                  \end{array}
                                  \end{array}
                                  
                                  Derivation
                                  1. Split input into 4 regimes
                                  2. if i < -2.24999999999999995e175

                                    1. Initial program 56.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. *-commutativeN/A

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

                                        \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right) \cdot i} \]
                                      3. sub-negN/A

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

                                        \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\right)\right) \cdot i \]
                                      5. associate-*r*N/A

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

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

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

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

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

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

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

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

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

                                      \[\leadsto \left(a \cdot b\right) \cdot i \]
                                    7. Step-by-step derivation
                                      1. Applied rewrites60.1%

                                        \[\leadsto \left(b \cdot a\right) \cdot i \]

                                      if -2.24999999999999995e175 < i < -7.3999999999999999e-134 or 1.3999999999999999e-23 < i

                                      1. Initial program 70.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 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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

                                      if -7.3999999999999999e-134 < i < -2.50000000000000015e-296

                                      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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

                                        \[\leadsto \left(-1 \cdot \left(t \cdot x\right)\right) \cdot a \]
                                      7. Step-by-step derivation
                                        1. Applied rewrites60.2%

                                          \[\leadsto \left(\left(-t\right) \cdot x\right) \cdot a \]

                                        if -2.50000000000000015e-296 < i < 1.3999999999999999e-23

                                        1. Initial program 91.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 z around inf

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

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

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

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

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

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

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

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

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

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

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

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

                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-b, c, y \cdot x\right) \cdot z} \]
                                      8. Recombined 4 regimes into one program.
                                      9. Add Preprocessing

                                      Alternative 11: 54.2% accurate, 1.5× speedup?

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

                                        1. Initial program 75.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 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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

                                          \[\leadsto \left(x \cdot \left(-1 \cdot t + \frac{b \cdot i}{x}\right)\right) \cdot a \]
                                        7. Step-by-step derivation
                                          1. Applied rewrites68.0%

                                            \[\leadsto \left(\left(\frac{i \cdot b}{x} - t\right) \cdot x\right) \cdot a \]
                                          2. Step-by-step derivation
                                            1. Applied rewrites71.5%

                                              \[\leadsto \left(\left(\frac{b}{x} \cdot i - t\right) \cdot x\right) \cdot a \]

                                            if -1.02000000000000005e90 < x < 1.6599999999999999e97

                                            1. Initial program 74.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 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 rewrites83.7%

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

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

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

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

                                                  \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-j, y, b \cdot a\right), i, \left(j \cdot t\right) \cdot c\right) \]
                                              4. Recombined 2 regimes into one program.
                                              5. Add Preprocessing

                                              Alternative 12: 29.3% accurate, 2.0× speedup?

                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(-t\right) \cdot x\right) \cdot a\\ \mathbf{if}\;x \leq -5.2 \cdot 10^{-34}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;x \leq 6.2 \cdot 10^{-294}:\\ \;\;\;\;\left(\left(-y\right) \cdot j\right) \cdot i\\ \mathbf{elif}\;x \leq 3600000:\\ \;\;\;\;\left(b \cdot a\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                              (FPCore (x y z t a b c i j)
                                               :precision binary64
                                               (let* ((t_1 (* (* (- t) x) a)))
                                                 (if (<= x -5.2e-34)
                                                   t_1
                                                   (if (<= x 6.2e-294)
                                                     (* (* (- y) j) i)
                                                     (if (<= x 3600000.0) (* (* b 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 = (-t * x) * a;
                                              	double tmp;
                                              	if (x <= -5.2e-34) {
                                              		tmp = t_1;
                                              	} else if (x <= 6.2e-294) {
                                              		tmp = (-y * j) * i;
                                              	} else if (x <= 3600000.0) {
                                              		tmp = (b * a) * i;
                                              	} 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 = (-t * x) * a
                                                  if (x <= (-5.2d-34)) then
                                                      tmp = t_1
                                                  else if (x <= 6.2d-294) then
                                                      tmp = (-y * j) * i
                                                  else if (x <= 3600000.0d0) then
                                                      tmp = (b * a) * i
                                                  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 = (-t * x) * a;
                                              	double tmp;
                                              	if (x <= -5.2e-34) {
                                              		tmp = t_1;
                                              	} else if (x <= 6.2e-294) {
                                              		tmp = (-y * j) * i;
                                              	} else if (x <= 3600000.0) {
                                              		tmp = (b * a) * i;
                                              	} else {
                                              		tmp = t_1;
                                              	}
                                              	return tmp;
                                              }
                                              
                                              def code(x, y, z, t, a, b, c, i, j):
                                              	t_1 = (-t * x) * a
                                              	tmp = 0
                                              	if x <= -5.2e-34:
                                              		tmp = t_1
                                              	elif x <= 6.2e-294:
                                              		tmp = (-y * j) * i
                                              	elif x <= 3600000.0:
                                              		tmp = (b * a) * i
                                              	else:
                                              		tmp = t_1
                                              	return tmp
                                              
                                              function code(x, y, z, t, a, b, c, i, j)
                                              	t_1 = Float64(Float64(Float64(-t) * x) * a)
                                              	tmp = 0.0
                                              	if (x <= -5.2e-34)
                                              		tmp = t_1;
                                              	elseif (x <= 6.2e-294)
                                              		tmp = Float64(Float64(Float64(-y) * j) * i);
                                              	elseif (x <= 3600000.0)
                                              		tmp = Float64(Float64(b * a) * i);
                                              	else
                                              		tmp = t_1;
                                              	end
                                              	return tmp
                                              end
                                              
                                              function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                              	t_1 = (-t * x) * a;
                                              	tmp = 0.0;
                                              	if (x <= -5.2e-34)
                                              		tmp = t_1;
                                              	elseif (x <= 6.2e-294)
                                              		tmp = (-y * j) * i;
                                              	elseif (x <= 3600000.0)
                                              		tmp = (b * a) * i;
                                              	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[((-t) * x), $MachinePrecision] * a), $MachinePrecision]}, If[LessEqual[x, -5.2e-34], t$95$1, If[LessEqual[x, 6.2e-294], N[(N[((-y) * j), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[x, 3600000.0], N[(N[(b * a), $MachinePrecision] * i), $MachinePrecision], t$95$1]]]]
                                              
                                              \begin{array}{l}
                                              
                                              \\
                                              \begin{array}{l}
                                              t_1 := \left(\left(-t\right) \cdot x\right) \cdot a\\
                                              \mathbf{if}\;x \leq -5.2 \cdot 10^{-34}:\\
                                              \;\;\;\;t\_1\\
                                              
                                              \mathbf{elif}\;x \leq 6.2 \cdot 10^{-294}:\\
                                              \;\;\;\;\left(\left(-y\right) \cdot j\right) \cdot i\\
                                              
                                              \mathbf{elif}\;x \leq 3600000:\\
                                              \;\;\;\;\left(b \cdot a\right) \cdot i\\
                                              
                                              \mathbf{else}:\\
                                              \;\;\;\;t\_1\\
                                              
                                              
                                              \end{array}
                                              \end{array}
                                              
                                              Derivation
                                              1. Split input into 3 regimes
                                              2. if x < -5.1999999999999999e-34 or 3.6e6 < x

                                                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 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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                  \[\leadsto \left(-1 \cdot \left(t \cdot x\right)\right) \cdot a \]
                                                7. Step-by-step derivation
                                                  1. Applied rewrites50.8%

                                                    \[\leadsto \left(\left(-t\right) \cdot x\right) \cdot a \]

                                                  if -5.1999999999999999e-34 < x < 6.20000000000000007e-294

                                                  1. Initial program 71.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 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 rewrites83.8%

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

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

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

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

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

                                                      if 6.20000000000000007e-294 < x < 3.6e6

                                                      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 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. *-commutativeN/A

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

                                                          \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right) \cdot i} \]
                                                        3. sub-negN/A

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

                                                          \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\right)\right) \cdot i \]
                                                        5. associate-*r*N/A

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

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

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

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

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

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

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

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

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

                                                        \[\leadsto \left(a \cdot b\right) \cdot i \]
                                                      7. Step-by-step derivation
                                                        1. Applied rewrites38.8%

                                                          \[\leadsto \left(b \cdot a\right) \cdot i \]
                                                      8. Recombined 3 regimes into one program.
                                                      9. Final simplification44.4%

                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -5.2 \cdot 10^{-34}:\\ \;\;\;\;\left(\left(-t\right) \cdot x\right) \cdot a\\ \mathbf{elif}\;x \leq 6.2 \cdot 10^{-294}:\\ \;\;\;\;\left(\left(-y\right) \cdot j\right) \cdot i\\ \mathbf{elif}\;x \leq 3600000:\\ \;\;\;\;\left(b \cdot a\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-t\right) \cdot x\right) \cdot a\\ \end{array} \]
                                                      10. Add Preprocessing

                                                      Alternative 13: 52.7% accurate, 2.0× speedup?

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

                                                        1. Initial program 70.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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

                                                        if -5.50000000000000024e-32 < y < 1.99999999999999997e73

                                                        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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                      Alternative 14: 52.0% accurate, 2.0× speedup?

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

                                                        1. Initial program 69.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 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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

                                                        if -8.8000000000000001e46 < t < 3.60000000000000005e81

                                                        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 inf

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

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

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

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

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

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

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

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

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

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

                                                      Alternative 15: 51.7% accurate, 2.0× speedup?

                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-b, c, y \cdot x\right) \cdot z\\ \mathbf{if}\;z \leq -9.5 \cdot 10^{+114}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 1.06 \cdot 10^{+99}:\\ \;\;\;\;\mathsf{fma}\left(-i, y, c \cdot t\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                      (FPCore (x y z t a b c i j)
                                                       :precision binary64
                                                       (let* ((t_1 (* (fma (- b) c (* y x)) z)))
                                                         (if (<= z -9.5e+114)
                                                           t_1
                                                           (if (<= z 1.06e+99) (* (fma (- i) y (* 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 = fma(-b, c, (y * x)) * z;
                                                      	double tmp;
                                                      	if (z <= -9.5e+114) {
                                                      		tmp = t_1;
                                                      	} else if (z <= 1.06e+99) {
                                                      		tmp = fma(-i, y, (c * t)) * j;
                                                      	} else {
                                                      		tmp = t_1;
                                                      	}
                                                      	return tmp;
                                                      }
                                                      
                                                      function code(x, y, z, t, a, b, c, i, j)
                                                      	t_1 = Float64(fma(Float64(-b), c, Float64(y * x)) * z)
                                                      	tmp = 0.0
                                                      	if (z <= -9.5e+114)
                                                      		tmp = t_1;
                                                      	elseif (z <= 1.06e+99)
                                                      		tmp = Float64(fma(Float64(-i), y, Float64(c * 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[(N[((-b) * c + N[(y * x), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, If[LessEqual[z, -9.5e+114], t$95$1, If[LessEqual[z, 1.06e+99], N[(N[((-i) * y + N[(c * t), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], t$95$1]]]
                                                      
                                                      \begin{array}{l}
                                                      
                                                      \\
                                                      \begin{array}{l}
                                                      t_1 := \mathsf{fma}\left(-b, c, y \cdot x\right) \cdot z\\
                                                      \mathbf{if}\;z \leq -9.5 \cdot 10^{+114}:\\
                                                      \;\;\;\;t\_1\\
                                                      
                                                      \mathbf{elif}\;z \leq 1.06 \cdot 10^{+99}:\\
                                                      \;\;\;\;\mathsf{fma}\left(-i, y, c \cdot t\right) \cdot j\\
                                                      
                                                      \mathbf{else}:\\
                                                      \;\;\;\;t\_1\\
                                                      
                                                      
                                                      \end{array}
                                                      \end{array}
                                                      
                                                      Derivation
                                                      1. Split input into 2 regimes
                                                      2. if z < -9.5000000000000001e114 or 1.05999999999999999e99 < z

                                                        1. Initial program 66.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 z around inf

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                        if -9.5000000000000001e114 < z < 1.05999999999999999e99

                                                        1. Initial program 78.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 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 rewrites81.4%

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

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

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

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

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

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

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

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

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

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

                                                            \[\leadsto \mathsf{fma}\left(\color{blue}{-i}, y, c \cdot t\right) \cdot j \]
                                                          10. lower-*.f6445.7

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

                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-i, y, c \cdot t\right) \cdot j} \]
                                                      3. Recombined 2 regimes into one program.
                                                      4. Add Preprocessing

                                                      Alternative 16: 30.0% accurate, 2.1× speedup?

                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(c \cdot t\right) \cdot j\\ \mathbf{if}\;t \leq -1.15 \cdot 10^{+78}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -6.8:\\ \;\;\;\;\left(z \cdot y\right) \cdot x\\ \mathbf{elif}\;t \leq 4.5 \cdot 10^{+89}:\\ \;\;\;\;\left(i \cdot b\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                      (FPCore (x y z t a b c i j)
                                                       :precision binary64
                                                       (let* ((t_1 (* (* c t) j)))
                                                         (if (<= t -1.15e+78)
                                                           t_1
                                                           (if (<= t -6.8) (* (* z y) x) (if (<= t 4.5e+89) (* (* i b) a) 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 * t) * j;
                                                      	double tmp;
                                                      	if (t <= -1.15e+78) {
                                                      		tmp = t_1;
                                                      	} else if (t <= -6.8) {
                                                      		tmp = (z * y) * x;
                                                      	} else if (t <= 4.5e+89) {
                                                      		tmp = (i * b) * a;
                                                      	} 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 = (c * t) * j
                                                          if (t <= (-1.15d+78)) then
                                                              tmp = t_1
                                                          else if (t <= (-6.8d0)) then
                                                              tmp = (z * y) * x
                                                          else if (t <= 4.5d+89) then
                                                              tmp = (i * b) * a
                                                          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 = (c * t) * j;
                                                      	double tmp;
                                                      	if (t <= -1.15e+78) {
                                                      		tmp = t_1;
                                                      	} else if (t <= -6.8) {
                                                      		tmp = (z * y) * x;
                                                      	} else if (t <= 4.5e+89) {
                                                      		tmp = (i * b) * a;
                                                      	} else {
                                                      		tmp = t_1;
                                                      	}
                                                      	return tmp;
                                                      }
                                                      
                                                      def code(x, y, z, t, a, b, c, i, j):
                                                      	t_1 = (c * t) * j
                                                      	tmp = 0
                                                      	if t <= -1.15e+78:
                                                      		tmp = t_1
                                                      	elif t <= -6.8:
                                                      		tmp = (z * y) * x
                                                      	elif t <= 4.5e+89:
                                                      		tmp = (i * b) * a
                                                      	else:
                                                      		tmp = t_1
                                                      	return tmp
                                                      
                                                      function code(x, y, z, t, a, b, c, i, j)
                                                      	t_1 = Float64(Float64(c * t) * j)
                                                      	tmp = 0.0
                                                      	if (t <= -1.15e+78)
                                                      		tmp = t_1;
                                                      	elseif (t <= -6.8)
                                                      		tmp = Float64(Float64(z * y) * x);
                                                      	elseif (t <= 4.5e+89)
                                                      		tmp = Float64(Float64(i * b) * a);
                                                      	else
                                                      		tmp = t_1;
                                                      	end
                                                      	return tmp
                                                      end
                                                      
                                                      function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                      	t_1 = (c * t) * j;
                                                      	tmp = 0.0;
                                                      	if (t <= -1.15e+78)
                                                      		tmp = t_1;
                                                      	elseif (t <= -6.8)
                                                      		tmp = (z * y) * x;
                                                      	elseif (t <= 4.5e+89)
                                                      		tmp = (i * b) * a;
                                                      	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[(c * t), $MachinePrecision] * j), $MachinePrecision]}, If[LessEqual[t, -1.15e+78], t$95$1, If[LessEqual[t, -6.8], N[(N[(z * y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[t, 4.5e+89], N[(N[(i * b), $MachinePrecision] * a), $MachinePrecision], t$95$1]]]]
                                                      
                                                      \begin{array}{l}
                                                      
                                                      \\
                                                      \begin{array}{l}
                                                      t_1 := \left(c \cdot t\right) \cdot j\\
                                                      \mathbf{if}\;t \leq -1.15 \cdot 10^{+78}:\\
                                                      \;\;\;\;t\_1\\
                                                      
                                                      \mathbf{elif}\;t \leq -6.8:\\
                                                      \;\;\;\;\left(z \cdot y\right) \cdot x\\
                                                      
                                                      \mathbf{elif}\;t \leq 4.5 \cdot 10^{+89}:\\
                                                      \;\;\;\;\left(i \cdot b\right) \cdot a\\
                                                      
                                                      \mathbf{else}:\\
                                                      \;\;\;\;t\_1\\
                                                      
                                                      
                                                      \end{array}
                                                      \end{array}
                                                      
                                                      Derivation
                                                      1. Split input into 3 regimes
                                                      2. if t < -1.1500000000000001e78 or 4.5e89 < t

                                                        1. Initial program 66.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 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 rewrites81.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                          \[\leadsto \left(c \cdot t\right) \cdot j \]
                                                        9. Step-by-step derivation
                                                          1. Applied rewrites40.3%

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

                                                          if -1.1500000000000001e78 < t < -6.79999999999999982

                                                          1. Initial program 85.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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                            if -6.79999999999999982 < t < 4.5e89

                                                            1. Initial program 79.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. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                              \[\leadsto \left(b \cdot i\right) \cdot a \]
                                                            7. Step-by-step derivation
                                                              1. Applied rewrites33.8%

                                                                \[\leadsto \left(i \cdot b\right) \cdot a \]
                                                            8. Recombined 3 regimes into one program.
                                                            9. Add Preprocessing

                                                            Alternative 17: 28.8% accurate, 2.4× speedup?

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

                                                              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 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 rewrites70.3%

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

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

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

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

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

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

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

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

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

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

                                                                  \[\leadsto \mathsf{fma}\left(\color{blue}{-i}, y, c \cdot t\right) \cdot j \]
                                                                10. lower-*.f6468.7

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

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

                                                                \[\leadsto \left(c \cdot t\right) \cdot j \]
                                                              9. Step-by-step derivation
                                                                1. Applied rewrites41.8%

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

                                                                if -1.11999999999999993e129 < j < 3.8e5

                                                                1. Initial program 77.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. *-commutativeN/A

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

                                                                    \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right) \cdot i} \]
                                                                  3. sub-negN/A

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

                                                                    \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\right)\right) \cdot i \]
                                                                  5. associate-*r*N/A

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

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

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

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

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

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

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

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

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

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

                                                                    \[\leadsto \left(b \cdot a\right) \cdot i \]

                                                                  if 3.8e5 < j

                                                                  1. Initial program 74.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 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 rewrites69.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                    \[\leadsto \left(-1 \cdot \left(i \cdot y\right)\right) \cdot j \]
                                                                  9. Step-by-step derivation
                                                                    1. Applied rewrites47.5%

                                                                      \[\leadsto \left(\left(-y\right) \cdot i\right) \cdot j \]
                                                                  10. Recombined 3 regimes into one program.
                                                                  11. Add Preprocessing

                                                                  Alternative 18: 29.0% accurate, 2.4× speedup?

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

                                                                    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 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 rewrites70.3%

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

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

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

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

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

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

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

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

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

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

                                                                        \[\leadsto \mathsf{fma}\left(\color{blue}{-i}, y, c \cdot t\right) \cdot j \]
                                                                      10. lower-*.f6468.7

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

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

                                                                      \[\leadsto \left(c \cdot t\right) \cdot j \]
                                                                    9. Step-by-step derivation
                                                                      1. Applied rewrites41.8%

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

                                                                      if -1.11999999999999993e129 < j < 3.8e5

                                                                      1. Initial program 77.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. *-commutativeN/A

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

                                                                          \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right) \cdot i} \]
                                                                        3. sub-negN/A

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

                                                                          \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\right)\right) \cdot i \]
                                                                        5. associate-*r*N/A

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

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

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

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

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

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

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

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

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

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

                                                                          \[\leadsto \left(b \cdot a\right) \cdot i \]

                                                                        if 3.8e5 < j

                                                                        1. Initial program 74.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 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 rewrites69.9%

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

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

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

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

                                                                              \[\leadsto \left(-i\right) \cdot \left(j \cdot \color{blue}{y}\right) \]
                                                                          4. Recombined 3 regimes into one program.
                                                                          5. Final simplification37.6%

                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1.12 \cdot 10^{+129}:\\ \;\;\;\;\left(c \cdot t\right) \cdot j\\ \mathbf{elif}\;j \leq 380000:\\ \;\;\;\;\left(b \cdot a\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y\right) \cdot j\right) \cdot i\\ \end{array} \]
                                                                          6. Add Preprocessing

                                                                          Alternative 19: 29.6% accurate, 2.6× speedup?

                                                                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(z \cdot y\right) \cdot x\\ \mathbf{if}\;z \leq -5.5 \cdot 10^{+176}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 1.08 \cdot 10^{+39}:\\ \;\;\;\;\left(b \cdot a\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                          (FPCore (x y z t a b c i j)
                                                                           :precision binary64
                                                                           (let* ((t_1 (* (* z y) x)))
                                                                             (if (<= z -5.5e+176) t_1 (if (<= z 1.08e+39) (* (* b 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 = (z * y) * x;
                                                                          	double tmp;
                                                                          	if (z <= -5.5e+176) {
                                                                          		tmp = t_1;
                                                                          	} else if (z <= 1.08e+39) {
                                                                          		tmp = (b * a) * i;
                                                                          	} 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 = (z * y) * x
                                                                              if (z <= (-5.5d+176)) then
                                                                                  tmp = t_1
                                                                              else if (z <= 1.08d+39) then
                                                                                  tmp = (b * a) * i
                                                                              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 = (z * y) * x;
                                                                          	double tmp;
                                                                          	if (z <= -5.5e+176) {
                                                                          		tmp = t_1;
                                                                          	} else if (z <= 1.08e+39) {
                                                                          		tmp = (b * a) * i;
                                                                          	} else {
                                                                          		tmp = t_1;
                                                                          	}
                                                                          	return tmp;
                                                                          }
                                                                          
                                                                          def code(x, y, z, t, a, b, c, i, j):
                                                                          	t_1 = (z * y) * x
                                                                          	tmp = 0
                                                                          	if z <= -5.5e+176:
                                                                          		tmp = t_1
                                                                          	elif z <= 1.08e+39:
                                                                          		tmp = (b * a) * i
                                                                          	else:
                                                                          		tmp = t_1
                                                                          	return tmp
                                                                          
                                                                          function code(x, y, z, t, a, b, c, i, j)
                                                                          	t_1 = Float64(Float64(z * y) * x)
                                                                          	tmp = 0.0
                                                                          	if (z <= -5.5e+176)
                                                                          		tmp = t_1;
                                                                          	elseif (z <= 1.08e+39)
                                                                          		tmp = Float64(Float64(b * a) * i);
                                                                          	else
                                                                          		tmp = t_1;
                                                                          	end
                                                                          	return tmp
                                                                          end
                                                                          
                                                                          function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                                          	t_1 = (z * y) * x;
                                                                          	tmp = 0.0;
                                                                          	if (z <= -5.5e+176)
                                                                          		tmp = t_1;
                                                                          	elseif (z <= 1.08e+39)
                                                                          		tmp = (b * a) * i;
                                                                          	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[(z * y), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[z, -5.5e+176], t$95$1, If[LessEqual[z, 1.08e+39], N[(N[(b * a), $MachinePrecision] * i), $MachinePrecision], t$95$1]]]
                                                                          
                                                                          \begin{array}{l}
                                                                          
                                                                          \\
                                                                          \begin{array}{l}
                                                                          t_1 := \left(z \cdot y\right) \cdot x\\
                                                                          \mathbf{if}\;z \leq -5.5 \cdot 10^{+176}:\\
                                                                          \;\;\;\;t\_1\\
                                                                          
                                                                          \mathbf{elif}\;z \leq 1.08 \cdot 10^{+39}:\\
                                                                          \;\;\;\;\left(b \cdot a\right) \cdot i\\
                                                                          
                                                                          \mathbf{else}:\\
                                                                          \;\;\;\;t\_1\\
                                                                          
                                                                          
                                                                          \end{array}
                                                                          \end{array}
                                                                          
                                                                          Derivation
                                                                          1. Split input into 2 regimes
                                                                          2. if z < -5.4999999999999995e176 or 1.07999999999999998e39 < z

                                                                            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 z around inf

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                              if -5.4999999999999995e176 < z < 1.07999999999999998e39

                                                                              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 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. *-commutativeN/A

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

                                                                                  \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right) \cdot i} \]
                                                                                3. sub-negN/A

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

                                                                                  \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(a \cdot b\right)\right)\right)\right) \cdot i \]
                                                                                5. associate-*r*N/A

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

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

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

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

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

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

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

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

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

                                                                                \[\leadsto \left(a \cdot b\right) \cdot i \]
                                                                              7. Step-by-step derivation
                                                                                1. Applied rewrites32.4%

                                                                                  \[\leadsto \left(b \cdot a\right) \cdot i \]
                                                                              8. Recombined 2 regimes into one program.
                                                                              9. Add Preprocessing

                                                                              Alternative 20: 30.2% accurate, 2.6× speedup?

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

                                                                                1. Initial program 68.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 z around inf

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                      \[\leadsto \left(z \cdot x\right) \cdot y \]

                                                                                    if -3.7000000000000001e44 < z < 3.4000000000000002e94

                                                                                    1. Initial program 78.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 rewrites82.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                      \[\leadsto \left(c \cdot t\right) \cdot j \]
                                                                                    9. Step-by-step derivation
                                                                                      1. Applied rewrites23.3%

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

                                                                                      if 3.4000000000000002e94 < z

                                                                                      1. Initial program 69.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 z around inf

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                          \[\leadsto \left(z \cdot y\right) \cdot \color{blue}{x} \]
                                                                                      8. Recombined 3 regimes into one program.
                                                                                      9. Add Preprocessing

                                                                                      Alternative 21: 23.0% accurate, 5.5× speedup?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                            \[\leadsto \left(z \cdot x\right) \cdot y \]
                                                                                          2. Add Preprocessing

                                                                                          Developer Target 1: 68.5% 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 2024296 
                                                                                          (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)))))