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

Percentage Accurate: 72.8% → 77.8%
Time: 15.3s
Alternatives: 23
Speedup: 0.9×

Specification

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

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

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 23 alternatives:

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

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

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

Alternative 1: 77.8% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -4.5 \cdot 10^{+168}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-a, t, z \cdot y\right), x, \left(-b\right) \cdot \mathsf{fma}\left(c, z, \left(-i\right) \cdot t\right)\right)\\ \mathbf{elif}\;b \leq 3.7 \cdot 10^{+144}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y, c \cdot a\right), j, \mathsf{fma}\left(\mathsf{fma}\left(-x, a, i \cdot b\right), t, \mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-z, c, i \cdot t\right), b, \mathsf{fma}\left(-i, j, z \cdot x\right) \cdot y\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j)
 :precision binary64
 (if (<= b -4.5e+168)
   (fma (fma (- a) t (* z y)) x (* (- b) (fma c z (* (- i) t))))
   (if (<= b 3.7e+144)
     (fma
      (fma (- i) y (* c a))
      j
      (fma (fma (- x) a (* i b)) t (* (fma (- c) b (* y x)) z)))
     (fma (fma (- z) c (* i t)) b (* (fma (- i) j (* z x)) y)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
	double tmp;
	if (b <= -4.5e+168) {
		tmp = fma(fma(-a, t, (z * y)), x, (-b * fma(c, z, (-i * t))));
	} else if (b <= 3.7e+144) {
		tmp = fma(fma(-i, y, (c * a)), j, fma(fma(-x, a, (i * b)), t, (fma(-c, b, (y * x)) * z)));
	} else {
		tmp = fma(fma(-z, c, (i * t)), b, (fma(-i, j, (z * x)) * y));
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j)
	tmp = 0.0
	if (b <= -4.5e+168)
		tmp = fma(fma(Float64(-a), t, Float64(z * y)), x, Float64(Float64(-b) * fma(c, z, Float64(Float64(-i) * t))));
	elseif (b <= 3.7e+144)
		tmp = fma(fma(Float64(-i), y, Float64(c * a)), j, fma(fma(Float64(-x), a, Float64(i * b)), t, Float64(fma(Float64(-c), b, Float64(y * x)) * z)));
	else
		tmp = fma(fma(Float64(-z), c, Float64(i * t)), b, Float64(fma(Float64(-i), j, Float64(z * x)) * y));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[b, -4.5e+168], N[(N[((-a) * t + N[(z * y), $MachinePrecision]), $MachinePrecision] * x + N[((-b) * N[(c * z + N[((-i) * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.7e+144], N[(N[((-i) * y + N[(c * a), $MachinePrecision]), $MachinePrecision] * j + N[(N[((-x) * a + N[(i * b), $MachinePrecision]), $MachinePrecision] * t + N[(N[((-c) * b + N[(y * x), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[((-z) * c + N[(i * t), $MachinePrecision]), $MachinePrecision] * b + N[(N[((-i) * j + N[(z * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -4.5 \cdot 10^{+168}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-a, t, z \cdot y\right), x, \left(-b\right) \cdot \mathsf{fma}\left(c, z, \left(-i\right) \cdot t\right)\right)\\

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -4.50000000000000012e168

    1. Initial program 65.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-a, t, z \cdot y\right), x, \left(-b\right) \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot t\right)\right) \]
      24. lower-neg.f6490.3

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

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

    if -4.50000000000000012e168 < b < 3.6999999999999997e144

    1. Initial program 73.7%

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

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

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

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

        \[\leadsto \color{blue}{\mathsf{fma}\left(a \cdot c - i \cdot y, j, \left(t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z\right)\right)} \]
      4. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 3.6999999999999997e144 < b

    1. Initial program 64.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 2: 84.3% accurate, 0.5× speedup?

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

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


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

    1. Initial program 91.7%

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

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

    1. Initial program 0.0%

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

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

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

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

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

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

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

Alternative 3: 22.7% accurate, 0.8× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;\left(z \cdot y\right) \cdot x\\


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

    1. Initial program 88.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

        1. Initial program 66.5%

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

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

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

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

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

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

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

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

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

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

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

        Alternative 4: 71.3% accurate, 1.1× speedup?

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

          1. Initial program 70.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          if -1.39999999999999994e88 < b < -1.1999999999999999e-6

          1. Initial program 65.0%

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

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

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

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(a \cdot c - i \cdot y, j, \left(t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z\right)\right)} \]
            4. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          if -1.1999999999999999e-6 < b < 5.1000000000000001e-54

          1. Initial program 73.1%

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

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

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

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

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

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

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

        Alternative 5: 71.2% accurate, 1.2× speedup?

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

          1. Initial program 71.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          if -1.22e15 < b < 5.1000000000000001e-54

          1. Initial program 72.0%

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

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

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

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

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

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

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

          if 5.1000000000000001e-54 < b

          1. Initial program 69.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        Alternative 6: 68.2% accurate, 1.2× speedup?

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

          1. Initial program 70.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if -7.19999999999999967e-6 < b < 9.50000000000000019e111

            1. Initial program 72.5%

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

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

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

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

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

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

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

            if 9.50000000000000019e111 < b

            1. Initial program 69.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                \[\leadsto \mathsf{fma}\left(\color{blue}{-z}, c, i \cdot t\right) \cdot b \]
              19. lower-*.f6473.0

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

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

          Alternative 7: 65.7% accurate, 1.2× speedup?

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

            1. Initial program 62.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if -1.05e176 < t < 2.6e70

            1. Initial program 76.5%

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

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

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

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

                \[\leadsto \color{blue}{\mathsf{fma}\left(a \cdot c - i \cdot y, j, \left(t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z\right)\right)} \]
              4. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if 2.6e70 < t

            1. Initial program 53.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            Alternative 8: 36.4% accurate, 1.2× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-i, y, c \cdot a\right) \cdot j\\ t_2 := \left(b \cdot t\right) \cdot i\\ \mathbf{if}\;b \leq -2.02 \cdot 10^{+276}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;b \leq -1.05 \cdot 10^{+116}:\\ \;\;\;\;\left(\left(-b\right) \cdot z\right) \cdot c\\ \mathbf{elif}\;b \leq -1.7 \cdot 10^{-216}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -1.25 \cdot 10^{-269}:\\ \;\;\;\;\left(y \cdot x\right) \cdot z\\ \mathbf{elif}\;b \leq 3.5 \cdot 10^{-200}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\ \;\;\;\;\left(z \cdot x\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
            (FPCore (x y z t a b c i j)
             :precision binary64
             (let* ((t_1 (* (fma (- i) y (* c a)) j)) (t_2 (* (* b t) i)))
               (if (<= b -2.02e+276)
                 t_2
                 (if (<= b -1.05e+116)
                   (* (* (- b) z) c)
                   (if (<= b -1.7e-216)
                     t_1
                     (if (<= b -1.25e-269)
                       (* (* y x) z)
                       (if (<= b 3.5e-200) t_1 (if (<= b 3.3e+84) (* (* z x) y) 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(-i, y, (c * a)) * j;
            	double t_2 = (b * t) * i;
            	double tmp;
            	if (b <= -2.02e+276) {
            		tmp = t_2;
            	} else if (b <= -1.05e+116) {
            		tmp = (-b * z) * c;
            	} else if (b <= -1.7e-216) {
            		tmp = t_1;
            	} else if (b <= -1.25e-269) {
            		tmp = (y * x) * z;
            	} else if (b <= 3.5e-200) {
            		tmp = t_1;
            	} else if (b <= 3.3e+84) {
            		tmp = (z * x) * y;
            	} else {
            		tmp = t_2;
            	}
            	return tmp;
            }
            
            function code(x, y, z, t, a, b, c, i, j)
            	t_1 = Float64(fma(Float64(-i), y, Float64(c * a)) * j)
            	t_2 = Float64(Float64(b * t) * i)
            	tmp = 0.0
            	if (b <= -2.02e+276)
            		tmp = t_2;
            	elseif (b <= -1.05e+116)
            		tmp = Float64(Float64(Float64(-b) * z) * c);
            	elseif (b <= -1.7e-216)
            		tmp = t_1;
            	elseif (b <= -1.25e-269)
            		tmp = Float64(Float64(y * x) * z);
            	elseif (b <= 3.5e-200)
            		tmp = t_1;
            	elseif (b <= 3.3e+84)
            		tmp = Float64(Float64(z * x) * y);
            	else
            		tmp = t_2;
            	end
            	return tmp
            end
            
            code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[((-i) * y + N[(c * a), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]}, Block[{t$95$2 = N[(N[(b * t), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[b, -2.02e+276], t$95$2, If[LessEqual[b, -1.05e+116], N[(N[((-b) * z), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[b, -1.7e-216], t$95$1, If[LessEqual[b, -1.25e-269], N[(N[(y * x), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[b, 3.5e-200], t$95$1, If[LessEqual[b, 3.3e+84], N[(N[(z * x), $MachinePrecision] * y), $MachinePrecision], t$95$2]]]]]]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            t_1 := \mathsf{fma}\left(-i, y, c \cdot a\right) \cdot j\\
            t_2 := \left(b \cdot t\right) \cdot i\\
            \mathbf{if}\;b \leq -2.02 \cdot 10^{+276}:\\
            \;\;\;\;t\_2\\
            
            \mathbf{elif}\;b \leq -1.05 \cdot 10^{+116}:\\
            \;\;\;\;\left(\left(-b\right) \cdot z\right) \cdot c\\
            
            \mathbf{elif}\;b \leq -1.7 \cdot 10^{-216}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{elif}\;b \leq -1.25 \cdot 10^{-269}:\\
            \;\;\;\;\left(y \cdot x\right) \cdot z\\
            
            \mathbf{elif}\;b \leq 3.5 \cdot 10^{-200}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\
            \;\;\;\;\left(z \cdot x\right) \cdot y\\
            
            \mathbf{else}:\\
            \;\;\;\;t\_2\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 5 regimes
            2. if b < -2.01999999999999995e276 or 3.30000000000000017e84 < b

              1. Initial program 64.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                if -2.01999999999999995e276 < b < -1.0500000000000001e116

                1. Initial program 73.1%

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

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

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

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

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

                    \[\leadsto \left(a \cdot j + \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) + a \cdot j\right)} \cdot c \]
                  6. *-commutativeN/A

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

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

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

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

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

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

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

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

                  \[\leadsto \left(-1 \cdot \left(b \cdot z\right)\right) \cdot c \]
                7. Step-by-step derivation
                  1. Applied rewrites49.7%

                    \[\leadsto \left(\left(-b\right) \cdot z\right) \cdot c \]

                  if -1.0500000000000001e116 < b < -1.6999999999999999e-216 or -1.24999999999999995e-269 < b < 3.50000000000000023e-200

                  1. Initial program 72.8%

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

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

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

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

                      \[\leadsto \color{blue}{\mathsf{fma}\left(a \cdot c - i \cdot y, j, \left(t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z\right)\right)} \]
                    4. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                    if -1.6999999999999999e-216 < b < -1.24999999999999995e-269

                    1. Initial program 65.2%

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

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

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

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

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

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

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

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

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

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

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

                      if 3.50000000000000023e-200 < b < 3.30000000000000017e84

                      1. Initial program 76.9%

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

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

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

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

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

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

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

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

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

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

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

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

                            \[\leadsto \left(z \cdot x\right) \cdot y \]
                        3. Recombined 5 regimes into one program.
                        4. Final simplification52.2%

                          \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.02 \cdot 10^{+276}:\\ \;\;\;\;\left(b \cdot t\right) \cdot i\\ \mathbf{elif}\;b \leq -1.05 \cdot 10^{+116}:\\ \;\;\;\;\left(\left(-b\right) \cdot z\right) \cdot c\\ \mathbf{elif}\;b \leq -1.7 \cdot 10^{-216}:\\ \;\;\;\;\mathsf{fma}\left(-i, y, c \cdot a\right) \cdot j\\ \mathbf{elif}\;b \leq -1.25 \cdot 10^{-269}:\\ \;\;\;\;\left(y \cdot x\right) \cdot z\\ \mathbf{elif}\;b \leq 3.5 \cdot 10^{-200}:\\ \;\;\;\;\mathsf{fma}\left(-i, y, c \cdot a\right) \cdot j\\ \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\ \;\;\;\;\left(z \cdot x\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;\left(b \cdot t\right) \cdot i\\ \end{array} \]
                        5. Add Preprocessing

                        Alternative 9: 51.3% accurate, 1.4× speedup?

                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-z, c, i \cdot t\right) \cdot b\\ \mathbf{if}\;b \leq -2.6 \cdot 10^{+118}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -2.05 \cdot 10^{-35}:\\ \;\;\;\;\mathsf{fma}\left(-x, a, i \cdot b\right) \cdot t\\ \mathbf{elif}\;b \leq -3.5 \cdot 10^{-216}:\\ \;\;\;\;\mathsf{fma}\left(-i, y, c \cdot a\right) \cdot j\\ \mathbf{elif}\;b \leq 1.06 \cdot 10^{+102}:\\ \;\;\;\;\mathsf{fma}\left(-t, a, 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 (- z) c (* i t)) b)))
                           (if (<= b -2.6e+118)
                             t_1
                             (if (<= b -2.05e-35)
                               (* (fma (- x) a (* i b)) t)
                               (if (<= b -3.5e-216)
                                 (* (fma (- i) y (* c a)) j)
                                 (if (<= b 1.06e+102) (* (fma (- t) a (* 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(-z, c, (i * t)) * b;
                        	double tmp;
                        	if (b <= -2.6e+118) {
                        		tmp = t_1;
                        	} else if (b <= -2.05e-35) {
                        		tmp = fma(-x, a, (i * b)) * t;
                        	} else if (b <= -3.5e-216) {
                        		tmp = fma(-i, y, (c * a)) * j;
                        	} else if (b <= 1.06e+102) {
                        		tmp = fma(-t, a, (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(-z), c, Float64(i * t)) * b)
                        	tmp = 0.0
                        	if (b <= -2.6e+118)
                        		tmp = t_1;
                        	elseif (b <= -2.05e-35)
                        		tmp = Float64(fma(Float64(-x), a, Float64(i * b)) * t);
                        	elseif (b <= -3.5e-216)
                        		tmp = Float64(fma(Float64(-i), y, Float64(c * a)) * j);
                        	elseif (b <= 1.06e+102)
                        		tmp = Float64(fma(Float64(-t), a, 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[((-z) * c + N[(i * t), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]}, If[LessEqual[b, -2.6e+118], t$95$1, If[LessEqual[b, -2.05e-35], N[(N[((-x) * a + N[(i * b), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[b, -3.5e-216], N[(N[((-i) * y + N[(c * a), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[b, 1.06e+102], N[(N[((-t) * a + N[(z * y), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], t$95$1]]]]]
                        
                        \begin{array}{l}
                        
                        \\
                        \begin{array}{l}
                        t_1 := \mathsf{fma}\left(-z, c, i \cdot t\right) \cdot b\\
                        \mathbf{if}\;b \leq -2.6 \cdot 10^{+118}:\\
                        \;\;\;\;t\_1\\
                        
                        \mathbf{elif}\;b \leq -2.05 \cdot 10^{-35}:\\
                        \;\;\;\;\mathsf{fma}\left(-x, a, i \cdot b\right) \cdot t\\
                        
                        \mathbf{elif}\;b \leq -3.5 \cdot 10^{-216}:\\
                        \;\;\;\;\mathsf{fma}\left(-i, y, c \cdot a\right) \cdot j\\
                        
                        \mathbf{elif}\;b \leq 1.06 \cdot 10^{+102}:\\
                        \;\;\;\;\mathsf{fma}\left(-t, a, z \cdot y\right) \cdot x\\
                        
                        \mathbf{else}:\\
                        \;\;\;\;t\_1\\
                        
                        
                        \end{array}
                        \end{array}
                        
                        Derivation
                        1. Split input into 4 regimes
                        2. if b < -2.60000000000000016e118 or 1.06000000000000001e102 < b

                          1. Initial program 70.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                              \[\leadsto \mathsf{fma}\left(\color{blue}{-z}, c, i \cdot t\right) \cdot b \]
                            19. lower-*.f6475.1

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

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

                          if -2.60000000000000016e118 < b < -2.05000000000000013e-35

                          1. Initial program 69.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                          if -2.05000000000000013e-35 < b < -3.49999999999999982e-216

                          1. Initial program 68.7%

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

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

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

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

                              \[\leadsto \color{blue}{\mathsf{fma}\left(a \cdot c - i \cdot y, j, \left(t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z\right)\right)} \]
                            4. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                            if -3.49999999999999982e-216 < b < 1.06000000000000001e102

                            1. Initial program 73.6%

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

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

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

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

                                \[\leadsto \color{blue}{\mathsf{fma}\left(a \cdot c - i \cdot y, j, \left(t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z\right)\right)} \]
                              4. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                          Alternative 10: 60.4% accurate, 1.5× speedup?

                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -6.8 \cdot 10^{+106} \lor \neg \left(b \leq 9 \cdot 10^{+111}\right):\\ \;\;\;\;\mathsf{fma}\left(-z, c, i \cdot t\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot a, c, \mathsf{fma}\left(-t, a, z \cdot y\right) \cdot x\right)\\ \end{array} \end{array} \]
                          (FPCore (x y z t a b c i j)
                           :precision binary64
                           (if (or (<= b -6.8e+106) (not (<= b 9e+111)))
                             (* (fma (- z) c (* i t)) b)
                             (fma (* j a) c (* (fma (- t) a (* z y)) x))))
                          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                          	double tmp;
                          	if ((b <= -6.8e+106) || !(b <= 9e+111)) {
                          		tmp = fma(-z, c, (i * t)) * b;
                          	} else {
                          		tmp = fma((j * a), c, (fma(-t, a, (z * y)) * x));
                          	}
                          	return tmp;
                          }
                          
                          function code(x, y, z, t, a, b, c, i, j)
                          	tmp = 0.0
                          	if ((b <= -6.8e+106) || !(b <= 9e+111))
                          		tmp = Float64(fma(Float64(-z), c, Float64(i * t)) * b);
                          	else
                          		tmp = fma(Float64(j * a), c, Float64(fma(Float64(-t), a, Float64(z * y)) * x));
                          	end
                          	return tmp
                          end
                          
                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[b, -6.8e+106], N[Not[LessEqual[b, 9e+111]], $MachinePrecision]], N[(N[((-z) * c + N[(i * t), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], N[(N[(j * a), $MachinePrecision] * c + N[(N[((-t) * a + N[(z * y), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision]]
                          
                          \begin{array}{l}
                          
                          \\
                          \begin{array}{l}
                          \mathbf{if}\;b \leq -6.8 \cdot 10^{+106} \lor \neg \left(b \leq 9 \cdot 10^{+111}\right):\\
                          \;\;\;\;\mathsf{fma}\left(-z, c, i \cdot t\right) \cdot b\\
                          
                          \mathbf{else}:\\
                          \;\;\;\;\mathsf{fma}\left(j \cdot a, c, \mathsf{fma}\left(-t, a, z \cdot y\right) \cdot x\right)\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 2 regimes
                          2. if b < -6.79999999999999989e106 or 9.00000000000000001e111 < b

                            1. Initial program 69.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                            if -6.79999999999999989e106 < b < 9.00000000000000001e111

                            1. Initial program 72.1%

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

                              \[\leadsto \color{blue}{\left(a \cdot \left(c \cdot j\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}{a \cdot \left(c \cdot j\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 a \cdot \left(c \cdot j\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 a \cdot \left(c \cdot j\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(a \cdot \left(c \cdot j\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. sub-negN/A

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

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

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

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

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

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

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

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

                                \[\leadsto \color{blue}{\left(a \cdot j - 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(a \cdot j - b \cdot z, c, x \cdot \left(y \cdot z - a \cdot t\right)\right)} \]
                            5. Applied rewrites67.6%

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

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

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

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

                            Alternative 11: 61.2% accurate, 1.5× speedup?

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

                              1. Initial program 71.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                  \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-a, t, z \cdot y\right), x, \left(-b\right) \cdot \mathsf{fma}\left(c, z, \color{blue}{\left(\mathsf{neg}\left(i\right)\right)} \cdot t\right)\right) \]
                                24. lower-neg.f6480.2

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

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

                                \[\leadsto -1 \cdot \left(a \cdot \left(t \cdot x\right)\right) + \color{blue}{-1 \cdot \left(b \cdot \left(-1 \cdot \left(i \cdot t\right) + c \cdot z\right)\right)} \]
                              10. Step-by-step derivation
                                1. Applied rewrites72.9%

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

                                if -6.49999999999999991e-15 < b < 9.00000000000000001e111

                                1. Initial program 71.9%

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

                                  \[\leadsto \color{blue}{\left(a \cdot \left(c \cdot j\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}{a \cdot \left(c \cdot j\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 a \cdot \left(c \cdot j\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 a \cdot \left(c \cdot j\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(a \cdot \left(c \cdot j\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. sub-negN/A

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

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

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

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

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

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

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

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

                                    \[\leadsto \color{blue}{\left(a \cdot j - 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(a \cdot j - b \cdot z, c, x \cdot \left(y \cdot z - a \cdot t\right)\right)} \]
                                5. Applied rewrites68.0%

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

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

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

                                  if 9.00000000000000001e111 < b

                                  1. Initial program 69.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                      \[\leadsto \mathsf{fma}\left(\color{blue}{-z}, c, i \cdot t\right) \cdot b \]
                                    19. lower-*.f6473.0

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

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

                                Alternative 12: 58.1% accurate, 1.5× speedup?

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

                                  1. Initial program 68.9%

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

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

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

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

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

                                      \[\leadsto \left(a \cdot j + \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) + a \cdot j\right)} \cdot c \]
                                    6. *-commutativeN/A

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

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

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

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

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

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

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

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

                                  if -8.79999999999999949e68 < j < 6.7999999999999999e65

                                  1. Initial program 72.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                    if 6.7999999999999999e65 < j

                                    1. Initial program 68.8%

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

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

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

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

                                        \[\leadsto \color{blue}{\mathsf{fma}\left(a \cdot c - i \cdot y, j, \left(t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z\right)\right)} \]
                                      4. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                    Alternative 13: 28.8% accurate, 1.7× speedup?

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

                                      1. Initial program 64.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                        if -1.84999999999999989e276 < b < -3.30000000000000008e106

                                        1. Initial program 73.7%

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

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

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

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

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

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

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

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

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

                                          \[\leadsto \left(-1 \cdot \left(b \cdot c\right)\right) \cdot z \]
                                        7. Step-by-step derivation
                                          1. Applied rewrites48.5%

                                            \[\leadsto \left(\left(-b\right) \cdot c\right) \cdot z \]

                                          if -3.30000000000000008e106 < b < -8e-176

                                          1. Initial program 65.9%

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

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

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

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

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

                                              \[\leadsto \left(a \cdot j + \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) + a \cdot j\right)} \cdot c \]
                                            6. *-commutativeN/A

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

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

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

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

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

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

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

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

                                            \[\leadsto \left(a \cdot j\right) \cdot c \]
                                          7. Step-by-step derivation
                                            1. Applied rewrites33.5%

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

                                            if -8e-176 < b < 3.30000000000000017e84

                                            1. Initial program 76.1%

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

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

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

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

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

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

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

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

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

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

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

                                                \[\leadsto \left(y \cdot x\right) \cdot z \]
                                            8. Recombined 4 regimes into one program.
                                            9. Add Preprocessing

                                            Alternative 14: 52.3% accurate, 2.0× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -3.2 \cdot 10^{+68} \lor \neg \left(z \leq 2.4 \cdot 10^{+31}\right):\\ \;\;\;\;\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-x, a, i \cdot b\right) \cdot t\\ \end{array} \end{array} \]
                                            (FPCore (x y z t a b c i j)
                                             :precision binary64
                                             (if (or (<= z -3.2e+68) (not (<= z 2.4e+31)))
                                               (* (fma (- c) b (* y x)) z)
                                               (* (fma (- x) a (* i b)) t)))
                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                            	double tmp;
                                            	if ((z <= -3.2e+68) || !(z <= 2.4e+31)) {
                                            		tmp = fma(-c, b, (y * x)) * z;
                                            	} else {
                                            		tmp = fma(-x, a, (i * b)) * t;
                                            	}
                                            	return tmp;
                                            }
                                            
                                            function code(x, y, z, t, a, b, c, i, j)
                                            	tmp = 0.0
                                            	if ((z <= -3.2e+68) || !(z <= 2.4e+31))
                                            		tmp = Float64(fma(Float64(-c), b, Float64(y * x)) * z);
                                            	else
                                            		tmp = Float64(fma(Float64(-x), a, Float64(i * b)) * t);
                                            	end
                                            	return tmp
                                            end
                                            
                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[z, -3.2e+68], N[Not[LessEqual[z, 2.4e+31]], $MachinePrecision]], N[(N[((-c) * b + N[(y * x), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], N[(N[((-x) * a + N[(i * b), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]]
                                            
                                            \begin{array}{l}
                                            
                                            \\
                                            \begin{array}{l}
                                            \mathbf{if}\;z \leq -3.2 \cdot 10^{+68} \lor \neg \left(z \leq 2.4 \cdot 10^{+31}\right):\\
                                            \;\;\;\;\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;\mathsf{fma}\left(-x, a, i \cdot b\right) \cdot t\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 2 regimes
                                            2. if z < -3.19999999999999994e68 or 2.39999999999999982e31 < z

                                              1. Initial program 62.3%

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

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

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

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

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

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

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

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

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

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

                                              if -3.19999999999999994e68 < z < 2.39999999999999982e31

                                              1. Initial program 78.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                            Alternative 15: 53.3% accurate, 2.0× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -1 \cdot 10^{+29} \lor \neg \left(z \leq 3 \cdot 10^{+31}\right):\\ \;\;\;\;\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-i, y, c \cdot a\right) \cdot j\\ \end{array} \end{array} \]
                                            (FPCore (x y z t a b c i j)
                                             :precision binary64
                                             (if (or (<= z -1e+29) (not (<= z 3e+31)))
                                               (* (fma (- c) b (* y x)) z)
                                               (* (fma (- i) y (* c a)) j)))
                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                            	double tmp;
                                            	if ((z <= -1e+29) || !(z <= 3e+31)) {
                                            		tmp = fma(-c, b, (y * x)) * z;
                                            	} else {
                                            		tmp = fma(-i, y, (c * a)) * j;
                                            	}
                                            	return tmp;
                                            }
                                            
                                            function code(x, y, z, t, a, b, c, i, j)
                                            	tmp = 0.0
                                            	if ((z <= -1e+29) || !(z <= 3e+31))
                                            		tmp = Float64(fma(Float64(-c), b, Float64(y * x)) * z);
                                            	else
                                            		tmp = Float64(fma(Float64(-i), y, Float64(c * a)) * j);
                                            	end
                                            	return tmp
                                            end
                                            
                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[z, -1e+29], N[Not[LessEqual[z, 3e+31]], $MachinePrecision]], N[(N[((-c) * b + N[(y * x), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], N[(N[((-i) * y + N[(c * a), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]]
                                            
                                            \begin{array}{l}
                                            
                                            \\
                                            \begin{array}{l}
                                            \mathbf{if}\;z \leq -1 \cdot 10^{+29} \lor \neg \left(z \leq 3 \cdot 10^{+31}\right):\\
                                            \;\;\;\;\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;\mathsf{fma}\left(-i, y, c \cdot a\right) \cdot j\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 2 regimes
                                            2. if z < -9.99999999999999914e28 or 2.99999999999999989e31 < z

                                              1. Initial program 63.0%

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

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

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

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

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

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

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

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

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

                                              if -9.99999999999999914e28 < z < 2.99999999999999989e31

                                              1. Initial program 79.0%

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

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

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

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

                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(a \cdot c - i \cdot y, j, \left(t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) + x \cdot \left(y \cdot z\right)\right) - b \cdot \left(c \cdot z\right)\right)} \]
                                                4. cancel-sign-sub-invN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1 \cdot 10^{+29} \lor \neg \left(z \leq 3 \cdot 10^{+31}\right):\\ \;\;\;\;\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-i, y, c \cdot a\right) \cdot j\\ \end{array} \]
                                              10. Add Preprocessing

                                              Alternative 16: 29.2% accurate, 2.1× speedup?

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

                                                1. Initial program 71.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                  if -3.5e14 < b < -5.19999999999999984e-176

                                                  1. Initial program 60.1%

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

                                                    \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                                  4. Step-by-step derivation
                                                    1. *-commutativeN/A

                                                      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) \cdot t} \]
                                                    2. lower-*.f64N/A

                                                      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) \cdot t} \]
                                                    3. sub-negN/A

                                                      \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right)} \cdot t \]
                                                    4. *-commutativeN/A

                                                      \[\leadsto \left(-1 \cdot \color{blue}{\left(x \cdot a\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \cdot t \]
                                                    5. associate-*r*N/A

                                                      \[\leadsto \left(\color{blue}{\left(-1 \cdot x\right) \cdot a} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \cdot t \]
                                                    6. mul-1-negN/A

                                                      \[\leadsto \left(\left(-1 \cdot x\right) \cdot a + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(b \cdot i\right)\right)}\right)\right)\right) \cdot t \]
                                                    7. remove-double-negN/A

                                                      \[\leadsto \left(\left(-1 \cdot x\right) \cdot a + \color{blue}{b \cdot i}\right) \cdot t \]
                                                    8. lower-fma.f64N/A

                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot x, a, b \cdot i\right)} \cdot t \]
                                                    9. mul-1-negN/A

                                                      \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(x\right)}, a, b \cdot i\right) \cdot t \]
                                                    10. lower-neg.f64N/A

                                                      \[\leadsto \mathsf{fma}\left(\color{blue}{-x}, a, b \cdot i\right) \cdot t \]
                                                    11. *-commutativeN/A

                                                      \[\leadsto \mathsf{fma}\left(-x, a, \color{blue}{i \cdot b}\right) \cdot t \]
                                                    12. lower-*.f6442.5

                                                      \[\leadsto \mathsf{fma}\left(-x, a, \color{blue}{i \cdot b}\right) \cdot t \]
                                                  5. Applied rewrites42.5%

                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-x, a, i \cdot b\right) \cdot t} \]
                                                  6. Taylor expanded in x around inf

                                                    \[\leadsto \left(-1 \cdot \left(a \cdot x\right)\right) \cdot t \]
                                                  7. Step-by-step derivation
                                                    1. Applied rewrites36.0%

                                                      \[\leadsto \left(\left(-a\right) \cdot x\right) \cdot t \]

                                                    if -5.19999999999999984e-176 < b < 3.30000000000000017e84

                                                    1. Initial program 76.1%

                                                      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                    2. Add Preprocessing
                                                    3. Taylor expanded in z around inf

                                                      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                    4. Step-by-step derivation
                                                      1. *-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. *-commutativeN/A

                                                        \[\leadsto \left(-1 \cdot \color{blue}{\left(c \cdot b\right)} + x \cdot y\right) \cdot z \]
                                                      7. associate-*r*N/A

                                                        \[\leadsto \left(\color{blue}{\left(-1 \cdot c\right) \cdot b} + x \cdot y\right) \cdot z \]
                                                      8. lower-fma.f64N/A

                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot c, b, x \cdot y\right)} \cdot z \]
                                                      9. neg-mul-1N/A

                                                        \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(c\right)}, b, x \cdot y\right) \cdot z \]
                                                      10. lower-neg.f64N/A

                                                        \[\leadsto \mathsf{fma}\left(\color{blue}{-c}, b, x \cdot y\right) \cdot z \]
                                                      11. *-commutativeN/A

                                                        \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                      12. lower-*.f6445.2

                                                        \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                    5. Applied rewrites45.2%

                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z} \]
                                                    6. Taylor expanded in x around inf

                                                      \[\leadsto \left(x \cdot y\right) \cdot z \]
                                                    7. Step-by-step derivation
                                                      1. Applied rewrites39.4%

                                                        \[\leadsto \left(y \cdot x\right) \cdot z \]

                                                      if 3.30000000000000017e84 < b

                                                      1. Initial program 66.2%

                                                        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                      2. Add Preprocessing
                                                      3. Taylor expanded in i around inf

                                                        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                                                      4. Step-by-step derivation
                                                        1. *-commutativeN/A

                                                          \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                        2. lower-*.f64N/A

                                                          \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                        3. cancel-sign-sub-invN/A

                                                          \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \cdot i \]
                                                        4. *-commutativeN/A

                                                          \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\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\right)\right) \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                        6. metadata-evalN/A

                                                          \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                        7. *-lft-identityN/A

                                                          \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{b \cdot t}\right) \cdot i \]
                                                        8. lower-fma.f64N/A

                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot y, j, b \cdot t\right)} \cdot i \]
                                                        9. mul-1-negN/A

                                                          \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, j, b \cdot t\right) \cdot i \]
                                                        10. lower-neg.f64N/A

                                                          \[\leadsto \mathsf{fma}\left(\color{blue}{-y}, j, b \cdot t\right) \cdot i \]
                                                        11. lower-*.f6464.5

                                                          \[\leadsto \mathsf{fma}\left(-y, j, \color{blue}{b \cdot t}\right) \cdot i \]
                                                      5. Applied rewrites64.5%

                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-y, j, b \cdot t\right) \cdot i} \]
                                                      6. Taylor expanded in y around 0

                                                        \[\leadsto \left(b \cdot t\right) \cdot i \]
                                                      7. Step-by-step derivation
                                                        1. Applied rewrites51.0%

                                                          \[\leadsto \left(b \cdot t\right) \cdot i \]
                                                      8. Recombined 4 regimes into one program.
                                                      9. Add Preprocessing

                                                      Alternative 17: 29.0% accurate, 2.1× speedup?

                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -20000000000000:\\ \;\;\;\;\left(i \cdot b\right) \cdot t\\ \mathbf{elif}\;b \leq -8 \cdot 10^{-176}:\\ \;\;\;\;\left(j \cdot a\right) \cdot c\\ \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\ \;\;\;\;\left(y \cdot x\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\left(b \cdot t\right) \cdot i\\ \end{array} \end{array} \]
                                                      (FPCore (x y z t a b c i j)
                                                       :precision binary64
                                                       (if (<= b -20000000000000.0)
                                                         (* (* i b) t)
                                                         (if (<= b -8e-176)
                                                           (* (* j a) c)
                                                           (if (<= b 3.3e+84) (* (* y x) z) (* (* b t) i)))))
                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                      	double tmp;
                                                      	if (b <= -20000000000000.0) {
                                                      		tmp = (i * b) * t;
                                                      	} else if (b <= -8e-176) {
                                                      		tmp = (j * a) * c;
                                                      	} else if (b <= 3.3e+84) {
                                                      		tmp = (y * x) * z;
                                                      	} else {
                                                      		tmp = (b * t) * i;
                                                      	}
                                                      	return tmp;
                                                      }
                                                      
                                                      real(8) function code(x, y, z, t, a, b, c, i, j)
                                                          real(8), intent (in) :: x
                                                          real(8), intent (in) :: y
                                                          real(8), intent (in) :: z
                                                          real(8), intent (in) :: t
                                                          real(8), intent (in) :: a
                                                          real(8), intent (in) :: b
                                                          real(8), intent (in) :: c
                                                          real(8), intent (in) :: i
                                                          real(8), intent (in) :: j
                                                          real(8) :: tmp
                                                          if (b <= (-20000000000000.0d0)) then
                                                              tmp = (i * b) * t
                                                          else if (b <= (-8d-176)) then
                                                              tmp = (j * a) * c
                                                          else if (b <= 3.3d+84) then
                                                              tmp = (y * x) * z
                                                          else
                                                              tmp = (b * t) * i
                                                          end if
                                                          code = tmp
                                                      end function
                                                      
                                                      public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                      	double tmp;
                                                      	if (b <= -20000000000000.0) {
                                                      		tmp = (i * b) * t;
                                                      	} else if (b <= -8e-176) {
                                                      		tmp = (j * a) * c;
                                                      	} else if (b <= 3.3e+84) {
                                                      		tmp = (y * x) * z;
                                                      	} else {
                                                      		tmp = (b * t) * i;
                                                      	}
                                                      	return tmp;
                                                      }
                                                      
                                                      def code(x, y, z, t, a, b, c, i, j):
                                                      	tmp = 0
                                                      	if b <= -20000000000000.0:
                                                      		tmp = (i * b) * t
                                                      	elif b <= -8e-176:
                                                      		tmp = (j * a) * c
                                                      	elif b <= 3.3e+84:
                                                      		tmp = (y * x) * z
                                                      	else:
                                                      		tmp = (b * t) * i
                                                      	return tmp
                                                      
                                                      function code(x, y, z, t, a, b, c, i, j)
                                                      	tmp = 0.0
                                                      	if (b <= -20000000000000.0)
                                                      		tmp = Float64(Float64(i * b) * t);
                                                      	elseif (b <= -8e-176)
                                                      		tmp = Float64(Float64(j * a) * c);
                                                      	elseif (b <= 3.3e+84)
                                                      		tmp = Float64(Float64(y * x) * z);
                                                      	else
                                                      		tmp = Float64(Float64(b * t) * i);
                                                      	end
                                                      	return tmp
                                                      end
                                                      
                                                      function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                      	tmp = 0.0;
                                                      	if (b <= -20000000000000.0)
                                                      		tmp = (i * b) * t;
                                                      	elseif (b <= -8e-176)
                                                      		tmp = (j * a) * c;
                                                      	elseif (b <= 3.3e+84)
                                                      		tmp = (y * x) * z;
                                                      	else
                                                      		tmp = (b * t) * i;
                                                      	end
                                                      	tmp_2 = tmp;
                                                      end
                                                      
                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[b, -20000000000000.0], N[(N[(i * b), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[b, -8e-176], N[(N[(j * a), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[b, 3.3e+84], N[(N[(y * x), $MachinePrecision] * z), $MachinePrecision], N[(N[(b * t), $MachinePrecision] * i), $MachinePrecision]]]]
                                                      
                                                      \begin{array}{l}
                                                      
                                                      \\
                                                      \begin{array}{l}
                                                      \mathbf{if}\;b \leq -20000000000000:\\
                                                      \;\;\;\;\left(i \cdot b\right) \cdot t\\
                                                      
                                                      \mathbf{elif}\;b \leq -8 \cdot 10^{-176}:\\
                                                      \;\;\;\;\left(j \cdot a\right) \cdot c\\
                                                      
                                                      \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\
                                                      \;\;\;\;\left(y \cdot x\right) \cdot z\\
                                                      
                                                      \mathbf{else}:\\
                                                      \;\;\;\;\left(b \cdot t\right) \cdot i\\
                                                      
                                                      
                                                      \end{array}
                                                      \end{array}
                                                      
                                                      Derivation
                                                      1. Split input into 4 regimes
                                                      2. if b < -2e13

                                                        1. Initial program 72.1%

                                                          \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                        2. Add Preprocessing
                                                        3. Taylor expanded in t around inf

                                                          \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                                        4. Step-by-step derivation
                                                          1. *-commutativeN/A

                                                            \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) \cdot t} \]
                                                          2. lower-*.f64N/A

                                                            \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) \cdot t} \]
                                                          3. sub-negN/A

                                                            \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right)} \cdot t \]
                                                          4. *-commutativeN/A

                                                            \[\leadsto \left(-1 \cdot \color{blue}{\left(x \cdot a\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \cdot t \]
                                                          5. associate-*r*N/A

                                                            \[\leadsto \left(\color{blue}{\left(-1 \cdot x\right) \cdot a} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \cdot t \]
                                                          6. mul-1-negN/A

                                                            \[\leadsto \left(\left(-1 \cdot x\right) \cdot a + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(b \cdot i\right)\right)}\right)\right)\right) \cdot t \]
                                                          7. remove-double-negN/A

                                                            \[\leadsto \left(\left(-1 \cdot x\right) \cdot a + \color{blue}{b \cdot i}\right) \cdot t \]
                                                          8. lower-fma.f64N/A

                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot x, a, b \cdot i\right)} \cdot t \]
                                                          9. mul-1-negN/A

                                                            \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(x\right)}, a, b \cdot i\right) \cdot t \]
                                                          10. lower-neg.f64N/A

                                                            \[\leadsto \mathsf{fma}\left(\color{blue}{-x}, a, b \cdot i\right) \cdot t \]
                                                          11. *-commutativeN/A

                                                            \[\leadsto \mathsf{fma}\left(-x, a, \color{blue}{i \cdot b}\right) \cdot t \]
                                                          12. lower-*.f6451.2

                                                            \[\leadsto \mathsf{fma}\left(-x, a, \color{blue}{i \cdot b}\right) \cdot t \]
                                                        5. Applied rewrites51.2%

                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-x, a, i \cdot b\right) \cdot t} \]
                                                        6. Taylor expanded in x around 0

                                                          \[\leadsto \left(b \cdot i\right) \cdot t \]
                                                        7. Step-by-step derivation
                                                          1. Applied rewrites42.7%

                                                            \[\leadsto \left(i \cdot b\right) \cdot t \]

                                                          if -2e13 < b < -8e-176

                                                          1. Initial program 58.7%

                                                            \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                          2. Add Preprocessing
                                                          3. Taylor expanded in c around inf

                                                            \[\leadsto \color{blue}{c \cdot \left(a \cdot j - b \cdot z\right)} \]
                                                          4. Step-by-step derivation
                                                            1. *-commutativeN/A

                                                              \[\leadsto \color{blue}{\left(a \cdot j - b \cdot z\right) \cdot c} \]
                                                            2. lower-*.f64N/A

                                                              \[\leadsto \color{blue}{\left(a \cdot j - b \cdot z\right) \cdot c} \]
                                                            3. sub-negN/A

                                                              \[\leadsto \color{blue}{\left(a \cdot j + \left(\mathsf{neg}\left(b \cdot z\right)\right)\right)} \cdot c \]
                                                            4. mul-1-negN/A

                                                              \[\leadsto \left(a \cdot j + \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) + a \cdot j\right)} \cdot c \]
                                                            6. *-commutativeN/A

                                                              \[\leadsto \left(-1 \cdot \color{blue}{\left(z \cdot b\right)} + a \cdot j\right) \cdot c \]
                                                            7. associate-*r*N/A

                                                              \[\leadsto \left(\color{blue}{\left(-1 \cdot z\right) \cdot b} + a \cdot j\right) \cdot c \]
                                                            8. lower-fma.f64N/A

                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot z, b, a \cdot j\right)} \cdot c \]
                                                            9. mul-1-negN/A

                                                              \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(z\right)}, b, a \cdot j\right) \cdot c \]
                                                            10. lower-neg.f64N/A

                                                              \[\leadsto \mathsf{fma}\left(\color{blue}{-z}, b, a \cdot j\right) \cdot c \]
                                                            11. *-commutativeN/A

                                                              \[\leadsto \mathsf{fma}\left(-z, b, \color{blue}{j \cdot a}\right) \cdot c \]
                                                            12. lower-*.f6445.9

                                                              \[\leadsto \mathsf{fma}\left(-z, b, \color{blue}{j \cdot a}\right) \cdot c \]
                                                          5. Applied rewrites45.9%

                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-z, b, j \cdot a\right) \cdot c} \]
                                                          6. Taylor expanded in z around 0

                                                            \[\leadsto \left(a \cdot j\right) \cdot c \]
                                                          7. Step-by-step derivation
                                                            1. Applied rewrites35.9%

                                                              \[\leadsto \left(j \cdot a\right) \cdot c \]

                                                            if -8e-176 < b < 3.30000000000000017e84

                                                            1. Initial program 76.1%

                                                              \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                            2. Add Preprocessing
                                                            3. Taylor expanded in z around inf

                                                              \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                            4. Step-by-step derivation
                                                              1. *-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. *-commutativeN/A

                                                                \[\leadsto \left(-1 \cdot \color{blue}{\left(c \cdot b\right)} + x \cdot y\right) \cdot z \]
                                                              7. associate-*r*N/A

                                                                \[\leadsto \left(\color{blue}{\left(-1 \cdot c\right) \cdot b} + x \cdot y\right) \cdot z \]
                                                              8. lower-fma.f64N/A

                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot c, b, x \cdot y\right)} \cdot z \]
                                                              9. neg-mul-1N/A

                                                                \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(c\right)}, b, x \cdot y\right) \cdot z \]
                                                              10. lower-neg.f64N/A

                                                                \[\leadsto \mathsf{fma}\left(\color{blue}{-c}, b, x \cdot y\right) \cdot z \]
                                                              11. *-commutativeN/A

                                                                \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                              12. lower-*.f6445.2

                                                                \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                            5. Applied rewrites45.2%

                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z} \]
                                                            6. Taylor expanded in x around inf

                                                              \[\leadsto \left(x \cdot y\right) \cdot z \]
                                                            7. Step-by-step derivation
                                                              1. Applied rewrites39.4%

                                                                \[\leadsto \left(y \cdot x\right) \cdot z \]

                                                              if 3.30000000000000017e84 < b

                                                              1. Initial program 66.2%

                                                                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                              2. Add Preprocessing
                                                              3. Taylor expanded in i around inf

                                                                \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                                                              4. Step-by-step derivation
                                                                1. *-commutativeN/A

                                                                  \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                2. lower-*.f64N/A

                                                                  \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                3. cancel-sign-sub-invN/A

                                                                  \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \cdot i \]
                                                                4. *-commutativeN/A

                                                                  \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\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\right)\right) \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                6. metadata-evalN/A

                                                                  \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                7. *-lft-identityN/A

                                                                  \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{b \cdot t}\right) \cdot i \]
                                                                8. lower-fma.f64N/A

                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot y, j, b \cdot t\right)} \cdot i \]
                                                                9. mul-1-negN/A

                                                                  \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, j, b \cdot t\right) \cdot i \]
                                                                10. lower-neg.f64N/A

                                                                  \[\leadsto \mathsf{fma}\left(\color{blue}{-y}, j, b \cdot t\right) \cdot i \]
                                                                11. lower-*.f6464.5

                                                                  \[\leadsto \mathsf{fma}\left(-y, j, \color{blue}{b \cdot t}\right) \cdot i \]
                                                              5. Applied rewrites64.5%

                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-y, j, b \cdot t\right) \cdot i} \]
                                                              6. Taylor expanded in y around 0

                                                                \[\leadsto \left(b \cdot t\right) \cdot i \]
                                                              7. Step-by-step derivation
                                                                1. Applied rewrites51.0%

                                                                  \[\leadsto \left(b \cdot t\right) \cdot i \]
                                                              8. Recombined 4 regimes into one program.
                                                              9. Add Preprocessing

                                                              Alternative 18: 29.0% accurate, 2.1× speedup?

                                                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -22000000000000:\\ \;\;\;\;\left(i \cdot b\right) \cdot t\\ \mathbf{elif}\;b \leq -8 \cdot 10^{-176}:\\ \;\;\;\;\left(j \cdot c\right) \cdot a\\ \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\ \;\;\;\;\left(y \cdot x\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\left(b \cdot t\right) \cdot i\\ \end{array} \end{array} \]
                                                              (FPCore (x y z t a b c i j)
                                                               :precision binary64
                                                               (if (<= b -22000000000000.0)
                                                                 (* (* i b) t)
                                                                 (if (<= b -8e-176)
                                                                   (* (* j c) a)
                                                                   (if (<= b 3.3e+84) (* (* y x) z) (* (* b t) i)))))
                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                              	double tmp;
                                                              	if (b <= -22000000000000.0) {
                                                              		tmp = (i * b) * t;
                                                              	} else if (b <= -8e-176) {
                                                              		tmp = (j * c) * a;
                                                              	} else if (b <= 3.3e+84) {
                                                              		tmp = (y * x) * z;
                                                              	} else {
                                                              		tmp = (b * t) * i;
                                                              	}
                                                              	return tmp;
                                                              }
                                                              
                                                              real(8) function code(x, y, z, t, a, b, c, i, j)
                                                                  real(8), intent (in) :: x
                                                                  real(8), intent (in) :: y
                                                                  real(8), intent (in) :: z
                                                                  real(8), intent (in) :: t
                                                                  real(8), intent (in) :: a
                                                                  real(8), intent (in) :: b
                                                                  real(8), intent (in) :: c
                                                                  real(8), intent (in) :: i
                                                                  real(8), intent (in) :: j
                                                                  real(8) :: tmp
                                                                  if (b <= (-22000000000000.0d0)) then
                                                                      tmp = (i * b) * t
                                                                  else if (b <= (-8d-176)) then
                                                                      tmp = (j * c) * a
                                                                  else if (b <= 3.3d+84) then
                                                                      tmp = (y * x) * z
                                                                  else
                                                                      tmp = (b * t) * i
                                                                  end if
                                                                  code = tmp
                                                              end function
                                                              
                                                              public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                              	double tmp;
                                                              	if (b <= -22000000000000.0) {
                                                              		tmp = (i * b) * t;
                                                              	} else if (b <= -8e-176) {
                                                              		tmp = (j * c) * a;
                                                              	} else if (b <= 3.3e+84) {
                                                              		tmp = (y * x) * z;
                                                              	} else {
                                                              		tmp = (b * t) * i;
                                                              	}
                                                              	return tmp;
                                                              }
                                                              
                                                              def code(x, y, z, t, a, b, c, i, j):
                                                              	tmp = 0
                                                              	if b <= -22000000000000.0:
                                                              		tmp = (i * b) * t
                                                              	elif b <= -8e-176:
                                                              		tmp = (j * c) * a
                                                              	elif b <= 3.3e+84:
                                                              		tmp = (y * x) * z
                                                              	else:
                                                              		tmp = (b * t) * i
                                                              	return tmp
                                                              
                                                              function code(x, y, z, t, a, b, c, i, j)
                                                              	tmp = 0.0
                                                              	if (b <= -22000000000000.0)
                                                              		tmp = Float64(Float64(i * b) * t);
                                                              	elseif (b <= -8e-176)
                                                              		tmp = Float64(Float64(j * c) * a);
                                                              	elseif (b <= 3.3e+84)
                                                              		tmp = Float64(Float64(y * x) * z);
                                                              	else
                                                              		tmp = Float64(Float64(b * t) * i);
                                                              	end
                                                              	return tmp
                                                              end
                                                              
                                                              function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                              	tmp = 0.0;
                                                              	if (b <= -22000000000000.0)
                                                              		tmp = (i * b) * t;
                                                              	elseif (b <= -8e-176)
                                                              		tmp = (j * c) * a;
                                                              	elseif (b <= 3.3e+84)
                                                              		tmp = (y * x) * z;
                                                              	else
                                                              		tmp = (b * t) * i;
                                                              	end
                                                              	tmp_2 = tmp;
                                                              end
                                                              
                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[b, -22000000000000.0], N[(N[(i * b), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[b, -8e-176], N[(N[(j * c), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[b, 3.3e+84], N[(N[(y * x), $MachinePrecision] * z), $MachinePrecision], N[(N[(b * t), $MachinePrecision] * i), $MachinePrecision]]]]
                                                              
                                                              \begin{array}{l}
                                                              
                                                              \\
                                                              \begin{array}{l}
                                                              \mathbf{if}\;b \leq -22000000000000:\\
                                                              \;\;\;\;\left(i \cdot b\right) \cdot t\\
                                                              
                                                              \mathbf{elif}\;b \leq -8 \cdot 10^{-176}:\\
                                                              \;\;\;\;\left(j \cdot c\right) \cdot a\\
                                                              
                                                              \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\
                                                              \;\;\;\;\left(y \cdot x\right) \cdot z\\
                                                              
                                                              \mathbf{else}:\\
                                                              \;\;\;\;\left(b \cdot t\right) \cdot i\\
                                                              
                                                              
                                                              \end{array}
                                                              \end{array}
                                                              
                                                              Derivation
                                                              1. Split input into 4 regimes
                                                              2. if b < -2.2e13

                                                                1. Initial program 72.1%

                                                                  \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                2. Add Preprocessing
                                                                3. Taylor expanded in t around inf

                                                                  \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                                                4. Step-by-step derivation
                                                                  1. *-commutativeN/A

                                                                    \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) \cdot t} \]
                                                                  2. lower-*.f64N/A

                                                                    \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) \cdot t} \]
                                                                  3. sub-negN/A

                                                                    \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right)} \cdot t \]
                                                                  4. *-commutativeN/A

                                                                    \[\leadsto \left(-1 \cdot \color{blue}{\left(x \cdot a\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \cdot t \]
                                                                  5. associate-*r*N/A

                                                                    \[\leadsto \left(\color{blue}{\left(-1 \cdot x\right) \cdot a} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \cdot t \]
                                                                  6. mul-1-negN/A

                                                                    \[\leadsto \left(\left(-1 \cdot x\right) \cdot a + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(b \cdot i\right)\right)}\right)\right)\right) \cdot t \]
                                                                  7. remove-double-negN/A

                                                                    \[\leadsto \left(\left(-1 \cdot x\right) \cdot a + \color{blue}{b \cdot i}\right) \cdot t \]
                                                                  8. lower-fma.f64N/A

                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot x, a, b \cdot i\right)} \cdot t \]
                                                                  9. mul-1-negN/A

                                                                    \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(x\right)}, a, b \cdot i\right) \cdot t \]
                                                                  10. lower-neg.f64N/A

                                                                    \[\leadsto \mathsf{fma}\left(\color{blue}{-x}, a, b \cdot i\right) \cdot t \]
                                                                  11. *-commutativeN/A

                                                                    \[\leadsto \mathsf{fma}\left(-x, a, \color{blue}{i \cdot b}\right) \cdot t \]
                                                                  12. lower-*.f6451.2

                                                                    \[\leadsto \mathsf{fma}\left(-x, a, \color{blue}{i \cdot b}\right) \cdot t \]
                                                                5. Applied rewrites51.2%

                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-x, a, i \cdot b\right) \cdot t} \]
                                                                6. Taylor expanded in x around 0

                                                                  \[\leadsto \left(b \cdot i\right) \cdot t \]
                                                                7. Step-by-step derivation
                                                                  1. Applied rewrites42.7%

                                                                    \[\leadsto \left(i \cdot b\right) \cdot t \]

                                                                  if -2.2e13 < b < -8e-176

                                                                  1. Initial program 58.7%

                                                                    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                  2. Add Preprocessing
                                                                  3. Taylor expanded in c around inf

                                                                    \[\leadsto \color{blue}{c \cdot \left(a \cdot j - b \cdot z\right)} \]
                                                                  4. Step-by-step derivation
                                                                    1. *-commutativeN/A

                                                                      \[\leadsto \color{blue}{\left(a \cdot j - b \cdot z\right) \cdot c} \]
                                                                    2. lower-*.f64N/A

                                                                      \[\leadsto \color{blue}{\left(a \cdot j - b \cdot z\right) \cdot c} \]
                                                                    3. sub-negN/A

                                                                      \[\leadsto \color{blue}{\left(a \cdot j + \left(\mathsf{neg}\left(b \cdot z\right)\right)\right)} \cdot c \]
                                                                    4. mul-1-negN/A

                                                                      \[\leadsto \left(a \cdot j + \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) + a \cdot j\right)} \cdot c \]
                                                                    6. *-commutativeN/A

                                                                      \[\leadsto \left(-1 \cdot \color{blue}{\left(z \cdot b\right)} + a \cdot j\right) \cdot c \]
                                                                    7. associate-*r*N/A

                                                                      \[\leadsto \left(\color{blue}{\left(-1 \cdot z\right) \cdot b} + a \cdot j\right) \cdot c \]
                                                                    8. lower-fma.f64N/A

                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot z, b, a \cdot j\right)} \cdot c \]
                                                                    9. mul-1-negN/A

                                                                      \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(z\right)}, b, a \cdot j\right) \cdot c \]
                                                                    10. lower-neg.f64N/A

                                                                      \[\leadsto \mathsf{fma}\left(\color{blue}{-z}, b, a \cdot j\right) \cdot c \]
                                                                    11. *-commutativeN/A

                                                                      \[\leadsto \mathsf{fma}\left(-z, b, \color{blue}{j \cdot a}\right) \cdot c \]
                                                                    12. lower-*.f6445.9

                                                                      \[\leadsto \mathsf{fma}\left(-z, b, \color{blue}{j \cdot a}\right) \cdot c \]
                                                                  5. Applied rewrites45.9%

                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-z, b, j \cdot a\right) \cdot c} \]
                                                                  6. Taylor expanded in z around 0

                                                                    \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]
                                                                  7. Step-by-step derivation
                                                                    1. Applied rewrites32.7%

                                                                      \[\leadsto \left(j \cdot c\right) \cdot \color{blue}{a} \]

                                                                    if -8e-176 < b < 3.30000000000000017e84

                                                                    1. Initial program 76.1%

                                                                      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                    2. Add Preprocessing
                                                                    3. Taylor expanded in z around inf

                                                                      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                                    4. Step-by-step derivation
                                                                      1. *-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. *-commutativeN/A

                                                                        \[\leadsto \left(-1 \cdot \color{blue}{\left(c \cdot b\right)} + x \cdot y\right) \cdot z \]
                                                                      7. associate-*r*N/A

                                                                        \[\leadsto \left(\color{blue}{\left(-1 \cdot c\right) \cdot b} + x \cdot y\right) \cdot z \]
                                                                      8. lower-fma.f64N/A

                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot c, b, x \cdot y\right)} \cdot z \]
                                                                      9. neg-mul-1N/A

                                                                        \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(c\right)}, b, x \cdot y\right) \cdot z \]
                                                                      10. lower-neg.f64N/A

                                                                        \[\leadsto \mathsf{fma}\left(\color{blue}{-c}, b, x \cdot y\right) \cdot z \]
                                                                      11. *-commutativeN/A

                                                                        \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                      12. lower-*.f6445.2

                                                                        \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                    5. Applied rewrites45.2%

                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z} \]
                                                                    6. Taylor expanded in x around inf

                                                                      \[\leadsto \left(x \cdot y\right) \cdot z \]
                                                                    7. Step-by-step derivation
                                                                      1. Applied rewrites39.4%

                                                                        \[\leadsto \left(y \cdot x\right) \cdot z \]

                                                                      if 3.30000000000000017e84 < b

                                                                      1. Initial program 66.2%

                                                                        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                      2. Add Preprocessing
                                                                      3. Taylor expanded in i around inf

                                                                        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                                                                      4. Step-by-step derivation
                                                                        1. *-commutativeN/A

                                                                          \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                        2. lower-*.f64N/A

                                                                          \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                        3. cancel-sign-sub-invN/A

                                                                          \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \cdot i \]
                                                                        4. *-commutativeN/A

                                                                          \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\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\right)\right) \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                        6. metadata-evalN/A

                                                                          \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                        7. *-lft-identityN/A

                                                                          \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{b \cdot t}\right) \cdot i \]
                                                                        8. lower-fma.f64N/A

                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot y, j, b \cdot t\right)} \cdot i \]
                                                                        9. mul-1-negN/A

                                                                          \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, j, b \cdot t\right) \cdot i \]
                                                                        10. lower-neg.f64N/A

                                                                          \[\leadsto \mathsf{fma}\left(\color{blue}{-y}, j, b \cdot t\right) \cdot i \]
                                                                        11. lower-*.f6464.5

                                                                          \[\leadsto \mathsf{fma}\left(-y, j, \color{blue}{b \cdot t}\right) \cdot i \]
                                                                      5. Applied rewrites64.5%

                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-y, j, b \cdot t\right) \cdot i} \]
                                                                      6. Taylor expanded in y around 0

                                                                        \[\leadsto \left(b \cdot t\right) \cdot i \]
                                                                      7. Step-by-step derivation
                                                                        1. Applied rewrites51.0%

                                                                          \[\leadsto \left(b \cdot t\right) \cdot i \]
                                                                      8. Recombined 4 regimes into one program.
                                                                      9. Add Preprocessing

                                                                      Alternative 19: 28.8% accurate, 2.1× speedup?

                                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -22000000000000:\\ \;\;\;\;\left(i \cdot b\right) \cdot t\\ \mathbf{elif}\;b \leq -8 \cdot 10^{-176}:\\ \;\;\;\;\left(j \cdot c\right) \cdot a\\ \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\ \;\;\;\;\left(y \cdot x\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\left(i \cdot t\right) \cdot b\\ \end{array} \end{array} \]
                                                                      (FPCore (x y z t a b c i j)
                                                                       :precision binary64
                                                                       (if (<= b -22000000000000.0)
                                                                         (* (* i b) t)
                                                                         (if (<= b -8e-176)
                                                                           (* (* j c) a)
                                                                           (if (<= b 3.3e+84) (* (* y x) z) (* (* i t) b)))))
                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                      	double tmp;
                                                                      	if (b <= -22000000000000.0) {
                                                                      		tmp = (i * b) * t;
                                                                      	} else if (b <= -8e-176) {
                                                                      		tmp = (j * c) * a;
                                                                      	} else if (b <= 3.3e+84) {
                                                                      		tmp = (y * x) * z;
                                                                      	} else {
                                                                      		tmp = (i * t) * b;
                                                                      	}
                                                                      	return tmp;
                                                                      }
                                                                      
                                                                      real(8) function code(x, y, z, t, a, b, c, i, j)
                                                                          real(8), intent (in) :: x
                                                                          real(8), intent (in) :: y
                                                                          real(8), intent (in) :: z
                                                                          real(8), intent (in) :: t
                                                                          real(8), intent (in) :: a
                                                                          real(8), intent (in) :: b
                                                                          real(8), intent (in) :: c
                                                                          real(8), intent (in) :: i
                                                                          real(8), intent (in) :: j
                                                                          real(8) :: tmp
                                                                          if (b <= (-22000000000000.0d0)) then
                                                                              tmp = (i * b) * t
                                                                          else if (b <= (-8d-176)) then
                                                                              tmp = (j * c) * a
                                                                          else if (b <= 3.3d+84) then
                                                                              tmp = (y * x) * z
                                                                          else
                                                                              tmp = (i * t) * b
                                                                          end if
                                                                          code = tmp
                                                                      end function
                                                                      
                                                                      public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                      	double tmp;
                                                                      	if (b <= -22000000000000.0) {
                                                                      		tmp = (i * b) * t;
                                                                      	} else if (b <= -8e-176) {
                                                                      		tmp = (j * c) * a;
                                                                      	} else if (b <= 3.3e+84) {
                                                                      		tmp = (y * x) * z;
                                                                      	} else {
                                                                      		tmp = (i * t) * b;
                                                                      	}
                                                                      	return tmp;
                                                                      }
                                                                      
                                                                      def code(x, y, z, t, a, b, c, i, j):
                                                                      	tmp = 0
                                                                      	if b <= -22000000000000.0:
                                                                      		tmp = (i * b) * t
                                                                      	elif b <= -8e-176:
                                                                      		tmp = (j * c) * a
                                                                      	elif b <= 3.3e+84:
                                                                      		tmp = (y * x) * z
                                                                      	else:
                                                                      		tmp = (i * t) * b
                                                                      	return tmp
                                                                      
                                                                      function code(x, y, z, t, a, b, c, i, j)
                                                                      	tmp = 0.0
                                                                      	if (b <= -22000000000000.0)
                                                                      		tmp = Float64(Float64(i * b) * t);
                                                                      	elseif (b <= -8e-176)
                                                                      		tmp = Float64(Float64(j * c) * a);
                                                                      	elseif (b <= 3.3e+84)
                                                                      		tmp = Float64(Float64(y * x) * z);
                                                                      	else
                                                                      		tmp = Float64(Float64(i * t) * b);
                                                                      	end
                                                                      	return tmp
                                                                      end
                                                                      
                                                                      function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                                      	tmp = 0.0;
                                                                      	if (b <= -22000000000000.0)
                                                                      		tmp = (i * b) * t;
                                                                      	elseif (b <= -8e-176)
                                                                      		tmp = (j * c) * a;
                                                                      	elseif (b <= 3.3e+84)
                                                                      		tmp = (y * x) * z;
                                                                      	else
                                                                      		tmp = (i * t) * b;
                                                                      	end
                                                                      	tmp_2 = tmp;
                                                                      end
                                                                      
                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[b, -22000000000000.0], N[(N[(i * b), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[b, -8e-176], N[(N[(j * c), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[b, 3.3e+84], N[(N[(y * x), $MachinePrecision] * z), $MachinePrecision], N[(N[(i * t), $MachinePrecision] * b), $MachinePrecision]]]]
                                                                      
                                                                      \begin{array}{l}
                                                                      
                                                                      \\
                                                                      \begin{array}{l}
                                                                      \mathbf{if}\;b \leq -22000000000000:\\
                                                                      \;\;\;\;\left(i \cdot b\right) \cdot t\\
                                                                      
                                                                      \mathbf{elif}\;b \leq -8 \cdot 10^{-176}:\\
                                                                      \;\;\;\;\left(j \cdot c\right) \cdot a\\
                                                                      
                                                                      \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\
                                                                      \;\;\;\;\left(y \cdot x\right) \cdot z\\
                                                                      
                                                                      \mathbf{else}:\\
                                                                      \;\;\;\;\left(i \cdot t\right) \cdot b\\
                                                                      
                                                                      
                                                                      \end{array}
                                                                      \end{array}
                                                                      
                                                                      Derivation
                                                                      1. Split input into 4 regimes
                                                                      2. if b < -2.2e13

                                                                        1. Initial program 72.1%

                                                                          \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                        2. Add Preprocessing
                                                                        3. Taylor expanded in t around inf

                                                                          \[\leadsto \color{blue}{t \cdot \left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right)} \]
                                                                        4. Step-by-step derivation
                                                                          1. *-commutativeN/A

                                                                            \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) \cdot t} \]
                                                                          2. lower-*.f64N/A

                                                                            \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) - -1 \cdot \left(b \cdot i\right)\right) \cdot t} \]
                                                                          3. sub-negN/A

                                                                            \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot x\right) + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right)} \cdot t \]
                                                                          4. *-commutativeN/A

                                                                            \[\leadsto \left(-1 \cdot \color{blue}{\left(x \cdot a\right)} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \cdot t \]
                                                                          5. associate-*r*N/A

                                                                            \[\leadsto \left(\color{blue}{\left(-1 \cdot x\right) \cdot a} + \left(\mathsf{neg}\left(-1 \cdot \left(b \cdot i\right)\right)\right)\right) \cdot t \]
                                                                          6. mul-1-negN/A

                                                                            \[\leadsto \left(\left(-1 \cdot x\right) \cdot a + \left(\mathsf{neg}\left(\color{blue}{\left(\mathsf{neg}\left(b \cdot i\right)\right)}\right)\right)\right) \cdot t \]
                                                                          7. remove-double-negN/A

                                                                            \[\leadsto \left(\left(-1 \cdot x\right) \cdot a + \color{blue}{b \cdot i}\right) \cdot t \]
                                                                          8. lower-fma.f64N/A

                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot x, a, b \cdot i\right)} \cdot t \]
                                                                          9. mul-1-negN/A

                                                                            \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(x\right)}, a, b \cdot i\right) \cdot t \]
                                                                          10. lower-neg.f64N/A

                                                                            \[\leadsto \mathsf{fma}\left(\color{blue}{-x}, a, b \cdot i\right) \cdot t \]
                                                                          11. *-commutativeN/A

                                                                            \[\leadsto \mathsf{fma}\left(-x, a, \color{blue}{i \cdot b}\right) \cdot t \]
                                                                          12. lower-*.f6451.2

                                                                            \[\leadsto \mathsf{fma}\left(-x, a, \color{blue}{i \cdot b}\right) \cdot t \]
                                                                        5. Applied rewrites51.2%

                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-x, a, i \cdot b\right) \cdot t} \]
                                                                        6. Taylor expanded in x around 0

                                                                          \[\leadsto \left(b \cdot i\right) \cdot t \]
                                                                        7. Step-by-step derivation
                                                                          1. Applied rewrites42.7%

                                                                            \[\leadsto \left(i \cdot b\right) \cdot t \]

                                                                          if -2.2e13 < b < -8e-176

                                                                          1. Initial program 58.7%

                                                                            \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                          2. Add Preprocessing
                                                                          3. Taylor expanded in c around inf

                                                                            \[\leadsto \color{blue}{c \cdot \left(a \cdot j - b \cdot z\right)} \]
                                                                          4. Step-by-step derivation
                                                                            1. *-commutativeN/A

                                                                              \[\leadsto \color{blue}{\left(a \cdot j - b \cdot z\right) \cdot c} \]
                                                                            2. lower-*.f64N/A

                                                                              \[\leadsto \color{blue}{\left(a \cdot j - b \cdot z\right) \cdot c} \]
                                                                            3. sub-negN/A

                                                                              \[\leadsto \color{blue}{\left(a \cdot j + \left(\mathsf{neg}\left(b \cdot z\right)\right)\right)} \cdot c \]
                                                                            4. mul-1-negN/A

                                                                              \[\leadsto \left(a \cdot j + \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) + a \cdot j\right)} \cdot c \]
                                                                            6. *-commutativeN/A

                                                                              \[\leadsto \left(-1 \cdot \color{blue}{\left(z \cdot b\right)} + a \cdot j\right) \cdot c \]
                                                                            7. associate-*r*N/A

                                                                              \[\leadsto \left(\color{blue}{\left(-1 \cdot z\right) \cdot b} + a \cdot j\right) \cdot c \]
                                                                            8. lower-fma.f64N/A

                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot z, b, a \cdot j\right)} \cdot c \]
                                                                            9. mul-1-negN/A

                                                                              \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(z\right)}, b, a \cdot j\right) \cdot c \]
                                                                            10. lower-neg.f64N/A

                                                                              \[\leadsto \mathsf{fma}\left(\color{blue}{-z}, b, a \cdot j\right) \cdot c \]
                                                                            11. *-commutativeN/A

                                                                              \[\leadsto \mathsf{fma}\left(-z, b, \color{blue}{j \cdot a}\right) \cdot c \]
                                                                            12. lower-*.f6445.9

                                                                              \[\leadsto \mathsf{fma}\left(-z, b, \color{blue}{j \cdot a}\right) \cdot c \]
                                                                          5. Applied rewrites45.9%

                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-z, b, j \cdot a\right) \cdot c} \]
                                                                          6. Taylor expanded in z around 0

                                                                            \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]
                                                                          7. Step-by-step derivation
                                                                            1. Applied rewrites32.7%

                                                                              \[\leadsto \left(j \cdot c\right) \cdot \color{blue}{a} \]

                                                                            if -8e-176 < b < 3.30000000000000017e84

                                                                            1. Initial program 76.1%

                                                                              \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                            2. Add Preprocessing
                                                                            3. Taylor expanded in z around inf

                                                                              \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                                            4. Step-by-step derivation
                                                                              1. *-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. *-commutativeN/A

                                                                                \[\leadsto \left(-1 \cdot \color{blue}{\left(c \cdot b\right)} + x \cdot y\right) \cdot z \]
                                                                              7. associate-*r*N/A

                                                                                \[\leadsto \left(\color{blue}{\left(-1 \cdot c\right) \cdot b} + x \cdot y\right) \cdot z \]
                                                                              8. lower-fma.f64N/A

                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot c, b, x \cdot y\right)} \cdot z \]
                                                                              9. neg-mul-1N/A

                                                                                \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(c\right)}, b, x \cdot y\right) \cdot z \]
                                                                              10. lower-neg.f64N/A

                                                                                \[\leadsto \mathsf{fma}\left(\color{blue}{-c}, b, x \cdot y\right) \cdot z \]
                                                                              11. *-commutativeN/A

                                                                                \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                              12. lower-*.f6445.2

                                                                                \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                            5. Applied rewrites45.2%

                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z} \]
                                                                            6. Taylor expanded in x around inf

                                                                              \[\leadsto \left(x \cdot y\right) \cdot z \]
                                                                            7. Step-by-step derivation
                                                                              1. Applied rewrites39.4%

                                                                                \[\leadsto \left(y \cdot x\right) \cdot z \]

                                                                              if 3.30000000000000017e84 < b

                                                                              1. Initial program 66.2%

                                                                                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                              2. Add Preprocessing
                                                                              3. Taylor expanded in i around inf

                                                                                \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                                                                              4. Step-by-step derivation
                                                                                1. *-commutativeN/A

                                                                                  \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                                2. lower-*.f64N/A

                                                                                  \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                                3. cancel-sign-sub-invN/A

                                                                                  \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \cdot i \]
                                                                                4. *-commutativeN/A

                                                                                  \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\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\right)\right) \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                                6. metadata-evalN/A

                                                                                  \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                                7. *-lft-identityN/A

                                                                                  \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{b \cdot t}\right) \cdot i \]
                                                                                8. lower-fma.f64N/A

                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot y, j, b \cdot t\right)} \cdot i \]
                                                                                9. mul-1-negN/A

                                                                                  \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, j, b \cdot t\right) \cdot i \]
                                                                                10. lower-neg.f64N/A

                                                                                  \[\leadsto \mathsf{fma}\left(\color{blue}{-y}, j, b \cdot t\right) \cdot i \]
                                                                                11. lower-*.f6464.5

                                                                                  \[\leadsto \mathsf{fma}\left(-y, j, \color{blue}{b \cdot t}\right) \cdot i \]
                                                                              5. Applied rewrites64.5%

                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-y, j, b \cdot t\right) \cdot i} \]
                                                                              6. Taylor expanded in y around 0

                                                                                \[\leadsto b \cdot \color{blue}{\left(i \cdot t\right)} \]
                                                                              7. Step-by-step derivation
                                                                                1. Applied rewrites48.1%

                                                                                  \[\leadsto \left(i \cdot t\right) \cdot \color{blue}{b} \]
                                                                              8. Recombined 4 regimes into one program.
                                                                              9. Add Preprocessing

                                                                              Alternative 20: 28.4% accurate, 2.1× speedup?

                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(i \cdot t\right) \cdot b\\ \mathbf{if}\;b \leq -22000000000000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -8 \cdot 10^{-176}:\\ \;\;\;\;\left(j \cdot c\right) \cdot a\\ \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\ \;\;\;\;\left(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 (* (* i t) b)))
                                                                                 (if (<= b -22000000000000.0)
                                                                                   t_1
                                                                                   (if (<= b -8e-176) (* (* j c) a) (if (<= b 3.3e+84) (* (* y x) z) t_1)))))
                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                              	double t_1 = (i * t) * b;
                                                                              	double tmp;
                                                                              	if (b <= -22000000000000.0) {
                                                                              		tmp = t_1;
                                                                              	} else if (b <= -8e-176) {
                                                                              		tmp = (j * c) * a;
                                                                              	} else if (b <= 3.3e+84) {
                                                                              		tmp = (y * x) * z;
                                                                              	} else {
                                                                              		tmp = t_1;
                                                                              	}
                                                                              	return tmp;
                                                                              }
                                                                              
                                                                              real(8) function code(x, y, z, t, a, b, c, i, j)
                                                                                  real(8), intent (in) :: x
                                                                                  real(8), intent (in) :: y
                                                                                  real(8), intent (in) :: z
                                                                                  real(8), intent (in) :: t
                                                                                  real(8), intent (in) :: a
                                                                                  real(8), intent (in) :: b
                                                                                  real(8), intent (in) :: c
                                                                                  real(8), intent (in) :: i
                                                                                  real(8), intent (in) :: j
                                                                                  real(8) :: t_1
                                                                                  real(8) :: tmp
                                                                                  t_1 = (i * t) * b
                                                                                  if (b <= (-22000000000000.0d0)) then
                                                                                      tmp = t_1
                                                                                  else if (b <= (-8d-176)) then
                                                                                      tmp = (j * c) * a
                                                                                  else if (b <= 3.3d+84) then
                                                                                      tmp = (y * x) * z
                                                                                  else
                                                                                      tmp = t_1
                                                                                  end if
                                                                                  code = tmp
                                                                              end function
                                                                              
                                                                              public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                              	double t_1 = (i * t) * b;
                                                                              	double tmp;
                                                                              	if (b <= -22000000000000.0) {
                                                                              		tmp = t_1;
                                                                              	} else if (b <= -8e-176) {
                                                                              		tmp = (j * c) * a;
                                                                              	} else if (b <= 3.3e+84) {
                                                                              		tmp = (y * x) * z;
                                                                              	} else {
                                                                              		tmp = t_1;
                                                                              	}
                                                                              	return tmp;
                                                                              }
                                                                              
                                                                              def code(x, y, z, t, a, b, c, i, j):
                                                                              	t_1 = (i * t) * b
                                                                              	tmp = 0
                                                                              	if b <= -22000000000000.0:
                                                                              		tmp = t_1
                                                                              	elif b <= -8e-176:
                                                                              		tmp = (j * c) * a
                                                                              	elif b <= 3.3e+84:
                                                                              		tmp = (y * x) * z
                                                                              	else:
                                                                              		tmp = t_1
                                                                              	return tmp
                                                                              
                                                                              function code(x, y, z, t, a, b, c, i, j)
                                                                              	t_1 = Float64(Float64(i * t) * b)
                                                                              	tmp = 0.0
                                                                              	if (b <= -22000000000000.0)
                                                                              		tmp = t_1;
                                                                              	elseif (b <= -8e-176)
                                                                              		tmp = Float64(Float64(j * c) * a);
                                                                              	elseif (b <= 3.3e+84)
                                                                              		tmp = Float64(Float64(y * x) * z);
                                                                              	else
                                                                              		tmp = t_1;
                                                                              	end
                                                                              	return tmp
                                                                              end
                                                                              
                                                                              function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                                              	t_1 = (i * t) * b;
                                                                              	tmp = 0.0;
                                                                              	if (b <= -22000000000000.0)
                                                                              		tmp = t_1;
                                                                              	elseif (b <= -8e-176)
                                                                              		tmp = (j * c) * a;
                                                                              	elseif (b <= 3.3e+84)
                                                                              		tmp = (y * x) * z;
                                                                              	else
                                                                              		tmp = t_1;
                                                                              	end
                                                                              	tmp_2 = tmp;
                                                                              end
                                                                              
                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(i * t), $MachinePrecision] * b), $MachinePrecision]}, If[LessEqual[b, -22000000000000.0], t$95$1, If[LessEqual[b, -8e-176], N[(N[(j * c), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[b, 3.3e+84], N[(N[(y * x), $MachinePrecision] * z), $MachinePrecision], t$95$1]]]]
                                                                              
                                                                              \begin{array}{l}
                                                                              
                                                                              \\
                                                                              \begin{array}{l}
                                                                              t_1 := \left(i \cdot t\right) \cdot b\\
                                                                              \mathbf{if}\;b \leq -22000000000000:\\
                                                                              \;\;\;\;t\_1\\
                                                                              
                                                                              \mathbf{elif}\;b \leq -8 \cdot 10^{-176}:\\
                                                                              \;\;\;\;\left(j \cdot c\right) \cdot a\\
                                                                              
                                                                              \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\
                                                                              \;\;\;\;\left(y \cdot x\right) \cdot z\\
                                                                              
                                                                              \mathbf{else}:\\
                                                                              \;\;\;\;t\_1\\
                                                                              
                                                                              
                                                                              \end{array}
                                                                              \end{array}
                                                                              
                                                                              Derivation
                                                                              1. Split input into 3 regimes
                                                                              2. if b < -2.2e13 or 3.30000000000000017e84 < b

                                                                                1. Initial program 69.8%

                                                                                  \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                                2. Add Preprocessing
                                                                                3. Taylor expanded in i around inf

                                                                                  \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                                                                                4. Step-by-step derivation
                                                                                  1. *-commutativeN/A

                                                                                    \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                                  2. lower-*.f64N/A

                                                                                    \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                                  3. cancel-sign-sub-invN/A

                                                                                    \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \cdot i \]
                                                                                  4. *-commutativeN/A

                                                                                    \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\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\right)\right) \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                                  6. metadata-evalN/A

                                                                                    \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                                  7. *-lft-identityN/A

                                                                                    \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{b \cdot t}\right) \cdot i \]
                                                                                  8. lower-fma.f64N/A

                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot y, j, b \cdot t\right)} \cdot i \]
                                                                                  9. mul-1-negN/A

                                                                                    \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, j, b \cdot t\right) \cdot i \]
                                                                                  10. lower-neg.f64N/A

                                                                                    \[\leadsto \mathsf{fma}\left(\color{blue}{-y}, j, b \cdot t\right) \cdot i \]
                                                                                  11. lower-*.f6454.7

                                                                                    \[\leadsto \mathsf{fma}\left(-y, j, \color{blue}{b \cdot t}\right) \cdot i \]
                                                                                5. Applied rewrites54.7%

                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-y, j, b \cdot t\right) \cdot i} \]
                                                                                6. Taylor expanded in y around 0

                                                                                  \[\leadsto b \cdot \color{blue}{\left(i \cdot t\right)} \]
                                                                                7. Step-by-step derivation
                                                                                  1. Applied rewrites44.0%

                                                                                    \[\leadsto \left(i \cdot t\right) \cdot \color{blue}{b} \]

                                                                                  if -2.2e13 < b < -8e-176

                                                                                  1. Initial program 58.7%

                                                                                    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                                  2. Add Preprocessing
                                                                                  3. Taylor expanded in c around inf

                                                                                    \[\leadsto \color{blue}{c \cdot \left(a \cdot j - b \cdot z\right)} \]
                                                                                  4. Step-by-step derivation
                                                                                    1. *-commutativeN/A

                                                                                      \[\leadsto \color{blue}{\left(a \cdot j - b \cdot z\right) \cdot c} \]
                                                                                    2. lower-*.f64N/A

                                                                                      \[\leadsto \color{blue}{\left(a \cdot j - b \cdot z\right) \cdot c} \]
                                                                                    3. sub-negN/A

                                                                                      \[\leadsto \color{blue}{\left(a \cdot j + \left(\mathsf{neg}\left(b \cdot z\right)\right)\right)} \cdot c \]
                                                                                    4. mul-1-negN/A

                                                                                      \[\leadsto \left(a \cdot j + \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) + a \cdot j\right)} \cdot c \]
                                                                                    6. *-commutativeN/A

                                                                                      \[\leadsto \left(-1 \cdot \color{blue}{\left(z \cdot b\right)} + a \cdot j\right) \cdot c \]
                                                                                    7. associate-*r*N/A

                                                                                      \[\leadsto \left(\color{blue}{\left(-1 \cdot z\right) \cdot b} + a \cdot j\right) \cdot c \]
                                                                                    8. lower-fma.f64N/A

                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot z, b, a \cdot j\right)} \cdot c \]
                                                                                    9. mul-1-negN/A

                                                                                      \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(z\right)}, b, a \cdot j\right) \cdot c \]
                                                                                    10. lower-neg.f64N/A

                                                                                      \[\leadsto \mathsf{fma}\left(\color{blue}{-z}, b, a \cdot j\right) \cdot c \]
                                                                                    11. *-commutativeN/A

                                                                                      \[\leadsto \mathsf{fma}\left(-z, b, \color{blue}{j \cdot a}\right) \cdot c \]
                                                                                    12. lower-*.f6445.9

                                                                                      \[\leadsto \mathsf{fma}\left(-z, b, \color{blue}{j \cdot a}\right) \cdot c \]
                                                                                  5. Applied rewrites45.9%

                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-z, b, j \cdot a\right) \cdot c} \]
                                                                                  6. Taylor expanded in z around 0

                                                                                    \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]
                                                                                  7. Step-by-step derivation
                                                                                    1. Applied rewrites32.7%

                                                                                      \[\leadsto \left(j \cdot c\right) \cdot \color{blue}{a} \]

                                                                                    if -8e-176 < b < 3.30000000000000017e84

                                                                                    1. Initial program 76.1%

                                                                                      \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                                    2. Add Preprocessing
                                                                                    3. Taylor expanded in z around inf

                                                                                      \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                                                    4. Step-by-step derivation
                                                                                      1. *-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. *-commutativeN/A

                                                                                        \[\leadsto \left(-1 \cdot \color{blue}{\left(c \cdot b\right)} + x \cdot y\right) \cdot z \]
                                                                                      7. associate-*r*N/A

                                                                                        \[\leadsto \left(\color{blue}{\left(-1 \cdot c\right) \cdot b} + x \cdot y\right) \cdot z \]
                                                                                      8. lower-fma.f64N/A

                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot c, b, x \cdot y\right)} \cdot z \]
                                                                                      9. neg-mul-1N/A

                                                                                        \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(c\right)}, b, x \cdot y\right) \cdot z \]
                                                                                      10. lower-neg.f64N/A

                                                                                        \[\leadsto \mathsf{fma}\left(\color{blue}{-c}, b, x \cdot y\right) \cdot z \]
                                                                                      11. *-commutativeN/A

                                                                                        \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                                      12. lower-*.f6445.2

                                                                                        \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                                    5. Applied rewrites45.2%

                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z} \]
                                                                                    6. Taylor expanded in x around inf

                                                                                      \[\leadsto \left(x \cdot y\right) \cdot z \]
                                                                                    7. Step-by-step derivation
                                                                                      1. Applied rewrites39.4%

                                                                                        \[\leadsto \left(y \cdot x\right) \cdot z \]
                                                                                    8. Recombined 3 regimes into one program.
                                                                                    9. Add Preprocessing

                                                                                    Alternative 21: 28.5% accurate, 2.1× speedup?

                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(i \cdot t\right) \cdot b\\ \mathbf{if}\;b \leq -22000000000000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -6.2 \cdot 10^{-197}:\\ \;\;\;\;\left(j \cdot c\right) \cdot a\\ \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\ \;\;\;\;\left(z \cdot x\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                    (FPCore (x y z t a b c i j)
                                                                                     :precision binary64
                                                                                     (let* ((t_1 (* (* i t) b)))
                                                                                       (if (<= b -22000000000000.0)
                                                                                         t_1
                                                                                         (if (<= b -6.2e-197)
                                                                                           (* (* j c) a)
                                                                                           (if (<= b 3.3e+84) (* (* z x) y) t_1)))))
                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                                    	double t_1 = (i * t) * b;
                                                                                    	double tmp;
                                                                                    	if (b <= -22000000000000.0) {
                                                                                    		tmp = t_1;
                                                                                    	} else if (b <= -6.2e-197) {
                                                                                    		tmp = (j * c) * a;
                                                                                    	} else if (b <= 3.3e+84) {
                                                                                    		tmp = (z * x) * y;
                                                                                    	} 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 * t) * b
                                                                                        if (b <= (-22000000000000.0d0)) then
                                                                                            tmp = t_1
                                                                                        else if (b <= (-6.2d-197)) then
                                                                                            tmp = (j * c) * a
                                                                                        else if (b <= 3.3d+84) then
                                                                                            tmp = (z * x) * y
                                                                                        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 * t) * b;
                                                                                    	double tmp;
                                                                                    	if (b <= -22000000000000.0) {
                                                                                    		tmp = t_1;
                                                                                    	} else if (b <= -6.2e-197) {
                                                                                    		tmp = (j * c) * a;
                                                                                    	} else if (b <= 3.3e+84) {
                                                                                    		tmp = (z * x) * y;
                                                                                    	} else {
                                                                                    		tmp = t_1;
                                                                                    	}
                                                                                    	return tmp;
                                                                                    }
                                                                                    
                                                                                    def code(x, y, z, t, a, b, c, i, j):
                                                                                    	t_1 = (i * t) * b
                                                                                    	tmp = 0
                                                                                    	if b <= -22000000000000.0:
                                                                                    		tmp = t_1
                                                                                    	elif b <= -6.2e-197:
                                                                                    		tmp = (j * c) * a
                                                                                    	elif b <= 3.3e+84:
                                                                                    		tmp = (z * x) * y
                                                                                    	else:
                                                                                    		tmp = t_1
                                                                                    	return tmp
                                                                                    
                                                                                    function code(x, y, z, t, a, b, c, i, j)
                                                                                    	t_1 = Float64(Float64(i * t) * b)
                                                                                    	tmp = 0.0
                                                                                    	if (b <= -22000000000000.0)
                                                                                    		tmp = t_1;
                                                                                    	elseif (b <= -6.2e-197)
                                                                                    		tmp = Float64(Float64(j * c) * a);
                                                                                    	elseif (b <= 3.3e+84)
                                                                                    		tmp = Float64(Float64(z * x) * y);
                                                                                    	else
                                                                                    		tmp = t_1;
                                                                                    	end
                                                                                    	return tmp
                                                                                    end
                                                                                    
                                                                                    function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                                                    	t_1 = (i * t) * b;
                                                                                    	tmp = 0.0;
                                                                                    	if (b <= -22000000000000.0)
                                                                                    		tmp = t_1;
                                                                                    	elseif (b <= -6.2e-197)
                                                                                    		tmp = (j * c) * a;
                                                                                    	elseif (b <= 3.3e+84)
                                                                                    		tmp = (z * x) * y;
                                                                                    	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 * t), $MachinePrecision] * b), $MachinePrecision]}, If[LessEqual[b, -22000000000000.0], t$95$1, If[LessEqual[b, -6.2e-197], N[(N[(j * c), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[b, 3.3e+84], N[(N[(z * x), $MachinePrecision] * y), $MachinePrecision], t$95$1]]]]
                                                                                    
                                                                                    \begin{array}{l}
                                                                                    
                                                                                    \\
                                                                                    \begin{array}{l}
                                                                                    t_1 := \left(i \cdot t\right) \cdot b\\
                                                                                    \mathbf{if}\;b \leq -22000000000000:\\
                                                                                    \;\;\;\;t\_1\\
                                                                                    
                                                                                    \mathbf{elif}\;b \leq -6.2 \cdot 10^{-197}:\\
                                                                                    \;\;\;\;\left(j \cdot c\right) \cdot a\\
                                                                                    
                                                                                    \mathbf{elif}\;b \leq 3.3 \cdot 10^{+84}:\\
                                                                                    \;\;\;\;\left(z \cdot x\right) \cdot y\\
                                                                                    
                                                                                    \mathbf{else}:\\
                                                                                    \;\;\;\;t\_1\\
                                                                                    
                                                                                    
                                                                                    \end{array}
                                                                                    \end{array}
                                                                                    
                                                                                    Derivation
                                                                                    1. Split input into 3 regimes
                                                                                    2. if b < -2.2e13 or 3.30000000000000017e84 < b

                                                                                      1. Initial program 69.8%

                                                                                        \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                                      2. Add Preprocessing
                                                                                      3. Taylor expanded in i around inf

                                                                                        \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                                                                                      4. Step-by-step derivation
                                                                                        1. *-commutativeN/A

                                                                                          \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                                        2. lower-*.f64N/A

                                                                                          \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                                        3. cancel-sign-sub-invN/A

                                                                                          \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \cdot i \]
                                                                                        4. *-commutativeN/A

                                                                                          \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\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\right)\right) \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                                        6. metadata-evalN/A

                                                                                          \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                                        7. *-lft-identityN/A

                                                                                          \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{b \cdot t}\right) \cdot i \]
                                                                                        8. lower-fma.f64N/A

                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot y, j, b \cdot t\right)} \cdot i \]
                                                                                        9. mul-1-negN/A

                                                                                          \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, j, b \cdot t\right) \cdot i \]
                                                                                        10. lower-neg.f64N/A

                                                                                          \[\leadsto \mathsf{fma}\left(\color{blue}{-y}, j, b \cdot t\right) \cdot i \]
                                                                                        11. lower-*.f6454.7

                                                                                          \[\leadsto \mathsf{fma}\left(-y, j, \color{blue}{b \cdot t}\right) \cdot i \]
                                                                                      5. Applied rewrites54.7%

                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-y, j, b \cdot t\right) \cdot i} \]
                                                                                      6. Taylor expanded in y around 0

                                                                                        \[\leadsto b \cdot \color{blue}{\left(i \cdot t\right)} \]
                                                                                      7. Step-by-step derivation
                                                                                        1. Applied rewrites44.0%

                                                                                          \[\leadsto \left(i \cdot t\right) \cdot \color{blue}{b} \]

                                                                                        if -2.2e13 < b < -6.20000000000000057e-197

                                                                                        1. Initial program 62.0%

                                                                                          \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                                        2. Add Preprocessing
                                                                                        3. Taylor expanded in c around inf

                                                                                          \[\leadsto \color{blue}{c \cdot \left(a \cdot j - b \cdot z\right)} \]
                                                                                        4. Step-by-step derivation
                                                                                          1. *-commutativeN/A

                                                                                            \[\leadsto \color{blue}{\left(a \cdot j - b \cdot z\right) \cdot c} \]
                                                                                          2. lower-*.f64N/A

                                                                                            \[\leadsto \color{blue}{\left(a \cdot j - b \cdot z\right) \cdot c} \]
                                                                                          3. sub-negN/A

                                                                                            \[\leadsto \color{blue}{\left(a \cdot j + \left(\mathsf{neg}\left(b \cdot z\right)\right)\right)} \cdot c \]
                                                                                          4. mul-1-negN/A

                                                                                            \[\leadsto \left(a \cdot j + \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) + a \cdot j\right)} \cdot c \]
                                                                                          6. *-commutativeN/A

                                                                                            \[\leadsto \left(-1 \cdot \color{blue}{\left(z \cdot b\right)} + a \cdot j\right) \cdot c \]
                                                                                          7. associate-*r*N/A

                                                                                            \[\leadsto \left(\color{blue}{\left(-1 \cdot z\right) \cdot b} + a \cdot j\right) \cdot c \]
                                                                                          8. lower-fma.f64N/A

                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot z, b, a \cdot j\right)} \cdot c \]
                                                                                          9. mul-1-negN/A

                                                                                            \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(z\right)}, b, a \cdot j\right) \cdot c \]
                                                                                          10. lower-neg.f64N/A

                                                                                            \[\leadsto \mathsf{fma}\left(\color{blue}{-z}, b, a \cdot j\right) \cdot c \]
                                                                                          11. *-commutativeN/A

                                                                                            \[\leadsto \mathsf{fma}\left(-z, b, \color{blue}{j \cdot a}\right) \cdot c \]
                                                                                          12. lower-*.f6448.1

                                                                                            \[\leadsto \mathsf{fma}\left(-z, b, \color{blue}{j \cdot a}\right) \cdot c \]
                                                                                        5. Applied rewrites48.1%

                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-z, b, j \cdot a\right) \cdot c} \]
                                                                                        6. Taylor expanded in z around 0

                                                                                          \[\leadsto a \cdot \color{blue}{\left(c \cdot j\right)} \]
                                                                                        7. Step-by-step derivation
                                                                                          1. Applied rewrites34.0%

                                                                                            \[\leadsto \left(j \cdot c\right) \cdot \color{blue}{a} \]

                                                                                          if -6.20000000000000057e-197 < b < 3.30000000000000017e84

                                                                                          1. Initial program 75.9%

                                                                                            \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                                          2. Add Preprocessing
                                                                                          3. Taylor expanded in z around inf

                                                                                            \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                                                          4. Step-by-step derivation
                                                                                            1. *-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. *-commutativeN/A

                                                                                              \[\leadsto \left(-1 \cdot \color{blue}{\left(c \cdot b\right)} + x \cdot y\right) \cdot z \]
                                                                                            7. associate-*r*N/A

                                                                                              \[\leadsto \left(\color{blue}{\left(-1 \cdot c\right) \cdot b} + x \cdot y\right) \cdot z \]
                                                                                            8. lower-fma.f64N/A

                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot c, b, x \cdot y\right)} \cdot z \]
                                                                                            9. neg-mul-1N/A

                                                                                              \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(c\right)}, b, x \cdot y\right) \cdot z \]
                                                                                            10. lower-neg.f64N/A

                                                                                              \[\leadsto \mathsf{fma}\left(\color{blue}{-c}, b, x \cdot y\right) \cdot z \]
                                                                                            11. *-commutativeN/A

                                                                                              \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                                            12. lower-*.f6443.5

                                                                                              \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                                          5. Applied rewrites43.5%

                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z} \]
                                                                                          6. Taylor expanded in x around inf

                                                                                            \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]
                                                                                          7. Step-by-step derivation
                                                                                            1. Applied rewrites36.1%

                                                                                              \[\leadsto \left(z \cdot y\right) \cdot \color{blue}{x} \]
                                                                                            2. Step-by-step derivation
                                                                                              1. Applied rewrites39.3%

                                                                                                \[\leadsto \left(z \cdot x\right) \cdot y \]
                                                                                            3. Recombined 3 regimes into one program.
                                                                                            4. Add Preprocessing

                                                                                            Alternative 22: 28.5% accurate, 2.6× speedup?

                                                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.2 \cdot 10^{-19} \lor \neg \left(b \leq 3.3 \cdot 10^{+84}\right):\\ \;\;\;\;\left(i \cdot t\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot x\right) \cdot y\\ \end{array} \end{array} \]
                                                                                            (FPCore (x y z t a b c i j)
                                                                                             :precision binary64
                                                                                             (if (or (<= b -1.2e-19) (not (<= b 3.3e+84))) (* (* i t) b) (* (* z x) y)))
                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                                            	double tmp;
                                                                                            	if ((b <= -1.2e-19) || !(b <= 3.3e+84)) {
                                                                                            		tmp = (i * t) * b;
                                                                                            	} else {
                                                                                            		tmp = (z * x) * y;
                                                                                            	}
                                                                                            	return tmp;
                                                                                            }
                                                                                            
                                                                                            real(8) function code(x, y, z, t, a, b, c, i, j)
                                                                                                real(8), intent (in) :: x
                                                                                                real(8), intent (in) :: y
                                                                                                real(8), intent (in) :: z
                                                                                                real(8), intent (in) :: t
                                                                                                real(8), intent (in) :: a
                                                                                                real(8), intent (in) :: b
                                                                                                real(8), intent (in) :: c
                                                                                                real(8), intent (in) :: i
                                                                                                real(8), intent (in) :: j
                                                                                                real(8) :: tmp
                                                                                                if ((b <= (-1.2d-19)) .or. (.not. (b <= 3.3d+84))) then
                                                                                                    tmp = (i * t) * b
                                                                                                else
                                                                                                    tmp = (z * x) * y
                                                                                                end if
                                                                                                code = tmp
                                                                                            end function
                                                                                            
                                                                                            public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                                            	double tmp;
                                                                                            	if ((b <= -1.2e-19) || !(b <= 3.3e+84)) {
                                                                                            		tmp = (i * t) * b;
                                                                                            	} else {
                                                                                            		tmp = (z * x) * y;
                                                                                            	}
                                                                                            	return tmp;
                                                                                            }
                                                                                            
                                                                                            def code(x, y, z, t, a, b, c, i, j):
                                                                                            	tmp = 0
                                                                                            	if (b <= -1.2e-19) or not (b <= 3.3e+84):
                                                                                            		tmp = (i * t) * b
                                                                                            	else:
                                                                                            		tmp = (z * x) * y
                                                                                            	return tmp
                                                                                            
                                                                                            function code(x, y, z, t, a, b, c, i, j)
                                                                                            	tmp = 0.0
                                                                                            	if ((b <= -1.2e-19) || !(b <= 3.3e+84))
                                                                                            		tmp = Float64(Float64(i * t) * b);
                                                                                            	else
                                                                                            		tmp = Float64(Float64(z * x) * y);
                                                                                            	end
                                                                                            	return tmp
                                                                                            end
                                                                                            
                                                                                            function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                                                            	tmp = 0.0;
                                                                                            	if ((b <= -1.2e-19) || ~((b <= 3.3e+84)))
                                                                                            		tmp = (i * t) * b;
                                                                                            	else
                                                                                            		tmp = (z * x) * y;
                                                                                            	end
                                                                                            	tmp_2 = tmp;
                                                                                            end
                                                                                            
                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[b, -1.2e-19], N[Not[LessEqual[b, 3.3e+84]], $MachinePrecision]], N[(N[(i * t), $MachinePrecision] * b), $MachinePrecision], N[(N[(z * x), $MachinePrecision] * y), $MachinePrecision]]
                                                                                            
                                                                                            \begin{array}{l}
                                                                                            
                                                                                            \\
                                                                                            \begin{array}{l}
                                                                                            \mathbf{if}\;b \leq -1.2 \cdot 10^{-19} \lor \neg \left(b \leq 3.3 \cdot 10^{+84}\right):\\
                                                                                            \;\;\;\;\left(i \cdot t\right) \cdot b\\
                                                                                            
                                                                                            \mathbf{else}:\\
                                                                                            \;\;\;\;\left(z \cdot x\right) \cdot y\\
                                                                                            
                                                                                            
                                                                                            \end{array}
                                                                                            \end{array}
                                                                                            
                                                                                            Derivation
                                                                                            1. Split input into 2 regimes
                                                                                            2. if b < -1.20000000000000011e-19 or 3.30000000000000017e84 < b

                                                                                              1. Initial program 69.1%

                                                                                                \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                                              2. Add Preprocessing
                                                                                              3. Taylor expanded in i around inf

                                                                                                \[\leadsto \color{blue}{i \cdot \left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right)} \]
                                                                                              4. Step-by-step derivation
                                                                                                1. *-commutativeN/A

                                                                                                  \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                                                2. lower-*.f64N/A

                                                                                                  \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) - -1 \cdot \left(b \cdot t\right)\right) \cdot i} \]
                                                                                                3. cancel-sign-sub-invN/A

                                                                                                  \[\leadsto \color{blue}{\left(-1 \cdot \left(j \cdot y\right) + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\right)\right)} \cdot i \]
                                                                                                4. *-commutativeN/A

                                                                                                  \[\leadsto \left(-1 \cdot \color{blue}{\left(y \cdot j\right)} + \left(\mathsf{neg}\left(-1\right)\right) \cdot \left(b \cdot t\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\right)\right) \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                                                6. metadata-evalN/A

                                                                                                  \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{1} \cdot \left(b \cdot t\right)\right) \cdot i \]
                                                                                                7. *-lft-identityN/A

                                                                                                  \[\leadsto \left(\left(-1 \cdot y\right) \cdot j + \color{blue}{b \cdot t}\right) \cdot i \]
                                                                                                8. lower-fma.f64N/A

                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot y, j, b \cdot t\right)} \cdot i \]
                                                                                                9. mul-1-negN/A

                                                                                                  \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y\right)}, j, b \cdot t\right) \cdot i \]
                                                                                                10. lower-neg.f64N/A

                                                                                                  \[\leadsto \mathsf{fma}\left(\color{blue}{-y}, j, b \cdot t\right) \cdot i \]
                                                                                                11. lower-*.f6452.8

                                                                                                  \[\leadsto \mathsf{fma}\left(-y, j, \color{blue}{b \cdot t}\right) \cdot i \]
                                                                                              5. Applied rewrites52.8%

                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-y, j, b \cdot t\right) \cdot i} \]
                                                                                              6. Taylor expanded in y around 0

                                                                                                \[\leadsto b \cdot \color{blue}{\left(i \cdot t\right)} \]
                                                                                              7. Step-by-step derivation
                                                                                                1. Applied rewrites42.2%

                                                                                                  \[\leadsto \left(i \cdot t\right) \cdot \color{blue}{b} \]

                                                                                                if -1.20000000000000011e-19 < b < 3.30000000000000017e84

                                                                                                1. Initial program 73.4%

                                                                                                  \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                                                2. Add Preprocessing
                                                                                                3. Taylor expanded in 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. *-commutativeN/A

                                                                                                    \[\leadsto \left(-1 \cdot \color{blue}{\left(c \cdot b\right)} + x \cdot y\right) \cdot z \]
                                                                                                  7. associate-*r*N/A

                                                                                                    \[\leadsto \left(\color{blue}{\left(-1 \cdot c\right) \cdot b} + x \cdot y\right) \cdot z \]
                                                                                                  8. lower-fma.f64N/A

                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot c, b, x \cdot y\right)} \cdot z \]
                                                                                                  9. neg-mul-1N/A

                                                                                                    \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(c\right)}, b, x \cdot y\right) \cdot z \]
                                                                                                  10. lower-neg.f64N/A

                                                                                                    \[\leadsto \mathsf{fma}\left(\color{blue}{-c}, b, x \cdot y\right) \cdot z \]
                                                                                                  11. *-commutativeN/A

                                                                                                    \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                                                  12. lower-*.f6441.2

                                                                                                    \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                                                5. Applied rewrites41.2%

                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z} \]
                                                                                                6. Taylor expanded in x around inf

                                                                                                  \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]
                                                                                                7. Step-by-step derivation
                                                                                                  1. Applied rewrites32.9%

                                                                                                    \[\leadsto \left(z \cdot y\right) \cdot \color{blue}{x} \]
                                                                                                  2. Step-by-step derivation
                                                                                                    1. Applied rewrites34.8%

                                                                                                      \[\leadsto \left(z \cdot x\right) \cdot y \]
                                                                                                  3. Recombined 2 regimes into one program.
                                                                                                  4. Final simplification38.4%

                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.2 \cdot 10^{-19} \lor \neg \left(b \leq 3.3 \cdot 10^{+84}\right):\\ \;\;\;\;\left(i \cdot t\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(z \cdot x\right) \cdot y\\ \end{array} \]
                                                                                                  5. Add Preprocessing

                                                                                                  Alternative 23: 22.4% accurate, 5.5× speedup?

                                                                                                  \[\begin{array}{l} \\ \left(z \cdot x\right) \cdot y \end{array} \]
                                                                                                  (FPCore (x y z t a b c i j) :precision binary64 (* (* z x) y))
                                                                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                                                  	return (z * x) * y;
                                                                                                  }
                                                                                                  
                                                                                                  real(8) function code(x, y, z, t, a, b, c, i, j)
                                                                                                      real(8), intent (in) :: x
                                                                                                      real(8), intent (in) :: y
                                                                                                      real(8), intent (in) :: z
                                                                                                      real(8), intent (in) :: t
                                                                                                      real(8), intent (in) :: a
                                                                                                      real(8), intent (in) :: b
                                                                                                      real(8), intent (in) :: c
                                                                                                      real(8), intent (in) :: i
                                                                                                      real(8), intent (in) :: j
                                                                                                      code = (z * x) * y
                                                                                                  end function
                                                                                                  
                                                                                                  public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                                                  	return (z * x) * y;
                                                                                                  }
                                                                                                  
                                                                                                  def code(x, y, z, t, a, b, c, i, j):
                                                                                                  	return (z * x) * y
                                                                                                  
                                                                                                  function code(x, y, z, t, a, b, c, i, j)
                                                                                                  	return Float64(Float64(z * x) * y)
                                                                                                  end
                                                                                                  
                                                                                                  function tmp = code(x, y, z, t, a, b, c, i, j)
                                                                                                  	tmp = (z * x) * y;
                                                                                                  end
                                                                                                  
                                                                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(z * x), $MachinePrecision] * y), $MachinePrecision]
                                                                                                  
                                                                                                  \begin{array}{l}
                                                                                                  
                                                                                                  \\
                                                                                                  \left(z \cdot x\right) \cdot y
                                                                                                  \end{array}
                                                                                                  
                                                                                                  Derivation
                                                                                                  1. Initial program 71.3%

                                                                                                    \[\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - t \cdot i\right)\right) + j \cdot \left(c \cdot a - y \cdot i\right) \]
                                                                                                  2. Add Preprocessing
                                                                                                  3. Taylor expanded in z around inf

                                                                                                    \[\leadsto \color{blue}{z \cdot \left(x \cdot y - b \cdot c\right)} \]
                                                                                                  4. Step-by-step derivation
                                                                                                    1. *-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. *-commutativeN/A

                                                                                                      \[\leadsto \left(-1 \cdot \color{blue}{\left(c \cdot b\right)} + x \cdot y\right) \cdot z \]
                                                                                                    7. associate-*r*N/A

                                                                                                      \[\leadsto \left(\color{blue}{\left(-1 \cdot c\right) \cdot b} + x \cdot y\right) \cdot z \]
                                                                                                    8. lower-fma.f64N/A

                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot c, b, x \cdot y\right)} \cdot z \]
                                                                                                    9. neg-mul-1N/A

                                                                                                      \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(c\right)}, b, x \cdot y\right) \cdot z \]
                                                                                                    10. lower-neg.f64N/A

                                                                                                      \[\leadsto \mathsf{fma}\left(\color{blue}{-c}, b, x \cdot y\right) \cdot z \]
                                                                                                    11. *-commutativeN/A

                                                                                                      \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                                                    12. lower-*.f6442.3

                                                                                                      \[\leadsto \mathsf{fma}\left(-c, b, \color{blue}{y \cdot x}\right) \cdot z \]
                                                                                                  5. Applied rewrites42.3%

                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-c, b, y \cdot x\right) \cdot z} \]
                                                                                                  6. Taylor expanded in x around inf

                                                                                                    \[\leadsto x \cdot \color{blue}{\left(y \cdot z\right)} \]
                                                                                                  7. Step-by-step derivation
                                                                                                    1. Applied rewrites25.4%

                                                                                                      \[\leadsto \left(z \cdot y\right) \cdot \color{blue}{x} \]
                                                                                                    2. Step-by-step derivation
                                                                                                      1. Applied rewrites24.9%

                                                                                                        \[\leadsto \left(z \cdot x\right) \cdot y \]
                                                                                                      2. Add Preprocessing

                                                                                                      Developer Target 1: 59.3% accurate, 0.2× speedup?

                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(c \cdot a - y \cdot i\right)\\ t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - \frac{b \cdot \left({\left(c \cdot z\right)}^{2} - {\left(t \cdot i\right)}^{2}\right)}{c \cdot z + t \cdot i}\right) + t\_1\\ \mathbf{if}\;x < -1.469694296777705 \cdot 10^{-64}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;x < 3.2113527362226803 \cdot 10^{-147}:\\ \;\;\;\;\left(b \cdot i - x \cdot a\right) \cdot t - \left(z \cdot \left(c \cdot b\right) - t\_1\right)\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
                                                                                                      (FPCore (x y z t a b c i j)
                                                                                                       :precision binary64
                                                                                                       (let* ((t_1 (* j (- (* c a) (* y i))))
                                                                                                              (t_2
                                                                                                               (+
                                                                                                                (-
                                                                                                                 (* x (- (* y z) (* t a)))
                                                                                                                 (/
                                                                                                                  (* b (- (pow (* c z) 2.0) (pow (* t i) 2.0)))
                                                                                                                  (+ (* c z) (* t i))))
                                                                                                                t_1)))
                                                                                                         (if (< x -1.469694296777705e-64)
                                                                                                           t_2
                                                                                                           (if (< x 3.2113527362226803e-147)
                                                                                                             (- (* (- (* b i) (* x a)) t) (- (* z (* c b)) t_1))
                                                                                                             t_2))))
                                                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                                                      	double t_1 = j * ((c * a) - (y * i));
                                                                                                      	double t_2 = ((x * ((y * z) - (t * a))) - ((b * (pow((c * z), 2.0) - pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1;
                                                                                                      	double tmp;
                                                                                                      	if (x < -1.469694296777705e-64) {
                                                                                                      		tmp = t_2;
                                                                                                      	} else if (x < 3.2113527362226803e-147) {
                                                                                                      		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
                                                                                                      	} else {
                                                                                                      		tmp = t_2;
                                                                                                      	}
                                                                                                      	return tmp;
                                                                                                      }
                                                                                                      
                                                                                                      real(8) function code(x, y, z, t, a, b, c, i, j)
                                                                                                          real(8), intent (in) :: x
                                                                                                          real(8), intent (in) :: y
                                                                                                          real(8), intent (in) :: z
                                                                                                          real(8), intent (in) :: t
                                                                                                          real(8), intent (in) :: a
                                                                                                          real(8), intent (in) :: b
                                                                                                          real(8), intent (in) :: c
                                                                                                          real(8), intent (in) :: i
                                                                                                          real(8), intent (in) :: j
                                                                                                          real(8) :: t_1
                                                                                                          real(8) :: t_2
                                                                                                          real(8) :: tmp
                                                                                                          t_1 = j * ((c * a) - (y * i))
                                                                                                          t_2 = ((x * ((y * z) - (t * a))) - ((b * (((c * z) ** 2.0d0) - ((t * i) ** 2.0d0))) / ((c * z) + (t * i)))) + t_1
                                                                                                          if (x < (-1.469694296777705d-64)) then
                                                                                                              tmp = t_2
                                                                                                          else if (x < 3.2113527362226803d-147) then
                                                                                                              tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1)
                                                                                                          else
                                                                                                              tmp = t_2
                                                                                                          end if
                                                                                                          code = tmp
                                                                                                      end function
                                                                                                      
                                                                                                      public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
                                                                                                      	double t_1 = j * ((c * a) - (y * i));
                                                                                                      	double t_2 = ((x * ((y * z) - (t * a))) - ((b * (Math.pow((c * z), 2.0) - Math.pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1;
                                                                                                      	double tmp;
                                                                                                      	if (x < -1.469694296777705e-64) {
                                                                                                      		tmp = t_2;
                                                                                                      	} else if (x < 3.2113527362226803e-147) {
                                                                                                      		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
                                                                                                      	} else {
                                                                                                      		tmp = t_2;
                                                                                                      	}
                                                                                                      	return tmp;
                                                                                                      }
                                                                                                      
                                                                                                      def code(x, y, z, t, a, b, c, i, j):
                                                                                                      	t_1 = j * ((c * a) - (y * i))
                                                                                                      	t_2 = ((x * ((y * z) - (t * a))) - ((b * (math.pow((c * z), 2.0) - math.pow((t * i), 2.0))) / ((c * z) + (t * i)))) + t_1
                                                                                                      	tmp = 0
                                                                                                      	if x < -1.469694296777705e-64:
                                                                                                      		tmp = t_2
                                                                                                      	elif x < 3.2113527362226803e-147:
                                                                                                      		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1)
                                                                                                      	else:
                                                                                                      		tmp = t_2
                                                                                                      	return tmp
                                                                                                      
                                                                                                      function code(x, y, z, t, a, b, c, i, j)
                                                                                                      	t_1 = Float64(j * Float64(Float64(c * a) - Float64(y * i)))
                                                                                                      	t_2 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(Float64(b * Float64((Float64(c * z) ^ 2.0) - (Float64(t * i) ^ 2.0))) / Float64(Float64(c * z) + Float64(t * i)))) + t_1)
                                                                                                      	tmp = 0.0
                                                                                                      	if (x < -1.469694296777705e-64)
                                                                                                      		tmp = t_2;
                                                                                                      	elseif (x < 3.2113527362226803e-147)
                                                                                                      		tmp = Float64(Float64(Float64(Float64(b * i) - Float64(x * a)) * t) - Float64(Float64(z * Float64(c * b)) - t_1));
                                                                                                      	else
                                                                                                      		tmp = t_2;
                                                                                                      	end
                                                                                                      	return tmp
                                                                                                      end
                                                                                                      
                                                                                                      function tmp_2 = code(x, y, z, t, a, b, c, i, j)
                                                                                                      	t_1 = j * ((c * a) - (y * i));
                                                                                                      	t_2 = ((x * ((y * z) - (t * a))) - ((b * (((c * z) ^ 2.0) - ((t * i) ^ 2.0))) / ((c * z) + (t * i)))) + t_1;
                                                                                                      	tmp = 0.0;
                                                                                                      	if (x < -1.469694296777705e-64)
                                                                                                      		tmp = t_2;
                                                                                                      	elseif (x < 3.2113527362226803e-147)
                                                                                                      		tmp = (((b * i) - (x * a)) * t) - ((z * (c * b)) - t_1);
                                                                                                      	else
                                                                                                      		tmp = t_2;
                                                                                                      	end
                                                                                                      	tmp_2 = tmp;
                                                                                                      end
                                                                                                      
                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(j * N[(N[(c * a), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(b * N[(N[Power[N[(c * z), $MachinePrecision], 2.0], $MachinePrecision] - N[Power[N[(t * i), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(c * z), $MachinePrecision] + N[(t * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + t$95$1), $MachinePrecision]}, If[Less[x, -1.469694296777705e-64], t$95$2, If[Less[x, 3.2113527362226803e-147], N[(N[(N[(N[(b * i), $MachinePrecision] - N[(x * a), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] - N[(N[(z * N[(c * b), $MachinePrecision]), $MachinePrecision] - t$95$1), $MachinePrecision]), $MachinePrecision], t$95$2]]]]
                                                                                                      
                                                                                                      \begin{array}{l}
                                                                                                      
                                                                                                      \\
                                                                                                      \begin{array}{l}
                                                                                                      t_1 := j \cdot \left(c \cdot a - y \cdot i\right)\\
                                                                                                      t_2 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - \frac{b \cdot \left({\left(c \cdot z\right)}^{2} - {\left(t \cdot i\right)}^{2}\right)}{c \cdot z + t \cdot i}\right) + t\_1\\
                                                                                                      \mathbf{if}\;x < -1.469694296777705 \cdot 10^{-64}:\\
                                                                                                      \;\;\;\;t\_2\\
                                                                                                      
                                                                                                      \mathbf{elif}\;x < 3.2113527362226803 \cdot 10^{-147}:\\
                                                                                                      \;\;\;\;\left(b \cdot i - x \cdot a\right) \cdot t - \left(z \cdot \left(c \cdot b\right) - t\_1\right)\\
                                                                                                      
                                                                                                      \mathbf{else}:\\
                                                                                                      \;\;\;\;t\_2\\
                                                                                                      
                                                                                                      
                                                                                                      \end{array}
                                                                                                      \end{array}
                                                                                                      

                                                                                                      Reproduce

                                                                                                      ?
                                                                                                      herbie shell --seed 2024318 
                                                                                                      (FPCore (x y z t a b c i j)
                                                                                                        :name "Data.Colour.Matrix:determinant from colour-2.3.3, A"
                                                                                                        :precision binary64
                                                                                                      
                                                                                                        :alt
                                                                                                        (! :herbie-platform default (if (< x -293938859355541/2000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2) (pow (* t i) 2))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))) (if (< x 32113527362226803/10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- (* (- (* b i) (* x a)) t) (- (* z (* c b)) (* j (- (* c a) (* y i))))) (+ (- (* x (- (* y z) (* t a))) (/ (* b (- (pow (* c z) 2) (pow (* t i) 2))) (+ (* c z) (* t i)))) (* j (- (* c a) (* y i)))))))
                                                                                                      
                                                                                                        (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))) (* j (- (* c a) (* y i)))))