Linear.Matrix:det33 from linear-1.19.1.3

Percentage Accurate: 73.8% → 82.1%
Time: 15.3s
Alternatives: 16
Speedup: 0.5×

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 16 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.8% 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: 82.1% 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}:\\ \;\;\;\;\mathsf{fma}\left(-x, a, j \cdot c\right) \cdot t\\ \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 (* (fma (- x) a (* j c)) t))))
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 = fma(-x, a, (j * c)) * t;
	}
	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(fma(Float64(-x), a, Float64(j * c)) * t);
	end
	return 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[((-x) * a + N[(j * c), $MachinePrecision]), $MachinePrecision] * t), $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}:\\
\;\;\;\;\mathsf{fma}\left(-x, a, j \cdot c\right) \cdot t\\


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

    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 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. lower-*.f6452.9

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(-x, a, c \cdot j\right) \cdot t} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification81.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}:\\ \;\;\;\;\mathsf{fma}\left(-x, a, j \cdot c\right) \cdot t\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 66.5% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-y, j, b \cdot a\right) \cdot i\\ \mathbf{if}\;i \leq -3.5 \cdot 10^{+56}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -9 \cdot 10^{-240}:\\ \;\;\;\;\mathsf{fma}\left(t, c, \frac{\mathsf{fma}\left(\mathsf{fma}\left(-c, b, y \cdot x\right), z, \left(\left(-t\right) \cdot x\right) \cdot a\right)}{j}\right) \cdot j\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{+71}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-b, z, j \cdot t\right), c, \mathsf{fma}\left(-a, t, z \cdot y\right) \cdot x\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 (- y) j (* b a)) i)))
   (if (<= i -3.5e+56)
     t_1
     (if (<= i -9e-240)
       (* (fma t c (/ (fma (fma (- c) b (* y x)) z (* (* (- t) x) a)) j)) j)
       (if (<= i 1.55e+71)
         (fma (fma (- b) z (* j t)) c (* (fma (- a) t (* z y)) x))
         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 <= -3.5e+56) {
		tmp = t_1;
	} else if (i <= -9e-240) {
		tmp = fma(t, c, (fma(fma(-c, b, (y * x)), z, ((-t * x) * a)) / j)) * j;
	} else if (i <= 1.55e+71) {
		tmp = fma(fma(-b, z, (j * t)), c, (fma(-a, t, (z * y)) * x));
	} 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 <= -3.5e+56)
		tmp = t_1;
	elseif (i <= -9e-240)
		tmp = Float64(fma(t, c, Float64(fma(fma(Float64(-c), b, Float64(y * x)), z, Float64(Float64(Float64(-t) * x) * a)) / j)) * j);
	elseif (i <= 1.55e+71)
		tmp = fma(fma(Float64(-b), z, Float64(j * t)), c, Float64(fma(Float64(-a), t, Float64(z * y)) * x));
	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, -3.5e+56], t$95$1, If[LessEqual[i, -9e-240], N[(N[(t * c + N[(N[(N[((-c) * b + N[(y * x), $MachinePrecision]), $MachinePrecision] * z + N[(N[((-t) * x), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] / j), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[i, 1.55e+71], N[(N[((-b) * z + N[(j * t), $MachinePrecision]), $MachinePrecision] * c + N[(N[((-a) * t + N[(z * y), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]), $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 -3.5 \cdot 10^{+56}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;i \leq -9 \cdot 10^{-240}:\\
\;\;\;\;\mathsf{fma}\left(t, c, \frac{\mathsf{fma}\left(\mathsf{fma}\left(-c, b, y \cdot x\right), z, \left(\left(-t\right) \cdot x\right) \cdot a\right)}{j}\right) \cdot j\\

\mathbf{elif}\;i \leq 1.55 \cdot 10^{+71}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-b, z, j \cdot t\right), c, \mathsf{fma}\left(-a, t, z \cdot y\right) \cdot x\right)\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if i < -3.49999999999999999e56 or 1.55000000000000009e71 < i

    1. Initial program 53.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-*.f6464.8

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

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

    if -3.49999999999999999e56 < i < -9.0000000000000003e-240

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

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

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

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

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

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

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

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

        \[\leadsto \left(\left(j \cdot t\right) \cdot c + \left(\mathsf{neg}\left(\color{blue}{\left(b \cdot z\right) \cdot c}\right)\right)\right) + x \cdot \left(y \cdot z - a \cdot t\right) \]
      8. distribute-lft-neg-outN/A

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

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

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

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

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

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

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

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

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

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

    if -9.0000000000000003e-240 < i < 1.55000000000000009e71

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

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

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

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

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

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

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

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

        \[\leadsto \left(\left(j \cdot t\right) \cdot c + \left(\mathsf{neg}\left(\color{blue}{\left(b \cdot z\right) \cdot c}\right)\right)\right) + x \cdot \left(y \cdot z - a \cdot t\right) \]
      8. distribute-lft-neg-outN/A

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

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

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

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

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

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

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

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

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

Alternative 3: 55.3% accurate, 1.1× speedup?

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

\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(-b, z, j \cdot t\right)\\
t_2 := \mathsf{fma}\left(t\_1, c, \left(z \cdot y\right) \cdot x\right)\\
\mathbf{if}\;c \leq -2.55 \cdot 10^{+162}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, c, \left(\left(-a\right) \cdot t\right) \cdot x\right)\\

\mathbf{elif}\;c \leq -2.7 \cdot 10^{-77}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;c \leq -2.95 \cdot 10^{-236}:\\
\;\;\;\;\mathsf{fma}\left(-y, j, b \cdot a\right) \cdot i\\

\mathbf{elif}\;c \leq 4.3 \cdot 10^{+14}:\\
\;\;\;\;\mathsf{fma}\left(-a, t, z \cdot y\right) \cdot x\\

\mathbf{else}:\\
\;\;\;\;t\_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if c < -2.5499999999999999e162

    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 0

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

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

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

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

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

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

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

        \[\leadsto \left(\left(j \cdot t\right) \cdot c + \left(\mathsf{neg}\left(\color{blue}{\left(b \cdot z\right) \cdot c}\right)\right)\right) + x \cdot \left(y \cdot z - a \cdot t\right) \]
      8. distribute-lft-neg-outN/A

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

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

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

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

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

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

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

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

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

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

      if -2.5499999999999999e162 < c < -2.7e-77 or 4.3e14 < c

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

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

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

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

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

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

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

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

          \[\leadsto \left(\left(j \cdot t\right) \cdot c + \left(\mathsf{neg}\left(\color{blue}{\left(b \cdot z\right) \cdot c}\right)\right)\right) + x \cdot \left(y \cdot z - a \cdot t\right) \]
        8. distribute-lft-neg-outN/A

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

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

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

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

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

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

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

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

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

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

        if -2.7e-77 < c < -2.95000000000000007e-236

        1. Initial program 71.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 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-*.f6459.4

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

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

        if -2.95000000000000007e-236 < c < 4.3e14

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

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

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

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

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

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

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

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

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

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

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

            \[\leadsto \mathsf{fma}\left(-a, t, \color{blue}{z \cdot y}\right) \cdot x \]
          11. lower-*.f6460.9

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

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -2.55 \cdot 10^{+162}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-b, z, j \cdot t\right), c, \left(\left(-a\right) \cdot t\right) \cdot x\right)\\ \mathbf{elif}\;c \leq -2.7 \cdot 10^{-77}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-b, z, j \cdot t\right), c, \left(z \cdot y\right) \cdot x\right)\\ \mathbf{elif}\;c \leq -2.95 \cdot 10^{-236}:\\ \;\;\;\;\mathsf{fma}\left(-y, j, b \cdot a\right) \cdot i\\ \mathbf{elif}\;c \leq 4.3 \cdot 10^{+14}:\\ \;\;\;\;\mathsf{fma}\left(-a, t, z \cdot y\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-b, z, j \cdot t\right), c, \left(z \cdot y\right) \cdot x\right)\\ \end{array} \]
      10. Add Preprocessing

      Alternative 4: 54.2% accurate, 1.1× speedup?

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

        1. Initial program 65.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if -3.00000000000000029e42 < x < -3.75e-159 or 5.60000000000000014e-222 < x < 2.24999999999999992e73

        1. Initial program 70.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 i around 0

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

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

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

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

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

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

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

            \[\leadsto \left(\left(j \cdot t\right) \cdot c + \left(\mathsf{neg}\left(\color{blue}{\left(b \cdot z\right) \cdot c}\right)\right)\right) + x \cdot \left(y \cdot z - a \cdot t\right) \]
          8. distribute-lft-neg-outN/A

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

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

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

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

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

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

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

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

          \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-b, z, t \cdot j\right), c, \left(y \cdot z\right) \cdot x\right) \]
        7. Step-by-step derivation
          1. Applied rewrites61.6%

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

          if -3.75e-159 < x < 5.60000000000000014e-222

          1. Initial program 72.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 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-*.f6461.7

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

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

          \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -3 \cdot 10^{+42}:\\ \;\;\;\;\mathsf{fma}\left(-a, t, z \cdot y\right) \cdot x\\ \mathbf{elif}\;x \leq -3.75 \cdot 10^{-159}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-b, z, j \cdot t\right), c, \left(z \cdot y\right) \cdot x\right)\\ \mathbf{elif}\;x \leq 5.6 \cdot 10^{-222}:\\ \;\;\;\;\mathsf{fma}\left(-y, j, b \cdot a\right) \cdot i\\ \mathbf{elif}\;x \leq 2.25 \cdot 10^{+73}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-b, z, j \cdot t\right), c, \left(z \cdot y\right) \cdot x\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, t, z \cdot y\right) \cdot x\\ \end{array} \]
        10. Add Preprocessing

        Alternative 5: 63.8% accurate, 1.2× speedup?

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

          1. Initial program 69.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. Step-by-step derivation
            1. lift-*.f64N/A

              \[\leadsto \left(\color{blue}{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. lift--.f64N/A

              \[\leadsto \left(x \cdot \color{blue}{\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) \]
            3. flip--N/A

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

              \[\leadsto \left(x \cdot \color{blue}{\frac{1}{\frac{y \cdot z + t \cdot a}{\left(y \cdot z\right) \cdot \left(y \cdot z\right) - \left(t \cdot a\right) \cdot \left(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) \]
            5. un-div-invN/A

              \[\leadsto \left(\color{blue}{\frac{x}{\frac{y \cdot z + t \cdot a}{\left(y \cdot z\right) \cdot \left(y \cdot z\right) - \left(t \cdot a\right) \cdot \left(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) \]
            6. lower-/.f64N/A

              \[\leadsto \left(\color{blue}{\frac{x}{\frac{y \cdot z + t \cdot a}{\left(y \cdot z\right) \cdot \left(y \cdot z\right) - \left(t \cdot a\right) \cdot \left(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) \]
            7. clear-numN/A

              \[\leadsto \left(\frac{x}{\color{blue}{\frac{1}{\frac{\left(y \cdot z\right) \cdot \left(y \cdot z\right) - \left(t \cdot a\right) \cdot \left(t \cdot a\right)}{y \cdot z + t \cdot a}}}} - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
            8. flip--N/A

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

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

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

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

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

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

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

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

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

              \[\leadsto \left(\frac{x}{\frac{1}{\color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(a\right), t, y \cdot z\right)}}} - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
            18. lower-neg.f6469.4

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

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

              \[\leadsto \left(\frac{x}{\frac{1}{\mathsf{fma}\left(-a, t, \color{blue}{z \cdot y}\right)}} - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
            21. lower-*.f6469.4

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

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

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

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

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

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

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

              \[\leadsto \left(-a\right) \cdot \color{blue}{\left(t \cdot x\right)} + j \cdot \left(c \cdot t - i \cdot y\right) \]
          7. Applied rewrites70.0%

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

          if -7.5e15 < j < 1.3e78

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

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

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

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

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

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

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

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

              \[\leadsto \left(\left(j \cdot t\right) \cdot c + \left(\mathsf{neg}\left(\color{blue}{\left(b \cdot z\right) \cdot c}\right)\right)\right) + x \cdot \left(y \cdot z - a \cdot t\right) \]
            8. distribute-lft-neg-outN/A

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

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

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

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

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

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

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

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

          if 1.3e78 < j < 2.12000000000000001e217

          1. Initial program 61.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 c around inf

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

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

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

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

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

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

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

          if 2.12000000000000001e217 < j

          1. Initial program 44.1%

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

            \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) + c \cdot j\right)} \]
          4. Step-by-step derivation
            1. *-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. lower-*.f6476.3

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

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

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

        Alternative 6: 52.1% accurate, 1.2× speedup?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          if -1.5799999999999999e41 < x < -3.69999999999999985e-55 or -3.1499999999999999e-159 < x < 5.60000000000000014e-222

          1. Initial program 72.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-*.f6464.0

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

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

          if -3.69999999999999985e-55 < x < -3.1499999999999999e-159 or 5.60000000000000014e-222 < x < 1.55e-31

          1. Initial program 68.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1.58 \cdot 10^{+41}:\\ \;\;\;\;\mathsf{fma}\left(-a, t, z \cdot y\right) \cdot x\\ \mathbf{elif}\;x \leq -3.7 \cdot 10^{-55}:\\ \;\;\;\;\mathsf{fma}\left(-y, j, b \cdot a\right) \cdot i\\ \mathbf{elif}\;x \leq -3.15 \cdot 10^{-159}:\\ \;\;\;\;\mathsf{fma}\left(-b, z, j \cdot t\right) \cdot c\\ \mathbf{elif}\;x \leq 5.6 \cdot 10^{-222}:\\ \;\;\;\;\mathsf{fma}\left(-y, j, b \cdot a\right) \cdot i\\ \mathbf{elif}\;x \leq 1.55 \cdot 10^{-31}:\\ \;\;\;\;\mathsf{fma}\left(-b, z, j \cdot t\right) \cdot c\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, t, z \cdot y\right) \cdot x\\ \end{array} \]
        5. Add Preprocessing

        Alternative 7: 52.4% accurate, 1.3× speedup?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          if -1.5799999999999999e41 < x < -1.35e-76

          1. Initial program 63.1%

            \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right) \]
          2. Add Preprocessing
          3. Taylor expanded in 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-*.f6463.1

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

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

          if -1.35e-76 < x < 12.5

          1. Initial program 73.2%

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

            \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
          4. Step-by-step derivation
            1. *-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. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

            \[\leadsto \left(t \cdot \left(c + -1 \cdot \frac{i \cdot y}{t}\right)\right) \cdot j \]
          7. Step-by-step derivation
            1. Applied rewrites54.2%

              \[\leadsto \left(\left(c - \frac{y \cdot i}{t}\right) \cdot t\right) \cdot j \]
          8. Recombined 3 regimes into one program.
          9. Final simplification63.7%

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

          Alternative 8: 52.1% accurate, 1.6× speedup?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if -2.2999999999999999e89 < c < -5.59999999999999978e-80

            1. Initial program 75.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. lower-*.f6457.6

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

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

            if -5.59999999999999978e-80 < c < 6.69999999999999973e47

            1. Initial program 78.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 x around inf

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          Alternative 9: 45.0% accurate, 1.6× speedup?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if -6.70000000000000035e44 < x < -2.60000000000000002e-219

            1. Initial program 69.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 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. lower-*.f6443.4

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

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

            if -2.60000000000000002e-219 < x < 2.6e-39

            1. Initial program 72.9%

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

              \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
            4. Step-by-step derivation
              1. *-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. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

              \[\leadsto \left(c \cdot t\right) \cdot j \]
            7. Step-by-step derivation
              1. Applied rewrites36.6%

                \[\leadsto \left(t \cdot c\right) \cdot j \]
            8. Recombined 3 regimes into one program.
            9. Final simplification55.6%

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

            Alternative 10: 42.7% accurate, 1.6× speedup?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

              if -1.00000000000000001e41 < x < -3.9000000000000004e-273

              1. Initial program 68.3%

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

                \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(a \cdot b\right)\right)} \]
              4. Step-by-step derivation
                1. *-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.5

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

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

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

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

                if -3.9000000000000004e-273 < x < 2.6e-39

                1. Initial program 73.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 j around inf

                  \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                4. 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. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

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

                    \[\leadsto \left(t \cdot c\right) \cdot j \]
                8. Recombined 3 regimes into one program.
                9. Final simplification54.3%

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

                Alternative 11: 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 -3.2 \cdot 10^{+67}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 6 \cdot 10^{-31}:\\ \;\;\;\;\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 (- x) a (* j c)) t)))
                   (if (<= t -3.2e+67) t_1 (if (<= t 6e-31) (* (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(-x, a, (j * c)) * t;
                	double tmp;
                	if (t <= -3.2e+67) {
                		tmp = t_1;
                	} else if (t <= 6e-31) {
                		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(-x), a, Float64(j * c)) * t)
                	tmp = 0.0
                	if (t <= -3.2e+67)
                		tmp = t_1;
                	elseif (t <= 6e-31)
                		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[((-x) * a + N[(j * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]}, If[LessEqual[t, -3.2e+67], t$95$1, If[LessEqual[t, 6e-31], 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(-x, a, j \cdot c\right) \cdot t\\
                \mathbf{if}\;t \leq -3.2 \cdot 10^{+67}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{elif}\;t \leq 6 \cdot 10^{-31}:\\
                \;\;\;\;\mathsf{fma}\left(-b, c, y \cdot x\right) \cdot z\\
                
                \mathbf{else}:\\
                \;\;\;\;t\_1\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 2 regimes
                2. if t < -3.19999999999999983e67 or 5.99999999999999962e-31 < t

                  1. Initial program 58.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 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. lower-*.f6466.0

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

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

                  if -3.19999999999999983e67 < t < 5.99999999999999962e-31

                  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 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. lower-*.f6455.6

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

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

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

                Alternative 12: 52.6% accurate, 2.0× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-a, t, z \cdot y\right) \cdot x\\ \mathbf{if}\;x \leq -5.8 \cdot 10^{+41}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;x \leq 12.5:\\ \;\;\;\;\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 (- a) t (* z y)) x)))
                   (if (<= x -5.8e+41) t_1 (if (<= x 12.5) (* (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(-a, t, (z * y)) * x;
                	double tmp;
                	if (x <= -5.8e+41) {
                		tmp = t_1;
                	} else if (x <= 12.5) {
                		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(-a), t, Float64(z * y)) * x)
                	tmp = 0.0
                	if (x <= -5.8e+41)
                		tmp = t_1;
                	elseif (x <= 12.5)
                		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[((-a) * t + N[(z * y), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[x, -5.8e+41], t$95$1, If[LessEqual[x, 12.5], 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(-a, t, z \cdot y\right) \cdot x\\
                \mathbf{if}\;x \leq -5.8 \cdot 10^{+41}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{elif}\;x \leq 12.5:\\
                \;\;\;\;\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 x < -5.79999999999999977e41 or 12.5 < x

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                  if -5.79999999999999977e41 < x < 12.5

                  1. Initial program 71.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 j around inf

                    \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                  4. 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. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

                    \[\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 13: 29.5% accurate, 2.6× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(z \cdot y\right) \cdot x\\ \mathbf{if}\;z \leq -7.8 \cdot 10^{-32}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 210000000:\\ \;\;\;\;\left(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 (* (* z y) x)))
                   (if (<= z -7.8e-32) t_1 (if (<= z 210000000.0) (* (* 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 = (z * y) * x;
                	double tmp;
                	if (z <= -7.8e-32) {
                		tmp = t_1;
                	} else if (z <= 210000000.0) {
                		tmp = (c * t) * j;
                	} else {
                		tmp = t_1;
                	}
                	return tmp;
                }
                
                real(8) function code(x, y, z, t, a, b, c, i, j)
                    real(8), intent (in) :: x
                    real(8), intent (in) :: y
                    real(8), intent (in) :: z
                    real(8), intent (in) :: t
                    real(8), intent (in) :: a
                    real(8), intent (in) :: b
                    real(8), intent (in) :: c
                    real(8), intent (in) :: i
                    real(8), intent (in) :: j
                    real(8) :: t_1
                    real(8) :: tmp
                    t_1 = (z * y) * x
                    if (z <= (-7.8d-32)) then
                        tmp = t_1
                    else if (z <= 210000000.0d0) then
                        tmp = (c * t) * j
                    else
                        tmp = t_1
                    end if
                    code = tmp
                end function
                
                public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                	double t_1 = (z * y) * x;
                	double tmp;
                	if (z <= -7.8e-32) {
                		tmp = t_1;
                	} else if (z <= 210000000.0) {
                		tmp = (c * t) * j;
                	} 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 <= -7.8e-32:
                		tmp = t_1
                	elif z <= 210000000.0:
                		tmp = (c * t) * j
                	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 <= -7.8e-32)
                		tmp = t_1;
                	elseif (z <= 210000000.0)
                		tmp = Float64(Float64(c * t) * j);
                	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 <= -7.8e-32)
                		tmp = t_1;
                	elseif (z <= 210000000.0)
                		tmp = (c * t) * j;
                	else
                		tmp = t_1;
                	end
                	tmp_2 = tmp;
                end
                
                code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(z * y), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[z, -7.8e-32], t$95$1, If[LessEqual[z, 210000000.0], N[(N[(c * t), $MachinePrecision] * j), $MachinePrecision], t$95$1]]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                t_1 := \left(z \cdot y\right) \cdot x\\
                \mathbf{if}\;z \leq -7.8 \cdot 10^{-32}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{elif}\;z \leq 210000000:\\
                \;\;\;\;\left(c \cdot t\right) \cdot j\\
                
                \mathbf{else}:\\
                \;\;\;\;t\_1\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 2 regimes
                2. if z < -7.8000000000000003e-32 or 2.1e8 < z

                  1. Initial program 68.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                    \[\leadsto \left(y \cdot z\right) \cdot x \]
                  7. Step-by-step derivation
                    1. Applied rewrites43.0%

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

                    if -7.8000000000000003e-32 < z < 2.1e8

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

                      \[\leadsto \color{blue}{j \cdot \left(c \cdot t - i \cdot y\right)} \]
                    4. 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. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

                      \[\leadsto \left(c \cdot t\right) \cdot j \]
                    7. Step-by-step derivation
                      1. Applied rewrites37.4%

                        \[\leadsto \left(t \cdot c\right) \cdot j \]
                    8. Recombined 2 regimes into one program.
                    9. Final simplification40.5%

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

                    Alternative 14: 29.8% accurate, 2.6× speedup?

                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(z \cdot y\right) \cdot x\\ \mathbf{if}\;z \leq -8 \cdot 10^{-32}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 205000000:\\ \;\;\;\;\left(j \cdot t\right) \cdot c\\ \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 -8e-32) t_1 (if (<= z 205000000.0) (* (* 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 = (z * y) * x;
                    	double tmp;
                    	if (z <= -8e-32) {
                    		tmp = t_1;
                    	} else if (z <= 205000000.0) {
                    		tmp = (j * t) * c;
                    	} 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 <= (-8d-32)) then
                            tmp = t_1
                        else if (z <= 205000000.0d0) then
                            tmp = (j * t) * c
                        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 <= -8e-32) {
                    		tmp = t_1;
                    	} else if (z <= 205000000.0) {
                    		tmp = (j * t) * c;
                    	} 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 <= -8e-32:
                    		tmp = t_1
                    	elif z <= 205000000.0:
                    		tmp = (j * t) * c
                    	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 <= -8e-32)
                    		tmp = t_1;
                    	elseif (z <= 205000000.0)
                    		tmp = Float64(Float64(j * t) * c);
                    	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 <= -8e-32)
                    		tmp = t_1;
                    	elseif (z <= 205000000.0)
                    		tmp = (j * t) * c;
                    	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, -8e-32], t$95$1, If[LessEqual[z, 205000000.0], N[(N[(j * t), $MachinePrecision] * c), $MachinePrecision], t$95$1]]]
                    
                    \begin{array}{l}
                    
                    \\
                    \begin{array}{l}
                    t_1 := \left(z \cdot y\right) \cdot x\\
                    \mathbf{if}\;z \leq -8 \cdot 10^{-32}:\\
                    \;\;\;\;t\_1\\
                    
                    \mathbf{elif}\;z \leq 205000000:\\
                    \;\;\;\;\left(j \cdot t\right) \cdot c\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;t\_1\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 2 regimes
                    2. if z < -8.00000000000000045e-32 or 2.05e8 < z

                      1. Initial program 68.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                        \[\leadsto \left(y \cdot z\right) \cdot x \]
                      7. Step-by-step derivation
                        1. Applied rewrites43.0%

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

                        if -8.00000000000000045e-32 < z < 2.05e8

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

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

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

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

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

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

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

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

                            \[\leadsto \left(\left(j \cdot t\right) \cdot c + \left(\mathsf{neg}\left(\color{blue}{\left(b \cdot z\right) \cdot c}\right)\right)\right) + x \cdot \left(y \cdot z - a \cdot t\right) \]
                          8. distribute-lft-neg-outN/A

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

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

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

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

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

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

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

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

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

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

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

                        Alternative 15: 30.0% accurate, 2.6× speedup?

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

                          1. Initial program 58.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-*.f6459.8

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

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

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

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

                            if -2.55000000000000004e-28 < i < 7.5000000000000001e-53

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

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

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

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

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

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

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

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

                                \[\leadsto \left(\left(j \cdot t\right) \cdot c + \left(\mathsf{neg}\left(\color{blue}{\left(b \cdot z\right) \cdot c}\right)\right)\right) + x \cdot \left(y \cdot z - a \cdot t\right) \]
                              8. distribute-lft-neg-outN/A

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

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

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

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

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

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

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

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

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

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

                              \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.55 \cdot 10^{-28}:\\ \;\;\;\;\left(i \cdot b\right) \cdot a\\ \mathbf{elif}\;i \leq 7.5 \cdot 10^{-53}:\\ \;\;\;\;\left(j \cdot t\right) \cdot c\\ \mathbf{else}:\\ \;\;\;\;\left(i \cdot b\right) \cdot a\\ \end{array} \]
                            10. Add Preprocessing

                            Alternative 16: 22.7% accurate, 5.5× speedup?

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

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

                                \[\leadsto \left(b \cdot i\right) \cdot \color{blue}{a} \]
                              2. Final simplification23.7%

                                \[\leadsto \left(i \cdot b\right) \cdot a \]
                              3. Add Preprocessing

                              Developer Target 1: 69.1% accurate, 0.2× speedup?

                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \frac{j \cdot \left({\left(c \cdot t\right)}^{2} - {\left(i \cdot y\right)}^{2}\right)}{c \cdot t + i \cdot y}\\ t_2 := x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\ \mathbf{if}\;t < -8.120978919195912 \cdot 10^{-33}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t < -4.712553818218485 \cdot 10^{-169}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t < -7.633533346031584 \cdot 10^{-308}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t < 1.0535888557455487 \cdot 10^{-139}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
                              (FPCore (x y z t a b c i j)
                               :precision binary64
                               (let* ((t_1
                                       (+
                                        (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
                                        (/
                                         (* j (- (pow (* c t) 2.0) (pow (* i y) 2.0)))
                                         (+ (* c t) (* i y)))))
                                      (t_2
                                       (-
                                        (* x (- (* z y) (* a t)))
                                        (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j)))))
                                 (if (< t -8.120978919195912e-33)
                                   t_2
                                   (if (< t -4.712553818218485e-169)
                                     t_1
                                     (if (< t -7.633533346031584e-308)
                                       t_2
                                       (if (< t 1.0535888557455487e-139) t_1 t_2))))))
                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                              	double t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (pow((c * t), 2.0) - pow((i * y), 2.0))) / ((c * t) + (i * y)));
                              	double t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
                              	double tmp;
                              	if (t < -8.120978919195912e-33) {
                              		tmp = t_2;
                              	} else if (t < -4.712553818218485e-169) {
                              		tmp = t_1;
                              	} else if (t < -7.633533346031584e-308) {
                              		tmp = t_2;
                              	} else if (t < 1.0535888557455487e-139) {
                              		tmp = t_1;
                              	} else {
                              		tmp = t_2;
                              	}
                              	return tmp;
                              }
                              
                              real(8) function code(x, y, z, t, a, b, c, i, j)
                                  real(8), intent (in) :: x
                                  real(8), intent (in) :: y
                                  real(8), intent (in) :: z
                                  real(8), intent (in) :: t
                                  real(8), intent (in) :: a
                                  real(8), intent (in) :: b
                                  real(8), intent (in) :: c
                                  real(8), intent (in) :: i
                                  real(8), intent (in) :: j
                                  real(8) :: t_1
                                  real(8) :: t_2
                                  real(8) :: tmp
                                  t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (((c * t) ** 2.0d0) - ((i * y) ** 2.0d0))) / ((c * t) + (i * y)))
                                  t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j))
                                  if (t < (-8.120978919195912d-33)) then
                                      tmp = t_2
                                  else if (t < (-4.712553818218485d-169)) then
                                      tmp = t_1
                                  else if (t < (-7.633533346031584d-308)) then
                                      tmp = t_2
                                  else if (t < 1.0535888557455487d-139) then
                                      tmp = t_1
                                  else
                                      tmp = t_2
                                  end if
                                  code = tmp
                              end function
                              
                              public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                              	double t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (Math.pow((c * t), 2.0) - Math.pow((i * y), 2.0))) / ((c * t) + (i * y)));
                              	double t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
                              	double tmp;
                              	if (t < -8.120978919195912e-33) {
                              		tmp = t_2;
                              	} else if (t < -4.712553818218485e-169) {
                              		tmp = t_1;
                              	} else if (t < -7.633533346031584e-308) {
                              		tmp = t_2;
                              	} else if (t < 1.0535888557455487e-139) {
                              		tmp = t_1;
                              	} else {
                              		tmp = t_2;
                              	}
                              	return tmp;
                              }
                              
                              def code(x, y, z, t, a, b, c, i, j):
                              	t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (math.pow((c * t), 2.0) - math.pow((i * y), 2.0))) / ((c * t) + (i * y)))
                              	t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j))
                              	tmp = 0
                              	if t < -8.120978919195912e-33:
                              		tmp = t_2
                              	elif t < -4.712553818218485e-169:
                              		tmp = t_1
                              	elif t < -7.633533346031584e-308:
                              		tmp = t_2
                              	elif t < 1.0535888557455487e-139:
                              		tmp = t_1
                              	else:
                              		tmp = t_2
                              	return tmp
                              
                              function code(x, y, z, t, a, b, c, i, j)
                              	t_1 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(i * a)))) + Float64(Float64(j * Float64((Float64(c * t) ^ 2.0) - (Float64(i * y) ^ 2.0))) / Float64(Float64(c * t) + Float64(i * y))))
                              	t_2 = Float64(Float64(x * Float64(Float64(z * y) - Float64(a * t))) - Float64(Float64(b * Float64(Float64(z * c) - Float64(a * i))) - Float64(Float64(Float64(c * t) - Float64(y * i)) * j)))
                              	tmp = 0.0
                              	if (t < -8.120978919195912e-33)
                              		tmp = t_2;
                              	elseif (t < -4.712553818218485e-169)
                              		tmp = t_1;
                              	elseif (t < -7.633533346031584e-308)
                              		tmp = t_2;
                              	elseif (t < 1.0535888557455487e-139)
                              		tmp = t_1;
                              	else
                              		tmp = t_2;
                              	end
                              	return tmp
                              end
                              
                              function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                              	t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (((c * t) ^ 2.0) - ((i * y) ^ 2.0))) / ((c * t) + (i * y)));
                              	t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
                              	tmp = 0.0;
                              	if (t < -8.120978919195912e-33)
                              		tmp = t_2;
                              	elseif (t < -4.712553818218485e-169)
                              		tmp = t_1;
                              	elseif (t < -7.633533346031584e-308)
                              		tmp = t_2;
                              	elseif (t < 1.0535888557455487e-139)
                              		tmp = t_1;
                              	else
                              		tmp = t_2;
                              	end
                              	tmp_2 = tmp;
                              end
                              
                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[Power[N[(c * t), $MachinePrecision], 2.0], $MachinePrecision] - N[Power[N[(i * y), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(c * t), $MachinePrecision] + N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * N[(N[(z * y), $MachinePrecision] - N[(a * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(c * t), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[t, -8.120978919195912e-33], t$95$2, If[Less[t, -4.712553818218485e-169], t$95$1, If[Less[t, -7.633533346031584e-308], t$95$2, If[Less[t, 1.0535888557455487e-139], t$95$1, t$95$2]]]]]]
                              
                              \begin{array}{l}
                              
                              \\
                              \begin{array}{l}
                              t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \frac{j \cdot \left({\left(c \cdot t\right)}^{2} - {\left(i \cdot y\right)}^{2}\right)}{c \cdot t + i \cdot y}\\
                              t_2 := x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\
                              \mathbf{if}\;t < -8.120978919195912 \cdot 10^{-33}:\\
                              \;\;\;\;t\_2\\
                              
                              \mathbf{elif}\;t < -4.712553818218485 \cdot 10^{-169}:\\
                              \;\;\;\;t\_1\\
                              
                              \mathbf{elif}\;t < -7.633533346031584 \cdot 10^{-308}:\\
                              \;\;\;\;t\_2\\
                              
                              \mathbf{elif}\;t < 1.0535888557455487 \cdot 10^{-139}:\\
                              \;\;\;\;t\_1\\
                              
                              \mathbf{else}:\\
                              \;\;\;\;t\_2\\
                              
                              
                              \end{array}
                              \end{array}
                              

                              Reproduce

                              ?
                              herbie shell --seed 2024249 
                              (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)))))