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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\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 - y3 \cdot z\right), 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} \]

    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 - i \cdot c, x, \left(y4 \cdot c - 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(-y5, a, y4 \cdot c\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 (- y5) a (* y4 c)) 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(-y5, a, (y4 * c)) * 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(Float64(-y5), a, Float64(y4 * c)) * 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[((-y5) * a + N[(y4 * c), $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(-y5, a, y4 \cdot c\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 - i \cdot c, x, \left(y4 \cdot c - 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.0%

          \[\leadsto \color{blue}{\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(-y5, a, y4 \cdot c\right) \cdot y3\right) \cdot y\right)} \]
      8. Recombined 2 regimes into one program.
      9. Final simplification59.3%

        \[\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(-y5, a, y4 \cdot c\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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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.9% 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(-y5, a, y4 \cdot c\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 (- y5) a (* y4 c)) 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(-y5, a, (y4 * c)) * 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(Float64(-y5), a, Float64(y4 * c)) * 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[((-y5) * a + N[(y4 * c), $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(-y5, a, y4 \cdot c\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 - i \cdot c\right), 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} \]

        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 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - 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 - i \cdot c, x, \left(y4 \cdot c - 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, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(-y5, a, y4 \cdot c\right) \cdot y3\right) \cdot y\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(-y5, a, y4 \cdot c\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(-y5, a, y4 \cdot c\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 (- y5) a (* y4 c)) 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(-y5, a, (y4 * c)) * 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(Float64(-y5), a, Float64(y4 * c)) * 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[((-y5) * a + N[(y4 * c), $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(-y5, a, y4 \cdot c\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 - y3 \cdot z\right), 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} \]

            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 - i \cdot c, x, \left(y4 \cdot c - 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 - i \cdot c, x, \left(y4 \cdot c - 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, y4 \cdot y1\right), \mathsf{fma}\left(-y3, j, y2 \cdot k\right), \left(\mathsf{fma}\left(-y5, a, y4 \cdot c\right) \cdot y3\right) \cdot y\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(-y5, a, y4 \cdot c\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: 36.3% accurate, 2.7× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \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(-y5, a, y4 \cdot c\right) \cdot y3\right) \cdot y\right)\\ \mathbf{if}\;b \leq -6.2 \cdot 10^{-32}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -7.2 \cdot 10^{-240}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 10200:\\ \;\;\;\;t\_1\\ \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
                     (fma
                      (fma (- y5) y0 (* y4 y1))
                      (fma (- y3) j (* y2 k))
                      (* (* (fma (- y5) a (* y4 c)) y3) y))))
               (if (<= b -6.2e-32)
                 t_1
                 (if (<= b -7.2e-240)
                   (* (* (fma (- k) y0 (* a t)) y5) y2)
                   (if (<= b 10200.0) t_1 (* (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 = fma(fma(-y5, y0, (y4 * y1)), fma(-y3, j, (y2 * k)), ((fma(-y5, a, (y4 * c)) * y3) * y));
            	double tmp;
            	if (b <= -6.2e-32) {
            		tmp = t_1;
            	} else if (b <= -7.2e-240) {
            		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
            	} else if (b <= 10200.0) {
            		tmp = t_1;
            	} 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 = fma(fma(Float64(-y5), y0, Float64(y4 * y1)), fma(Float64(-y3), j, Float64(y2 * k)), Float64(Float64(fma(Float64(-y5), a, Float64(y4 * c)) * y3) * y))
            	tmp = 0.0
            	if (b <= -6.2e-32)
            		tmp = t_1;
            	elseif (b <= -7.2e-240)
            		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
            	elseif (b <= 10200.0)
            		tmp = t_1;
            	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[((-y5) * y0 + N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * N[((-y3) * j + N[(y2 * k), $MachinePrecision]), $MachinePrecision] + N[(N[(N[((-y5) * a + N[(y4 * c), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -6.2e-32], t$95$1, If[LessEqual[b, -7.2e-240], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, 10200.0], t$95$1, N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision]]]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            t_1 := \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(-y5, a, y4 \cdot c\right) \cdot y3\right) \cdot y\right)\\
            \mathbf{if}\;b \leq -6.2 \cdot 10^{-32}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{elif}\;b \leq -7.2 \cdot 10^{-240}:\\
            \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
            
            \mathbf{elif}\;b \leq 10200:\\
            \;\;\;\;t\_1\\
            
            \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 3 regimes
            2. if b < -6.20000000000000021e-32 or -7.1999999999999998e-240 < b < 10200

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

                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} + \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 rewrites50.0%

                  \[\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 rewrites52.0%

                  \[\leadsto \color{blue}{\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(-y5, a, y4 \cdot c\right) \cdot y3\right) \cdot y\right)} \]

                if -6.20000000000000021e-32 < b < -7.1999999999999998e-240

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

                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), 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} \]
                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 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 3 regimes into one program.
                  9. Final simplification53.1%

                    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -6.2 \cdot 10^{-32}:\\ \;\;\;\;\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(-y5, a, y4 \cdot c\right) \cdot y3\right) \cdot y\right)\\ \mathbf{elif}\;b \leq -7.2 \cdot 10^{-240}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\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(-y5, a, y4 \cdot c\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 7: 31.8% accurate, 3.3× speedup?

                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-i, j, y2 \cdot a\right)\\ t_2 := \left(\left(-y1\right) \cdot t\_1\right) \cdot x\\ \mathbf{if}\;y1 \leq -2.6 \cdot 10^{+170}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y1 \leq -2.7 \cdot 10^{-42}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;y1 \leq -2.6 \cdot 10^{-118}:\\ \;\;\;\;\left(y5 \cdot t\right) \cdot t\_1\\ \mathbf{elif}\;y1 \leq 3.5 \cdot 10^{-6}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot t\right) \cdot b\\ \mathbf{elif}\;y1 \leq 3.1 \cdot 10^{+107}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y1, c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{elif}\;y1 \leq 4.4 \cdot 10^{+201}:\\ \;\;\;\;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 (* (* (- y1) t_1) x)))
                     (if (<= y1 -2.6e+170)
                       t_2
                       (if (<= y1 -2.7e-42)
                         (* (* (fma x y (* (- t) z)) a) b)
                         (if (<= y1 -2.6e-118)
                           (* (* y5 t) t_1)
                           (if (<= y1 3.5e-6)
                             (* (* (fma j y4 (* (- a) z)) t) b)
                             (if (<= y1 3.1e+107)
                               (* (* (fma (- j) y1 (* c y)) y4) y3)
                               (if (<= y1 4.4e+201)
                                 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 = (-y1 * t_1) * x;
                  	double tmp;
                  	if (y1 <= -2.6e+170) {
                  		tmp = t_2;
                  	} else if (y1 <= -2.7e-42) {
                  		tmp = (fma(x, y, (-t * z)) * a) * b;
                  	} else if (y1 <= -2.6e-118) {
                  		tmp = (y5 * t) * t_1;
                  	} else if (y1 <= 3.5e-6) {
                  		tmp = (fma(j, y4, (-a * z)) * t) * b;
                  	} else if (y1 <= 3.1e+107) {
                  		tmp = (fma(-j, y1, (c * y)) * y4) * y3;
                  	} else if (y1 <= 4.4e+201) {
                  		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(Float64(-y1) * t_1) * x)
                  	tmp = 0.0
                  	if (y1 <= -2.6e+170)
                  		tmp = t_2;
                  	elseif (y1 <= -2.7e-42)
                  		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * a) * b);
                  	elseif (y1 <= -2.6e-118)
                  		tmp = Float64(Float64(y5 * t) * t_1);
                  	elseif (y1 <= 3.5e-6)
                  		tmp = Float64(Float64(fma(j, y4, Float64(Float64(-a) * z)) * t) * b);
                  	elseif (y1 <= 3.1e+107)
                  		tmp = Float64(Float64(fma(Float64(-j), y1, Float64(c * y)) * y4) * y3);
                  	elseif (y1 <= 4.4e+201)
                  		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[((-y1) * t$95$1), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[y1, -2.6e+170], t$95$2, If[LessEqual[y1, -2.7e-42], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y1, -2.6e-118], N[(N[(y5 * t), $MachinePrecision] * t$95$1), $MachinePrecision], If[LessEqual[y1, 3.5e-6], N[(N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y1, 3.1e+107], N[(N[(N[((-j) * y1 + N[(c * y), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y3), $MachinePrecision], If[LessEqual[y1, 4.4e+201], 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(\left(-y1\right) \cdot t\_1\right) \cdot x\\
                  \mathbf{if}\;y1 \leq -2.6 \cdot 10^{+170}:\\
                  \;\;\;\;t\_2\\
                  
                  \mathbf{elif}\;y1 \leq -2.7 \cdot 10^{-42}:\\
                  \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\
                  
                  \mathbf{elif}\;y1 \leq -2.6 \cdot 10^{-118}:\\
                  \;\;\;\;\left(y5 \cdot t\right) \cdot t\_1\\
                  
                  \mathbf{elif}\;y1 \leq 3.5 \cdot 10^{-6}:\\
                  \;\;\;\;\left(\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot t\right) \cdot b\\
                  
                  \mathbf{elif}\;y1 \leq 3.1 \cdot 10^{+107}:\\
                  \;\;\;\;\left(\mathsf{fma}\left(-j, y1, c \cdot y\right) \cdot y4\right) \cdot y3\\
                  
                  \mathbf{elif}\;y1 \leq 4.4 \cdot 10^{+201}:\\
                  \;\;\;\;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 < -2.5999999999999998e170 or 3.10000000000000026e107 < y1 < 4.4e201

                    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 - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\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 -2.5999999999999998e170 < y1 < -2.69999999999999999e-42

                      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 -2.69999999999999999e-42 < y1 < -2.6e-118

                        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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -2.6e-118 < y1 < 3.49999999999999995e-6

                          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 3.49999999999999995e-6 < y1 < 3.10000000000000026e107

                            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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 4.4e201 < 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 - y3 \cdot z\right), 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} \]
                              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 -2.6 \cdot 10^{+170}:\\ \;\;\;\;\left(\left(-y1\right) \cdot \mathsf{fma}\left(-i, j, y2 \cdot a\right)\right) \cdot x\\ \mathbf{elif}\;y1 \leq -2.7 \cdot 10^{-42}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;y1 \leq -2.6 \cdot 10^{-118}:\\ \;\;\;\;\left(y5 \cdot t\right) \cdot \mathsf{fma}\left(-i, j, y2 \cdot a\right)\\ \mathbf{elif}\;y1 \leq 3.5 \cdot 10^{-6}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot t\right) \cdot b\\ \mathbf{elif}\;y1 \leq 3.1 \cdot 10^{+107}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y1, c \cdot y\right) \cdot y4\right) \cdot y3\\ \mathbf{elif}\;y1 \leq 4.4 \cdot 10^{+201}:\\ \;\;\;\;\left(\left(-y1\right) \cdot \mathsf{fma}\left(-i, j, y2 \cdot a\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 8: 31.3% accurate, 3.4× speedup?

                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -7 \cdot 10^{+227}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;b \leq -7.5 \cdot 10^{+101}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.25 \cdot 10^{-42}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\ \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\ \;\;\;\;\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 -7e+227)
                                 (* (* (fma x y (* (- t) z)) a) b)
                                 (if (<= b -7.5e+101)
                                   (* (* (fma (- b) y (* y2 y1)) k) y4)
                                   (if (<= b -1.25e-42)
                                     (* (* (fma (- c) y2 (* j b)) t) y4)
                                     (if (<= b -7.6e-248)
                                       (* (* (fma (- k) y0 (* a t)) y5) y2)
                                       (if (<= b 2.25e-171)
                                         (* (* (fma t y2 (* (- y) y3)) a) y5)
                                         (if (<= b 2.4e-52)
                                           (* (* (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 <= -7e+227) {
                              		tmp = (fma(x, y, (-t * z)) * a) * b;
                              	} else if (b <= -7.5e+101) {
                              		tmp = (fma(-b, y, (y2 * y1)) * k) * y4;
                              	} else if (b <= -1.25e-42) {
                              		tmp = (fma(-c, y2, (j * b)) * t) * y4;
                              	} else if (b <= -7.6e-248) {
                              		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                              	} else if (b <= 2.25e-171) {
                              		tmp = (fma(t, y2, (-y * y3)) * a) * y5;
                              	} else if (b <= 2.4e-52) {
                              		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 <= -7e+227)
                              		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * a) * b);
                              	elseif (b <= -7.5e+101)
                              		tmp = Float64(Float64(fma(Float64(-b), y, Float64(y2 * y1)) * k) * y4);
                              	elseif (b <= -1.25e-42)
                              		tmp = Float64(Float64(fma(Float64(-c), y2, Float64(j * b)) * t) * y4);
                              	elseif (b <= -7.6e-248)
                              		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                              	elseif (b <= 2.25e-171)
                              		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * a) * y5);
                              	elseif (b <= 2.4e-52)
                              		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, -7e+227], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[b, -7.5e+101], N[(N[(N[((-b) * y + N[(y2 * y1), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[b, -1.25e-42], N[(N[(N[((-c) * y2 + N[(j * b), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[b, -7.6e-248], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, 2.25e-171], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[b, 2.4e-52], 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 -7 \cdot 10^{+227}:\\
                              \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\
                              
                              \mathbf{elif}\;b \leq -7.5 \cdot 10^{+101}:\\
                              \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\
                              
                              \mathbf{elif}\;b \leq -1.25 \cdot 10^{-42}:\\
                              \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\
                              
                              \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\
                              \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                              
                              \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\
                              \;\;\;\;\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 < -6.9999999999999998e227

                                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 -6.9999999999999998e227 < b < -7.4999999999999995e101

                                  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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 -7.4999999999999995e101 < b < -1.25000000000000001e-42

                                    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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 -1.25000000000000001e-42 < b < -7.5999999999999998e-248

                                        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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -7.5999999999999998e-248 < b < 2.2500000000000002e-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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 2.2500000000000002e-171 < b < 2.4000000000000002e-52

                                            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 - y3 \cdot z\right), 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} \]
                                            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.4000000000000002e-52 < 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 -7 \cdot 10^{+227}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;b \leq -7.5 \cdot 10^{+101}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.25 \cdot 10^{-42}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\ \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\ \;\;\;\;\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 -7 \cdot 10^{+227}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;b \leq -7.5 \cdot 10^{+101}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.25 \cdot 10^{-42}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\ \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\ \;\;\;\;\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 -7e+227)
                                                 (* (* (fma a b (* (- i) c)) y) x)
                                                 (if (<= b -7.5e+101)
                                                   (* (* (fma (- b) y (* y2 y1)) k) y4)
                                                   (if (<= b -1.25e-42)
                                                     (* (* (fma (- c) y2 (* j b)) t) y4)
                                                     (if (<= b -7.6e-248)
                                                       (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                       (if (<= b 2.25e-171)
                                                         (* (* (fma t y2 (* (- y) y3)) a) y5)
                                                         (if (<= b 2.4e-52)
                                                           (* (* (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 <= -7e+227) {
                                              		tmp = (fma(a, b, (-i * c)) * y) * x;
                                              	} else if (b <= -7.5e+101) {
                                              		tmp = (fma(-b, y, (y2 * y1)) * k) * y4;
                                              	} else if (b <= -1.25e-42) {
                                              		tmp = (fma(-c, y2, (j * b)) * t) * y4;
                                              	} else if (b <= -7.6e-248) {
                                              		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                              	} else if (b <= 2.25e-171) {
                                              		tmp = (fma(t, y2, (-y * y3)) * a) * y5;
                                              	} else if (b <= 2.4e-52) {
                                              		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 <= -7e+227)
                                              		tmp = Float64(Float64(fma(a, b, Float64(Float64(-i) * c)) * y) * x);
                                              	elseif (b <= -7.5e+101)
                                              		tmp = Float64(Float64(fma(Float64(-b), y, Float64(y2 * y1)) * k) * y4);
                                              	elseif (b <= -1.25e-42)
                                              		tmp = Float64(Float64(fma(Float64(-c), y2, Float64(j * b)) * t) * y4);
                                              	elseif (b <= -7.6e-248)
                                              		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                              	elseif (b <= 2.25e-171)
                                              		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * a) * y5);
                                              	elseif (b <= 2.4e-52)
                                              		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, -7e+227], N[(N[(N[(a * b + N[((-i) * c), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[b, -7.5e+101], N[(N[(N[((-b) * y + N[(y2 * y1), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[b, -1.25e-42], N[(N[(N[((-c) * y2 + N[(j * b), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[b, -7.6e-248], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, 2.25e-171], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[b, 2.4e-52], 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 -7 \cdot 10^{+227}:\\
                                              \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\
                                              
                                              \mathbf{elif}\;b \leq -7.5 \cdot 10^{+101}:\\
                                              \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\
                                              
                                              \mathbf{elif}\;b \leq -1.25 \cdot 10^{-42}:\\
                                              \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\
                                              
                                              \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\
                                              \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                              
                                              \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\
                                              \;\;\;\;\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 < -6.9999999999999998e227

                                                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 - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\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 -6.9999999999999998e227 < b < -7.4999999999999995e101

                                                  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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 -7.4999999999999995e101 < b < -1.25000000000000001e-42

                                                    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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 -1.25000000000000001e-42 < b < -7.5999999999999998e-248

                                                        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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -7.5999999999999998e-248 < b < 2.2500000000000002e-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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 2.2500000000000002e-171 < b < 2.4000000000000002e-52

                                                            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 - y3 \cdot z\right), 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} \]
                                                            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.4000000000000002e-52 < 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 -7 \cdot 10^{+227}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;b \leq -7.5 \cdot 10^{+101}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.25 \cdot 10^{-42}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot t\right) \cdot y4\\ \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\ \;\;\;\;\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: 30.9% accurate, 3.4× speedup?

                                                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -7 \cdot 10^{+227}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;b \leq -3.2 \cdot 10^{+72}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.8 \cdot 10^{-33}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\ \;\;\;\;\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 -7e+227)
                                                                 (* (* (fma a b (* (- i) c)) y) x)
                                                                 (if (<= b -3.2e+72)
                                                                   (* (* (fma (- b) y (* y2 y1)) k) y4)
                                                                   (if (<= b -1.8e-33)
                                                                     (* (* (fma k y (* (- j) t)) i) y5)
                                                                     (if (<= b -7.6e-248)
                                                                       (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                       (if (<= b 2.25e-171)
                                                                         (* (* (fma t y2 (* (- y) y3)) a) y5)
                                                                         (if (<= b 2.4e-52)
                                                                           (* (* (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 <= -7e+227) {
                                                              		tmp = (fma(a, b, (-i * c)) * y) * x;
                                                              	} else if (b <= -3.2e+72) {
                                                              		tmp = (fma(-b, y, (y2 * y1)) * k) * y4;
                                                              	} else if (b <= -1.8e-33) {
                                                              		tmp = (fma(k, y, (-j * t)) * i) * y5;
                                                              	} else if (b <= -7.6e-248) {
                                                              		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                              	} else if (b <= 2.25e-171) {
                                                              		tmp = (fma(t, y2, (-y * y3)) * a) * y5;
                                                              	} else if (b <= 2.4e-52) {
                                                              		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 <= -7e+227)
                                                              		tmp = Float64(Float64(fma(a, b, Float64(Float64(-i) * c)) * y) * x);
                                                              	elseif (b <= -3.2e+72)
                                                              		tmp = Float64(Float64(fma(Float64(-b), y, Float64(y2 * y1)) * k) * y4);
                                                              	elseif (b <= -1.8e-33)
                                                              		tmp = Float64(Float64(fma(k, y, Float64(Float64(-j) * t)) * i) * y5);
                                                              	elseif (b <= -7.6e-248)
                                                              		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                              	elseif (b <= 2.25e-171)
                                                              		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * a) * y5);
                                                              	elseif (b <= 2.4e-52)
                                                              		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, -7e+227], N[(N[(N[(a * b + N[((-i) * c), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[b, -3.2e+72], N[(N[(N[((-b) * y + N[(y2 * y1), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[b, -1.8e-33], N[(N[(N[(k * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[b, -7.6e-248], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, 2.25e-171], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[b, 2.4e-52], 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 -7 \cdot 10^{+227}:\\
                                                              \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\
                                                              
                                                              \mathbf{elif}\;b \leq -3.2 \cdot 10^{+72}:\\
                                                              \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\
                                                              
                                                              \mathbf{elif}\;b \leq -1.8 \cdot 10^{-33}:\\
                                                              \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                                              
                                                              \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\
                                                              \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                              
                                                              \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\
                                                              \;\;\;\;\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 < -6.9999999999999998e227

                                                                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 - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\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 -6.9999999999999998e227 < b < -3.2000000000000001e72

                                                                  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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 -3.2000000000000001e72 < b < -1.80000000000000017e-33

                                                                    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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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.80000000000000017e-33 < b < -7.5999999999999998e-248

                                                                      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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -7.5999999999999998e-248 < b < 2.2500000000000002e-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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 2.2500000000000002e-171 < b < 2.4000000000000002e-52

                                                                          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 - y3 \cdot z\right), 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} \]
                                                                          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.4000000000000002e-52 < 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 -7 \cdot 10^{+227}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;b \leq -3.2 \cdot 10^{+72}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, y, y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;b \leq -1.8 \cdot 10^{-33}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\ \;\;\;\;\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 -2.25 \cdot 10^{+164}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;b \leq -1.5 \cdot 10^{+52}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y4\right) \cdot \left(-t\right)\\ \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\ \;\;\;\;\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 -2.25e+164)
                                                                               (* (* (fma x y (* (- t) z)) a) b)
                                                                               (if (<= b -1.5e+52)
                                                                                 (* (* (fma (- b) j (* y2 c)) y4) (- t))
                                                                                 (if (<= b -7.6e-248)
                                                                                   (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                                   (if (<= b 2.25e-171)
                                                                                     (* (* (fma t y2 (* (- y) y3)) a) y5)
                                                                                     (if (<= b 2.4e-52)
                                                                                       (* (* (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 <= -2.25e+164) {
                                                                            		tmp = (fma(x, y, (-t * z)) * a) * b;
                                                                            	} else if (b <= -1.5e+52) {
                                                                            		tmp = (fma(-b, j, (y2 * c)) * y4) * -t;
                                                                            	} else if (b <= -7.6e-248) {
                                                                            		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                            	} else if (b <= 2.25e-171) {
                                                                            		tmp = (fma(t, y2, (-y * y3)) * a) * y5;
                                                                            	} else if (b <= 2.4e-52) {
                                                                            		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 <= -2.25e+164)
                                                                            		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * a) * b);
                                                                            	elseif (b <= -1.5e+52)
                                                                            		tmp = Float64(Float64(fma(Float64(-b), j, Float64(y2 * c)) * y4) * Float64(-t));
                                                                            	elseif (b <= -7.6e-248)
                                                                            		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                                            	elseif (b <= 2.25e-171)
                                                                            		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * a) * y5);
                                                                            	elseif (b <= 2.4e-52)
                                                                            		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, -2.25e+164], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[b, -1.5e+52], N[(N[(N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * (-t)), $MachinePrecision], If[LessEqual[b, -7.6e-248], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, 2.25e-171], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[b, 2.4e-52], 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 -2.25 \cdot 10^{+164}:\\
                                                                            \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\
                                                                            
                                                                            \mathbf{elif}\;b \leq -1.5 \cdot 10^{+52}:\\
                                                                            \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y4\right) \cdot \left(-t\right)\\
                                                                            
                                                                            \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\
                                                                            \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                            
                                                                            \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\
                                                                            \;\;\;\;\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 < -2.24999999999999988e164

                                                                              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 -2.24999999999999988e164 < b < -1.5e52

                                                                                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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 -1.5e52 < b < -7.5999999999999998e-248

                                                                                  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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -7.5999999999999998e-248 < b < 2.2500000000000002e-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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 2.2500000000000002e-171 < b < 2.4000000000000002e-52

                                                                                      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 - y3 \cdot z\right), 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} \]
                                                                                      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.4000000000000002e-52 < 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 -2.25 \cdot 10^{+164}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot a\right) \cdot b\\ \mathbf{elif}\;b \leq -1.5 \cdot 10^{+52}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y4\right) \cdot \left(-t\right)\\ \mathbf{elif}\;b \leq -7.6 \cdot 10^{-248}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;b \leq 2.25 \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.4 \cdot 10^{-52}:\\ \;\;\;\;\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.8% 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 -2.25 \cdot 10^{+16}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y1 \leq -6.5 \cdot 10^{-185}:\\ \;\;\;\;\left(y5 \cdot t\right) \cdot \mathsf{fma}\left(-i, j, y2 \cdot a\right)\\ \mathbf{elif}\;y1 \leq 5.8 \cdot 10^{-295}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y1 \leq 3.6 \cdot 10^{+46}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\ \mathbf{elif}\;y1 \leq 1.1 \cdot 10^{+80}:\\ \;\;\;\;\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 -2.25e+16)
                                                                                             t_1
                                                                                             (if (<= y1 -6.5e-185)
                                                                                               (* (* y5 t) (fma (- i) j (* y2 a)))
                                                                                               (if (<= y1 5.8e-295)
                                                                                                 (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                                                 (if (<= y1 3.6e+46)
                                                                                                   (* (* (fma (- b) k (* y3 c)) y4) y)
                                                                                                   (if (<= y1 1.1e+80) (* (* (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 <= -2.25e+16) {
                                                                                        		tmp = t_1;
                                                                                        	} else if (y1 <= -6.5e-185) {
                                                                                        		tmp = (y5 * t) * fma(-i, j, (y2 * a));
                                                                                        	} else if (y1 <= 5.8e-295) {
                                                                                        		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                                        	} else if (y1 <= 3.6e+46) {
                                                                                        		tmp = (fma(-b, k, (y3 * c)) * y4) * y;
                                                                                        	} else if (y1 <= 1.1e+80) {
                                                                                        		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 <= -2.25e+16)
                                                                                        		tmp = t_1;
                                                                                        	elseif (y1 <= -6.5e-185)
                                                                                        		tmp = Float64(Float64(y5 * t) * fma(Float64(-i), j, Float64(y2 * a)));
                                                                                        	elseif (y1 <= 5.8e-295)
                                                                                        		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                                                        	elseif (y1 <= 3.6e+46)
                                                                                        		tmp = Float64(Float64(fma(Float64(-b), k, Float64(y3 * c)) * y4) * y);
                                                                                        	elseif (y1 <= 1.1e+80)
                                                                                        		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, -2.25e+16], t$95$1, If[LessEqual[y1, -6.5e-185], N[(N[(y5 * t), $MachinePrecision] * N[((-i) * j + N[(y2 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 5.8e-295], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y1, 3.6e+46], N[(N[(N[((-b) * k + N[(y3 * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y1, 1.1e+80], 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 -2.25 \cdot 10^{+16}:\\
                                                                                        \;\;\;\;t\_1\\
                                                                                        
                                                                                        \mathbf{elif}\;y1 \leq -6.5 \cdot 10^{-185}:\\
                                                                                        \;\;\;\;\left(y5 \cdot t\right) \cdot \mathsf{fma}\left(-i, j, y2 \cdot a\right)\\
                                                                                        
                                                                                        \mathbf{elif}\;y1 \leq 5.8 \cdot 10^{-295}:\\
                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                                        
                                                                                        \mathbf{elif}\;y1 \leq 3.6 \cdot 10^{+46}:\\
                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\
                                                                                        
                                                                                        \mathbf{elif}\;y1 \leq 1.1 \cdot 10^{+80}:\\
                                                                                        \;\;\;\;\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 < -2.25e16 or 1.10000000000000001e80 < 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 - y3 \cdot z\right), 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} \]
                                                                                          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 -2.25e16 < y1 < -6.49999999999999946e-185

                                                                                            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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -6.49999999999999946e-185 < y1 < 5.8000000000000003e-295

                                                                                              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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 5.8000000000000003e-295 < y1 < 3.5999999999999999e46

                                                                                                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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 3.5999999999999999e46 < y1 < 1.10000000000000001e80

                                                                                                    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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -2.25 \cdot 10^{+16}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y1 \leq -6.5 \cdot 10^{-185}:\\ \;\;\;\;\left(y5 \cdot t\right) \cdot \mathsf{fma}\left(-i, j, y2 \cdot a\right)\\ \mathbf{elif}\;y1 \leq 5.8 \cdot 10^{-295}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y1 \leq 3.6 \cdot 10^{+46}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, k, y3 \cdot c\right) \cdot y4\right) \cdot y\\ \mathbf{elif}\;y1 \leq 1.1 \cdot 10^{+80}:\\ \;\;\;\;\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.5 \cdot 10^{+108}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y5 \leq -6.4 \cdot 10^{+15}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y5 \leq 6 \cdot 10^{-165}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y5 \leq 2.75 \cdot 10^{+22}:\\ \;\;\;\;\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.5e+108)
                                                                                                       (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                                                       (if (<= y5 -6.4e+15)
                                                                                                         (* (fma (- y3) y4 (* i x)) (* y1 j))
                                                                                                         (if (<= y5 6e-165)
                                                                                                           (* (fma j y4 (* (- a) z)) (* b t))
                                                                                                           (if (<= y5 2.75e+22)
                                                                                                             (* (* (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.5e+108) {
                                                                                                    		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                                                    	} else if (y5 <= -6.4e+15) {
                                                                                                    		tmp = fma(-y3, y4, (i * x)) * (y1 * j);
                                                                                                    	} else if (y5 <= 6e-165) {
                                                                                                    		tmp = fma(j, y4, (-a * z)) * (b * t);
                                                                                                    	} else if (y5 <= 2.75e+22) {
                                                                                                    		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.5e+108)
                                                                                                    		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                                                                    	elseif (y5 <= -6.4e+15)
                                                                                                    		tmp = Float64(fma(Float64(-y3), y4, Float64(i * x)) * Float64(y1 * j));
                                                                                                    	elseif (y5 <= 6e-165)
                                                                                                    		tmp = Float64(fma(j, y4, Float64(Float64(-a) * z)) * Float64(b * t));
                                                                                                    	elseif (y5 <= 2.75e+22)
                                                                                                    		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.5e+108], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y5, -6.4e+15], N[(N[((-y3) * y4 + N[(i * x), $MachinePrecision]), $MachinePrecision] * N[(y1 * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 6e-165], N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.75e+22], 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.5 \cdot 10^{+108}:\\
                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                                                    
                                                                                                    \mathbf{elif}\;y5 \leq -6.4 \cdot 10^{+15}:\\
                                                                                                    \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\
                                                                                                    
                                                                                                    \mathbf{elif}\;y5 \leq 6 \cdot 10^{-165}:\\
                                                                                                    \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\
                                                                                                    
                                                                                                    \mathbf{elif}\;y5 \leq 2.75 \cdot 10^{+22}:\\
                                                                                                    \;\;\;\;\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.49999999999999992e108

                                                                                                      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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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.49999999999999992e108 < y5 < -6.4e15

                                                                                                        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 - y3 \cdot z\right), 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} \]
                                                                                                        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 -6.4e15 < y5 < 5.99999999999999958e-165

                                                                                                          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 5.99999999999999958e-165 < y5 < 2.7500000000000001e22

                                                                                                            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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 2.7500000000000001e22 < 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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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.5 \cdot 10^{+108}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y5 \leq -6.4 \cdot 10^{+15}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y5 \leq 6 \cdot 10^{-165}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y5 \leq 2.75 \cdot 10^{+22}:\\ \;\;\;\;\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.5 \cdot 10^{+108}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq -6.4 \cdot 10^{+15}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y5 \leq 6 \cdot 10^{-165}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y5 \leq 5.1 \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.5e+108)
                                                                                                                     t_1
                                                                                                                     (if (<= y5 -6.4e+15)
                                                                                                                       (* (fma (- y3) y4 (* i x)) (* y1 j))
                                                                                                                       (if (<= y5 6e-165)
                                                                                                                         (* (fma j y4 (* (- a) z)) (* b t))
                                                                                                                         (if (<= y5 5.1e+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.5e+108) {
                                                                                                                		tmp = t_1;
                                                                                                                	} else if (y5 <= -6.4e+15) {
                                                                                                                		tmp = fma(-y3, y4, (i * x)) * (y1 * j);
                                                                                                                	} else if (y5 <= 6e-165) {
                                                                                                                		tmp = fma(j, y4, (-a * z)) * (b * t);
                                                                                                                	} else if (y5 <= 5.1e+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.5e+108)
                                                                                                                		tmp = t_1;
                                                                                                                	elseif (y5 <= -6.4e+15)
                                                                                                                		tmp = Float64(fma(Float64(-y3), y4, Float64(i * x)) * Float64(y1 * j));
                                                                                                                	elseif (y5 <= 6e-165)
                                                                                                                		tmp = Float64(fma(j, y4, Float64(Float64(-a) * z)) * Float64(b * t));
                                                                                                                	elseif (y5 <= 5.1e+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.5e+108], t$95$1, If[LessEqual[y5, -6.4e+15], N[(N[((-y3) * y4 + N[(i * x), $MachinePrecision]), $MachinePrecision] * N[(y1 * j), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 6e-165], N[(N[(j * y4 + N[((-a) * z), $MachinePrecision]), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5.1e+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.5 \cdot 10^{+108}:\\
                                                                                                                \;\;\;\;t\_1\\
                                                                                                                
                                                                                                                \mathbf{elif}\;y5 \leq -6.4 \cdot 10^{+15}:\\
                                                                                                                \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\
                                                                                                                
                                                                                                                \mathbf{elif}\;y5 \leq 6 \cdot 10^{-165}:\\
                                                                                                                \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\
                                                                                                                
                                                                                                                \mathbf{elif}\;y5 \leq 5.1 \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.49999999999999992e108 or 5.10000000000000023e57 < 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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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.49999999999999992e108 < y5 < -6.4e15

                                                                                                                    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 - y3 \cdot z\right), 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} \]
                                                                                                                    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 -6.4e15 < y5 < 5.99999999999999958e-165

                                                                                                                      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 5.99999999999999958e-165 < y5 < 5.10000000000000023e57

                                                                                                                        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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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.5 \cdot 10^{+108}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y5 \leq -6.4 \cdot 10^{+15}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y5 \leq 6 \cdot 10^{-165}:\\ \;\;\;\;\mathsf{fma}\left(j, y4, \left(-a\right) \cdot z\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y5 \leq 5.1 \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 -2.25 \cdot 10^{+16}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y1 \leq -6.5 \cdot 10^{-185}:\\ \;\;\;\;\left(y5 \cdot t\right) \cdot \mathsf{fma}\left(-i, j, y2 \cdot a\right)\\ \mathbf{elif}\;y1 \leq 2.9 \cdot 10^{-256}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y1 \leq 1.1 \cdot 10^{+80}:\\ \;\;\;\;\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 -2.25e+16)
                                                                                                                               t_1
                                                                                                                               (if (<= y1 -6.5e-185)
                                                                                                                                 (* (* y5 t) (fma (- i) j (* y2 a)))
                                                                                                                                 (if (<= y1 2.9e-256)
                                                                                                                                   (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                                                                                   (if (<= y1 1.1e+80) (* (* (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 <= -2.25e+16) {
                                                                                                                          		tmp = t_1;
                                                                                                                          	} else if (y1 <= -6.5e-185) {
                                                                                                                          		tmp = (y5 * t) * fma(-i, j, (y2 * a));
                                                                                                                          	} else if (y1 <= 2.9e-256) {
                                                                                                                          		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                                                                          	} else if (y1 <= 1.1e+80) {
                                                                                                                          		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 <= -2.25e+16)
                                                                                                                          		tmp = t_1;
                                                                                                                          	elseif (y1 <= -6.5e-185)
                                                                                                                          		tmp = Float64(Float64(y5 * t) * fma(Float64(-i), j, Float64(y2 * a)));
                                                                                                                          	elseif (y1 <= 2.9e-256)
                                                                                                                          		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                                                                                          	elseif (y1 <= 1.1e+80)
                                                                                                                          		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, -2.25e+16], t$95$1, If[LessEqual[y1, -6.5e-185], N[(N[(y5 * t), $MachinePrecision] * N[((-i) * j + N[(y2 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 2.9e-256], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y1, 1.1e+80], 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 -2.25 \cdot 10^{+16}:\\
                                                                                                                          \;\;\;\;t\_1\\
                                                                                                                          
                                                                                                                          \mathbf{elif}\;y1 \leq -6.5 \cdot 10^{-185}:\\
                                                                                                                          \;\;\;\;\left(y5 \cdot t\right) \cdot \mathsf{fma}\left(-i, j, y2 \cdot a\right)\\
                                                                                                                          
                                                                                                                          \mathbf{elif}\;y1 \leq 2.9 \cdot 10^{-256}:\\
                                                                                                                          \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                                                                          
                                                                                                                          \mathbf{elif}\;y1 \leq 1.1 \cdot 10^{+80}:\\
                                                                                                                          \;\;\;\;\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 < -2.25e16 or 1.10000000000000001e80 < 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 - y3 \cdot z\right), 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} \]
                                                                                                                            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 -2.25e16 < y1 < -6.49999999999999946e-185

                                                                                                                              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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -6.49999999999999946e-185 < y1 < 2.89999999999999971e-256

                                                                                                                                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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 2.89999999999999971e-256 < y1 < 1.10000000000000001e80

                                                                                                                                  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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -2.25 \cdot 10^{+16}:\\ \;\;\;\;\mathsf{fma}\left(-y3, y4, i \cdot x\right) \cdot \left(y1 \cdot j\right)\\ \mathbf{elif}\;y1 \leq -6.5 \cdot 10^{-185}:\\ \;\;\;\;\left(y5 \cdot t\right) \cdot \mathsf{fma}\left(-i, j, y2 \cdot a\right)\\ \mathbf{elif}\;y1 \leq 2.9 \cdot 10^{-256}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;y1 \leq 1.1 \cdot 10^{+80}:\\ \;\;\;\;\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.1% 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.8 \cdot 10^{-49}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 4 \cdot 10^{+18}:\\ \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;j \leq 8 \cdot 10^{+121}:\\ \;\;\;\;\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.8e-49)
                                                                                                                                       t_1
                                                                                                                                       (if (<= j 4e+18)
                                                                                                                                         (* (* (* y2 y1) k) y4)
                                                                                                                                         (if (<= j 8e+121) (* (* (- 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.8e-49) {
                                                                                                                                  		tmp = t_1;
                                                                                                                                  	} else if (j <= 4e+18) {
                                                                                                                                  		tmp = ((y2 * y1) * k) * y4;
                                                                                                                                  	} else if (j <= 8e+121) {
                                                                                                                                  		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.8d-49)) then
                                                                                                                                          tmp = t_1
                                                                                                                                      else if (j <= 4d+18) then
                                                                                                                                          tmp = ((y2 * y1) * k) * y4
                                                                                                                                      else if (j <= 8d+121) 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.8e-49) {
                                                                                                                                  		tmp = t_1;
                                                                                                                                  	} else if (j <= 4e+18) {
                                                                                                                                  		tmp = ((y2 * y1) * k) * y4;
                                                                                                                                  	} else if (j <= 8e+121) {
                                                                                                                                  		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.8e-49:
                                                                                                                                  		tmp = t_1
                                                                                                                                  	elif j <= 4e+18:
                                                                                                                                  		tmp = ((y2 * y1) * k) * y4
                                                                                                                                  	elif j <= 8e+121:
                                                                                                                                  		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.8e-49)
                                                                                                                                  		tmp = t_1;
                                                                                                                                  	elseif (j <= 4e+18)
                                                                                                                                  		tmp = Float64(Float64(Float64(y2 * y1) * k) * y4);
                                                                                                                                  	elseif (j <= 8e+121)
                                                                                                                                  		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.8e-49)
                                                                                                                                  		tmp = t_1;
                                                                                                                                  	elseif (j <= 4e+18)
                                                                                                                                  		tmp = ((y2 * y1) * k) * y4;
                                                                                                                                  	elseif (j <= 8e+121)
                                                                                                                                  		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.8e-49], t$95$1, If[LessEqual[j, 4e+18], N[(N[(N[(y2 * y1), $MachinePrecision] * k), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[j, 8e+121], 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.8 \cdot 10^{-49}:\\
                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                  
                                                                                                                                  \mathbf{elif}\;j \leq 4 \cdot 10^{+18}:\\
                                                                                                                                  \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\
                                                                                                                                  
                                                                                                                                  \mathbf{elif}\;j \leq 8 \cdot 10^{+121}:\\
                                                                                                                                  \;\;\;\;\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.79999999999999985e-49 or 8.0000000000000003e121 < 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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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.79999999999999985e-49 < j < 4e18

                                                                                                                                        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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 4e18 < j < 8.0000000000000003e121

                                                                                                                                            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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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.8 \cdot 10^{-49}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \mathbf{elif}\;j \leq 4 \cdot 10^{+18}:\\ \;\;\;\;\left(\left(y2 \cdot y1\right) \cdot k\right) \cdot y4\\ \mathbf{elif}\;j \leq 8 \cdot 10^{+121}:\\ \;\;\;\;\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 -1.75 \cdot 10^{+87}:\\ \;\;\;\;\mathsf{fma}\left(i, k, \left(-y3\right) \cdot a\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{elif}\;y \leq -1.65 \cdot 10^{-304}:\\ \;\;\;\;\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 -1.75e+87)
                                                                                                                                                 (* (fma i k (* (- y3) a)) (* y5 y))
                                                                                                                                                 (if (<= y -1.65e-304)
                                                                                                                                                   (* (* (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 <= -1.75e+87) {
                                                                                                                                              		tmp = fma(i, k, (-y3 * a)) * (y5 * y);
                                                                                                                                              	} else if (y <= -1.65e-304) {
                                                                                                                                              		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 <= -1.75e+87)
                                                                                                                                              		tmp = Float64(fma(i, k, Float64(Float64(-y3) * a)) * Float64(y5 * y));
                                                                                                                                              	elseif (y <= -1.65e-304)
                                                                                                                                              		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, -1.75e+87], N[(N[(i * k + N[((-y3) * a), $MachinePrecision]), $MachinePrecision] * N[(y5 * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -1.65e-304], 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 -1.75 \cdot 10^{+87}:\\
                                                                                                                                              \;\;\;\;\mathsf{fma}\left(i, k, \left(-y3\right) \cdot a\right) \cdot \left(y5 \cdot y\right)\\
                                                                                                                                              
                                                                                                                                              \mathbf{elif}\;y \leq -1.65 \cdot 10^{-304}:\\
                                                                                                                                              \;\;\;\;\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 < -1.74999999999999993e87

                                                                                                                                                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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -1.74999999999999993e87 < y < -1.65000000000000006e-304

                                                                                                                                                    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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -1.65000000000000006e-304 < 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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -1.75 \cdot 10^{+87}:\\ \;\;\;\;\mathsf{fma}\left(i, k, \left(-y3\right) \cdot a\right) \cdot \left(y5 \cdot y\right)\\ \mathbf{elif}\;y \leq -1.65 \cdot 10^{-304}:\\ \;\;\;\;\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.4% accurate, 5.6× speedup?

                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;k \leq -4.8 \cdot 10^{+88}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;k \leq -2.3 \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 -4.8e+88)
                                                                                                                                                         (* (* (fma (- k) y0 (* a t)) y5) y2)
                                                                                                                                                         (if (<= k -2.3e+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 <= -4.8e+88) {
                                                                                                                                                      		tmp = (fma(-k, y0, (a * t)) * y5) * y2;
                                                                                                                                                      	} else if (k <= -2.3e+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 <= -4.8e+88)
                                                                                                                                                      		tmp = Float64(Float64(fma(Float64(-k), y0, Float64(a * t)) * y5) * y2);
                                                                                                                                                      	elseif (k <= -2.3e+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, -4.8e+88], N[(N[(N[((-k) * y0 + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[k, -2.3e+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 -4.8 \cdot 10^{+88}:\\
                                                                                                                                                      \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\
                                                                                                                                                      
                                                                                                                                                      \mathbf{elif}\;k \leq -2.3 \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 < -4.7999999999999998e88

                                                                                                                                                        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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -4.7999999999999998e88 < k < -2.3e19

                                                                                                                                                          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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 -2.3e19 < 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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 -4.8 \cdot 10^{+88}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y0, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{elif}\;k \leq -2.3 \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 -3 \cdot 10^{+154}:\\ \;\;\;\;\left(\left(\left(-y3\right) \cdot y4\right) \cdot j\right) \cdot y1\\ \mathbf{elif}\;y4 \leq 3.6 \cdot 10^{+213}:\\ \;\;\;\;\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 -3e+154)
                                                                                                                                                                 (* (* (* (- y3) y4) j) y1)
                                                                                                                                                                 (if (<= y4 3.6e+213)
                                                                                                                                                                   (* (* (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 <= -3e+154) {
                                                                                                                                                              		tmp = ((-y3 * y4) * j) * y1;
                                                                                                                                                              	} else if (y4 <= 3.6e+213) {
                                                                                                                                                              		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 <= -3e+154)
                                                                                                                                                              		tmp = Float64(Float64(Float64(Float64(-y3) * y4) * j) * y1);
                                                                                                                                                              	elseif (y4 <= 3.6e+213)
                                                                                                                                                              		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, -3e+154], N[(N[(N[((-y3) * y4), $MachinePrecision] * j), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y4, 3.6e+213], 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 -3 \cdot 10^{+154}:\\
                                                                                                                                                              \;\;\;\;\left(\left(\left(-y3\right) \cdot y4\right) \cdot j\right) \cdot y1\\
                                                                                                                                                              
                                                                                                                                                              \mathbf{elif}\;y4 \leq 3.6 \cdot 10^{+213}:\\
                                                                                                                                                              \;\;\;\;\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 < -3.00000000000000026e154

                                                                                                                                                                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 - y3 \cdot z\right), 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} \]
                                                                                                                                                                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 -3.00000000000000026e154 < y4 < 3.6000000000000001e213

                                                                                                                                                                    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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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 3.6000000000000001e213 < 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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 -3 \cdot 10^{+154}:\\ \;\;\;\;\left(\left(\left(-y3\right) \cdot y4\right) \cdot j\right) \cdot y1\\ \mathbf{elif}\;y4 \leq 3.6 \cdot 10^{+213}:\\ \;\;\;\;\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.8 \cdot 10^{-49}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;j \leq 4.2 \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.8e-49) t_1 (if (<= j 4.2e+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.8e-49) {
                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                        	} else if (j <= 4.2e+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.8d-49)) then
                                                                                                                                                                                tmp = t_1
                                                                                                                                                                            else if (j <= 4.2d+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.8e-49) {
                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                        	} else if (j <= 4.2e+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.8e-49:
                                                                                                                                                                        		tmp = t_1
                                                                                                                                                                        	elif j <= 4.2e+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.8e-49)
                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                        	elseif (j <= 4.2e+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.8e-49)
                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                        	elseif (j <= 4.2e+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.8e-49], t$95$1, If[LessEqual[j, 4.2e+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.8 \cdot 10^{-49}:\\
                                                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                                                        
                                                                                                                                                                        \mathbf{elif}\;j \leq 4.2 \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.79999999999999985e-49 or 4.19999999999999972e54 < 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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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.79999999999999985e-49 < j < 4.19999999999999972e54

                                                                                                                                                                              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(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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.8 \cdot 10^{-49}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \mathbf{elif}\;j \leq 4.2 \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: 22.2% accurate, 7.2× speedup?

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

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

                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), 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} \]
                                                                                                                                                                                  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 rewrites43.5%

                                                                                                                                                                                      \[\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 rewrites39.5%

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

                                                                                                                                                                                      if -7.0000000000000002e33 < y0 < 4.6000000000000003e132

                                                                                                                                                                                      1. Initial program 34.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 rewrites44.8%

                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\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 t around inf

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

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

                                                                                                                                                                                          if 4.6000000000000003e132 < y0

                                                                                                                                                                                          1. Initial program 14.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 rewrites40.2%

                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), 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} \]
                                                                                                                                                                                          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 rewrites35.0%

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

                                                                                                                                                                                                \[\leadsto j \cdot \left(y0 \cdot \left(y3 \cdot \color{blue}{y5}\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.9%

                                                                                                                                                                                                  \[\leadsto j \cdot \left(\left(y0 \cdot y3\right) \cdot y5\right) \]
                                                                                                                                                                                              4. Recombined 3 regimes into one program.
                                                                                                                                                                                              5. Final simplification30.8%

                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -7 \cdot 10^{+33}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \mathbf{elif}\;y0 \leq 4.6 \cdot 10^{+132}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \end{array} \]
                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                              Alternative 22: 21.1% accurate, 7.2× speedup?

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

                                                                                                                                                                                                1. Initial program 26.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 rewrites53.4%

                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), 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} \]
                                                                                                                                                                                                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 rewrites66.9%

                                                                                                                                                                                                    \[\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 rewrites66.9%

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

                                                                                                                                                                                                    if -1.12000000000000009e209 < y0 < 5.1999999999999997e24

                                                                                                                                                                                                    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 - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\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) \]

                                                                                                                                                                                                        if 5.1999999999999997e24 < y0

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

                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), 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} \]
                                                                                                                                                                                                        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 rewrites32.9%

                                                                                                                                                                                                            \[\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 rewrites29.5%

                                                                                                                                                                                                              \[\leadsto j \cdot \left(y0 \cdot \left(y3 \cdot \color{blue}{y5}\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 rewrites31.2%

                                                                                                                                                                                                                \[\leadsto j \cdot \left(\left(y0 \cdot y3\right) \cdot y5\right) \]
                                                                                                                                                                                                            4. Recombined 3 regimes into one program.
                                                                                                                                                                                                            5. Final simplification27.1%

                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.12 \cdot 10^{+209}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \mathbf{elif}\;y0 \leq 5.2 \cdot 10^{+24}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \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, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\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)))))