Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.1% → 43.6%
Time: 35.0s
Alternatives: 23
Speedup: 4.2×

Specification

?
\[\begin{array}{l} \\ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (+
  (-
   (+
    (+
     (-
      (* (- (* x y) (* z t)) (- (* a b) (* c i)))
      (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
     (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
    (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
   (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
  (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    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), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0))))
end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\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: 30.1% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (+
  (-
   (+
    (+
     (-
      (* (- (* x y) (* z t)) (- (* a b) (* c i)))
      (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
     (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
    (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
   (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
  (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    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), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0))))
end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}

Alternative 1: 43.6% accurate, 2.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ t_2 := y5 \cdot i - y4 \cdot b\\ \mathbf{if}\;y4 \leq -2.8 \cdot 10^{-24}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y4 \leq -1.4 \cdot 10^{-307}:\\ \;\;\;\;\mathsf{fma}\left(t\_2, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;y4 \leq 3.7 \cdot 10^{-63}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{elif}\;y4 \leq 3.45 \cdot 10^{+37}:\\ \;\;\;\;\mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y4 \leq 2 \cdot 10^{+147}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y0, \left(-t\right) \cdot a\right) \cdot z\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1
         (*
          (fma
           (- (* j t) (* k y))
           b
           (fma (- (* y2 k) (* y3 j)) y1 (* (- (* y3 y) (* y2 t)) c)))
          y4))
        (t_2 (- (* y5 i) (* y4 b))))
   (if (<= y4 -2.8e-24)
     t_1
     (if (<= y4 -1.4e-307)
       (*
        (fma
         t_2
         y
         (fma (- (* y4 y1) (* y5 y0)) y2 (* (- (* y0 b) (* y1 i)) z)))
        k)
       (if (<= y4 3.7e-63)
         (*
          (fma
           (- (* y3 z) (* y2 x))
           y1
           (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
          a)
         (if (<= y4 3.45e+37)
           (*
            (fma
             t_2
             k
             (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
            y)
           (if (<= y4 2e+147) (* (* (fma k y0 (* (- t) a)) z) b) t_1)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = fma(((j * t) - (k * y)), b, fma(((y2 * k) - (y3 * j)), y1, (((y3 * y) - (y2 * t)) * c))) * y4;
	double t_2 = (y5 * i) - (y4 * b);
	double tmp;
	if (y4 <= -2.8e-24) {
		tmp = t_1;
	} else if (y4 <= -1.4e-307) {
		tmp = fma(t_2, y, fma(((y4 * y1) - (y5 * y0)), y2, (((y0 * b) - (y1 * i)) * z))) * k;
	} else if (y4 <= 3.7e-63) {
		tmp = fma(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
	} else if (y4 <= 3.45e+37) {
		tmp = fma(t_2, k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
	} else if (y4 <= 2e+147) {
		tmp = (fma(k, y0, (-t * a)) * z) * b;
	} else {
		tmp = t_1;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(fma(Float64(Float64(j * t) - Float64(k * y)), b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * c))) * y4)
	t_2 = Float64(Float64(y5 * i) - Float64(y4 * b))
	tmp = 0.0
	if (y4 <= -2.8e-24)
		tmp = t_1;
	elseif (y4 <= -1.4e-307)
		tmp = Float64(fma(t_2, y, fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), y2, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * z))) * k);
	elseif (y4 <= 3.7e-63)
		tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a);
	elseif (y4 <= 3.45e+37)
		tmp = Float64(fma(t_2, k, fma(Float64(Float64(b * a) - Float64(i * c)), x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y);
	elseif (y4 <= 2e+147)
		tmp = Float64(Float64(fma(k, y0, Float64(Float64(-t) * a)) * z) * b);
	else
		tmp = t_1;
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y4, -2.8e-24], t$95$1, If[LessEqual[y4, -1.4e-307], N[(N[(t$95$2 * y + N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[y4, 3.7e-63], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y4, 3.45e+37], N[(N[(t$95$2 * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y4, 2e+147], N[(N[(N[(k * y0 + N[((-t) * a), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision] * b), $MachinePrecision], t$95$1]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\
t_2 := y5 \cdot i - y4 \cdot b\\
\mathbf{if}\;y4 \leq -2.8 \cdot 10^{-24}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y4 \leq -1.4 \cdot 10^{-307}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\

\mathbf{elif}\;y4 \leq 3.7 \cdot 10^{-63}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\

\mathbf{elif}\;y4 \leq 3.45 \cdot 10^{+37}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\

\mathbf{elif}\;y4 \leq 2 \cdot 10^{+147}:\\
\;\;\;\;\left(\mathsf{fma}\left(k, y0, \left(-t\right) \cdot a\right) \cdot z\right) \cdot b\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if y4 < -2.8000000000000002e-24 or 2e147 < y4

    1. Initial program 27.5%

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

      \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
    5. Applied rewrites63.1%

      \[\leadsto \color{blue}{\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y1, \left(-c\right) \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y4} \]

    if -2.8000000000000002e-24 < y4 < -1.4e-307

    1. Initial program 34.4%

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

      \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
    5. Applied rewrites51.0%

      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y0 \cdot y5, y2, \left(y0 \cdot b - i \cdot y1\right) \cdot z\right)\right) \cdot k} \]

    if -1.4e-307 < y4 < 3.70000000000000012e-63

    1. Initial program 29.2%

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + b \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot a} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + b \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot a} \]
    5. Applied rewrites54.7%

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

    if 3.70000000000000012e-63 < y4 < 3.4499999999999998e37

    1. Initial program 34.0%

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

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} \]
    5. Applied rewrites67.1%

      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, \mathsf{fma}\left(b \cdot a - c \cdot i, x, \left(c \cdot y4 - y5 \cdot a\right) \cdot y3\right)\right) \cdot y} \]

    if 3.4499999999999998e37 < y4 < 2e147

    1. Initial program 15.4%

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

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

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

        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
    5. Applied rewrites69.2%

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

      \[\leadsto \left(z \cdot \left(-1 \cdot \left(a \cdot t\right) + k \cdot y0\right)\right) \cdot b \]
    7. Step-by-step derivation
      1. Applied rewrites92.6%

        \[\leadsto \left(z \cdot \mathsf{fma}\left(k, y0, -a \cdot t\right)\right) \cdot b \]
    8. Recombined 5 regimes into one program.
    9. Final simplification60.3%

      \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -2.8 \cdot 10^{-24}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;y4 \leq -1.4 \cdot 10^{-307}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;y4 \leq 3.7 \cdot 10^{-63}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{elif}\;y4 \leq 3.45 \cdot 10^{+37}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y4 \leq 2 \cdot 10^{+147}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y0, \left(-t\right) \cdot a\right) \cdot z\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \end{array} \]
    10. Add Preprocessing

    Alternative 2: 55.2% accurate, 0.5× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot \left(j \cdot x - k \cdot z\right) - \left(t \cdot z - y \cdot x\right) \cdot \left(b \cdot a - i \cdot c\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(y5 \cdot i - y4 \cdot b\right) \cdot \left(j \cdot t - k \cdot y\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\\ \mathbf{if}\;t\_1 \leq \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\ \end{array} \end{array} \]
    (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
     :precision binary64
     (let* ((t_1
             (-
              (-
               (-
                (-
                 (-
                  (* (- (* y1 i) (* y0 b)) (- (* j x) (* k z)))
                  (* (- (* t z) (* y x)) (- (* b a) (* i c))))
                 (* (- (* y1 a) (* y0 c)) (- (* y2 x) (* y3 z))))
                (* (- (* y5 i) (* y4 b)) (- (* j t) (* k y))))
               (* (- (* y5 a) (* y4 c)) (- (* y3 y) (* y2 t))))
              (* (- (* y5 y0) (* y4 y1)) (- (* y2 k) (* y3 j))))))
       (if (<= t_1 INFINITY)
         t_1
         (fma
          (fma (- y5) y0 (* y4 y1))
          (fma (- y3) j (* y2 k))
          (* (* (fma y4 c (* (- a) y5)) y3) y)))))
    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
    	double t_1 = (((((((y1 * i) - (y0 * b)) * ((j * x) - (k * z))) - (((t * z) - (y * x)) * ((b * a) - (i * c)))) - (((y1 * a) - (y0 * c)) * ((y2 * x) - (y3 * z)))) - (((y5 * i) - (y4 * b)) * ((j * t) - (k * y)))) - (((y5 * a) - (y4 * c)) * ((y3 * y) - (y2 * t)))) - (((y5 * y0) - (y4 * y1)) * ((y2 * k) - (y3 * j)));
    	double tmp;
    	if (t_1 <= ((double) INFINITY)) {
    		tmp = t_1;
    	} else {
    		tmp = fma(fma(-y5, y0, (y4 * y1)), fma(-y3, j, (y2 * k)), ((fma(y4, c, (-a * y5)) * y3) * y));
    	}
    	return tmp;
    }
    
    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    	t_1 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * Float64(Float64(j * x) - Float64(k * z))) - Float64(Float64(Float64(t * z) - Float64(y * x)) * Float64(Float64(b * a) - Float64(i * c)))) - Float64(Float64(Float64(y1 * a) - Float64(y0 * c)) * Float64(Float64(y2 * x) - Float64(y3 * z)))) - Float64(Float64(Float64(y5 * i) - Float64(y4 * b)) * Float64(Float64(j * t) - Float64(k * y)))) - Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * Float64(Float64(y3 * y) - Float64(y2 * t)))) - Float64(Float64(Float64(y5 * y0) - Float64(y4 * y1)) * Float64(Float64(y2 * k) - Float64(y3 * j))))
    	tmp = 0.0
    	if (t_1 <= Inf)
    		tmp = t_1;
    	else
    		tmp = fma(fma(Float64(-y5), y0, Float64(y4 * y1)), fma(Float64(-y3), j, Float64(y2 * k)), Float64(Float64(fma(y4, c, Float64(Float64(-a) * y5)) * y3) * y));
    	end
    	return tmp
    end
    
    code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(N[(N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * a), $MachinePrecision] - N[(y0 * c), $MachinePrecision]), $MachinePrecision] * N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(N[((-y5) * y0 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * N[((-y3) * j + N[(y2 * k), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y4 * c + N[((-a) * y5), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    t_1 := \left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot \left(j \cdot x - k \cdot z\right) - \left(t \cdot z - y \cdot x\right) \cdot \left(b \cdot a - i \cdot c\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(y5 \cdot i - y4 \cdot b\right) \cdot \left(j \cdot t - k \cdot y\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\\
    \mathbf{if}\;t\_1 \leq \infty:\\
    \;\;\;\;t\_1\\
    
    \mathbf{else}:\\
    \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 2 regimes
    2. if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0

      1. Initial program 91.8%

        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      2. Add Preprocessing

      if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0))))

      1. Initial program 0.0%

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

        \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      4. Step-by-step derivation
        1. *-commutativeN/A

          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. lower-*.f64N/A

          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      5. Applied rewrites38.0%

        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, \mathsf{fma}\left(b \cdot a - c \cdot i, x, \left(c \cdot y4 - y5 \cdot a\right) \cdot y3\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      6. Taylor expanded in y3 around inf

        \[\leadsto \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      7. Step-by-step derivation
        1. Applied rewrites42.9%

          \[\leadsto \left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Applied rewrites44.6%

          \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y1 \cdot y4\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), y \cdot \left(\mathsf{fma}\left(y4, c, y5 \cdot \left(-a\right)\right) \cdot y3\right)\right)} \]
      8. Recombined 2 regimes into one program.
      9. Final simplification59.7%

        \[\leadsto \begin{array}{l} \mathbf{if}\;\left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot \left(j \cdot x - k \cdot z\right) - \left(t \cdot z - y \cdot x\right) \cdot \left(b \cdot a - i \cdot c\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(y5 \cdot i - y4 \cdot b\right) \cdot \left(j \cdot t - k \cdot y\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot \left(y2 \cdot k - y3 \cdot j\right) \leq \infty:\\ \;\;\;\;\left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot \left(j \cdot x - k \cdot z\right) - \left(t \cdot z - y \cdot x\right) \cdot \left(b \cdot a - i \cdot c\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(y5 \cdot i - y4 \cdot b\right) \cdot \left(j \cdot t - k \cdot y\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\ \end{array} \]
      10. Add Preprocessing

      Alternative 3: 45.9% accurate, 2.5× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := y2 \cdot k - y3 \cdot j\\ t_2 := \mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, t\_1, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \mathbf{if}\;y5 \leq -1.2 \cdot 10^{+51}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y5 \leq 3.3 \cdot 10^{-262}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+89}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(t\_1, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
       :precision binary64
       (let* ((t_1 (- (* y2 k) (* y3 j)))
              (t_2
               (*
                (fma
                 (- (* k y) (* j t))
                 i
                 (fma (- y0) t_1 (* (- (* y2 t) (* y3 y)) a)))
                y5)))
         (if (<= y5 -1.2e+51)
           t_2
           (if (<= y5 3.3e-262)
             (*
              (fma
               (- (* y5 i) (* y4 b))
               y
               (fma (- (* y4 y1) (* y5 y0)) y2 (* (- (* y0 b) (* y1 i)) z)))
              k)
             (if (<= y5 5.8e+89)
               (*
                (fma (- (* j t) (* k y)) b (fma t_1 y1 (* (- (* y3 y) (* y2 t)) c)))
                y4)
               t_2)))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
      	double t_1 = (y2 * k) - (y3 * j);
      	double t_2 = fma(((k * y) - (j * t)), i, fma(-y0, t_1, (((y2 * t) - (y3 * y)) * a))) * y5;
      	double tmp;
      	if (y5 <= -1.2e+51) {
      		tmp = t_2;
      	} else if (y5 <= 3.3e-262) {
      		tmp = fma(((y5 * i) - (y4 * b)), y, fma(((y4 * y1) - (y5 * y0)), y2, (((y0 * b) - (y1 * i)) * z))) * k;
      	} else if (y5 <= 5.8e+89) {
      		tmp = fma(((j * t) - (k * y)), b, fma(t_1, y1, (((y3 * y) - (y2 * t)) * c))) * y4;
      	} else {
      		tmp = t_2;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
      	t_1 = Float64(Float64(y2 * k) - Float64(y3 * j))
      	t_2 = Float64(fma(Float64(Float64(k * y) - Float64(j * t)), i, fma(Float64(-y0), t_1, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * a))) * y5)
      	tmp = 0.0
      	if (y5 <= -1.2e+51)
      		tmp = t_2;
      	elseif (y5 <= 3.3e-262)
      		tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), y, fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), y2, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * z))) * k);
      	elseif (y5 <= 5.8e+89)
      		tmp = Float64(fma(Float64(Float64(j * t) - Float64(k * y)), b, fma(t_1, y1, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * c))) * y4);
      	else
      		tmp = t_2;
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision] * i + N[((-y0) * t$95$1 + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[y5, -1.2e+51], t$95$2, If[LessEqual[y5, 3.3e-262], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * y + N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[y5, 5.8e+89], N[(N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * b + N[(t$95$1 * y1 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], t$95$2]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := y2 \cdot k - y3 \cdot j\\
      t_2 := \mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, t\_1, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\
      \mathbf{if}\;y5 \leq -1.2 \cdot 10^{+51}:\\
      \;\;\;\;t\_2\\
      
      \mathbf{elif}\;y5 \leq 3.3 \cdot 10^{-262}:\\
      \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\
      
      \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+89}:\\
      \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(t\_1, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_2\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if y5 < -1.1999999999999999e51 or 5.80000000000000051e89 < y5

        1. Initial program 25.5%

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

          \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

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

            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
        5. Applied rewrites61.6%

          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, k \cdot y2 - j \cdot y3, \left(t \cdot y2 - y \cdot y3\right) \cdot a\right)\right) \cdot y5} \]

        if -1.1999999999999999e51 < y5 < 3.3000000000000003e-262

        1. Initial program 31.6%

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

          \[\leadsto \color{blue}{k \cdot \left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) - -1 \cdot \left(z \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot k} \]
        5. Applied rewrites57.5%

          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, \mathsf{fma}\left(y4 \cdot y1 - y0 \cdot y5, y2, \left(y0 \cdot b - i \cdot y1\right) \cdot z\right)\right) \cdot k} \]

        if 3.3000000000000003e-262 < y5 < 5.80000000000000051e89

        1. Initial program 33.5%

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

          \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
        5. Applied rewrites56.0%

          \[\leadsto \color{blue}{\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y1, \left(-c\right) \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y4} \]
      3. Recombined 3 regimes into one program.
      4. Final simplification58.9%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1.2 \cdot 10^{+51}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \mathbf{elif}\;y5 \leq 3.3 \cdot 10^{-262}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+89}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \end{array} \]
      5. Add Preprocessing

      Alternative 4: 42.8% accurate, 2.5× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := y0 \cdot c - y1 \cdot a\\ \mathbf{if}\;b \leq -6.2 \cdot 10^{+57}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;b \leq -8.4 \cdot 10^{-70}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, t\_1, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\ \mathbf{elif}\;b \leq -2.1 \cdot 10^{-241}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(t\_1, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;b \leq 10200:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
       :precision binary64
       (let* ((t_1 (- (* y0 c) (* y1 a))))
         (if (<= b -6.2e+57)
           (*
            (fma
             (- (* y x) (* t z))
             a
             (fma (- (* j t) (* k y)) y4 (* (- (* k z) (* j x)) y0)))
            b)
           (if (<= b -8.4e-70)
             (*
              (fma
               (- (* i c) (* b a))
               t
               (fma (- y3) t_1 (* (- (* y0 b) (* y1 i)) k)))
              z)
             (if (<= b -2.1e-241)
               (*
                (fma
                 (- (* y4 y1) (* y5 y0))
                 k
                 (fma t_1 x (* (- (* y5 a) (* y4 c)) t)))
                y2)
               (if (<= b 10200.0)
                 (fma
                  (fma (- y5) y0 (* y4 y1))
                  (fma (- y3) j (* y2 k))
                  (* (* (fma y4 c (* (- a) y5)) y3) y))
                 (* (fma j y4 (* (- a) z)) (* b t))))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
      	double t_1 = (y0 * c) - (y1 * a);
      	double tmp;
      	if (b <= -6.2e+57) {
      		tmp = fma(((y * x) - (t * z)), a, fma(((j * t) - (k * y)), y4, (((k * z) - (j * x)) * y0))) * b;
      	} else if (b <= -8.4e-70) {
      		tmp = fma(((i * c) - (b * a)), t, fma(-y3, t_1, (((y0 * b) - (y1 * i)) * k))) * z;
      	} else if (b <= -2.1e-241) {
      		tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(t_1, x, (((y5 * a) - (y4 * c)) * t))) * y2;
      	} else if (b <= 10200.0) {
      		tmp = fma(fma(-y5, y0, (y4 * y1)), fma(-y3, j, (y2 * k)), ((fma(y4, c, (-a * y5)) * y3) * y));
      	} else {
      		tmp = fma(j, y4, (-a * z)) * (b * t);
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
      	t_1 = Float64(Float64(y0 * c) - Float64(y1 * a))
      	tmp = 0.0
      	if (b <= -6.2e+57)
      		tmp = Float64(fma(Float64(Float64(y * x) - Float64(t * z)), a, fma(Float64(Float64(j * t) - Float64(k * y)), y4, Float64(Float64(Float64(k * z) - Float64(j * x)) * y0))) * b);
      	elseif (b <= -8.4e-70)
      		tmp = Float64(fma(Float64(Float64(i * c) - Float64(b * a)), t, fma(Float64(-y3), t_1, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * k))) * z);
      	elseif (b <= -2.1e-241)
      		tmp = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(t_1, x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2);
      	elseif (b <= 10200.0)
      		tmp = fma(fma(Float64(-y5), y0, Float64(y4 * y1)), fma(Float64(-y3), j, Float64(y2 * k)), Float64(Float64(fma(y4, c, Float64(Float64(-a) * y5)) * y3) * y));
      	else
      		tmp = Float64(fma(j, y4, Float64(Float64(-a) * z)) * Float64(b * t));
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -6.2e+57], N[(N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[b, -8.4e-70], N[(N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[((-y3) * t$95$1 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[b, -2.1e-241], N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, 10200.0], N[(N[((-y5) * y0 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * N[((-y3) * j + N[(y2 * k), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y4 * c + N[((-a) * y5), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision], N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision]]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := y0 \cdot c - y1 \cdot a\\
      \mathbf{if}\;b \leq -6.2 \cdot 10^{+57}:\\
      \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\
      
      \mathbf{elif}\;b \leq -8.4 \cdot 10^{-70}:\\
      \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, t\_1, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\
      
      \mathbf{elif}\;b \leq -2.1 \cdot 10^{-241}:\\
      \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(t\_1, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\
      
      \mathbf{elif}\;b \leq 10200:\\
      \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 5 regimes
      2. if b < -6.20000000000000026e57

        1. Initial program 27.1%

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

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

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

            \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
        5. Applied rewrites64.7%

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

        if -6.20000000000000026e57 < b < -8.4000000000000004e-70

        1. Initial program 28.6%

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

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

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

            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(t \cdot \left(a \cdot b - c \cdot i\right)\right) + -1 \cdot \left(y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)\right) - -1 \cdot \left(k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right) \cdot z} \]
        5. Applied rewrites57.5%

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

        if -8.4000000000000004e-70 < b < -2.0999999999999999e-241

        1. Initial program 37.8%

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

          \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
        5. Applied rewrites60.1%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y4 \cdot y1 - y0 \cdot y5, k, \mathsf{fma}\left(c \cdot y0 - y1 \cdot a, x, \left(-t\right) \cdot \left(c \cdot y4 - y5 \cdot a\right)\right)\right) \cdot y2} \]

        if -2.0999999999999999e-241 < b < 10200

        1. Initial program 31.8%

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

          \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        5. Applied rewrites53.1%

          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, \mathsf{fma}\left(b \cdot a - c \cdot i, x, \left(c \cdot y4 - y5 \cdot a\right) \cdot y3\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        6. Taylor expanded in y3 around inf

          \[\leadsto \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        7. Step-by-step derivation
          1. Applied rewrites52.1%

            \[\leadsto \left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
          2. Applied rewrites56.0%

            \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y1 \cdot y4\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), y \cdot \left(\mathsf{fma}\left(y4, c, y5 \cdot \left(-a\right)\right) \cdot y3\right)\right)} \]

          if 10200 < b

          1. Initial program 25.1%

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

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

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

              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
          5. Applied rewrites46.1%

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

            \[\leadsto b \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
          7. Step-by-step derivation
            1. Applied rewrites56.6%

              \[\leadsto \left(b \cdot t\right) \cdot \color{blue}{\mathsf{fma}\left(j, y4, -a \cdot z\right)} \]
          8. Recombined 5 regimes into one program.
          9. Final simplification58.8%

            \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -6.2 \cdot 10^{+57}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;b \leq -8.4 \cdot 10^{-70}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\ \mathbf{elif}\;b \leq -2.1 \cdot 10^{-241}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;b \leq 10200:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \]
          10. Add Preprocessing

          Alternative 5: 46.2% accurate, 2.5× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{if}\;y1 \leq -1.24 \cdot 10^{-14}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y1 \leq 9.5 \cdot 10^{-13}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y1 \leq 5.8 \cdot 10^{+155}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
          (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
           :precision binary64
           (let* ((t_1
                   (*
                    (fma
                     (- (* y3 z) (* y2 x))
                     a
                     (fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
                    y1)))
             (if (<= y1 -1.24e-14)
               t_1
               (if (<= y1 9.5e-13)
                 (*
                  (fma
                   (- (* y5 i) (* y4 b))
                   k
                   (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
                  y)
                 (if (<= y1 5.8e+155)
                   (fma
                    (fma (- y5) y0 (* y4 y1))
                    (fma (- y3) j (* y2 k))
                    (* (* (fma y4 c (* (- a) y5)) y3) y))
                   t_1)))))
          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
          	double t_1 = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
          	double tmp;
          	if (y1 <= -1.24e-14) {
          		tmp = t_1;
          	} else if (y1 <= 9.5e-13) {
          		tmp = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
          	} else if (y1 <= 5.8e+155) {
          		tmp = fma(fma(-y5, y0, (y4 * y1)), fma(-y3, j, (y2 * k)), ((fma(y4, c, (-a * y5)) * y3) * y));
          	} else {
          		tmp = t_1;
          	}
          	return tmp;
          }
          
          function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
          	t_1 = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1)
          	tmp = 0.0
          	if (y1 <= -1.24e-14)
          		tmp = t_1;
          	elseif (y1 <= 9.5e-13)
          		tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), k, fma(Float64(Float64(b * a) - Float64(i * c)), x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y);
          	elseif (y1 <= 5.8e+155)
          		tmp = fma(fma(Float64(-y5), y0, Float64(y4 * y1)), fma(Float64(-y3), j, Float64(y2 * k)), Float64(Float64(fma(y4, c, Float64(Float64(-a) * y5)) * y3) * y));
          	else
          		tmp = t_1;
          	end
          	return tmp
          end
          
          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]}, If[LessEqual[y1, -1.24e-14], t$95$1, If[LessEqual[y1, 9.5e-13], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y1, 5.8e+155], N[(N[((-y5) * y0 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * N[((-y3) * j + N[(y2 * k), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y4 * c + N[((-a) * y5), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := \mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
          \mathbf{if}\;y1 \leq -1.24 \cdot 10^{-14}:\\
          \;\;\;\;t\_1\\
          
          \mathbf{elif}\;y1 \leq 9.5 \cdot 10^{-13}:\\
          \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
          
          \mathbf{elif}\;y1 \leq 5.8 \cdot 10^{+155}:\\
          \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\
          
          \mathbf{else}:\\
          \;\;\;\;t\_1\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 3 regimes
          2. if y1 < -1.24e-14 or 5.7999999999999998e155 < y1

            1. Initial program 19.9%

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

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

                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
              2. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
            5. Applied rewrites58.2%

              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]

            if -1.24e-14 < y1 < 9.49999999999999991e-13

            1. Initial program 40.6%

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

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

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

                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} \]
            5. Applied rewrites52.0%

              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, \mathsf{fma}\left(b \cdot a - c \cdot i, x, \left(c \cdot y4 - y5 \cdot a\right) \cdot y3\right)\right) \cdot y} \]

            if 9.49999999999999991e-13 < y1 < 5.7999999999999998e155

            1. Initial program 19.1%

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

              \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            4. Step-by-step derivation
              1. *-commutativeN/A

                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
              2. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            5. Applied rewrites46.2%

              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, \mathsf{fma}\left(b \cdot a - c \cdot i, x, \left(c \cdot y4 - y5 \cdot a\right) \cdot y3\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            6. Taylor expanded in y3 around inf

              \[\leadsto \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            7. Step-by-step derivation
              1. Applied rewrites57.4%

                \[\leadsto \left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
              2. Applied rewrites60.1%

                \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y1 \cdot y4\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), y \cdot \left(\mathsf{fma}\left(y4, c, y5 \cdot \left(-a\right)\right) \cdot y3\right)\right)} \]
            8. Recombined 3 regimes into one program.
            9. Final simplification55.6%

              \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -1.24 \cdot 10^{-14}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;y1 \leq 9.5 \cdot 10^{-13}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y1 \leq 5.8 \cdot 10^{+155}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \end{array} \]
            10. Add Preprocessing

            Alternative 6: 31.7% accurate, 3.3× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-i, j, y2 \cdot a\right)\\ t_2 := \left(t\_1 \cdot \left(-y1\right)\right) \cdot x\\ \mathbf{if}\;y1 \leq -9 \cdot 10^{+168}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y1 \leq -1.02 \cdot 10^{-41}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;y1 \leq -3.8 \cdot 10^{-119}:\\ \;\;\;\;t\_1 \cdot \left(y5 \cdot t\right)\\ \mathbf{elif}\;y1 \leq 2.8 \cdot 10^{-8}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot t\right) \cdot b\\ \mathbf{elif}\;y1 \leq 10^{+112}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y1, c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{elif}\;y1 \leq 3.4 \cdot 10^{+202}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \end{array} \end{array} \]
            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
             :precision binary64
             (let* ((t_1 (fma (- i) j (* y2 a))) (t_2 (* (* t_1 (- y1)) x)))
               (if (<= y1 -9e+168)
                 t_2
                 (if (<= y1 -1.02e-41)
                   (* (* (fma x y (* (- t) z)) a) b)
                   (if (<= y1 -3.8e-119)
                     (* t_1 (* y5 t))
                     (if (<= y1 2.8e-8)
                       (* (* (fma j y4 (* (- a) z)) t) b)
                       (if (<= y1 1e+112)
                         (* (* (fma (- j) y1 (* c y)) y4) y3)
                         (if (<= y1 3.4e+202)
                           t_2
                           (* (fma (- y3) y4 (* i x)) (* y1 j))))))))))
            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
            	double t_1 = fma(-i, j, (y2 * a));
            	double t_2 = (t_1 * -y1) * x;
            	double tmp;
            	if (y1 <= -9e+168) {
            		tmp = t_2;
            	} else if (y1 <= -1.02e-41) {
            		tmp = (fma(x, y, (-t * z)) * a) * b;
            	} else if (y1 <= -3.8e-119) {
            		tmp = t_1 * (y5 * t);
            	} else if (y1 <= 2.8e-8) {
            		tmp = (fma(j, y4, (-a * z)) * t) * b;
            	} else if (y1 <= 1e+112) {
            		tmp = (fma(-j, y1, (c * y)) * y4) * y3;
            	} else if (y1 <= 3.4e+202) {
            		tmp = t_2;
            	} else {
            		tmp = fma(-y3, y4, (i * x)) * (y1 * j);
            	}
            	return tmp;
            }
            
            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
            	t_1 = fma(Float64(-i), j, Float64(y2 * a))
            	t_2 = Float64(Float64(t_1 * Float64(-y1)) * x)
            	tmp = 0.0
            	if (y1 <= -9e+168)
            		tmp = t_2;
            	elseif (y1 <= -1.02e-41)
            		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * a) * b);
            	elseif (y1 <= -3.8e-119)
            		tmp = Float64(t_1 * Float64(y5 * t));
            	elseif (y1 <= 2.8e-8)
            		tmp = Float64(Float64(fma(j, y4, Float64(Float64(-a) * z)) * t) * b);
            	elseif (y1 <= 1e+112)
            		tmp = Float64(Float64(fma(Float64(-j), y1, Float64(c * y)) * y4) * y3);
            	elseif (y1 <= 3.4e+202)
            		tmp = t_2;
            	else
            		tmp = Float64(fma(Float64(-y3), y4, Float64(i * x)) * Float64(y1 * j));
            	end
            	return tmp
            end
            
            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[((-i) * j + N[(y2 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t$95$1 * (-y1)), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[y1, -9e+168], t$95$2, If[LessEqual[y1, -1.02e-41], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y1, -3.8e-119], N[(t$95$1 * N[(y5 * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.8e-8], N[(N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y1, 1e+112], N[(N[(N[((-j) * y1 + N[(c * y), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[y1, 3.4e+202], t$95$2, N[(N[((-y3) * y4 + N[(i * x), $MachinePrecision]), $MachinePrecision] * N[(y1 * j), $MachinePrecision]), $MachinePrecision]]]]]]]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            t_1 := \mathsf{fma}\left(-i, j, y2 \cdot a\right)\\
            t_2 := \left(t\_1 \cdot \left(-y1\right)\right) \cdot x\\
            \mathbf{if}\;y1 \leq -9 \cdot 10^{+168}:\\
            \;\;\;\;t\_2\\
            
            \mathbf{elif}\;y1 \leq -1.02 \cdot 10^{-41}:\\
            \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\
            
            \mathbf{elif}\;y1 \leq -3.8 \cdot 10^{-119}:\\
            \;\;\;\;t\_1 \cdot \left(y5 \cdot t\right)\\
            
            \mathbf{elif}\;y1 \leq 2.8 \cdot 10^{-8}:\\
            \;\;\;\;\left(\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot t\right) \cdot b\\
            
            \mathbf{elif}\;y1 \leq 10^{+112}:\\
            \;\;\;\;\left(\mathsf{fma}\left(-j, y1, c \cdot y\right) \cdot y4\right) \cdot y3\\
            
            \mathbf{elif}\;y1 \leq 3.4 \cdot 10^{+202}:\\
            \;\;\;\;t\_2\\
            
            \mathbf{else}:\\
            \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 6 regimes
            2. if y1 < -9.00000000000000024e168 or 9.9999999999999993e111 < y1 < 3.4e202

              1. Initial program 19.0%

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

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

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

                  \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
              5. Applied rewrites37.9%

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

                \[\leadsto \left(-1 \cdot \left(y1 \cdot \left(-1 \cdot \left(i \cdot j\right) + a \cdot y2\right)\right)\right) \cdot x \]
              7. Step-by-step derivation
                1. Applied rewrites60.8%

                  \[\leadsto \left(-y1 \cdot \mathsf{fma}\left(-i, j, a \cdot y2\right)\right) \cdot x \]

                if -9.00000000000000024e168 < y1 < -1.02e-41

                1. Initial program 28.9%

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

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

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

                    \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                5. Applied rewrites39.3%

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

                  \[\leadsto \left(a \cdot \left(x \cdot y - t \cdot z\right)\right) \cdot b \]
                7. Step-by-step derivation
                  1. Applied rewrites52.6%

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

                  if -1.02e-41 < y1 < -3.79999999999999975e-119

                  1. Initial program 25.4%

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

                    \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                  4. Step-by-step derivation
                    1. *-commutativeN/A

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

                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                  5. Applied rewrites32.1%

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

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

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

                    if -3.79999999999999975e-119 < y1 < 2.7999999999999999e-8

                    1. Initial program 42.1%

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

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

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

                        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                    5. Applied rewrites55.7%

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

                      \[\leadsto \left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right) \cdot b \]
                    7. Step-by-step derivation
                      1. Applied rewrites42.8%

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

                      if 2.7999999999999999e-8 < y1 < 9.9999999999999993e111

                      1. Initial program 23.9%

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

                        \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                      4. Step-by-step derivation
                        1. *-commutativeN/A

                          \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                        2. lower-*.f64N/A

                          \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                      5. Applied rewrites37.1%

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

                        \[\leadsto y3 \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(j \cdot y1\right) + c \cdot y\right)\right)} \]
                      7. Step-by-step derivation
                        1. Applied rewrites56.7%

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

                        if 3.4e202 < y1

                        1. Initial program 15.2%

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

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

                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                          2. lower-*.f64N/A

                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                        5. Applied rewrites60.7%

                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                        6. Taylor expanded in j around inf

                          \[\leadsto j \cdot \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(y3 \cdot y4\right) + i \cdot x\right)\right)} \]
                        7. Step-by-step derivation
                          1. Applied rewrites64.3%

                            \[\leadsto \left(j \cdot y1\right) \cdot \color{blue}{\mathsf{fma}\left(-y3, y4, i \cdot x\right)} \]
                        8. Recombined 6 regimes into one program.
                        9. Final simplification53.1%

                          \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -9 \cdot 10^{+168}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot \left(-y1\right)\right) \cdot x\\ \mathbf{elif}\;y1 \leq -1.02 \cdot 10^{-41}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;y1 \leq -3.8 \cdot 10^{-119}:\\ \;\;\;\;\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot \left(y5 \cdot t\right)\\ \mathbf{elif}\;y1 \leq 2.8 \cdot 10^{-8}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot t\right) \cdot b\\ \mathbf{elif}\;y1 \leq 10^{+112}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y1, c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{elif}\;y1 \leq 3.4 \cdot 10^{+202}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot \left(-y1\right)\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \end{array} \]
                        10. Add Preprocessing

                        Alternative 7: 38.5% accurate, 3.3× speedup?

                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq 10200:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \end{array} \]
                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                         :precision binary64
                         (if (<= b 10200.0)
                           (fma
                            (fma (- y5) y0 (* y4 y1))
                            (fma (- y3) j (* y2 k))
                            (* (* (fma y4 c (* (- a) y5)) y3) y))
                           (* (fma j y4 (* (- a) z)) (* b t))))
                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                        	double tmp;
                        	if (b <= 10200.0) {
                        		tmp = fma(fma(-y5, y0, (y4 * y1)), fma(-y3, j, (y2 * k)), ((fma(y4, c, (-a * y5)) * y3) * y));
                        	} else {
                        		tmp = fma(j, y4, (-a * z)) * (b * t);
                        	}
                        	return tmp;
                        }
                        
                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                        	tmp = 0.0
                        	if (b <= 10200.0)
                        		tmp = fma(fma(Float64(-y5), y0, Float64(y4 * y1)), fma(Float64(-y3), j, Float64(y2 * k)), Float64(Float64(fma(y4, c, Float64(Float64(-a) * y5)) * y3) * y));
                        	else
                        		tmp = Float64(fma(j, y4, Float64(Float64(-a) * z)) * Float64(b * t));
                        	end
                        	return tmp
                        end
                        
                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, 10200.0], N[(N[((-y5) * y0 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * N[((-y3) * j + N[(y2 * k), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y4 * c + N[((-a) * y5), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision], N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision]]
                        
                        \begin{array}{l}
                        
                        \\
                        \begin{array}{l}
                        \mathbf{if}\;b \leq 10200:\\
                        \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\
                        
                        \mathbf{else}:\\
                        \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\
                        
                        
                        \end{array}
                        \end{array}
                        
                        Derivation
                        1. Split input into 2 regimes
                        2. if b < 10200

                          1. Initial program 31.0%

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

                            \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                          4. Step-by-step derivation
                            1. *-commutativeN/A

                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                            2. lower-*.f64N/A

                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                          5. Applied rewrites46.8%

                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, \mathsf{fma}\left(b \cdot a - c \cdot i, x, \left(c \cdot y4 - y5 \cdot a\right) \cdot y3\right)\right) \cdot y} + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                          6. Taylor expanded in y3 around inf

                            \[\leadsto \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                          7. Step-by-step derivation
                            1. Applied rewrites45.9%

                              \[\leadsto \left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                            2. Applied rewrites47.5%

                              \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y1 \cdot y4\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), y \cdot \left(\mathsf{fma}\left(y4, c, y5 \cdot \left(-a\right)\right) \cdot y3\right)\right)} \]

                            if 10200 < b

                            1. Initial program 25.1%

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

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

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

                                \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                            5. Applied rewrites46.1%

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

                              \[\leadsto b \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
                            7. Step-by-step derivation
                              1. Applied rewrites56.6%

                                \[\leadsto \left(b \cdot t\right) \cdot \color{blue}{\mathsf{fma}\left(j, y4, -a \cdot z\right)} \]
                            8. Recombined 2 regimes into one program.
                            9. Final simplification49.9%

                              \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq 10200:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y5, y0, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right) \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \]
                            10. Add Preprocessing

                            Alternative 8: 31.3% accurate, 3.4× speedup?

                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.32 \cdot 10^{+228}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;b \leq -3.5 \cdot 10^{+107}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -6.6 \cdot 10^{-37}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \end{array} \]
                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                             :precision binary64
                             (if (<= b -1.32e+228)
                               (* (* (fma x y (* (- t) z)) a) b)
                               (if (<= b -3.5e+107)
                                 (* (* (fma (- b) y (* y2 y1)) k) y4)
                                 (if (<= b -6.6e-37)
                                   (* (* (fma (- c) y2 (* j b)) t) y4)
                                   (if (<= b -1.16e-247)
                                     (* (* (fma (- k) y0 (* a t)) y5) y2)
                                     (if (<= b 7.6e-171)
                                       (* (* (fma t y2 (* (- y) y3)) a) y5)
                                       (if (<= b 2.9e-51)
                                         (* (* (fma (- i) z (* y4 y2)) k) y1)
                                         (* (fma j y4 (* (- a) z)) (* b t)))))))))
                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                            	double tmp;
                            	if (b <= -1.32e+228) {
                            		tmp = (fma(x, y, (-t * z)) * a) * b;
                            	} else if (b <= -3.5e+107) {
                            		tmp = (fma(-b, y, (y2 * y1)) * k) * y4;
                            	} else if (b <= -6.6e-37) {
                            		tmp = (fma(-c, y2, (j * b)) * t) * y4;
                            	} else if (b <= -1.16e-247) {
                            		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                            	} else if (b <= 7.6e-171) {
                            		tmp = (fma(t, y2, (-y * y3)) * a) * y5;
                            	} else if (b <= 2.9e-51) {
                            		tmp = (fma(-i, z, (y4 * y2)) * k) * y1;
                            	} else {
                            		tmp = fma(j, y4, (-a * z)) * (b * t);
                            	}
                            	return tmp;
                            }
                            
                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                            	tmp = 0.0
                            	if (b <= -1.32e+228)
                            		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * a) * b);
                            	elseif (b <= -3.5e+107)
                            		tmp = Float64(Float64(fma(Float64(-b), y, Float64(y2 * y1)) * k) * y4);
                            	elseif (b <= -6.6e-37)
                            		tmp = Float64(Float64(fma(Float64(-c), y2, Float64(j * b)) * t) * y4);
                            	elseif (b <= -1.16e-247)
                            		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                            	elseif (b <= 7.6e-171)
                            		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * a) * y5);
                            	elseif (b <= 2.9e-51)
                            		tmp = Float64(Float64(fma(Float64(-i), z, Float64(y4 * y2)) * k) * y1);
                            	else
                            		tmp = Float64(fma(j, y4, Float64(Float64(-a) * z)) * Float64(b * t));
                            	end
                            	return tmp
                            end
                            
                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -1.32e+228], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[b, -3.5e+107], N[(N[(N[((-b) * y + N[(y2 * y1), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[b, -6.6e-37], N[(N[(N[((-c) * y2 + N[(j * b), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[b, -1.16e-247], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, 7.6e-171], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[b, 2.9e-51], N[(N[(N[((-i) * z + N[(y4 * y2), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y1), $MachinePrecision], N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision]]]]]]]
                            
                            \begin{array}{l}
                            
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;b \leq -1.32 \cdot 10^{+228}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\
                            
                            \mathbf{elif}\;b \leq -3.5 \cdot 10^{+107}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\
                            
                            \mathbf{elif}\;b \leq -6.6 \cdot 10^{-37}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\
                            
                            \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                            
                            \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\
                            
                            \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 7 regimes
                            2. if b < -1.32e228

                              1. Initial program 28.6%

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

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

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

                                  \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                              5. Applied rewrites71.4%

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

                                \[\leadsto \left(a \cdot \left(x \cdot y - t \cdot z\right)\right) \cdot b \]
                              7. Step-by-step derivation
                                1. Applied rewrites58.5%

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

                                if -1.32e228 < b < -3.4999999999999997e107

                                1. Initial program 34.4%

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

                                  \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                4. Step-by-step derivation
                                  1. *-commutativeN/A

                                    \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                  2. lower-*.f64N/A

                                    \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                5. Applied rewrites42.1%

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

                                  \[\leadsto \left(k \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right) \cdot y4 \]
                                7. Step-by-step derivation
                                  1. Applied rewrites55.8%

                                    \[\leadsto \left(k \cdot \mathsf{fma}\left(-b, y, y1 \cdot y2\right)\right) \cdot y4 \]

                                  if -3.4999999999999997e107 < b < -6.59999999999999964e-37

                                  1. Initial program 19.2%

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

                                    \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                  4. Step-by-step derivation
                                    1. *-commutativeN/A

                                      \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                    2. lower-*.f64N/A

                                      \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                  5. Applied rewrites42.3%

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

                                    \[\leadsto \left(k \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right) \cdot y4 \]
                                  7. Step-by-step derivation
                                    1. Applied rewrites12.6%

                                      \[\leadsto \left(k \cdot \mathsf{fma}\left(-b, y, y1 \cdot y2\right)\right) \cdot y4 \]
                                    2. Taylor expanded in t around inf

                                      \[\leadsto \left(t \cdot \left(-1 \cdot \left(c \cdot y2\right) + b \cdot j\right)\right) \cdot y4 \]
                                    3. Step-by-step derivation
                                      1. Applied rewrites43.3%

                                        \[\leadsto \left(t \cdot \mathsf{fma}\left(-c, y2, b \cdot j\right)\right) \cdot y4 \]

                                      if -6.59999999999999964e-37 < b < -1.16e-247

                                      1. Initial program 34.5%

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

                                        \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                      4. Step-by-step derivation
                                        1. *-commutativeN/A

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

                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                      5. Applied rewrites39.6%

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

                                        \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
                                      7. Step-by-step derivation
                                        1. Applied rewrites50.6%

                                          \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-k, y0, a \cdot t\right)\right)} \]

                                        if -1.16e-247 < b < 7.60000000000000043e-171

                                        1. Initial program 31.8%

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

                                          \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                        4. Step-by-step derivation
                                          1. *-commutativeN/A

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

                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                        5. Applied rewrites38.3%

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

                                          \[\leadsto \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y5 \]
                                        7. Step-by-step derivation
                                          1. Applied rewrites52.3%

                                            \[\leadsto \left(a \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right) \cdot y5 \]

                                          if 7.60000000000000043e-171 < b < 2.89999999999999973e-51

                                          1. Initial program 28.7%

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

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

                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                            2. lower-*.f64N/A

                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                          5. Applied rewrites61.4%

                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                          6. Taylor expanded in k around inf

                                            \[\leadsto \left(k \cdot \left(-1 \cdot \left(i \cdot z\right) + y2 \cdot y4\right)\right) \cdot y1 \]
                                          7. Step-by-step derivation
                                            1. Applied rewrites61.3%

                                              \[\leadsto \left(k \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right) \cdot y1 \]

                                            if 2.89999999999999973e-51 < b

                                            1. Initial program 27.5%

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

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

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

                                                \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                            5. Applied rewrites46.7%

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

                                              \[\leadsto b \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
                                            7. Step-by-step derivation
                                              1. Applied rewrites53.3%

                                                \[\leadsto \left(b \cdot t\right) \cdot \color{blue}{\mathsf{fma}\left(j, y4, -a \cdot z\right)} \]
                                            8. Recombined 7 regimes into one program.
                                            9. Final simplification53.0%

                                              \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.32 \cdot 10^{+228}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;b \leq -3.5 \cdot 10^{+107}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -6.6 \cdot 10^{-37}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \]
                                            10. Add Preprocessing

                                            Alternative 9: 30.9% accurate, 3.4× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.55 \cdot 10^{+228}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;b \leq -3.5 \cdot 10^{+107}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -6.6 \cdot 10^{-37}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \end{array} \]
                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                             :precision binary64
                                             (if (<= b -1.55e+228)
                                               (* (* (fma a b (* (- i) c)) y) x)
                                               (if (<= b -3.5e+107)
                                                 (* (* (fma (- b) y (* y2 y1)) k) y4)
                                                 (if (<= b -6.6e-37)
                                                   (* (* (fma (- c) y2 (* j b)) t) y4)
                                                   (if (<= b -1.16e-247)
                                                     (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                     (if (<= b 7.6e-171)
                                                       (* (* (fma t y2 (* (- y) y3)) a) y5)
                                                       (if (<= b 2.9e-51)
                                                         (* (* (fma (- i) z (* y4 y2)) k) y1)
                                                         (* (fma j y4 (* (- a) z)) (* b t)))))))))
                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                            	double tmp;
                                            	if (b <= -1.55e+228) {
                                            		tmp = (fma(a, b, (-i * c)) * y) * x;
                                            	} else if (b <= -3.5e+107) {
                                            		tmp = (fma(-b, y, (y2 * y1)) * k) * y4;
                                            	} else if (b <= -6.6e-37) {
                                            		tmp = (fma(-c, y2, (j * b)) * t) * y4;
                                            	} else if (b <= -1.16e-247) {
                                            		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                            	} else if (b <= 7.6e-171) {
                                            		tmp = (fma(t, y2, (-y * y3)) * a) * y5;
                                            	} else if (b <= 2.9e-51) {
                                            		tmp = (fma(-i, z, (y4 * y2)) * k) * y1;
                                            	} else {
                                            		tmp = fma(j, y4, (-a * z)) * (b * t);
                                            	}
                                            	return tmp;
                                            }
                                            
                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                            	tmp = 0.0
                                            	if (b <= -1.55e+228)
                                            		tmp = Float64(Float64(fma(a, b, Float64(Float64(-i) * c)) * y) * x);
                                            	elseif (b <= -3.5e+107)
                                            		tmp = Float64(Float64(fma(Float64(-b), y, Float64(y2 * y1)) * k) * y4);
                                            	elseif (b <= -6.6e-37)
                                            		tmp = Float64(Float64(fma(Float64(-c), y2, Float64(j * b)) * t) * y4);
                                            	elseif (b <= -1.16e-247)
                                            		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                            	elseif (b <= 7.6e-171)
                                            		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * a) * y5);
                                            	elseif (b <= 2.9e-51)
                                            		tmp = Float64(Float64(fma(Float64(-i), z, Float64(y4 * y2)) * k) * y1);
                                            	else
                                            		tmp = Float64(fma(j, y4, Float64(Float64(-a) * z)) * Float64(b * t));
                                            	end
                                            	return tmp
                                            end
                                            
                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -1.55e+228], N[(N[(N[(a * b + N[((-i) * c), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[b, -3.5e+107], N[(N[(N[((-b) * y + N[(y2 * y1), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[b, -6.6e-37], N[(N[(N[((-c) * y2 + N[(j * b), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[b, -1.16e-247], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, 7.6e-171], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[b, 2.9e-51], N[(N[(N[((-i) * z + N[(y4 * y2), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y1), $MachinePrecision], N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision]]]]]]]
                                            
                                            \begin{array}{l}
                                            
                                            \\
                                            \begin{array}{l}
                                            \mathbf{if}\;b \leq -1.55 \cdot 10^{+228}:\\
                                            \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\
                                            
                                            \mathbf{elif}\;b \leq -3.5 \cdot 10^{+107}:\\
                                            \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\
                                            
                                            \mathbf{elif}\;b \leq -6.6 \cdot 10^{-37}:\\
                                            \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\
                                            
                                            \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\
                                            \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                            
                                            \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\
                                            \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\
                                            
                                            \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\
                                            \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 7 regimes
                                            2. if b < -1.5499999999999999e228

                                              1. Initial program 28.6%

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

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

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

                                                  \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
                                              5. Applied rewrites38.4%

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

                                                \[\leadsto \left(y \cdot \left(a \cdot b - c \cdot i\right)\right) \cdot x \]
                                              7. Step-by-step derivation
                                                1. Applied rewrites53.5%

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

                                                if -1.5499999999999999e228 < b < -3.4999999999999997e107

                                                1. Initial program 34.4%

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

                                                  \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                4. Step-by-step derivation
                                                  1. *-commutativeN/A

                                                    \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                  2. lower-*.f64N/A

                                                    \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                5. Applied rewrites42.1%

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

                                                  \[\leadsto \left(k \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right) \cdot y4 \]
                                                7. Step-by-step derivation
                                                  1. Applied rewrites55.8%

                                                    \[\leadsto \left(k \cdot \mathsf{fma}\left(-b, y, y1 \cdot y2\right)\right) \cdot y4 \]

                                                  if -3.4999999999999997e107 < b < -6.59999999999999964e-37

                                                  1. Initial program 19.2%

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

                                                    \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                  4. Step-by-step derivation
                                                    1. *-commutativeN/A

                                                      \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                    2. lower-*.f64N/A

                                                      \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                  5. Applied rewrites42.3%

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

                                                    \[\leadsto \left(k \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right) \cdot y4 \]
                                                  7. Step-by-step derivation
                                                    1. Applied rewrites12.6%

                                                      \[\leadsto \left(k \cdot \mathsf{fma}\left(-b, y, y1 \cdot y2\right)\right) \cdot y4 \]
                                                    2. Taylor expanded in t around inf

                                                      \[\leadsto \left(t \cdot \left(-1 \cdot \left(c \cdot y2\right) + b \cdot j\right)\right) \cdot y4 \]
                                                    3. Step-by-step derivation
                                                      1. Applied rewrites43.3%

                                                        \[\leadsto \left(t \cdot \mathsf{fma}\left(-c, y2, b \cdot j\right)\right) \cdot y4 \]

                                                      if -6.59999999999999964e-37 < b < -1.16e-247

                                                      1. Initial program 34.5%

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

                                                        \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                      4. Step-by-step derivation
                                                        1. *-commutativeN/A

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

                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                      5. Applied rewrites39.6%

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

                                                        \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
                                                      7. Step-by-step derivation
                                                        1. Applied rewrites50.6%

                                                          \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-k, y0, a \cdot t\right)\right)} \]

                                                        if -1.16e-247 < b < 7.60000000000000043e-171

                                                        1. Initial program 31.8%

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

                                                          \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                        4. Step-by-step derivation
                                                          1. *-commutativeN/A

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

                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                        5. Applied rewrites38.3%

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

                                                          \[\leadsto \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y5 \]
                                                        7. Step-by-step derivation
                                                          1. Applied rewrites52.3%

                                                            \[\leadsto \left(a \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right) \cdot y5 \]

                                                          if 7.60000000000000043e-171 < b < 2.89999999999999973e-51

                                                          1. Initial program 28.7%

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

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

                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                            2. lower-*.f64N/A

                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                          5. Applied rewrites61.4%

                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                          6. Taylor expanded in k around inf

                                                            \[\leadsto \left(k \cdot \left(-1 \cdot \left(i \cdot z\right) + y2 \cdot y4\right)\right) \cdot y1 \]
                                                          7. Step-by-step derivation
                                                            1. Applied rewrites61.3%

                                                              \[\leadsto \left(k \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right) \cdot y1 \]

                                                            if 2.89999999999999973e-51 < b

                                                            1. Initial program 27.5%

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

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

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

                                                                \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                            5. Applied rewrites46.7%

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

                                                              \[\leadsto b \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
                                                            7. Step-by-step derivation
                                                              1. Applied rewrites53.3%

                                                                \[\leadsto \left(b \cdot t\right) \cdot \color{blue}{\mathsf{fma}\left(j, y4, -a \cdot z\right)} \]
                                                            8. Recombined 7 regimes into one program.
                                                            9. Final simplification52.6%

                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.55 \cdot 10^{+228}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;b \leq -3.5 \cdot 10^{+107}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -6.6 \cdot 10^{-37}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \]
                                                            10. Add Preprocessing

                                                            Alternative 10: 31.0% accurate, 3.4× speedup?

                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -1.55 \cdot 10^{+228}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;b \leq -5.7 \cdot 10^{+72}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.65 \cdot 10^{-34}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \end{array} \]
                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                             :precision binary64
                                                             (if (<= b -1.55e+228)
                                                               (* (* (fma a b (* (- i) c)) y) x)
                                                               (if (<= b -5.7e+72)
                                                                 (* (* (fma (- b) y (* y2 y1)) k) y4)
                                                                 (if (<= b -1.65e-34)
                                                                   (* (* (fma k y (* (- j) t)) i) y5)
                                                                   (if (<= b -1.16e-247)
                                                                     (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                     (if (<= b 7.6e-171)
                                                                       (* (* (fma t y2 (* (- y) y3)) a) y5)
                                                                       (if (<= b 2.9e-51)
                                                                         (* (* (fma (- i) z (* y4 y2)) k) y1)
                                                                         (* (fma j y4 (* (- a) z)) (* b t)))))))))
                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                            	double tmp;
                                                            	if (b <= -1.55e+228) {
                                                            		tmp = (fma(a, b, (-i * c)) * y) * x;
                                                            	} else if (b <= -5.7e+72) {
                                                            		tmp = (fma(-b, y, (y2 * y1)) * k) * y4;
                                                            	} else if (b <= -1.65e-34) {
                                                            		tmp = (fma(k, y, (-j * t)) * i) * y5;
                                                            	} else if (b <= -1.16e-247) {
                                                            		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                            	} else if (b <= 7.6e-171) {
                                                            		tmp = (fma(t, y2, (-y * y3)) * a) * y5;
                                                            	} else if (b <= 2.9e-51) {
                                                            		tmp = (fma(-i, z, (y4 * y2)) * k) * y1;
                                                            	} else {
                                                            		tmp = fma(j, y4, (-a * z)) * (b * t);
                                                            	}
                                                            	return tmp;
                                                            }
                                                            
                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                            	tmp = 0.0
                                                            	if (b <= -1.55e+228)
                                                            		tmp = Float64(Float64(fma(a, b, Float64(Float64(-i) * c)) * y) * x);
                                                            	elseif (b <= -5.7e+72)
                                                            		tmp = Float64(Float64(fma(Float64(-b), y, Float64(y2 * y1)) * k) * y4);
                                                            	elseif (b <= -1.65e-34)
                                                            		tmp = Float64(Float64(fma(k, y, Float64(Float64(-j) * t)) * i) * y5);
                                                            	elseif (b <= -1.16e-247)
                                                            		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                            	elseif (b <= 7.6e-171)
                                                            		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * a) * y5);
                                                            	elseif (b <= 2.9e-51)
                                                            		tmp = Float64(Float64(fma(Float64(-i), z, Float64(y4 * y2)) * k) * y1);
                                                            	else
                                                            		tmp = Float64(fma(j, y4, Float64(Float64(-a) * z)) * Float64(b * t));
                                                            	end
                                                            	return tmp
                                                            end
                                                            
                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -1.55e+228], N[(N[(N[(a * b + N[((-i) * c), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[b, -5.7e+72], N[(N[(N[((-b) * y + N[(y2 * y1), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[b, -1.65e-34], N[(N[(N[(k * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[b, -1.16e-247], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, 7.6e-171], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[b, 2.9e-51], N[(N[(N[((-i) * z + N[(y4 * y2), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y1), $MachinePrecision], N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision]]]]]]]
                                                            
                                                            \begin{array}{l}
                                                            
                                                            \\
                                                            \begin{array}{l}
                                                            \mathbf{if}\;b \leq -1.55 \cdot 10^{+228}:\\
                                                            \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\
                                                            
                                                            \mathbf{elif}\;b \leq -5.7 \cdot 10^{+72}:\\
                                                            \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\
                                                            
                                                            \mathbf{elif}\;b \leq -1.65 \cdot 10^{-34}:\\
                                                            \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                                            
                                                            \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\
                                                            \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                            
                                                            \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\
                                                            \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\
                                                            
                                                            \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\
                                                            \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\
                                                            
                                                            \mathbf{else}:\\
                                                            \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\
                                                            
                                                            
                                                            \end{array}
                                                            \end{array}
                                                            
                                                            Derivation
                                                            1. Split input into 7 regimes
                                                            2. if b < -1.5499999999999999e228

                                                              1. Initial program 28.6%

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

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

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

                                                                  \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
                                                              5. Applied rewrites38.4%

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

                                                                \[\leadsto \left(y \cdot \left(a \cdot b - c \cdot i\right)\right) \cdot x \]
                                                              7. Step-by-step derivation
                                                                1. Applied rewrites53.5%

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

                                                                if -1.5499999999999999e228 < b < -5.6999999999999997e72

                                                                1. Initial program 29.4%

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

                                                                  \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                4. Step-by-step derivation
                                                                  1. *-commutativeN/A

                                                                    \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                  2. lower-*.f64N/A

                                                                    \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                5. Applied rewrites41.8%

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

                                                                  \[\leadsto \left(k \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right) \cdot y4 \]
                                                                7. Step-by-step derivation
                                                                  1. Applied rewrites50.8%

                                                                    \[\leadsto \left(k \cdot \mathsf{fma}\left(-b, y, y1 \cdot y2\right)\right) \cdot y4 \]

                                                                  if -5.6999999999999997e72 < b < -1.64999999999999991e-34

                                                                  1. Initial program 25.0%

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

                                                                    \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                  4. Step-by-step derivation
                                                                    1. *-commutativeN/A

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

                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                  5. Applied rewrites50.7%

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

                                                                    \[\leadsto \left(i \cdot \left(k \cdot y - j \cdot t\right)\right) \cdot y5 \]
                                                                  7. Step-by-step derivation
                                                                    1. Applied rewrites45.9%

                                                                      \[\leadsto \left(i \cdot \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right)\right) \cdot y5 \]

                                                                    if -1.64999999999999991e-34 < b < -1.16e-247

                                                                    1. Initial program 33.6%

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

                                                                      \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                    4. Step-by-step derivation
                                                                      1. *-commutativeN/A

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

                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                    5. Applied rewrites38.6%

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

                                                                      \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
                                                                    7. Step-by-step derivation
                                                                      1. Applied rewrites49.3%

                                                                        \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-k, y0, a \cdot t\right)\right)} \]

                                                                      if -1.16e-247 < b < 7.60000000000000043e-171

                                                                      1. Initial program 31.8%

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

                                                                        \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                      4. Step-by-step derivation
                                                                        1. *-commutativeN/A

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

                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                      5. Applied rewrites38.3%

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

                                                                        \[\leadsto \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y5 \]
                                                                      7. Step-by-step derivation
                                                                        1. Applied rewrites52.3%

                                                                          \[\leadsto \left(a \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right) \cdot y5 \]

                                                                        if 7.60000000000000043e-171 < b < 2.89999999999999973e-51

                                                                        1. Initial program 28.7%

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

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

                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                          2. lower-*.f64N/A

                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                        5. Applied rewrites61.4%

                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                        6. Taylor expanded in k around inf

                                                                          \[\leadsto \left(k \cdot \left(-1 \cdot \left(i \cdot z\right) + y2 \cdot y4\right)\right) \cdot y1 \]
                                                                        7. Step-by-step derivation
                                                                          1. Applied rewrites61.3%

                                                                            \[\leadsto \left(k \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right) \cdot y1 \]

                                                                          if 2.89999999999999973e-51 < b

                                                                          1. Initial program 27.5%

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

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

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

                                                                              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                          5. Applied rewrites46.7%

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

                                                                            \[\leadsto b \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
                                                                          7. Step-by-step derivation
                                                                            1. Applied rewrites53.3%

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

                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.55 \cdot 10^{+228}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;b \leq -5.7 \cdot 10^{+72}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.65 \cdot 10^{-34}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \]
                                                                          10. Add Preprocessing

                                                                          Alternative 11: 31.8% accurate, 3.7× speedup?

                                                                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -5 \cdot 10^{+161}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;b \leq -8.4 \cdot 10^{+48}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y4\right) \cdot \left(-t\right)\\ \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \end{array} \]
                                                                          (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                           :precision binary64
                                                                           (if (<= b -5e+161)
                                                                             (* (* (fma x y (* (- t) z)) a) b)
                                                                             (if (<= b -8.4e+48)
                                                                               (* (* (fma (- b) j (* y2 c)) y4) (- t))
                                                                               (if (<= b -1.16e-247)
                                                                                 (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                                 (if (<= b 7.6e-171)
                                                                                   (* (* (fma t y2 (* (- y) y3)) a) y5)
                                                                                   (if (<= b 2.9e-51)
                                                                                     (* (* (fma (- i) z (* y4 y2)) k) y1)
                                                                                     (* (fma j y4 (* (- a) z)) (* b t))))))))
                                                                          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                          	double tmp;
                                                                          	if (b <= -5e+161) {
                                                                          		tmp = (fma(x, y, (-t * z)) * a) * b;
                                                                          	} else if (b <= -8.4e+48) {
                                                                          		tmp = (fma(-b, j, (y2 * c)) * y4) * -t;
                                                                          	} else if (b <= -1.16e-247) {
                                                                          		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                          	} else if (b <= 7.6e-171) {
                                                                          		tmp = (fma(t, y2, (-y * y3)) * a) * y5;
                                                                          	} else if (b <= 2.9e-51) {
                                                                          		tmp = (fma(-i, z, (y4 * y2)) * k) * y1;
                                                                          	} else {
                                                                          		tmp = fma(j, y4, (-a * z)) * (b * t);
                                                                          	}
                                                                          	return tmp;
                                                                          }
                                                                          
                                                                          function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                          	tmp = 0.0
                                                                          	if (b <= -5e+161)
                                                                          		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * a) * b);
                                                                          	elseif (b <= -8.4e+48)
                                                                          		tmp = Float64(Float64(fma(Float64(-b), j, Float64(y2 * c)) * y4) * Float64(-t));
                                                                          	elseif (b <= -1.16e-247)
                                                                          		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                                          	elseif (b <= 7.6e-171)
                                                                          		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * a) * y5);
                                                                          	elseif (b <= 2.9e-51)
                                                                          		tmp = Float64(Float64(fma(Float64(-i), z, Float64(y4 * y2)) * k) * y1);
                                                                          	else
                                                                          		tmp = Float64(fma(j, y4, Float64(Float64(-a) * z)) * Float64(b * t));
                                                                          	end
                                                                          	return tmp
                                                                          end
                                                                          
                                                                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[b, -5e+161], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[b, -8.4e+48], N[(N[(N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * (-t)), $MachinePrecision], If[LessEqual[b, -1.16e-247], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, 7.6e-171], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[b, 2.9e-51], N[(N[(N[((-i) * z + N[(y4 * y2), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y1), $MachinePrecision], N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision]]]]]]
                                                                          
                                                                          \begin{array}{l}
                                                                          
                                                                          \\
                                                                          \begin{array}{l}
                                                                          \mathbf{if}\;b \leq -5 \cdot 10^{+161}:\\
                                                                          \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\
                                                                          
                                                                          \mathbf{elif}\;b \leq -8.4 \cdot 10^{+48}:\\
                                                                          \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y4\right) \cdot \left(-t\right)\\
                                                                          
                                                                          \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\
                                                                          \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                          
                                                                          \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\
                                                                          \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\
                                                                          
                                                                          \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\
                                                                          \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\
                                                                          
                                                                          \mathbf{else}:\\
                                                                          \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\
                                                                          
                                                                          
                                                                          \end{array}
                                                                          \end{array}
                                                                          
                                                                          Derivation
                                                                          1. Split input into 6 regimes
                                                                          2. if b < -4.9999999999999997e161

                                                                            1. Initial program 37.8%

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

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

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

                                                                                \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                            5. Applied rewrites73.3%

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

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

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

                                                                              if -4.9999999999999997e161 < b < -8.3999999999999994e48

                                                                              1. Initial program 12.5%

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

                                                                                \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                              4. Step-by-step derivation
                                                                                1. *-commutativeN/A

                                                                                  \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                2. lower-*.f64N/A

                                                                                  \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                              5. Applied rewrites41.8%

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

                                                                                \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(y4 \cdot \left(-1 \cdot \left(b \cdot j\right) + c \cdot y2\right)\right)\right)} \]
                                                                              7. Step-by-step derivation
                                                                                1. Applied rewrites54.8%

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

                                                                                if -8.3999999999999994e48 < b < -1.16e-247

                                                                                1. Initial program 32.2%

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

                                                                                  \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                4. Step-by-step derivation
                                                                                  1. *-commutativeN/A

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

                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                5. Applied rewrites43.8%

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

                                                                                  \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
                                                                                7. Step-by-step derivation
                                                                                  1. Applied rewrites44.0%

                                                                                    \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-k, y0, a \cdot t\right)\right)} \]

                                                                                  if -1.16e-247 < b < 7.60000000000000043e-171

                                                                                  1. Initial program 31.8%

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

                                                                                    \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                  4. Step-by-step derivation
                                                                                    1. *-commutativeN/A

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

                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                  5. Applied rewrites38.3%

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

                                                                                    \[\leadsto \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y5 \]
                                                                                  7. Step-by-step derivation
                                                                                    1. Applied rewrites52.3%

                                                                                      \[\leadsto \left(a \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right) \cdot y5 \]

                                                                                    if 7.60000000000000043e-171 < b < 2.89999999999999973e-51

                                                                                    1. Initial program 28.7%

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

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

                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                      2. lower-*.f64N/A

                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                    5. Applied rewrites61.4%

                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                    6. Taylor expanded in k around inf

                                                                                      \[\leadsto \left(k \cdot \left(-1 \cdot \left(i \cdot z\right) + y2 \cdot y4\right)\right) \cdot y1 \]
                                                                                    7. Step-by-step derivation
                                                                                      1. Applied rewrites61.3%

                                                                                        \[\leadsto \left(k \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right) \cdot y1 \]

                                                                                      if 2.89999999999999973e-51 < b

                                                                                      1. Initial program 27.5%

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

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

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

                                                                                          \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                      5. Applied rewrites46.7%

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

                                                                                        \[\leadsto b \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
                                                                                      7. Step-by-step derivation
                                                                                        1. Applied rewrites53.3%

                                                                                          \[\leadsto \left(b \cdot t\right) \cdot \color{blue}{\mathsf{fma}\left(j, y4, -a \cdot z\right)} \]
                                                                                      8. Recombined 6 regimes into one program.
                                                                                      9. Final simplification51.5%

                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -5 \cdot 10^{+161}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;b \leq -8.4 \cdot 10^{+48}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y4\right) \cdot \left(-t\right)\\ \mathbf{elif}\;b \leq -1.16 \cdot 10^{-247}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 7.6 \cdot 10^{-171}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\ \mathbf{elif}\;b \leq 2.9 \cdot 10^{-51}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \end{array} \]
                                                                                      10. Add Preprocessing

                                                                                      Alternative 12: 31.9% accurate, 3.7× speedup?

                                                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{if}\;y1 \leq -3.2 \cdot 10^{+15}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y1 \leq -5.5 \cdot 10^{-188}:\\ \;\;\;\;\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot \left(y5 \cdot t\right)\\ \mathbf{elif}\;y1 \leq 4 \cdot 10^{-292}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y1 \leq 2.8 \cdot 10^{+46}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\ \mathbf{elif}\;y1 \leq 9.2 \cdot 10^{+79}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                       :precision binary64
                                                                                       (let* ((t_1 (* (fma (- y3) y4 (* i x)) (* y1 j))))
                                                                                         (if (<= y1 -3.2e+15)
                                                                                           t_1
                                                                                           (if (<= y1 -5.5e-188)
                                                                                             (* (fma (- i) j (* y2 a)) (* y5 t))
                                                                                             (if (<= y1 4e-292)
                                                                                               (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                                               (if (<= y1 2.8e+46)
                                                                                                 (* (* (fma (- b) k (* y3 c)) y4) y)
                                                                                                 (if (<= y1 9.2e+79) (* (* (fma (- i) t (* y3 y0)) y5) j) t_1)))))))
                                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                      	double t_1 = fma(-y3, y4, (i * x)) * (y1 * j);
                                                                                      	double tmp;
                                                                                      	if (y1 <= -3.2e+15) {
                                                                                      		tmp = t_1;
                                                                                      	} else if (y1 <= -5.5e-188) {
                                                                                      		tmp = fma(-i, j, (y2 * a)) * (y5 * t);
                                                                                      	} else if (y1 <= 4e-292) {
                                                                                      		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                                      	} else if (y1 <= 2.8e+46) {
                                                                                      		tmp = (fma(-b, k, (y3 * c)) * y4) * y;
                                                                                      	} else if (y1 <= 9.2e+79) {
                                                                                      		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                                                                                      	} else {
                                                                                      		tmp = t_1;
                                                                                      	}
                                                                                      	return tmp;
                                                                                      }
                                                                                      
                                                                                      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                      	t_1 = Float64(fma(Float64(-y3), y4, Float64(i * x)) * Float64(y1 * j))
                                                                                      	tmp = 0.0
                                                                                      	if (y1 <= -3.2e+15)
                                                                                      		tmp = t_1;
                                                                                      	elseif (y1 <= -5.5e-188)
                                                                                      		tmp = Float64(fma(Float64(-i), j, Float64(y2 * a)) * Float64(y5 * t));
                                                                                      	elseif (y1 <= 4e-292)
                                                                                      		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                                                      	elseif (y1 <= 2.8e+46)
                                                                                      		tmp = Float64(Float64(fma(Float64(-b), k, Float64(y3 * c)) * y4) * y);
                                                                                      	elseif (y1 <= 9.2e+79)
                                                                                      		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                                                                                      	else
                                                                                      		tmp = t_1;
                                                                                      	end
                                                                                      	return tmp
                                                                                      end
                                                                                      
                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[((-y3) * y4 + N[(i * x), $MachinePrecision]), $MachinePrecision] * N[(y1 * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -3.2e+15], t$95$1, If[LessEqual[y1, -5.5e-188], N[(N[((-i) * j + N[(y2 * a), $MachinePrecision]), $MachinePrecision] * N[(y5 * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4e-292], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y1, 2.8e+46], N[(N[(N[((-b) * k + N[(y3 * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y1, 9.2e+79], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], t$95$1]]]]]]
                                                                                      
                                                                                      \begin{array}{l}
                                                                                      
                                                                                      \\
                                                                                      \begin{array}{l}
                                                                                      t_1 := \mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\
                                                                                      \mathbf{if}\;y1 \leq -3.2 \cdot 10^{+15}:\\
                                                                                      \;\;\;\;t\_1\\
                                                                                      
                                                                                      \mathbf{elif}\;y1 \leq -5.5 \cdot 10^{-188}:\\
                                                                                      \;\;\;\;\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot \left(y5 \cdot t\right)\\
                                                                                      
                                                                                      \mathbf{elif}\;y1 \leq 4 \cdot 10^{-292}:\\
                                                                                      \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                                      
                                                                                      \mathbf{elif}\;y1 \leq 2.8 \cdot 10^{+46}:\\
                                                                                      \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\
                                                                                      
                                                                                      \mathbf{elif}\;y1 \leq 9.2 \cdot 10^{+79}:\\
                                                                                      \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                                                                                      
                                                                                      \mathbf{else}:\\
                                                                                      \;\;\;\;t\_1\\
                                                                                      
                                                                                      
                                                                                      \end{array}
                                                                                      \end{array}
                                                                                      
                                                                                      Derivation
                                                                                      1. Split input into 5 regimes
                                                                                      2. if y1 < -3.2e15 or 9.2000000000000002e79 < y1

                                                                                        1. Initial program 18.0%

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

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

                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                          2. lower-*.f64N/A

                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                        5. Applied rewrites55.8%

                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                        6. Taylor expanded in j around inf

                                                                                          \[\leadsto j \cdot \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(y3 \cdot y4\right) + i \cdot x\right)\right)} \]
                                                                                        7. Step-by-step derivation
                                                                                          1. Applied rewrites48.8%

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

                                                                                          if -3.2e15 < y1 < -5.5000000000000002e-188

                                                                                          1. Initial program 26.4%

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

                                                                                            \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                          4. Step-by-step derivation
                                                                                            1. *-commutativeN/A

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

                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                          5. Applied rewrites40.0%

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

                                                                                            \[\leadsto t \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot j\right) + a \cdot y2\right)\right)} \]
                                                                                          7. Step-by-step derivation
                                                                                            1. Applied rewrites48.0%

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

                                                                                            if -5.5000000000000002e-188 < y1 < 4.0000000000000002e-292

                                                                                            1. Initial program 57.8%

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

                                                                                              \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                            4. Step-by-step derivation
                                                                                              1. *-commutativeN/A

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

                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                            5. Applied rewrites46.7%

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

                                                                                              \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
                                                                                            7. Step-by-step derivation
                                                                                              1. Applied rewrites50.8%

                                                                                                \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-k, y0, a \cdot t\right)\right)} \]

                                                                                              if 4.0000000000000002e-292 < y1 < 2.80000000000000018e46

                                                                                              1. Initial program 40.3%

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

                                                                                                \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                              4. Step-by-step derivation
                                                                                                1. *-commutativeN/A

                                                                                                  \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                2. lower-*.f64N/A

                                                                                                  \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                              5. Applied rewrites39.3%

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

                                                                                                \[\leadsto b \cdot \color{blue}{\left(y4 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
                                                                                              7. Step-by-step derivation
                                                                                                1. Applied rewrites34.8%

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

                                                                                                  \[\leadsto y \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot k\right) + c \cdot y3\right)\right)} \]
                                                                                                3. Step-by-step derivation
                                                                                                  1. Applied rewrites41.1%

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

                                                                                                  if 2.80000000000000018e46 < y1 < 9.2000000000000002e79

                                                                                                  1. Initial program 30.0%

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

                                                                                                    \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                  4. Step-by-step derivation
                                                                                                    1. *-commutativeN/A

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

                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                  5. Applied rewrites32.2%

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

                                                                                                    \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)} \]
                                                                                                  7. Step-by-step derivation
                                                                                                    1. Applied rewrites70.8%

                                                                                                      \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-i, t, y0 \cdot y3\right)\right)} \]
                                                                                                  8. Recombined 5 regimes into one program.
                                                                                                  9. Final simplification47.8%

                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -3.2 \cdot 10^{+15}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y1 \leq -5.5 \cdot 10^{-188}:\\ \;\;\;\;\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot \left(y5 \cdot t\right)\\ \mathbf{elif}\;y1 \leq 4 \cdot 10^{-292}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y1 \leq 2.8 \cdot 10^{+46}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\ \mathbf{elif}\;y1 \leq 9.2 \cdot 10^{+79}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \end{array} \]
                                                                                                  10. Add Preprocessing

                                                                                                  Alternative 13: 30.9% accurate, 4.2× speedup?

                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y5 \leq -1.52 \cdot 10^{+109}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y5 \leq -1.7 \cdot 10^{+16}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y5 \leq 1.35 \cdot 10^{-163}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y5 \leq 3.4 \cdot 10^{+21}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\ \end{array} \end{array} \]
                                                                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                   :precision binary64
                                                                                                   (if (<= y5 -1.52e+109)
                                                                                                     (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                                                     (if (<= y5 -1.7e+16)
                                                                                                       (* (fma (- y3) y4 (* i x)) (* y1 j))
                                                                                                       (if (<= y5 1.35e-163)
                                                                                                         (* (fma j y4 (* (- a) z)) (* b t))
                                                                                                         (if (<= y5 3.4e+21)
                                                                                                           (* (* (fma (- b) k (* y3 c)) y4) y)
                                                                                                           (* (* (fma t y2 (* (- y) y3)) a) y5))))))
                                                                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                  	double tmp;
                                                                                                  	if (y5 <= -1.52e+109) {
                                                                                                  		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                                                  	} else if (y5 <= -1.7e+16) {
                                                                                                  		tmp = fma(-y3, y4, (i * x)) * (y1 * j);
                                                                                                  	} else if (y5 <= 1.35e-163) {
                                                                                                  		tmp = fma(j, y4, (-a * z)) * (b * t);
                                                                                                  	} else if (y5 <= 3.4e+21) {
                                                                                                  		tmp = (fma(-b, k, (y3 * c)) * y4) * y;
                                                                                                  	} else {
                                                                                                  		tmp = (fma(t, y2, (-y * y3)) * a) * y5;
                                                                                                  	}
                                                                                                  	return tmp;
                                                                                                  }
                                                                                                  
                                                                                                  function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                  	tmp = 0.0
                                                                                                  	if (y5 <= -1.52e+109)
                                                                                                  		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                                                                  	elseif (y5 <= -1.7e+16)
                                                                                                  		tmp = Float64(fma(Float64(-y3), y4, Float64(i * x)) * Float64(y1 * j));
                                                                                                  	elseif (y5 <= 1.35e-163)
                                                                                                  		tmp = Float64(fma(j, y4, Float64(Float64(-a) * z)) * Float64(b * t));
                                                                                                  	elseif (y5 <= 3.4e+21)
                                                                                                  		tmp = Float64(Float64(fma(Float64(-b), k, Float64(y3 * c)) * y4) * y);
                                                                                                  	else
                                                                                                  		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * a) * y5);
                                                                                                  	end
                                                                                                  	return tmp
                                                                                                  end
                                                                                                  
                                                                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y5, -1.52e+109], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y5, -1.7e+16], N[(N[((-y3) * y4 + N[(i * x), $MachinePrecision]), $MachinePrecision] * N[(y1 * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.35e-163], N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 3.4e+21], N[(N[(N[((-b) * k + N[(y3 * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y), $MachinePrecision], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y5), $MachinePrecision]]]]]
                                                                                                  
                                                                                                  \begin{array}{l}
                                                                                                  
                                                                                                  \\
                                                                                                  \begin{array}{l}
                                                                                                  \mathbf{if}\;y5 \leq -1.52 \cdot 10^{+109}:\\
                                                                                                  \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                                                  
                                                                                                  \mathbf{elif}\;y5 \leq -1.7 \cdot 10^{+16}:\\
                                                                                                  \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\
                                                                                                  
                                                                                                  \mathbf{elif}\;y5 \leq 1.35 \cdot 10^{-163}:\\
                                                                                                  \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\
                                                                                                  
                                                                                                  \mathbf{elif}\;y5 \leq 3.4 \cdot 10^{+21}:\\
                                                                                                  \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\
                                                                                                  
                                                                                                  \mathbf{else}:\\
                                                                                                  \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\
                                                                                                  
                                                                                                  
                                                                                                  \end{array}
                                                                                                  \end{array}
                                                                                                  
                                                                                                  Derivation
                                                                                                  1. Split input into 5 regimes
                                                                                                  2. if y5 < -1.52000000000000003e109

                                                                                                    1. Initial program 27.2%

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

                                                                                                      \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                    4. Step-by-step derivation
                                                                                                      1. *-commutativeN/A

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

                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                    5. Applied rewrites63.2%

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

                                                                                                      \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
                                                                                                    7. Step-by-step derivation
                                                                                                      1. Applied rewrites50.7%

                                                                                                        \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-k, y0, a \cdot t\right)\right)} \]

                                                                                                      if -1.52000000000000003e109 < y5 < -1.7e16

                                                                                                      1. Initial program 20.0%

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

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

                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                        2. lower-*.f64N/A

                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                      5. Applied rewrites60.6%

                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                                      6. Taylor expanded in j around inf

                                                                                                        \[\leadsto j \cdot \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(y3 \cdot y4\right) + i \cdot x\right)\right)} \]
                                                                                                      7. Step-by-step derivation
                                                                                                        1. Applied rewrites68.7%

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

                                                                                                        if -1.7e16 < y5 < 1.35000000000000007e-163

                                                                                                        1. Initial program 37.9%

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

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

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

                                                                                                            \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                        5. Applied rewrites48.6%

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

                                                                                                          \[\leadsto b \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
                                                                                                        7. Step-by-step derivation
                                                                                                          1. Applied rewrites42.7%

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

                                                                                                          if 1.35000000000000007e-163 < y5 < 3.4e21

                                                                                                          1. Initial program 31.1%

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

                                                                                                            \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                          4. Step-by-step derivation
                                                                                                            1. *-commutativeN/A

                                                                                                              \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                            2. lower-*.f64N/A

                                                                                                              \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                          5. Applied rewrites53.8%

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

                                                                                                            \[\leadsto b \cdot \color{blue}{\left(y4 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
                                                                                                          7. Step-by-step derivation
                                                                                                            1. Applied rewrites30.2%

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

                                                                                                              \[\leadsto y \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot k\right) + c \cdot y3\right)\right)} \]
                                                                                                            3. Step-by-step derivation
                                                                                                              1. Applied rewrites45.6%

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

                                                                                                              if 3.4e21 < y5

                                                                                                              1. Initial program 23.3%

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

                                                                                                                \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                              4. Step-by-step derivation
                                                                                                                1. *-commutativeN/A

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

                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                              5. Applied rewrites55.7%

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

                                                                                                                \[\leadsto \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y5 \]
                                                                                                              7. Step-by-step derivation
                                                                                                                1. Applied rewrites50.2%

                                                                                                                  \[\leadsto \left(a \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right) \cdot y5 \]
                                                                                                              8. Recombined 5 regimes into one program.
                                                                                                              9. Final simplification49.0%

                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1.52 \cdot 10^{+109}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y5 \leq -1.7 \cdot 10^{+16}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y5 \leq 1.35 \cdot 10^{-163}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y5 \leq 3.4 \cdot 10^{+21}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot a\right) \cdot y5\\ \end{array} \]
                                                                                                              10. Add Preprocessing

                                                                                                              Alternative 14: 31.7% accurate, 4.2× speedup?

                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{if}\;y5 \leq -1.52 \cdot 10^{+109}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq -1.7 \cdot 10^{+16}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y5 \leq 1.35 \cdot 10^{-163}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y5 \leq 2.3 \cdot 10^{+57}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                               :precision binary64
                                                                                                               (let* ((t_1 (* (* (fma (- k) y0 (* a t)) y5) y2)))
                                                                                                                 (if (<= y5 -1.52e+109)
                                                                                                                   t_1
                                                                                                                   (if (<= y5 -1.7e+16)
                                                                                                                     (* (fma (- y3) y4 (* i x)) (* y1 j))
                                                                                                                     (if (<= y5 1.35e-163)
                                                                                                                       (* (fma j y4 (* (- a) z)) (* b t))
                                                                                                                       (if (<= y5 2.3e+57) (* (* (fma (- b) k (* y3 c)) y4) y) t_1))))))
                                                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                              	double t_1 = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                                                              	double tmp;
                                                                                                              	if (y5 <= -1.52e+109) {
                                                                                                              		tmp = t_1;
                                                                                                              	} else if (y5 <= -1.7e+16) {
                                                                                                              		tmp = fma(-y3, y4, (i * x)) * (y1 * j);
                                                                                                              	} else if (y5 <= 1.35e-163) {
                                                                                                              		tmp = fma(j, y4, (-a * z)) * (b * t);
                                                                                                              	} else if (y5 <= 2.3e+57) {
                                                                                                              		tmp = (fma(-b, k, (y3 * c)) * y4) * y;
                                                                                                              	} else {
                                                                                                              		tmp = t_1;
                                                                                                              	}
                                                                                                              	return tmp;
                                                                                                              }
                                                                                                              
                                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                              	t_1 = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2)
                                                                                                              	tmp = 0.0
                                                                                                              	if (y5 <= -1.52e+109)
                                                                                                              		tmp = t_1;
                                                                                                              	elseif (y5 <= -1.7e+16)
                                                                                                              		tmp = Float64(fma(Float64(-y3), y4, Float64(i * x)) * Float64(y1 * j));
                                                                                                              	elseif (y5 <= 1.35e-163)
                                                                                                              		tmp = Float64(fma(j, y4, Float64(Float64(-a) * z)) * Float64(b * t));
                                                                                                              	elseif (y5 <= 2.3e+57)
                                                                                                              		tmp = Float64(Float64(fma(Float64(-b), k, Float64(y3 * c)) * y4) * y);
                                                                                                              	else
                                                                                                              		tmp = t_1;
                                                                                                              	end
                                                                                                              	return tmp
                                                                                                              end
                                                                                                              
                                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision]}, If[LessEqual[y5, -1.52e+109], t$95$1, If[LessEqual[y5, -1.7e+16], N[(N[((-y3) * y4 + N[(i * x), $MachinePrecision]), $MachinePrecision] * N[(y1 * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.35e-163], N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.3e+57], N[(N[(N[((-b) * k + N[(y3 * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y), $MachinePrecision], t$95$1]]]]]
                                                                                                              
                                                                                                              \begin{array}{l}
                                                                                                              
                                                                                                              \\
                                                                                                              \begin{array}{l}
                                                                                                              t_1 := \left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                                                              \mathbf{if}\;y5 \leq -1.52 \cdot 10^{+109}:\\
                                                                                                              \;\;\;\;t\_1\\
                                                                                                              
                                                                                                              \mathbf{elif}\;y5 \leq -1.7 \cdot 10^{+16}:\\
                                                                                                              \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\
                                                                                                              
                                                                                                              \mathbf{elif}\;y5 \leq 1.35 \cdot 10^{-163}:\\
                                                                                                              \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\
                                                                                                              
                                                                                                              \mathbf{elif}\;y5 \leq 2.3 \cdot 10^{+57}:\\
                                                                                                              \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\
                                                                                                              
                                                                                                              \mathbf{else}:\\
                                                                                                              \;\;\;\;t\_1\\
                                                                                                              
                                                                                                              
                                                                                                              \end{array}
                                                                                                              \end{array}
                                                                                                              
                                                                                                              Derivation
                                                                                                              1. Split input into 4 regimes
                                                                                                              2. if y5 < -1.52000000000000003e109 or 2.2999999999999999e57 < y5

                                                                                                                1. Initial program 26.1%

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

                                                                                                                  \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                4. Step-by-step derivation
                                                                                                                  1. *-commutativeN/A

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

                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                5. Applied rewrites60.6%

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

                                                                                                                  \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
                                                                                                                7. Step-by-step derivation
                                                                                                                  1. Applied rewrites47.8%

                                                                                                                    \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-k, y0, a \cdot t\right)\right)} \]

                                                                                                                  if -1.52000000000000003e109 < y5 < -1.7e16

                                                                                                                  1. Initial program 20.0%

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

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

                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                    2. lower-*.f64N/A

                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                  5. Applied rewrites60.6%

                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                                                  6. Taylor expanded in j around inf

                                                                                                                    \[\leadsto j \cdot \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(y3 \cdot y4\right) + i \cdot x\right)\right)} \]
                                                                                                                  7. Step-by-step derivation
                                                                                                                    1. Applied rewrites68.7%

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

                                                                                                                    if -1.7e16 < y5 < 1.35000000000000007e-163

                                                                                                                    1. Initial program 37.9%

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

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

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

                                                                                                                        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                    5. Applied rewrites48.6%

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

                                                                                                                      \[\leadsto b \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(a \cdot z\right) + j \cdot y4\right)\right)} \]
                                                                                                                    7. Step-by-step derivation
                                                                                                                      1. Applied rewrites42.7%

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

                                                                                                                      if 1.35000000000000007e-163 < y5 < 2.2999999999999999e57

                                                                                                                      1. Initial program 28.0%

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

                                                                                                                        \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                      4. Step-by-step derivation
                                                                                                                        1. *-commutativeN/A

                                                                                                                          \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                        2. lower-*.f64N/A

                                                                                                                          \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                      5. Applied rewrites52.4%

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

                                                                                                                        \[\leadsto b \cdot \color{blue}{\left(y4 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
                                                                                                                      7. Step-by-step derivation
                                                                                                                        1. Applied rewrites31.4%

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

                                                                                                                          \[\leadsto y \cdot \color{blue}{\left(y4 \cdot \left(-1 \cdot \left(b \cdot k\right) + c \cdot y3\right)\right)} \]
                                                                                                                        3. Step-by-step derivation
                                                                                                                          1. Applied rewrites45.2%

                                                                                                                            \[\leadsto y \cdot \color{blue}{\left(y4 \cdot \mathsf{fma}\left(-b, k, c \cdot y3\right)\right)} \]
                                                                                                                        4. Recombined 4 regimes into one program.
                                                                                                                        5. Final simplification47.8%

                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1.52 \cdot 10^{+109}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y5 \leq -1.7 \cdot 10^{+16}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y5 \leq 1.35 \cdot 10^{-163}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y5 \leq 2.3 \cdot 10^{+57}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \end{array} \]
                                                                                                                        6. Add Preprocessing

                                                                                                                        Alternative 15: 31.8% accurate, 4.2× speedup?

                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{if}\;y1 \leq -3.2 \cdot 10^{+15}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y1 \leq -5.5 \cdot 10^{-188}:\\ \;\;\;\;\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot \left(y5 \cdot t\right)\\ \mathbf{elif}\;y1 \leq 1.3 \cdot 10^{-257}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y1 \leq 9.2 \cdot 10^{+79}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                         :precision binary64
                                                                                                                         (let* ((t_1 (* (fma (- y3) y4 (* i x)) (* y1 j))))
                                                                                                                           (if (<= y1 -3.2e+15)
                                                                                                                             t_1
                                                                                                                             (if (<= y1 -5.5e-188)
                                                                                                                               (* (fma (- i) j (* y2 a)) (* y5 t))
                                                                                                                               (if (<= y1 1.3e-257)
                                                                                                                                 (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                                                                                 (if (<= y1 9.2e+79) (* (* (fma (- i) t (* y3 y0)) y5) j) t_1))))))
                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                        	double t_1 = fma(-y3, y4, (i * x)) * (y1 * j);
                                                                                                                        	double tmp;
                                                                                                                        	if (y1 <= -3.2e+15) {
                                                                                                                        		tmp = t_1;
                                                                                                                        	} else if (y1 <= -5.5e-188) {
                                                                                                                        		tmp = fma(-i, j, (y2 * a)) * (y5 * t);
                                                                                                                        	} else if (y1 <= 1.3e-257) {
                                                                                                                        		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                                                                        	} else if (y1 <= 9.2e+79) {
                                                                                                                        		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                                                                                                                        	} else {
                                                                                                                        		tmp = t_1;
                                                                                                                        	}
                                                                                                                        	return tmp;
                                                                                                                        }
                                                                                                                        
                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                        	t_1 = Float64(fma(Float64(-y3), y4, Float64(i * x)) * Float64(y1 * j))
                                                                                                                        	tmp = 0.0
                                                                                                                        	if (y1 <= -3.2e+15)
                                                                                                                        		tmp = t_1;
                                                                                                                        	elseif (y1 <= -5.5e-188)
                                                                                                                        		tmp = Float64(fma(Float64(-i), j, Float64(y2 * a)) * Float64(y5 * t));
                                                                                                                        	elseif (y1 <= 1.3e-257)
                                                                                                                        		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                                                                                        	elseif (y1 <= 9.2e+79)
                                                                                                                        		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                                                                                                                        	else
                                                                                                                        		tmp = t_1;
                                                                                                                        	end
                                                                                                                        	return tmp
                                                                                                                        end
                                                                                                                        
                                                                                                                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[((-y3) * y4 + N[(i * x), $MachinePrecision]), $MachinePrecision] * N[(y1 * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -3.2e+15], t$95$1, If[LessEqual[y1, -5.5e-188], N[(N[((-i) * j + N[(y2 * a), $MachinePrecision]), $MachinePrecision] * N[(y5 * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.3e-257], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y1, 9.2e+79], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], t$95$1]]]]]
                                                                                                                        
                                                                                                                        \begin{array}{l}
                                                                                                                        
                                                                                                                        \\
                                                                                                                        \begin{array}{l}
                                                                                                                        t_1 := \mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\
                                                                                                                        \mathbf{if}\;y1 \leq -3.2 \cdot 10^{+15}:\\
                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y1 \leq -5.5 \cdot 10^{-188}:\\
                                                                                                                        \;\;\;\;\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot \left(y5 \cdot t\right)\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y1 \leq 1.3 \cdot 10^{-257}:\\
                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y1 \leq 9.2 \cdot 10^{+79}:\\
                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                                                                                                                        
                                                                                                                        \mathbf{else}:\\
                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                        
                                                                                                                        
                                                                                                                        \end{array}
                                                                                                                        \end{array}
                                                                                                                        
                                                                                                                        Derivation
                                                                                                                        1. Split input into 4 regimes
                                                                                                                        2. if y1 < -3.2e15 or 9.2000000000000002e79 < y1

                                                                                                                          1. Initial program 18.0%

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

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

                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                            2. lower-*.f64N/A

                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                          5. Applied rewrites55.8%

                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                                                          6. Taylor expanded in j around inf

                                                                                                                            \[\leadsto j \cdot \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(y3 \cdot y4\right) + i \cdot x\right)\right)} \]
                                                                                                                          7. Step-by-step derivation
                                                                                                                            1. Applied rewrites48.8%

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

                                                                                                                            if -3.2e15 < y1 < -5.5000000000000002e-188

                                                                                                                            1. Initial program 26.4%

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

                                                                                                                              \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                            4. Step-by-step derivation
                                                                                                                              1. *-commutativeN/A

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

                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                            5. Applied rewrites40.0%

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

                                                                                                                              \[\leadsto t \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot j\right) + a \cdot y2\right)\right)} \]
                                                                                                                            7. Step-by-step derivation
                                                                                                                              1. Applied rewrites48.0%

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

                                                                                                                              if -5.5000000000000002e-188 < y1 < 1.3e-257

                                                                                                                              1. Initial program 50.3%

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

                                                                                                                                \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                              4. Step-by-step derivation
                                                                                                                                1. *-commutativeN/A

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

                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                              5. Applied rewrites39.3%

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

                                                                                                                                \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
                                                                                                                              7. Step-by-step derivation
                                                                                                                                1. Applied rewrites47.9%

                                                                                                                                  \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-k, y0, a \cdot t\right)\right)} \]

                                                                                                                                if 1.3e-257 < y1 < 9.2000000000000002e79

                                                                                                                                1. Initial program 40.2%

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

                                                                                                                                  \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                4. Step-by-step derivation
                                                                                                                                  1. *-commutativeN/A

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

                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                5. Applied rewrites37.4%

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

                                                                                                                                  \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)} \]
                                                                                                                                7. Step-by-step derivation
                                                                                                                                  1. Applied rewrites33.3%

                                                                                                                                    \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-i, t, y0 \cdot y3\right)\right)} \]
                                                                                                                                8. Recombined 4 regimes into one program.
                                                                                                                                9. Final simplification44.6%

                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -3.2 \cdot 10^{+15}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y1 \leq -5.5 \cdot 10^{-188}:\\ \;\;\;\;\mathsf{fma}\left(-i, j, y2 \cdot a\right) \cdot \left(y5 \cdot t\right)\\ \mathbf{elif}\;y1 \leq 1.3 \cdot 10^{-257}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y1 \leq 9.2 \cdot 10^{+79}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \end{array} \]
                                                                                                                                10. Add Preprocessing

                                                                                                                                Alternative 16: 22.2% accurate, 5.6× speedup?

                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \mathbf{if}\;j \leq -1.6 \cdot 10^{-49}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 3.1 \cdot 10^{+21}:\\ \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;j \leq 4.2 \cdot 10^{+125}:\\ \;\;\;\;\left(\left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                 :precision binary64
                                                                                                                                 (let* ((t_1 (* (* (* j t) y4) b)))
                                                                                                                                   (if (<= j -1.6e-49)
                                                                                                                                     t_1
                                                                                                                                     (if (<= j 3.1e+21)
                                                                                                                                       (* (* (* y2 y1) k) y4)
                                                                                                                                       (if (<= j 4.2e+125) (* (* (- y) k) (* y4 b)) t_1)))))
                                                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                	double t_1 = ((j * t) * y4) * b;
                                                                                                                                	double tmp;
                                                                                                                                	if (j <= -1.6e-49) {
                                                                                                                                		tmp = t_1;
                                                                                                                                	} else if (j <= 3.1e+21) {
                                                                                                                                		tmp = ((y2 * y1) * k) * y4;
                                                                                                                                	} else if (j <= 4.2e+125) {
                                                                                                                                		tmp = (-y * k) * (y4 * b);
                                                                                                                                	} else {
                                                                                                                                		tmp = t_1;
                                                                                                                                	}
                                                                                                                                	return tmp;
                                                                                                                                }
                                                                                                                                
                                                                                                                                real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                    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), intent (in) :: k
                                                                                                                                    real(8), intent (in) :: y0
                                                                                                                                    real(8), intent (in) :: y1
                                                                                                                                    real(8), intent (in) :: y2
                                                                                                                                    real(8), intent (in) :: y3
                                                                                                                                    real(8), intent (in) :: y4
                                                                                                                                    real(8), intent (in) :: y5
                                                                                                                                    real(8) :: t_1
                                                                                                                                    real(8) :: tmp
                                                                                                                                    t_1 = ((j * t) * y4) * b
                                                                                                                                    if (j <= (-1.6d-49)) then
                                                                                                                                        tmp = t_1
                                                                                                                                    else if (j <= 3.1d+21) then
                                                                                                                                        tmp = ((y2 * y1) * k) * y4
                                                                                                                                    else if (j <= 4.2d+125) then
                                                                                                                                        tmp = (-y * k) * (y4 * b)
                                                                                                                                    else
                                                                                                                                        tmp = t_1
                                                                                                                                    end if
                                                                                                                                    code = tmp
                                                                                                                                end function
                                                                                                                                
                                                                                                                                public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                	double t_1 = ((j * t) * y4) * b;
                                                                                                                                	double tmp;
                                                                                                                                	if (j <= -1.6e-49) {
                                                                                                                                		tmp = t_1;
                                                                                                                                	} else if (j <= 3.1e+21) {
                                                                                                                                		tmp = ((y2 * y1) * k) * y4;
                                                                                                                                	} else if (j <= 4.2e+125) {
                                                                                                                                		tmp = (-y * k) * (y4 * b);
                                                                                                                                	} else {
                                                                                                                                		tmp = t_1;
                                                                                                                                	}
                                                                                                                                	return tmp;
                                                                                                                                }
                                                                                                                                
                                                                                                                                def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                	t_1 = ((j * t) * y4) * b
                                                                                                                                	tmp = 0
                                                                                                                                	if j <= -1.6e-49:
                                                                                                                                		tmp = t_1
                                                                                                                                	elif j <= 3.1e+21:
                                                                                                                                		tmp = ((y2 * y1) * k) * y4
                                                                                                                                	elif j <= 4.2e+125:
                                                                                                                                		tmp = (-y * k) * (y4 * b)
                                                                                                                                	else:
                                                                                                                                		tmp = t_1
                                                                                                                                	return tmp
                                                                                                                                
                                                                                                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                	t_1 = Float64(Float64(Float64(j * t) * y4) * b)
                                                                                                                                	tmp = 0.0
                                                                                                                                	if (j <= -1.6e-49)
                                                                                                                                		tmp = t_1;
                                                                                                                                	elseif (j <= 3.1e+21)
                                                                                                                                		tmp = Float64(Float64(Float64(y2 * y1) * k) * y4);
                                                                                                                                	elseif (j <= 4.2e+125)
                                                                                                                                		tmp = Float64(Float64(Float64(-y) * k) * Float64(y4 * b));
                                                                                                                                	else
                                                                                                                                		tmp = t_1;
                                                                                                                                	end
                                                                                                                                	return tmp
                                                                                                                                end
                                                                                                                                
                                                                                                                                function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                	t_1 = ((j * t) * y4) * b;
                                                                                                                                	tmp = 0.0;
                                                                                                                                	if (j <= -1.6e-49)
                                                                                                                                		tmp = t_1;
                                                                                                                                	elseif (j <= 3.1e+21)
                                                                                                                                		tmp = ((y2 * y1) * k) * y4;
                                                                                                                                	elseif (j <= 4.2e+125)
                                                                                                                                		tmp = (-y * k) * (y4 * b);
                                                                                                                                	else
                                                                                                                                		tmp = t_1;
                                                                                                                                	end
                                                                                                                                	tmp_2 = tmp;
                                                                                                                                end
                                                                                                                                
                                                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(j * t), $MachinePrecision] * y4), $MachinePrecision] * b), $MachinePrecision]}, If[LessEqual[j, -1.6e-49], t$95$1, If[LessEqual[j, 3.1e+21], N[(N[(N[(y2 * y1), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[j, 4.2e+125], N[(N[((-y) * k), $MachinePrecision] * N[(y4 * b), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                                                                                                                                
                                                                                                                                \begin{array}{l}
                                                                                                                                
                                                                                                                                \\
                                                                                                                                \begin{array}{l}
                                                                                                                                t_1 := \left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\
                                                                                                                                \mathbf{if}\;j \leq -1.6 \cdot 10^{-49}:\\
                                                                                                                                \;\;\;\;t\_1\\
                                                                                                                                
                                                                                                                                \mathbf{elif}\;j \leq 3.1 \cdot 10^{+21}:\\
                                                                                                                                \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\
                                                                                                                                
                                                                                                                                \mathbf{elif}\;j \leq 4.2 \cdot 10^{+125}:\\
                                                                                                                                \;\;\;\;\left(\left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\
                                                                                                                                
                                                                                                                                \mathbf{else}:\\
                                                                                                                                \;\;\;\;t\_1\\
                                                                                                                                
                                                                                                                                
                                                                                                                                \end{array}
                                                                                                                                \end{array}
                                                                                                                                
                                                                                                                                Derivation
                                                                                                                                1. Split input into 3 regimes
                                                                                                                                2. if j < -1.60000000000000001e-49 or 4.2000000000000001e125 < j

                                                                                                                                  1. Initial program 27.5%

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

                                                                                                                                    \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                  4. Step-by-step derivation
                                                                                                                                    1. *-commutativeN/A

                                                                                                                                      \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                    2. lower-*.f64N/A

                                                                                                                                      \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                  5. Applied rewrites46.6%

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

                                                                                                                                    \[\leadsto b \cdot \color{blue}{\left(y4 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
                                                                                                                                  7. Step-by-step derivation
                                                                                                                                    1. Applied rewrites38.6%

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

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

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

                                                                                                                                      if -1.60000000000000001e-49 < j < 3.1e21

                                                                                                                                      1. Initial program 31.6%

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

                                                                                                                                        \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                      4. Step-by-step derivation
                                                                                                                                        1. *-commutativeN/A

                                                                                                                                          \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                        2. lower-*.f64N/A

                                                                                                                                          \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                      5. Applied rewrites43.7%

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

                                                                                                                                        \[\leadsto \left(k \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right) \cdot y4 \]
                                                                                                                                      7. Step-by-step derivation
                                                                                                                                        1. Applied rewrites33.5%

                                                                                                                                          \[\leadsto \left(k \cdot \mathsf{fma}\left(-b, y, y1 \cdot y2\right)\right) \cdot y4 \]
                                                                                                                                        2. Taylor expanded in b around 0

                                                                                                                                          \[\leadsto \left(k \cdot \left(y1 \cdot y2\right)\right) \cdot y4 \]
                                                                                                                                        3. Step-by-step derivation
                                                                                                                                          1. Applied rewrites26.7%

                                                                                                                                            \[\leadsto \left(k \cdot \left(y1 \cdot y2\right)\right) \cdot y4 \]

                                                                                                                                          if 3.1e21 < j < 4.2000000000000001e125

                                                                                                                                          1. Initial program 28.4%

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

                                                                                                                                            \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                          4. Step-by-step derivation
                                                                                                                                            1. *-commutativeN/A

                                                                                                                                              \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                            2. lower-*.f64N/A

                                                                                                                                              \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                          5. Applied rewrites40.6%

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

                                                                                                                                            \[\leadsto b \cdot \color{blue}{\left(y4 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
                                                                                                                                          7. Step-by-step derivation
                                                                                                                                            1. Applied rewrites37.2%

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

                                                                                                                                              \[\leadsto \left(b \cdot y4\right) \cdot \left(-1 \cdot \left(k \cdot \color{blue}{y}\right)\right) \]
                                                                                                                                            3. Step-by-step derivation
                                                                                                                                              1. Applied rewrites38.0%

                                                                                                                                                \[\leadsto \left(b \cdot y4\right) \cdot \left(\left(-k\right) \cdot y\right) \]
                                                                                                                                            4. Recombined 3 regimes into one program.
                                                                                                                                            5. Final simplification34.5%

                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1.6 \cdot 10^{-49}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \mathbf{elif}\;j \leq 3.1 \cdot 10^{+21}:\\ \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;j \leq 4.2 \cdot 10^{+125}:\\ \;\;\;\;\left(\left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \end{array} \]
                                                                                                                                            6. Add Preprocessing

                                                                                                                                            Alternative 17: 29.3% accurate, 5.6× speedup?

                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -4.4 \cdot 10^{+87}:\\ \;\;\;\;\mathsf{fma}\left(i, k, \left(-a\right) \cdot y3\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{elif}\;y \leq -3.3 \cdot 10^{-306}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \end{array} \end{array} \]
                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                             :precision binary64
                                                                                                                                             (if (<= y -4.4e+87)
                                                                                                                                               (* (fma i k (* (- a) y3)) (* y5 y))
                                                                                                                                               (if (<= y -3.3e-306)
                                                                                                                                                 (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                                                                                                 (* (* (fma (- i) t (* y3 y0)) y5) j))))
                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                            	double tmp;
                                                                                                                                            	if (y <= -4.4e+87) {
                                                                                                                                            		tmp = fma(i, k, (-a * y3)) * (y5 * y);
                                                                                                                                            	} else if (y <= -3.3e-306) {
                                                                                                                                            		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                                                                                            	} else {
                                                                                                                                            		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                                                                                                                                            	}
                                                                                                                                            	return tmp;
                                                                                                                                            }
                                                                                                                                            
                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                            	tmp = 0.0
                                                                                                                                            	if (y <= -4.4e+87)
                                                                                                                                            		tmp = Float64(fma(i, k, Float64(Float64(-a) * y3)) * Float64(y5 * y));
                                                                                                                                            	elseif (y <= -3.3e-306)
                                                                                                                                            		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                                                                                                            	else
                                                                                                                                            		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                                                                                                                                            	end
                                                                                                                                            	return tmp
                                                                                                                                            end
                                                                                                                                            
                                                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -4.4e+87], N[(N[(i * k + N[((-a) * y3), $MachinePrecision]), $MachinePrecision] * N[(y5 * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -3.3e-306], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision]]]
                                                                                                                                            
                                                                                                                                            \begin{array}{l}
                                                                                                                                            
                                                                                                                                            \\
                                                                                                                                            \begin{array}{l}
                                                                                                                                            \mathbf{if}\;y \leq -4.4 \cdot 10^{+87}:\\
                                                                                                                                            \;\;\;\;\mathsf{fma}\left(i, k, \left(-a\right) \cdot y3\right) \cdot \left(y5 \cdot y\right)\\
                                                                                                                                            
                                                                                                                                            \mathbf{elif}\;y \leq -3.3 \cdot 10^{-306}:\\
                                                                                                                                            \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                                                                                            
                                                                                                                                            \mathbf{else}:\\
                                                                                                                                            \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                                                                                                                                            
                                                                                                                                            
                                                                                                                                            \end{array}
                                                                                                                                            \end{array}
                                                                                                                                            
                                                                                                                                            Derivation
                                                                                                                                            1. Split input into 3 regimes
                                                                                                                                            2. if y < -4.4000000000000002e87

                                                                                                                                              1. Initial program 21.4%

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

                                                                                                                                                \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                1. *-commutativeN/A

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

                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                              5. Applied rewrites51.8%

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

                                                                                                                                                \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)} \]
                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                1. Applied rewrites18.2%

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

                                                                                                                                                  \[\leadsto y \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(a \cdot y3\right) + i \cdot k\right)\right)} \]
                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                  1. Applied rewrites55.7%

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

                                                                                                                                                  if -4.4000000000000002e87 < y < -3.3000000000000001e-306

                                                                                                                                                  1. Initial program 30.1%

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

                                                                                                                                                    \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                    1. *-commutativeN/A

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

                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                  5. Applied rewrites33.4%

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

                                                                                                                                                    \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                    1. Applied rewrites35.8%

                                                                                                                                                      \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-k, y0, a \cdot t\right)\right)} \]

                                                                                                                                                    if -3.3000000000000001e-306 < y

                                                                                                                                                    1. Initial program 31.5%

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

                                                                                                                                                      \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                      1. *-commutativeN/A

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

                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                    5. Applied rewrites38.8%

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

                                                                                                                                                      \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)} \]
                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                      1. Applied rewrites37.7%

                                                                                                                                                        \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-i, t, y0 \cdot y3\right)\right)} \]
                                                                                                                                                    8. Recombined 3 regimes into one program.
                                                                                                                                                    9. Final simplification40.1%

                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -4.4 \cdot 10^{+87}:\\ \;\;\;\;\mathsf{fma}\left(i, k, \left(-a\right) \cdot y3\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{elif}\;y \leq -3.3 \cdot 10^{-306}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \end{array} \]
                                                                                                                                                    10. Add Preprocessing

                                                                                                                                                    Alternative 18: 28.3% accurate, 5.6× speedup?

                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;k \leq -8 \cdot 10^{+88}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;k \leq -1.55 \cdot 10^{+19}:\\ \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \end{array} \end{array} \]
                                                                                                                                                    (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                     :precision binary64
                                                                                                                                                     (if (<= k -8e+88)
                                                                                                                                                       (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                                                                                                       (if (<= k -1.55e+19)
                                                                                                                                                         (* (* (* y2 y1) k) y4)
                                                                                                                                                         (* (* (fma (- i) t (* y3 y0)) y5) j))))
                                                                                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                    	double tmp;
                                                                                                                                                    	if (k <= -8e+88) {
                                                                                                                                                    		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                                                                                                    	} else if (k <= -1.55e+19) {
                                                                                                                                                    		tmp = ((y2 * y1) * k) * y4;
                                                                                                                                                    	} else {
                                                                                                                                                    		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                                                                                                                                                    	}
                                                                                                                                                    	return tmp;
                                                                                                                                                    }
                                                                                                                                                    
                                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                    	tmp = 0.0
                                                                                                                                                    	if (k <= -8e+88)
                                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                                                                                                                    	elseif (k <= -1.55e+19)
                                                                                                                                                    		tmp = Float64(Float64(Float64(y2 * y1) * k) * y4);
                                                                                                                                                    	else
                                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                                                                                                                                                    	end
                                                                                                                                                    	return tmp
                                                                                                                                                    end
                                                                                                                                                    
                                                                                                                                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[k, -8e+88], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[k, -1.55e+19], N[(N[(N[(y2 * y1), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision]]]
                                                                                                                                                    
                                                                                                                                                    \begin{array}{l}
                                                                                                                                                    
                                                                                                                                                    \\
                                                                                                                                                    \begin{array}{l}
                                                                                                                                                    \mathbf{if}\;k \leq -8 \cdot 10^{+88}:\\
                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{elif}\;k \leq -1.55 \cdot 10^{+19}:\\
                                                                                                                                                    \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                                                                                                                                                    
                                                                                                                                                    
                                                                                                                                                    \end{array}
                                                                                                                                                    \end{array}
                                                                                                                                                    
                                                                                                                                                    Derivation
                                                                                                                                                    1. Split input into 3 regimes
                                                                                                                                                    2. if k < -7.99999999999999968e88

                                                                                                                                                      1. Initial program 26.1%

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

                                                                                                                                                        \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                        1. *-commutativeN/A

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

                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                      5. Applied rewrites40.1%

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

                                                                                                                                                        \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(k \cdot y0\right) + a \cdot t\right)\right)} \]
                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                        1. Applied rewrites55.6%

                                                                                                                                                          \[\leadsto y2 \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-k, y0, a \cdot t\right)\right)} \]

                                                                                                                                                        if -7.99999999999999968e88 < k < -1.55e19

                                                                                                                                                        1. Initial program 25.0%

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

                                                                                                                                                          \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                          2. lower-*.f64N/A

                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                        5. Applied rewrites68.9%

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

                                                                                                                                                          \[\leadsto \left(k \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right) \cdot y4 \]
                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                          1. Applied rewrites56.6%

                                                                                                                                                            \[\leadsto \left(k \cdot \mathsf{fma}\left(-b, y, y1 \cdot y2\right)\right) \cdot y4 \]
                                                                                                                                                          2. Taylor expanded in b around 0

                                                                                                                                                            \[\leadsto \left(k \cdot \left(y1 \cdot y2\right)\right) \cdot y4 \]
                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                            1. Applied rewrites62.9%

                                                                                                                                                              \[\leadsto \left(k \cdot \left(y1 \cdot y2\right)\right) \cdot y4 \]

                                                                                                                                                            if -1.55e19 < k

                                                                                                                                                            1. Initial program 30.8%

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

                                                                                                                                                              \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                              1. *-commutativeN/A

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

                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                            5. Applied rewrites40.7%

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

                                                                                                                                                              \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)} \]
                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                              1. Applied rewrites31.0%

                                                                                                                                                                \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-i, t, y0 \cdot y3\right)\right)} \]
                                                                                                                                                            8. Recombined 3 regimes into one program.
                                                                                                                                                            9. Final simplification38.6%

                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;k \leq -8 \cdot 10^{+88}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;k \leq -1.55 \cdot 10^{+19}:\\ \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \end{array} \]
                                                                                                                                                            10. Add Preprocessing

                                                                                                                                                            Alternative 19: 29.9% accurate, 5.6× speedup?

                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y4 \leq -2.8 \cdot 10^{+154}:\\ \;\;\;\;\left(\left(\left(-y3\right) \cdot y4\right) \cdot j\right) \cdot y1\\ \mathbf{elif}\;y4 \leq 1.8 \cdot 10^{+217}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \end{array} \end{array} \]
                                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                             :precision binary64
                                                                                                                                                             (if (<= y4 -2.8e+154)
                                                                                                                                                               (* (* (* (- y3) y4) j) y1)
                                                                                                                                                               (if (<= y4 1.8e+217)
                                                                                                                                                                 (* (* (fma (- i) t (* y3 y0)) y5) j)
                                                                                                                                                                 (* (* (* j t) y4) b))))
                                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                            	double tmp;
                                                                                                                                                            	if (y4 <= -2.8e+154) {
                                                                                                                                                            		tmp = ((-y3 * y4) * j) * y1;
                                                                                                                                                            	} else if (y4 <= 1.8e+217) {
                                                                                                                                                            		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                                                                                                                                                            	} else {
                                                                                                                                                            		tmp = ((j * t) * y4) * b;
                                                                                                                                                            	}
                                                                                                                                                            	return tmp;
                                                                                                                                                            }
                                                                                                                                                            
                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                            	tmp = 0.0
                                                                                                                                                            	if (y4 <= -2.8e+154)
                                                                                                                                                            		tmp = Float64(Float64(Float64(Float64(-y3) * y4) * j) * y1);
                                                                                                                                                            	elseif (y4 <= 1.8e+217)
                                                                                                                                                            		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                                                                                                                                                            	else
                                                                                                                                                            		tmp = Float64(Float64(Float64(j * t) * y4) * b);
                                                                                                                                                            	end
                                                                                                                                                            	return tmp
                                                                                                                                                            end
                                                                                                                                                            
                                                                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y4, -2.8e+154], N[(N[(N[((-y3) * y4), $MachinePrecision] * j), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y4, 1.8e+217], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], N[(N[(N[(j * t), $MachinePrecision] * y4), $MachinePrecision] * b), $MachinePrecision]]]
                                                                                                                                                            
                                                                                                                                                            \begin{array}{l}
                                                                                                                                                            
                                                                                                                                                            \\
                                                                                                                                                            \begin{array}{l}
                                                                                                                                                            \mathbf{if}\;y4 \leq -2.8 \cdot 10^{+154}:\\
                                                                                                                                                            \;\;\;\;\left(\left(\left(-y3\right) \cdot y4\right) \cdot j\right) \cdot y1\\
                                                                                                                                                            
                                                                                                                                                            \mathbf{elif}\;y4 \leq 1.8 \cdot 10^{+217}:\\
                                                                                                                                                            \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                                                                                                                                                            
                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                            \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\
                                                                                                                                                            
                                                                                                                                                            
                                                                                                                                                            \end{array}
                                                                                                                                                            \end{array}
                                                                                                                                                            
                                                                                                                                                            Derivation
                                                                                                                                                            1. Split input into 3 regimes
                                                                                                                                                            2. if y4 < -2.7999999999999999e154

                                                                                                                                                              1. Initial program 14.7%

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

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

                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                                2. lower-*.f64N/A

                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                                                                                                                                              5. Applied rewrites51.8%

                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                                                                                              6. Taylor expanded in y3 around inf

                                                                                                                                                                \[\leadsto \left(y3 \cdot \left(-1 \cdot \left(j \cdot y4\right) + a \cdot z\right)\right) \cdot y1 \]
                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                1. Applied rewrites54.9%

                                                                                                                                                                  \[\leadsto \left(y3 \cdot \mathsf{fma}\left(-j, y4, a \cdot z\right)\right) \cdot y1 \]
                                                                                                                                                                2. Taylor expanded in a around 0

                                                                                                                                                                  \[\leadsto \left(-1 \cdot \left(j \cdot \left(y3 \cdot y4\right)\right)\right) \cdot y1 \]
                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                  1. Applied rewrites46.6%

                                                                                                                                                                    \[\leadsto \left(\left(-j\right) \cdot \left(y3 \cdot y4\right)\right) \cdot y1 \]

                                                                                                                                                                  if -2.7999999999999999e154 < y4 < 1.8000000000000001e217

                                                                                                                                                                  1. Initial program 32.7%

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

                                                                                                                                                                    \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                    1. *-commutativeN/A

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

                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                                  5. Applied rewrites39.4%

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

                                                                                                                                                                    \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)} \]
                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                    1. Applied rewrites33.9%

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

                                                                                                                                                                    if 1.8000000000000001e217 < y4

                                                                                                                                                                    1. Initial program 22.7%

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

                                                                                                                                                                      \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                      1. *-commutativeN/A

                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                      2. lower-*.f64N/A

                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                    5. Applied rewrites77.3%

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

                                                                                                                                                                      \[\leadsto b \cdot \color{blue}{\left(y4 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                      1. Applied rewrites59.4%

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

                                                                                                                                                                        \[\leadsto b \cdot \left(j \cdot \color{blue}{\left(t \cdot y4\right)}\right) \]
                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                        1. Applied rewrites51.0%

                                                                                                                                                                          \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                      4. Recombined 3 regimes into one program.
                                                                                                                                                                      5. Final simplification37.1%

                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -2.8 \cdot 10^{+154}:\\ \;\;\;\;\left(\left(\left(-y3\right) \cdot y4\right) \cdot j\right) \cdot y1\\ \mathbf{elif}\;y4 \leq 1.8 \cdot 10^{+217}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \end{array} \]
                                                                                                                                                                      6. Add Preprocessing

                                                                                                                                                                      Alternative 20: 22.6% accurate, 7.2× speedup?

                                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \mathbf{if}\;j \leq -1.6 \cdot 10^{-49}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 5.8 \cdot 10^{+54}:\\ \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                       :precision binary64
                                                                                                                                                                       (let* ((t_1 (* (* (* j t) y4) b)))
                                                                                                                                                                         (if (<= j -1.6e-49) t_1 (if (<= j 5.8e+54) (* (* (* y2 y1) k) y4) t_1))))
                                                                                                                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                      	double t_1 = ((j * t) * y4) * b;
                                                                                                                                                                      	double tmp;
                                                                                                                                                                      	if (j <= -1.6e-49) {
                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                      	} else if (j <= 5.8e+54) {
                                                                                                                                                                      		tmp = ((y2 * y1) * k) * y4;
                                                                                                                                                                      	} else {
                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                      	}
                                                                                                                                                                      	return tmp;
                                                                                                                                                                      }
                                                                                                                                                                      
                                                                                                                                                                      real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                          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), intent (in) :: k
                                                                                                                                                                          real(8), intent (in) :: y0
                                                                                                                                                                          real(8), intent (in) :: y1
                                                                                                                                                                          real(8), intent (in) :: y2
                                                                                                                                                                          real(8), intent (in) :: y3
                                                                                                                                                                          real(8), intent (in) :: y4
                                                                                                                                                                          real(8), intent (in) :: y5
                                                                                                                                                                          real(8) :: t_1
                                                                                                                                                                          real(8) :: tmp
                                                                                                                                                                          t_1 = ((j * t) * y4) * b
                                                                                                                                                                          if (j <= (-1.6d-49)) then
                                                                                                                                                                              tmp = t_1
                                                                                                                                                                          else if (j <= 5.8d+54) then
                                                                                                                                                                              tmp = ((y2 * y1) * k) * y4
                                                                                                                                                                          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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                      	double t_1 = ((j * t) * y4) * b;
                                                                                                                                                                      	double tmp;
                                                                                                                                                                      	if (j <= -1.6e-49) {
                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                      	} else if (j <= 5.8e+54) {
                                                                                                                                                                      		tmp = ((y2 * y1) * k) * y4;
                                                                                                                                                                      	} else {
                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                      	}
                                                                                                                                                                      	return tmp;
                                                                                                                                                                      }
                                                                                                                                                                      
                                                                                                                                                                      def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                      	t_1 = ((j * t) * y4) * b
                                                                                                                                                                      	tmp = 0
                                                                                                                                                                      	if j <= -1.6e-49:
                                                                                                                                                                      		tmp = t_1
                                                                                                                                                                      	elif j <= 5.8e+54:
                                                                                                                                                                      		tmp = ((y2 * y1) * k) * y4
                                                                                                                                                                      	else:
                                                                                                                                                                      		tmp = t_1
                                                                                                                                                                      	return tmp
                                                                                                                                                                      
                                                                                                                                                                      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                      	t_1 = Float64(Float64(Float64(j * t) * y4) * b)
                                                                                                                                                                      	tmp = 0.0
                                                                                                                                                                      	if (j <= -1.6e-49)
                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                      	elseif (j <= 5.8e+54)
                                                                                                                                                                      		tmp = Float64(Float64(Float64(y2 * y1) * k) * y4);
                                                                                                                                                                      	else
                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                      	end
                                                                                                                                                                      	return tmp
                                                                                                                                                                      end
                                                                                                                                                                      
                                                                                                                                                                      function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                      	t_1 = ((j * t) * y4) * b;
                                                                                                                                                                      	tmp = 0.0;
                                                                                                                                                                      	if (j <= -1.6e-49)
                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                      	elseif (j <= 5.8e+54)
                                                                                                                                                                      		tmp = ((y2 * y1) * k) * y4;
                                                                                                                                                                      	else
                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                      	end
                                                                                                                                                                      	tmp_2 = tmp;
                                                                                                                                                                      end
                                                                                                                                                                      
                                                                                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(j * t), $MachinePrecision] * y4), $MachinePrecision] * b), $MachinePrecision]}, If[LessEqual[j, -1.6e-49], t$95$1, If[LessEqual[j, 5.8e+54], N[(N[(N[(y2 * y1), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], t$95$1]]]
                                                                                                                                                                      
                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                      
                                                                                                                                                                      \\
                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                      t_1 := \left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\
                                                                                                                                                                      \mathbf{if}\;j \leq -1.6 \cdot 10^{-49}:\\
                                                                                                                                                                      \;\;\;\;t\_1\\
                                                                                                                                                                      
                                                                                                                                                                      \mathbf{elif}\;j \leq 5.8 \cdot 10^{+54}:\\
                                                                                                                                                                      \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\
                                                                                                                                                                      
                                                                                                                                                                      \mathbf{else}:\\
                                                                                                                                                                      \;\;\;\;t\_1\\
                                                                                                                                                                      
                                                                                                                                                                      
                                                                                                                                                                      \end{array}
                                                                                                                                                                      \end{array}
                                                                                                                                                                      
                                                                                                                                                                      Derivation
                                                                                                                                                                      1. Split input into 2 regimes
                                                                                                                                                                      2. if j < -1.60000000000000001e-49 or 5.7999999999999997e54 < j

                                                                                                                                                                        1. Initial program 27.0%

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

                                                                                                                                                                          \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                          2. lower-*.f64N/A

                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                        5. Applied rewrites45.9%

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

                                                                                                                                                                          \[\leadsto b \cdot \color{blue}{\left(y4 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                          1. Applied rewrites39.0%

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

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

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

                                                                                                                                                                            if -1.60000000000000001e-49 < j < 5.7999999999999997e54

                                                                                                                                                                            1. Initial program 32.1%

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

                                                                                                                                                                              \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                              1. *-commutativeN/A

                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                              2. lower-*.f64N/A

                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                            5. Applied rewrites43.3%

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

                                                                                                                                                                              \[\leadsto \left(k \cdot \left(-1 \cdot \left(b \cdot y\right) + y1 \cdot y2\right)\right) \cdot y4 \]
                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                              1. Applied rewrites33.8%

                                                                                                                                                                                \[\leadsto \left(k \cdot \mathsf{fma}\left(-b, y, y1 \cdot y2\right)\right) \cdot y4 \]
                                                                                                                                                                              2. Taylor expanded in b around 0

                                                                                                                                                                                \[\leadsto \left(k \cdot \left(y1 \cdot y2\right)\right) \cdot y4 \]
                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                1. Applied rewrites25.9%

                                                                                                                                                                                  \[\leadsto \left(k \cdot \left(y1 \cdot y2\right)\right) \cdot y4 \]
                                                                                                                                                                              4. Recombined 2 regimes into one program.
                                                                                                                                                                              5. Final simplification32.8%

                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -1.6 \cdot 10^{-49}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \mathbf{elif}\;j \leq 5.8 \cdot 10^{+54}:\\ \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \end{array} \]
                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                              Alternative 21: 20.5% accurate, 7.2× speedup?

                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \mathbf{if}\;y0 \leq -5.8 \cdot 10^{+209}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y0 \leq 8.2 \cdot 10^{+24}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                               :precision binary64
                                                                                                                                                                               (let* ((t_1 (* (* (* y5 y3) y0) j)))
                                                                                                                                                                                 (if (<= y0 -5.8e+209) t_1 (if (<= y0 8.2e+24) (* (* (* j x) y1) i) t_1))))
                                                                                                                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                              	double t_1 = ((y5 * y3) * y0) * j;
                                                                                                                                                                              	double tmp;
                                                                                                                                                                              	if (y0 <= -5.8e+209) {
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	} else if (y0 <= 8.2e+24) {
                                                                                                                                                                              		tmp = ((j * x) * y1) * i;
                                                                                                                                                                              	} else {
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	}
                                                                                                                                                                              	return tmp;
                                                                                                                                                                              }
                                                                                                                                                                              
                                                                                                                                                                              real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                  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), intent (in) :: k
                                                                                                                                                                                  real(8), intent (in) :: y0
                                                                                                                                                                                  real(8), intent (in) :: y1
                                                                                                                                                                                  real(8), intent (in) :: y2
                                                                                                                                                                                  real(8), intent (in) :: y3
                                                                                                                                                                                  real(8), intent (in) :: y4
                                                                                                                                                                                  real(8), intent (in) :: y5
                                                                                                                                                                                  real(8) :: t_1
                                                                                                                                                                                  real(8) :: tmp
                                                                                                                                                                                  t_1 = ((y5 * y3) * y0) * j
                                                                                                                                                                                  if (y0 <= (-5.8d+209)) then
                                                                                                                                                                                      tmp = t_1
                                                                                                                                                                                  else if (y0 <= 8.2d+24) then
                                                                                                                                                                                      tmp = ((j * x) * y1) * i
                                                                                                                                                                                  else
                                                                                                                                                                                      tmp = t_1
                                                                                                                                                                                  end if
                                                                                                                                                                                  code = tmp
                                                                                                                                                                              end function
                                                                                                                                                                              
                                                                                                                                                                              public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                              	double t_1 = ((y5 * y3) * y0) * j;
                                                                                                                                                                              	double tmp;
                                                                                                                                                                              	if (y0 <= -5.8e+209) {
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	} else if (y0 <= 8.2e+24) {
                                                                                                                                                                              		tmp = ((j * x) * y1) * i;
                                                                                                                                                                              	} else {
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	}
                                                                                                                                                                              	return tmp;
                                                                                                                                                                              }
                                                                                                                                                                              
                                                                                                                                                                              def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                              	t_1 = ((y5 * y3) * y0) * j
                                                                                                                                                                              	tmp = 0
                                                                                                                                                                              	if y0 <= -5.8e+209:
                                                                                                                                                                              		tmp = t_1
                                                                                                                                                                              	elif y0 <= 8.2e+24:
                                                                                                                                                                              		tmp = ((j * x) * y1) * i
                                                                                                                                                                              	else:
                                                                                                                                                                              		tmp = t_1
                                                                                                                                                                              	return tmp
                                                                                                                                                                              
                                                                                                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                              	t_1 = Float64(Float64(Float64(y5 * y3) * y0) * j)
                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                              	if (y0 <= -5.8e+209)
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	elseif (y0 <= 8.2e+24)
                                                                                                                                                                              		tmp = Float64(Float64(Float64(j * x) * y1) * i);
                                                                                                                                                                              	else
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	end
                                                                                                                                                                              	return tmp
                                                                                                                                                                              end
                                                                                                                                                                              
                                                                                                                                                                              function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                              	t_1 = ((y5 * y3) * y0) * j;
                                                                                                                                                                              	tmp = 0.0;
                                                                                                                                                                              	if (y0 <= -5.8e+209)
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	elseif (y0 <= 8.2e+24)
                                                                                                                                                                              		tmp = ((j * x) * y1) * i;
                                                                                                                                                                              	else
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	end
                                                                                                                                                                              	tmp_2 = tmp;
                                                                                                                                                                              end
                                                                                                                                                                              
                                                                                                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision]}, If[LessEqual[y0, -5.8e+209], t$95$1, If[LessEqual[y0, 8.2e+24], N[(N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision], t$95$1]]]
                                                                                                                                                                              
                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                              
                                                                                                                                                                              \\
                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                              t_1 := \left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
                                                                                                                                                                              \mathbf{if}\;y0 \leq -5.8 \cdot 10^{+209}:\\
                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                              
                                                                                                                                                                              \mathbf{elif}\;y0 \leq 8.2 \cdot 10^{+24}:\\
                                                                                                                                                                              \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                              
                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                              
                                                                                                                                                                              
                                                                                                                                                                              \end{array}
                                                                                                                                                                              \end{array}
                                                                                                                                                                              
                                                                                                                                                                              Derivation
                                                                                                                                                                              1. Split input into 2 regimes
                                                                                                                                                                              2. if y0 < -5.79999999999999999e209 or 8.2000000000000002e24 < y0

                                                                                                                                                                                1. Initial program 22.2%

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

                                                                                                                                                                                  \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                  1. *-commutativeN/A

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

                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                                                5. Applied rewrites45.8%

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

                                                                                                                                                                                  \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)} \]
                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                  1. Applied rewrites40.4%

                                                                                                                                                                                    \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-i, t, y0 \cdot y3\right)\right)} \]
                                                                                                                                                                                  2. Taylor expanded in t around 0

                                                                                                                                                                                    \[\leadsto j \cdot \left(y0 \cdot \left(y3 \cdot \color{blue}{y5}\right)\right) \]
                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                    1. Applied rewrites37.7%

                                                                                                                                                                                      \[\leadsto j \cdot \left(y0 \cdot \left(y3 \cdot \color{blue}{y5}\right)\right) \]

                                                                                                                                                                                    if -5.79999999999999999e209 < y0 < 8.2000000000000002e24

                                                                                                                                                                                    1. Initial program 32.0%

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

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

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

                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
                                                                                                                                                                                    5. Applied rewrites32.3%

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

                                                                                                                                                                                      \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                      1. Applied rewrites22.0%

                                                                                                                                                                                        \[\leadsto -\left(j \cdot x\right) \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \]
                                                                                                                                                                                      2. Taylor expanded in b around 0

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

                                                                                                                                                                                          \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot \color{blue}{y1}\right) \]
                                                                                                                                                                                      4. Recombined 2 regimes into one program.
                                                                                                                                                                                      5. Final simplification26.7%

                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -5.8 \cdot 10^{+209}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \mathbf{elif}\;y0 \leq 8.2 \cdot 10^{+24}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \end{array} \]
                                                                                                                                                                                      6. Add Preprocessing

                                                                                                                                                                                      Alternative 22: 19.3% accurate, 9.2× speedup?

                                                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y1 \leq 1.85 \cdot 10^{+106}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \end{array} \end{array} \]
                                                                                                                                                                                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                       :precision binary64
                                                                                                                                                                                       (if (<= y1 1.85e+106) (* (* (* j t) y4) b) (* (* (* j x) y1) i)))
                                                                                                                                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                      	double tmp;
                                                                                                                                                                                      	if (y1 <= 1.85e+106) {
                                                                                                                                                                                      		tmp = ((j * t) * y4) * b;
                                                                                                                                                                                      	} else {
                                                                                                                                                                                      		tmp = ((j * x) * y1) * i;
                                                                                                                                                                                      	}
                                                                                                                                                                                      	return tmp;
                                                                                                                                                                                      }
                                                                                                                                                                                      
                                                                                                                                                                                      real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                          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), intent (in) :: k
                                                                                                                                                                                          real(8), intent (in) :: y0
                                                                                                                                                                                          real(8), intent (in) :: y1
                                                                                                                                                                                          real(8), intent (in) :: y2
                                                                                                                                                                                          real(8), intent (in) :: y3
                                                                                                                                                                                          real(8), intent (in) :: y4
                                                                                                                                                                                          real(8), intent (in) :: y5
                                                                                                                                                                                          real(8) :: tmp
                                                                                                                                                                                          if (y1 <= 1.85d+106) then
                                                                                                                                                                                              tmp = ((j * t) * y4) * b
                                                                                                                                                                                          else
                                                                                                                                                                                              tmp = ((j * x) * y1) * 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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                      	double tmp;
                                                                                                                                                                                      	if (y1 <= 1.85e+106) {
                                                                                                                                                                                      		tmp = ((j * t) * y4) * b;
                                                                                                                                                                                      	} else {
                                                                                                                                                                                      		tmp = ((j * x) * y1) * i;
                                                                                                                                                                                      	}
                                                                                                                                                                                      	return tmp;
                                                                                                                                                                                      }
                                                                                                                                                                                      
                                                                                                                                                                                      def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                      	tmp = 0
                                                                                                                                                                                      	if y1 <= 1.85e+106:
                                                                                                                                                                                      		tmp = ((j * t) * y4) * b
                                                                                                                                                                                      	else:
                                                                                                                                                                                      		tmp = ((j * x) * y1) * i
                                                                                                                                                                                      	return tmp
                                                                                                                                                                                      
                                                                                                                                                                                      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                      	tmp = 0.0
                                                                                                                                                                                      	if (y1 <= 1.85e+106)
                                                                                                                                                                                      		tmp = Float64(Float64(Float64(j * t) * y4) * b);
                                                                                                                                                                                      	else
                                                                                                                                                                                      		tmp = Float64(Float64(Float64(j * x) * y1) * i);
                                                                                                                                                                                      	end
                                                                                                                                                                                      	return tmp
                                                                                                                                                                                      end
                                                                                                                                                                                      
                                                                                                                                                                                      function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                      	tmp = 0.0;
                                                                                                                                                                                      	if (y1 <= 1.85e+106)
                                                                                                                                                                                      		tmp = ((j * t) * y4) * b;
                                                                                                                                                                                      	else
                                                                                                                                                                                      		tmp = ((j * x) * y1) * i;
                                                                                                                                                                                      	end
                                                                                                                                                                                      	tmp_2 = tmp;
                                                                                                                                                                                      end
                                                                                                                                                                                      
                                                                                                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, 1.85e+106], N[(N[(N[(j * t), $MachinePrecision] * y4), $MachinePrecision] * b), $MachinePrecision], N[(N[(N[(j * x), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision]]
                                                                                                                                                                                      
                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                      
                                                                                                                                                                                      \\
                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                      \mathbf{if}\;y1 \leq 1.85 \cdot 10^{+106}:\\
                                                                                                                                                                                      \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\
                                                                                                                                                                                      
                                                                                                                                                                                      \mathbf{else}:\\
                                                                                                                                                                                      \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                      
                                                                                                                                                                                      
                                                                                                                                                                                      \end{array}
                                                                                                                                                                                      \end{array}
                                                                                                                                                                                      
                                                                                                                                                                                      Derivation
                                                                                                                                                                                      1. Split input into 2 regimes
                                                                                                                                                                                      2. if y1 < 1.84999999999999997e106

                                                                                                                                                                                        1. Initial program 33.6%

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

                                                                                                                                                                                          \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                                          2. lower-*.f64N/A

                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                                        5. Applied rewrites42.2%

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

                                                                                                                                                                                          \[\leadsto b \cdot \color{blue}{\left(y4 \cdot \left(j \cdot t - k \cdot y\right)\right)} \]
                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                          1. Applied rewrites30.6%

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

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

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

                                                                                                                                                                                            if 1.84999999999999997e106 < y1

                                                                                                                                                                                            1. Initial program 15.3%

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

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

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

                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
                                                                                                                                                                                            5. Applied rewrites42.6%

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

                                                                                                                                                                                              \[\leadsto -1 \cdot \color{blue}{\left(j \cdot \left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                              1. Applied rewrites41.5%

                                                                                                                                                                                                \[\leadsto -\left(j \cdot x\right) \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right) \]
                                                                                                                                                                                              2. Taylor expanded in b around 0

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

                                                                                                                                                                                                  \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot \color{blue}{y1}\right) \]
                                                                                                                                                                                              4. Recombined 2 regimes into one program.
                                                                                                                                                                                              5. Final simplification29.0%

                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq 1.85 \cdot 10^{+106}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \end{array} \]
                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                              Alternative 23: 17.1% accurate, 12.6× speedup?

                                                                                                                                                                                              \[\begin{array}{l} \\ \left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j \end{array} \]
                                                                                                                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                               :precision binary64
                                                                                                                                                                                               (* (* (* y5 y3) y0) j))
                                                                                                                                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                              	return ((y5 * y3) * y0) * j;
                                                                                                                                                                                              }
                                                                                                                                                                                              
                                                                                                                                                                                              real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                  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), intent (in) :: k
                                                                                                                                                                                                  real(8), intent (in) :: y0
                                                                                                                                                                                                  real(8), intent (in) :: y1
                                                                                                                                                                                                  real(8), intent (in) :: y2
                                                                                                                                                                                                  real(8), intent (in) :: y3
                                                                                                                                                                                                  real(8), intent (in) :: y4
                                                                                                                                                                                                  real(8), intent (in) :: y5
                                                                                                                                                                                                  code = ((y5 * y3) * y0) * j
                                                                                                                                                                                              end function
                                                                                                                                                                                              
                                                                                                                                                                                              public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                              	return ((y5 * y3) * y0) * j;
                                                                                                                                                                                              }
                                                                                                                                                                                              
                                                                                                                                                                                              def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                              	return ((y5 * y3) * y0) * j
                                                                                                                                                                                              
                                                                                                                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                              	return Float64(Float64(Float64(y5 * y3) * y0) * j)
                                                                                                                                                                                              end
                                                                                                                                                                                              
                                                                                                                                                                                              function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                              	tmp = ((y5 * y3) * y0) * j;
                                                                                                                                                                                              end
                                                                                                                                                                                              
                                                                                                                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision]
                                                                                                                                                                                              
                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                              
                                                                                                                                                                                              \\
                                                                                                                                                                                              \left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j
                                                                                                                                                                                              \end{array}
                                                                                                                                                                                              
                                                                                                                                                                                              Derivation
                                                                                                                                                                                              1. Initial program 29.4%

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

                                                                                                                                                                                                \[\leadsto \color{blue}{y5 \cdot \left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                1. *-commutativeN/A

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

                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                                                                              5. Applied rewrites39.2%

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

                                                                                                                                                                                                \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(i \cdot t\right) + y0 \cdot y3\right)\right)} \]
                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                1. Applied rewrites29.3%

                                                                                                                                                                                                  \[\leadsto j \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(-i, t, y0 \cdot y3\right)\right)} \]
                                                                                                                                                                                                2. Taylor expanded in t around 0

                                                                                                                                                                                                  \[\leadsto j \cdot \left(y0 \cdot \left(y3 \cdot \color{blue}{y5}\right)\right) \]
                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                  1. Applied rewrites17.1%

                                                                                                                                                                                                    \[\leadsto j \cdot \left(y0 \cdot \left(y3 \cdot \color{blue}{y5}\right)\right) \]
                                                                                                                                                                                                  2. Final simplification17.1%

                                                                                                                                                                                                    \[\leadsto \left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j \]
                                                                                                                                                                                                  3. Add Preprocessing

                                                                                                                                                                                                  Developer Target 1: 27.1% accurate, 0.7× speedup?

                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := y4 \cdot c - y5 \cdot a\\ t_2 := x \cdot y2 - z \cdot y3\\ t_3 := y2 \cdot t - y3 \cdot y\\ t_4 := k \cdot y2 - j \cdot y3\\ t_5 := y4 \cdot b - y5 \cdot i\\ t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\ t_7 := b \cdot a - i \cdot c\\ t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\ t_9 := j \cdot x - k \cdot z\\ t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\ t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\ t_12 := y4 \cdot y1 - y5 \cdot y0\\ t_13 := t\_4 \cdot t\_12\\ t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\ t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\ t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\ t_17 := t \cdot y2 - y \cdot y3\\ \mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\ \;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\ \mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\ \;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\ \mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\ \;\;\;\;t\_15\\ \mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\ \;\;\;\;t\_15\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\ \end{array} \end{array} \]
                                                                                                                                                                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                   :precision binary64
                                                                                                                                                                                                   (let* ((t_1 (- (* y4 c) (* y5 a)))
                                                                                                                                                                                                          (t_2 (- (* x y2) (* z y3)))
                                                                                                                                                                                                          (t_3 (- (* y2 t) (* y3 y)))
                                                                                                                                                                                                          (t_4 (- (* k y2) (* j y3)))
                                                                                                                                                                                                          (t_5 (- (* y4 b) (* y5 i)))
                                                                                                                                                                                                          (t_6 (* (- (* j t) (* k y)) t_5))
                                                                                                                                                                                                          (t_7 (- (* b a) (* i c)))
                                                                                                                                                                                                          (t_8 (* t_7 (- (* y x) (* t z))))
                                                                                                                                                                                                          (t_9 (- (* j x) (* k z)))
                                                                                                                                                                                                          (t_10 (* (- (* b y0) (* i y1)) t_9))
                                                                                                                                                                                                          (t_11 (* t_9 (- (* y0 b) (* i y1))))
                                                                                                                                                                                                          (t_12 (- (* y4 y1) (* y5 y0)))
                                                                                                                                                                                                          (t_13 (* t_4 t_12))
                                                                                                                                                                                                          (t_14 (* (- (* y2 k) (* y3 j)) t_12))
                                                                                                                                                                                                          (t_15
                                                                                                                                                                                                           (+
                                                                                                                                                                                                            (-
                                                                                                                                                                                                             (-
                                                                                                                                                                                                              (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
                                                                                                                                                                                                              (* (* y5 t) (* i j)))
                                                                                                                                                                                                             (- (* t_3 t_1) t_14))
                                                                                                                                                                                                            (- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
                                                                                                                                                                                                          (t_16
                                                                                                                                                                                                           (+
                                                                                                                                                                                                            (+
                                                                                                                                                                                                             (- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
                                                                                                                                                                                                             (+ (* (* y5 a) (* t y2)) t_13))
                                                                                                                                                                                                            (-
                                                                                                                                                                                                             (* t_2 (- (* c y0) (* a y1)))
                                                                                                                                                                                                             (- t_10 (* (- (* y x) (* z t)) t_7)))))
                                                                                                                                                                                                          (t_17 (- (* t y2) (* y y3))))
                                                                                                                                                                                                     (if (< y4 -7.206256231996481e+60)
                                                                                                                                                                                                       (- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
                                                                                                                                                                                                       (if (< y4 -3.364603505246317e-66)
                                                                                                                                                                                                         (+
                                                                                                                                                                                                          (-
                                                                                                                                                                                                           (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
                                                                                                                                                                                                           t_10)
                                                                                                                                                                                                          (-
                                                                                                                                                                                                           (* (- (* y0 c) (* a y1)) t_2)
                                                                                                                                                                                                           (- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
                                                                                                                                                                                                         (if (< y4 -1.2000065055686116e-105)
                                                                                                                                                                                                           t_16
                                                                                                                                                                                                           (if (< y4 6.718963124057495e-279)
                                                                                                                                                                                                             t_15
                                                                                                                                                                                                             (if (< y4 4.77962681403792e-222)
                                                                                                                                                                                                               t_16
                                                                                                                                                                                                               (if (< y4 2.2852241541266835e-175)
                                                                                                                                                                                                                 t_15
                                                                                                                                                                                                                 (+
                                                                                                                                                                                                                  (-
                                                                                                                                                                                                                   (+
                                                                                                                                                                                                                    (+
                                                                                                                                                                                                                     (-
                                                                                                                                                                                                                      (* (- (* x y) (* z t)) (- (* a b) (* c i)))
                                                                                                                                                                                                                      (-
                                                                                                                                                                                                                       (* k (* i (* z y1)))
                                                                                                                                                                                                                       (+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
                                                                                                                                                                                                                     (-
                                                                                                                                                                                                                      (* z (* y3 (* a y1)))
                                                                                                                                                                                                                      (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
                                                                                                                                                                                                                    (* (- (* t j) (* y k)) t_5))
                                                                                                                                                                                                                   (* t_17 t_1))
                                                                                                                                                                                                                  t_13)))))))))
                                                                                                                                                                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                  	double t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                  	double t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                  	double t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                  	double t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                  	double t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                  	double t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                  	double t_7 = (b * a) - (i * c);
                                                                                                                                                                                                  	double t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                  	double t_9 = (j * x) - (k * z);
                                                                                                                                                                                                  	double t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                  	double t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                  	double t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                  	double t_13 = t_4 * t_12;
                                                                                                                                                                                                  	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                  	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                  	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                  	double t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                  	if (y4 < -7.206256231996481e+60) {
                                                                                                                                                                                                  		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                  	} else if (y4 < -3.364603505246317e-66) {
                                                                                                                                                                                                  		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                  	} else if (y4 < -1.2000065055686116e-105) {
                                                                                                                                                                                                  		tmp = t_16;
                                                                                                                                                                                                  	} else if (y4 < 6.718963124057495e-279) {
                                                                                                                                                                                                  		tmp = t_15;
                                                                                                                                                                                                  	} else if (y4 < 4.77962681403792e-222) {
                                                                                                                                                                                                  		tmp = t_16;
                                                                                                                                                                                                  	} else if (y4 < 2.2852241541266835e-175) {
                                                                                                                                                                                                  		tmp = t_15;
                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                  		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                  	}
                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                  }
                                                                                                                                                                                                  
                                                                                                                                                                                                  real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                      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), intent (in) :: k
                                                                                                                                                                                                      real(8), intent (in) :: y0
                                                                                                                                                                                                      real(8), intent (in) :: y1
                                                                                                                                                                                                      real(8), intent (in) :: y2
                                                                                                                                                                                                      real(8), intent (in) :: y3
                                                                                                                                                                                                      real(8), intent (in) :: y4
                                                                                                                                                                                                      real(8), intent (in) :: y5
                                                                                                                                                                                                      real(8) :: t_1
                                                                                                                                                                                                      real(8) :: t_10
                                                                                                                                                                                                      real(8) :: t_11
                                                                                                                                                                                                      real(8) :: t_12
                                                                                                                                                                                                      real(8) :: t_13
                                                                                                                                                                                                      real(8) :: t_14
                                                                                                                                                                                                      real(8) :: t_15
                                                                                                                                                                                                      real(8) :: t_16
                                                                                                                                                                                                      real(8) :: t_17
                                                                                                                                                                                                      real(8) :: t_2
                                                                                                                                                                                                      real(8) :: t_3
                                                                                                                                                                                                      real(8) :: t_4
                                                                                                                                                                                                      real(8) :: t_5
                                                                                                                                                                                                      real(8) :: t_6
                                                                                                                                                                                                      real(8) :: t_7
                                                                                                                                                                                                      real(8) :: t_8
                                                                                                                                                                                                      real(8) :: t_9
                                                                                                                                                                                                      real(8) :: tmp
                                                                                                                                                                                                      t_1 = (y4 * c) - (y5 * a)
                                                                                                                                                                                                      t_2 = (x * y2) - (z * y3)
                                                                                                                                                                                                      t_3 = (y2 * t) - (y3 * y)
                                                                                                                                                                                                      t_4 = (k * y2) - (j * y3)
                                                                                                                                                                                                      t_5 = (y4 * b) - (y5 * i)
                                                                                                                                                                                                      t_6 = ((j * t) - (k * y)) * t_5
                                                                                                                                                                                                      t_7 = (b * a) - (i * c)
                                                                                                                                                                                                      t_8 = t_7 * ((y * x) - (t * z))
                                                                                                                                                                                                      t_9 = (j * x) - (k * z)
                                                                                                                                                                                                      t_10 = ((b * y0) - (i * y1)) * t_9
                                                                                                                                                                                                      t_11 = t_9 * ((y0 * b) - (i * y1))
                                                                                                                                                                                                      t_12 = (y4 * y1) - (y5 * y0)
                                                                                                                                                                                                      t_13 = t_4 * t_12
                                                                                                                                                                                                      t_14 = ((y2 * k) - (y3 * j)) * t_12
                                                                                                                                                                                                      t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
                                                                                                                                                                                                      t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
                                                                                                                                                                                                      t_17 = (t * y2) - (y * y3)
                                                                                                                                                                                                      if (y4 < (-7.206256231996481d+60)) then
                                                                                                                                                                                                          tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
                                                                                                                                                                                                      else if (y4 < (-3.364603505246317d-66)) then
                                                                                                                                                                                                          tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
                                                                                                                                                                                                      else if (y4 < (-1.2000065055686116d-105)) then
                                                                                                                                                                                                          tmp = t_16
                                                                                                                                                                                                      else if (y4 < 6.718963124057495d-279) then
                                                                                                                                                                                                          tmp = t_15
                                                                                                                                                                                                      else if (y4 < 4.77962681403792d-222) then
                                                                                                                                                                                                          tmp = t_16
                                                                                                                                                                                                      else if (y4 < 2.2852241541266835d-175) then
                                                                                                                                                                                                          tmp = t_15
                                                                                                                                                                                                      else
                                                                                                                                                                                                          tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
                                                                                                                                                                                                      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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                  	double t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                  	double t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                  	double t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                  	double t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                  	double t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                  	double t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                  	double t_7 = (b * a) - (i * c);
                                                                                                                                                                                                  	double t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                  	double t_9 = (j * x) - (k * z);
                                                                                                                                                                                                  	double t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                  	double t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                  	double t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                  	double t_13 = t_4 * t_12;
                                                                                                                                                                                                  	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                  	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                  	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                  	double t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                  	if (y4 < -7.206256231996481e+60) {
                                                                                                                                                                                                  		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                  	} else if (y4 < -3.364603505246317e-66) {
                                                                                                                                                                                                  		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                  	} else if (y4 < -1.2000065055686116e-105) {
                                                                                                                                                                                                  		tmp = t_16;
                                                                                                                                                                                                  	} else if (y4 < 6.718963124057495e-279) {
                                                                                                                                                                                                  		tmp = t_15;
                                                                                                                                                                                                  	} else if (y4 < 4.77962681403792e-222) {
                                                                                                                                                                                                  		tmp = t_16;
                                                                                                                                                                                                  	} else if (y4 < 2.2852241541266835e-175) {
                                                                                                                                                                                                  		tmp = t_15;
                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                  		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                  	}
                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                  }
                                                                                                                                                                                                  
                                                                                                                                                                                                  def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                  	t_1 = (y4 * c) - (y5 * a)
                                                                                                                                                                                                  	t_2 = (x * y2) - (z * y3)
                                                                                                                                                                                                  	t_3 = (y2 * t) - (y3 * y)
                                                                                                                                                                                                  	t_4 = (k * y2) - (j * y3)
                                                                                                                                                                                                  	t_5 = (y4 * b) - (y5 * i)
                                                                                                                                                                                                  	t_6 = ((j * t) - (k * y)) * t_5
                                                                                                                                                                                                  	t_7 = (b * a) - (i * c)
                                                                                                                                                                                                  	t_8 = t_7 * ((y * x) - (t * z))
                                                                                                                                                                                                  	t_9 = (j * x) - (k * z)
                                                                                                                                                                                                  	t_10 = ((b * y0) - (i * y1)) * t_9
                                                                                                                                                                                                  	t_11 = t_9 * ((y0 * b) - (i * y1))
                                                                                                                                                                                                  	t_12 = (y4 * y1) - (y5 * y0)
                                                                                                                                                                                                  	t_13 = t_4 * t_12
                                                                                                                                                                                                  	t_14 = ((y2 * k) - (y3 * j)) * t_12
                                                                                                                                                                                                  	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
                                                                                                                                                                                                  	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
                                                                                                                                                                                                  	t_17 = (t * y2) - (y * y3)
                                                                                                                                                                                                  	tmp = 0
                                                                                                                                                                                                  	if y4 < -7.206256231996481e+60:
                                                                                                                                                                                                  		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14)
                                                                                                                                                                                                  	elif y4 < -3.364603505246317e-66:
                                                                                                                                                                                                  		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
                                                                                                                                                                                                  	elif y4 < -1.2000065055686116e-105:
                                                                                                                                                                                                  		tmp = t_16
                                                                                                                                                                                                  	elif y4 < 6.718963124057495e-279:
                                                                                                                                                                                                  		tmp = t_15
                                                                                                                                                                                                  	elif y4 < 4.77962681403792e-222:
                                                                                                                                                                                                  		tmp = t_16
                                                                                                                                                                                                  	elif y4 < 2.2852241541266835e-175:
                                                                                                                                                                                                  		tmp = t_15
                                                                                                                                                                                                  	else:
                                                                                                                                                                                                  		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                  
                                                                                                                                                                                                  function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                  	t_1 = Float64(Float64(y4 * c) - Float64(y5 * a))
                                                                                                                                                                                                  	t_2 = Float64(Float64(x * y2) - Float64(z * y3))
                                                                                                                                                                                                  	t_3 = Float64(Float64(y2 * t) - Float64(y3 * y))
                                                                                                                                                                                                  	t_4 = Float64(Float64(k * y2) - Float64(j * y3))
                                                                                                                                                                                                  	t_5 = Float64(Float64(y4 * b) - Float64(y5 * i))
                                                                                                                                                                                                  	t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5)
                                                                                                                                                                                                  	t_7 = Float64(Float64(b * a) - Float64(i * c))
                                                                                                                                                                                                  	t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z)))
                                                                                                                                                                                                  	t_9 = Float64(Float64(j * x) - Float64(k * z))
                                                                                                                                                                                                  	t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9)
                                                                                                                                                                                                  	t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1)))
                                                                                                                                                                                                  	t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0))
                                                                                                                                                                                                  	t_13 = Float64(t_4 * t_12)
                                                                                                                                                                                                  	t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12)
                                                                                                                                                                                                  	t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a))))))
                                                                                                                                                                                                  	t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7))))
                                                                                                                                                                                                  	t_17 = Float64(Float64(t * y2) - Float64(y * y3))
                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                  	if (y4 < -7.206256231996481e+60)
                                                                                                                                                                                                  		tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14));
                                                                                                                                                                                                  	elseif (y4 < -3.364603505246317e-66)
                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4))));
                                                                                                                                                                                                  	elseif (y4 < -1.2000065055686116e-105)
                                                                                                                                                                                                  		tmp = t_16;
                                                                                                                                                                                                  	elseif (y4 < 6.718963124057495e-279)
                                                                                                                                                                                                  		tmp = t_15;
                                                                                                                                                                                                  	elseif (y4 < 4.77962681403792e-222)
                                                                                                                                                                                                  		tmp = t_16;
                                                                                                                                                                                                  	elseif (y4 < 2.2852241541266835e-175)
                                                                                                                                                                                                  		tmp = t_15;
                                                                                                                                                                                                  	else
                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13);
                                                                                                                                                                                                  	end
                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                  end
                                                                                                                                                                                                  
                                                                                                                                                                                                  function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                  	t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                  	t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                  	t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                  	t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                  	t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                  	t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                  	t_7 = (b * a) - (i * c);
                                                                                                                                                                                                  	t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                  	t_9 = (j * x) - (k * z);
                                                                                                                                                                                                  	t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                  	t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                  	t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                  	t_13 = t_4 * t_12;
                                                                                                                                                                                                  	t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                  	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                  	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                  	t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                  	tmp = 0.0;
                                                                                                                                                                                                  	if (y4 < -7.206256231996481e+60)
                                                                                                                                                                                                  		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                  	elseif (y4 < -3.364603505246317e-66)
                                                                                                                                                                                                  		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                  	elseif (y4 < -1.2000065055686116e-105)
                                                                                                                                                                                                  		tmp = t_16;
                                                                                                                                                                                                  	elseif (y4 < 6.718963124057495e-279)
                                                                                                                                                                                                  		tmp = t_15;
                                                                                                                                                                                                  	elseif (y4 < 4.77962681403792e-222)
                                                                                                                                                                                                  		tmp = t_16;
                                                                                                                                                                                                  	elseif (y4 < 2.2852241541266835e-175)
                                                                                                                                                                                                  		tmp = t_15;
                                                                                                                                                                                                  	else
                                                                                                                                                                                                  		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                  	end
                                                                                                                                                                                                  	tmp_2 = tmp;
                                                                                                                                                                                                  end
                                                                                                                                                                                                  
                                                                                                                                                                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
                                                                                                                                                                                                  
                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                  
                                                                                                                                                                                                  \\
                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                  t_1 := y4 \cdot c - y5 \cdot a\\
                                                                                                                                                                                                  t_2 := x \cdot y2 - z \cdot y3\\
                                                                                                                                                                                                  t_3 := y2 \cdot t - y3 \cdot y\\
                                                                                                                                                                                                  t_4 := k \cdot y2 - j \cdot y3\\
                                                                                                                                                                                                  t_5 := y4 \cdot b - y5 \cdot i\\
                                                                                                                                                                                                  t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\
                                                                                                                                                                                                  t_7 := b \cdot a - i \cdot c\\
                                                                                                                                                                                                  t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\
                                                                                                                                                                                                  t_9 := j \cdot x - k \cdot z\\
                                                                                                                                                                                                  t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\
                                                                                                                                                                                                  t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
                                                                                                                                                                                                  t_12 := y4 \cdot y1 - y5 \cdot y0\\
                                                                                                                                                                                                  t_13 := t\_4 \cdot t\_12\\
                                                                                                                                                                                                  t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\
                                                                                                                                                                                                  t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
                                                                                                                                                                                                  t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\
                                                                                                                                                                                                  t_17 := t \cdot y2 - y \cdot y3\\
                                                                                                                                                                                                  \mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
                                                                                                                                                                                                  \;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
                                                                                                                                                                                                  \;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
                                                                                                                                                                                                  \;\;\;\;t\_16\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
                                                                                                                                                                                                  \;\;\;\;t\_15\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
                                                                                                                                                                                                  \;\;\;\;t\_16\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
                                                                                                                                                                                                  \;\;\;\;t\_15\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                  \;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  
                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                  

                                                                                                                                                                                                  Reproduce

                                                                                                                                                                                                  ?
                                                                                                                                                                                                  herbie shell --seed 2024276 
                                                                                                                                                                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                    :name "Linear.Matrix:det44 from linear-1.19.1.3"
                                                                                                                                                                                                    :precision binary64
                                                                                                                                                                                                  
                                                                                                                                                                                                    :alt
                                                                                                                                                                                                    (! :herbie-platform default (if (< y4 -7206256231996481000000000000000000000000000000000000000000000) (- (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))))) (- (/ (- (* y2 t) (* y3 y)) (/ 1 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3364603505246317/1000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x))) (* (- (* b y0) (* i y1)) (- (* j x) (* k z)))) (- (* (- (* y0 c) (* a y1)) (- (* x y2) (* z y3))) (- (* (- (* t y2) (* y y3)) (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) (- (* k y2) (* j y3)))))) (if (< y4 -3000016263921529/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 1343792624811499/200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (if (< y4 29872667587737/6250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 4570448308253367/20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (- (* k (* i (* z y1))) (+ (* j (* i (* x y1))) (* y0 (* k (* z b)))))) (- (* z (* y3 (* a y1))) (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3)))))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))))))))
                                                                                                                                                                                                  
                                                                                                                                                                                                    (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i)))) (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a)))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))