Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.3% → 41.4%
Time: 38.7s
Alternatives: 29
Speedup: 4.8×

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 29 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.3% 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: 41.4% accurate, 2.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y3 \cdot z - y2 \cdot x\\ t_2 := y2 \cdot t - y3 \cdot y\\ t_3 := y2 \cdot k - y3 \cdot j\\ \mathbf{if}\;i \leq -2.3 \cdot 10^{+251}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, a, \mathsf{fma}\left(t\_3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;i \leq -1100:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, t\_3, t\_2 \cdot a\right)\right) \cdot y5\\ \mathbf{elif}\;i \leq 5.1 \cdot 10^{-253}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, t\_2 \cdot y5\right)\right) \cdot a\\ \mathbf{elif}\;i \leq 2.2 \cdot 10^{-192}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \mathsf{fma}\left(c, y2 \cdot x - y3 \cdot z, \left(k \cdot z - j \cdot x\right) \cdot b\right)\right) \cdot y0\\ \mathbf{elif}\;i \leq 8.5 \cdot 10^{+267}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \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 (- (* y3 z) (* y2 x)))
        (t_2 (- (* y2 t) (* y3 y)))
        (t_3 (- (* y2 k) (* y3 j))))
   (if (<= i -2.3e+251)
     (* (fma t_1 a (fma t_3 y4 (* (- (* j x) (* k z)) i))) y1)
     (if (<= i -1100.0)
       (* (fma (- (* k y) (* j t)) i (fma (- y0) t_3 (* t_2 a))) y5)
       (if (<= i 5.1e-253)
         (* (fma t_1 y1 (fma (- (* y x) (* t z)) b (* t_2 y5))) a)
         (if (<= i 2.2e-192)
           (*
            (fma
             (- (* y3 j) (* y2 k))
             y5
             (fma c (- (* y2 x) (* y3 z)) (* (- (* k z) (* j x)) b)))
            y0)
           (if (<= i 8.5e+267)
             (*
              (fma
               (- (* y5 i) (* y4 b))
               k
               (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
              y)
             (* (* (fma k y5 (* (- c) x)) i) 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 = (y3 * z) - (y2 * x);
	double t_2 = (y2 * t) - (y3 * y);
	double t_3 = (y2 * k) - (y3 * j);
	double tmp;
	if (i <= -2.3e+251) {
		tmp = fma(t_1, a, fma(t_3, y4, (((j * x) - (k * z)) * i))) * y1;
	} else if (i <= -1100.0) {
		tmp = fma(((k * y) - (j * t)), i, fma(-y0, t_3, (t_2 * a))) * y5;
	} else if (i <= 5.1e-253) {
		tmp = fma(t_1, y1, fma(((y * x) - (t * z)), b, (t_2 * y5))) * a;
	} else if (i <= 2.2e-192) {
		tmp = fma(((y3 * j) - (y2 * k)), y5, fma(c, ((y2 * x) - (y3 * z)), (((k * z) - (j * x)) * b))) * y0;
	} else if (i <= 8.5e+267) {
		tmp = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
	} else {
		tmp = (fma(k, y5, (-c * x)) * i) * 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(y3 * z) - Float64(y2 * x))
	t_2 = Float64(Float64(y2 * t) - Float64(y3 * y))
	t_3 = Float64(Float64(y2 * k) - Float64(y3 * j))
	tmp = 0.0
	if (i <= -2.3e+251)
		tmp = Float64(fma(t_1, a, fma(t_3, y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1);
	elseif (i <= -1100.0)
		tmp = Float64(fma(Float64(Float64(k * y) - Float64(j * t)), i, fma(Float64(-y0), t_3, Float64(t_2 * a))) * y5);
	elseif (i <= 5.1e-253)
		tmp = Float64(fma(t_1, y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(t_2 * y5))) * a);
	elseif (i <= 2.2e-192)
		tmp = Float64(fma(Float64(Float64(y3 * j) - Float64(y2 * k)), y5, fma(c, Float64(Float64(y2 * x) - Float64(y3 * z)), Float64(Float64(Float64(k * z) - Float64(j * x)) * b))) * y0);
	elseif (i <= 8.5e+267)
		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);
	else
		tmp = Float64(Float64(fma(k, y5, Float64(Float64(-c) * x)) * i) * 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[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -2.3e+251], N[(N[(t$95$1 * a + N[(t$95$3 * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[i, -1100.0], N[(N[(N[(N[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision] * i + N[((-y0) * t$95$3 + N[(t$95$2 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[i, 5.1e-253], N[(N[(t$95$1 * y1 + N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * b + N[(t$95$2 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[i, 2.2e-192], N[(N[(N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision] * y5 + N[(c * N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[i, 8.5e+267], 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], N[(N[(N[(k * y5 + N[((-c) * x), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y), $MachinePrecision]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y3 \cdot z - y2 \cdot x\\
t_2 := y2 \cdot t - y3 \cdot y\\
t_3 := y2 \cdot k - y3 \cdot j\\
\mathbf{if}\;i \leq -2.3 \cdot 10^{+251}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, a, \mathsf{fma}\left(t\_3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\

\mathbf{elif}\;i \leq -1100:\\
\;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, t\_3, t\_2 \cdot a\right)\right) \cdot y5\\

\mathbf{elif}\;i \leq 5.1 \cdot 10^{-253}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, t\_2 \cdot y5\right)\right) \cdot a\\

\mathbf{elif}\;i \leq 2.2 \cdot 10^{-192}:\\
\;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \mathsf{fma}\left(c, y2 \cdot x - y3 \cdot z, \left(k \cdot z - j \cdot x\right) \cdot b\right)\right) \cdot y0\\

\mathbf{elif}\;i \leq 8.5 \cdot 10^{+267}:\\
\;\;\;\;\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{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if i < -2.29999999999999988e251

    1. Initial program 33.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 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 rewrites71.5%

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

    if -2.29999999999999988e251 < i < -1100

    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 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 rewrites59.8%

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

    if -1100 < i < 5.10000000000000008e-253

    1. Initial program 39.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 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 rewrites58.4%

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

    if 5.10000000000000008e-253 < i < 2.20000000000000006e-192

    1. Initial program 23.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 y0 around inf

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

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

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y0} \]
    5. Applied rewrites64.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(k \cdot y2 - j \cdot y3\right), y5, \mathsf{fma}\left(c, y2 \cdot x - z \cdot y3, \left(-b\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y0} \]

    if 2.20000000000000006e-192 < i < 8.5000000000000007e267

    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 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 rewrites58.4%

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

    if 8.5000000000000007e267 < i

    1. Initial program 8.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 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 rewrites8.3%

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

      \[\leadsto \left(i \cdot \left(-1 \cdot \left(c \cdot x\right) + k \cdot y5\right)\right) \cdot y \]
    7. Step-by-step derivation
      1. Applied rewrites66.7%

        \[\leadsto \left(i \cdot \mathsf{fma}\left(k, y5, -c \cdot x\right)\right) \cdot y \]
    8. Recombined 6 regimes into one program.
    9. Final simplification60.5%

      \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.3 \cdot 10^{+251}:\\ \;\;\;\;\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}\;i \leq -1100:\\ \;\;\;\;\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}\;i \leq 5.1 \cdot 10^{-253}:\\ \;\;\;\;\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}\;i \leq 2.2 \cdot 10^{-192}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \mathsf{fma}\left(c, y2 \cdot x - y3 \cdot z, \left(k \cdot z - j \cdot x\right) \cdot b\right)\right) \cdot y0\\ \mathbf{elif}\;i \leq 8.5 \cdot 10^{+267}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \end{array} \]
    10. Add Preprocessing

    Alternative 2: 55.5% accurate, 0.5× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} t_1 := y2 \cdot k - y3 \cdot j\\ t_2 := j \cdot x - k \cdot z\\ t_3 := \left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot t\_2 - \left(i \cdot c - b \cdot a\right) \cdot \left(y \cdot x - t \cdot z\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(k \cdot y - j \cdot t\right) \cdot \left(y4 \cdot b - y5 \cdot i\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 t\_1\\ \mathbf{if}\;t\_3 \leq \infty:\\ \;\;\;\;t\_3\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(t\_1, y4, t\_2 \cdot i\right)\right) \cdot y1\\ \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 (- (* j x) (* k z)))
            (t_3
             (-
              (-
               (-
                (-
                 (-
                  (* (- (* y1 i) (* y0 b)) t_2)
                  (* (- (* i c) (* b a)) (- (* y x) (* t z))))
                 (* (- (* y1 a) (* y0 c)) (- (* y2 x) (* y3 z))))
                (* (- (* k y) (* j t)) (- (* y4 b) (* y5 i))))
               (* (- (* y5 a) (* y4 c)) (- (* y3 y) (* y2 t))))
              (* (- (* y5 y0) (* y4 y1)) t_1))))
       (if (<= t_3 INFINITY)
         t_3
         (* (fma (- (* y3 z) (* y2 x)) a (fma t_1 y4 (* t_2 i))) y1))))
    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 = (j * x) - (k * z);
    	double t_3 = (((((((y1 * i) - (y0 * b)) * t_2) - (((i * c) - (b * a)) * ((y * x) - (t * z)))) - (((y1 * a) - (y0 * c)) * ((y2 * x) - (y3 * z)))) - (((k * y) - (j * t)) * ((y4 * b) - (y5 * i)))) - (((y5 * a) - (y4 * c)) * ((y3 * y) - (y2 * t)))) - (((y5 * y0) - (y4 * y1)) * t_1);
    	double tmp;
    	if (t_3 <= ((double) INFINITY)) {
    		tmp = t_3;
    	} else {
    		tmp = fma(((y3 * z) - (y2 * x)), a, fma(t_1, y4, (t_2 * i))) * y1;
    	}
    	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(Float64(j * x) - Float64(k * z))
    	t_3 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * t_2) - Float64(Float64(Float64(i * c) - Float64(b * a)) * Float64(Float64(y * x) - Float64(t * z)))) - Float64(Float64(Float64(y1 * a) - Float64(y0 * c)) * Float64(Float64(y2 * x) - Float64(y3 * z)))) - Float64(Float64(Float64(k * y) - Float64(j * t)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * Float64(Float64(y3 * y) - Float64(y2 * t)))) - Float64(Float64(Float64(y5 * y0) - Float64(y4 * y1)) * t_1))
    	tmp = 0.0
    	if (t_3 <= Inf)
    		tmp = t_3;
    	else
    		tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(t_1, y4, Float64(t_2 * i))) * y1);
    	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[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(N[(N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * N[(N[(y * x), $MachinePrecision] - N[(t * z), $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[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $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] * t$95$1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, Infinity], t$95$3, N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(t$95$1 * y4 + N[(t$95$2 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]]]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    t_1 := y2 \cdot k - y3 \cdot j\\
    t_2 := j \cdot x - k \cdot z\\
    t_3 := \left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot t\_2 - \left(i \cdot c - b \cdot a\right) \cdot \left(y \cdot x - t \cdot z\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(k \cdot y - j \cdot t\right) \cdot \left(y4 \cdot b - y5 \cdot i\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 t\_1\\
    \mathbf{if}\;t\_3 \leq \infty:\\
    \;\;\;\;t\_3\\
    
    \mathbf{else}:\\
    \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(t\_1, y4, t\_2 \cdot i\right)\right) \cdot y1\\
    
    
    \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 89.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

      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 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 rewrites43.5%

        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
    3. Recombined 2 regimes into one program.
    4. Final simplification59.4%

      \[\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(i \cdot c - b \cdot a\right) \cdot \left(y \cdot x - t \cdot z\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(k \cdot y - j \cdot t\right) \cdot \left(y4 \cdot b - y5 \cdot i\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(i \cdot c - b \cdot a\right) \cdot \left(y \cdot x - t \cdot z\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(k \cdot y - j \cdot t\right) \cdot \left(y4 \cdot b - y5 \cdot i\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(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} \]
    5. Add Preprocessing

    Alternative 3: 45.7% accurate, 2.3× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{if}\;i \leq -6 \cdot 10^{+90}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq 5.1 \cdot 10^{-253}:\\ \;\;\;\;\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}\;i \leq 2.2 \cdot 10^{-192}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \mathsf{fma}\left(c, y2 \cdot x - y3 \cdot z, \left(k \cdot z - j \cdot x\right) \cdot b\right)\right) \cdot y0\\ \mathbf{elif}\;i \leq 7.6 \cdot 10^{+206}:\\ \;\;\;\;\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{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
               (- (* t z) (* y x))
               c
               (fma (- y5) (- (* j t) (* k y)) (* (- (* j x) (* k z)) y1)))
              i)))
       (if (<= i -6e+90)
         t_1
         (if (<= i 5.1e-253)
           (*
            (fma
             (- (* y3 z) (* y2 x))
             y1
             (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
            a)
           (if (<= i 2.2e-192)
             (*
              (fma
               (- (* y3 j) (* y2 k))
               y5
               (fma c (- (* y2 x) (* y3 z)) (* (- (* k z) (* j x)) b)))
              y0)
             (if (<= i 7.6e+206)
               (*
                (fma
                 (- (* y5 i) (* y4 b))
                 k
                 (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) 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(((t * z) - (y * x)), c, fma(-y5, ((j * t) - (k * y)), (((j * x) - (k * z)) * y1))) * i;
    	double tmp;
    	if (i <= -6e+90) {
    		tmp = t_1;
    	} else if (i <= 5.1e-253) {
    		tmp = fma(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
    	} else if (i <= 2.2e-192) {
    		tmp = fma(((y3 * j) - (y2 * k)), y5, fma(c, ((y2 * x) - (y3 * z)), (((k * z) - (j * x)) * b))) * y0;
    	} else if (i <= 7.6e+206) {
    		tmp = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * 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(t * z) - Float64(y * x)), c, fma(Float64(-y5), Float64(Float64(j * t) - Float64(k * y)), Float64(Float64(Float64(j * x) - Float64(k * z)) * y1))) * i)
    	tmp = 0.0
    	if (i <= -6e+90)
    		tmp = t_1;
    	elseif (i <= 5.1e-253)
    		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 (i <= 2.2e-192)
    		tmp = Float64(fma(Float64(Float64(y3 * j) - Float64(y2 * k)), y5, fma(c, Float64(Float64(y2 * x) - Float64(y3 * z)), Float64(Float64(Float64(k * z) - Float64(j * x)) * b))) * y0);
    	elseif (i <= 7.6e+206)
    		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);
    	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[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * c + N[((-y5) * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[i, -6e+90], t$95$1, If[LessEqual[i, 5.1e-253], 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[i, 2.2e-192], N[(N[(N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision] * y5 + N[(c * N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[i, 7.6e+206], 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], t$95$1]]]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    t_1 := \mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\
    \mathbf{if}\;i \leq -6 \cdot 10^{+90}:\\
    \;\;\;\;t\_1\\
    
    \mathbf{elif}\;i \leq 5.1 \cdot 10^{-253}:\\
    \;\;\;\;\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}\;i \leq 2.2 \cdot 10^{-192}:\\
    \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \mathsf{fma}\left(c, y2 \cdot x - y3 \cdot z, \left(k \cdot z - j \cdot x\right) \cdot b\right)\right) \cdot y0\\
    
    \mathbf{elif}\;i \leq 7.6 \cdot 10^{+206}:\\
    \;\;\;\;\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{else}:\\
    \;\;\;\;t\_1\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 4 regimes
    2. if i < -5.99999999999999957e90 or 7.5999999999999997e206 < i

      1. Initial program 24.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 i around inf

        \[\leadsto \color{blue}{i \cdot \left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \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(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
        2. lower-*.f64N/A

          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(c \cdot \left(x \cdot y - t \cdot z\right)\right) + -1 \cdot \left(y5 \cdot \left(j \cdot t - k \cdot y\right)\right)\right) - -1 \cdot \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot i} \]
      5. Applied rewrites66.1%

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

      if -5.99999999999999957e90 < i < 5.10000000000000008e-253

      1. Initial program 39.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 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 rewrites57.9%

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

      if 5.10000000000000008e-253 < i < 2.20000000000000006e-192

      1. Initial program 23.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 y0 around inf

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

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

          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y0} \]
      5. Applied rewrites64.8%

        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(k \cdot y2 - j \cdot y3\right), y5, \mathsf{fma}\left(c, y2 \cdot x - z \cdot y3, \left(-b\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y0} \]

      if 2.20000000000000006e-192 < i < 7.5999999999999997e206

      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 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 rewrites57.0%

        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, \mathsf{fma}\left(b \cdot a - c \cdot i, x, \left(c \cdot y4 - y5 \cdot a\right) \cdot y3\right)\right) \cdot y} \]
    3. Recombined 4 regimes into one program.
    4. Final simplification60.4%

      \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -6 \cdot 10^{+90}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{elif}\;i \leq 5.1 \cdot 10^{-253}:\\ \;\;\;\;\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}\;i \leq 2.2 \cdot 10^{-192}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \mathsf{fma}\left(c, y2 \cdot x - y3 \cdot z, \left(k \cdot z - j \cdot x\right) \cdot b\right)\right) \cdot y0\\ \mathbf{elif}\;i \leq 7.6 \cdot 10^{+206}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \end{array} \]
    5. Add Preprocessing

    Alternative 4: 44.4% accurate, 2.3× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \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\\ t_2 := y2 \cdot k - y3 \cdot j\\ \mathbf{if}\;y2 \leq -2.15 \cdot 10^{+40}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq -2.9 \cdot 10^{-93}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;y2 \leq 4.9 \cdot 10^{-280}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, t\_2, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \mathbf{elif}\;y2 \leq 2.7 \cdot 10^{+124}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(t\_2, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \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
               (- (* y4 y1) (* y5 y0))
               k
               (fma (- (* y0 c) (* y1 a)) x (* (- (* y5 a) (* y4 c)) t)))
              y2))
            (t_2 (- (* y2 k) (* y3 j))))
       (if (<= y2 -2.15e+40)
         t_1
         (if (<= y2 -2.9e-93)
           (* (fma (- (* y5 i) (* y4 b)) k (* (fma (- y3) y5 (* b x)) a)) y)
           (if (<= y2 4.9e-280)
             (*
              (fma
               (- (* k y) (* j t))
               i
               (fma (- y0) t_2 (* (- (* y2 t) (* y3 y)) a)))
              y5)
             (if (<= y2 2.7e+124)
               (*
                (fma
                 (- (* y3 z) (* y2 x))
                 a
                 (fma t_2 y4 (* (- (* j x) (* k z)) i)))
                y1)
               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(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (((y5 * a) - (y4 * c)) * t))) * y2;
    	double t_2 = (y2 * k) - (y3 * j);
    	double tmp;
    	if (y2 <= -2.15e+40) {
    		tmp = t_1;
    	} else if (y2 <= -2.9e-93) {
    		tmp = fma(((y5 * i) - (y4 * b)), k, (fma(-y3, y5, (b * x)) * a)) * y;
    	} else if (y2 <= 4.9e-280) {
    		tmp = fma(((k * y) - (j * t)), i, fma(-y0, t_2, (((y2 * t) - (y3 * y)) * a))) * y5;
    	} else if (y2 <= 2.7e+124) {
    		tmp = fma(((y3 * z) - (y2 * x)), a, fma(t_2, y4, (((j * x) - (k * z)) * i))) * y1;
    	} 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(y4 * y1) - Float64(y5 * y0)), k, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2)
    	t_2 = Float64(Float64(y2 * k) - Float64(y3 * j))
    	tmp = 0.0
    	if (y2 <= -2.15e+40)
    		tmp = t_1;
    	elseif (y2 <= -2.9e-93)
    		tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), k, Float64(fma(Float64(-y3), y5, Float64(b * x)) * a)) * y);
    	elseif (y2 <= 4.9e-280)
    		tmp = Float64(fma(Float64(Float64(k * y) - Float64(j * t)), i, fma(Float64(-y0), t_2, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * a))) * y5);
    	elseif (y2 <= 2.7e+124)
    		tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(t_2, y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1);
    	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[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -2.15e+40], t$95$1, If[LessEqual[y2, -2.9e-93], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[((-y3) * y5 + N[(b * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y2, 4.9e-280], N[(N[(N[(N[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision] * i + N[((-y0) * t$95$2 + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[y2, 2.7e+124], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(t$95$2 * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], t$95$1]]]]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    t_1 := \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\\
    t_2 := y2 \cdot k - y3 \cdot j\\
    \mathbf{if}\;y2 \leq -2.15 \cdot 10^{+40}:\\
    \;\;\;\;t\_1\\
    
    \mathbf{elif}\;y2 \leq -2.9 \cdot 10^{-93}:\\
    \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\
    
    \mathbf{elif}\;y2 \leq 4.9 \cdot 10^{-280}:\\
    \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, t\_2, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\
    
    \mathbf{elif}\;y2 \leq 2.7 \cdot 10^{+124}:\\
    \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(t\_2, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
    
    \mathbf{else}:\\
    \;\;\;\;t\_1\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 4 regimes
    2. if y2 < -2.1500000000000001e40 or 2.69999999999999978e124 < y2

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

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

      if -2.1500000000000001e40 < y2 < -2.8999999999999998e-93

      1. Initial program 33.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 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 rewrites46.3%

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

        \[\leadsto \mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, a \cdot \left(-1 \cdot \left(y3 \cdot y5\right) + b \cdot x\right)\right) \cdot y \]
      7. Step-by-step derivation
        1. Applied rewrites58.7%

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

        if -2.8999999999999998e-93 < y2 < 4.89999999999999994e-280

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

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

        if 4.89999999999999994e-280 < y2 < 2.69999999999999978e124

        1. Initial program 36.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 y1 around inf

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

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

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

          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
      8. Recombined 4 regimes into one program.
      9. Final simplification58.9%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.15 \cdot 10^{+40}:\\ \;\;\;\;\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}\;y2 \leq -2.9 \cdot 10^{-93}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;y2 \leq 4.9 \cdot 10^{-280}:\\ \;\;\;\;\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}\;y2 \leq 2.7 \cdot 10^{+124}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\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\\ \end{array} \]
      10. Add Preprocessing

      Alternative 5: 40.6% accurate, 2.3× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := y3 \cdot z - y2 \cdot x\\ \mathbf{if}\;i \leq -1.4 \cdot 10^{+91}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, 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}\;i \leq 5.8 \cdot 10^{-295}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, 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}\;i \leq 1.9 \cdot 10^{-178}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \left(\left(-x\right) \cdot j\right) \cdot b\right) \cdot y0\\ \mathbf{elif}\;i \leq 8.5 \cdot 10^{+267}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \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 (- (* y3 z) (* y2 x))))
         (if (<= i -1.4e+91)
           (*
            (fma t_1 a (fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
            y1)
           (if (<= i 5.8e-295)
             (*
              (fma t_1 y1 (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
              a)
             (if (<= i 1.9e-178)
               (* (fma (- (* y3 j) (* y2 k)) y5 (* (* (- x) j) b)) y0)
               (if (<= i 8.5e+267)
                 (*
                  (fma
                   (- (* y5 i) (* y4 b))
                   k
                   (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
                  y)
                 (* (* (fma k y5 (* (- c) x)) i) 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 = (y3 * z) - (y2 * x);
      	double tmp;
      	if (i <= -1.4e+91) {
      		tmp = fma(t_1, a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
      	} else if (i <= 5.8e-295) {
      		tmp = fma(t_1, y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
      	} else if (i <= 1.9e-178) {
      		tmp = fma(((y3 * j) - (y2 * k)), y5, ((-x * j) * b)) * y0;
      	} else if (i <= 8.5e+267) {
      		tmp = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
      	} else {
      		tmp = (fma(k, y5, (-c * x)) * i) * 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(y3 * z) - Float64(y2 * x))
      	tmp = 0.0
      	if (i <= -1.4e+91)
      		tmp = Float64(fma(t_1, a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1);
      	elseif (i <= 5.8e-295)
      		tmp = Float64(fma(t_1, y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a);
      	elseif (i <= 1.9e-178)
      		tmp = Float64(fma(Float64(Float64(y3 * j) - Float64(y2 * k)), y5, Float64(Float64(Float64(-x) * j) * b)) * y0);
      	elseif (i <= 8.5e+267)
      		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);
      	else
      		tmp = Float64(Float64(fma(k, y5, Float64(Float64(-c) * x)) * i) * 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[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.4e+91], N[(N[(t$95$1 * 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[i, 5.8e-295], N[(N[(t$95$1 * 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[i, 1.9e-178], N[(N[(N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision] * y5 + N[(N[((-x) * j), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[i, 8.5e+267], 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], N[(N[(N[(k * y5 + N[((-c) * x), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y), $MachinePrecision]]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := y3 \cdot z - y2 \cdot x\\
      \mathbf{if}\;i \leq -1.4 \cdot 10^{+91}:\\
      \;\;\;\;\mathsf{fma}\left(t\_1, 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}\;i \leq 5.8 \cdot 10^{-295}:\\
      \;\;\;\;\mathsf{fma}\left(t\_1, 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}\;i \leq 1.9 \cdot 10^{-178}:\\
      \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \left(\left(-x\right) \cdot j\right) \cdot b\right) \cdot y0\\
      
      \mathbf{elif}\;i \leq 8.5 \cdot 10^{+267}:\\
      \;\;\;\;\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{else}:\\
      \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 5 regimes
      2. if i < -1.3999999999999999e91

        1. Initial program 27.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 rewrites57.2%

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

        if -1.3999999999999999e91 < i < 5.8000000000000003e-295

        1. Initial program 40.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 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 rewrites59.0%

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

        if 5.8000000000000003e-295 < i < 1.90000000000000007e-178

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

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

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

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

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

          \[\leadsto \mathsf{fma}\left(-\left(k \cdot y2 - j \cdot y3\right), y5, -1 \cdot \left(b \cdot \left(j \cdot x\right)\right)\right) \cdot y0 \]
        7. Step-by-step derivation
          1. Applied rewrites54.2%

            \[\leadsto \mathsf{fma}\left(-\left(k \cdot y2 - j \cdot y3\right), y5, -b \cdot \left(j \cdot x\right)\right) \cdot y0 \]

          if 1.90000000000000007e-178 < i < 8.5000000000000007e267

          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 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 rewrites58.6%

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

          if 8.5000000000000007e267 < i

          1. Initial program 8.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 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 rewrites8.3%

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

            \[\leadsto \left(i \cdot \left(-1 \cdot \left(c \cdot x\right) + k \cdot y5\right)\right) \cdot y \]
          7. Step-by-step derivation
            1. Applied rewrites66.7%

              \[\leadsto \left(i \cdot \mathsf{fma}\left(k, y5, -c \cdot x\right)\right) \cdot y \]
          8. Recombined 5 regimes into one program.
          9. Final simplification58.4%

            \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.4 \cdot 10^{+91}:\\ \;\;\;\;\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}\;i \leq 5.8 \cdot 10^{-295}:\\ \;\;\;\;\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}\;i \leq 1.9 \cdot 10^{-178}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \left(\left(-x\right) \cdot j\right) \cdot b\right) \cdot y0\\ \mathbf{elif}\;i \leq 8.5 \cdot 10^{+267}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \end{array} \]
          10. Add Preprocessing

          Alternative 6: 38.9% accurate, 2.3× speedup?

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

            1. Initial program 15.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 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 rewrites71.0%

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

              \[\leadsto \left(y4 \cdot \left(-1 \cdot \left(c \cdot t\right) + k \cdot y1\right)\right) \cdot y2 \]
            7. Step-by-step derivation
              1. Applied rewrites70.9%

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

              if -2.40000000000000015e154 < y2 < -4.7e24

              1. Initial program 21.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 rewrites45.8%

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

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

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

                  \[\leadsto k \cdot \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(i \cdot z\right) + y2 \cdot y4\right)\right)} \]
                3. Step-by-step derivation
                  1. Applied rewrites55.0%

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

                  if -4.7e24 < y2 < -8.3999999999999999e-305

                  1. Initial program 35.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 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 rewrites39.9%

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

                    \[\leadsto \left(i \cdot \left(-1 \cdot \left(c \cdot x\right) + k \cdot y5\right)\right) \cdot y \]
                  7. Step-by-step derivation
                    1. Applied rewrites36.9%

                      \[\leadsto \left(i \cdot \mathsf{fma}\left(k, y5, -c \cdot x\right)\right) \cdot y \]
                    2. Taylor expanded in c around 0

                      \[\leadsto \left(-1 \cdot \left(a \cdot \left(y3 \cdot y5\right)\right) + \left(a \cdot \left(b \cdot x\right) + k \cdot \left(i \cdot y5 - b \cdot y4\right)\right)\right) \cdot y \]
                    3. Step-by-step derivation
                      1. Applied rewrites49.5%

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

                      if -8.3999999999999999e-305 < y2 < 8.20000000000000002e124

                      1. Initial program 38.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 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 rewrites50.0%

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

                      if 8.20000000000000002e124 < y2

                      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 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 rewrites68.4%

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

                        \[\leadsto \mathsf{fma}\left(y4 \cdot y1 - y0 \cdot y5, k, c \cdot \left(x \cdot y0\right)\right) \cdot y2 \]
                      7. Step-by-step derivation
                        1. Applied rewrites59.1%

                          \[\leadsto \mathsf{fma}\left(y4 \cdot y1 - y0 \cdot y5, k, c \cdot \left(x \cdot y0\right)\right) \cdot y2 \]
                      8. Recombined 5 regimes into one program.
                      9. Final simplification54.6%

                        \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.4 \cdot 10^{+154}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot y4\right) \cdot y2\\ \mathbf{elif}\;y2 \leq -4.7 \cdot 10^{+24}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{elif}\;y2 \leq -8.4 \cdot 10^{-305}:\\ \;\;\;\;\left(\mathsf{fma}\left(b \cdot a, x, \mathsf{fma}\left(-b, y4, y5 \cdot i\right) \cdot k\right) - \left(y5 \cdot y3\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;y2 \leq 8.2 \cdot 10^{+124}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \left(y0 \cdot x\right) \cdot c\right) \cdot y2\\ \end{array} \]
                      10. Add Preprocessing

                      Alternative 7: 39.3% accurate, 2.7× speedup?

                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := y3 \cdot z - y2 \cdot x\\ \mathbf{if}\;i \leq -1.4 \cdot 10^{+91}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, 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}\;i \leq 5.8 \cdot 10^{-295}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, 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}\;i \leq 6.5 \cdot 10^{-178}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \left(\left(-x\right) \cdot j\right) \cdot b\right) \cdot y0\\ \mathbf{elif}\;i \leq 10^{+251}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \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 (- (* y3 z) (* y2 x))))
                         (if (<= i -1.4e+91)
                           (*
                            (fma t_1 a (fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
                            y1)
                           (if (<= i 5.8e-295)
                             (*
                              (fma t_1 y1 (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
                              a)
                             (if (<= i 6.5e-178)
                               (* (fma (- (* y3 j) (* y2 k)) y5 (* (* (- x) j) b)) y0)
                               (if (<= i 1e+251)
                                 (* (fma (- (* y5 i) (* y4 b)) k (* (fma (- y3) y5 (* b x)) a)) y)
                                 (* (* (fma k y5 (* (- c) x)) i) 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 = (y3 * z) - (y2 * x);
                      	double tmp;
                      	if (i <= -1.4e+91) {
                      		tmp = fma(t_1, a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
                      	} else if (i <= 5.8e-295) {
                      		tmp = fma(t_1, y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
                      	} else if (i <= 6.5e-178) {
                      		tmp = fma(((y3 * j) - (y2 * k)), y5, ((-x * j) * b)) * y0;
                      	} else if (i <= 1e+251) {
                      		tmp = fma(((y5 * i) - (y4 * b)), k, (fma(-y3, y5, (b * x)) * a)) * y;
                      	} else {
                      		tmp = (fma(k, y5, (-c * x)) * i) * 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(y3 * z) - Float64(y2 * x))
                      	tmp = 0.0
                      	if (i <= -1.4e+91)
                      		tmp = Float64(fma(t_1, a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1);
                      	elseif (i <= 5.8e-295)
                      		tmp = Float64(fma(t_1, y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a);
                      	elseif (i <= 6.5e-178)
                      		tmp = Float64(fma(Float64(Float64(y3 * j) - Float64(y2 * k)), y5, Float64(Float64(Float64(-x) * j) * b)) * y0);
                      	elseif (i <= 1e+251)
                      		tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), k, Float64(fma(Float64(-y3), y5, Float64(b * x)) * a)) * y);
                      	else
                      		tmp = Float64(Float64(fma(k, y5, Float64(Float64(-c) * x)) * i) * 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[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[i, -1.4e+91], N[(N[(t$95$1 * 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[i, 5.8e-295], N[(N[(t$95$1 * 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[i, 6.5e-178], N[(N[(N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision] * y5 + N[(N[((-x) * j), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[i, 1e+251], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[((-y3) * y5 + N[(b * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], N[(N[(N[(k * y5 + N[((-c) * x), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y), $MachinePrecision]]]]]]
                      
                      \begin{array}{l}
                      
                      \\
                      \begin{array}{l}
                      t_1 := y3 \cdot z - y2 \cdot x\\
                      \mathbf{if}\;i \leq -1.4 \cdot 10^{+91}:\\
                      \;\;\;\;\mathsf{fma}\left(t\_1, 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}\;i \leq 5.8 \cdot 10^{-295}:\\
                      \;\;\;\;\mathsf{fma}\left(t\_1, 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}\;i \leq 6.5 \cdot 10^{-178}:\\
                      \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \left(\left(-x\right) \cdot j\right) \cdot b\right) \cdot y0\\
                      
                      \mathbf{elif}\;i \leq 10^{+251}:\\
                      \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\
                      
                      
                      \end{array}
                      \end{array}
                      
                      Derivation
                      1. Split input into 5 regimes
                      2. if i < -1.3999999999999999e91

                        1. Initial program 27.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 rewrites57.2%

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

                        if -1.3999999999999999e91 < i < 5.8000000000000003e-295

                        1. Initial program 40.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 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 rewrites59.0%

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

                        if 5.8000000000000003e-295 < i < 6.5000000000000002e-178

                        1. Initial program 22.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 y0 around inf

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

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

                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y0} \]
                        5. Applied rewrites55.6%

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

                          \[\leadsto \mathsf{fma}\left(-\left(k \cdot y2 - j \cdot y3\right), y5, -1 \cdot \left(b \cdot \left(j \cdot x\right)\right)\right) \cdot y0 \]
                        7. Step-by-step derivation
                          1. Applied rewrites55.9%

                            \[\leadsto \mathsf{fma}\left(-\left(k \cdot y2 - j \cdot y3\right), y5, -b \cdot \left(j \cdot x\right)\right) \cdot y0 \]

                          if 6.5000000000000002e-178 < i < 1e251

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

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

                            \[\leadsto \mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, a \cdot \left(-1 \cdot \left(y3 \cdot y5\right) + b \cdot x\right)\right) \cdot y \]
                          7. Step-by-step derivation
                            1. Applied rewrites56.2%

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

                            if 1e251 < i

                            1. Initial program 7.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)} \]
                            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 rewrites21.4%

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

                              \[\leadsto \left(i \cdot \left(-1 \cdot \left(c \cdot x\right) + k \cdot y5\right)\right) \cdot y \]
                            7. Step-by-step derivation
                              1. Applied rewrites64.5%

                                \[\leadsto \left(i \cdot \mathsf{fma}\left(k, y5, -c \cdot x\right)\right) \cdot y \]
                            8. Recombined 5 regimes into one program.
                            9. Final simplification57.7%

                              \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.4 \cdot 10^{+91}:\\ \;\;\;\;\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}\;i \leq 5.8 \cdot 10^{-295}:\\ \;\;\;\;\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}\;i \leq 6.5 \cdot 10^{-178}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \left(\left(-x\right) \cdot j\right) \cdot b\right) \cdot y0\\ \mathbf{elif}\;i \leq 10^{+251}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \end{array} \]
                            10. Add Preprocessing

                            Alternative 8: 34.7% accurate, 3.0× speedup?

                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -7.8 \cdot 10^{+90}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;t \leq -6.6 \cdot 10^{+18}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{elif}\;t \leq -9.5 \cdot 10^{-63}:\\ \;\;\;\;\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot \left(y1 \cdot z\right)\\ \mathbf{elif}\;t \leq 20000:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;t \leq 6.8 \cdot 10^{+103}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot y1\right) \cdot a\\ \mathbf{elif}\;t \leq 8.2 \cdot 10^{+184}:\\ \;\;\;\;\left(\mathsf{fma}\left(-1, y0 \cdot k, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \end{array} \end{array} \]
                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                             :precision binary64
                             (if (<= t -7.8e+90)
                               (* (* (fma k y (* (- j) t)) i) y5)
                               (if (<= t -6.6e+18)
                                 (* (* (fma (- b) j (* y2 c)) y0) x)
                                 (if (<= t -9.5e-63)
                                   (* (fma (- i) k (* y3 a)) (* y1 z))
                                   (if (<= t 20000.0)
                                     (* (fma (- (* y5 i) (* y4 b)) k (* (fma (- y3) y5 (* b x)) a)) y)
                                     (if (<= t 6.8e+103)
                                       (* (* (fma y3 z (* (- x) y2)) y1) a)
                                       (if (<= t 8.2e+184)
                                         (* (* (fma -1.0 (* y0 k) (* a t)) y5) y2)
                                         (* (* (fma x y (* (- t) z)) b) a))))))))
                            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 (t <= -7.8e+90) {
                            		tmp = (fma(k, y, (-j * t)) * i) * y5;
                            	} else if (t <= -6.6e+18) {
                            		tmp = (fma(-b, j, (y2 * c)) * y0) * x;
                            	} else if (t <= -9.5e-63) {
                            		tmp = fma(-i, k, (y3 * a)) * (y1 * z);
                            	} else if (t <= 20000.0) {
                            		tmp = fma(((y5 * i) - (y4 * b)), k, (fma(-y3, y5, (b * x)) * a)) * y;
                            	} else if (t <= 6.8e+103) {
                            		tmp = (fma(y3, z, (-x * y2)) * y1) * a;
                            	} else if (t <= 8.2e+184) {
                            		tmp = (fma(-1.0, (y0 * k), (a * t)) * y5) * y2;
                            	} else {
                            		tmp = (fma(x, y, (-t * z)) * b) * a;
                            	}
                            	return tmp;
                            }
                            
                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                            	tmp = 0.0
                            	if (t <= -7.8e+90)
                            		tmp = Float64(Float64(fma(k, y, Float64(Float64(-j) * t)) * i) * y5);
                            	elseif (t <= -6.6e+18)
                            		tmp = Float64(Float64(fma(Float64(-b), j, Float64(y2 * c)) * y0) * x);
                            	elseif (t <= -9.5e-63)
                            		tmp = Float64(fma(Float64(-i), k, Float64(y3 * a)) * Float64(y1 * z));
                            	elseif (t <= 20000.0)
                            		tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), k, Float64(fma(Float64(-y3), y5, Float64(b * x)) * a)) * y);
                            	elseif (t <= 6.8e+103)
                            		tmp = Float64(Float64(fma(y3, z, Float64(Float64(-x) * y2)) * y1) * a);
                            	elseif (t <= 8.2e+184)
                            		tmp = Float64(Float64(fma(-1.0, Float64(y0 * k), Float64(a * t)) * y5) * y2);
                            	else
                            		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * b) * a);
                            	end
                            	return tmp
                            end
                            
                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[t, -7.8e+90], N[(N[(N[(k * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[t, -6.6e+18], N[(N[(N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[t, -9.5e-63], N[(N[((-i) * k + N[(y3 * a), $MachinePrecision]), $MachinePrecision] * N[(y1 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 20000.0], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[((-y3) * y5 + N[(b * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[t, 6.8e+103], N[(N[(N[(y3 * z + N[((-x) * y2), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[t, 8.2e+184], N[(N[(N[(-1.0 * N[(y0 * k), $MachinePrecision] + N[(a * t), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y2), $MachinePrecision], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * a), $MachinePrecision]]]]]]]
                            
                            \begin{array}{l}
                            
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;t \leq -7.8 \cdot 10^{+90}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                            
                            \mathbf{elif}\;t \leq -6.6 \cdot 10^{+18}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\
                            
                            \mathbf{elif}\;t \leq -9.5 \cdot 10^{-63}:\\
                            \;\;\;\;\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot \left(y1 \cdot z\right)\\
                            
                            \mathbf{elif}\;t \leq 20000:\\
                            \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\
                            
                            \mathbf{elif}\;t \leq 6.8 \cdot 10^{+103}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot y1\right) \cdot a\\
                            
                            \mathbf{elif}\;t \leq 8.2 \cdot 10^{+184}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(-1, y0 \cdot k, a \cdot t\right) \cdot y5\right) \cdot y2\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 7 regimes
                            2. if t < -7.8000000000000004e90

                              1. Initial program 21.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 rewrites62.3%

                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, k \cdot y2 - j \cdot y3, \left(t \cdot y2 - y \cdot y3\right) \cdot a\right)\right) \cdot y5} \]
                              6. Taylor expanded in 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 rewrites54.1%

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

                                if -7.8000000000000004e90 < t < -6.6e18

                                1. Initial program 53.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 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 rewrites60.5%

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

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

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

                                    \[\leadsto \left(y0 \cdot \left(-1 \cdot \left(b \cdot j\right) + c \cdot y2\right)\right) \cdot x \]
                                  3. Step-by-step derivation
                                    1. Applied rewrites61.0%

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

                                    if -6.6e18 < t < -9.50000000000000016e-63

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

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

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

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

                                        \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(i \cdot k\right) + a \cdot y3\right)\right)} \]
                                      3. Step-by-step derivation
                                        1. Applied rewrites71.2%

                                          \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right)} \]
                                        2. Step-by-step derivation
                                          1. Applied rewrites71.2%

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

                                          if -9.50000000000000016e-63 < t < 2e4

                                          1. Initial program 35.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 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 rewrites48.8%

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

                                            \[\leadsto \mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, a \cdot \left(-1 \cdot \left(y3 \cdot y5\right) + b \cdot x\right)\right) \cdot y \]
                                          7. Step-by-step derivation
                                            1. Applied rewrites50.6%

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

                                            if 2e4 < t < 6.7999999999999997e103

                                            1. Initial program 26.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 rewrites61.8%

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

                                              \[\leadsto a \cdot \color{blue}{\left(y1 \cdot \left(y3 \cdot z - x \cdot y2\right)\right)} \]
                                            7. Step-by-step derivation
                                              1. Applied rewrites65.9%

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

                                              if 6.7999999999999997e103 < t < 8.1999999999999993e184

                                              1. Initial program 22.2%

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

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

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

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

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

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

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

                                                if 8.1999999999999993e184 < t

                                                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 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 rewrites40.6%

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

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

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

                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -7.8 \cdot 10^{+90}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;t \leq -6.6 \cdot 10^{+18}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{elif}\;t \leq -9.5 \cdot 10^{-63}:\\ \;\;\;\;\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot \left(y1 \cdot z\right)\\ \mathbf{elif}\;t \leq 20000:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;t \leq 6.8 \cdot 10^{+103}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot y1\right) \cdot a\\ \mathbf{elif}\;t \leq 8.2 \cdot 10^{+184}:\\ \;\;\;\;\left(\mathsf{fma}\left(-1, y0 \cdot k, a \cdot t\right) \cdot y5\right) \cdot y2\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \end{array} \]
                                                10. Add Preprocessing

                                                Alternative 9: 32.6% accurate, 3.1× speedup?

                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-i, k, y3 \cdot a\right)\\ \mathbf{if}\;z \leq -3.05 \cdot 10^{+240}:\\ \;\;\;\;t\_1 \cdot \left(y1 \cdot z\right)\\ \mathbf{elif}\;z \leq -9.5 \cdot 10^{+28}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;z \leq -4.5 \cdot 10^{-81}:\\ \;\;\;\;\left(\mathsf{fma}\left(-1, i \cdot y, y2 \cdot y0\right) \cdot x\right) \cdot c\\ \mathbf{elif}\;z \leq -2.15 \cdot 10^{-294}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, y, y2 \cdot y0\right) \cdot y5\right) \cdot \left(-k\right)\\ \mathbf{elif}\;z \leq 4.2 \cdot 10^{-222}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot y4\right) \cdot y2\\ \mathbf{elif}\;z \leq 2.1 \cdot 10^{-61}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;z \leq 4.9 \cdot 10^{+58}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(t\_1 \cdot z\right) \cdot y1\\ \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) k (* y3 a))))
                                                   (if (<= z -3.05e+240)
                                                     (* t_1 (* y1 z))
                                                     (if (<= z -9.5e+28)
                                                       (* (* (fma x y (* (- t) z)) b) a)
                                                       (if (<= z -4.5e-81)
                                                         (* (* (fma -1.0 (* i y) (* y2 y0)) x) c)
                                                         (if (<= z -2.15e-294)
                                                           (* (* (fma (- i) y (* y2 y0)) y5) (- k))
                                                           (if (<= z 4.2e-222)
                                                             (* (* (fma k y1 (* (- t) c)) y4) y2)
                                                             (if (<= z 2.1e-61)
                                                               (* (* (fma (- y3) y5 (* b x)) a) y)
                                                               (if (<= z 4.9e+58)
                                                                 (* (* (fma j y3 (* (- k) y2)) y5) y0)
                                                                 (* (* t_1 z) y1))))))))))
                                                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, k, (y3 * a));
                                                	double tmp;
                                                	if (z <= -3.05e+240) {
                                                		tmp = t_1 * (y1 * z);
                                                	} else if (z <= -9.5e+28) {
                                                		tmp = (fma(x, y, (-t * z)) * b) * a;
                                                	} else if (z <= -4.5e-81) {
                                                		tmp = (fma(-1.0, (i * y), (y2 * y0)) * x) * c;
                                                	} else if (z <= -2.15e-294) {
                                                		tmp = (fma(-i, y, (y2 * y0)) * y5) * -k;
                                                	} else if (z <= 4.2e-222) {
                                                		tmp = (fma(k, y1, (-t * c)) * y4) * y2;
                                                	} else if (z <= 2.1e-61) {
                                                		tmp = (fma(-y3, y5, (b * x)) * a) * y;
                                                	} else if (z <= 4.9e+58) {
                                                		tmp = (fma(j, y3, (-k * y2)) * y5) * y0;
                                                	} else {
                                                		tmp = (t_1 * z) * y1;
                                                	}
                                                	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), k, Float64(y3 * a))
                                                	tmp = 0.0
                                                	if (z <= -3.05e+240)
                                                		tmp = Float64(t_1 * Float64(y1 * z));
                                                	elseif (z <= -9.5e+28)
                                                		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * b) * a);
                                                	elseif (z <= -4.5e-81)
                                                		tmp = Float64(Float64(fma(-1.0, Float64(i * y), Float64(y2 * y0)) * x) * c);
                                                	elseif (z <= -2.15e-294)
                                                		tmp = Float64(Float64(fma(Float64(-i), y, Float64(y2 * y0)) * y5) * Float64(-k));
                                                	elseif (z <= 4.2e-222)
                                                		tmp = Float64(Float64(fma(k, y1, Float64(Float64(-t) * c)) * y4) * y2);
                                                	elseif (z <= 2.1e-61)
                                                		tmp = Float64(Float64(fma(Float64(-y3), y5, Float64(b * x)) * a) * y);
                                                	elseif (z <= 4.9e+58)
                                                		tmp = Float64(Float64(fma(j, y3, Float64(Float64(-k) * y2)) * y5) * y0);
                                                	else
                                                		tmp = Float64(Float64(t_1 * z) * y1);
                                                	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) * k + N[(y3 * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.05e+240], N[(t$95$1 * N[(y1 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -9.5e+28], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[z, -4.5e-81], N[(N[(N[(-1.0 * N[(i * y), $MachinePrecision] + N[(y2 * y0), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[z, -2.15e-294], N[(N[(N[((-i) * y + N[(y2 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * (-k)), $MachinePrecision], If[LessEqual[z, 4.2e-222], N[(N[(N[(k * y1 + N[((-t) * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[z, 2.1e-61], N[(N[(N[((-y3) * y5 + N[(b * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[z, 4.9e+58], N[(N[(N[(j * y3 + N[((-k) * y2), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y0), $MachinePrecision], N[(N[(t$95$1 * z), $MachinePrecision] * y1), $MachinePrecision]]]]]]]]]
                                                
                                                \begin{array}{l}
                                                
                                                \\
                                                \begin{array}{l}
                                                t_1 := \mathsf{fma}\left(-i, k, y3 \cdot a\right)\\
                                                \mathbf{if}\;z \leq -3.05 \cdot 10^{+240}:\\
                                                \;\;\;\;t\_1 \cdot \left(y1 \cdot z\right)\\
                                                
                                                \mathbf{elif}\;z \leq -9.5 \cdot 10^{+28}:\\
                                                \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\
                                                
                                                \mathbf{elif}\;z \leq -4.5 \cdot 10^{-81}:\\
                                                \;\;\;\;\left(\mathsf{fma}\left(-1, i \cdot y, y2 \cdot y0\right) \cdot x\right) \cdot c\\
                                                
                                                \mathbf{elif}\;z \leq -2.15 \cdot 10^{-294}:\\
                                                \;\;\;\;\left(\mathsf{fma}\left(-i, y, y2 \cdot y0\right) \cdot y5\right) \cdot \left(-k\right)\\
                                                
                                                \mathbf{elif}\;z \leq 4.2 \cdot 10^{-222}:\\
                                                \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot y4\right) \cdot y2\\
                                                
                                                \mathbf{elif}\;z \leq 2.1 \cdot 10^{-61}:\\
                                                \;\;\;\;\left(\mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\
                                                
                                                \mathbf{elif}\;z \leq 4.9 \cdot 10^{+58}:\\
                                                \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\
                                                
                                                \mathbf{else}:\\
                                                \;\;\;\;\left(t\_1 \cdot z\right) \cdot y1\\
                                                
                                                
                                                \end{array}
                                                \end{array}
                                                
                                                Derivation
                                                1. Split input into 8 regimes
                                                2. if z < -3.05e240

                                                  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 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 rewrites50.5%

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

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

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

                                                      \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(i \cdot k\right) + a \cdot y3\right)\right)} \]
                                                    3. Step-by-step derivation
                                                      1. Applied rewrites60.4%

                                                        \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right)} \]
                                                      2. Step-by-step derivation
                                                        1. Applied rewrites67.6%

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

                                                        if -3.05e240 < z < -9.49999999999999927e28

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

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

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

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

                                                          if -9.49999999999999927e28 < z < -4.5e-81

                                                          1. Initial program 33.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 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 rewrites49.9%

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

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

                                                              \[\leadsto c \cdot \color{blue}{\left(x \cdot \mathsf{fma}\left(-1, i \cdot y, y0 \cdot y2\right)\right)} \]

                                                            if -4.5e-81 < z < -2.1500000000000001e-294

                                                            1. Initial program 40.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 rewrites50.8%

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

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

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

                                                                \[\leadsto a \cdot \left(t \cdot \left(y2 \cdot \color{blue}{y5}\right)\right) \]
                                                              3. Step-by-step derivation
                                                                1. Applied rewrites20.4%

                                                                  \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot y5\right) \]
                                                                2. Taylor expanded in k around -inf

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

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

                                                                  if -2.1500000000000001e-294 < z < 4.1999999999999998e-222

                                                                  1. Initial program 37.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 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 rewrites56.3%

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

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

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

                                                                    if 4.1999999999999998e-222 < z < 2.0999999999999999e-61

                                                                    1. Initial program 37.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 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 rewrites43.2%

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

                                                                      \[\leadsto \left(a \cdot \left(-1 \cdot \left(y3 \cdot y5\right) + b \cdot x\right)\right) \cdot y \]
                                                                    7. Step-by-step derivation
                                                                      1. Applied rewrites61.1%

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

                                                                      if 2.0999999999999999e-61 < z < 4.90000000000000018e58

                                                                      1. Initial program 34.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 y0 around inf

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

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

                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y0} \]
                                                                      5. Applied rewrites38.2%

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

                                                                        \[\leadsto \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) \cdot y0 \]
                                                                      7. Step-by-step derivation
                                                                        1. Applied rewrites47.4%

                                                                          \[\leadsto \left(y5 \cdot \mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right)\right) \cdot y0 \]

                                                                        if 4.90000000000000018e58 < z

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

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

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

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

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

                                                                              \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right)} \]
                                                                          4. Recombined 8 regimes into one program.
                                                                          5. Final simplification54.7%

                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.05 \cdot 10^{+240}:\\ \;\;\;\;\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot \left(y1 \cdot z\right)\\ \mathbf{elif}\;z \leq -9.5 \cdot 10^{+28}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;z \leq -4.5 \cdot 10^{-81}:\\ \;\;\;\;\left(\mathsf{fma}\left(-1, i \cdot y, y2 \cdot y0\right) \cdot x\right) \cdot c\\ \mathbf{elif}\;z \leq -2.15 \cdot 10^{-294}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, y, y2 \cdot y0\right) \cdot y5\right) \cdot \left(-k\right)\\ \mathbf{elif}\;z \leq 4.2 \cdot 10^{-222}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot y4\right) \cdot y2\\ \mathbf{elif}\;z \leq 2.1 \cdot 10^{-61}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;z \leq 4.9 \cdot 10^{+58}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot z\right) \cdot y1\\ \end{array} \]
                                                                          6. Add Preprocessing

                                                                          Alternative 10: 34.7% accurate, 3.1× speedup?

                                                                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{if}\;i \leq -1.32 \cdot 10^{+47}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-70}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{-301}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;i \leq 9.6 \cdot 10^{-178}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \left(\left(-x\right) \cdot j\right) \cdot b\right) \cdot y0\\ \mathbf{elif}\;i \leq 1.15 \cdot 10^{+106}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;i \leq 1.85 \cdot 10^{+177}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \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 y (* (- j) t)) i) y5)))
                                                                             (if (<= i -1.32e+47)
                                                                               t_1
                                                                               (if (<= i -5e-70)
                                                                                 (* (* (fma x y (* (- t) z)) b) a)
                                                                                 (if (<= i 1.55e-301)
                                                                                   (* (* (fma (- x) y1 (* y5 t)) y2) a)
                                                                                   (if (<= i 9.6e-178)
                                                                                     (* (fma (- (* y3 j) (* y2 k)) y5 (* (* (- x) j) b)) y0)
                                                                                     (if (<= i 1.15e+106)
                                                                                       (* (fma (* y5 i) k (* (fma (- y3) y5 (* b x)) a)) y)
                                                                                       (if (<= i 1.85e+177)
                                                                                         (* (* (fma (- i) z (* y4 y2)) y1) k)
                                                                                         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, y, (-j * t)) * i) * y5;
                                                                          	double tmp;
                                                                          	if (i <= -1.32e+47) {
                                                                          		tmp = t_1;
                                                                          	} else if (i <= -5e-70) {
                                                                          		tmp = (fma(x, y, (-t * z)) * b) * a;
                                                                          	} else if (i <= 1.55e-301) {
                                                                          		tmp = (fma(-x, y1, (y5 * t)) * y2) * a;
                                                                          	} else if (i <= 9.6e-178) {
                                                                          		tmp = fma(((y3 * j) - (y2 * k)), y5, ((-x * j) * b)) * y0;
                                                                          	} else if (i <= 1.15e+106) {
                                                                          		tmp = fma((y5 * i), k, (fma(-y3, y5, (b * x)) * a)) * y;
                                                                          	} else if (i <= 1.85e+177) {
                                                                          		tmp = (fma(-i, z, (y4 * y2)) * y1) * k;
                                                                          	} 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(k, y, Float64(Float64(-j) * t)) * i) * y5)
                                                                          	tmp = 0.0
                                                                          	if (i <= -1.32e+47)
                                                                          		tmp = t_1;
                                                                          	elseif (i <= -5e-70)
                                                                          		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * b) * a);
                                                                          	elseif (i <= 1.55e-301)
                                                                          		tmp = Float64(Float64(fma(Float64(-x), y1, Float64(y5 * t)) * y2) * a);
                                                                          	elseif (i <= 9.6e-178)
                                                                          		tmp = Float64(fma(Float64(Float64(y3 * j) - Float64(y2 * k)), y5, Float64(Float64(Float64(-x) * j) * b)) * y0);
                                                                          	elseif (i <= 1.15e+106)
                                                                          		tmp = Float64(fma(Float64(y5 * i), k, Float64(fma(Float64(-y3), y5, Float64(b * x)) * a)) * y);
                                                                          	elseif (i <= 1.85e+177)
                                                                          		tmp = Float64(Float64(fma(Float64(-i), z, Float64(y4 * y2)) * y1) * k);
                                                                          	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 * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[i, -1.32e+47], t$95$1, If[LessEqual[i, -5e-70], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[i, 1.55e-301], N[(N[(N[((-x) * y1 + N[(y5 * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[i, 9.6e-178], N[(N[(N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision] * y5 + N[(N[((-x) * j), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[i, 1.15e+106], N[(N[(N[(y5 * i), $MachinePrecision] * k + N[(N[((-y3) * y5 + N[(b * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[i, 1.85e+177], N[(N[(N[((-i) * z + N[(y4 * y2), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * k), $MachinePrecision], t$95$1]]]]]]]
                                                                          
                                                                          \begin{array}{l}
                                                                          
                                                                          \\
                                                                          \begin{array}{l}
                                                                          t_1 := \left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                                                          \mathbf{if}\;i \leq -1.32 \cdot 10^{+47}:\\
                                                                          \;\;\;\;t\_1\\
                                                                          
                                                                          \mathbf{elif}\;i \leq -5 \cdot 10^{-70}:\\
                                                                          \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\
                                                                          
                                                                          \mathbf{elif}\;i \leq 1.55 \cdot 10^{-301}:\\
                                                                          \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\
                                                                          
                                                                          \mathbf{elif}\;i \leq 9.6 \cdot 10^{-178}:\\
                                                                          \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \left(\left(-x\right) \cdot j\right) \cdot b\right) \cdot y0\\
                                                                          
                                                                          \mathbf{elif}\;i \leq 1.15 \cdot 10^{+106}:\\
                                                                          \;\;\;\;\mathsf{fma}\left(y5 \cdot i, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\
                                                                          
                                                                          \mathbf{elif}\;i \leq 1.85 \cdot 10^{+177}:\\
                                                                          \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\
                                                                          
                                                                          \mathbf{else}:\\
                                                                          \;\;\;\;t\_1\\
                                                                          
                                                                          
                                                                          \end{array}
                                                                          \end{array}
                                                                          
                                                                          Derivation
                                                                          1. Split input into 6 regimes
                                                                          2. if i < -1.31999999999999992e47 or 1.85000000000000007e177 < i

                                                                            1. Initial program 27.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 rewrites53.8%

                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, k \cdot y2 - j \cdot y3, \left(t \cdot y2 - y \cdot y3\right) \cdot a\right)\right) \cdot y5} \]
                                                                            6. Taylor expanded in 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 rewrites57.5%

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

                                                                              if -1.31999999999999992e47 < i < -4.9999999999999998e-70

                                                                              1. Initial program 41.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 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 rewrites59.6%

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

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

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

                                                                                if -4.9999999999999998e-70 < i < 1.55000000000000007e-301

                                                                                1. Initial program 40.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 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 rewrites56.9%

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

                                                                                  \[\leadsto \left(y2 \cdot \left(-1 \cdot \left(x \cdot y1\right) + t \cdot y5\right)\right) \cdot a \]
                                                                                7. Step-by-step derivation
                                                                                  1. Applied rewrites48.2%

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

                                                                                  if 1.55000000000000007e-301 < i < 9.6000000000000002e-178

                                                                                  1. Initial program 22.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 y0 around inf

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

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

                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y0} \]
                                                                                  5. Applied rewrites55.6%

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

                                                                                    \[\leadsto \mathsf{fma}\left(-\left(k \cdot y2 - j \cdot y3\right), y5, -1 \cdot \left(b \cdot \left(j \cdot x\right)\right)\right) \cdot y0 \]
                                                                                  7. Step-by-step derivation
                                                                                    1. Applied rewrites55.9%

                                                                                      \[\leadsto \mathsf{fma}\left(-\left(k \cdot y2 - j \cdot y3\right), y5, -b \cdot \left(j \cdot x\right)\right) \cdot y0 \]

                                                                                    if 9.6000000000000002e-178 < i < 1.1500000000000001e106

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

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

                                                                                      \[\leadsto \mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, a \cdot \left(-1 \cdot \left(y3 \cdot y5\right) + b \cdot x\right)\right) \cdot y \]
                                                                                    7. Step-by-step derivation
                                                                                      1. Applied rewrites55.9%

                                                                                        \[\leadsto \mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, a \cdot \mathsf{fma}\left(-y3, y5, b \cdot x\right)\right) \cdot y \]
                                                                                      2. Taylor expanded in b around 0

                                                                                        \[\leadsto \mathsf{fma}\left(i \cdot y5, k, a \cdot \mathsf{fma}\left(-y3, y5, b \cdot x\right)\right) \cdot y \]
                                                                                      3. Step-by-step derivation
                                                                                        1. Applied rewrites51.5%

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

                                                                                        if 1.1500000000000001e106 < i < 1.85000000000000007e177

                                                                                        1. Initial program 25.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 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 rewrites50.0%

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

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

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

                                                                                            \[\leadsto k \cdot \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(i \cdot z\right) + y2 \cdot y4\right)\right)} \]
                                                                                          3. Step-by-step derivation
                                                                                            1. Applied rewrites75.5%

                                                                                              \[\leadsto k \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)} \]
                                                                                          4. Recombined 6 regimes into one program.
                                                                                          5. Final simplification54.2%

                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.32 \cdot 10^{+47}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-70}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{-301}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;i \leq 9.6 \cdot 10^{-178}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \left(\left(-x\right) \cdot j\right) \cdot b\right) \cdot y0\\ \mathbf{elif}\;i \leq 1.15 \cdot 10^{+106}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;i \leq 1.85 \cdot 10^{+177}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \end{array} \]
                                                                                          6. Add Preprocessing

                                                                                          Alternative 11: 34.3% accurate, 3.1× speedup?

                                                                                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{if}\;i \leq -1.32 \cdot 10^{+47}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-70}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;i \leq 2.7 \cdot 10^{-295}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;i \leq 6.8 \cdot 10^{-178}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\ \mathbf{elif}\;i \leq 1.15 \cdot 10^{+106}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;i \leq 1.85 \cdot 10^{+177}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \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 y (* (- j) t)) i) y5)))
                                                                                             (if (<= i -1.32e+47)
                                                                                               t_1
                                                                                               (if (<= i -5e-70)
                                                                                                 (* (* (fma x y (* (- t) z)) b) a)
                                                                                                 (if (<= i 2.7e-295)
                                                                                                   (* (* (fma (- x) y1 (* y5 t)) y2) a)
                                                                                                   (if (<= i 6.8e-178)
                                                                                                     (* (* (fma j y3 (* (- k) y2)) y5) y0)
                                                                                                     (if (<= i 1.15e+106)
                                                                                                       (* (fma (* y5 i) k (* (fma (- y3) y5 (* b x)) a)) y)
                                                                                                       (if (<= i 1.85e+177)
                                                                                                         (* (* (fma (- i) z (* y4 y2)) y1) k)
                                                                                                         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, y, (-j * t)) * i) * y5;
                                                                                          	double tmp;
                                                                                          	if (i <= -1.32e+47) {
                                                                                          		tmp = t_1;
                                                                                          	} else if (i <= -5e-70) {
                                                                                          		tmp = (fma(x, y, (-t * z)) * b) * a;
                                                                                          	} else if (i <= 2.7e-295) {
                                                                                          		tmp = (fma(-x, y1, (y5 * t)) * y2) * a;
                                                                                          	} else if (i <= 6.8e-178) {
                                                                                          		tmp = (fma(j, y3, (-k * y2)) * y5) * y0;
                                                                                          	} else if (i <= 1.15e+106) {
                                                                                          		tmp = fma((y5 * i), k, (fma(-y3, y5, (b * x)) * a)) * y;
                                                                                          	} else if (i <= 1.85e+177) {
                                                                                          		tmp = (fma(-i, z, (y4 * y2)) * y1) * k;
                                                                                          	} 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(k, y, Float64(Float64(-j) * t)) * i) * y5)
                                                                                          	tmp = 0.0
                                                                                          	if (i <= -1.32e+47)
                                                                                          		tmp = t_1;
                                                                                          	elseif (i <= -5e-70)
                                                                                          		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * b) * a);
                                                                                          	elseif (i <= 2.7e-295)
                                                                                          		tmp = Float64(Float64(fma(Float64(-x), y1, Float64(y5 * t)) * y2) * a);
                                                                                          	elseif (i <= 6.8e-178)
                                                                                          		tmp = Float64(Float64(fma(j, y3, Float64(Float64(-k) * y2)) * y5) * y0);
                                                                                          	elseif (i <= 1.15e+106)
                                                                                          		tmp = Float64(fma(Float64(y5 * i), k, Float64(fma(Float64(-y3), y5, Float64(b * x)) * a)) * y);
                                                                                          	elseif (i <= 1.85e+177)
                                                                                          		tmp = Float64(Float64(fma(Float64(-i), z, Float64(y4 * y2)) * y1) * k);
                                                                                          	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 * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[i, -1.32e+47], t$95$1, If[LessEqual[i, -5e-70], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[i, 2.7e-295], N[(N[(N[((-x) * y1 + N[(y5 * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[i, 6.8e-178], N[(N[(N[(j * y3 + N[((-k) * y2), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[i, 1.15e+106], N[(N[(N[(y5 * i), $MachinePrecision] * k + N[(N[((-y3) * y5 + N[(b * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[i, 1.85e+177], N[(N[(N[((-i) * z + N[(y4 * y2), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * k), $MachinePrecision], t$95$1]]]]]]]
                                                                                          
                                                                                          \begin{array}{l}
                                                                                          
                                                                                          \\
                                                                                          \begin{array}{l}
                                                                                          t_1 := \left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                                                                          \mathbf{if}\;i \leq -1.32 \cdot 10^{+47}:\\
                                                                                          \;\;\;\;t\_1\\
                                                                                          
                                                                                          \mathbf{elif}\;i \leq -5 \cdot 10^{-70}:\\
                                                                                          \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\
                                                                                          
                                                                                          \mathbf{elif}\;i \leq 2.7 \cdot 10^{-295}:\\
                                                                                          \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\
                                                                                          
                                                                                          \mathbf{elif}\;i \leq 6.8 \cdot 10^{-178}:\\
                                                                                          \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\
                                                                                          
                                                                                          \mathbf{elif}\;i \leq 1.15 \cdot 10^{+106}:\\
                                                                                          \;\;\;\;\mathsf{fma}\left(y5 \cdot i, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\
                                                                                          
                                                                                          \mathbf{elif}\;i \leq 1.85 \cdot 10^{+177}:\\
                                                                                          \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\
                                                                                          
                                                                                          \mathbf{else}:\\
                                                                                          \;\;\;\;t\_1\\
                                                                                          
                                                                                          
                                                                                          \end{array}
                                                                                          \end{array}
                                                                                          
                                                                                          Derivation
                                                                                          1. Split input into 6 regimes
                                                                                          2. if i < -1.31999999999999992e47 or 1.85000000000000007e177 < i

                                                                                            1. Initial program 27.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 rewrites53.8%

                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, k \cdot y2 - j \cdot y3, \left(t \cdot y2 - y \cdot y3\right) \cdot a\right)\right) \cdot y5} \]
                                                                                            6. Taylor expanded in 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 rewrites57.5%

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

                                                                                              if -1.31999999999999992e47 < i < -4.9999999999999998e-70

                                                                                              1. Initial program 41.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 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 rewrites59.6%

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

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

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

                                                                                                if -4.9999999999999998e-70 < i < 2.7000000000000001e-295

                                                                                                1. Initial program 40.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 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 rewrites56.9%

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

                                                                                                  \[\leadsto \left(y2 \cdot \left(-1 \cdot \left(x \cdot y1\right) + t \cdot y5\right)\right) \cdot a \]
                                                                                                7. Step-by-step derivation
                                                                                                  1. Applied rewrites48.2%

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

                                                                                                  if 2.7000000000000001e-295 < i < 6.79999999999999945e-178

                                                                                                  1. Initial program 22.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 y0 around inf

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

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

                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y0} \]
                                                                                                  5. Applied rewrites55.6%

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

                                                                                                    \[\leadsto \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) \cdot y0 \]
                                                                                                  7. Step-by-step derivation
                                                                                                    1. Applied rewrites55.1%

                                                                                                      \[\leadsto \left(y5 \cdot \mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right)\right) \cdot y0 \]

                                                                                                    if 6.79999999999999945e-178 < i < 1.1500000000000001e106

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

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

                                                                                                      \[\leadsto \mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, a \cdot \left(-1 \cdot \left(y3 \cdot y5\right) + b \cdot x\right)\right) \cdot y \]
                                                                                                    7. Step-by-step derivation
                                                                                                      1. Applied rewrites55.9%

                                                                                                        \[\leadsto \mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), k, a \cdot \mathsf{fma}\left(-y3, y5, b \cdot x\right)\right) \cdot y \]
                                                                                                      2. Taylor expanded in b around 0

                                                                                                        \[\leadsto \mathsf{fma}\left(i \cdot y5, k, a \cdot \mathsf{fma}\left(-y3, y5, b \cdot x\right)\right) \cdot y \]
                                                                                                      3. Step-by-step derivation
                                                                                                        1. Applied rewrites51.5%

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

                                                                                                        if 1.1500000000000001e106 < i < 1.85000000000000007e177

                                                                                                        1. Initial program 25.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 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 rewrites50.0%

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

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

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

                                                                                                            \[\leadsto k \cdot \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(i \cdot z\right) + y2 \cdot y4\right)\right)} \]
                                                                                                          3. Step-by-step derivation
                                                                                                            1. Applied rewrites75.5%

                                                                                                              \[\leadsto k \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)} \]
                                                                                                          4. Recombined 6 regimes into one program.
                                                                                                          5. Final simplification54.2%

                                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.32 \cdot 10^{+47}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-70}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;i \leq 2.7 \cdot 10^{-295}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;i \leq 6.8 \cdot 10^{-178}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\ \mathbf{elif}\;i \leq 1.15 \cdot 10^{+106}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i, k, \mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;i \leq 1.85 \cdot 10^{+177}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \end{array} \]
                                                                                                          6. Add Preprocessing

                                                                                                          Alternative 12: 32.9% accurate, 3.4× speedup?

                                                                                                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-i, k, y3 \cdot a\right)\\ \mathbf{if}\;z \leq -3.05 \cdot 10^{+240}:\\ \;\;\;\;t\_1 \cdot \left(y1 \cdot z\right)\\ \mathbf{elif}\;z \leq -6.2 \cdot 10^{+24}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;z \leq -2.15 \cdot 10^{-294}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, y, y2 \cdot y0\right) \cdot y5\right) \cdot \left(-k\right)\\ \mathbf{elif}\;z \leq 4.2 \cdot 10^{-222}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot y4\right) \cdot y2\\ \mathbf{elif}\;z \leq 2.1 \cdot 10^{-61}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;z \leq 4.9 \cdot 10^{+58}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(t\_1 \cdot z\right) \cdot y1\\ \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) k (* y3 a))))
                                                                                                             (if (<= z -3.05e+240)
                                                                                                               (* t_1 (* y1 z))
                                                                                                               (if (<= z -6.2e+24)
                                                                                                                 (* (* (fma x y (* (- t) z)) b) a)
                                                                                                                 (if (<= z -2.15e-294)
                                                                                                                   (* (* (fma (- i) y (* y2 y0)) y5) (- k))
                                                                                                                   (if (<= z 4.2e-222)
                                                                                                                     (* (* (fma k y1 (* (- t) c)) y4) y2)
                                                                                                                     (if (<= z 2.1e-61)
                                                                                                                       (* (* (fma (- y3) y5 (* b x)) a) y)
                                                                                                                       (if (<= z 4.9e+58)
                                                                                                                         (* (* (fma j y3 (* (- k) y2)) y5) y0)
                                                                                                                         (* (* t_1 z) y1)))))))))
                                                                                                          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, k, (y3 * a));
                                                                                                          	double tmp;
                                                                                                          	if (z <= -3.05e+240) {
                                                                                                          		tmp = t_1 * (y1 * z);
                                                                                                          	} else if (z <= -6.2e+24) {
                                                                                                          		tmp = (fma(x, y, (-t * z)) * b) * a;
                                                                                                          	} else if (z <= -2.15e-294) {
                                                                                                          		tmp = (fma(-i, y, (y2 * y0)) * y5) * -k;
                                                                                                          	} else if (z <= 4.2e-222) {
                                                                                                          		tmp = (fma(k, y1, (-t * c)) * y4) * y2;
                                                                                                          	} else if (z <= 2.1e-61) {
                                                                                                          		tmp = (fma(-y3, y5, (b * x)) * a) * y;
                                                                                                          	} else if (z <= 4.9e+58) {
                                                                                                          		tmp = (fma(j, y3, (-k * y2)) * y5) * y0;
                                                                                                          	} else {
                                                                                                          		tmp = (t_1 * z) * y1;
                                                                                                          	}
                                                                                                          	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), k, Float64(y3 * a))
                                                                                                          	tmp = 0.0
                                                                                                          	if (z <= -3.05e+240)
                                                                                                          		tmp = Float64(t_1 * Float64(y1 * z));
                                                                                                          	elseif (z <= -6.2e+24)
                                                                                                          		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * b) * a);
                                                                                                          	elseif (z <= -2.15e-294)
                                                                                                          		tmp = Float64(Float64(fma(Float64(-i), y, Float64(y2 * y0)) * y5) * Float64(-k));
                                                                                                          	elseif (z <= 4.2e-222)
                                                                                                          		tmp = Float64(Float64(fma(k, y1, Float64(Float64(-t) * c)) * y4) * y2);
                                                                                                          	elseif (z <= 2.1e-61)
                                                                                                          		tmp = Float64(Float64(fma(Float64(-y3), y5, Float64(b * x)) * a) * y);
                                                                                                          	elseif (z <= 4.9e+58)
                                                                                                          		tmp = Float64(Float64(fma(j, y3, Float64(Float64(-k) * y2)) * y5) * y0);
                                                                                                          	else
                                                                                                          		tmp = Float64(Float64(t_1 * z) * y1);
                                                                                                          	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) * k + N[(y3 * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.05e+240], N[(t$95$1 * N[(y1 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -6.2e+24], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[z, -2.15e-294], N[(N[(N[((-i) * y + N[(y2 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * (-k)), $MachinePrecision], If[LessEqual[z, 4.2e-222], N[(N[(N[(k * y1 + N[((-t) * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[z, 2.1e-61], N[(N[(N[((-y3) * y5 + N[(b * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[z, 4.9e+58], N[(N[(N[(j * y3 + N[((-k) * y2), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y0), $MachinePrecision], N[(N[(t$95$1 * z), $MachinePrecision] * y1), $MachinePrecision]]]]]]]]
                                                                                                          
                                                                                                          \begin{array}{l}
                                                                                                          
                                                                                                          \\
                                                                                                          \begin{array}{l}
                                                                                                          t_1 := \mathsf{fma}\left(-i, k, y3 \cdot a\right)\\
                                                                                                          \mathbf{if}\;z \leq -3.05 \cdot 10^{+240}:\\
                                                                                                          \;\;\;\;t\_1 \cdot \left(y1 \cdot z\right)\\
                                                                                                          
                                                                                                          \mathbf{elif}\;z \leq -6.2 \cdot 10^{+24}:\\
                                                                                                          \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\
                                                                                                          
                                                                                                          \mathbf{elif}\;z \leq -2.15 \cdot 10^{-294}:\\
                                                                                                          \;\;\;\;\left(\mathsf{fma}\left(-i, y, y2 \cdot y0\right) \cdot y5\right) \cdot \left(-k\right)\\
                                                                                                          
                                                                                                          \mathbf{elif}\;z \leq 4.2 \cdot 10^{-222}:\\
                                                                                                          \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot y4\right) \cdot y2\\
                                                                                                          
                                                                                                          \mathbf{elif}\;z \leq 2.1 \cdot 10^{-61}:\\
                                                                                                          \;\;\;\;\left(\mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\
                                                                                                          
                                                                                                          \mathbf{elif}\;z \leq 4.9 \cdot 10^{+58}:\\
                                                                                                          \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\
                                                                                                          
                                                                                                          \mathbf{else}:\\
                                                                                                          \;\;\;\;\left(t\_1 \cdot z\right) \cdot y1\\
                                                                                                          
                                                                                                          
                                                                                                          \end{array}
                                                                                                          \end{array}
                                                                                                          
                                                                                                          Derivation
                                                                                                          1. Split input into 7 regimes
                                                                                                          2. if z < -3.05e240

                                                                                                            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 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 rewrites50.5%

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

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

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

                                                                                                                \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(i \cdot k\right) + a \cdot y3\right)\right)} \]
                                                                                                              3. Step-by-step derivation
                                                                                                                1. Applied rewrites60.4%

                                                                                                                  \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right)} \]
                                                                                                                2. Step-by-step derivation
                                                                                                                  1. Applied rewrites67.6%

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

                                                                                                                  if -3.05e240 < z < -6.20000000000000022e24

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

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

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

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

                                                                                                                    if -6.20000000000000022e24 < z < -2.1500000000000001e-294

                                                                                                                    1. Initial program 39.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 rewrites51.6%

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

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

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

                                                                                                                        \[\leadsto a \cdot \left(t \cdot \left(y2 \cdot \color{blue}{y5}\right)\right) \]
                                                                                                                      3. Step-by-step derivation
                                                                                                                        1. Applied rewrites18.4%

                                                                                                                          \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot y5\right) \]
                                                                                                                        2. Taylor expanded in k around -inf

                                                                                                                          \[\leadsto -1 \cdot \color{blue}{\left(k \cdot \left(y5 \cdot \left(-1 \cdot \left(i \cdot y\right) + y0 \cdot y2\right)\right)\right)} \]
                                                                                                                        3. Step-by-step derivation
                                                                                                                          1. Applied rewrites45.8%

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

                                                                                                                          if -2.1500000000000001e-294 < z < 4.1999999999999998e-222

                                                                                                                          1. Initial program 37.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 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 rewrites56.3%

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

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

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

                                                                                                                            if 4.1999999999999998e-222 < z < 2.0999999999999999e-61

                                                                                                                            1. Initial program 37.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 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 rewrites43.2%

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

                                                                                                                              \[\leadsto \left(a \cdot \left(-1 \cdot \left(y3 \cdot y5\right) + b \cdot x\right)\right) \cdot y \]
                                                                                                                            7. Step-by-step derivation
                                                                                                                              1. Applied rewrites61.1%

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

                                                                                                                              if 2.0999999999999999e-61 < z < 4.90000000000000018e58

                                                                                                                              1. Initial program 34.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 y0 around inf

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

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

                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y0} \]
                                                                                                                              5. Applied rewrites38.2%

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

                                                                                                                                \[\leadsto \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) \cdot y0 \]
                                                                                                                              7. Step-by-step derivation
                                                                                                                                1. Applied rewrites47.4%

                                                                                                                                  \[\leadsto \left(y5 \cdot \mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right)\right) \cdot y0 \]

                                                                                                                                if 4.90000000000000018e58 < z

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

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

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

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

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

                                                                                                                                      \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right)} \]
                                                                                                                                  4. Recombined 7 regimes into one program.
                                                                                                                                  5. Final simplification53.0%

                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.05 \cdot 10^{+240}:\\ \;\;\;\;\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot \left(y1 \cdot z\right)\\ \mathbf{elif}\;z \leq -6.2 \cdot 10^{+24}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;z \leq -2.15 \cdot 10^{-294}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, y, y2 \cdot y0\right) \cdot y5\right) \cdot \left(-k\right)\\ \mathbf{elif}\;z \leq 4.2 \cdot 10^{-222}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-t\right) \cdot c\right) \cdot y4\right) \cdot y2\\ \mathbf{elif}\;z \leq 2.1 \cdot 10^{-61}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;z \leq 4.9 \cdot 10^{+58}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot z\right) \cdot y1\\ \end{array} \]
                                                                                                                                  6. Add Preprocessing

                                                                                                                                  Alternative 13: 32.6% accurate, 3.7× speedup?

                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-i, k, y3 \cdot a\right)\\ \mathbf{if}\;z \leq -3.05 \cdot 10^{+240}:\\ \;\;\;\;t\_1 \cdot \left(y1 \cdot z\right)\\ \mathbf{elif}\;z \leq -1.15 \cdot 10^{+23}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;z \leq 1.3 \cdot 10^{-225}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;z \leq 2.1 \cdot 10^{-61}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;z \leq 4.9 \cdot 10^{+58}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(t\_1 \cdot z\right) \cdot y1\\ \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) k (* y3 a))))
                                                                                                                                     (if (<= z -3.05e+240)
                                                                                                                                       (* t_1 (* y1 z))
                                                                                                                                       (if (<= z -1.15e+23)
                                                                                                                                         (* (* (fma x y (* (- t) z)) b) a)
                                                                                                                                         (if (<= z 1.3e-225)
                                                                                                                                           (* (* (fma k y (* (- j) t)) i) y5)
                                                                                                                                           (if (<= z 2.1e-61)
                                                                                                                                             (* (* (fma (- y3) y5 (* b x)) a) y)
                                                                                                                                             (if (<= z 4.9e+58)
                                                                                                                                               (* (* (fma j y3 (* (- k) y2)) y5) y0)
                                                                                                                                               (* (* t_1 z) y1))))))))
                                                                                                                                  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, k, (y3 * a));
                                                                                                                                  	double tmp;
                                                                                                                                  	if (z <= -3.05e+240) {
                                                                                                                                  		tmp = t_1 * (y1 * z);
                                                                                                                                  	} else if (z <= -1.15e+23) {
                                                                                                                                  		tmp = (fma(x, y, (-t * z)) * b) * a;
                                                                                                                                  	} else if (z <= 1.3e-225) {
                                                                                                                                  		tmp = (fma(k, y, (-j * t)) * i) * y5;
                                                                                                                                  	} else if (z <= 2.1e-61) {
                                                                                                                                  		tmp = (fma(-y3, y5, (b * x)) * a) * y;
                                                                                                                                  	} else if (z <= 4.9e+58) {
                                                                                                                                  		tmp = (fma(j, y3, (-k * y2)) * y5) * y0;
                                                                                                                                  	} else {
                                                                                                                                  		tmp = (t_1 * z) * y1;
                                                                                                                                  	}
                                                                                                                                  	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), k, Float64(y3 * a))
                                                                                                                                  	tmp = 0.0
                                                                                                                                  	if (z <= -3.05e+240)
                                                                                                                                  		tmp = Float64(t_1 * Float64(y1 * z));
                                                                                                                                  	elseif (z <= -1.15e+23)
                                                                                                                                  		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * b) * a);
                                                                                                                                  	elseif (z <= 1.3e-225)
                                                                                                                                  		tmp = Float64(Float64(fma(k, y, Float64(Float64(-j) * t)) * i) * y5);
                                                                                                                                  	elseif (z <= 2.1e-61)
                                                                                                                                  		tmp = Float64(Float64(fma(Float64(-y3), y5, Float64(b * x)) * a) * y);
                                                                                                                                  	elseif (z <= 4.9e+58)
                                                                                                                                  		tmp = Float64(Float64(fma(j, y3, Float64(Float64(-k) * y2)) * y5) * y0);
                                                                                                                                  	else
                                                                                                                                  		tmp = Float64(Float64(t_1 * z) * y1);
                                                                                                                                  	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) * k + N[(y3 * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.05e+240], N[(t$95$1 * N[(y1 * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.15e+23], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[z, 1.3e-225], N[(N[(N[(k * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[z, 2.1e-61], N[(N[(N[((-y3) * y5 + N[(b * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[z, 4.9e+58], N[(N[(N[(j * y3 + N[((-k) * y2), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y0), $MachinePrecision], N[(N[(t$95$1 * z), $MachinePrecision] * y1), $MachinePrecision]]]]]]]
                                                                                                                                  
                                                                                                                                  \begin{array}{l}
                                                                                                                                  
                                                                                                                                  \\
                                                                                                                                  \begin{array}{l}
                                                                                                                                  t_1 := \mathsf{fma}\left(-i, k, y3 \cdot a\right)\\
                                                                                                                                  \mathbf{if}\;z \leq -3.05 \cdot 10^{+240}:\\
                                                                                                                                  \;\;\;\;t\_1 \cdot \left(y1 \cdot z\right)\\
                                                                                                                                  
                                                                                                                                  \mathbf{elif}\;z \leq -1.15 \cdot 10^{+23}:\\
                                                                                                                                  \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\
                                                                                                                                  
                                                                                                                                  \mathbf{elif}\;z \leq 1.3 \cdot 10^{-225}:\\
                                                                                                                                  \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                                                                                                                  
                                                                                                                                  \mathbf{elif}\;z \leq 2.1 \cdot 10^{-61}:\\
                                                                                                                                  \;\;\;\;\left(\mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\
                                                                                                                                  
                                                                                                                                  \mathbf{elif}\;z \leq 4.9 \cdot 10^{+58}:\\
                                                                                                                                  \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\
                                                                                                                                  
                                                                                                                                  \mathbf{else}:\\
                                                                                                                                  \;\;\;\;\left(t\_1 \cdot z\right) \cdot y1\\
                                                                                                                                  
                                                                                                                                  
                                                                                                                                  \end{array}
                                                                                                                                  \end{array}
                                                                                                                                  
                                                                                                                                  Derivation
                                                                                                                                  1. Split input into 6 regimes
                                                                                                                                  2. if z < -3.05e240

                                                                                                                                    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 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 rewrites50.5%

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

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

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

                                                                                                                                        \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(i \cdot k\right) + a \cdot y3\right)\right)} \]
                                                                                                                                      3. Step-by-step derivation
                                                                                                                                        1. Applied rewrites60.4%

                                                                                                                                          \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right)} \]
                                                                                                                                        2. Step-by-step derivation
                                                                                                                                          1. Applied rewrites67.6%

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

                                                                                                                                          if -3.05e240 < z < -1.15e23

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

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

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

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

                                                                                                                                            if -1.15e23 < z < 1.30000000000000007e-225

                                                                                                                                            1. Initial program 38.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 rewrites49.9%

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

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

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

                                                                                                                                              if 1.30000000000000007e-225 < z < 2.0999999999999999e-61

                                                                                                                                              1. Initial program 37.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 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 rewrites43.2%

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

                                                                                                                                                \[\leadsto \left(a \cdot \left(-1 \cdot \left(y3 \cdot y5\right) + b \cdot x\right)\right) \cdot y \]
                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                1. Applied rewrites61.1%

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

                                                                                                                                                if 2.0999999999999999e-61 < z < 4.90000000000000018e58

                                                                                                                                                1. Initial program 34.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 y0 around inf

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

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

                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y0} \]
                                                                                                                                                5. Applied rewrites38.2%

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

                                                                                                                                                  \[\leadsto \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) \cdot y0 \]
                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                  1. Applied rewrites47.4%

                                                                                                                                                    \[\leadsto \left(y5 \cdot \mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right)\right) \cdot y0 \]

                                                                                                                                                  if 4.90000000000000018e58 < z

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

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

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

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

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

                                                                                                                                                        \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \mathsf{fma}\left(-i, k, a \cdot y3\right)\right)} \]
                                                                                                                                                    4. Recombined 6 regimes into one program.
                                                                                                                                                    5. Final simplification51.3%

                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.05 \cdot 10^{+240}:\\ \;\;\;\;\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot \left(y1 \cdot z\right)\\ \mathbf{elif}\;z \leq -1.15 \cdot 10^{+23}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;z \leq 1.3 \cdot 10^{-225}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;z \leq 2.1 \cdot 10^{-61}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, y5, b \cdot x\right) \cdot a\right) \cdot y\\ \mathbf{elif}\;z \leq 4.9 \cdot 10^{+58}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot z\right) \cdot y1\\ \end{array} \]
                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                    Alternative 14: 32.1% accurate, 3.7× speedup?

                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{if}\;i \leq -1.32 \cdot 10^{+47}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-70}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;i \leq 2.7 \cdot 10^{-295}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;i \leq 1.2 \cdot 10^{-201}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\ \mathbf{elif}\;i \leq 4.2 \cdot 10^{+176}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot y4\right) \cdot y1\\ \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 y (* (- j) t)) i) y5)))
                                                                                                                                                       (if (<= i -1.32e+47)
                                                                                                                                                         t_1
                                                                                                                                                         (if (<= i -5e-70)
                                                                                                                                                           (* (* (fma x y (* (- t) z)) b) a)
                                                                                                                                                           (if (<= i 2.7e-295)
                                                                                                                                                             (* (* (fma (- x) y1 (* y5 t)) y2) a)
                                                                                                                                                             (if (<= i 1.2e-201)
                                                                                                                                                               (* (* (fma j y3 (* (- k) y2)) y5) y0)
                                                                                                                                                               (if (<= i 4.2e+176) (* (* (fma k y2 (* (- j) y3)) y4) y1) 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, y, (-j * t)) * i) * y5;
                                                                                                                                                    	double tmp;
                                                                                                                                                    	if (i <= -1.32e+47) {
                                                                                                                                                    		tmp = t_1;
                                                                                                                                                    	} else if (i <= -5e-70) {
                                                                                                                                                    		tmp = (fma(x, y, (-t * z)) * b) * a;
                                                                                                                                                    	} else if (i <= 2.7e-295) {
                                                                                                                                                    		tmp = (fma(-x, y1, (y5 * t)) * y2) * a;
                                                                                                                                                    	} else if (i <= 1.2e-201) {
                                                                                                                                                    		tmp = (fma(j, y3, (-k * y2)) * y5) * y0;
                                                                                                                                                    	} else if (i <= 4.2e+176) {
                                                                                                                                                    		tmp = (fma(k, y2, (-j * y3)) * y4) * y1;
                                                                                                                                                    	} 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(k, y, Float64(Float64(-j) * t)) * i) * y5)
                                                                                                                                                    	tmp = 0.0
                                                                                                                                                    	if (i <= -1.32e+47)
                                                                                                                                                    		tmp = t_1;
                                                                                                                                                    	elseif (i <= -5e-70)
                                                                                                                                                    		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * b) * a);
                                                                                                                                                    	elseif (i <= 2.7e-295)
                                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-x), y1, Float64(y5 * t)) * y2) * a);
                                                                                                                                                    	elseif (i <= 1.2e-201)
                                                                                                                                                    		tmp = Float64(Float64(fma(j, y3, Float64(Float64(-k) * y2)) * y5) * y0);
                                                                                                                                                    	elseif (i <= 4.2e+176)
                                                                                                                                                    		tmp = Float64(Float64(fma(k, y2, Float64(Float64(-j) * y3)) * y4) * y1);
                                                                                                                                                    	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 * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[i, -1.32e+47], t$95$1, If[LessEqual[i, -5e-70], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[i, 2.7e-295], N[(N[(N[((-x) * y1 + N[(y5 * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[i, 1.2e-201], N[(N[(N[(j * y3 + N[((-k) * y2), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[i, 4.2e+176], N[(N[(N[(k * y2 + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y1), $MachinePrecision], t$95$1]]]]]]
                                                                                                                                                    
                                                                                                                                                    \begin{array}{l}
                                                                                                                                                    
                                                                                                                                                    \\
                                                                                                                                                    \begin{array}{l}
                                                                                                                                                    t_1 := \left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                                                                                                                                    \mathbf{if}\;i \leq -1.32 \cdot 10^{+47}:\\
                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{elif}\;i \leq -5 \cdot 10^{-70}:\\
                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{elif}\;i \leq 2.7 \cdot 10^{-295}:\\
                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{elif}\;i \leq 1.2 \cdot 10^{-201}:\\
                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{elif}\;i \leq 4.2 \cdot 10^{+176}:\\
                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot y4\right) \cdot y1\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                    
                                                                                                                                                    
                                                                                                                                                    \end{array}
                                                                                                                                                    \end{array}
                                                                                                                                                    
                                                                                                                                                    Derivation
                                                                                                                                                    1. Split input into 5 regimes
                                                                                                                                                    2. if i < -1.31999999999999992e47 or 4.1999999999999998e176 < i

                                                                                                                                                      1. Initial program 27.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 rewrites53.8%

                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, k \cdot y2 - j \cdot y3, \left(t \cdot y2 - y \cdot y3\right) \cdot a\right)\right) \cdot y5} \]
                                                                                                                                                      6. Taylor expanded in 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 rewrites57.5%

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

                                                                                                                                                        if -1.31999999999999992e47 < i < -4.9999999999999998e-70

                                                                                                                                                        1. Initial program 41.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 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 rewrites59.6%

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

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

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

                                                                                                                                                          if -4.9999999999999998e-70 < i < 2.7000000000000001e-295

                                                                                                                                                          1. Initial program 40.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 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 rewrites56.9%

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

                                                                                                                                                            \[\leadsto \left(y2 \cdot \left(-1 \cdot \left(x \cdot y1\right) + t \cdot y5\right)\right) \cdot a \]
                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                            1. Applied rewrites48.2%

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

                                                                                                                                                            if 2.7000000000000001e-295 < i < 1.20000000000000004e-201

                                                                                                                                                            1. Initial program 28.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 y0 around inf

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

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

                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y5 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) + c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - b \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y0} \]
                                                                                                                                                            5. Applied rewrites57.1%

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

                                                                                                                                                              \[\leadsto \left(y5 \cdot \left(j \cdot y3 - k \cdot y2\right)\right) \cdot y0 \]
                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                              1. Applied rewrites56.5%

                                                                                                                                                                \[\leadsto \left(y5 \cdot \mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right)\right) \cdot y0 \]

                                                                                                                                                              if 1.20000000000000004e-201 < i < 4.1999999999999998e176

                                                                                                                                                              1. Initial program 26.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 rewrites42.8%

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

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

                                                                                                                                                                  \[\leadsto \left(y4 \cdot \mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right)\right) \cdot y1 \]
                                                                                                                                                              8. Recombined 5 regimes into one program.
                                                                                                                                                              9. Final simplification50.2%

                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.32 \cdot 10^{+47}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;i \leq -5 \cdot 10^{-70}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;i \leq 2.7 \cdot 10^{-295}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;i \leq 1.2 \cdot 10^{-201}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right) \cdot y5\right) \cdot y0\\ \mathbf{elif}\;i \leq 4.2 \cdot 10^{+176}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot y4\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \end{array} \]
                                                                                                                                                              10. Add Preprocessing

                                                                                                                                                              Alternative 15: 31.1% accurate, 4.2× speedup?

                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot y4\right) \cdot y1\\ \mathbf{if}\;y4 \leq -4.65 \cdot 10^{-45}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y4 \leq -2.2 \cdot 10^{-97}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;y4 \leq 1.28 \cdot 10^{-98}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot z\right) \cdot y1\\ \mathbf{elif}\;y4 \leq 5 \cdot 10^{+263}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \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 y2 (* (- j) y3)) y4) y1)))
                                                                                                                                                                 (if (<= y4 -4.65e-45)
                                                                                                                                                                   t_1
                                                                                                                                                                   (if (<= y4 -2.2e-97)
                                                                                                                                                                     (* (* (fma x y (* (- t) z)) b) a)
                                                                                                                                                                     (if (<= y4 1.28e-98)
                                                                                                                                                                       (* (* (fma (- i) k (* y3 a)) z) y1)
                                                                                                                                                                       (if (<= y4 5e+263) (* (* (fma k y (* (- j) t)) i) y5) 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, y2, (-j * y3)) * y4) * y1;
                                                                                                                                                              	double tmp;
                                                                                                                                                              	if (y4 <= -4.65e-45) {
                                                                                                                                                              		tmp = t_1;
                                                                                                                                                              	} else if (y4 <= -2.2e-97) {
                                                                                                                                                              		tmp = (fma(x, y, (-t * z)) * b) * a;
                                                                                                                                                              	} else if (y4 <= 1.28e-98) {
                                                                                                                                                              		tmp = (fma(-i, k, (y3 * a)) * z) * y1;
                                                                                                                                                              	} else if (y4 <= 5e+263) {
                                                                                                                                                              		tmp = (fma(k, y, (-j * t)) * i) * y5;
                                                                                                                                                              	} 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(k, y2, Float64(Float64(-j) * y3)) * y4) * y1)
                                                                                                                                                              	tmp = 0.0
                                                                                                                                                              	if (y4 <= -4.65e-45)
                                                                                                                                                              		tmp = t_1;
                                                                                                                                                              	elseif (y4 <= -2.2e-97)
                                                                                                                                                              		tmp = Float64(Float64(fma(x, y, Float64(Float64(-t) * z)) * b) * a);
                                                                                                                                                              	elseif (y4 <= 1.28e-98)
                                                                                                                                                              		tmp = Float64(Float64(fma(Float64(-i), k, Float64(y3 * a)) * z) * y1);
                                                                                                                                                              	elseif (y4 <= 5e+263)
                                                                                                                                                              		tmp = Float64(Float64(fma(k, y, Float64(Float64(-j) * t)) * i) * y5);
                                                                                                                                                              	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 * y2 + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision] * y1), $MachinePrecision]}, If[LessEqual[y4, -4.65e-45], t$95$1, If[LessEqual[y4, -2.2e-97], N[(N[(N[(x * y + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y4, 1.28e-98], N[(N[(N[((-i) * k + N[(y3 * a), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y4, 5e+263], N[(N[(N[(k * y + N[((-j) * t), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision], t$95$1]]]]]
                                                                                                                                                              
                                                                                                                                                              \begin{array}{l}
                                                                                                                                                              
                                                                                                                                                              \\
                                                                                                                                                              \begin{array}{l}
                                                                                                                                                              t_1 := \left(\mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot y4\right) \cdot y1\\
                                                                                                                                                              \mathbf{if}\;y4 \leq -4.65 \cdot 10^{-45}:\\
                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                              
                                                                                                                                                              \mathbf{elif}\;y4 \leq -2.2 \cdot 10^{-97}:\\
                                                                                                                                                              \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\
                                                                                                                                                              
                                                                                                                                                              \mathbf{elif}\;y4 \leq 1.28 \cdot 10^{-98}:\\
                                                                                                                                                              \;\;\;\;\left(\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot z\right) \cdot y1\\
                                                                                                                                                              
                                                                                                                                                              \mathbf{elif}\;y4 \leq 5 \cdot 10^{+263}:\\
                                                                                                                                                              \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\
                                                                                                                                                              
                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                              
                                                                                                                                                              
                                                                                                                                                              \end{array}
                                                                                                                                                              \end{array}
                                                                                                                                                              
                                                                                                                                                              Derivation
                                                                                                                                                              1. Split input into 4 regimes
                                                                                                                                                              2. if y4 < -4.65000000000000014e-45 or 5.00000000000000022e263 < 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 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 rewrites47.3%

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

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

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

                                                                                                                                                                  if -4.65000000000000014e-45 < y4 < -2.1999999999999999e-97

                                                                                                                                                                  1. Initial program 45.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 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 rewrites55.0%

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

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

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

                                                                                                                                                                    if -2.1999999999999999e-97 < y4 < 1.28e-98

                                                                                                                                                                    1. Initial program 35.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 rewrites40.3%

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

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

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

                                                                                                                                                                        \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(i \cdot k\right) + a \cdot y3\right)\right)} \]
                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                        1. Applied rewrites49.2%

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

                                                                                                                                                                        if 1.28e-98 < y4 < 5.00000000000000022e263

                                                                                                                                                                        1. Initial program 28.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 rewrites50.8%

                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(j \cdot t - k \cdot y\right), i, \mathsf{fma}\left(-y0, k \cdot y2 - j \cdot y3, \left(t \cdot y2 - y \cdot y3\right) \cdot a\right)\right) \cdot y5} \]
                                                                                                                                                                        6. Taylor expanded in 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 rewrites41.5%

                                                                                                                                                                            \[\leadsto \left(i \cdot \mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right)\right) \cdot y5 \]
                                                                                                                                                                        8. Recombined 4 regimes into one program.
                                                                                                                                                                        9. Final simplification48.0%

                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -4.65 \cdot 10^{-45}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;y4 \leq -2.2 \cdot 10^{-97}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{elif}\;y4 \leq 1.28 \cdot 10^{-98}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, k, y3 \cdot a\right) \cdot z\right) \cdot y1\\ \mathbf{elif}\;y4 \leq 5 \cdot 10^{+263}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y, \left(-j\right) \cdot t\right) \cdot i\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y2, \left(-j\right) \cdot y3\right) \cdot y4\right) \cdot y1\\ \end{array} \]
                                                                                                                                                                        10. Add Preprocessing

                                                                                                                                                                        Alternative 16: 30.5% accurate, 4.8× speedup?

                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y3 \leq -6.2 \cdot 10^{+28}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;y3 \leq -2.6 \cdot 10^{-135}:\\ \;\;\;\;\mathsf{fma}\left(-b, z, y5 \cdot y2\right) \cdot \left(a \cdot t\right)\\ \mathbf{elif}\;y3 \leq 1.6 \cdot 10^{+16}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \end{array} \end{array} \]
                                                                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                         :precision binary64
                                                                                                                                                                         (if (<= y3 -6.2e+28)
                                                                                                                                                                           (* (* (fma (- i) t (* y3 y0)) y5) j)
                                                                                                                                                                           (if (<= y3 -2.6e-135)
                                                                                                                                                                             (* (fma (- b) z (* y5 y2)) (* a t))
                                                                                                                                                                             (if (<= y3 1.6e+16)
                                                                                                                                                                               (* (* (fma (- i) z (* y4 y2)) y1) k)
                                                                                                                                                                               (* (* (fma t y2 (* (- y) y3)) y5) a)))))
                                                                                                                                                                        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 (y3 <= -6.2e+28) {
                                                                                                                                                                        		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                                                                                                                                                                        	} else if (y3 <= -2.6e-135) {
                                                                                                                                                                        		tmp = fma(-b, z, (y5 * y2)) * (a * t);
                                                                                                                                                                        	} else if (y3 <= 1.6e+16) {
                                                                                                                                                                        		tmp = (fma(-i, z, (y4 * y2)) * y1) * k;
                                                                                                                                                                        	} else {
                                                                                                                                                                        		tmp = (fma(t, y2, (-y * y3)) * y5) * a;
                                                                                                                                                                        	}
                                                                                                                                                                        	return tmp;
                                                                                                                                                                        }
                                                                                                                                                                        
                                                                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                        	tmp = 0.0
                                                                                                                                                                        	if (y3 <= -6.2e+28)
                                                                                                                                                                        		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                                                                                                                                                                        	elseif (y3 <= -2.6e-135)
                                                                                                                                                                        		tmp = Float64(fma(Float64(-b), z, Float64(y5 * y2)) * Float64(a * t));
                                                                                                                                                                        	elseif (y3 <= 1.6e+16)
                                                                                                                                                                        		tmp = Float64(Float64(fma(Float64(-i), z, Float64(y4 * y2)) * y1) * k);
                                                                                                                                                                        	else
                                                                                                                                                                        		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * y5) * a);
                                                                                                                                                                        	end
                                                                                                                                                                        	return tmp
                                                                                                                                                                        end
                                                                                                                                                                        
                                                                                                                                                                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -6.2e+28], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y3, -2.6e-135], N[(N[((-b) * z + N[(y5 * y2), $MachinePrecision]), $MachinePrecision] * N[(a * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.6e+16], N[(N[(N[((-i) * z + N[(y4 * y2), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * k), $MachinePrecision], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision]]]]
                                                                                                                                                                        
                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                        
                                                                                                                                                                        \\
                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                        \mathbf{if}\;y3 \leq -6.2 \cdot 10^{+28}:\\
                                                                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                                                                                                                                                                        
                                                                                                                                                                        \mathbf{elif}\;y3 \leq -2.6 \cdot 10^{-135}:\\
                                                                                                                                                                        \;\;\;\;\mathsf{fma}\left(-b, z, y5 \cdot y2\right) \cdot \left(a \cdot t\right)\\
                                                                                                                                                                        
                                                                                                                                                                        \mathbf{elif}\;y3 \leq 1.6 \cdot 10^{+16}:\\
                                                                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\
                                                                                                                                                                        
                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\
                                                                                                                                                                        
                                                                                                                                                                        
                                                                                                                                                                        \end{array}
                                                                                                                                                                        \end{array}
                                                                                                                                                                        
                                                                                                                                                                        Derivation
                                                                                                                                                                        1. Split input into 4 regimes
                                                                                                                                                                        2. if y3 < -6.2000000000000001e28

                                                                                                                                                                          1. Initial program 31.0%

                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                          3. Taylor expanded in 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.8%

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

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

                                                                                                                                                                              \[\leadsto a \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)} \]
                                                                                                                                                                            2. 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)} \]
                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                              1. Applied rewrites45.8%

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

                                                                                                                                                                              if -6.2000000000000001e28 < y3 < -2.60000000000000004e-135

                                                                                                                                                                              1. Initial program 31.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 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 rewrites50.5%

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

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

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

                                                                                                                                                                                if -2.60000000000000004e-135 < y3 < 1.6e16

                                                                                                                                                                                1. Initial program 35.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 rewrites43.9%

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

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

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

                                                                                                                                                                                    \[\leadsto k \cdot \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(i \cdot z\right) + y2 \cdot y4\right)\right)} \]
                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                    1. Applied rewrites46.6%

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

                                                                                                                                                                                    if 1.6e16 < y3

                                                                                                                                                                                    1. Initial program 23.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 rewrites47.3%

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

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

                                                                                                                                                                                        \[\leadsto a \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)} \]
                                                                                                                                                                                    8. Recombined 4 regimes into one program.
                                                                                                                                                                                    9. Final simplification46.3%

                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -6.2 \cdot 10^{+28}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;y3 \leq -2.6 \cdot 10^{-135}:\\ \;\;\;\;\mathsf{fma}\left(-b, z, y5 \cdot y2\right) \cdot \left(a \cdot t\right)\\ \mathbf{elif}\;y3 \leq 1.6 \cdot 10^{+16}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                    10. Add Preprocessing

                                                                                                                                                                                    Alternative 17: 30.3% accurate, 4.8× speedup?

                                                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \mathbf{if}\;y3 \leq -4.6 \cdot 10^{+52}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;y3 \leq -2.4 \cdot 10^{-59}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 1.6 \cdot 10^{+16}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \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 t y2 (* (- y) y3)) y5) a)))
                                                                                                                                                                                       (if (<= y3 -4.6e+52)
                                                                                                                                                                                         (* (* (fma (- i) t (* y3 y0)) y5) j)
                                                                                                                                                                                         (if (<= y3 -2.4e-59)
                                                                                                                                                                                           t_1
                                                                                                                                                                                           (if (<= y3 1.6e+16) (* (* (fma (- i) z (* y4 y2)) y1) k) 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(t, y2, (-y * y3)) * y5) * a;
                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                    	if (y3 <= -4.6e+52) {
                                                                                                                                                                                    		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                                                                                                                                                                                    	} else if (y3 <= -2.4e-59) {
                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                    	} else if (y3 <= 1.6e+16) {
                                                                                                                                                                                    		tmp = (fma(-i, z, (y4 * y2)) * y1) * k;
                                                                                                                                                                                    	} 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(t, y2, Float64(Float64(-y) * y3)) * y5) * a)
                                                                                                                                                                                    	tmp = 0.0
                                                                                                                                                                                    	if (y3 <= -4.6e+52)
                                                                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                                                                                                                                                                                    	elseif (y3 <= -2.4e-59)
                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                    	elseif (y3 <= 1.6e+16)
                                                                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-i), z, Float64(y4 * y2)) * y1) * k);
                                                                                                                                                                                    	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[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision]}, If[LessEqual[y3, -4.6e+52], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y3, -2.4e-59], t$95$1, If[LessEqual[y3, 1.6e+16], N[(N[(N[((-i) * z + N[(y4 * y2), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * k), $MachinePrecision], t$95$1]]]]
                                                                                                                                                                                    
                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                    
                                                                                                                                                                                    \\
                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                    t_1 := \left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\
                                                                                                                                                                                    \mathbf{if}\;y3 \leq -4.6 \cdot 10^{+52}:\\
                                                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                                                                                                                                                                                    
                                                                                                                                                                                    \mathbf{elif}\;y3 \leq -2.4 \cdot 10^{-59}:\\
                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                    
                                                                                                                                                                                    \mathbf{elif}\;y3 \leq 1.6 \cdot 10^{+16}:\\
                                                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\
                                                                                                                                                                                    
                                                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                    
                                                                                                                                                                                    
                                                                                                                                                                                    \end{array}
                                                                                                                                                                                    \end{array}
                                                                                                                                                                                    
                                                                                                                                                                                    Derivation
                                                                                                                                                                                    1. Split input into 3 regimes
                                                                                                                                                                                    2. if y3 < -4.6e52

                                                                                                                                                                                      1. Initial program 30.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 rewrites46.6%

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

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

                                                                                                                                                                                          \[\leadsto a \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)} \]
                                                                                                                                                                                        2. 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)} \]
                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                          1. Applied rewrites47.3%

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

                                                                                                                                                                                          if -4.6e52 < y3 < -2.40000000000000015e-59 or 1.6e16 < y3

                                                                                                                                                                                          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 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 rewrites48.6%

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

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

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

                                                                                                                                                                                            if -2.40000000000000015e-59 < y3 < 1.6e16

                                                                                                                                                                                            1. Initial program 33.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 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 rewrites45.0%

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

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

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

                                                                                                                                                                                                \[\leadsto k \cdot \color{blue}{\left(y1 \cdot \left(-1 \cdot \left(i \cdot z\right) + y2 \cdot y4\right)\right)} \]
                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                1. Applied rewrites43.3%

                                                                                                                                                                                                  \[\leadsto k \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)} \]
                                                                                                                                                                                              4. Recombined 3 regimes into one program.
                                                                                                                                                                                              5. Final simplification46.1%

                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -4.6 \cdot 10^{+52}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;y3 \leq -2.4 \cdot 10^{-59}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \mathbf{elif}\;y3 \leq 1.6 \cdot 10^{+16}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                              Alternative 18: 31.0% accurate, 4.8× speedup?

                                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \mathbf{if}\;y3 \leq -4.6 \cdot 10^{+52}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;y3 \leq -2.8 \cdot 10^{-60}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 180000000000:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y1\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                               :precision binary64
                                                                                                                                                                                               (let* ((t_1 (* (* (fma t y2 (* (- y) y3)) y5) a)))
                                                                                                                                                                                                 (if (<= y3 -4.6e+52)
                                                                                                                                                                                                   (* (* (fma (- i) t (* y3 y0)) y5) j)
                                                                                                                                                                                                   (if (<= y3 -2.8e-60)
                                                                                                                                                                                                     t_1
                                                                                                                                                                                                     (if (<= y3 180000000000.0) (* (* (fma j x (* (- k) z)) y1) i) t_1)))))
                                                                                                                                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                              	double t_1 = (fma(t, y2, (-y * y3)) * y5) * a;
                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                              	if (y3 <= -4.6e+52) {
                                                                                                                                                                                              		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                                                                                                                                                                                              	} else if (y3 <= -2.8e-60) {
                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                              	} else if (y3 <= 180000000000.0) {
                                                                                                                                                                                              		tmp = (fma(j, x, (-k * z)) * y1) * i;
                                                                                                                                                                                              	} else {
                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                              	}
                                                                                                                                                                                              	return tmp;
                                                                                                                                                                                              }
                                                                                                                                                                                              
                                                                                                                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                              	t_1 = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * y5) * a)
                                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                                              	if (y3 <= -4.6e+52)
                                                                                                                                                                                              		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                                                                                                                                                                                              	elseif (y3 <= -2.8e-60)
                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                              	elseif (y3 <= 180000000000.0)
                                                                                                                                                                                              		tmp = Float64(Float64(fma(j, x, Float64(Float64(-k) * z)) * y1) * i);
                                                                                                                                                                                              	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[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision]}, If[LessEqual[y3, -4.6e+52], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y3, -2.8e-60], t$95$1, If[LessEqual[y3, 180000000000.0], N[(N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision], t$95$1]]]]
                                                                                                                                                                                              
                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                              
                                                                                                                                                                                              \\
                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                              t_1 := \left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\
                                                                                                                                                                                              \mathbf{if}\;y3 \leq -4.6 \cdot 10^{+52}:\\
                                                                                                                                                                                              \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                                                                                                                                                                                              
                                                                                                                                                                                              \mathbf{elif}\;y3 \leq -2.8 \cdot 10^{-60}:\\
                                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                                              
                                                                                                                                                                                              \mathbf{elif}\;y3 \leq 180000000000:\\
                                                                                                                                                                                              \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                              
                                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                                              
                                                                                                                                                                                              
                                                                                                                                                                                              \end{array}
                                                                                                                                                                                              \end{array}
                                                                                                                                                                                              
                                                                                                                                                                                              Derivation
                                                                                                                                                                                              1. Split input into 3 regimes
                                                                                                                                                                                              2. if y3 < -4.6e52

                                                                                                                                                                                                1. Initial program 30.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 rewrites46.6%

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

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

                                                                                                                                                                                                    \[\leadsto a \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)} \]
                                                                                                                                                                                                  2. 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)} \]
                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                    1. Applied rewrites47.3%

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

                                                                                                                                                                                                    if -4.6e52 < y3 < -2.8000000000000002e-60 or 1.8e11 < y3

                                                                                                                                                                                                    1. Initial program 27.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 rewrites48.0%

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

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

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

                                                                                                                                                                                                      if -2.8000000000000002e-60 < y3 < 1.8e11

                                                                                                                                                                                                      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 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 rewrites44.6%

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

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

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

                                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -4.6 \cdot 10^{+52}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;y3 \leq -2.8 \cdot 10^{-60}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \mathbf{elif}\;y3 \leq 180000000000:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y1\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                                      10. Add Preprocessing

                                                                                                                                                                                                      Alternative 19: 26.8% accurate, 4.8× speedup?

                                                                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y5 \leq -2.15 \cdot 10^{-94}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \mathbf{elif}\;y5 \leq 6.8 \cdot 10^{-189}:\\ \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\ \mathbf{elif}\;y5 \leq 7 \cdot 10^{+123}:\\ \;\;\;\;\mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right) \cdot \left(y5 \cdot k\right)\\ \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 (<= y5 -2.15e-94)
                                                                                                                                                                                                         (* (* (fma t y2 (* (- y) y3)) y5) a)
                                                                                                                                                                                                         (if (<= y5 6.8e-189)
                                                                                                                                                                                                           (* (* (* b y) a) x)
                                                                                                                                                                                                           (if (<= y5 7e+123)
                                                                                                                                                                                                             (* (fma i y (* (- y0) y2)) (* y5 k))
                                                                                                                                                                                                             (* (* (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 (y5 <= -2.15e-94) {
                                                                                                                                                                                                      		tmp = (fma(t, y2, (-y * y3)) * y5) * a;
                                                                                                                                                                                                      	} else if (y5 <= 6.8e-189) {
                                                                                                                                                                                                      		tmp = ((b * y) * a) * x;
                                                                                                                                                                                                      	} else if (y5 <= 7e+123) {
                                                                                                                                                                                                      		tmp = fma(i, y, (-y0 * y2)) * (y5 * k);
                                                                                                                                                                                                      	} 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 (y5 <= -2.15e-94)
                                                                                                                                                                                                      		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * y5) * a);
                                                                                                                                                                                                      	elseif (y5 <= 6.8e-189)
                                                                                                                                                                                                      		tmp = Float64(Float64(Float64(b * y) * a) * x);
                                                                                                                                                                                                      	elseif (y5 <= 7e+123)
                                                                                                                                                                                                      		tmp = Float64(fma(i, y, Float64(Float64(-y0) * y2)) * Float64(y5 * k));
                                                                                                                                                                                                      	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[y5, -2.15e-94], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y5, 6.8e-189], N[(N[(N[(b * y), $MachinePrecision] * a), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y5, 7e+123], N[(N[(i * y + N[((-y0) * y2), $MachinePrecision]), $MachinePrecision] * N[(y5 * k), $MachinePrecision]), $MachinePrecision], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision]]]]
                                                                                                                                                                                                      
                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                      
                                                                                                                                                                                                      \\
                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                      \mathbf{if}\;y5 \leq -2.15 \cdot 10^{-94}:\\
                                                                                                                                                                                                      \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\
                                                                                                                                                                                                      
                                                                                                                                                                                                      \mathbf{elif}\;y5 \leq 6.8 \cdot 10^{-189}:\\
                                                                                                                                                                                                      \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\
                                                                                                                                                                                                      
                                                                                                                                                                                                      \mathbf{elif}\;y5 \leq 7 \cdot 10^{+123}:\\
                                                                                                                                                                                                      \;\;\;\;\mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right) \cdot \left(y5 \cdot k\right)\\
                                                                                                                                                                                                      
                                                                                                                                                                                                      \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 4 regimes
                                                                                                                                                                                                      2. if y5 < -2.1499999999999999e-94

                                                                                                                                                                                                        1. Initial program 26.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 rewrites49.5%

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

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

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

                                                                                                                                                                                                          if -2.1499999999999999e-94 < y5 < 6.8000000000000002e-189

                                                                                                                                                                                                          1. Initial program 44.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 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 rewrites51.0%

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

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

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

                                                                                                                                                                                                              \[\leadsto \left(a \cdot \left(b \cdot y\right)\right) \cdot x \]
                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                              1. Applied rewrites37.2%

                                                                                                                                                                                                                \[\leadsto \left(a \cdot \left(b \cdot y\right)\right) \cdot x \]

                                                                                                                                                                                                              if 6.8000000000000002e-189 < y5 < 6.99999999999999999e123

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

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

                                                                                                                                                                                                                \[\leadsto a \cdot \color{blue}{\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                1. Applied rewrites20.5%

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

                                                                                                                                                                                                                  \[\leadsto k \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right)} \]
                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                  1. Applied rewrites31.9%

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

                                                                                                                                                                                                                  if 6.99999999999999999e123 < y5

                                                                                                                                                                                                                  1. Initial program 26.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 rewrites64.8%

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

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

                                                                                                                                                                                                                      \[\leadsto a \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)} \]
                                                                                                                                                                                                                    2. 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)} \]
                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                      1. Applied rewrites50.4%

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

                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -2.15 \cdot 10^{-94}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \mathbf{elif}\;y5 \leq 6.8 \cdot 10^{-189}:\\ \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\ \mathbf{elif}\;y5 \leq 7 \cdot 10^{+123}:\\ \;\;\;\;\mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right) \cdot \left(y5 \cdot k\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \end{array} \]
                                                                                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                                                                                    Alternative 20: 22.3% accurate, 5.0× speedup?

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

                                                                                                                                                                                                                      1. Initial program 29.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 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 rewrites42.6%

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

                                                                                                                                                                                                                        \[\leadsto \left(i \cdot \left(-1 \cdot \left(c \cdot x\right) + k \cdot y5\right)\right) \cdot y \]
                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                        1. Applied rewrites35.9%

                                                                                                                                                                                                                          \[\leadsto \left(i \cdot \mathsf{fma}\left(k, y5, -c \cdot x\right)\right) \cdot y \]
                                                                                                                                                                                                                        2. Taylor expanded in c around 0

                                                                                                                                                                                                                          \[\leadsto \left(i \cdot \left(k \cdot y5\right)\right) \cdot y \]
                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                          1. Applied rewrites31.5%

                                                                                                                                                                                                                            \[\leadsto \left(i \cdot \left(k \cdot y5\right)\right) \cdot y \]

                                                                                                                                                                                                                          if -1.24999999999999995e-75 < k < -1.74999999999999991e-248 or 4.0000000000000003e-130 < k < 1.69999999999999999e41

                                                                                                                                                                                                                          1. Initial program 25.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 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 rewrites41.0%

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

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

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

                                                                                                                                                                                                                              \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(i \cdot k\right) + a \cdot y3\right)\right)} \]
                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                              1. Applied rewrites35.2%

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

                                                                                                                                                                                                                                \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]
                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                1. Applied rewrites28.0%

                                                                                                                                                                                                                                  \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]

                                                                                                                                                                                                                                if -1.74999999999999991e-248 < k < 4.0000000000000003e-130

                                                                                                                                                                                                                                1. Initial program 43.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 rewrites42.8%

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

                                                                                                                                                                                                                                  \[\leadsto a \cdot \color{blue}{\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                  1. Applied rewrites42.7%

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

                                                                                                                                                                                                                                    \[\leadsto a \cdot \left(t \cdot \left(y2 \cdot \color{blue}{y5}\right)\right) \]
                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                    1. Applied rewrites38.8%

                                                                                                                                                                                                                                      \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot y5\right) \]
                                                                                                                                                                                                                                  4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                  5. Final simplification31.8%

                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;k \leq -1.25 \cdot 10^{-75}:\\ \;\;\;\;\left(\left(y5 \cdot k\right) \cdot i\right) \cdot y\\ \mathbf{elif}\;k \leq -1.75 \cdot 10^{-248}:\\ \;\;\;\;\left(\left(y3 \cdot z\right) \cdot y1\right) \cdot a\\ \mathbf{elif}\;k \leq 4 \cdot 10^{-130}:\\ \;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\ \mathbf{elif}\;k \leq 1.7 \cdot 10^{+41}:\\ \;\;\;\;\left(\left(y3 \cdot z\right) \cdot y1\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y5 \cdot k\right) \cdot i\right) \cdot y\\ \end{array} \]
                                                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                                                  Alternative 21: 22.5% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                                    1. Initial program 33.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 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 rewrites41.3%

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

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

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

                                                                                                                                                                                                                                        \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(i \cdot k\right) + a \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                        1. Applied rewrites41.8%

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

                                                                                                                                                                                                                                          \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]
                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                          1. Applied rewrites34.0%

                                                                                                                                                                                                                                            \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]

                                                                                                                                                                                                                                          if -1.1600000000000001e121 < y3 < -1e-59 or 9.2e17 < y3

                                                                                                                                                                                                                                          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 rewrites51.5%

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

                                                                                                                                                                                                                                            \[\leadsto a \cdot \color{blue}{\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                            1. Applied rewrites45.1%

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

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

                                                                                                                                                                                                                                                \[\leadsto a \cdot \left(-\left(y \cdot y3\right) \cdot y5\right) \]

                                                                                                                                                                                                                                              if -1e-59 < y3 < 9.2e17

                                                                                                                                                                                                                                              1. Initial program 33.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 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 rewrites45.0%

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

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

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

                                                                                                                                                                                                                                                  \[\leadsto y1 \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(i \cdot k\right) + a \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                  1. Applied rewrites30.6%

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

                                                                                                                                                                                                                                                    \[\leadsto -1 \cdot \left(i \cdot \color{blue}{\left(k \cdot \left(y1 \cdot z\right)\right)}\right) \]
                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                    1. Applied rewrites28.1%

                                                                                                                                                                                                                                                      \[\leadsto \left(-i\right) \cdot \left(k \cdot \color{blue}{\left(y1 \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                  4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                  5. Final simplification33.3%

                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1.16 \cdot 10^{+121}:\\ \;\;\;\;\left(\left(y3 \cdot z\right) \cdot y1\right) \cdot a\\ \mathbf{elif}\;y3 \leq -1 \cdot 10^{-59}:\\ \;\;\;\;\left(\left(\left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \mathbf{elif}\;y3 \leq 9.2 \cdot 10^{+17}:\\ \;\;\;\;\left(\left(y1 \cdot z\right) \cdot k\right) \cdot \left(-i\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                                                                  Alternative 22: 26.5% accurate, 5.6× speedup?

                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y5 \leq -2.15 \cdot 10^{-94}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \mathbf{elif}\;y5 \leq 2.2 \cdot 10^{+87}:\\ \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\ \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 (<= y5 -2.15e-94)
                                                                                                                                                                                                                                                     (* (* (fma t y2 (* (- y) y3)) y5) a)
                                                                                                                                                                                                                                                     (if (<= y5 2.2e+87)
                                                                                                                                                                                                                                                       (* (* (* b y) a) x)
                                                                                                                                                                                                                                                       (* (* (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 (y5 <= -2.15e-94) {
                                                                                                                                                                                                                                                  		tmp = (fma(t, y2, (-y * y3)) * y5) * a;
                                                                                                                                                                                                                                                  	} else if (y5 <= 2.2e+87) {
                                                                                                                                                                                                                                                  		tmp = ((b * y) * a) * x;
                                                                                                                                                                                                                                                  	} 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 (y5 <= -2.15e-94)
                                                                                                                                                                                                                                                  		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * y5) * a);
                                                                                                                                                                                                                                                  	elseif (y5 <= 2.2e+87)
                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(b * y) * a) * x);
                                                                                                                                                                                                                                                  	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[y5, -2.15e-94], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y5, 2.2e+87], N[(N[(N[(b * y), $MachinePrecision] * a), $MachinePrecision] * x), $MachinePrecision], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision]]]
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                  \mathbf{if}\;y5 \leq -2.15 \cdot 10^{-94}:\\
                                                                                                                                                                                                                                                  \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \mathbf{elif}\;y5 \leq 2.2 \cdot 10^{+87}:\\
                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \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 y5 < -2.1499999999999999e-94

                                                                                                                                                                                                                                                    1. Initial program 26.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 rewrites49.5%

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

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

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

                                                                                                                                                                                                                                                      if -2.1499999999999999e-94 < y5 < 2.2000000000000001e87

                                                                                                                                                                                                                                                      1. Initial program 35.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 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 rewrites45.4%

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

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

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

                                                                                                                                                                                                                                                          \[\leadsto \left(a \cdot \left(b \cdot y\right)\right) \cdot x \]
                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                          1. Applied rewrites28.9%

                                                                                                                                                                                                                                                            \[\leadsto \left(a \cdot \left(b \cdot y\right)\right) \cdot x \]

                                                                                                                                                                                                                                                          if 2.2000000000000001e87 < y5

                                                                                                                                                                                                                                                          1. Initial program 25.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 rewrites65.0%

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

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

                                                                                                                                                                                                                                                              \[\leadsto a \cdot \color{blue}{\left(y5 \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                            2. 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)} \]
                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                              1. Applied rewrites46.8%

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

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

                                                                                                                                                                                                                                                            Alternative 23: 26.7% accurate, 5.6× speedup?

                                                                                                                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \mathbf{if}\;y5 \leq -2.15 \cdot 10^{-94}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 3.4 \cdot 10^{+69}:\\ \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\ \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 t y2 (* (- y) y3)) y5) a)))
                                                                                                                                                                                                                                                               (if (<= y5 -2.15e-94) t_1 (if (<= y5 3.4e+69) (* (* (* b y) a) x) 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(t, y2, (-y * y3)) * y5) * a;
                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                            	if (y5 <= -2.15e-94) {
                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                            	} else if (y5 <= 3.4e+69) {
                                                                                                                                                                                                                                                            		tmp = ((b * y) * a) * x;
                                                                                                                                                                                                                                                            	} 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(t, y2, Float64(Float64(-y) * y3)) * y5) * a)
                                                                                                                                                                                                                                                            	tmp = 0.0
                                                                                                                                                                                                                                                            	if (y5 <= -2.15e-94)
                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                            	elseif (y5 <= 3.4e+69)
                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(b * y) * a) * x);
                                                                                                                                                                                                                                                            	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[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision]}, If[LessEqual[y5, -2.15e-94], t$95$1, If[LessEqual[y5, 3.4e+69], N[(N[(N[(b * y), $MachinePrecision] * a), $MachinePrecision] * x), $MachinePrecision], t$95$1]]]
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            \\
                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                            t_1 := \left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\
                                                                                                                                                                                                                                                            \mathbf{if}\;y5 \leq -2.15 \cdot 10^{-94}:\\
                                                                                                                                                                                                                                                            \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            \mathbf{elif}\;y5 \leq 3.4 \cdot 10^{+69}:\\
                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                                                                                                                            \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                                                                            1. Split input into 2 regimes
                                                                                                                                                                                                                                                            2. if y5 < -2.1499999999999999e-94 or 3.39999999999999986e69 < y5

                                                                                                                                                                                                                                                              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 rewrites56.1%

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

                                                                                                                                                                                                                                                                \[\leadsto a \cdot \color{blue}{\left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                1. Applied rewrites43.7%

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

                                                                                                                                                                                                                                                                if -2.1499999999999999e-94 < y5 < 3.39999999999999986e69

                                                                                                                                                                                                                                                                1. Initial program 35.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 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 rewrites44.9%

                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(b \cdot a - c \cdot i, y, \mathsf{fma}\left(c \cdot y0 - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - i \cdot y1\right)\right)\right) \cdot x} \]
                                                                                                                                                                                                                                                                6. Taylor expanded in 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 rewrites36.7%

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

                                                                                                                                                                                                                                                                    \[\leadsto \left(a \cdot \left(b \cdot y\right)\right) \cdot x \]
                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                    1. Applied rewrites28.0%

                                                                                                                                                                                                                                                                      \[\leadsto \left(a \cdot \left(b \cdot y\right)\right) \cdot x \]
                                                                                                                                                                                                                                                                  4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                  5. Final simplification36.0%

                                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -2.15 \cdot 10^{-94}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \mathbf{elif}\;y5 \leq 3.4 \cdot 10^{+69}:\\ \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                                                                                  Alternative 24: 21.1% accurate, 5.9× speedup?

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

                                                                                                                                                                                                                                                                    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 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 rewrites49.4%

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

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

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

                                                                                                                                                                                                                                                                        \[\leadsto a \cdot \left(-1 \cdot \left(y \cdot \color{blue}{\left(y3 \cdot y5\right)}\right)\right) \]
                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                        1. Applied rewrites31.8%

                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \left(-\left(y \cdot y3\right) \cdot y5\right) \]

                                                                                                                                                                                                                                                                        if -4.0999999999999999e-69 < y5 < 8.5000000000000007e-31

                                                                                                                                                                                                                                                                        1. Initial program 36.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 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 rewrites47.2%

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

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

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

                                                                                                                                                                                                                                                                            \[\leadsto \left(a \cdot \left(b \cdot y\right)\right) \cdot x \]
                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                            1. Applied rewrites30.5%

                                                                                                                                                                                                                                                                              \[\leadsto \left(a \cdot \left(b \cdot y\right)\right) \cdot x \]

                                                                                                                                                                                                                                                                            if 8.5000000000000007e-31 < y5 < 1.60000000000000011e247

                                                                                                                                                                                                                                                                            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 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 rewrites39.6%

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

                                                                                                                                                                                                                                                                              \[\leadsto \left(i \cdot \left(-1 \cdot \left(c \cdot x\right) + k \cdot y5\right)\right) \cdot y \]
                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                              1. Applied rewrites40.9%

                                                                                                                                                                                                                                                                                \[\leadsto \left(i \cdot \mathsf{fma}\left(k, y5, -c \cdot x\right)\right) \cdot y \]
                                                                                                                                                                                                                                                                              2. Taylor expanded in c around 0

                                                                                                                                                                                                                                                                                \[\leadsto \left(i \cdot \left(k \cdot y5\right)\right) \cdot y \]
                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                1. Applied rewrites32.8%

                                                                                                                                                                                                                                                                                  \[\leadsto \left(i \cdot \left(k \cdot y5\right)\right) \cdot y \]

                                                                                                                                                                                                                                                                                if 1.60000000000000011e247 < y5

                                                                                                                                                                                                                                                                                1. Initial program 21.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 rewrites64.3%

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

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

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

                                                                                                                                                                                                                                                                                    \[\leadsto a \cdot \left(t \cdot \left(y2 \cdot \color{blue}{y5}\right)\right) \]
                                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                                    1. Applied rewrites43.4%

                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot y5\right) \]
                                                                                                                                                                                                                                                                                  4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                  5. Final simplification32.2%

                                                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -4.1 \cdot 10^{-69}:\\ \;\;\;\;\left(\left(\left(-y\right) \cdot y3\right) \cdot y5\right) \cdot a\\ \mathbf{elif}\;y5 \leq 8.5 \cdot 10^{-31}:\\ \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\ \mathbf{elif}\;y5 \leq 1.6 \cdot 10^{+247}:\\ \;\;\;\;\left(\left(y5 \cdot k\right) \cdot i\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                                                                                                  Alternative 25: 20.6% accurate, 5.9× speedup?

                                                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\ \mathbf{if}\;y5 \leq -1.3 \cdot 10^{-68}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 8.5 \cdot 10^{-31}:\\ \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\ \mathbf{elif}\;y5 \leq 1.6 \cdot 10^{+247}:\\ \;\;\;\;\left(\left(y5 \cdot k\right) \cdot i\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 (* (* (* y2 t) y5) a)))
                                                                                                                                                                                                                                                                                     (if (<= y5 -1.3e-68)
                                                                                                                                                                                                                                                                                       t_1
                                                                                                                                                                                                                                                                                       (if (<= y5 8.5e-31)
                                                                                                                                                                                                                                                                                         (* (* (* b y) a) x)
                                                                                                                                                                                                                                                                                         (if (<= y5 1.6e+247) (* (* (* y5 k) i) 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 = ((y2 * t) * y5) * a;
                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                  	if (y5 <= -1.3e-68) {
                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                  	} else if (y5 <= 8.5e-31) {
                                                                                                                                                                                                                                                                                  		tmp = ((b * y) * a) * x;
                                                                                                                                                                                                                                                                                  	} else if (y5 <= 1.6e+247) {
                                                                                                                                                                                                                                                                                  		tmp = ((y5 * k) * i) * y;
                                                                                                                                                                                                                                                                                  	} 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 = ((y2 * t) * y5) * a
                                                                                                                                                                                                                                                                                      if (y5 <= (-1.3d-68)) then
                                                                                                                                                                                                                                                                                          tmp = t_1
                                                                                                                                                                                                                                                                                      else if (y5 <= 8.5d-31) then
                                                                                                                                                                                                                                                                                          tmp = ((b * y) * a) * x
                                                                                                                                                                                                                                                                                      else if (y5 <= 1.6d+247) then
                                                                                                                                                                                                                                                                                          tmp = ((y5 * k) * i) * y
                                                                                                                                                                                                                                                                                      else
                                                                                                                                                                                                                                                                                          tmp = t_1
                                                                                                                                                                                                                                                                                      end if
                                                                                                                                                                                                                                                                                      code = tmp
                                                                                                                                                                                                                                                                                  end function
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                  	double t_1 = ((y2 * t) * y5) * a;
                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                  	if (y5 <= -1.3e-68) {
                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                  	} else if (y5 <= 8.5e-31) {
                                                                                                                                                                                                                                                                                  		tmp = ((b * y) * a) * x;
                                                                                                                                                                                                                                                                                  	} else if (y5 <= 1.6e+247) {
                                                                                                                                                                                                                                                                                  		tmp = ((y5 * k) * i) * y;
                                                                                                                                                                                                                                                                                  	} 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 = ((y2 * t) * y5) * a
                                                                                                                                                                                                                                                                                  	tmp = 0
                                                                                                                                                                                                                                                                                  	if y5 <= -1.3e-68:
                                                                                                                                                                                                                                                                                  		tmp = t_1
                                                                                                                                                                                                                                                                                  	elif y5 <= 8.5e-31:
                                                                                                                                                                                                                                                                                  		tmp = ((b * y) * a) * x
                                                                                                                                                                                                                                                                                  	elif y5 <= 1.6e+247:
                                                                                                                                                                                                                                                                                  		tmp = ((y5 * k) * i) * 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(Float64(y2 * t) * y5) * a)
                                                                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                                                                  	if (y5 <= -1.3e-68)
                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                  	elseif (y5 <= 8.5e-31)
                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(b * y) * a) * x);
                                                                                                                                                                                                                                                                                  	elseif (y5 <= 1.6e+247)
                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(y5 * k) * i) * y);
                                                                                                                                                                                                                                                                                  	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 = ((y2 * t) * y5) * a;
                                                                                                                                                                                                                                                                                  	tmp = 0.0;
                                                                                                                                                                                                                                                                                  	if (y5 <= -1.3e-68)
                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                  	elseif (y5 <= 8.5e-31)
                                                                                                                                                                                                                                                                                  		tmp = ((b * y) * a) * x;
                                                                                                                                                                                                                                                                                  	elseif (y5 <= 1.6e+247)
                                                                                                                                                                                                                                                                                  		tmp = ((y5 * k) * i) * y;
                                                                                                                                                                                                                                                                                  	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[(y2 * t), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision]}, If[LessEqual[y5, -1.3e-68], t$95$1, If[LessEqual[y5, 8.5e-31], N[(N[(N[(b * y), $MachinePrecision] * a), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y5, 1.6e+247], N[(N[(N[(y5 * k), $MachinePrecision] * i), $MachinePrecision] * y), $MachinePrecision], t$95$1]]]]
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                  t_1 := \left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\
                                                                                                                                                                                                                                                                                  \mathbf{if}\;y5 \leq -1.3 \cdot 10^{-68}:\\
                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \mathbf{elif}\;y5 \leq 8.5 \cdot 10^{-31}:\\
                                                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \mathbf{elif}\;y5 \leq 1.6 \cdot 10^{+247}:\\
                                                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(y5 \cdot k\right) \cdot i\right) \cdot y\\
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                                                                  1. Split input into 3 regimes
                                                                                                                                                                                                                                                                                  2. if y5 < -1.2999999999999999e-68 or 1.60000000000000011e247 < 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 rewrites51.9%

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

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

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

                                                                                                                                                                                                                                                                                        \[\leadsto a \cdot \left(t \cdot \left(y2 \cdot \color{blue}{y5}\right)\right) \]
                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                        1. Applied rewrites32.9%

                                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot y5\right) \]

                                                                                                                                                                                                                                                                                        if -1.2999999999999999e-68 < y5 < 8.5000000000000007e-31

                                                                                                                                                                                                                                                                                        1. Initial program 36.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 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 rewrites47.2%

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

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

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

                                                                                                                                                                                                                                                                                            \[\leadsto \left(a \cdot \left(b \cdot y\right)\right) \cdot x \]
                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                            1. Applied rewrites30.5%

                                                                                                                                                                                                                                                                                              \[\leadsto \left(a \cdot \left(b \cdot y\right)\right) \cdot x \]

                                                                                                                                                                                                                                                                                            if 8.5000000000000007e-31 < y5 < 1.60000000000000011e247

                                                                                                                                                                                                                                                                                            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 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 rewrites39.6%

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

                                                                                                                                                                                                                                                                                              \[\leadsto \left(i \cdot \left(-1 \cdot \left(c \cdot x\right) + k \cdot y5\right)\right) \cdot y \]
                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                              1. Applied rewrites40.9%

                                                                                                                                                                                                                                                                                                \[\leadsto \left(i \cdot \mathsf{fma}\left(k, y5, -c \cdot x\right)\right) \cdot y \]
                                                                                                                                                                                                                                                                                              2. Taylor expanded in c around 0

                                                                                                                                                                                                                                                                                                \[\leadsto \left(i \cdot \left(k \cdot y5\right)\right) \cdot y \]
                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                1. Applied rewrites32.8%

                                                                                                                                                                                                                                                                                                  \[\leadsto \left(i \cdot \left(k \cdot y5\right)\right) \cdot y \]
                                                                                                                                                                                                                                                                                              4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                              5. Final simplification31.9%

                                                                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1.3 \cdot 10^{-68}:\\ \;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\ \mathbf{elif}\;y5 \leq 8.5 \cdot 10^{-31}:\\ \;\;\;\;\left(\left(b \cdot y\right) \cdot a\right) \cdot x\\ \mathbf{elif}\;y5 \leq 1.6 \cdot 10^{+247}:\\ \;\;\;\;\left(\left(y5 \cdot k\right) \cdot i\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                                                                                                              Alternative 26: 19.9% accurate, 7.2× speedup?

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                      \[\leadsto y1 \cdot \left(a \cdot \left(y3 \cdot \color{blue}{z}\right)\right) \]
                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                      1. Applied rewrites25.2%

                                                                                                                                                                                                                                                                                                        \[\leadsto y1 \cdot \left(a \cdot \left(y3 \cdot \color{blue}{z}\right)\right) \]

                                                                                                                                                                                                                                                                                                      if -1.50000000000000004e-177 < a < 0.320000000000000007

                                                                                                                                                                                                                                                                                                      1. Initial program 43.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 rewrites46.4%

                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                      6. Taylor expanded in 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 rewrites35.8%

                                                                                                                                                                                                                                                                                                          \[\leadsto j \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(-1, y3 \cdot y4, i \cdot x\right)\right)} \]
                                                                                                                                                                                                                                                                                                        2. Taylor expanded in y4 around 0

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

                                                                                                                                                                                                                                                                                                            \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot \color{blue}{y1}\right) \]

                                                                                                                                                                                                                                                                                                          if 0.320000000000000007 < a

                                                                                                                                                                                                                                                                                                          1. Initial program 26.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 rewrites47.0%

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

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

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

                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(t \cdot \left(y2 \cdot \color{blue}{y5}\right)\right) \]
                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                              1. Applied rewrites29.2%

                                                                                                                                                                                                                                                                                                                \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot y5\right) \]
                                                                                                                                                                                                                                                                                                            4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                            5. Final simplification27.3%

                                                                                                                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.5 \cdot 10^{-177}:\\ \;\;\;\;\left(\left(y3 \cdot z\right) \cdot a\right) \cdot y1\\ \mathbf{elif}\;a \leq 0.32:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                                                                                                                                            6. Add Preprocessing

                                                                                                                                                                                                                                                                                                            Alternative 27: 19.6% accurate, 7.2× speedup?

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                    \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                    1. Applied rewrites25.2%

                                                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \left(y1 \cdot \color{blue}{\left(y3 \cdot z\right)}\right) \]

                                                                                                                                                                                                                                                                                                                    if -1.44999999999999999e-177 < a < 0.320000000000000007

                                                                                                                                                                                                                                                                                                                    1. Initial program 43.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 rewrites46.4%

                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \mathsf{fma}\left(k \cdot y2 - j \cdot y3, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1} \]
                                                                                                                                                                                                                                                                                                                    6. Taylor expanded in 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 rewrites35.8%

                                                                                                                                                                                                                                                                                                                        \[\leadsto j \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(-1, y3 \cdot y4, i \cdot x\right)\right)} \]
                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in y4 around 0

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

                                                                                                                                                                                                                                                                                                                          \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot \color{blue}{y1}\right) \]

                                                                                                                                                                                                                                                                                                                        if 0.320000000000000007 < a

                                                                                                                                                                                                                                                                                                                        1. Initial program 26.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 rewrites47.0%

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

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

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

                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \left(t \cdot \left(y2 \cdot \color{blue}{y5}\right)\right) \]
                                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                            1. Applied rewrites29.2%

                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot y5\right) \]
                                                                                                                                                                                                                                                                                                                          4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                          5. Final simplification27.3%

                                                                                                                                                                                                                                                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.45 \cdot 10^{-177}:\\ \;\;\;\;\left(\left(y3 \cdot z\right) \cdot y1\right) \cdot a\\ \mathbf{elif}\;a \leq 0.32:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                          6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                          Alternative 28: 21.8% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                                                                                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{if}\;x \leq -1.82 \cdot 10^{-118}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;x \leq 4.5 \cdot 10^{+83}:\\ \;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\ \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 x) y1) i)))
                                                                                                                                                                                                                                                                                                                             (if (<= x -1.82e-118) t_1 (if (<= x 4.5e+83) (* (* (* y2 t) y5) a) 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 * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                          	double tmp;
                                                                                                                                                                                                                                                                                                                          	if (x <= -1.82e-118) {
                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                          	} else if (x <= 4.5e+83) {
                                                                                                                                                                                                                                                                                                                          		tmp = ((y2 * t) * y5) * a;
                                                                                                                                                                                                                                                                                                                          	} 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 * x) * y1) * i
                                                                                                                                                                                                                                                                                                                              if (x <= (-1.82d-118)) then
                                                                                                                                                                                                                                                                                                                                  tmp = t_1
                                                                                                                                                                                                                                                                                                                              else if (x <= 4.5d+83) then
                                                                                                                                                                                                                                                                                                                                  tmp = ((y2 * t) * y5) * a
                                                                                                                                                                                                                                                                                                                              else
                                                                                                                                                                                                                                                                                                                                  tmp = t_1
                                                                                                                                                                                                                                                                                                                              end if
                                                                                                                                                                                                                                                                                                                              code = tmp
                                                                                                                                                                                                                                                                                                                          end function
                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                          public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                          	double t_1 = ((j * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                          	double tmp;
                                                                                                                                                                                                                                                                                                                          	if (x <= -1.82e-118) {
                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                          	} else if (x <= 4.5e+83) {
                                                                                                                                                                                                                                                                                                                          		tmp = ((y2 * t) * y5) * a;
                                                                                                                                                                                                                                                                                                                          	} 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 * x) * y1) * i
                                                                                                                                                                                                                                                                                                                          	tmp = 0
                                                                                                                                                                                                                                                                                                                          	if x <= -1.82e-118:
                                                                                                                                                                                                                                                                                                                          		tmp = t_1
                                                                                                                                                                                                                                                                                                                          	elif x <= 4.5e+83:
                                                                                                                                                                                                                                                                                                                          		tmp = ((y2 * t) * y5) * a
                                                                                                                                                                                                                                                                                                                          	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 * x) * y1) * i)
                                                                                                                                                                                                                                                                                                                          	tmp = 0.0
                                                                                                                                                                                                                                                                                                                          	if (x <= -1.82e-118)
                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                          	elseif (x <= 4.5e+83)
                                                                                                                                                                                                                                                                                                                          		tmp = Float64(Float64(Float64(y2 * t) * y5) * a);
                                                                                                                                                                                                                                                                                                                          	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 * x) * y1) * i;
                                                                                                                                                                                                                                                                                                                          	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                          	if (x <= -1.82e-118)
                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                          	elseif (x <= 4.5e+83)
                                                                                                                                                                                                                                                                                                                          		tmp = ((y2 * t) * y5) * a;
                                                                                                                                                                                                                                                                                                                          	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 * x), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[x, -1.82e-118], t$95$1, If[LessEqual[x, 4.5e+83], N[(N[(N[(y2 * t), $MachinePrecision] * y5), $MachinePrecision] * a), $MachinePrecision], t$95$1]]]
                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                          \begin{array}{l}
                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                          \\
                                                                                                                                                                                                                                                                                                                          \begin{array}{l}
                                                                                                                                                                                                                                                                                                                          t_1 := \left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\
                                                                                                                                                                                                                                                                                                                          \mathbf{if}\;x \leq -1.82 \cdot 10^{-118}:\\
                                                                                                                                                                                                                                                                                                                          \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                          \mathbf{elif}\;x \leq 4.5 \cdot 10^{+83}:\\
                                                                                                                                                                                                                                                                                                                          \;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\
                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                          \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                          \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                          \end{array}
                                                                                                                                                                                                                                                                                                                          \end{array}
                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                          Derivation
                                                                                                                                                                                                                                                                                                                          1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                          2. if x < -1.82e-118 or 4.4999999999999999e83 < x

                                                                                                                                                                                                                                                                                                                            1. Initial program 28.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 rewrites38.3%

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

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

                                                                                                                                                                                                                                                                                                                                \[\leadsto j \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(-1, y3 \cdot y4, i \cdot x\right)\right)} \]
                                                                                                                                                                                                                                                                                                                              2. Taylor expanded in y4 around 0

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

                                                                                                                                                                                                                                                                                                                                  \[\leadsto i \cdot \left(\left(j \cdot x\right) \cdot \color{blue}{y1}\right) \]

                                                                                                                                                                                                                                                                                                                                if -1.82e-118 < x < 4.4999999999999999e83

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

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

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

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

                                                                                                                                                                                                                                                                                                                                    \[\leadsto a \cdot \left(t \cdot \left(y2 \cdot \color{blue}{y5}\right)\right) \]
                                                                                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites26.4%

                                                                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot y5\right) \]
                                                                                                                                                                                                                                                                                                                                  4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                  5. Final simplification26.7%

                                                                                                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1.82 \cdot 10^{-118}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;x \leq 4.5 \cdot 10^{+83}:\\ \;\;\;\;\left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot x\right) \cdot y1\right) \cdot i\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                  Alternative 29: 16.8% accurate, 12.6× speedup?

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

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

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

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

                                                                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \left(t \cdot \left(y2 \cdot \color{blue}{y5}\right)\right) \]
                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites19.0%

                                                                                                                                                                                                                                                                                                                                        \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot y5\right) \]
                                                                                                                                                                                                                                                                                                                                      2. Final simplification19.0%

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(\left(y2 \cdot t\right) \cdot y5\right) \cdot a \]
                                                                                                                                                                                                                                                                                                                                      3. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                      Developer Target 1: 27.8% 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 2024249 
                                                                                                                                                                                                                                                                                                                                      (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)))))