Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 29.8% → 46.8%
Time: 38.8s
Alternatives: 27
Speedup: 5.6×

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 27 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: 29.8% 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: 46.8% accurate, 2.1× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \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\\ t_2 := j \cdot t - k \cdot y\\ t_3 := y3 \cdot y - y2 \cdot t\\ \mathbf{if}\;a \leq -1.75 \cdot 10^{+56}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq -3 \cdot 10^{-79}:\\ \;\;\;\;\left(\left(\left(j \cdot t\right) \cdot y4\right) \cdot b - \left(y5 \cdot a - y4 \cdot c\right) \cdot t\_3\right) - \left(y3 \cdot j - y2 \cdot k\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\ \mathbf{elif}\;a \leq -2.8 \cdot 10^{-287}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\ \mathbf{elif}\;a \leq 1.5 \cdot 10^{-188}:\\ \;\;\;\;\mathsf{fma}\left(t\_2, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, t\_3 \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;a \leq 1.3 \cdot 10^{+140}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, t\_2, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\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
           (- (* y3 z) (* y2 x))
           y1
           (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
          a))
        (t_2 (- (* j t) (* k y)))
        (t_3 (- (* y3 y) (* y2 t))))
   (if (<= a -1.75e+56)
     t_1
     (if (<= a -3e-79)
       (-
        (- (* (* (* j t) y4) b) (* (- (* y5 a) (* y4 c)) t_3))
        (* (- (* y3 j) (* y2 k)) (- (* y4 y1) (* y5 y0))))
       (if (<= a -2.8e-287)
         (*
          (fma
           (- (* y5 y0) (* y4 y1))
           y3
           (fma (- (* y4 b) (* y5 i)) t (* (- (* y1 i) (* y0 b)) x)))
          j)
         (if (<= a 1.5e-188)
           (* (fma t_2 b (fma (- (* y2 k) (* y3 j)) y1 (* t_3 c))) y4)
           (if (<= a 1.3e+140)
             (*
              (fma
               (- (* t z) (* y x))
               c
               (fma (- y5) t_2 (* (- (* 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(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
	double t_2 = (j * t) - (k * y);
	double t_3 = (y3 * y) - (y2 * t);
	double tmp;
	if (a <= -1.75e+56) {
		tmp = t_1;
	} else if (a <= -3e-79) {
		tmp = ((((j * t) * y4) * b) - (((y5 * a) - (y4 * c)) * t_3)) - (((y3 * j) - (y2 * k)) * ((y4 * y1) - (y5 * y0)));
	} else if (a <= -2.8e-287) {
		tmp = fma(((y5 * y0) - (y4 * y1)), y3, fma(((y4 * b) - (y5 * i)), t, (((y1 * i) - (y0 * b)) * x))) * j;
	} else if (a <= 1.5e-188) {
		tmp = fma(t_2, b, fma(((y2 * k) - (y3 * j)), y1, (t_3 * c))) * y4;
	} else if (a <= 1.3e+140) {
		tmp = fma(((t * z) - (y * x)), c, fma(-y5, t_2, (((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(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)
	t_2 = Float64(Float64(j * t) - Float64(k * y))
	t_3 = Float64(Float64(y3 * y) - Float64(y2 * t))
	tmp = 0.0
	if (a <= -1.75e+56)
		tmp = t_1;
	elseif (a <= -3e-79)
		tmp = Float64(Float64(Float64(Float64(Float64(j * t) * y4) * b) - Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t_3)) - Float64(Float64(Float64(y3 * j) - Float64(y2 * k)) * Float64(Float64(y4 * y1) - Float64(y5 * y0))));
	elseif (a <= -2.8e-287)
		tmp = Float64(fma(Float64(Float64(y5 * y0) - Float64(y4 * y1)), y3, fma(Float64(Float64(y4 * b) - Float64(y5 * i)), t, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * x))) * j);
	elseif (a <= 1.5e-188)
		tmp = Float64(fma(t_2, b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(t_3 * c))) * y4);
	elseif (a <= 1.3e+140)
		tmp = Float64(fma(Float64(Float64(t * z) - Float64(y * x)), c, fma(Float64(-y5), t_2, Float64(Float64(Float64(j * x) - 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[(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]}, Block[{t$95$2 = N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.75e+56], t$95$1, If[LessEqual[a, -3e-79], N[(N[(N[(N[(N[(j * t), $MachinePrecision] * y4), $MachinePrecision] * b), $MachinePrecision] - N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t$95$3), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -2.8e-287], N[(N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * y3 + N[(N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision] * t + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[a, 1.5e-188], N[(N[(t$95$2 * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[(t$95$3 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[a, 1.3e+140], N[(N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * c + N[((-y5) * t$95$2 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision], t$95$1]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \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\\
t_2 := j \cdot t - k \cdot y\\
t_3 := y3 \cdot y - y2 \cdot t\\
\mathbf{if}\;a \leq -1.75 \cdot 10^{+56}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;a \leq -3 \cdot 10^{-79}:\\
\;\;\;\;\left(\left(\left(j \cdot t\right) \cdot y4\right) \cdot b - \left(y5 \cdot a - y4 \cdot c\right) \cdot t\_3\right) - \left(y3 \cdot j - y2 \cdot k\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\

\mathbf{elif}\;a \leq -2.8 \cdot 10^{-287}:\\
\;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\

\mathbf{elif}\;a \leq 1.5 \cdot 10^{-188}:\\
\;\;\;\;\mathsf{fma}\left(t\_2, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, t\_3 \cdot c\right)\right) \cdot y4\\

\mathbf{elif}\;a \leq 1.3 \cdot 10^{+140}:\\
\;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, t\_2, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if a < -1.75e56 or 1.3000000000000001e140 < a

    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 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 rewrites63.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 -1.75e56 < a < -3e-79

    1. Initial program 25.4%

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

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

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

        \[\leadsto \left(\color{blue}{\left(b \cdot y4\right) \cdot \left(j \cdot t - k \cdot y\right)} - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      3. *-commutativeN/A

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

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

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

        \[\leadsto \left(\left(y4 \cdot b\right) \cdot \left(\color{blue}{j \cdot t} - k \cdot y\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      7. lower-*.f6467.5

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

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

      \[\leadsto \left(b \cdot \color{blue}{\left(j \cdot \left(t \cdot y4\right)\right)} - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    7. Step-by-step derivation
      1. Applied rewrites70.3%

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

      if -3e-79 < a < -2.8000000000000002e-287

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

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

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

          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
      5. Applied rewrites57.2%

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

      if -2.8000000000000002e-287 < a < 1.50000000000000008e-188

      1. Initial program 35.3%

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

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

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

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

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

      if 1.50000000000000008e-188 < a < 1.3000000000000001e140

      1. Initial program 36.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 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 rewrites55.4%

        \[\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} \]
    8. Recombined 5 regimes into one program.
    9. Final simplification61.2%

      \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -1.75 \cdot 10^{+56}:\\ \;\;\;\;\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}\;a \leq -3 \cdot 10^{-79}:\\ \;\;\;\;\left(\left(\left(j \cdot t\right) \cdot y4\right) \cdot b - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y3 \cdot j - y2 \cdot k\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\ \mathbf{elif}\;a \leq -2.8 \cdot 10^{-287}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\ \mathbf{elif}\;a \leq 1.5 \cdot 10^{-188}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;a \leq 1.3 \cdot 10^{+140}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\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\\ \end{array} \]
    10. Add Preprocessing

    Alternative 2: 56.0% accurate, 0.5× speedup?

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

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

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

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

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

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

      \[\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(y2 \cdot x - y3 \cdot z\right) \cdot \left(y1 \cdot a - y0 \cdot c\right)\right) - \left(y4 \cdot b - y5 \cdot i\right) \cdot \left(k \cdot y - j \cdot t\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y3 \cdot j - y2 \cdot k\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\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(y2 \cdot x - y3 \cdot z\right) \cdot \left(y1 \cdot a - y0 \cdot c\right)\right) - \left(y4 \cdot b - y5 \cdot i\right) \cdot \left(k \cdot y - j \cdot t\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y3 \cdot j - y2 \cdot k\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \end{array} \]
    5. Add Preprocessing

    Alternative 3: 37.9% accurate, 2.1× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\ t_2 := y3 \cdot z - y2 \cdot x\\ \mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{elif}\;c \leq -2.3 \cdot 10^{-77}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;c \leq 3.5 \cdot 10^{-239}:\\ \;\;\;\;\mathsf{fma}\left(t\_2, 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}\;c \leq 4.6 \cdot 10^{-122}:\\ \;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\ \mathbf{elif}\;c \leq 1.8 \cdot 10^{-32}:\\ \;\;\;\;\mathsf{fma}\left(t\_2, 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{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 (- (* i c) (* b a)) t (* (* (- y3) y0) c)) z))
            (t_2 (- (* y3 z) (* y2 x))))
       (if (<= c -1.45e+60)
         t_1
         (if (<= c -2.85e-36)
           (* (* (fma (- b) j (* y2 c)) y0) x)
           (if (<= c -2.3e-77)
             (* (* (fma (- i) t (* y3 y0)) y5) j)
             (if (<= c 3.5e-239)
               (*
                (fma
                 t_2
                 a
                 (fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
                y1)
               (if (<= c 4.6e-122)
                 (* (* (fma y0 y5 (* (- y1) y4)) y3) j)
                 (if (<= c 1.8e-32)
                   (*
                    (fma
                     t_2
                     y1
                     (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) 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 = fma(((i * c) - (b * a)), t, ((-y3 * y0) * c)) * z;
    	double t_2 = (y3 * z) - (y2 * x);
    	double tmp;
    	if (c <= -1.45e+60) {
    		tmp = t_1;
    	} else if (c <= -2.85e-36) {
    		tmp = (fma(-b, j, (y2 * c)) * y0) * x;
    	} else if (c <= -2.3e-77) {
    		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
    	} else if (c <= 3.5e-239) {
    		tmp = fma(t_2, a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
    	} else if (c <= 4.6e-122) {
    		tmp = (fma(y0, y5, (-y1 * y4)) * y3) * j;
    	} else if (c <= 1.8e-32) {
    		tmp = fma(t_2, y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * 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(fma(Float64(Float64(i * c) - Float64(b * a)), t, Float64(Float64(Float64(-y3) * y0) * c)) * z)
    	t_2 = Float64(Float64(y3 * z) - Float64(y2 * x))
    	tmp = 0.0
    	if (c <= -1.45e+60)
    		tmp = t_1;
    	elseif (c <= -2.85e-36)
    		tmp = Float64(Float64(fma(Float64(-b), j, Float64(y2 * c)) * y0) * x);
    	elseif (c <= -2.3e-77)
    		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
    	elseif (c <= 3.5e-239)
    		tmp = Float64(fma(t_2, a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1);
    	elseif (c <= 4.6e-122)
    		tmp = Float64(Float64(fma(y0, y5, Float64(Float64(-y1) * y4)) * y3) * j);
    	elseif (c <= 1.8e-32)
    		tmp = Float64(fma(t_2, y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a);
    	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[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[(N[((-y3) * y0), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.45e+60], t$95$1, If[LessEqual[c, -2.85e-36], N[(N[(N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[c, -2.3e-77], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 3.5e-239], N[(N[(t$95$2 * 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[c, 4.6e-122], N[(N[(N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 1.8e-32], N[(N[(t$95$2 * 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], t$95$1]]]]]]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    t_1 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\
    t_2 := y3 \cdot z - y2 \cdot x\\
    \mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\
    \;\;\;\;t\_1\\
    
    \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\
    \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\
    
    \mathbf{elif}\;c \leq -2.3 \cdot 10^{-77}:\\
    \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
    
    \mathbf{elif}\;c \leq 3.5 \cdot 10^{-239}:\\
    \;\;\;\;\mathsf{fma}\left(t\_2, 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}\;c \leq 4.6 \cdot 10^{-122}:\\
    \;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\
    
    \mathbf{elif}\;c \leq 1.8 \cdot 10^{-32}:\\
    \;\;\;\;\mathsf{fma}\left(t\_2, 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{else}:\\
    \;\;\;\;t\_1\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 6 regimes
    2. if c < -1.45e60 or 1.79999999999999996e-32 < c

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

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

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

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

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

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

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

        if -1.45e60 < c < -2.8499999999999999e-36

        1. Initial program 31.8%

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

          \[\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 x \cdot \color{blue}{\left(y \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
        7. Step-by-step derivation
          1. Applied rewrites12.3%

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

            \[\leadsto x \cdot \color{blue}{\left(y0 \cdot \left(-1 \cdot \left(b \cdot j\right) + c \cdot y2\right)\right)} \]
          3. Step-by-step derivation
            1. Applied rewrites38.7%

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

            if -2.8499999999999999e-36 < c < -2.29999999999999999e-77

            1. Initial program 31.5%

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

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

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

                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
            5. Applied rewrites62.2%

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

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

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

              if -2.29999999999999999e-77 < c < 3.50000000000000005e-239

              1. Initial program 34.0%

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

              if 3.50000000000000005e-239 < c < 4.60000000000000014e-122

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

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

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

                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
              5. Applied rewrites63.9%

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

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

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

                if 4.60000000000000014e-122 < c < 1.79999999999999996e-32

                1. Initial program 22.7%

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

                  \[\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} \]
              8. Recombined 6 regimes into one program.
              9. Final simplification54.9%

                \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{elif}\;c \leq -2.3 \cdot 10^{-77}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;c \leq 3.5 \cdot 10^{-239}:\\ \;\;\;\;\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}\;c \leq 4.6 \cdot 10^{-122}:\\ \;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\ \mathbf{elif}\;c \leq 1.8 \cdot 10^{-32}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\ \end{array} \]
              10. Add Preprocessing

              Alternative 4: 45.8% accurate, 2.3× speedup?

              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \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{if}\;y \leq -2.05 \cdot 10^{+30}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -2.6 \cdot 10^{-158}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\ \mathbf{elif}\;y \leq -1.5 \cdot 10^{-265}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;y \leq 8.2 \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{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
                         (- (* y5 i) (* y4 b))
                         k
                         (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
                        y)))
                 (if (<= y -2.05e+30)
                   t_1
                   (if (<= y -2.6e-158)
                     (*
                      (fma
                       (- (* y5 y0) (* y4 y1))
                       y3
                       (fma (- (* y4 b) (* y5 i)) t (* (- (* y1 i) (* y0 b)) x)))
                      j)
                     (if (<= y -1.5e-265)
                       (* (fma (- (* y3 z) (* y2 x)) a (* (* y2 k) y4)) y1)
                       (if (<= y 8.2e-40)
                         (*
                          (fma
                           (- (* y4 y1) (* y5 y0))
                           k
                           (fma (- (* y0 c) (* y1 a)) x (* (- (* y5 a) (* y4 c)) t)))
                          y2)
                         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(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
              	double tmp;
              	if (y <= -2.05e+30) {
              		tmp = t_1;
              	} else if (y <= -2.6e-158) {
              		tmp = fma(((y5 * y0) - (y4 * y1)), y3, fma(((y4 * b) - (y5 * i)), t, (((y1 * i) - (y0 * b)) * x))) * j;
              	} else if (y <= -1.5e-265) {
              		tmp = fma(((y3 * z) - (y2 * x)), a, ((y2 * k) * y4)) * y1;
              	} else if (y <= 8.2e-40) {
              		tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (((y5 * a) - (y4 * c)) * t))) * y2;
              	} 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(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)
              	tmp = 0.0
              	if (y <= -2.05e+30)
              		tmp = t_1;
              	elseif (y <= -2.6e-158)
              		tmp = Float64(fma(Float64(Float64(y5 * y0) - Float64(y4 * y1)), y3, fma(Float64(Float64(y4 * b) - Float64(y5 * i)), t, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * x))) * j);
              	elseif (y <= -1.5e-265)
              		tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, Float64(Float64(y2 * k) * y4)) * y1);
              	elseif (y <= 8.2e-40)
              		tmp = 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);
              	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[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[y, -2.05e+30], t$95$1, If[LessEqual[y, -2.6e-158], N[(N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * y3 + N[(N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision] * t + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y, -1.5e-265], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(y2 * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y, 8.2e-40], 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], t$95$1]]]]]
              
              \begin{array}{l}
              
              \\
              \begin{array}{l}
              t_1 := \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{if}\;y \leq -2.05 \cdot 10^{+30}:\\
              \;\;\;\;t\_1\\
              
              \mathbf{elif}\;y \leq -2.6 \cdot 10^{-158}:\\
              \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\
              
              \mathbf{elif}\;y \leq -1.5 \cdot 10^{-265}:\\
              \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\
              
              \mathbf{elif}\;y \leq 8.2 \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{else}:\\
              \;\;\;\;t\_1\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 4 regimes
              2. if y < -2.05000000000000003e30 or 8.19999999999999926e-40 < y

                1. Initial program 28.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 rewrites59.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 -2.05000000000000003e30 < y < -2.6e-158

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

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

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

                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
                5. Applied rewrites59.4%

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

                if -2.6e-158 < y < -1.4999999999999999e-265

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

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

                  \[\leadsto \mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, k \cdot \left(y2 \cdot y4\right)\right) \cdot y1 \]
                7. Step-by-step derivation
                  1. Applied rewrites69.5%

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

                  if -1.4999999999999999e-265 < y < 8.19999999999999926e-40

                  1. Initial program 30.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 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 rewrites54.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} \]
                8. Recombined 4 regimes into one program.
                9. Final simplification58.6%

                  \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.05 \cdot 10^{+30}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y \leq -2.6 \cdot 10^{-158}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\ \mathbf{elif}\;y \leq -1.5 \cdot 10^{-265}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;y \leq 8.2 \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{else}:\\ \;\;\;\;\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\\ \end{array} \]
                10. Add Preprocessing

                Alternative 5: 45.0% accurate, 2.3× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \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{if}\;y \leq -1.12 \cdot 10^{+54}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -1.45 \cdot 10^{-64}:\\ \;\;\;\;\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}\;y \leq -8.2 \cdot 10^{-243}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot y3\right) \cdot y1\\ \mathbf{elif}\;y \leq 8.2 \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{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
                           (- (* y5 i) (* y4 b))
                           k
                           (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
                          y)))
                   (if (<= y -1.12e+54)
                     t_1
                     (if (<= y -1.45e-64)
                       (*
                        (fma
                         (- (* t z) (* y x))
                         c
                         (fma (- y5) (- (* j t) (* k y)) (* (- (* j x) (* k z)) y1)))
                        i)
                       (if (<= y -8.2e-243)
                         (* (* (fma (- j) y4 (* a z)) y3) y1)
                         (if (<= y 8.2e-40)
                           (*
                            (fma
                             (- (* y4 y1) (* y5 y0))
                             k
                             (fma (- (* y0 c) (* y1 a)) x (* (- (* y5 a) (* y4 c)) t)))
                            y2)
                           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(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
                	double tmp;
                	if (y <= -1.12e+54) {
                		tmp = t_1;
                	} else if (y <= -1.45e-64) {
                		tmp = fma(((t * z) - (y * x)), c, fma(-y5, ((j * t) - (k * y)), (((j * x) - (k * z)) * y1))) * i;
                	} else if (y <= -8.2e-243) {
                		tmp = (fma(-j, y4, (a * z)) * y3) * y1;
                	} else if (y <= 8.2e-40) {
                		tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (((y5 * a) - (y4 * c)) * t))) * y2;
                	} 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(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)
                	tmp = 0.0
                	if (y <= -1.12e+54)
                		tmp = t_1;
                	elseif (y <= -1.45e-64)
                		tmp = 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);
                	elseif (y <= -8.2e-243)
                		tmp = Float64(Float64(fma(Float64(-j), y4, Float64(a * z)) * y3) * y1);
                	elseif (y <= 8.2e-40)
                		tmp = 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);
                	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[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[y, -1.12e+54], t$95$1, If[LessEqual[y, -1.45e-64], 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[y, -8.2e-243], N[(N[(N[((-j) * y4 + N[(a * z), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y, 8.2e-40], 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], t$95$1]]]]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                t_1 := \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{if}\;y \leq -1.12 \cdot 10^{+54}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{elif}\;y \leq -1.45 \cdot 10^{-64}:\\
                \;\;\;\;\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}\;y \leq -8.2 \cdot 10^{-243}:\\
                \;\;\;\;\left(\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot y3\right) \cdot y1\\
                
                \mathbf{elif}\;y \leq 8.2 \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{else}:\\
                \;\;\;\;t\_1\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 4 regimes
                2. if y < -1.12e54 or 8.19999999999999926e-40 < y

                  1. Initial program 27.8%

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

                    \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                  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 rewrites60.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 -1.12e54 < y < -1.4499999999999999e-64

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

                    \[\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 -1.4499999999999999e-64 < y < -8.19999999999999962e-243

                  1. Initial program 26.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 rewrites41.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 y3 around inf

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

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

                    if -8.19999999999999962e-243 < y < 8.19999999999999926e-40

                    1. Initial program 33.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 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 rewrites55.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} \]
                  8. Recombined 4 regimes into one program.
                  9. Final simplification57.2%

                    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.12 \cdot 10^{+54}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y \leq -1.45 \cdot 10^{-64}:\\ \;\;\;\;\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}\;y \leq -8.2 \cdot 10^{-243}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot y3\right) \cdot y1\\ \mathbf{elif}\;y \leq 8.2 \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{else}:\\ \;\;\;\;\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\\ \end{array} \]
                  10. Add Preprocessing

                  Alternative 6: 46.7% accurate, 2.3× speedup?

                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \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\\ t_2 := y5 \cdot i - y4 \cdot b\\ \mathbf{if}\;a \leq -4.5 \cdot 10^{-21}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq -2 \cdot 10^{-305}:\\ \;\;\;\;\mathsf{fma}\left(t\_2, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;a \leq 5.7 \cdot 10^{-68}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;a \leq 1.05 \cdot 10^{+129}:\\ \;\;\;\;\mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                   :precision binary64
                   (let* ((t_1
                           (*
                            (fma
                             (- (* y3 z) (* y2 x))
                             y1
                             (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
                            a))
                          (t_2 (- (* y5 i) (* y4 b))))
                     (if (<= a -4.5e-21)
                       t_1
                       (if (<= a -2e-305)
                         (*
                          (fma
                           t_2
                           y
                           (fma (- (* y4 y1) (* y5 y0)) y2 (* (- (* y0 b) (* y1 i)) z)))
                          k)
                         (if (<= a 5.7e-68)
                           (*
                            (fma
                             (- (* j t) (* k y))
                             b
                             (fma (- (* y2 k) (* y3 j)) y1 (* (- (* y3 y) (* y2 t)) c)))
                            y4)
                           (if (<= a 1.05e+129)
                             (*
                              (fma
                               t_2
                               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(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
                  	double t_2 = (y5 * i) - (y4 * b);
                  	double tmp;
                  	if (a <= -4.5e-21) {
                  		tmp = t_1;
                  	} else if (a <= -2e-305) {
                  		tmp = fma(t_2, y, fma(((y4 * y1) - (y5 * y0)), y2, (((y0 * b) - (y1 * i)) * z))) * k;
                  	} else if (a <= 5.7e-68) {
                  		tmp = fma(((j * t) - (k * y)), b, fma(((y2 * k) - (y3 * j)), y1, (((y3 * y) - (y2 * t)) * c))) * y4;
                  	} else if (a <= 1.05e+129) {
                  		tmp = fma(t_2, 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(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)
                  	t_2 = Float64(Float64(y5 * i) - Float64(y4 * b))
                  	tmp = 0.0
                  	if (a <= -4.5e-21)
                  		tmp = t_1;
                  	elseif (a <= -2e-305)
                  		tmp = Float64(fma(t_2, y, fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), y2, Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * z))) * k);
                  	elseif (a <= 5.7e-68)
                  		tmp = Float64(fma(Float64(Float64(j * t) - Float64(k * y)), b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * c))) * y4);
                  	elseif (a <= 1.05e+129)
                  		tmp = Float64(fma(t_2, k, fma(Float64(Float64(b * a) - Float64(i * c)), x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y);
                  	else
                  		tmp = t_1;
                  	end
                  	return tmp
                  end
                  
                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * 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]}, Block[{t$95$2 = N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -4.5e-21], t$95$1, If[LessEqual[a, -2e-305], N[(N[(t$95$2 * y + N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[a, 5.7e-68], N[(N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[a, 1.05e+129], N[(N[(t$95$2 * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], t$95$1]]]]]]
                  
                  \begin{array}{l}
                  
                  \\
                  \begin{array}{l}
                  t_1 := \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\\
                  t_2 := y5 \cdot i - y4 \cdot b\\
                  \mathbf{if}\;a \leq -4.5 \cdot 10^{-21}:\\
                  \;\;\;\;t\_1\\
                  
                  \mathbf{elif}\;a \leq -2 \cdot 10^{-305}:\\
                  \;\;\;\;\mathsf{fma}\left(t\_2, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\
                  
                  \mathbf{elif}\;a \leq 5.7 \cdot 10^{-68}:\\
                  \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\
                  
                  \mathbf{elif}\;a \leq 1.05 \cdot 10^{+129}:\\
                  \;\;\;\;\mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;t\_1\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 4 regimes
                  2. if a < -4.49999999999999968e-21 or 1.04999999999999998e129 < a

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

                      \[\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 -4.49999999999999968e-21 < a < -1.99999999999999999e-305

                    1. Initial program 19.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 k around inf

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

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

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

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

                    if -1.99999999999999999e-305 < a < 5.7000000000000002e-68

                    1. Initial program 41.3%

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

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

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

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

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

                    if 5.7000000000000002e-68 < a < 1.04999999999999998e129

                    1. Initial program 30.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 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} \]
                  3. Recombined 4 regimes into one program.
                  4. Final simplification56.0%

                    \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -4.5 \cdot 10^{-21}:\\ \;\;\;\;\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}\;a \leq -2 \cdot 10^{-305}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;a \leq 5.7 \cdot 10^{-68}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;a \leq 1.05 \cdot 10^{+129}:\\ \;\;\;\;\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(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\\ \end{array} \]
                  5. Add Preprocessing

                  Alternative 7: 39.4% accurate, 2.3× speedup?

                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\ \mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{elif}\;c \leq -2.3 \cdot 10^{-77}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;c \leq 2 \cdot 10^{-29}:\\ \;\;\;\;\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}:\\ \;\;\;\;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 (- (* i c) (* b a)) t (* (* (- y3) y0) c)) z)))
                     (if (<= c -1.45e+60)
                       t_1
                       (if (<= c -2.85e-36)
                         (* (* (fma (- b) j (* y2 c)) y0) x)
                         (if (<= c -2.3e-77)
                           (* (* (fma (- i) t (* y3 y0)) y5) j)
                           (if (<= c 2e-29)
                             (*
                              (fma
                               (- (* y3 z) (* y2 x))
                               a
                               (fma (- (* y2 k) (* y3 j)) 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(((i * c) - (b * a)), t, ((-y3 * y0) * c)) * z;
                  	double tmp;
                  	if (c <= -1.45e+60) {
                  		tmp = t_1;
                  	} else if (c <= -2.85e-36) {
                  		tmp = (fma(-b, j, (y2 * c)) * y0) * x;
                  	} else if (c <= -2.3e-77) {
                  		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                  	} else if (c <= 2e-29) {
                  		tmp = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), 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(i * c) - Float64(b * a)), t, Float64(Float64(Float64(-y3) * y0) * c)) * z)
                  	tmp = 0.0
                  	if (c <= -1.45e+60)
                  		tmp = t_1;
                  	elseif (c <= -2.85e-36)
                  		tmp = Float64(Float64(fma(Float64(-b), j, Float64(y2 * c)) * y0) * x);
                  	elseif (c <= -2.3e-77)
                  		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                  	elseif (c <= 2e-29)
                  		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 = 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[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[(N[((-y3) * y0), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, If[LessEqual[c, -1.45e+60], t$95$1, If[LessEqual[c, -2.85e-36], N[(N[(N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[c, -2.3e-77], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 2e-29], 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], t$95$1]]]]]
                  
                  \begin{array}{l}
                  
                  \\
                  \begin{array}{l}
                  t_1 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\
                  \mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\
                  \;\;\;\;t\_1\\
                  
                  \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\
                  \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\
                  
                  \mathbf{elif}\;c \leq -2.3 \cdot 10^{-77}:\\
                  \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                  
                  \mathbf{elif}\;c \leq 2 \cdot 10^{-29}:\\
                  \;\;\;\;\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}:\\
                  \;\;\;\;t\_1\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 4 regimes
                  2. if c < -1.45e60 or 1.99999999999999989e-29 < c

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

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

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

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

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

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

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

                      if -1.45e60 < c < -2.8499999999999999e-36

                      1. Initial program 31.8%

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

                        \[\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 x \cdot \color{blue}{\left(y \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
                      7. Step-by-step derivation
                        1. Applied rewrites12.3%

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

                          \[\leadsto x \cdot \color{blue}{\left(y0 \cdot \left(-1 \cdot \left(b \cdot j\right) + c \cdot y2\right)\right)} \]
                        3. Step-by-step derivation
                          1. Applied rewrites38.7%

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

                          if -2.8499999999999999e-36 < c < -2.29999999999999999e-77

                          1. Initial program 31.5%

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

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

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

                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
                          5. Applied rewrites62.2%

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

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

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

                            if -2.29999999999999999e-77 < c < 1.99999999999999989e-29

                            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 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.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} \]
                          8. Recombined 4 regimes into one program.
                          9. Final simplification51.5%

                            \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{elif}\;c \leq -2.3 \cdot 10^{-77}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;c \leq 2 \cdot 10^{-29}:\\ \;\;\;\;\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(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\ \end{array} \]
                          10. Add Preprocessing

                          Alternative 8: 46.8% accurate, 2.5× speedup?

                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \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{if}\;y \leq -1.15 \cdot 10^{+73}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -6.8 \cdot 10^{-243}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;y \leq 8.2 \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{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
                                     (- (* y5 i) (* y4 b))
                                     k
                                     (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
                                    y)))
                             (if (<= y -1.15e+73)
                               t_1
                               (if (<= y -6.8e-243)
                                 (*
                                  (fma
                                   (- (* j t) (* k y))
                                   b
                                   (fma (- (* y2 k) (* y3 j)) y1 (* (- (* y3 y) (* y2 t)) c)))
                                  y4)
                                 (if (<= y 8.2e-40)
                                   (*
                                    (fma
                                     (- (* y4 y1) (* y5 y0))
                                     k
                                     (fma (- (* y0 c) (* y1 a)) x (* (- (* y5 a) (* y4 c)) t)))
                                    y2)
                                   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(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
                          	double tmp;
                          	if (y <= -1.15e+73) {
                          		tmp = t_1;
                          	} else if (y <= -6.8e-243) {
                          		tmp = fma(((j * t) - (k * y)), b, fma(((y2 * k) - (y3 * j)), y1, (((y3 * y) - (y2 * t)) * c))) * y4;
                          	} else if (y <= 8.2e-40) {
                          		tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (((y5 * a) - (y4 * c)) * t))) * y2;
                          	} 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(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)
                          	tmp = 0.0
                          	if (y <= -1.15e+73)
                          		tmp = t_1;
                          	elseif (y <= -6.8e-243)
                          		tmp = Float64(fma(Float64(Float64(j * t) - Float64(k * y)), b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * c))) * y4);
                          	elseif (y <= 8.2e-40)
                          		tmp = 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);
                          	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[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[y, -1.15e+73], t$95$1, If[LessEqual[y, -6.8e-243], N[(N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[y, 8.2e-40], 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], t$95$1]]]]
                          
                          \begin{array}{l}
                          
                          \\
                          \begin{array}{l}
                          t_1 := \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{if}\;y \leq -1.15 \cdot 10^{+73}:\\
                          \;\;\;\;t\_1\\
                          
                          \mathbf{elif}\;y \leq -6.8 \cdot 10^{-243}:\\
                          \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\
                          
                          \mathbf{elif}\;y \leq 8.2 \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{else}:\\
                          \;\;\;\;t\_1\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 3 regimes
                          2. if y < -1.15e73 or 8.19999999999999926e-40 < y

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

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

                            if -1.15e73 < y < -6.79999999999999992e-243

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

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

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

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

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

                            if -6.79999999999999992e-243 < y < 8.19999999999999926e-40

                            1. Initial program 33.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 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 rewrites55.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} \]
                          3. Recombined 3 regimes into one program.
                          4. Final simplification55.6%

                            \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.15 \cdot 10^{+73}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y \leq -6.8 \cdot 10^{-243}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;y \leq 8.2 \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{else}:\\ \;\;\;\;\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\\ \end{array} \]
                          5. Add Preprocessing

                          Alternative 9: 46.1% accurate, 2.7× speedup?

                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \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{if}\;y \leq -1.9 \cdot 10^{+53}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 4.8 \cdot 10^{-81}:\\ \;\;\;\;\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}:\\ \;\;\;\;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
                                     (- (* y5 i) (* y4 b))
                                     k
                                     (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
                                    y)))
                             (if (<= y -1.9e+53)
                               t_1
                               (if (<= y 4.8e-81)
                                 (*
                                  (fma
                                   (- (* y3 z) (* y2 x))
                                   a
                                   (fma (- (* y2 k) (* y3 j)) 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(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
                          	double tmp;
                          	if (y <= -1.9e+53) {
                          		tmp = t_1;
                          	} else if (y <= 4.8e-81) {
                          		tmp = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), 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(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)
                          	tmp = 0.0
                          	if (y <= -1.9e+53)
                          		tmp = t_1;
                          	elseif (y <= 4.8e-81)
                          		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 = 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[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[y, -1.9e+53], t$95$1, If[LessEqual[y, 4.8e-81], 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], t$95$1]]]
                          
                          \begin{array}{l}
                          
                          \\
                          \begin{array}{l}
                          t_1 := \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{if}\;y \leq -1.9 \cdot 10^{+53}:\\
                          \;\;\;\;t\_1\\
                          
                          \mathbf{elif}\;y \leq 4.8 \cdot 10^{-81}:\\
                          \;\;\;\;\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}:\\
                          \;\;\;\;t\_1\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 2 regimes
                          2. if y < -1.89999999999999999e53 or 4.7999999999999998e-81 < y

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

                              \[\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 -1.89999999999999999e53 < y < 4.7999999999999998e-81

                            1. Initial program 29.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 rewrites42.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} \]
                          3. Recombined 2 regimes into one program.
                          4. Final simplification50.9%

                            \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.9 \cdot 10^{+53}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y \leq 4.8 \cdot 10^{-81}:\\ \;\;\;\;\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(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\\ \end{array} \]
                          5. Add Preprocessing

                          Alternative 10: 34.4% accurate, 3.0× speedup?

                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\ \mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{elif}\;c \leq 1.35 \cdot 10^{-288}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;c \leq 6.4 \cdot 10^{-122}:\\ \;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\ \mathbf{elif}\;c \leq 1.85 \cdot 10^{-37}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\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 (- (* i c) (* b a)) t (* (* (- y3) y0) c)) z)))
                             (if (<= c -1.45e+60)
                               t_1
                               (if (<= c -2.85e-36)
                                 (* (* (fma (- b) j (* y2 c)) y0) x)
                                 (if (<= c 1.35e-288)
                                   (* (* (fma (- i) t (* y3 y0)) y5) j)
                                   (if (<= c 6.4e-122)
                                     (* (* (fma y0 y5 (* (- y1) y4)) y3) j)
                                     (if (<= c 1.85e-37)
                                       (* (fma (- (* y3 z) (* y2 x)) a (* (* y2 k) 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(((i * c) - (b * a)), t, ((-y3 * y0) * c)) * z;
                          	double tmp;
                          	if (c <= -1.45e+60) {
                          		tmp = t_1;
                          	} else if (c <= -2.85e-36) {
                          		tmp = (fma(-b, j, (y2 * c)) * y0) * x;
                          	} else if (c <= 1.35e-288) {
                          		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                          	} else if (c <= 6.4e-122) {
                          		tmp = (fma(y0, y5, (-y1 * y4)) * y3) * j;
                          	} else if (c <= 1.85e-37) {
                          		tmp = fma(((y3 * z) - (y2 * x)), a, ((y2 * k) * 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(fma(Float64(Float64(i * c) - Float64(b * a)), t, Float64(Float64(Float64(-y3) * y0) * c)) * z)
                          	tmp = 0.0
                          	if (c <= -1.45e+60)
                          		tmp = t_1;
                          	elseif (c <= -2.85e-36)
                          		tmp = Float64(Float64(fma(Float64(-b), j, Float64(y2 * c)) * y0) * x);
                          	elseif (c <= 1.35e-288)
                          		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                          	elseif (c <= 6.4e-122)
                          		tmp = Float64(Float64(fma(y0, y5, Float64(Float64(-y1) * y4)) * y3) * j);
                          	elseif (c <= 1.85e-37)
                          		tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, Float64(Float64(y2 * k) * 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[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[(N[((-y3) * y0), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, If[LessEqual[c, -1.45e+60], t$95$1, If[LessEqual[c, -2.85e-36], N[(N[(N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[c, 1.35e-288], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 6.4e-122], N[(N[(N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 1.85e-37], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(y2 * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], t$95$1]]]]]]
                          
                          \begin{array}{l}
                          
                          \\
                          \begin{array}{l}
                          t_1 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\
                          \mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\
                          \;\;\;\;t\_1\\
                          
                          \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\
                          \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\
                          
                          \mathbf{elif}\;c \leq 1.35 \cdot 10^{-288}:\\
                          \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                          
                          \mathbf{elif}\;c \leq 6.4 \cdot 10^{-122}:\\
                          \;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\
                          
                          \mathbf{elif}\;c \leq 1.85 \cdot 10^{-37}:\\
                          \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\
                          
                          \mathbf{else}:\\
                          \;\;\;\;t\_1\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 5 regimes
                          2. if c < -1.45e60 or 1.85e-37 < c

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

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

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

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

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

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

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

                              if -1.45e60 < c < -2.8499999999999999e-36

                              1. Initial program 31.8%

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

                                \[\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 x \cdot \color{blue}{\left(y \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
                              7. Step-by-step derivation
                                1. Applied rewrites12.3%

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

                                  \[\leadsto x \cdot \color{blue}{\left(y0 \cdot \left(-1 \cdot \left(b \cdot j\right) + c \cdot y2\right)\right)} \]
                                3. Step-by-step derivation
                                  1. Applied rewrites38.7%

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

                                  if -2.8499999999999999e-36 < c < 1.3500000000000001e-288

                                  1. Initial program 34.0%

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

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

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

                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
                                  5. Applied rewrites37.3%

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

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

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

                                    if 1.3500000000000001e-288 < c < 6.4000000000000004e-122

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

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

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

                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
                                    5. Applied rewrites57.4%

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

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

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

                                      if 6.4000000000000004e-122 < c < 1.85e-37

                                      1. Initial program 22.7%

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

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

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

                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                                      5. Applied rewrites55.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 y2 around inf

                                        \[\leadsto \mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, k \cdot \left(y2 \cdot y4\right)\right) \cdot y1 \]
                                      7. Step-by-step derivation
                                        1. Applied rewrites46.8%

                                          \[\leadsto \mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, \left(k \cdot y2\right) \cdot y4\right) \cdot y1 \]
                                      8. Recombined 5 regimes into one program.
                                      9. Final simplification49.3%

                                        \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.45 \cdot 10^{+60}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{elif}\;c \leq 1.35 \cdot 10^{-288}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;c \leq 6.4 \cdot 10^{-122}:\\ \;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\ \mathbf{elif}\;c \leq 1.85 \cdot 10^{-37}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\ \end{array} \]
                                      10. Add Preprocessing

                                      Alternative 11: 32.3% accurate, 3.1× speedup?

                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{if}\;c \leq -1.8 \cdot 10^{+61}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 1.35 \cdot 10^{-288}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;c \leq 6.4 \cdot 10^{-122}:\\ \;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\ \mathbf{elif}\;c \leq 2.1 \cdot 10^{-23}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;c \leq 3.6 \cdot 10^{+227}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot i\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 (- b) j (* y2 c)) y0) x)))
                                         (if (<= c -1.8e+61)
                                           (* (* (fma (- y0) y3 (* i t)) c) z)
                                           (if (<= c -2.85e-36)
                                             t_1
                                             (if (<= c 1.35e-288)
                                               (* (* (fma (- i) t (* y3 y0)) y5) j)
                                               (if (<= c 6.4e-122)
                                                 (* (* (fma y0 y5 (* (- y1) y4)) y3) j)
                                                 (if (<= c 2.1e-23)
                                                   (* (fma (- (* y3 z) (* y2 x)) a (* (* y2 k) y4)) y1)
                                                   (if (<= c 3.6e+227) (* (* (fma (- c) y (* y1 j)) i) 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(-b, j, (y2 * c)) * y0) * x;
                                      	double tmp;
                                      	if (c <= -1.8e+61) {
                                      		tmp = (fma(-y0, y3, (i * t)) * c) * z;
                                      	} else if (c <= -2.85e-36) {
                                      		tmp = t_1;
                                      	} else if (c <= 1.35e-288) {
                                      		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                                      	} else if (c <= 6.4e-122) {
                                      		tmp = (fma(y0, y5, (-y1 * y4)) * y3) * j;
                                      	} else if (c <= 2.1e-23) {
                                      		tmp = fma(((y3 * z) - (y2 * x)), a, ((y2 * k) * y4)) * y1;
                                      	} else if (c <= 3.6e+227) {
                                      		tmp = (fma(-c, y, (y1 * j)) * i) * 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(Float64(-b), j, Float64(y2 * c)) * y0) * x)
                                      	tmp = 0.0
                                      	if (c <= -1.8e+61)
                                      		tmp = Float64(Float64(fma(Float64(-y0), y3, Float64(i * t)) * c) * z);
                                      	elseif (c <= -2.85e-36)
                                      		tmp = t_1;
                                      	elseif (c <= 1.35e-288)
                                      		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                                      	elseif (c <= 6.4e-122)
                                      		tmp = Float64(Float64(fma(y0, y5, Float64(Float64(-y1) * y4)) * y3) * j);
                                      	elseif (c <= 2.1e-23)
                                      		tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, Float64(Float64(y2 * k) * y4)) * y1);
                                      	elseif (c <= 3.6e+227)
                                      		tmp = Float64(Float64(fma(Float64(-c), y, Float64(y1 * j)) * i) * 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[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[c, -1.8e+61], N[(N[(N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[c, -2.85e-36], t$95$1, If[LessEqual[c, 1.35e-288], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 6.4e-122], N[(N[(N[(y0 * y5 + N[((-y1) * y4), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[c, 2.1e-23], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(N[(y2 * k), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[c, 3.6e+227], N[(N[(N[((-c) * y + N[(y1 * j), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * x), $MachinePrecision], t$95$1]]]]]]]
                                      
                                      \begin{array}{l}
                                      
                                      \\
                                      \begin{array}{l}
                                      t_1 := \left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\
                                      \mathbf{if}\;c \leq -1.8 \cdot 10^{+61}:\\
                                      \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\
                                      
                                      \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\
                                      \;\;\;\;t\_1\\
                                      
                                      \mathbf{elif}\;c \leq 1.35 \cdot 10^{-288}:\\
                                      \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                                      
                                      \mathbf{elif}\;c \leq 6.4 \cdot 10^{-122}:\\
                                      \;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\
                                      
                                      \mathbf{elif}\;c \leq 2.1 \cdot 10^{-23}:\\
                                      \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\
                                      
                                      \mathbf{elif}\;c \leq 3.6 \cdot 10^{+227}:\\
                                      \;\;\;\;\left(\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot i\right) \cdot x\\
                                      
                                      \mathbf{else}:\\
                                      \;\;\;\;t\_1\\
                                      
                                      
                                      \end{array}
                                      \end{array}
                                      
                                      Derivation
                                      1. Split input into 6 regimes
                                      2. if c < -1.80000000000000005e61

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

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

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

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

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

                                          \[\leadsto \left(c \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right) \cdot z \]
                                        7. Step-by-step derivation
                                          1. Applied rewrites49.3%

                                            \[\leadsto \left(c \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\right) \cdot z \]

                                          if -1.80000000000000005e61 < c < -2.8499999999999999e-36 or 3.59999999999999991e227 < c

                                          1. Initial program 25.1%

                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                          2. Add Preprocessing
                                          3. Taylor expanded in 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 rewrites33.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 x \cdot \color{blue}{\left(y \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
                                          7. Step-by-step derivation
                                            1. Applied rewrites11.3%

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

                                              \[\leadsto x \cdot \color{blue}{\left(y0 \cdot \left(-1 \cdot \left(b \cdot j\right) + c \cdot y2\right)\right)} \]
                                            3. Step-by-step derivation
                                              1. Applied rewrites48.8%

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

                                              if -2.8499999999999999e-36 < c < 1.3500000000000001e-288

                                              1. Initial program 34.0%

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

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

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

                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
                                              5. Applied rewrites37.3%

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

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

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

                                                if 1.3500000000000001e-288 < c < 6.4000000000000004e-122

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

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

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

                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
                                                5. Applied rewrites57.4%

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

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

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

                                                  if 6.4000000000000004e-122 < c < 2.1000000000000001e-23

                                                  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 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.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 y2 around inf

                                                    \[\leadsto \mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), a, k \cdot \left(y2 \cdot y4\right)\right) \cdot y1 \]
                                                  7. Step-by-step derivation
                                                    1. Applied rewrites49.1%

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

                                                    if 2.1000000000000001e-23 < c < 3.59999999999999991e227

                                                    1. Initial program 25.5%

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

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

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

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

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

                                                      \[\leadsto \left(i \cdot \left(-1 \cdot \left(c \cdot y\right) + j \cdot y1\right)\right) \cdot x \]
                                                    7. Step-by-step derivation
                                                      1. Applied rewrites47.6%

                                                        \[\leadsto \left(i \cdot \mathsf{fma}\left(-c, y, j \cdot y1\right)\right) \cdot x \]
                                                    8. Recombined 6 regimes into one program.
                                                    9. Final simplification49.4%

                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.8 \cdot 10^{+61}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;c \leq -2.85 \cdot 10^{-36}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{elif}\;c \leq 1.35 \cdot 10^{-288}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;c \leq 6.4 \cdot 10^{-122}:\\ \;\;\;\;\left(\mathsf{fma}\left(y0, y5, \left(-y1\right) \cdot y4\right) \cdot y3\right) \cdot j\\ \mathbf{elif}\;c \leq 2.1 \cdot 10^{-23}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;c \leq 3.6 \cdot 10^{+227}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot i\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \end{array} \]
                                                    10. Add Preprocessing

                                                    Alternative 12: 29.9% accurate, 3.9× speedup?

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

                                                      1. Initial program 30.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 rewrites60.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 y3 around inf

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

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

                                                        if -5.39999999999999981e169 < y5 < -8.60000000000000021e-55

                                                        1. Initial program 27.1%

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

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

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

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

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

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

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

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

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

                                                            if -8.60000000000000021e-55 < y5 < -6.50000000000000019e-149

                                                            1. Initial program 32.3%

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

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

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

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

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

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

                                                                \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right)} \]
                                                              2. Step-by-step derivation
                                                                1. Applied rewrites57.1%

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

                                                                if -6.50000000000000019e-149 < y5 < 4.70000000000000009e-85

                                                                1. Initial program 34.4%

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

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

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

                                                                  if 4.70000000000000009e-85 < y5

                                                                  1. Initial program 23.6%

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

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

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

                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                  5. Applied rewrites56.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 k around inf

                                                                    \[\leadsto \left(k \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right) \cdot y5 \]
                                                                  7. Step-by-step derivation
                                                                    1. Applied rewrites41.2%

                                                                      \[\leadsto \left(k \cdot \mathsf{fma}\left(-y0, y2, i \cdot y\right)\right) \cdot y5 \]
                                                                  8. Recombined 5 regimes into one program.
                                                                  9. Final simplification46.2%

                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -5.4 \cdot 10^{+169}:\\ \;\;\;\;\mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{elif}\;y5 \leq -8.6 \cdot 10^{-55}:\\ \;\;\;\;\left(\mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) \cdot t\right) \cdot j\\ \mathbf{elif}\;y5 \leq -6.5 \cdot 10^{-149}:\\ \;\;\;\;\mathsf{fma}\left(\left(\left(-y\right) \cdot x\right) \cdot c, i, \left(b \cdot \left(y \cdot x\right)\right) \cdot a\right)\\ \mathbf{elif}\;y5 \leq 4.7 \cdot 10^{-85}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\ \end{array} \]
                                                                  10. Add Preprocessing

                                                                  Alternative 13: 23.4% accurate, 4.2× speedup?

                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\ \mathbf{if}\;y \leq -3 \cdot 10^{+190}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -2.55 \cdot 10^{-73}:\\ \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\ \mathbf{elif}\;y \leq 4.2 \cdot 10^{-288}:\\ \;\;\;\;\left(\left(-y4\right) \cdot \left(y3 \cdot y1\right)\right) \cdot j\\ \mathbf{elif}\;y \leq 4.3 \cdot 10^{+48}:\\ \;\;\;\;\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot \left(b \cdot z\right)\\ \mathbf{elif}\;y \leq 3 \cdot 10^{+213}:\\ \;\;\;\;\left(\left(\left(-y\right) \cdot x\right) \cdot i\right) \cdot c\\ \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 (* (* (* k y) i) y5)))
                                                                     (if (<= y -3e+190)
                                                                       t_1
                                                                       (if (<= y -2.55e-73)
                                                                         (* (* (* y0 z) b) k)
                                                                         (if (<= y 4.2e-288)
                                                                           (* (* (- y4) (* y3 y1)) j)
                                                                           (if (<= y 4.3e+48)
                                                                             (* (fma (- a) t (* y0 k)) (* b z))
                                                                             (if (<= y 3e+213) (* (* (* (- y) x) i) c) 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 = ((k * y) * i) * y5;
                                                                  	double tmp;
                                                                  	if (y <= -3e+190) {
                                                                  		tmp = t_1;
                                                                  	} else if (y <= -2.55e-73) {
                                                                  		tmp = ((y0 * z) * b) * k;
                                                                  	} else if (y <= 4.2e-288) {
                                                                  		tmp = (-y4 * (y3 * y1)) * j;
                                                                  	} else if (y <= 4.3e+48) {
                                                                  		tmp = fma(-a, t, (y0 * k)) * (b * z);
                                                                  	} else if (y <= 3e+213) {
                                                                  		tmp = ((-y * x) * i) * c;
                                                                  	} 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(k * y) * i) * y5)
                                                                  	tmp = 0.0
                                                                  	if (y <= -3e+190)
                                                                  		tmp = t_1;
                                                                  	elseif (y <= -2.55e-73)
                                                                  		tmp = Float64(Float64(Float64(y0 * z) * b) * k);
                                                                  	elseif (y <= 4.2e-288)
                                                                  		tmp = Float64(Float64(Float64(-y4) * Float64(y3 * y1)) * j);
                                                                  	elseif (y <= 4.3e+48)
                                                                  		tmp = Float64(fma(Float64(-a), t, Float64(y0 * k)) * Float64(b * z));
                                                                  	elseif (y <= 3e+213)
                                                                  		tmp = Float64(Float64(Float64(Float64(-y) * x) * i) * c);
                                                                  	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), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[y, -3e+190], t$95$1, If[LessEqual[y, -2.55e-73], N[(N[(N[(y0 * z), $MachinePrecision] * b), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[y, 4.2e-288], N[(N[((-y4) * N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y, 4.3e+48], N[(N[((-a) * t + N[(y0 * k), $MachinePrecision]), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 3e+213], N[(N[(N[((-y) * x), $MachinePrecision] * i), $MachinePrecision] * c), $MachinePrecision], t$95$1]]]]]]
                                                                  
                                                                  \begin{array}{l}
                                                                  
                                                                  \\
                                                                  \begin{array}{l}
                                                                  t_1 := \left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\
                                                                  \mathbf{if}\;y \leq -3 \cdot 10^{+190}:\\
                                                                  \;\;\;\;t\_1\\
                                                                  
                                                                  \mathbf{elif}\;y \leq -2.55 \cdot 10^{-73}:\\
                                                                  \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\
                                                                  
                                                                  \mathbf{elif}\;y \leq 4.2 \cdot 10^{-288}:\\
                                                                  \;\;\;\;\left(\left(-y4\right) \cdot \left(y3 \cdot y1\right)\right) \cdot j\\
                                                                  
                                                                  \mathbf{elif}\;y \leq 4.3 \cdot 10^{+48}:\\
                                                                  \;\;\;\;\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot \left(b \cdot z\right)\\
                                                                  
                                                                  \mathbf{elif}\;y \leq 3 \cdot 10^{+213}:\\
                                                                  \;\;\;\;\left(\left(\left(-y\right) \cdot x\right) \cdot i\right) \cdot c\\
                                                                  
                                                                  \mathbf{else}:\\
                                                                  \;\;\;\;t\_1\\
                                                                  
                                                                  
                                                                  \end{array}
                                                                  \end{array}
                                                                  
                                                                  Derivation
                                                                  1. Split input into 5 regimes
                                                                  2. if y < -2.99999999999999982e190 or 3.0000000000000001e213 < y

                                                                    1. Initial program 20.0%

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

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

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

                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                    5. Applied rewrites45.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 k around inf

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

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

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

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

                                                                        if -2.99999999999999982e190 < y < -2.55e-73

                                                                        1. Initial program 30.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 z around inf

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

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

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

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

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

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

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

                                                                              \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]
                                                                            2. Step-by-step derivation
                                                                              1. Applied rewrites37.9%

                                                                                \[\leadsto k \cdot \left(\left(y0 \cdot z\right) \cdot b\right) \]

                                                                              if -2.55e-73 < y < 4.19999999999999991e-288

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

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

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

                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
                                                                              5. Applied rewrites39.7%

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

                                                                                \[\leadsto \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot j \]
                                                                              7. Step-by-step derivation
                                                                                1. Applied rewrites35.6%

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

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

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

                                                                                  if 4.19999999999999991e-288 < y < 4.29999999999999978e48

                                                                                  1. Initial program 37.6%

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

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

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

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

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

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

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

                                                                                    if 4.29999999999999978e48 < y < 3.0000000000000001e213

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

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

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

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

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

                                                                                          \[\leadsto \left(-c\right) \cdot \left(i \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                      4. Recombined 5 regimes into one program.
                                                                                      5. Final simplification33.5%

                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -3 \cdot 10^{+190}:\\ \;\;\;\;\left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;y \leq -2.55 \cdot 10^{-73}:\\ \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\ \mathbf{elif}\;y \leq 4.2 \cdot 10^{-288}:\\ \;\;\;\;\left(\left(-y4\right) \cdot \left(y3 \cdot y1\right)\right) \cdot j\\ \mathbf{elif}\;y \leq 4.3 \cdot 10^{+48}:\\ \;\;\;\;\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot \left(b \cdot z\right)\\ \mathbf{elif}\;y \leq 3 \cdot 10^{+213}:\\ \;\;\;\;\left(\left(\left(-y\right) \cdot x\right) \cdot i\right) \cdot c\\ \mathbf{else}:\\ \;\;\;\;\left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\ \end{array} \]
                                                                                      6. Add Preprocessing

                                                                                      Alternative 14: 30.4% accurate, 4.2× speedup?

                                                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{if}\;y5 \leq -1.15 \cdot 10^{+204}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq -1.6 \cdot 10^{-56}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot j\right) \cdot i\\ \mathbf{elif}\;y5 \leq -5.6 \cdot 10^{-149}:\\ \;\;\;\;\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot \left(y \cdot x\right)\\ \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                       :precision binary64
                                                                                       (let* ((t_1 (* (fma (- a) y (* y0 j)) (* y5 y3))))
                                                                                         (if (<= y5 -1.15e+204)
                                                                                           t_1
                                                                                           (if (<= y5 -1.6e-56)
                                                                                             (* (* (fma (- t) y5 (* y1 x)) j) i)
                                                                                             (if (<= y5 -5.6e-149)
                                                                                               (* (fma a b (* (- i) c)) (* y x))
                                                                                               (if (<= y5 5.8e+37) (* (* c z) (fma (- y0) y3 (* i t))) 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(-a, y, (y0 * j)) * (y5 * y3);
                                                                                      	double tmp;
                                                                                      	if (y5 <= -1.15e+204) {
                                                                                      		tmp = t_1;
                                                                                      	} else if (y5 <= -1.6e-56) {
                                                                                      		tmp = (fma(-t, y5, (y1 * x)) * j) * i;
                                                                                      	} else if (y5 <= -5.6e-149) {
                                                                                      		tmp = fma(a, b, (-i * c)) * (y * x);
                                                                                      	} else if (y5 <= 5.8e+37) {
                                                                                      		tmp = (c * z) * fma(-y0, y3, (i * t));
                                                                                      	} 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(-a), y, Float64(y0 * j)) * Float64(y5 * y3))
                                                                                      	tmp = 0.0
                                                                                      	if (y5 <= -1.15e+204)
                                                                                      		tmp = t_1;
                                                                                      	elseif (y5 <= -1.6e-56)
                                                                                      		tmp = Float64(Float64(fma(Float64(-t), y5, Float64(y1 * x)) * j) * i);
                                                                                      	elseif (y5 <= -5.6e-149)
                                                                                      		tmp = Float64(fma(a, b, Float64(Float64(-i) * c)) * Float64(y * x));
                                                                                      	elseif (y5 <= 5.8e+37)
                                                                                      		tmp = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t)));
                                                                                      	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[((-a) * y + N[(y0 * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.15e+204], t$95$1, If[LessEqual[y5, -1.6e-56], N[(N[(N[((-t) * y5 + N[(y1 * x), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y5, -5.6e-149], N[(N[(a * b + N[((-i) * c), $MachinePrecision]), $MachinePrecision] * N[(y * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 5.8e+37], N[(N[(c * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
                                                                                      
                                                                                      \begin{array}{l}
                                                                                      
                                                                                      \\
                                                                                      \begin{array}{l}
                                                                                      t_1 := \mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\
                                                                                      \mathbf{if}\;y5 \leq -1.15 \cdot 10^{+204}:\\
                                                                                      \;\;\;\;t\_1\\
                                                                                      
                                                                                      \mathbf{elif}\;y5 \leq -1.6 \cdot 10^{-56}:\\
                                                                                      \;\;\;\;\left(\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot j\right) \cdot i\\
                                                                                      
                                                                                      \mathbf{elif}\;y5 \leq -5.6 \cdot 10^{-149}:\\
                                                                                      \;\;\;\;\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot \left(y \cdot x\right)\\
                                                                                      
                                                                                      \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\
                                                                                      \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
                                                                                      
                                                                                      \mathbf{else}:\\
                                                                                      \;\;\;\;t\_1\\
                                                                                      
                                                                                      
                                                                                      \end{array}
                                                                                      \end{array}
                                                                                      
                                                                                      Derivation
                                                                                      1. Split input into 4 regimes
                                                                                      2. if y5 < -1.14999999999999995e204 or 5.79999999999999957e37 < y5

                                                                                        1. Initial program 23.9%

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

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

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

                                                                                          if -1.14999999999999995e204 < y5 < -1.59999999999999993e-56

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

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

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

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

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

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

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

                                                                                            if -1.59999999999999993e-56 < y5 < -5.5999999999999997e-149

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

                                                                                              \[\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 x \cdot \color{blue}{\left(y \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
                                                                                            7. Step-by-step derivation
                                                                                              1. Applied rewrites55.0%

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

                                                                                              if -5.5999999999999997e-149 < y5 < 5.79999999999999957e37

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

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

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

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

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

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

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

                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1.15 \cdot 10^{+204}:\\ \;\;\;\;\mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{elif}\;y5 \leq -1.6 \cdot 10^{-56}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot j\right) \cdot i\\ \mathbf{elif}\;y5 \leq -5.6 \cdot 10^{-149}:\\ \;\;\;\;\mathsf{fma}\left(a, b, \left(-i\right) \cdot c\right) \cdot \left(y \cdot x\right)\\ \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\ \end{array} \]
                                                                                              10. Add Preprocessing

                                                                                              Alternative 15: 21.0% accurate, 4.4× speedup?

                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\ \mathbf{if}\;y \leq -3 \cdot 10^{+190}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -2.55 \cdot 10^{-73}:\\ \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\ \mathbf{elif}\;y \leq -3.5 \cdot 10^{-274}:\\ \;\;\;\;\left(\left(-y4\right) \cdot \left(y3 \cdot y1\right)\right) \cdot j\\ \mathbf{elif}\;y \leq 3 \cdot 10^{-25}:\\ \;\;\;\;\left(\left(-y2\right) \cdot \left(y0 \cdot k\right)\right) \cdot y5\\ \mathbf{elif}\;y \leq 8.2 \cdot 10^{+99}:\\ \;\;\;\;\left(b \cdot \left(y \cdot x\right)\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 (* (* (* k y) i) y5)))
                                                                                                 (if (<= y -3e+190)
                                                                                                   t_1
                                                                                                   (if (<= y -2.55e-73)
                                                                                                     (* (* (* y0 z) b) k)
                                                                                                     (if (<= y -3.5e-274)
                                                                                                       (* (* (- y4) (* y3 y1)) j)
                                                                                                       (if (<= y 3e-25)
                                                                                                         (* (* (- y2) (* y0 k)) y5)
                                                                                                         (if (<= y 8.2e+99) (* (* b (* y x)) 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 = ((k * y) * i) * y5;
                                                                                              	double tmp;
                                                                                              	if (y <= -3e+190) {
                                                                                              		tmp = t_1;
                                                                                              	} else if (y <= -2.55e-73) {
                                                                                              		tmp = ((y0 * z) * b) * k;
                                                                                              	} else if (y <= -3.5e-274) {
                                                                                              		tmp = (-y4 * (y3 * y1)) * j;
                                                                                              	} else if (y <= 3e-25) {
                                                                                              		tmp = (-y2 * (y0 * k)) * y5;
                                                                                              	} else if (y <= 8.2e+99) {
                                                                                              		tmp = (b * (y * x)) * 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 = ((k * y) * i) * y5
                                                                                                  if (y <= (-3d+190)) then
                                                                                                      tmp = t_1
                                                                                                  else if (y <= (-2.55d-73)) then
                                                                                                      tmp = ((y0 * z) * b) * k
                                                                                                  else if (y <= (-3.5d-274)) then
                                                                                                      tmp = (-y4 * (y3 * y1)) * j
                                                                                                  else if (y <= 3d-25) then
                                                                                                      tmp = (-y2 * (y0 * k)) * y5
                                                                                                  else if (y <= 8.2d+99) then
                                                                                                      tmp = (b * (y * x)) * 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 = ((k * y) * i) * y5;
                                                                                              	double tmp;
                                                                                              	if (y <= -3e+190) {
                                                                                              		tmp = t_1;
                                                                                              	} else if (y <= -2.55e-73) {
                                                                                              		tmp = ((y0 * z) * b) * k;
                                                                                              	} else if (y <= -3.5e-274) {
                                                                                              		tmp = (-y4 * (y3 * y1)) * j;
                                                                                              	} else if (y <= 3e-25) {
                                                                                              		tmp = (-y2 * (y0 * k)) * y5;
                                                                                              	} else if (y <= 8.2e+99) {
                                                                                              		tmp = (b * (y * x)) * 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 = ((k * y) * i) * y5
                                                                                              	tmp = 0
                                                                                              	if y <= -3e+190:
                                                                                              		tmp = t_1
                                                                                              	elif y <= -2.55e-73:
                                                                                              		tmp = ((y0 * z) * b) * k
                                                                                              	elif y <= -3.5e-274:
                                                                                              		tmp = (-y4 * (y3 * y1)) * j
                                                                                              	elif y <= 3e-25:
                                                                                              		tmp = (-y2 * (y0 * k)) * y5
                                                                                              	elif y <= 8.2e+99:
                                                                                              		tmp = (b * (y * x)) * 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(k * y) * i) * y5)
                                                                                              	tmp = 0.0
                                                                                              	if (y <= -3e+190)
                                                                                              		tmp = t_1;
                                                                                              	elseif (y <= -2.55e-73)
                                                                                              		tmp = Float64(Float64(Float64(y0 * z) * b) * k);
                                                                                              	elseif (y <= -3.5e-274)
                                                                                              		tmp = Float64(Float64(Float64(-y4) * Float64(y3 * y1)) * j);
                                                                                              	elseif (y <= 3e-25)
                                                                                              		tmp = Float64(Float64(Float64(-y2) * Float64(y0 * k)) * y5);
                                                                                              	elseif (y <= 8.2e+99)
                                                                                              		tmp = Float64(Float64(b * Float64(y * x)) * 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 = ((k * y) * i) * y5;
                                                                                              	tmp = 0.0;
                                                                                              	if (y <= -3e+190)
                                                                                              		tmp = t_1;
                                                                                              	elseif (y <= -2.55e-73)
                                                                                              		tmp = ((y0 * z) * b) * k;
                                                                                              	elseif (y <= -3.5e-274)
                                                                                              		tmp = (-y4 * (y3 * y1)) * j;
                                                                                              	elseif (y <= 3e-25)
                                                                                              		tmp = (-y2 * (y0 * k)) * y5;
                                                                                              	elseif (y <= 8.2e+99)
                                                                                              		tmp = (b * (y * x)) * 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[(k * y), $MachinePrecision] * i), $MachinePrecision] * y5), $MachinePrecision]}, If[LessEqual[y, -3e+190], t$95$1, If[LessEqual[y, -2.55e-73], N[(N[(N[(y0 * z), $MachinePrecision] * b), $MachinePrecision] * k), $MachinePrecision], If[LessEqual[y, -3.5e-274], N[(N[((-y4) * N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y, 3e-25], N[(N[((-y2) * N[(y0 * k), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision], If[LessEqual[y, 8.2e+99], N[(N[(b * N[(y * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], t$95$1]]]]]]
                                                                                              
                                                                                              \begin{array}{l}
                                                                                              
                                                                                              \\
                                                                                              \begin{array}{l}
                                                                                              t_1 := \left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\
                                                                                              \mathbf{if}\;y \leq -3 \cdot 10^{+190}:\\
                                                                                              \;\;\;\;t\_1\\
                                                                                              
                                                                                              \mathbf{elif}\;y \leq -2.55 \cdot 10^{-73}:\\
                                                                                              \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\
                                                                                              
                                                                                              \mathbf{elif}\;y \leq -3.5 \cdot 10^{-274}:\\
                                                                                              \;\;\;\;\left(\left(-y4\right) \cdot \left(y3 \cdot y1\right)\right) \cdot j\\
                                                                                              
                                                                                              \mathbf{elif}\;y \leq 3 \cdot 10^{-25}:\\
                                                                                              \;\;\;\;\left(\left(-y2\right) \cdot \left(y0 \cdot k\right)\right) \cdot y5\\
                                                                                              
                                                                                              \mathbf{elif}\;y \leq 8.2 \cdot 10^{+99}:\\
                                                                                              \;\;\;\;\left(b \cdot \left(y \cdot x\right)\right) \cdot a\\
                                                                                              
                                                                                              \mathbf{else}:\\
                                                                                              \;\;\;\;t\_1\\
                                                                                              
                                                                                              
                                                                                              \end{array}
                                                                                              \end{array}
                                                                                              
                                                                                              Derivation
                                                                                              1. Split input into 5 regimes
                                                                                              2. if y < -2.99999999999999982e190 or 8.19999999999999959e99 < y

                                                                                                1. Initial program 20.7%

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

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

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

                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                5. Applied rewrites39.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 k around inf

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

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

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

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

                                                                                                    if -2.99999999999999982e190 < y < -2.55e-73

                                                                                                    1. Initial program 30.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 z around inf

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

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

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

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

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

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

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

                                                                                                          \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]
                                                                                                        2. Step-by-step derivation
                                                                                                          1. Applied rewrites37.9%

                                                                                                            \[\leadsto k \cdot \left(\left(y0 \cdot z\right) \cdot b\right) \]

                                                                                                          if -2.55e-73 < y < -3.49999999999999982e-274

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

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

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

                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
                                                                                                          5. Applied rewrites43.3%

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

                                                                                                            \[\leadsto \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot j \]
                                                                                                          7. Step-by-step derivation
                                                                                                            1. Applied rewrites37.7%

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

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

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

                                                                                                              if -3.49999999999999982e-274 < y < 2.9999999999999998e-25

                                                                                                              1. Initial program 31.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 rewrites47.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 k around inf

                                                                                                                \[\leadsto \left(k \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right) \cdot y5 \]
                                                                                                              7. Step-by-step derivation
                                                                                                                1. Applied rewrites26.6%

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

                                                                                                                  \[\leadsto \left(-1 \cdot \left(k \cdot \left(y0 \cdot y2\right)\right)\right) \cdot y5 \]
                                                                                                                3. Step-by-step derivation
                                                                                                                  1. Applied rewrites25.0%

                                                                                                                    \[\leadsto \left(-\left(k \cdot y0\right) \cdot y2\right) \cdot y5 \]

                                                                                                                  if 2.9999999999999998e-25 < y < 8.19999999999999959e99

                                                                                                                  1. Initial program 36.0%

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

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

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

                                                                                                                      \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
                                                                                                                  5. Applied rewrites26.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 x \cdot \color{blue}{\left(y \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
                                                                                                                  7. Step-by-step derivation
                                                                                                                    1. Applied rewrites37.2%

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

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

                                                                                                                        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                    4. Recombined 5 regimes into one program.
                                                                                                                    5. Final simplification33.2%

                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -3 \cdot 10^{+190}:\\ \;\;\;\;\left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\ \mathbf{elif}\;y \leq -2.55 \cdot 10^{-73}:\\ \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\ \mathbf{elif}\;y \leq -3.5 \cdot 10^{-274}:\\ \;\;\;\;\left(\left(-y4\right) \cdot \left(y3 \cdot y1\right)\right) \cdot j\\ \mathbf{elif}\;y \leq 3 \cdot 10^{-25}:\\ \;\;\;\;\left(\left(-y2\right) \cdot \left(y0 \cdot k\right)\right) \cdot y5\\ \mathbf{elif}\;y \leq 8.2 \cdot 10^{+99}:\\ \;\;\;\;\left(b \cdot \left(y \cdot x\right)\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\ \end{array} \]
                                                                                                                    6. Add Preprocessing

                                                                                                                    Alternative 16: 30.4% accurate, 4.8× speedup?

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

                                                                                                                      1. Initial program 30.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 rewrites60.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 y3 around inf

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

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

                                                                                                                        if -5.39999999999999981e169 < y5 < -4.3e-53

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

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

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

                                                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
                                                                                                                        5. Applied rewrites47.5%

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

                                                                                                                          \[\leadsto \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot j \]
                                                                                                                        7. Step-by-step derivation
                                                                                                                          1. Applied rewrites29.1%

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

                                                                                                                            \[\leadsto \left(t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) \cdot j \]
                                                                                                                          3. Step-by-step derivation
                                                                                                                            1. Applied rewrites52.0%

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

                                                                                                                            if -4.3e-53 < y5 < 4.70000000000000009e-85

                                                                                                                            1. Initial program 34.5%

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

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

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

                                                                                                                              if 4.70000000000000009e-85 < y5

                                                                                                                              1. Initial program 23.6%

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

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

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

                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                              5. Applied rewrites56.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 k around inf

                                                                                                                                \[\leadsto \left(k \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right) \cdot y5 \]
                                                                                                                              7. Step-by-step derivation
                                                                                                                                1. Applied rewrites41.2%

                                                                                                                                  \[\leadsto \left(k \cdot \mathsf{fma}\left(-y0, y2, i \cdot y\right)\right) \cdot y5 \]
                                                                                                                              8. Recombined 4 regimes into one program.
                                                                                                                              9. Final simplification44.6%

                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -5.4 \cdot 10^{+169}:\\ \;\;\;\;\mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{elif}\;y5 \leq -4.3 \cdot 10^{-53}:\\ \;\;\;\;\left(\mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) \cdot t\right) \cdot j\\ \mathbf{elif}\;y5 \leq 4.7 \cdot 10^{-85}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y2, i \cdot y\right) \cdot k\right) \cdot y5\\ \end{array} \]
                                                                                                                              10. Add Preprocessing

                                                                                                                              Alternative 17: 30.5% accurate, 5.6× speedup?

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

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

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

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

                                                                                                                                  if -1.45e145 < y5 < 1.40000000000000012e-82

                                                                                                                                  1. Initial program 32.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 z around inf

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

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

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

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

                                                                                                                                    \[\leadsto \left(c \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right) \cdot z \]
                                                                                                                                  7. Step-by-step derivation
                                                                                                                                    1. Applied rewrites36.8%

                                                                                                                                      \[\leadsto \left(c \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\right) \cdot z \]

                                                                                                                                    if 1.40000000000000012e-82 < y5

                                                                                                                                    1. Initial program 23.9%

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

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

                                                                                                                                        \[\leadsto \left(k \cdot \mathsf{fma}\left(-y0, y2, i \cdot y\right)\right) \cdot y5 \]
                                                                                                                                    8. Recombined 3 regimes into one program.
                                                                                                                                    9. Final simplification40.8%

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

                                                                                                                                    Alternative 18: 31.5% accurate, 5.6× speedup?

                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{if}\;y5 \leq -1.45 \cdot 10^{+145}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\ \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 (- a) y (* y0 j)) (* y5 y3))))
                                                                                                                                       (if (<= y5 -1.45e+145)
                                                                                                                                         t_1
                                                                                                                                         (if (<= y5 5.8e+37) (* (* (fma (- y0) y3 (* i t)) c) z) 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(-a, y, (y0 * j)) * (y5 * y3);
                                                                                                                                    	double tmp;
                                                                                                                                    	if (y5 <= -1.45e+145) {
                                                                                                                                    		tmp = t_1;
                                                                                                                                    	} else if (y5 <= 5.8e+37) {
                                                                                                                                    		tmp = (fma(-y0, y3, (i * t)) * c) * z;
                                                                                                                                    	} 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(-a), y, Float64(y0 * j)) * Float64(y5 * y3))
                                                                                                                                    	tmp = 0.0
                                                                                                                                    	if (y5 <= -1.45e+145)
                                                                                                                                    		tmp = t_1;
                                                                                                                                    	elseif (y5 <= 5.8e+37)
                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-y0), y3, Float64(i * t)) * c) * z);
                                                                                                                                    	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[((-a) * y + N[(y0 * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.45e+145], t$95$1, If[LessEqual[y5, 5.8e+37], N[(N[(N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * z), $MachinePrecision], t$95$1]]]
                                                                                                                                    
                                                                                                                                    \begin{array}{l}
                                                                                                                                    
                                                                                                                                    \\
                                                                                                                                    \begin{array}{l}
                                                                                                                                    t_1 := \mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\
                                                                                                                                    \mathbf{if}\;y5 \leq -1.45 \cdot 10^{+145}:\\
                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                    
                                                                                                                                    \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\
                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\
                                                                                                                                    
                                                                                                                                    \mathbf{else}:\\
                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                    
                                                                                                                                    
                                                                                                                                    \end{array}
                                                                                                                                    \end{array}
                                                                                                                                    
                                                                                                                                    Derivation
                                                                                                                                    1. Split input into 2 regimes
                                                                                                                                    2. if y5 < -1.45e145 or 5.79999999999999957e37 < y5

                                                                                                                                      1. Initial program 22.7%

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

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

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

                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                      5. Applied rewrites60.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 y3 around inf

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

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

                                                                                                                                        if -1.45e145 < y5 < 5.79999999999999957e37

                                                                                                                                        1. Initial program 32.6%

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

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

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

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

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

                                                                                                                                          \[\leadsto \left(c \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right) \cdot z \]
                                                                                                                                        7. Step-by-step derivation
                                                                                                                                          1. Applied rewrites36.2%

                                                                                                                                            \[\leadsto \left(c \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\right) \cdot z \]
                                                                                                                                        8. Recombined 2 regimes into one program.
                                                                                                                                        9. Final simplification40.3%

                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1.45 \cdot 10^{+145}:\\ \;\;\;\;\mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y0, y3, i \cdot t\right) \cdot c\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\ \end{array} \]
                                                                                                                                        10. Add Preprocessing

                                                                                                                                        Alternative 19: 30.4% accurate, 5.6× speedup?

                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{if}\;y5 \leq -3.5 \cdot 10^{+92}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                         :precision binary64
                                                                                                                                         (let* ((t_1 (* (fma (- a) y (* y0 j)) (* y5 y3))))
                                                                                                                                           (if (<= y5 -3.5e+92)
                                                                                                                                             t_1
                                                                                                                                             (if (<= y5 5.8e+37) (* (* c z) (fma (- y0) y3 (* i t))) 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(-a, y, (y0 * j)) * (y5 * y3);
                                                                                                                                        	double tmp;
                                                                                                                                        	if (y5 <= -3.5e+92) {
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	} else if (y5 <= 5.8e+37) {
                                                                                                                                        		tmp = (c * z) * fma(-y0, y3, (i * t));
                                                                                                                                        	} 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(-a), y, Float64(y0 * j)) * Float64(y5 * y3))
                                                                                                                                        	tmp = 0.0
                                                                                                                                        	if (y5 <= -3.5e+92)
                                                                                                                                        		tmp = t_1;
                                                                                                                                        	elseif (y5 <= 5.8e+37)
                                                                                                                                        		tmp = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t)));
                                                                                                                                        	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[((-a) * y + N[(y0 * j), $MachinePrecision]), $MachinePrecision] * N[(y5 * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -3.5e+92], t$95$1, If[LessEqual[y5, 5.8e+37], N[(N[(c * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
                                                                                                                                        
                                                                                                                                        \begin{array}{l}
                                                                                                                                        
                                                                                                                                        \\
                                                                                                                                        \begin{array}{l}
                                                                                                                                        t_1 := \mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\
                                                                                                                                        \mathbf{if}\;y5 \leq -3.5 \cdot 10^{+92}:\\
                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                        
                                                                                                                                        \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\
                                                                                                                                        \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
                                                                                                                                        
                                                                                                                                        \mathbf{else}:\\
                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                        
                                                                                                                                        
                                                                                                                                        \end{array}
                                                                                                                                        \end{array}
                                                                                                                                        
                                                                                                                                        Derivation
                                                                                                                                        1. Split input into 2 regimes
                                                                                                                                        2. if y5 < -3.49999999999999986e92 or 5.79999999999999957e37 < y5

                                                                                                                                          1. Initial program 25.4%

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

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

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

                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(j \cdot t - k \cdot y\right)\right) + -1 \cdot \left(y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right)\right) - -1 \cdot \left(a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y5} \]
                                                                                                                                          5. Applied rewrites62.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 y3 around inf

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

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

                                                                                                                                            if -3.49999999999999986e92 < y5 < 5.79999999999999957e37

                                                                                                                                            1. Initial program 31.5%

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

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

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

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

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

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

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

                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -3.5 \cdot 10^{+92}:\\ \;\;\;\;\mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\ \mathbf{elif}\;y5 \leq 5.8 \cdot 10^{+37}:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y, y0 \cdot j\right) \cdot \left(y5 \cdot y3\right)\\ \end{array} \]
                                                                                                                                            10. Add Preprocessing

                                                                                                                                            Alternative 20: 30.1% accurate, 5.6× speedup?

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

                                                                                                                                              1. Initial program 23.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 rewrites61.2%

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

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

                                                                                                                                                if -3.00000000000000003e149 < y5 < 6.0999999999999999e37

                                                                                                                                                1. Initial program 32.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 z around inf

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

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

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

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

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

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

                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -3 \cdot 10^{+149}:\\ \;\;\;\;\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(y5 \cdot a\right)\\ \mathbf{elif}\;y5 \leq 6.1 \cdot 10^{+37}:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(y5 \cdot a\right)\\ \end{array} \]
                                                                                                                                                10. Add Preprocessing

                                                                                                                                                Alternative 21: 22.7% accurate, 5.9× speedup?

                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\ \mathbf{if}\;z \leq -4.6 \cdot 10^{+86}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -1.32 \cdot 10^{-14}:\\ \;\;\;\;\left(b \cdot \left(y \cdot x\right)\right) \cdot a\\ \mathbf{elif}\;z \leq 4.8 \cdot 10^{+31}:\\ \;\;\;\;\left(\left(y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                 :precision binary64
                                                                                                                                                 (let* ((t_1 (* (* (* y0 z) b) k)))
                                                                                                                                                   (if (<= z -4.6e+86)
                                                                                                                                                     t_1
                                                                                                                                                     (if (<= z -1.32e-14)
                                                                                                                                                       (* (* b (* y x)) a)
                                                                                                                                                       (if (<= z 4.8e+31) (* (* (* y3 y0) y5) j) t_1)))))
                                                                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                	double t_1 = ((y0 * z) * b) * k;
                                                                                                                                                	double tmp;
                                                                                                                                                	if (z <= -4.6e+86) {
                                                                                                                                                		tmp = t_1;
                                                                                                                                                	} else if (z <= -1.32e-14) {
                                                                                                                                                		tmp = (b * (y * x)) * a;
                                                                                                                                                	} else if (z <= 4.8e+31) {
                                                                                                                                                		tmp = ((y3 * y0) * y5) * j;
                                                                                                                                                	} 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 = ((y0 * z) * b) * k
                                                                                                                                                    if (z <= (-4.6d+86)) then
                                                                                                                                                        tmp = t_1
                                                                                                                                                    else if (z <= (-1.32d-14)) then
                                                                                                                                                        tmp = (b * (y * x)) * a
                                                                                                                                                    else if (z <= 4.8d+31) then
                                                                                                                                                        tmp = ((y3 * y0) * y5) * j
                                                                                                                                                    else
                                                                                                                                                        tmp = t_1
                                                                                                                                                    end if
                                                                                                                                                    code = tmp
                                                                                                                                                end function
                                                                                                                                                
                                                                                                                                                public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                	double t_1 = ((y0 * z) * b) * k;
                                                                                                                                                	double tmp;
                                                                                                                                                	if (z <= -4.6e+86) {
                                                                                                                                                		tmp = t_1;
                                                                                                                                                	} else if (z <= -1.32e-14) {
                                                                                                                                                		tmp = (b * (y * x)) * a;
                                                                                                                                                	} else if (z <= 4.8e+31) {
                                                                                                                                                		tmp = ((y3 * y0) * y5) * j;
                                                                                                                                                	} 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 = ((y0 * z) * b) * k
                                                                                                                                                	tmp = 0
                                                                                                                                                	if z <= -4.6e+86:
                                                                                                                                                		tmp = t_1
                                                                                                                                                	elif z <= -1.32e-14:
                                                                                                                                                		tmp = (b * (y * x)) * a
                                                                                                                                                	elif z <= 4.8e+31:
                                                                                                                                                		tmp = ((y3 * y0) * y5) * j
                                                                                                                                                	else:
                                                                                                                                                		tmp = t_1
                                                                                                                                                	return tmp
                                                                                                                                                
                                                                                                                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                	t_1 = Float64(Float64(Float64(y0 * z) * b) * k)
                                                                                                                                                	tmp = 0.0
                                                                                                                                                	if (z <= -4.6e+86)
                                                                                                                                                		tmp = t_1;
                                                                                                                                                	elseif (z <= -1.32e-14)
                                                                                                                                                		tmp = Float64(Float64(b * Float64(y * x)) * a);
                                                                                                                                                	elseif (z <= 4.8e+31)
                                                                                                                                                		tmp = Float64(Float64(Float64(y3 * y0) * y5) * j);
                                                                                                                                                	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 = ((y0 * z) * b) * k;
                                                                                                                                                	tmp = 0.0;
                                                                                                                                                	if (z <= -4.6e+86)
                                                                                                                                                		tmp = t_1;
                                                                                                                                                	elseif (z <= -1.32e-14)
                                                                                                                                                		tmp = (b * (y * x)) * a;
                                                                                                                                                	elseif (z <= 4.8e+31)
                                                                                                                                                		tmp = ((y3 * y0) * y5) * j;
                                                                                                                                                	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[(y0 * z), $MachinePrecision] * b), $MachinePrecision] * k), $MachinePrecision]}, If[LessEqual[z, -4.6e+86], t$95$1, If[LessEqual[z, -1.32e-14], N[(N[(b * N[(y * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[z, 4.8e+31], N[(N[(N[(y3 * y0), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], t$95$1]]]]
                                                                                                                                                
                                                                                                                                                \begin{array}{l}
                                                                                                                                                
                                                                                                                                                \\
                                                                                                                                                \begin{array}{l}
                                                                                                                                                t_1 := \left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\
                                                                                                                                                \mathbf{if}\;z \leq -4.6 \cdot 10^{+86}:\\
                                                                                                                                                \;\;\;\;t\_1\\
                                                                                                                                                
                                                                                                                                                \mathbf{elif}\;z \leq -1.32 \cdot 10^{-14}:\\
                                                                                                                                                \;\;\;\;\left(b \cdot \left(y \cdot x\right)\right) \cdot a\\
                                                                                                                                                
                                                                                                                                                \mathbf{elif}\;z \leq 4.8 \cdot 10^{+31}:\\
                                                                                                                                                \;\;\;\;\left(\left(y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                                                                                                                                                
                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                \;\;\;\;t\_1\\
                                                                                                                                                
                                                                                                                                                
                                                                                                                                                \end{array}
                                                                                                                                                \end{array}
                                                                                                                                                
                                                                                                                                                Derivation
                                                                                                                                                1. Split input into 3 regimes
                                                                                                                                                2. if z < -4.59999999999999979e86 or 4.79999999999999965e31 < z

                                                                                                                                                  1. Initial program 30.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 z around inf

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

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

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

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

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

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

                                                                                                                                                      \[\leadsto b \cdot \left(k \cdot \color{blue}{\left(y0 \cdot z\right)}\right) \]
                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                      1. Applied rewrites26.8%

                                                                                                                                                        \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                      2. Step-by-step derivation
                                                                                                                                                        1. Applied rewrites33.0%

                                                                                                                                                          \[\leadsto k \cdot \left(\left(y0 \cdot z\right) \cdot b\right) \]

                                                                                                                                                        if -4.59999999999999979e86 < z < -1.32e-14

                                                                                                                                                        1. Initial program 19.2%

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

                                                                                                                                                          \[\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 x \cdot \color{blue}{\left(y \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                          1. Applied rewrites28.6%

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

                                                                                                                                                            \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                            1. Applied rewrites24.6%

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

                                                                                                                                                            if -1.32e-14 < z < 4.79999999999999965e31

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

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

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

                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
                                                                                                                                                            5. Applied rewrites41.4%

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

                                                                                                                                                              \[\leadsto \left(y3 \cdot \left(y0 \cdot y5 - y1 \cdot y4\right)\right) \cdot j \]
                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                              1. Applied rewrites36.1%

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

                                                                                                                                                                \[\leadsto \left(y0 \cdot \left(y3 \cdot y5\right)\right) \cdot j \]
                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                1. Applied rewrites24.9%

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

                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -4.6 \cdot 10^{+86}:\\ \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\ \mathbf{elif}\;z \leq -1.32 \cdot 10^{-14}:\\ \;\;\;\;\left(b \cdot \left(y \cdot x\right)\right) \cdot a\\ \mathbf{elif}\;z \leq 4.8 \cdot 10^{+31}:\\ \;\;\;\;\left(\left(y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\ \end{array} \]
                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                              Alternative 22: 22.5% accurate, 6.7× speedup?

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

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

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

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

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

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

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

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

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

                                                                                                                                                                      \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                    2. Step-by-step derivation
                                                                                                                                                                      1. Applied rewrites34.0%

                                                                                                                                                                        \[\leadsto k \cdot \left(\left(y0 \cdot z\right) \cdot b\right) \]

                                                                                                                                                                      if -5.29999999999999963e-12 < y0 < 1.18e79

                                                                                                                                                                      1. Initial program 34.0%

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

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

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

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

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

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

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

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

                                                                                                                                                                            \[\leadsto \left(-a\right) \cdot \left(\left(b \cdot t\right) \cdot \color{blue}{z}\right) \]

                                                                                                                                                                          if 1.18e79 < y0

                                                                                                                                                                          1. Initial program 18.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 z around inf

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

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

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

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

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

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

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

                                                                                                                                                                                \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                            4. Recombined 3 regimes into one program.
                                                                                                                                                                            5. Final simplification28.1%

                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -5.3 \cdot 10^{-12}:\\ \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\ \mathbf{elif}\;y0 \leq 1.18 \cdot 10^{+79}:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot z\right) \cdot \left(-a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\ \end{array} \]
                                                                                                                                                                            6. Add Preprocessing

                                                                                                                                                                            Alternative 23: 24.7% accurate, 6.7× speedup?

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

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

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

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

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

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

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

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

                                                                                                                                                                                if 2.99999999999999997e134 < y0

                                                                                                                                                                                1. Initial program 20.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 z around inf

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

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

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

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

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

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

                                                                                                                                                                                    \[\leadsto b \cdot \left(k \cdot \color{blue}{\left(y0 \cdot z\right)}\right) \]
                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                    1. Applied rewrites42.8%

                                                                                                                                                                                      \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                  4. Recombined 2 regimes into one program.
                                                                                                                                                                                  5. Final simplification32.1%

                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq 3 \cdot 10^{+134}:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\ \end{array} \]
                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                  Alternative 24: 21.7% accurate, 7.2× speedup?

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

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                            \[\leadsto k \cdot \left(\left(y0 \cdot z\right) \cdot b\right) \]

                                                                                                                                                                                          if -2.30000000000000019e99 < y0 < 1.1600000000000001e45

                                                                                                                                                                                          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 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 rewrites41.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 k around inf

                                                                                                                                                                                            \[\leadsto \left(k \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right) \cdot y5 \]
                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                            1. Applied rewrites20.8%

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

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

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

                                                                                                                                                                                              if 1.1600000000000001e45 < y0

                                                                                                                                                                                              1. Initial program 21.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 z around inf

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

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

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

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

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

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

                                                                                                                                                                                                  \[\leadsto b \cdot \left(k \cdot \color{blue}{\left(y0 \cdot z\right)}\right) \]
                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                  1. Applied rewrites37.4%

                                                                                                                                                                                                    \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                4. Recombined 3 regimes into one program.
                                                                                                                                                                                                5. Final simplification25.6%

                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -2.3 \cdot 10^{+99}:\\ \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\ \mathbf{elif}\;y0 \leq 1.16 \cdot 10^{+45}:\\ \;\;\;\;\left(\left(k \cdot y\right) \cdot i\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\ \end{array} \]
                                                                                                                                                                                                6. Add Preprocessing

                                                                                                                                                                                                Alternative 25: 22.9% accurate, 7.2× speedup?

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

                                                                                                                                                                                                  1. Initial program 30.0%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                        \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                      2. Step-by-step derivation
                                                                                                                                                                                                        1. Applied rewrites37.9%

                                                                                                                                                                                                          \[\leadsto k \cdot \left(\left(y0 \cdot z\right) \cdot b\right) \]

                                                                                                                                                                                                        if -6.00000000000000006e72 < y0 < 1.44999999999999996e79

                                                                                                                                                                                                        1. Initial program 33.0%

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

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

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

                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
                                                                                                                                                                                                        5. Applied rewrites32.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 x \cdot \color{blue}{\left(y \cdot \left(a \cdot b - c \cdot i\right)\right)} \]
                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                          1. Applied rewrites23.0%

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

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

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

                                                                                                                                                                                                            if 1.44999999999999996e79 < y0

                                                                                                                                                                                                            1. Initial program 18.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 z around inf

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

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

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

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

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

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

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

                                                                                                                                                                                                                  \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                              4. Recombined 3 regimes into one program.
                                                                                                                                                                                                              5. Final simplification25.0%

                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -6 \cdot 10^{+72}:\\ \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\ \mathbf{elif}\;y0 \leq 1.45 \cdot 10^{+79}:\\ \;\;\;\;\left(b \cdot \left(y \cdot x\right)\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\ \end{array} \]
                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                              Alternative 26: 19.4% accurate, 7.2× speedup?

                                                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\ \mathbf{if}\;k \leq -2000000000000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;k \leq 3.3 \cdot 10^{-95}:\\ \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\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 (* (* (* y0 k) z) b)))
                                                                                                                                                                                                                 (if (<= k -2000000000000.0)
                                                                                                                                                                                                                   t_1
                                                                                                                                                                                                                   (if (<= k 3.3e-95) (* (* (* y0 z) b) 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 = ((y0 * k) * z) * b;
                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                              	if (k <= -2000000000000.0) {
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	} else if (k <= 3.3e-95) {
                                                                                                                                                                                                              		tmp = ((y0 * z) * b) * k;
                                                                                                                                                                                                              	} 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 = ((y0 * k) * z) * b
                                                                                                                                                                                                                  if (k <= (-2000000000000.0d0)) then
                                                                                                                                                                                                                      tmp = t_1
                                                                                                                                                                                                                  else if (k <= 3.3d-95) then
                                                                                                                                                                                                                      tmp = ((y0 * z) * b) * k
                                                                                                                                                                                                                  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 = ((y0 * k) * z) * b;
                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                              	if (k <= -2000000000000.0) {
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	} else if (k <= 3.3e-95) {
                                                                                                                                                                                                              		tmp = ((y0 * z) * b) * k;
                                                                                                                                                                                                              	} 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 = ((y0 * k) * z) * b
                                                                                                                                                                                                              	tmp = 0
                                                                                                                                                                                                              	if k <= -2000000000000.0:
                                                                                                                                                                                                              		tmp = t_1
                                                                                                                                                                                                              	elif k <= 3.3e-95:
                                                                                                                                                                                                              		tmp = ((y0 * z) * b) * 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(Float64(y0 * k) * z) * b)
                                                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                                                              	if (k <= -2000000000000.0)
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	elseif (k <= 3.3e-95)
                                                                                                                                                                                                              		tmp = Float64(Float64(Float64(y0 * z) * b) * k);
                                                                                                                                                                                                              	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 = ((y0 * k) * z) * b;
                                                                                                                                                                                                              	tmp = 0.0;
                                                                                                                                                                                                              	if (k <= -2000000000000.0)
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	elseif (k <= 3.3e-95)
                                                                                                                                                                                                              		tmp = ((y0 * z) * b) * k;
                                                                                                                                                                                                              	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[(y0 * k), $MachinePrecision] * z), $MachinePrecision] * b), $MachinePrecision]}, If[LessEqual[k, -2000000000000.0], t$95$1, If[LessEqual[k, 3.3e-95], N[(N[(N[(y0 * z), $MachinePrecision] * b), $MachinePrecision] * k), $MachinePrecision], t$95$1]]]
                                                                                                                                                                                                              
                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                              
                                                                                                                                                                                                              \\
                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                              t_1 := \left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\
                                                                                                                                                                                                              \mathbf{if}\;k \leq -2000000000000:\\
                                                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                                                              
                                                                                                                                                                                                              \mathbf{elif}\;k \leq 3.3 \cdot 10^{-95}:\\
                                                                                                                                                                                                              \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\
                                                                                                                                                                                                              
                                                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                                                              
                                                                                                                                                                                                              
                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                              
                                                                                                                                                                                                              Derivation
                                                                                                                                                                                                              1. Split input into 2 regimes
                                                                                                                                                                                                              2. if k < -2e12 or 3.3e-95 < k

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                      \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]

                                                                                                                                                                                                                    if -2e12 < k < 3.3e-95

                                                                                                                                                                                                                    1. Initial program 32.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 z around inf

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

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

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

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

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

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

                                                                                                                                                                                                                        \[\leadsto b \cdot \left(k \cdot \color{blue}{\left(y0 \cdot z\right)}\right) \]
                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                        1. Applied rewrites7.7%

                                                                                                                                                                                                                          \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                        2. Step-by-step derivation
                                                                                                                                                                                                                          1. Applied rewrites17.7%

                                                                                                                                                                                                                            \[\leadsto k \cdot \left(\left(y0 \cdot z\right) \cdot b\right) \]
                                                                                                                                                                                                                        3. Recombined 2 regimes into one program.
                                                                                                                                                                                                                        4. Final simplification23.5%

                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;k \leq -2000000000000:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\ \mathbf{elif}\;k \leq 3.3 \cdot 10^{-95}:\\ \;\;\;\;\left(\left(y0 \cdot z\right) \cdot b\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot z\right) \cdot b\\ \end{array} \]
                                                                                                                                                                                                                        5. Add Preprocessing

                                                                                                                                                                                                                        Alternative 27: 17.1% accurate, 12.6× speedup?

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

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

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

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

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

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

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

                                                                                                                                                                                                                            \[\leadsto b \cdot \left(k \cdot \color{blue}{\left(y0 \cdot z\right)}\right) \]
                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                            1. Applied rewrites18.7%

                                                                                                                                                                                                                              \[\leadsto b \cdot \left(\left(k \cdot y0\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                            2. Final simplification18.7%

                                                                                                                                                                                                                              \[\leadsto \left(\left(y0 \cdot k\right) \cdot z\right) \cdot b \]
                                                                                                                                                                                                                            3. Add Preprocessing

                                                                                                                                                                                                                            Developer Target 1: 27.0% 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 2024268 
                                                                                                                                                                                                                            (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)))))