Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 29.6% → 41.0%
Time: 37.3s
Alternatives: 32
Speedup: 4.2×

Specification

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

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

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 32 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.6% accurate, 1.0× speedup?

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

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

Alternative 1: 41.0% accurate, 2.2× speedup?

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

\\
\begin{array}{l}
t_1 := y5 \cdot a - y4 \cdot c\\
t_2 := k \cdot z - j \cdot x\\
t_3 := y0 \cdot c - y1 \cdot a\\
\mathbf{if}\;y2 \leq -3.3 \cdot 10^{+63}:\\
\;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(t\_3, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\

\mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-174}:\\
\;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\

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

\mathbf{elif}\;y2 \leq 3.3 \cdot 10^{-17}:\\
\;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, z, \mathsf{fma}\left(j, y4 \cdot b - y5 \cdot i, t\_1 \cdot y2\right)\right) \cdot t\\

\mathbf{elif}\;y2 \leq 2.1 \cdot 10^{+169}:\\
\;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, t\_2 \cdot y0\right)\right) \cdot b\\

\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(t\_3, x, t\_1 \cdot t\right)\right) \cdot y2\\


\end{array}
\end{array}
Derivation
  1. Split input into 6 regimes
  2. if y2 < -3.3000000000000002e63

    1. Initial program 25.0%

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

    if -3.3000000000000002e63 < y2 < -1.1499999999999999e-174

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

      \[\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} \]
    6. Taylor expanded in c around 0

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

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

      if -1.1499999999999999e-174 < y2 < -2.79999999999999976e-277

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

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

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

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

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

      if -2.79999999999999976e-277 < y2 < 3.3e-17

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

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

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

          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
      5. Applied rewrites69.8%

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

      if 3.3e-17 < y2 < 2.1000000000000001e169

      1. Initial program 36.5%

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

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

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

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

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

      if 2.1000000000000001e169 < y2

      1. Initial program 29.2%

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

        \[\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 6 regimes into one program.
    9. Final simplification62.2%

      \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -3.3 \cdot 10^{+63}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-174}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\ \mathbf{elif}\;y2 \leq -2.8 \cdot 10^{-277}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot j - y2 \cdot k, y5, \mathsf{fma}\left(c, y2 \cdot x - y3 \cdot z, \left(k \cdot z - j \cdot x\right) \cdot b\right)\right) \cdot y0\\ \mathbf{elif}\;y2 \leq 3.3 \cdot 10^{-17}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, z, \mathsf{fma}\left(j, y4 \cdot b - y5 \cdot i, \left(y5 \cdot a - y4 \cdot c\right) \cdot y2\right)\right) \cdot t\\ \mathbf{elif}\;y2 \leq 2.1 \cdot 10^{+169}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \end{array} \]
    10. Add Preprocessing

    Alternative 2: 55.2% accurate, 0.5× speedup?

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

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

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

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

    Alternative 3: 35.1% accurate, 2.1× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot x - k \cdot z\\ t_2 := \left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{if}\;y2 \leq -7.2 \cdot 10^{+123}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y2 \leq -3.8 \cdot 10^{+63}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, t\_1 \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;y2 \leq -7.6 \cdot 10^{-175}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;y2 \leq 6 \cdot 10^{+31}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y2 \leq 2.5 \cdot 10^{+170}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, t\_1 \cdot y1\right)\right) \cdot i\\ \mathbf{elif}\;y2 \leq 8 \cdot 10^{+225}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\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 (- (* j x) (* k z))) (t_2 (* (* (fma c y0 (* (- a) y1)) y2) x)))
       (if (<= y2 -7.2e+123)
         t_2
         (if (<= y2 -3.8e+63)
           (*
            (fma (- (* y3 z) (* y2 x)) a (fma (- (* y2 k) (* y3 j)) y4 (* t_1 i)))
            y1)
           (if (<= y2 -7.6e-175)
             (* (fma y1 (fma j x (* (- k) z)) (* (fma j t (* (- k) y)) (- y5))) i)
             (if (<= y2 -1.15e-276)
               (* (* (fma (- x) y0 (* y4 t)) b) j)
               (if (<= y2 2e-240)
                 (* (* (fma a b (* (- c) i)) y) x)
                 (if (<= y2 6e+31)
                   (* (* (fma a (/ z j) (- y4)) (- j)) (* b t))
                   (if (<= y2 2.5e+170)
                     (*
                      (fma (* t z) c (fma (- y5) (- (* j t) (* k y)) (* t_1 y1)))
                      i)
                     (if (<= y2 8e+225)
                       t_2
                       (* (* (fma k y1 (* (- c) t)) y2) 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 = (j * x) - (k * z);
    	double t_2 = (fma(c, y0, (-a * y1)) * y2) * x;
    	double tmp;
    	if (y2 <= -7.2e+123) {
    		tmp = t_2;
    	} else if (y2 <= -3.8e+63) {
    		tmp = fma(((y3 * z) - (y2 * x)), a, fma(((y2 * k) - (y3 * j)), y4, (t_1 * i))) * y1;
    	} else if (y2 <= -7.6e-175) {
    		tmp = fma(y1, fma(j, x, (-k * z)), (fma(j, t, (-k * y)) * -y5)) * i;
    	} else if (y2 <= -1.15e-276) {
    		tmp = (fma(-x, y0, (y4 * t)) * b) * j;
    	} else if (y2 <= 2e-240) {
    		tmp = (fma(a, b, (-c * i)) * y) * x;
    	} else if (y2 <= 6e+31) {
    		tmp = (fma(a, (z / j), -y4) * -j) * (b * t);
    	} else if (y2 <= 2.5e+170) {
    		tmp = fma((t * z), c, fma(-y5, ((j * t) - (k * y)), (t_1 * y1))) * i;
    	} else if (y2 <= 8e+225) {
    		tmp = t_2;
    	} else {
    		tmp = (fma(k, y1, (-c * t)) * y2) * 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(j * x) - Float64(k * z))
    	t_2 = Float64(Float64(fma(c, y0, Float64(Float64(-a) * y1)) * y2) * x)
    	tmp = 0.0
    	if (y2 <= -7.2e+123)
    		tmp = t_2;
    	elseif (y2 <= -3.8e+63)
    		tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(t_1 * i))) * y1);
    	elseif (y2 <= -7.6e-175)
    		tmp = Float64(fma(y1, fma(j, x, Float64(Float64(-k) * z)), Float64(fma(j, t, Float64(Float64(-k) * y)) * Float64(-y5))) * i);
    	elseif (y2 <= -1.15e-276)
    		tmp = Float64(Float64(fma(Float64(-x), y0, Float64(y4 * t)) * b) * j);
    	elseif (y2 <= 2e-240)
    		tmp = Float64(Float64(fma(a, b, Float64(Float64(-c) * i)) * y) * x);
    	elseif (y2 <= 6e+31)
    		tmp = Float64(Float64(fma(a, Float64(z / j), Float64(-y4)) * Float64(-j)) * Float64(b * t));
    	elseif (y2 <= 2.5e+170)
    		tmp = Float64(fma(Float64(t * z), c, fma(Float64(-y5), Float64(Float64(j * t) - Float64(k * y)), Float64(t_1 * y1))) * i);
    	elseif (y2 <= 8e+225)
    		tmp = t_2;
    	else
    		tmp = Float64(Float64(fma(k, y1, Float64(Float64(-c) * t)) * y2) * 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[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[y2, -7.2e+123], t$95$2, If[LessEqual[y2, -3.8e+63], 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[(t$95$1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y2, -7.6e-175], N[(N[(y1 * N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] + N[(N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision] * (-y5)), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y2, -1.15e-276], N[(N[(N[((-x) * y0 + N[(y4 * t), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y2, 2e-240], N[(N[(N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y2, 6e+31], N[(N[(N[(a * N[(z / j), $MachinePrecision] + (-y4)), $MachinePrecision] * (-j)), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.5e+170], N[(N[(N[(t * z), $MachinePrecision] * c + N[((-y5) * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y2, 8e+225], t$95$2, N[(N[(N[(k * y1 + N[((-c) * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * y4), $MachinePrecision]]]]]]]]]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    t_1 := j \cdot x - k \cdot z\\
    t_2 := \left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\
    \mathbf{if}\;y2 \leq -7.2 \cdot 10^{+123}:\\
    \;\;\;\;t\_2\\
    
    \mathbf{elif}\;y2 \leq -3.8 \cdot 10^{+63}:\\
    \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, t\_1 \cdot i\right)\right) \cdot y1\\
    
    \mathbf{elif}\;y2 \leq -7.6 \cdot 10^{-175}:\\
    \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\
    
    \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\
    \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\
    
    \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\
    \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\
    
    \mathbf{elif}\;y2 \leq 6 \cdot 10^{+31}:\\
    \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\
    
    \mathbf{elif}\;y2 \leq 2.5 \cdot 10^{+170}:\\
    \;\;\;\;\mathsf{fma}\left(t \cdot z, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, t\_1 \cdot y1\right)\right) \cdot i\\
    
    \mathbf{elif}\;y2 \leq 8 \cdot 10^{+225}:\\
    \;\;\;\;t\_2\\
    
    \mathbf{else}:\\
    \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 8 regimes
    2. if y2 < -7.19999999999999996e123 or 2.49999999999999988e170 < y2 < 7.99999999999999943e225

      1. Initial program 22.4%

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

        \[\leadsto \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) \cdot x \]
      7. Step-by-step derivation
        1. Applied rewrites64.1%

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

        if -7.19999999999999996e123 < y2 < -3.8000000000000001e63

        1. Initial program 36.8%

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

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

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

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

        if -3.8000000000000001e63 < y2 < -7.6e-175

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

          \[\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} \]
        6. Taylor expanded in c around 0

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

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

          if -7.6e-175 < y2 < -1.14999999999999991e-276

          1. Initial program 52.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 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 b around inf

            \[\leadsto \left(b \cdot \left(-1 \cdot \left(x \cdot y0\right) + t \cdot y4\right)\right) \cdot j \]
          7. Step-by-step derivation
            1. Applied rewrites59.2%

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

            if -1.14999999999999991e-276 < y2 < 1.9999999999999999e-240

            1. Initial program 49.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 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 rewrites50.2%

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

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

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

              if 1.9999999999999999e-240 < y2 < 5.99999999999999978e31

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

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

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

                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
              5. Applied rewrites60.8%

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

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

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

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

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

                  if 5.99999999999999978e31 < y2 < 2.49999999999999988e170

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

                    \[\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} \]
                  6. Taylor expanded in t around inf

                    \[\leadsto \mathsf{fma}\left(t \cdot z, c, \mathsf{fma}\left(\mathsf{neg}\left(y5\right), j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i \]
                  7. Step-by-step derivation
                    1. Applied rewrites47.1%

                      \[\leadsto \mathsf{fma}\left(t \cdot z, 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 7.99999999999999943e225 < y2

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

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

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

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

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

                          \[\leadsto \left(y2 \cdot \mathsf{fma}\left(k, y1, -c \cdot t\right)\right) \cdot y4 \]
                      4. Recombined 8 regimes into one program.
                      5. Final simplification57.8%

                        \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -7.2 \cdot 10^{+123}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{elif}\;y2 \leq -3.8 \cdot 10^{+63}:\\ \;\;\;\;\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}\;y2 \leq -7.6 \cdot 10^{-175}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;y2 \leq 6 \cdot 10^{+31}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y2 \leq 2.5 \cdot 10^{+170}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z, 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}\;y2 \leq 8 \cdot 10^{+225}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\ \end{array} \]
                      6. Add Preprocessing

                      Alternative 4: 34.8% accurate, 2.2× speedup?

                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{if}\;y2 \leq -2.75 \cdot 10^{+162}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq -7.6 \cdot 10^{-175}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;y2 \leq 6 \cdot 10^{+31}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y2 \leq 2.5 \cdot 10^{+170}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z, 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}\;y2 \leq 8 \cdot 10^{+225}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\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 (* (* (fma c y0 (* (- a) y1)) y2) x)))
                         (if (<= y2 -2.75e+162)
                           t_1
                           (if (<= y2 -7.6e-175)
                             (* (fma y1 (fma j x (* (- k) z)) (* (fma j t (* (- k) y)) (- y5))) i)
                             (if (<= y2 -1.15e-276)
                               (* (* (fma (- x) y0 (* y4 t)) b) j)
                               (if (<= y2 2e-240)
                                 (* (* (fma a b (* (- c) i)) y) x)
                                 (if (<= y2 6e+31)
                                   (* (* (fma a (/ z j) (- y4)) (- j)) (* b t))
                                   (if (<= y2 2.5e+170)
                                     (*
                                      (fma
                                       (* t z)
                                       c
                                       (fma (- y5) (- (* j t) (* k y)) (* (- (* j x) (* k z)) y1)))
                                      i)
                                     (if (<= y2 8e+225)
                                       t_1
                                       (* (* (fma k y1 (* (- c) t)) y2) 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 = (fma(c, y0, (-a * y1)) * y2) * x;
                      	double tmp;
                      	if (y2 <= -2.75e+162) {
                      		tmp = t_1;
                      	} else if (y2 <= -7.6e-175) {
                      		tmp = fma(y1, fma(j, x, (-k * z)), (fma(j, t, (-k * y)) * -y5)) * i;
                      	} else if (y2 <= -1.15e-276) {
                      		tmp = (fma(-x, y0, (y4 * t)) * b) * j;
                      	} else if (y2 <= 2e-240) {
                      		tmp = (fma(a, b, (-c * i)) * y) * x;
                      	} else if (y2 <= 6e+31) {
                      		tmp = (fma(a, (z / j), -y4) * -j) * (b * t);
                      	} else if (y2 <= 2.5e+170) {
                      		tmp = fma((t * z), c, fma(-y5, ((j * t) - (k * y)), (((j * x) - (k * z)) * y1))) * i;
                      	} else if (y2 <= 8e+225) {
                      		tmp = t_1;
                      	} else {
                      		tmp = (fma(k, y1, (-c * t)) * y2) * 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(fma(c, y0, Float64(Float64(-a) * y1)) * y2) * x)
                      	tmp = 0.0
                      	if (y2 <= -2.75e+162)
                      		tmp = t_1;
                      	elseif (y2 <= -7.6e-175)
                      		tmp = Float64(fma(y1, fma(j, x, Float64(Float64(-k) * z)), Float64(fma(j, t, Float64(Float64(-k) * y)) * Float64(-y5))) * i);
                      	elseif (y2 <= -1.15e-276)
                      		tmp = Float64(Float64(fma(Float64(-x), y0, Float64(y4 * t)) * b) * j);
                      	elseif (y2 <= 2e-240)
                      		tmp = Float64(Float64(fma(a, b, Float64(Float64(-c) * i)) * y) * x);
                      	elseif (y2 <= 6e+31)
                      		tmp = Float64(Float64(fma(a, Float64(z / j), Float64(-y4)) * Float64(-j)) * Float64(b * t));
                      	elseif (y2 <= 2.5e+170)
                      		tmp = Float64(fma(Float64(t * z), c, fma(Float64(-y5), Float64(Float64(j * t) - Float64(k * y)), Float64(Float64(Float64(j * x) - Float64(k * z)) * y1))) * i);
                      	elseif (y2 <= 8e+225)
                      		tmp = t_1;
                      	else
                      		tmp = Float64(Float64(fma(k, y1, Float64(Float64(-c) * t)) * y2) * 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[(N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[y2, -2.75e+162], t$95$1, If[LessEqual[y2, -7.6e-175], N[(N[(y1 * N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] + N[(N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision] * (-y5)), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y2, -1.15e-276], N[(N[(N[((-x) * y0 + N[(y4 * t), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y2, 2e-240], N[(N[(N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y2, 6e+31], N[(N[(N[(a * N[(z / j), $MachinePrecision] + (-y4)), $MachinePrecision] * (-j)), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.5e+170], N[(N[(N[(t * z), $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[y2, 8e+225], t$95$1, N[(N[(N[(k * y1 + N[((-c) * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * y4), $MachinePrecision]]]]]]]]]
                      
                      \begin{array}{l}
                      
                      \\
                      \begin{array}{l}
                      t_1 := \left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\
                      \mathbf{if}\;y2 \leq -2.75 \cdot 10^{+162}:\\
                      \;\;\;\;t\_1\\
                      
                      \mathbf{elif}\;y2 \leq -7.6 \cdot 10^{-175}:\\
                      \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\
                      
                      \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\
                      \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\
                      
                      \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\
                      \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\
                      
                      \mathbf{elif}\;y2 \leq 6 \cdot 10^{+31}:\\
                      \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\
                      
                      \mathbf{elif}\;y2 \leq 2.5 \cdot 10^{+170}:\\
                      \;\;\;\;\mathsf{fma}\left(t \cdot z, 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}\;y2 \leq 8 \cdot 10^{+225}:\\
                      \;\;\;\;t\_1\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\
                      
                      
                      \end{array}
                      \end{array}
                      
                      Derivation
                      1. Split input into 7 regimes
                      2. if y2 < -2.74999999999999983e162 or 2.49999999999999988e170 < y2 < 7.99999999999999943e225

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

                          \[\leadsto \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) \cdot x \]
                        7. Step-by-step derivation
                          1. Applied rewrites69.7%

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

                          if -2.74999999999999983e162 < y2 < -7.6e-175

                          1. Initial program 41.7%

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

                            \[\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} \]
                          6. Taylor expanded in c around 0

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

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

                            if -7.6e-175 < y2 < -1.14999999999999991e-276

                            1. Initial program 52.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 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 b around inf

                              \[\leadsto \left(b \cdot \left(-1 \cdot \left(x \cdot y0\right) + t \cdot y4\right)\right) \cdot j \]
                            7. Step-by-step derivation
                              1. Applied rewrites59.2%

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

                              if -1.14999999999999991e-276 < y2 < 1.9999999999999999e-240

                              1. Initial program 49.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 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 rewrites50.2%

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

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

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

                                if 1.9999999999999999e-240 < y2 < 5.99999999999999978e31

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

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

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

                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                5. Applied rewrites60.8%

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

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

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

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

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

                                    if 5.99999999999999978e31 < y2 < 2.49999999999999988e170

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

                                      \[\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} \]
                                    6. Taylor expanded in t around inf

                                      \[\leadsto \mathsf{fma}\left(t \cdot z, c, \mathsf{fma}\left(\mathsf{neg}\left(y5\right), j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i \]
                                    7. Step-by-step derivation
                                      1. Applied rewrites47.1%

                                        \[\leadsto \mathsf{fma}\left(t \cdot z, 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 7.99999999999999943e225 < y2

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

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

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

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

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

                                            \[\leadsto \left(y2 \cdot \mathsf{fma}\left(k, y1, -c \cdot t\right)\right) \cdot y4 \]
                                        4. Recombined 7 regimes into one program.
                                        5. Final simplification56.2%

                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.75 \cdot 10^{+162}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{elif}\;y2 \leq -7.6 \cdot 10^{-175}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;y2 \leq 6 \cdot 10^{+31}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y2 \leq 2.5 \cdot 10^{+170}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z, 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}\;y2 \leq 8 \cdot 10^{+225}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\ \end{array} \]
                                        6. Add Preprocessing

                                        Alternative 5: 40.1% accurate, 2.2× speedup?

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

                                          1. Initial program 25.0%

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

                                          if -3.3000000000000002e63 < y2 < -7.6e-175

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

                                            \[\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} \]
                                          6. Taylor expanded in c around 0

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

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

                                            if -7.6e-175 < y2 < -8.79999999999999983e-277

                                            1. Initial program 52.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 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 b around inf

                                              \[\leadsto \left(b \cdot \left(-1 \cdot \left(x \cdot y0\right) + t \cdot y4\right)\right) \cdot j \]
                                            7. Step-by-step derivation
                                              1. Applied rewrites59.2%

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

                                              if -8.79999999999999983e-277 < y2 < 3.3e-17

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

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

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

                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                              5. Applied rewrites69.8%

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

                                              if 3.3e-17 < y2 < 2.1000000000000001e169

                                              1. Initial program 36.5%

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

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

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

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

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

                                              if 2.1000000000000001e169 < y2

                                              1. Initial program 29.2%

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

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

                                              \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -3.3 \cdot 10^{+63}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \mathbf{elif}\;y2 \leq -7.6 \cdot 10^{-175}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\ \mathbf{elif}\;y2 \leq -8.8 \cdot 10^{-277}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;y2 \leq 3.3 \cdot 10^{-17}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, z, \mathsf{fma}\left(j, y4 \cdot b - y5 \cdot i, \left(y5 \cdot a - y4 \cdot c\right) \cdot y2\right)\right) \cdot t\\ \mathbf{elif}\;y2 \leq 2.1 \cdot 10^{+169}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \end{array} \]
                                            10. Add Preprocessing

                                            Alternative 6: 45.1% accurate, 2.3× speedup?

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

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

                                                \[\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 -560 < i < -7.60000000000000006e-210

                                              1. Initial program 44.2%

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

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

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

                                                  \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
                                              5. Applied rewrites56.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} \]

                                              if -7.60000000000000006e-210 < i < 6.5999999999999995e-185

                                              1. Initial program 42.5%

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

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

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

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

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

                                              if 6.5999999999999995e-185 < i < 1.1999999999999999e-6

                                              1. Initial program 37.4%

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

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

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

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

                                                \[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b} \]
                                            3. Recombined 4 regimes into one program.
                                            4. Final simplification62.1%

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

                                            Alternative 7: 43.9% accurate, 2.3× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot x - t \cdot z\\ t_2 := j \cdot t - k \cdot y\\ t_3 := \mathsf{fma}\left(t \cdot z, c, \mathsf{fma}\left(-y5, t\_2, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{if}\;i \leq -7.1 \cdot 10^{+109}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;i \leq -7.6 \cdot 10^{-210}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \mathbf{elif}\;i \leq 6.6 \cdot 10^{-185}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(t\_1, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{elif}\;i \leq 3.5 \cdot 10^{-6}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, a, \mathsf{fma}\left(t\_2, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                             :precision binary64
                                             (let* ((t_1 (- (* y x) (* t z)))
                                                    (t_2 (- (* j t) (* k y)))
                                                    (t_3
                                                     (* (fma (* t z) c (fma (- y5) t_2 (* (- (* j x) (* k z)) y1))) i)))
                                               (if (<= i -7.1e+109)
                                                 t_3
                                                 (if (<= i -7.6e-210)
                                                   (*
                                                    (fma
                                                     (- (* b a) (* i c))
                                                     y
                                                     (fma (- (* y0 c) (* y1 a)) y2 (* (- (* y1 i) (* y0 b)) j)))
                                                    x)
                                                   (if (<= i 6.6e-185)
                                                     (*
                                                      (fma
                                                       (- (* y3 z) (* y2 x))
                                                       y1
                                                       (fma t_1 b (* (- (* y2 t) (* y3 y)) y5)))
                                                      a)
                                                     (if (<= i 3.5e-6)
                                                       (* (fma t_1 a (fma t_2 y4 (* (- (* k z) (* j x)) y0))) b)
                                                       t_3))))))
                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                            	double t_1 = (y * x) - (t * z);
                                            	double t_2 = (j * t) - (k * y);
                                            	double t_3 = fma((t * z), c, fma(-y5, t_2, (((j * x) - (k * z)) * y1))) * i;
                                            	double tmp;
                                            	if (i <= -7.1e+109) {
                                            		tmp = t_3;
                                            	} else if (i <= -7.6e-210) {
                                            		tmp = fma(((b * a) - (i * c)), y, fma(((y0 * c) - (y1 * a)), y2, (((y1 * i) - (y0 * b)) * j))) * x;
                                            	} else if (i <= 6.6e-185) {
                                            		tmp = fma(((y3 * z) - (y2 * x)), y1, fma(t_1, b, (((y2 * t) - (y3 * y)) * y5))) * a;
                                            	} else if (i <= 3.5e-6) {
                                            		tmp = fma(t_1, a, fma(t_2, y4, (((k * z) - (j * x)) * y0))) * b;
                                            	} else {
                                            		tmp = t_3;
                                            	}
                                            	return tmp;
                                            }
                                            
                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                            	t_1 = Float64(Float64(y * x) - Float64(t * z))
                                            	t_2 = Float64(Float64(j * t) - Float64(k * y))
                                            	t_3 = Float64(fma(Float64(t * z), c, fma(Float64(-y5), t_2, Float64(Float64(Float64(j * x) - Float64(k * z)) * y1))) * i)
                                            	tmp = 0.0
                                            	if (i <= -7.1e+109)
                                            		tmp = t_3;
                                            	elseif (i <= -7.6e-210)
                                            		tmp = Float64(fma(Float64(Float64(b * a) - Float64(i * c)), y, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), y2, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * j))) * x);
                                            	elseif (i <= 6.6e-185)
                                            		tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), y1, fma(t_1, b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a);
                                            	elseif (i <= 3.5e-6)
                                            		tmp = Float64(fma(t_1, a, fma(t_2, y4, Float64(Float64(Float64(k * z) - Float64(j * x)) * y0))) * b);
                                            	else
                                            		tmp = t_3;
                                            	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[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(t * z), $MachinePrecision] * c + N[((-y5) * t$95$2 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[i, -7.1e+109], t$95$3, If[LessEqual[i, -7.6e-210], N[(N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * y + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * y2 + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[i, 6.6e-185], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * y1 + N[(t$95$1 * b + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[i, 3.5e-6], N[(N[(t$95$1 * a + N[(t$95$2 * y4 + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], t$95$3]]]]]]]
                                            
                                            \begin{array}{l}
                                            
                                            \\
                                            \begin{array}{l}
                                            t_1 := y \cdot x - t \cdot z\\
                                            t_2 := j \cdot t - k \cdot y\\
                                            t_3 := \mathsf{fma}\left(t \cdot z, c, \mathsf{fma}\left(-y5, t\_2, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\
                                            \mathbf{if}\;i \leq -7.1 \cdot 10^{+109}:\\
                                            \;\;\;\;t\_3\\
                                            
                                            \mathbf{elif}\;i \leq -7.6 \cdot 10^{-210}:\\
                                            \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\
                                            
                                            \mathbf{elif}\;i \leq 6.6 \cdot 10^{-185}:\\
                                            \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(t\_1, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\
                                            
                                            \mathbf{elif}\;i \leq 3.5 \cdot 10^{-6}:\\
                                            \;\;\;\;\mathsf{fma}\left(t\_1, a, \mathsf{fma}\left(t\_2, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;t\_3\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 4 regimes
                                            2. if i < -7.1000000000000003e109 or 3.49999999999999995e-6 < i

                                              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 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 rewrites63.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} \]
                                              6. Taylor expanded in t around inf

                                                \[\leadsto \mathsf{fma}\left(t \cdot z, c, \mathsf{fma}\left(\mathsf{neg}\left(y5\right), j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i \]
                                              7. Step-by-step derivation
                                                1. Applied rewrites60.5%

                                                  \[\leadsto \mathsf{fma}\left(t \cdot z, 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 -7.1000000000000003e109 < i < -7.60000000000000006e-210

                                                1. Initial program 46.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 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.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} \]

                                                if -7.60000000000000006e-210 < i < 6.5999999999999995e-185

                                                1. Initial program 42.5%

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

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

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

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

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

                                                if 6.5999999999999995e-185 < i < 3.49999999999999995e-6

                                                1. Initial program 37.4%

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

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

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

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

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

                                                \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -7.1 \cdot 10^{+109}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{elif}\;i \leq -7.6 \cdot 10^{-210}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \mathbf{elif}\;i \leq 6.6 \cdot 10^{-185}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{elif}\;i \leq 3.5 \cdot 10^{-6}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \end{array} \]
                                              10. Add Preprocessing

                                              Alternative 8: 44.2% accurate, 2.3× speedup?

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

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

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

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

                                                  if -2.1e209 < k < -9.8000000000000002e117

                                                  1. Initial program 40.0%

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

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

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

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

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

                                                  if -9.8000000000000002e117 < k < -7.59999999999999942e-36

                                                  1. Initial program 43.9%

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

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

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

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

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

                                                  if -7.59999999999999942e-36 < k < 6.5e15

                                                  1. Initial program 43.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 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 rewrites55.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} \]

                                                  if 6.5e15 < k

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

                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;k \leq -2.1 \cdot 10^{+209}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot k\right) \cdot y1\\ \mathbf{elif}\;k \leq -9.8 \cdot 10^{+117}:\\ \;\;\;\;\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}\;k \leq -7.6 \cdot 10^{-36}:\\ \;\;\;\;\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}\;k \leq 6.5 \cdot 10^{+15}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(y1 \cdot i - y0 \cdot b\right) \cdot j\right)\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\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\\ \end{array} \]
                                                10. Add Preprocessing

                                                Alternative 9: 34.6% accurate, 2.5× speedup?

                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\ t_2 := \left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{if}\;y2 \leq -2.75 \cdot 10^{+162}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y2 \leq -7.6 \cdot 10^{-175}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;y2 \leq 1.15 \cdot 10^{+50}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y2 \leq 5.3 \cdot 10^{+170}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq 8 \cdot 10^{+225}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\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
                                                         (* (fma y1 (fma j x (* (- k) z)) (* (fma j t (* (- k) y)) (- y5))) i))
                                                        (t_2 (* (* (fma c y0 (* (- a) y1)) y2) x)))
                                                   (if (<= y2 -2.75e+162)
                                                     t_2
                                                     (if (<= y2 -7.6e-175)
                                                       t_1
                                                       (if (<= y2 -1.15e-276)
                                                         (* (* (fma (- x) y0 (* y4 t)) b) j)
                                                         (if (<= y2 2e-240)
                                                           (* (* (fma a b (* (- c) i)) y) x)
                                                           (if (<= y2 1.15e+50)
                                                             (* (* (fma a (/ z j) (- y4)) (- j)) (* b t))
                                                             (if (<= y2 5.3e+170)
                                                               t_1
                                                               (if (<= y2 8e+225)
                                                                 t_2
                                                                 (* (* (fma k y1 (* (- c) t)) y2) 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 = fma(y1, fma(j, x, (-k * z)), (fma(j, t, (-k * y)) * -y5)) * i;
                                                	double t_2 = (fma(c, y0, (-a * y1)) * y2) * x;
                                                	double tmp;
                                                	if (y2 <= -2.75e+162) {
                                                		tmp = t_2;
                                                	} else if (y2 <= -7.6e-175) {
                                                		tmp = t_1;
                                                	} else if (y2 <= -1.15e-276) {
                                                		tmp = (fma(-x, y0, (y4 * t)) * b) * j;
                                                	} else if (y2 <= 2e-240) {
                                                		tmp = (fma(a, b, (-c * i)) * y) * x;
                                                	} else if (y2 <= 1.15e+50) {
                                                		tmp = (fma(a, (z / j), -y4) * -j) * (b * t);
                                                	} else if (y2 <= 5.3e+170) {
                                                		tmp = t_1;
                                                	} else if (y2 <= 8e+225) {
                                                		tmp = t_2;
                                                	} else {
                                                		tmp = (fma(k, y1, (-c * t)) * y2) * y4;
                                                	}
                                                	return tmp;
                                                }
                                                
                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                	t_1 = Float64(fma(y1, fma(j, x, Float64(Float64(-k) * z)), Float64(fma(j, t, Float64(Float64(-k) * y)) * Float64(-y5))) * i)
                                                	t_2 = Float64(Float64(fma(c, y0, Float64(Float64(-a) * y1)) * y2) * x)
                                                	tmp = 0.0
                                                	if (y2 <= -2.75e+162)
                                                		tmp = t_2;
                                                	elseif (y2 <= -7.6e-175)
                                                		tmp = t_1;
                                                	elseif (y2 <= -1.15e-276)
                                                		tmp = Float64(Float64(fma(Float64(-x), y0, Float64(y4 * t)) * b) * j);
                                                	elseif (y2 <= 2e-240)
                                                		tmp = Float64(Float64(fma(a, b, Float64(Float64(-c) * i)) * y) * x);
                                                	elseif (y2 <= 1.15e+50)
                                                		tmp = Float64(Float64(fma(a, Float64(z / j), Float64(-y4)) * Float64(-j)) * Float64(b * t));
                                                	elseif (y2 <= 5.3e+170)
                                                		tmp = t_1;
                                                	elseif (y2 <= 8e+225)
                                                		tmp = t_2;
                                                	else
                                                		tmp = Float64(Float64(fma(k, y1, Float64(Float64(-c) * t)) * y2) * 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[(y1 * N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] + N[(N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision] * (-y5)), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[y2, -2.75e+162], t$95$2, If[LessEqual[y2, -7.6e-175], t$95$1, If[LessEqual[y2, -1.15e-276], N[(N[(N[((-x) * y0 + N[(y4 * t), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y2, 2e-240], N[(N[(N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y2, 1.15e+50], N[(N[(N[(a * N[(z / j), $MachinePrecision] + (-y4)), $MachinePrecision] * (-j)), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 5.3e+170], t$95$1, If[LessEqual[y2, 8e+225], t$95$2, N[(N[(N[(k * y1 + N[((-c) * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * y4), $MachinePrecision]]]]]]]]]]
                                                
                                                \begin{array}{l}
                                                
                                                \\
                                                \begin{array}{l}
                                                t_1 := \mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\
                                                t_2 := \left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\
                                                \mathbf{if}\;y2 \leq -2.75 \cdot 10^{+162}:\\
                                                \;\;\;\;t\_2\\
                                                
                                                \mathbf{elif}\;y2 \leq -7.6 \cdot 10^{-175}:\\
                                                \;\;\;\;t\_1\\
                                                
                                                \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\
                                                \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\
                                                
                                                \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\
                                                \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\
                                                
                                                \mathbf{elif}\;y2 \leq 1.15 \cdot 10^{+50}:\\
                                                \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\
                                                
                                                \mathbf{elif}\;y2 \leq 5.3 \cdot 10^{+170}:\\
                                                \;\;\;\;t\_1\\
                                                
                                                \mathbf{elif}\;y2 \leq 8 \cdot 10^{+225}:\\
                                                \;\;\;\;t\_2\\
                                                
                                                \mathbf{else}:\\
                                                \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\
                                                
                                                
                                                \end{array}
                                                \end{array}
                                                
                                                Derivation
                                                1. Split input into 6 regimes
                                                2. if y2 < -2.74999999999999983e162 or 5.30000000000000003e170 < y2 < 7.99999999999999943e225

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

                                                    \[\leadsto \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) \cdot x \]
                                                  7. Step-by-step derivation
                                                    1. Applied rewrites69.7%

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

                                                    if -2.74999999999999983e162 < y2 < -7.6e-175 or 1.14999999999999998e50 < y2 < 5.30000000000000003e170

                                                    1. Initial program 39.9%

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

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

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

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

                                                      \[\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} \]
                                                    6. Taylor expanded in c around 0

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

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

                                                      if -7.6e-175 < y2 < -1.14999999999999991e-276

                                                      1. Initial program 52.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 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 b around inf

                                                        \[\leadsto \left(b \cdot \left(-1 \cdot \left(x \cdot y0\right) + t \cdot y4\right)\right) \cdot j \]
                                                      7. Step-by-step derivation
                                                        1. Applied rewrites59.2%

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

                                                        if -1.14999999999999991e-276 < y2 < 1.9999999999999999e-240

                                                        1. Initial program 49.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 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 rewrites50.2%

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

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

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

                                                          if 1.9999999999999999e-240 < y2 < 1.14999999999999998e50

                                                          1. Initial program 37.2%

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

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

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

                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                          5. Applied rewrites56.5%

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

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

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

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

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

                                                              if 7.99999999999999943e225 < y2

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

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

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

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

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

                                                                    \[\leadsto \left(y2 \cdot \mathsf{fma}\left(k, y1, -c \cdot t\right)\right) \cdot y4 \]
                                                                4. Recombined 6 regimes into one program.
                                                                5. Final simplification55.5%

                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.75 \cdot 10^{+162}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{elif}\;y2 \leq -7.6 \cdot 10^{-175}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;y2 \leq 1.15 \cdot 10^{+50}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y2 \leq 5.3 \cdot 10^{+170}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \left(-y5\right)\right) \cdot i\\ \mathbf{elif}\;y2 \leq 8 \cdot 10^{+225}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\ \end{array} \]
                                                                6. Add Preprocessing

                                                                Alternative 10: 43.9% accurate, 2.7× speedup?

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

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

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

                                                                    \[\leadsto \mathsf{fma}\left(t \cdot z, c, \mathsf{fma}\left(\mathsf{neg}\left(y5\right), j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i \]
                                                                  7. Step-by-step derivation
                                                                    1. Applied rewrites55.1%

                                                                      \[\leadsto \mathsf{fma}\left(t \cdot z, 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.80000000000000016e-36 < i < 1.94999999999999999e-28

                                                                    1. Initial program 41.0%

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

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

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

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

                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - z \cdot y3\right), y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(t \cdot y2 - y \cdot y3\right) \cdot y5\right)\right) \cdot a} \]
                                                                  8. Recombined 2 regimes into one program.
                                                                  9. Final simplification52.9%

                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1.8 \cdot 10^{-36}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{elif}\;i \leq 1.95 \cdot 10^{-28}:\\ \;\;\;\;\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(t \cdot z, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \end{array} \]
                                                                  10. Add Preprocessing

                                                                  Alternative 11: 31.6% accurate, 2.8× speedup?

                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{if}\;y2 \leq -8.5 \cdot 10^{+160}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq -33000:\\ \;\;\;\;\left(\mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) \cdot j\right) \cdot t\\ \mathbf{elif}\;y2 \leq -6 \cdot 10^{-173}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot i\right) \cdot x\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;y2 \leq 5 \cdot 10^{+77}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y2 \leq 2.2 \cdot 10^{+146}:\\ \;\;\;\;\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot \left(y4 \cdot t\right)\\ \mathbf{elif}\;y2 \leq 8 \cdot 10^{+225}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\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 (* (* (fma c y0 (* (- a) y1)) y2) x)))
                                                                     (if (<= y2 -8.5e+160)
                                                                       t_1
                                                                       (if (<= y2 -33000.0)
                                                                         (* (* (fma b y4 (* (- i) y5)) j) t)
                                                                         (if (<= y2 -6e-173)
                                                                           (* (* (fma (- c) y (* y1 j)) i) x)
                                                                           (if (<= y2 -1.15e-276)
                                                                             (* (* (fma (- x) y0 (* y4 t)) b) j)
                                                                             (if (<= y2 2e-240)
                                                                               (* (* (fma a b (* (- c) i)) y) x)
                                                                               (if (<= y2 5e+77)
                                                                                 (* (* (fma a (/ z j) (- y4)) (- j)) (* b t))
                                                                                 (if (<= y2 2.2e+146)
                                                                                   (* (fma (- c) y2 (* j b)) (* y4 t))
                                                                                   (if (<= y2 8e+225)
                                                                                     t_1
                                                                                     (* (* (fma k y1 (* (- c) t)) y2) 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 = (fma(c, y0, (-a * y1)) * y2) * x;
                                                                  	double tmp;
                                                                  	if (y2 <= -8.5e+160) {
                                                                  		tmp = t_1;
                                                                  	} else if (y2 <= -33000.0) {
                                                                  		tmp = (fma(b, y4, (-i * y5)) * j) * t;
                                                                  	} else if (y2 <= -6e-173) {
                                                                  		tmp = (fma(-c, y, (y1 * j)) * i) * x;
                                                                  	} else if (y2 <= -1.15e-276) {
                                                                  		tmp = (fma(-x, y0, (y4 * t)) * b) * j;
                                                                  	} else if (y2 <= 2e-240) {
                                                                  		tmp = (fma(a, b, (-c * i)) * y) * x;
                                                                  	} else if (y2 <= 5e+77) {
                                                                  		tmp = (fma(a, (z / j), -y4) * -j) * (b * t);
                                                                  	} else if (y2 <= 2.2e+146) {
                                                                  		tmp = fma(-c, y2, (j * b)) * (y4 * t);
                                                                  	} else if (y2 <= 8e+225) {
                                                                  		tmp = t_1;
                                                                  	} else {
                                                                  		tmp = (fma(k, y1, (-c * t)) * y2) * 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(fma(c, y0, Float64(Float64(-a) * y1)) * y2) * x)
                                                                  	tmp = 0.0
                                                                  	if (y2 <= -8.5e+160)
                                                                  		tmp = t_1;
                                                                  	elseif (y2 <= -33000.0)
                                                                  		tmp = Float64(Float64(fma(b, y4, Float64(Float64(-i) * y5)) * j) * t);
                                                                  	elseif (y2 <= -6e-173)
                                                                  		tmp = Float64(Float64(fma(Float64(-c), y, Float64(y1 * j)) * i) * x);
                                                                  	elseif (y2 <= -1.15e-276)
                                                                  		tmp = Float64(Float64(fma(Float64(-x), y0, Float64(y4 * t)) * b) * j);
                                                                  	elseif (y2 <= 2e-240)
                                                                  		tmp = Float64(Float64(fma(a, b, Float64(Float64(-c) * i)) * y) * x);
                                                                  	elseif (y2 <= 5e+77)
                                                                  		tmp = Float64(Float64(fma(a, Float64(z / j), Float64(-y4)) * Float64(-j)) * Float64(b * t));
                                                                  	elseif (y2 <= 2.2e+146)
                                                                  		tmp = Float64(fma(Float64(-c), y2, Float64(j * b)) * Float64(y4 * t));
                                                                  	elseif (y2 <= 8e+225)
                                                                  		tmp = t_1;
                                                                  	else
                                                                  		tmp = Float64(Float64(fma(k, y1, Float64(Float64(-c) * t)) * y2) * 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[(N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[y2, -8.5e+160], t$95$1, If[LessEqual[y2, -33000.0], N[(N[(N[(b * y4 + N[((-i) * y5), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[y2, -6e-173], N[(N[(N[((-c) * y + N[(y1 * j), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y2, -1.15e-276], N[(N[(N[((-x) * y0 + N[(y4 * t), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y2, 2e-240], N[(N[(N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y2, 5e+77], N[(N[(N[(a * N[(z / j), $MachinePrecision] + (-y4)), $MachinePrecision] * (-j)), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 2.2e+146], N[(N[((-c) * y2 + N[(j * b), $MachinePrecision]), $MachinePrecision] * N[(y4 * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 8e+225], t$95$1, N[(N[(N[(k * y1 + N[((-c) * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * y4), $MachinePrecision]]]]]]]]]]
                                                                  
                                                                  \begin{array}{l}
                                                                  
                                                                  \\
                                                                  \begin{array}{l}
                                                                  t_1 := \left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\
                                                                  \mathbf{if}\;y2 \leq -8.5 \cdot 10^{+160}:\\
                                                                  \;\;\;\;t\_1\\
                                                                  
                                                                  \mathbf{elif}\;y2 \leq -33000:\\
                                                                  \;\;\;\;\left(\mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) \cdot j\right) \cdot t\\
                                                                  
                                                                  \mathbf{elif}\;y2 \leq -6 \cdot 10^{-173}:\\
                                                                  \;\;\;\;\left(\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot i\right) \cdot x\\
                                                                  
                                                                  \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\
                                                                  \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\
                                                                  
                                                                  \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\
                                                                  \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\
                                                                  
                                                                  \mathbf{elif}\;y2 \leq 5 \cdot 10^{+77}:\\
                                                                  \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\
                                                                  
                                                                  \mathbf{elif}\;y2 \leq 2.2 \cdot 10^{+146}:\\
                                                                  \;\;\;\;\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot \left(y4 \cdot t\right)\\
                                                                  
                                                                  \mathbf{elif}\;y2 \leq 8 \cdot 10^{+225}:\\
                                                                  \;\;\;\;t\_1\\
                                                                  
                                                                  \mathbf{else}:\\
                                                                  \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\
                                                                  
                                                                  
                                                                  \end{array}
                                                                  \end{array}
                                                                  
                                                                  Derivation
                                                                  1. Split input into 8 regimes
                                                                  2. if y2 < -8.49999999999999982e160 or 2.1999999999999998e146 < y2 < 7.99999999999999943e225

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

                                                                      \[\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 y2 around inf

                                                                      \[\leadsto \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) \cdot x \]
                                                                    7. Step-by-step derivation
                                                                      1. Applied rewrites66.4%

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

                                                                      if -8.49999999999999982e160 < y2 < -33000

                                                                      1. Initial program 43.0%

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

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

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

                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                      5. Applied rewrites43.7%

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

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

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

                                                                        if -33000 < y2 < -6.0000000000000002e-173

                                                                        1. Initial program 40.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 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 rewrites31.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 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 rewrites46.1%

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

                                                                          if -6.0000000000000002e-173 < y2 < -1.14999999999999991e-276

                                                                          1. Initial program 52.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 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 b around inf

                                                                            \[\leadsto \left(b \cdot \left(-1 \cdot \left(x \cdot y0\right) + t \cdot y4\right)\right) \cdot j \]
                                                                          7. Step-by-step derivation
                                                                            1. Applied rewrites59.2%

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

                                                                            if -1.14999999999999991e-276 < y2 < 1.9999999999999999e-240

                                                                            1. Initial program 49.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 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 rewrites50.2%

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

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

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

                                                                              if 1.9999999999999999e-240 < y2 < 5.00000000000000004e77

                                                                              1. Initial program 38.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 t around inf

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

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

                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                              5. Applied rewrites56.0%

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

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

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

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

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

                                                                                  if 5.00000000000000004e77 < y2 < 2.1999999999999998e146

                                                                                  1. Initial program 34.9%

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

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

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

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

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

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

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

                                                                                    if 7.99999999999999943e225 < y2

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

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

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

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

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

                                                                                          \[\leadsto \left(y2 \cdot \mathsf{fma}\left(k, y1, -c \cdot t\right)\right) \cdot y4 \]
                                                                                      4. Recombined 8 regimes into one program.
                                                                                      5. Final simplification53.6%

                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -8.5 \cdot 10^{+160}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{elif}\;y2 \leq -33000:\\ \;\;\;\;\left(\mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) \cdot j\right) \cdot t\\ \mathbf{elif}\;y2 \leq -6 \cdot 10^{-173}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot i\right) \cdot x\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-276}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;y2 \leq 2 \cdot 10^{-240}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;y2 \leq 5 \cdot 10^{+77}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, \frac{z}{j}, -y4\right) \cdot \left(-j\right)\right) \cdot \left(b \cdot t\right)\\ \mathbf{elif}\;y2 \leq 2.2 \cdot 10^{+146}:\\ \;\;\;\;\mathsf{fma}\left(-c, y2, j \cdot b\right) \cdot \left(y4 \cdot t\right)\\ \mathbf{elif}\;y2 \leq 8 \cdot 10^{+225}:\\ \;\;\;\;\left(\mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right) \cdot y2\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\ \end{array} \]
                                                                                      6. Add Preprocessing

                                                                                      Alternative 12: 30.5% accurate, 3.1× speedup?

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

                                                                                        1. Initial program 25.0%

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

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

                                                                                          if -4.1999999999999998e240 < i < -5.9e16

                                                                                          1. Initial program 37.4%

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

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

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

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

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

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

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

                                                                                            if -5.9e16 < i < -2.50000000000000014e-289

                                                                                            1. Initial program 44.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 rewrites43.8%

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

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

                                                                                              if -2.50000000000000014e-289 < i < 3.3999999999999997e-269

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

                                                                                                \[\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 b around inf

                                                                                                \[\leadsto \left(b \cdot \left(-1 \cdot \left(x \cdot y0\right) + t \cdot y4\right)\right) \cdot j \]
                                                                                              7. Step-by-step derivation
                                                                                                1. Applied rewrites63.9%

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

                                                                                                if 3.3999999999999997e-269 < i < 7.4000000000000005e-167

                                                                                                1. Initial program 36.8%

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

                                                                                                  \[\leadsto \left(a \cdot \left(y3 \cdot z - x \cdot y2\right)\right) \cdot y1 \]
                                                                                                7. Step-by-step derivation
                                                                                                  1. Applied rewrites46.4%

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

                                                                                                  if 7.4000000000000005e-167 < i < 4.2999999999999998e-47

                                                                                                  1. Initial program 29.9%

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

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

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

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

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

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

                                                                                                    if 4.2999999999999998e-47 < i < 6.49999999999999999e92

                                                                                                    1. Initial program 32.2%

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

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

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

                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                    5. Applied rewrites48.7%

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

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

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

                                                                                                      if 6.49999999999999999e92 < i

                                                                                                      1. Initial program 28.9%

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

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

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

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

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

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

                                                                                                          \[\leadsto \left(y \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-a, y3, i \cdot k\right)} \]
                                                                                                      8. Recombined 8 regimes into one program.
                                                                                                      9. Final simplification51.5%

                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -4.2 \cdot 10^{+240}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot i\right) \cdot x\\ \mathbf{elif}\;i \leq -5.9 \cdot 10^{+16}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \mathbf{elif}\;i \leq -2.5 \cdot 10^{-289}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;i \leq 3.4 \cdot 10^{-269}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;i \leq 7.4 \cdot 10^{-167}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot a\right) \cdot y1\\ \mathbf{elif}\;i \leq 4.3 \cdot 10^{-47}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y2, \left(-y3\right) \cdot j\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;i \leq 6.5 \cdot 10^{+92}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, z, y5 \cdot y2\right) \cdot a\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \end{array} \]
                                                                                                      10. Add Preprocessing

                                                                                                      Alternative 13: 30.4% accurate, 3.1× speedup?

                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-c, y, y1 \cdot j\right)\\ t_2 := \left(t\_1 \cdot i\right) \cdot x\\ \mathbf{if}\;i \leq -4.2 \cdot 10^{+240}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;i \leq -5.9 \cdot 10^{+16}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \mathbf{elif}\;i \leq -1.4 \cdot 10^{-291}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{-21}:\\ \;\;\;\;\left(\left(-y3\right) \cdot t\_1\right) \cdot y4\\ \mathbf{elif}\;i \leq 2.05 \cdot 10^{+195}:\\ \;\;\;\;\left(\left(y4 - \frac{a \cdot z}{j}\right) \cdot j\right) \cdot \left(b \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
                                                                                                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                       :precision binary64
                                                                                                       (let* ((t_1 (fma (- c) y (* y1 j))) (t_2 (* (* t_1 i) x)))
                                                                                                         (if (<= i -4.2e+240)
                                                                                                           t_2
                                                                                                           (if (<= i -5.9e+16)
                                                                                                             (* (* (fma k y5 (* (- c) x)) i) y)
                                                                                                             (if (<= i -1.4e-291)
                                                                                                               (* (* (fma (- i) t (* y3 y0)) y5) j)
                                                                                                               (if (<= i 4.8e-21)
                                                                                                                 (* (* (- y3) t_1) y4)
                                                                                                                 (if (<= i 2.05e+195)
                                                                                                                   (* (* (- y4 (/ (* a z) j)) j) (* b t))
                                                                                                                   t_2)))))))
                                                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                      	double t_1 = fma(-c, y, (y1 * j));
                                                                                                      	double t_2 = (t_1 * i) * x;
                                                                                                      	double tmp;
                                                                                                      	if (i <= -4.2e+240) {
                                                                                                      		tmp = t_2;
                                                                                                      	} else if (i <= -5.9e+16) {
                                                                                                      		tmp = (fma(k, y5, (-c * x)) * i) * y;
                                                                                                      	} else if (i <= -1.4e-291) {
                                                                                                      		tmp = (fma(-i, t, (y3 * y0)) * y5) * j;
                                                                                                      	} else if (i <= 4.8e-21) {
                                                                                                      		tmp = (-y3 * t_1) * y4;
                                                                                                      	} else if (i <= 2.05e+195) {
                                                                                                      		tmp = ((y4 - ((a * z) / j)) * j) * (b * t);
                                                                                                      	} else {
                                                                                                      		tmp = t_2;
                                                                                                      	}
                                                                                                      	return tmp;
                                                                                                      }
                                                                                                      
                                                                                                      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                      	t_1 = fma(Float64(-c), y, Float64(y1 * j))
                                                                                                      	t_2 = Float64(Float64(t_1 * i) * x)
                                                                                                      	tmp = 0.0
                                                                                                      	if (i <= -4.2e+240)
                                                                                                      		tmp = t_2;
                                                                                                      	elseif (i <= -5.9e+16)
                                                                                                      		tmp = Float64(Float64(fma(k, y5, Float64(Float64(-c) * x)) * i) * y);
                                                                                                      	elseif (i <= -1.4e-291)
                                                                                                      		tmp = Float64(Float64(fma(Float64(-i), t, Float64(y3 * y0)) * y5) * j);
                                                                                                      	elseif (i <= 4.8e-21)
                                                                                                      		tmp = Float64(Float64(Float64(-y3) * t_1) * y4);
                                                                                                      	elseif (i <= 2.05e+195)
                                                                                                      		tmp = Float64(Float64(Float64(y4 - Float64(Float64(a * z) / j)) * j) * Float64(b * t));
                                                                                                      	else
                                                                                                      		tmp = t_2;
                                                                                                      	end
                                                                                                      	return tmp
                                                                                                      end
                                                                                                      
                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[((-c) * y + N[(y1 * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t$95$1 * i), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[i, -4.2e+240], t$95$2, If[LessEqual[i, -5.9e+16], N[(N[(N[(k * y5 + N[((-c) * x), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[i, -1.4e-291], N[(N[(N[((-i) * t + N[(y3 * y0), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[i, 4.8e-21], N[(N[((-y3) * t$95$1), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[i, 2.05e+195], N[(N[(N[(y4 - N[(N[(a * z), $MachinePrecision] / j), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * N[(b * t), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
                                                                                                      
                                                                                                      \begin{array}{l}
                                                                                                      
                                                                                                      \\
                                                                                                      \begin{array}{l}
                                                                                                      t_1 := \mathsf{fma}\left(-c, y, y1 \cdot j\right)\\
                                                                                                      t_2 := \left(t\_1 \cdot i\right) \cdot x\\
                                                                                                      \mathbf{if}\;i \leq -4.2 \cdot 10^{+240}:\\
                                                                                                      \;\;\;\;t\_2\\
                                                                                                      
                                                                                                      \mathbf{elif}\;i \leq -5.9 \cdot 10^{+16}:\\
                                                                                                      \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\
                                                                                                      
                                                                                                      \mathbf{elif}\;i \leq -1.4 \cdot 10^{-291}:\\
                                                                                                      \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\
                                                                                                      
                                                                                                      \mathbf{elif}\;i \leq 4.8 \cdot 10^{-21}:\\
                                                                                                      \;\;\;\;\left(\left(-y3\right) \cdot t\_1\right) \cdot y4\\
                                                                                                      
                                                                                                      \mathbf{elif}\;i \leq 2.05 \cdot 10^{+195}:\\
                                                                                                      \;\;\;\;\left(\left(y4 - \frac{a \cdot z}{j}\right) \cdot j\right) \cdot \left(b \cdot t\right)\\
                                                                                                      
                                                                                                      \mathbf{else}:\\
                                                                                                      \;\;\;\;t\_2\\
                                                                                                      
                                                                                                      
                                                                                                      \end{array}
                                                                                                      \end{array}
                                                                                                      
                                                                                                      Derivation
                                                                                                      1. Split input into 5 regimes
                                                                                                      2. if i < -4.1999999999999998e240 or 2.05e195 < i

                                                                                                        1. Initial program 27.0%

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

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

                                                                                                          if -4.1999999999999998e240 < i < -5.9e16

                                                                                                          1. Initial program 37.4%

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

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

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

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

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

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

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

                                                                                                            if -5.9e16 < i < -1.4e-291

                                                                                                            1. Initial program 46.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 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 rewrites45.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 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 rewrites39.7%

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

                                                                                                              if -1.4e-291 < i < 4.7999999999999999e-21

                                                                                                              1. Initial program 38.7%

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

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

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

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

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

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

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

                                                                                                                if 4.7999999999999999e-21 < i < 2.05e195

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

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

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

                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                5. Applied rewrites48.0%

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

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

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

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

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

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

                                                                                                                        \[\leadsto \left(b \cdot t\right) \cdot \left(j \cdot \left(y4 - \frac{a \cdot z}{\color{blue}{j}}\right)\right) \]
                                                                                                                    4. Recombined 5 regimes into one program.
                                                                                                                    5. Final simplification48.9%

                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -4.2 \cdot 10^{+240}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot i\right) \cdot x\\ \mathbf{elif}\;i \leq -5.9 \cdot 10^{+16}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \mathbf{elif}\;i \leq -1.4 \cdot 10^{-291}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;i \leq 4.8 \cdot 10^{-21}:\\ \;\;\;\;\left(\left(-y3\right) \cdot \mathsf{fma}\left(-c, y, y1 \cdot j\right)\right) \cdot y4\\ \mathbf{elif}\;i \leq 2.05 \cdot 10^{+195}:\\ \;\;\;\;\left(\left(y4 - \frac{a \cdot z}{j}\right) \cdot j\right) \cdot \left(b \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot i\right) \cdot x\\ \end{array} \]
                                                                                                                    6. Add Preprocessing

                                                                                                                    Alternative 14: 30.2% accurate, 3.4× speedup?

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

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

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

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

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

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

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

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

                                                                                                                        if -5.9e16 < i < -2.50000000000000014e-289

                                                                                                                        1. Initial program 44.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 rewrites43.8%

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

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

                                                                                                                          if -2.50000000000000014e-289 < i < 3.3999999999999997e-269

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

                                                                                                                            \[\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 b around inf

                                                                                                                            \[\leadsto \left(b \cdot \left(-1 \cdot \left(x \cdot y0\right) + t \cdot y4\right)\right) \cdot j \]
                                                                                                                          7. Step-by-step derivation
                                                                                                                            1. Applied rewrites63.9%

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

                                                                                                                            if 3.3999999999999997e-269 < i < 7.4000000000000005e-167

                                                                                                                            1. Initial program 36.8%

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

                                                                                                                              \[\leadsto \left(a \cdot \left(y3 \cdot z - x \cdot y2\right)\right) \cdot y1 \]
                                                                                                                            7. Step-by-step derivation
                                                                                                                              1. Applied rewrites46.4%

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

                                                                                                                              if 7.4000000000000005e-167 < i < 4.2999999999999998e-47

                                                                                                                              1. Initial program 29.9%

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

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

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

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

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

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

                                                                                                                                if 4.2999999999999998e-47 < i < 6.49999999999999999e92

                                                                                                                                1. Initial program 32.2%

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

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

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

                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                5. Applied rewrites48.7%

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

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

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

                                                                                                                                  if 6.49999999999999999e92 < i

                                                                                                                                  1. Initial program 28.9%

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

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

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

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

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

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

                                                                                                                                      \[\leadsto \left(y \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-a, y3, i \cdot k\right)} \]
                                                                                                                                  8. Recombined 7 regimes into one program.
                                                                                                                                  9. Final simplification49.6%

                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -5.9 \cdot 10^{+16}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \mathbf{elif}\;i \leq -2.5 \cdot 10^{-289}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;i \leq 3.4 \cdot 10^{-269}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y0, y4 \cdot t\right) \cdot b\right) \cdot j\\ \mathbf{elif}\;i \leq 7.4 \cdot 10^{-167}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot a\right) \cdot y1\\ \mathbf{elif}\;i \leq 4.3 \cdot 10^{-47}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y2, \left(-y3\right) \cdot j\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;i \leq 6.5 \cdot 10^{+92}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, z, y5 \cdot y2\right) \cdot a\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \end{array} \]
                                                                                                                                  10. Add Preprocessing

                                                                                                                                  Alternative 15: 30.8% accurate, 3.7× speedup?

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

                                                                                                                                    1. Initial program 32.7%

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

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

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

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

                                                                                                                                      if -2.2000000000000001e29 < i < -4.40000000000000026e-102

                                                                                                                                      1. Initial program 48.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 t around inf

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

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

                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                      5. Applied rewrites42.2%

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

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

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

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

                                                                                                                                            \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                          2. Taylor expanded in i around inf

                                                                                                                                            \[\leadsto i \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
                                                                                                                                          3. Step-by-step derivation
                                                                                                                                            1. Applied rewrites35.0%

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

                                                                                                                                            if -4.40000000000000026e-102 < i < 7.4000000000000005e-167

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

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

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

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

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

                                                                                                                                                if 7.4000000000000005e-167 < i < 4.2999999999999998e-47

                                                                                                                                                1. Initial program 29.9%

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

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

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

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

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

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

                                                                                                                                                  if 4.2999999999999998e-47 < i < 6.49999999999999999e92

                                                                                                                                                  1. Initial program 32.2%

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

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

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

                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                  5. Applied rewrites48.7%

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

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

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

                                                                                                                                                    if 6.49999999999999999e92 < i

                                                                                                                                                    1. Initial program 28.9%

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

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

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

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

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

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

                                                                                                                                                        \[\leadsto \left(y \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-a, y3, i \cdot k\right)} \]
                                                                                                                                                    8. Recombined 6 regimes into one program.
                                                                                                                                                    9. Final simplification47.0%

                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.2 \cdot 10^{+29}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \mathbf{elif}\;i \leq -4.4 \cdot 10^{-102}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot t\right) \cdot i\\ \mathbf{elif}\;i \leq 7.4 \cdot 10^{-167}:\\ \;\;\;\;\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot \left(y1 \cdot a\right)\\ \mathbf{elif}\;i \leq 4.3 \cdot 10^{-47}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y2, \left(-y3\right) \cdot j\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;i \leq 6.5 \cdot 10^{+92}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, z, y5 \cdot y2\right) \cdot a\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \end{array} \]
                                                                                                                                                    10. Add Preprocessing

                                                                                                                                                    Alternative 16: 30.1% accurate, 3.7× speedup?

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

                                                                                                                                                      1. Initial program 32.7%

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

                                                                                                                                                        \[\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} \]
                                                                                                                                                      6. Taylor expanded in y around inf

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

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

                                                                                                                                                        if -2.2000000000000001e29 < i < -4.40000000000000026e-102

                                                                                                                                                        1. Initial program 48.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 t around inf

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

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

                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                        5. Applied rewrites42.2%

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

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

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

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

                                                                                                                                                              \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                            2. Taylor expanded in i around inf

                                                                                                                                                              \[\leadsto i \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                              1. Applied rewrites35.0%

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

                                                                                                                                                              if -4.40000000000000026e-102 < i < 7.4000000000000005e-167

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

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

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

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

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

                                                                                                                                                                  if 7.4000000000000005e-167 < i < 4.2999999999999998e-47

                                                                                                                                                                  1. Initial program 29.9%

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

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

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

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

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

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

                                                                                                                                                                    if 4.2999999999999998e-47 < i < 6.49999999999999999e92

                                                                                                                                                                    1. Initial program 32.2%

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

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

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

                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                    5. Applied rewrites48.7%

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

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

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

                                                                                                                                                                      if 6.49999999999999999e92 < i

                                                                                                                                                                      1. Initial program 28.9%

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

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

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

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

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

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

                                                                                                                                                                          \[\leadsto \left(y \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-a, y3, i \cdot k\right)} \]
                                                                                                                                                                      8. Recombined 6 regimes into one program.
                                                                                                                                                                      9. Final simplification45.5%

                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.2 \cdot 10^{+29}:\\ \;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\ \mathbf{elif}\;i \leq -4.4 \cdot 10^{-102}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot t\right) \cdot i\\ \mathbf{elif}\;i \leq 7.4 \cdot 10^{-167}:\\ \;\;\;\;\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot \left(y1 \cdot a\right)\\ \mathbf{elif}\;i \leq 4.3 \cdot 10^{-47}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y2, \left(-y3\right) \cdot j\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;i \leq 6.5 \cdot 10^{+92}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, z, y5 \cdot y2\right) \cdot a\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \end{array} \]
                                                                                                                                                                      10. Add Preprocessing

                                                                                                                                                                      Alternative 17: 30.1% accurate, 4.0× speedup?

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

                                                                                                                                                                        1. Initial program 25.0%

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

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

                                                                                                                                                                          if -4.1999999999999998e240 < i < -5.9e16

                                                                                                                                                                          1. Initial program 37.4%

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

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

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

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

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

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

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

                                                                                                                                                                            if -5.9e16 < i < -1.4e-291

                                                                                                                                                                            1. Initial program 46.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 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 rewrites45.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 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 rewrites39.7%

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

                                                                                                                                                                              if -1.4e-291 < i < 1.0200000000000001e93

                                                                                                                                                                              1. Initial program 34.6%

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

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

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

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

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

                                                                                                                                                                                \[\leadsto \left(-1 \cdot \left(y3 \cdot \left(-1 \cdot \left(c \cdot y\right) + j \cdot y1\right)\right)\right) \cdot y4 \]
                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                1. Applied rewrites40.0%

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

                                                                                                                                                                                if 1.0200000000000001e93 < i

                                                                                                                                                                                1. Initial program 28.9%

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

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

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

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

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

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

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

                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -4.2 \cdot 10^{+240}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y, y1 \cdot j\right) \cdot i\right) \cdot x\\ \mathbf{elif}\;i \leq -5.9 \cdot 10^{+16}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right) \cdot i\right) \cdot y\\ \mathbf{elif}\;i \leq -1.4 \cdot 10^{-291}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, t, y3 \cdot y0\right) \cdot y5\right) \cdot j\\ \mathbf{elif}\;i \leq 1.02 \cdot 10^{+93}:\\ \;\;\;\;\left(\left(-y3\right) \cdot \mathsf{fma}\left(-c, y, y1 \cdot j\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \end{array} \]
                                                                                                                                                                                10. Add Preprocessing

                                                                                                                                                                                Alternative 18: 28.9% accurate, 4.2× speedup?

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

                                                                                                                                                                                  1. Initial program 32.7%

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

                                                                                                                                                                                    \[\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} \]
                                                                                                                                                                                  6. Taylor expanded in y around inf

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

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

                                                                                                                                                                                    if -2.2000000000000001e29 < i < -4.40000000000000026e-102

                                                                                                                                                                                    1. Initial program 48.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 t around inf

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

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

                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                    5. Applied rewrites42.2%

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

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

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

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

                                                                                                                                                                                          \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                        2. Taylor expanded in i around inf

                                                                                                                                                                                          \[\leadsto i \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                          1. Applied rewrites35.0%

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

                                                                                                                                                                                          if -4.40000000000000026e-102 < i < 6.2999999999999994e-185

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

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

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

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

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

                                                                                                                                                                                              if 6.2999999999999994e-185 < i < 1.54999999999999996e94

                                                                                                                                                                                              1. Initial program 33.4%

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

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

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

                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                              5. Applied rewrites46.1%

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

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

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

                                                                                                                                                                                                if 1.54999999999999996e94 < i

                                                                                                                                                                                                1. Initial program 27.0%

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

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

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

                                                                                                                                                                                                    \[\leadsto \left(y \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-a, y3, i \cdot k\right)} \]
                                                                                                                                                                                                8. Recombined 5 regimes into one program.
                                                                                                                                                                                                9. Final simplification43.9%

                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.2 \cdot 10^{+29}:\\ \;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\ \mathbf{elif}\;i \leq -4.4 \cdot 10^{-102}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot t\right) \cdot i\\ \mathbf{elif}\;i \leq 6.3 \cdot 10^{-185}:\\ \;\;\;\;\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot \left(y1 \cdot a\right)\\ \mathbf{elif}\;i \leq 1.55 \cdot 10^{+94}:\\ \;\;\;\;\left(\mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) \cdot j\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \end{array} \]
                                                                                                                                                                                                10. Add Preprocessing

                                                                                                                                                                                                Alternative 19: 29.3% accurate, 4.2× speedup?

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

                                                                                                                                                                                                  1. Initial program 32.7%

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

                                                                                                                                                                                                    \[\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} \]
                                                                                                                                                                                                  6. Taylor expanded in y around inf

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

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

                                                                                                                                                                                                    if -2.2000000000000001e29 < i < -4.40000000000000026e-102

                                                                                                                                                                                                    1. Initial program 48.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 t around inf

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

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

                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                    5. Applied rewrites42.2%

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

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

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

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

                                                                                                                                                                                                          \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                        2. Taylor expanded in i around inf

                                                                                                                                                                                                          \[\leadsto i \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                          1. Applied rewrites35.0%

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

                                                                                                                                                                                                          if -4.40000000000000026e-102 < i < 5.79999999999999989e-185

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

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

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

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

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

                                                                                                                                                                                                              if 5.79999999999999989e-185 < i < 1.74999999999999993e92

                                                                                                                                                                                                              1. Initial program 32.0%

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

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

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

                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                              5. Applied rewrites45.0%

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

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

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

                                                                                                                                                                                                                if 1.74999999999999993e92 < i

                                                                                                                                                                                                                1. Initial program 28.9%

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

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

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

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

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

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

                                                                                                                                                                                                                    \[\leadsto \left(y \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(-a, y3, i \cdot k\right)} \]
                                                                                                                                                                                                                8. Recombined 5 regimes into one program.
                                                                                                                                                                                                                9. Final simplification43.6%

                                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.2 \cdot 10^{+29}:\\ \;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\ \mathbf{elif}\;i \leq -4.4 \cdot 10^{-102}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot t\right) \cdot i\\ \mathbf{elif}\;i \leq 5.8 \cdot 10^{-185}:\\ \;\;\;\;\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot \left(y1 \cdot a\right)\\ \mathbf{elif}\;i \leq 1.75 \cdot 10^{+92}:\\ \;\;\;\;\mathsf{fma}\left(-a, z, y4 \cdot j\right) \cdot \left(b \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-a, y3, k \cdot i\right) \cdot \left(y5 \cdot y\right)\\ \end{array} \]
                                                                                                                                                                                                                10. Add Preprocessing

                                                                                                                                                                                                                Alternative 20: 30.0% accurate, 4.2× speedup?

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

                                                                                                                                                                                                                  1. Initial program 32.7%

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

                                                                                                                                                                                                                    \[\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} \]
                                                                                                                                                                                                                  6. Taylor expanded in y around inf

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

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

                                                                                                                                                                                                                    if -2.2000000000000001e29 < i < -4.40000000000000026e-102

                                                                                                                                                                                                                    1. Initial program 48.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 t around inf

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

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

                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                    5. Applied rewrites42.2%

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

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

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

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

                                                                                                                                                                                                                          \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                        2. Taylor expanded in i around inf

                                                                                                                                                                                                                          \[\leadsto i \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                          1. Applied rewrites35.0%

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

                                                                                                                                                                                                                          if -4.40000000000000026e-102 < i < 5.79999999999999989e-185

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

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

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

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

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

                                                                                                                                                                                                                              if 5.79999999999999989e-185 < i < 2.29999999999999995e83

                                                                                                                                                                                                                              1. Initial program 30.5%

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

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

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

                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                              5. Applied rewrites45.8%

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

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

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

                                                                                                                                                                                                                                if 2.29999999999999995e83 < i

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

                                                                                                                                                                                                                                  \[\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} \]
                                                                                                                                                                                                                                6. Taylor expanded in k around inf

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

                                                                                                                                                                                                                                    \[\leadsto \left(i \cdot k\right) \cdot \color{blue}{\mathsf{fma}\left(y, y5, -y1 \cdot z\right)} \]
                                                                                                                                                                                                                                8. Recombined 5 regimes into one program.
                                                                                                                                                                                                                                9. Final simplification43.2%

                                                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.2 \cdot 10^{+29}:\\ \;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\ \mathbf{elif}\;i \leq -4.4 \cdot 10^{-102}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot t\right) \cdot i\\ \mathbf{elif}\;i \leq 5.8 \cdot 10^{-185}:\\ \;\;\;\;\mathsf{fma}\left(y3, z, \left(-x\right) \cdot y2\right) \cdot \left(y1 \cdot a\right)\\ \mathbf{elif}\;i \leq 2.3 \cdot 10^{+83}:\\ \;\;\;\;\mathsf{fma}\left(-a, z, y4 \cdot j\right) \cdot \left(b \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y, y5, \left(-y1\right) \cdot z\right) \cdot \left(k \cdot i\right)\\ \end{array} \]
                                                                                                                                                                                                                                10. Add Preprocessing

                                                                                                                                                                                                                                Alternative 21: 29.7% accurate, 4.2× speedup?

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

                                                                                                                                                                                                                                  1. Initial program 32.7%

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

                                                                                                                                                                                                                                    \[\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} \]
                                                                                                                                                                                                                                  6. Taylor expanded in y around inf

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

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

                                                                                                                                                                                                                                    if -2.2000000000000001e29 < i < -4.00000000000000001e-136

                                                                                                                                                                                                                                    1. Initial program 42.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 t around inf

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

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

                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                    5. Applied rewrites36.1%

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

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

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

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

                                                                                                                                                                                                                                          \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                                        2. Taylor expanded in i around inf

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

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

                                                                                                                                                                                                                                          if -4.00000000000000001e-136 < i < 2.4e-188

                                                                                                                                                                                                                                          1. Initial program 43.8%

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

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

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

                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                          5. Applied rewrites42.1%

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

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

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

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

                                                                                                                                                                                                                                                \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                                              2. Taylor expanded in a around inf

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

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

                                                                                                                                                                                                                                                if 2.4e-188 < i < 2.29999999999999995e83

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

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

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

                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                5. Applied rewrites46.1%

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

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

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

                                                                                                                                                                                                                                                  if 2.29999999999999995e83 < i

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

                                                                                                                                                                                                                                                    \[\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} \]
                                                                                                                                                                                                                                                  6. Taylor expanded in k around inf

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

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

                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -2.2 \cdot 10^{+29}:\\ \;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\ \mathbf{elif}\;i \leq -4 \cdot 10^{-136}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot t\right) \cdot i\\ \mathbf{elif}\;i \leq 2.4 \cdot 10^{-188}:\\ \;\;\;\;\left(a \cdot t\right) \cdot \mathsf{fma}\left(-b, z, y5 \cdot y2\right)\\ \mathbf{elif}\;i \leq 2.3 \cdot 10^{+83}:\\ \;\;\;\;\mathsf{fma}\left(-a, z, y4 \cdot j\right) \cdot \left(b \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y, y5, \left(-y1\right) \cdot z\right) \cdot \left(k \cdot i\right)\\ \end{array} \]
                                                                                                                                                                                                                                                  10. Add Preprocessing

                                                                                                                                                                                                                                                  Alternative 22: 22.8% accurate, 4.8× speedup?

                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -1700000000:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot j\right) \cdot y4\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{-300}:\\ \;\;\;\;\left(\left(\left(-k\right) \cdot z\right) \cdot i\right) \cdot y1\\ \mathbf{elif}\;t \leq 2.55 \cdot 10^{-65}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot c\right) \cdot y4\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{+110}:\\ \;\;\;\;\left(\left(\left(-y1\right) \cdot y3\right) \cdot j\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                   :precision binary64
                                                                                                                                                                                                                                                   (if (<= t -1700000000.0)
                                                                                                                                                                                                                                                     (* (* (* b t) j) y4)
                                                                                                                                                                                                                                                     (if (<= t 4.2e-300)
                                                                                                                                                                                                                                                       (* (* (* (- k) z) i) y1)
                                                                                                                                                                                                                                                       (if (<= t 2.55e-65)
                                                                                                                                                                                                                                                         (* (* (* y3 y) c) y4)
                                                                                                                                                                                                                                                         (if (<= t 2.5e+110) (* (* (* (- y1) y3) j) y4) (* (* (* j t) y4) b))))))
                                                                                                                                                                                                                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                  	if (t <= -1700000000.0) {
                                                                                                                                                                                                                                                  		tmp = ((b * t) * j) * y4;
                                                                                                                                                                                                                                                  	} else if (t <= 4.2e-300) {
                                                                                                                                                                                                                                                  		tmp = ((-k * z) * i) * y1;
                                                                                                                                                                                                                                                  	} else if (t <= 2.55e-65) {
                                                                                                                                                                                                                                                  		tmp = ((y3 * y) * c) * y4;
                                                                                                                                                                                                                                                  	} else if (t <= 2.5e+110) {
                                                                                                                                                                                                                                                  		tmp = ((-y1 * y3) * j) * y4;
                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                  		tmp = ((j * t) * y4) * 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 (t <= (-1700000000.0d0)) then
                                                                                                                                                                                                                                                          tmp = ((b * t) * j) * y4
                                                                                                                                                                                                                                                      else if (t <= 4.2d-300) then
                                                                                                                                                                                                                                                          tmp = ((-k * z) * i) * y1
                                                                                                                                                                                                                                                      else if (t <= 2.55d-65) then
                                                                                                                                                                                                                                                          tmp = ((y3 * y) * c) * y4
                                                                                                                                                                                                                                                      else if (t <= 2.5d+110) then
                                                                                                                                                                                                                                                          tmp = ((-y1 * y3) * j) * y4
                                                                                                                                                                                                                                                      else
                                                                                                                                                                                                                                                          tmp = ((j * t) * y4) * 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 (t <= -1700000000.0) {
                                                                                                                                                                                                                                                  		tmp = ((b * t) * j) * y4;
                                                                                                                                                                                                                                                  	} else if (t <= 4.2e-300) {
                                                                                                                                                                                                                                                  		tmp = ((-k * z) * i) * y1;
                                                                                                                                                                                                                                                  	} else if (t <= 2.55e-65) {
                                                                                                                                                                                                                                                  		tmp = ((y3 * y) * c) * y4;
                                                                                                                                                                                                                                                  	} else if (t <= 2.5e+110) {
                                                                                                                                                                                                                                                  		tmp = ((-y1 * y3) * j) * y4;
                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                  		tmp = ((j * t) * y4) * b;
                                                                                                                                                                                                                                                  	}
                                                                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                  	tmp = 0
                                                                                                                                                                                                                                                  	if t <= -1700000000.0:
                                                                                                                                                                                                                                                  		tmp = ((b * t) * j) * y4
                                                                                                                                                                                                                                                  	elif t <= 4.2e-300:
                                                                                                                                                                                                                                                  		tmp = ((-k * z) * i) * y1
                                                                                                                                                                                                                                                  	elif t <= 2.55e-65:
                                                                                                                                                                                                                                                  		tmp = ((y3 * y) * c) * y4
                                                                                                                                                                                                                                                  	elif t <= 2.5e+110:
                                                                                                                                                                                                                                                  		tmp = ((-y1 * y3) * j) * y4
                                                                                                                                                                                                                                                  	else:
                                                                                                                                                                                                                                                  		tmp = ((j * t) * y4) * b
                                                                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                                  	if (t <= -1700000000.0)
                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(b * t) * j) * y4);
                                                                                                                                                                                                                                                  	elseif (t <= 4.2e-300)
                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(Float64(-k) * z) * i) * y1);
                                                                                                                                                                                                                                                  	elseif (t <= 2.55e-65)
                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(y3 * y) * c) * y4);
                                                                                                                                                                                                                                                  	elseif (t <= 2.5e+110)
                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(Float64(-y1) * y3) * j) * y4);
                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(j * t) * y4) * 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 (t <= -1700000000.0)
                                                                                                                                                                                                                                                  		tmp = ((b * t) * j) * y4;
                                                                                                                                                                                                                                                  	elseif (t <= 4.2e-300)
                                                                                                                                                                                                                                                  		tmp = ((-k * z) * i) * y1;
                                                                                                                                                                                                                                                  	elseif (t <= 2.55e-65)
                                                                                                                                                                                                                                                  		tmp = ((y3 * y) * c) * y4;
                                                                                                                                                                                                                                                  	elseif (t <= 2.5e+110)
                                                                                                                                                                                                                                                  		tmp = ((-y1 * y3) * j) * y4;
                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                  		tmp = ((j * t) * y4) * 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[t, -1700000000.0], N[(N[(N[(b * t), $MachinePrecision] * j), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[t, 4.2e-300], N[(N[(N[((-k) * z), $MachinePrecision] * i), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[t, 2.55e-65], N[(N[(N[(y3 * y), $MachinePrecision] * c), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[t, 2.5e+110], N[(N[(N[((-y1) * y3), $MachinePrecision] * j), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[(j * t), $MachinePrecision] * y4), $MachinePrecision] * b), $MachinePrecision]]]]]
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                  \mathbf{if}\;t \leq -1700000000:\\
                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(b \cdot t\right) \cdot j\right) \cdot y4\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \mathbf{elif}\;t \leq 4.2 \cdot 10^{-300}:\\
                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(\left(-k\right) \cdot z\right) \cdot i\right) \cdot y1\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \mathbf{elif}\;t \leq 2.55 \cdot 10^{-65}:\\
                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(y3 \cdot y\right) \cdot c\right) \cdot y4\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \mathbf{elif}\;t \leq 2.5 \cdot 10^{+110}:\\
                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(\left(-y1\right) \cdot y3\right) \cdot j\right) \cdot y4\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                                  1. Split input into 5 regimes
                                                                                                                                                                                                                                                  2. if t < -1.7e9

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

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

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

                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                    5. Applied rewrites47.3%

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

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

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

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

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

                                                                                                                                                                                                                                                            \[\leadsto \left(\left(t \cdot b\right) \cdot j\right) \cdot y4 \]

                                                                                                                                                                                                                                                          if -1.7e9 < t < 4.20000000000000007e-300

                                                                                                                                                                                                                                                          1. Initial program 33.5%

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

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

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

                                                                                                                                                                                                                                                              \[\leadsto \left(-1 \cdot \left(i \cdot \left(k \cdot z\right)\right)\right) \cdot y1 \]
                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                              1. Applied rewrites35.8%

                                                                                                                                                                                                                                                                \[\leadsto \left(\left(-i\right) \cdot \left(k \cdot z\right)\right) \cdot y1 \]

                                                                                                                                                                                                                                                              if 4.20000000000000007e-300 < t < 2.55e-65

                                                                                                                                                                                                                                                              1. Initial program 50.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 rewrites40.6%

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

                                                                                                                                                                                                                                                                \[\leadsto \left(-1 \cdot \left(y3 \cdot \left(-1 \cdot \left(c \cdot y\right) + j \cdot y1\right)\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                1. Applied rewrites25.2%

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

                                                                                                                                                                                                                                                                  \[\leadsto \left(c \cdot \left(y \cdot y3\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                  1. Applied rewrites23.4%

                                                                                                                                                                                                                                                                    \[\leadsto \left(c \cdot \left(y \cdot y3\right)\right) \cdot y4 \]

                                                                                                                                                                                                                                                                  if 2.55e-65 < t < 2.49999999999999989e110

                                                                                                                                                                                                                                                                  1. Initial program 37.1%

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

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

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

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

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

                                                                                                                                                                                                                                                                    \[\leadsto \left(-1 \cdot \left(y3 \cdot \left(-1 \cdot \left(c \cdot y\right) + j \cdot y1\right)\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                    1. Applied rewrites40.4%

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

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

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

                                                                                                                                                                                                                                                                      if 2.49999999999999989e110 < t

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

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

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

                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                      5. Applied rewrites53.2%

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

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

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

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

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

                                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1700000000:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot j\right) \cdot y4\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{-300}:\\ \;\;\;\;\left(\left(\left(-k\right) \cdot z\right) \cdot i\right) \cdot y1\\ \mathbf{elif}\;t \leq 2.55 \cdot 10^{-65}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot c\right) \cdot y4\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{+110}:\\ \;\;\;\;\left(\left(\left(-y1\right) \cdot y3\right) \cdot j\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \end{array} \]
                                                                                                                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                                                                                                                        Alternative 23: 24.6% accurate, 4.8× speedup?

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

                                                                                                                                                                                                                                                                          1. Initial program 23.3%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                              if -5.19999999999999983e71 < y2 < -2.15e-97

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

                                                                                                                                                                                                                                                                                \[\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} \]
                                                                                                                                                                                                                                                                              6. Taylor expanded in k around inf

                                                                                                                                                                                                                                                                                \[\leadsto i \cdot \color{blue}{\left(k \cdot \left(-1 \cdot \left(y1 \cdot z\right) + y \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                                1. Applied rewrites40.4%

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

                                                                                                                                                                                                                                                                                if -2.15e-97 < y2 < 1.4e125

                                                                                                                                                                                                                                                                                1. Initial program 41.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 t around inf

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

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

                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                5. Applied rewrites50.3%

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

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

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

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

                                                                                                                                                                                                                                                                                      \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                                                                                    2. Taylor expanded in i around inf

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

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

                                                                                                                                                                                                                                                                                      if 1.4e125 < y2

                                                                                                                                                                                                                                                                                      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 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 rewrites39.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 rewrites31.9%

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

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

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

                                                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -5.2 \cdot 10^{+71}:\\ \;\;\;\;\left(\left(\left(-y1\right) \cdot y3\right) \cdot j\right) \cdot y4\\ \mathbf{elif}\;y2 \leq -2.15 \cdot 10^{-97}:\\ \;\;\;\;\mathsf{fma}\left(y, y5, \left(-y1\right) \cdot z\right) \cdot \left(k \cdot i\right)\\ \mathbf{elif}\;y2 \leq 1.4 \cdot 10^{+125}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot t\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \end{array} \]
                                                                                                                                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                                                                                                                                        Alternative 24: 27.7% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                                                                                          1. Initial program 30.4%

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

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

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

                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                          5. Applied rewrites58.8%

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

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

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

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

                                                                                                                                                                                                                                                                                                \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                                                                                              2. Taylor expanded in i around inf

                                                                                                                                                                                                                                                                                                \[\leadsto i \cdot \color{blue}{\left(t \cdot \left(-1 \cdot \left(j \cdot y5\right) + c \cdot z\right)\right)} \]
                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                1. Applied rewrites47.8%

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

                                                                                                                                                                                                                                                                                                if -5.7999999999999999e88 < j < 4.8000000000000002e29

                                                                                                                                                                                                                                                                                                1. Initial program 41.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 t around inf

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

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

                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                5. Applied rewrites33.6%

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

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

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

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

                                                                                                                                                                                                                                                                                                      \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                                                                                                    2. Taylor expanded in a around inf

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

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

                                                                                                                                                                                                                                                                                                      if 4.8000000000000002e29 < j < 1.6000000000000001e282

                                                                                                                                                                                                                                                                                                      1. Initial program 30.4%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(\left(-j\right) \cdot y3\right) \cdot y1\right) \cdot y4} \]

                                                                                                                                                                                                                                                                                                            if 1.6000000000000001e282 < j

                                                                                                                                                                                                                                                                                                            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 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 rewrites66.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 rewrites66.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 0

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

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

                                                                                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;j \leq -5.8 \cdot 10^{+88}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot t\right) \cdot i\\ \mathbf{elif}\;j \leq 4.8 \cdot 10^{+29}:\\ \;\;\;\;\left(a \cdot t\right) \cdot \mathsf{fma}\left(-b, z, y5 \cdot y2\right)\\ \mathbf{elif}\;j \leq 1.6 \cdot 10^{+282}:\\ \;\;\;\;\left(\left(\left(-y3\right) \cdot j\right) \cdot y1\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \end{array} \]
                                                                                                                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                                                                                                                              Alternative 25: 24.7% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                                                                                                                1. Initial program 30.8%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(-1 \cdot \left(y3 \cdot \left(-1 \cdot \left(c \cdot y\right) + j \cdot y1\right)\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                  1. Applied rewrites43.8%

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

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

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

                                                                                                                                                                                                                                                                                                                    if -105000 < y2 < 1.4e125

                                                                                                                                                                                                                                                                                                                    1. Initial program 41.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 t around inf

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

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

                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                                    5. Applied rewrites46.1%

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

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

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

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

                                                                                                                                                                                                                                                                                                                          \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                                                                                                                        2. Taylor expanded in i around inf

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

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

                                                                                                                                                                                                                                                                                                                          if 1.4e125 < y2

                                                                                                                                                                                                                                                                                                                          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 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 rewrites39.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 rewrites31.9%

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

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

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

                                                                                                                                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -105000:\\ \;\;\;\;\left(\left(\left(-y1\right) \cdot y3\right) \cdot j\right) \cdot y4\\ \mathbf{elif}\;y2 \leq 1.4 \cdot 10^{+125}:\\ \;\;\;\;\left(\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot t\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                            6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                            Alternative 26: 22.8% accurate, 5.9× speedup?

                                                                                                                                                                                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -1700000000:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot j\right) \cdot y4\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{-300}:\\ \;\;\;\;\left(\left(\left(-k\right) \cdot z\right) \cdot i\right) \cdot y1\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{+70}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot c\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                             :precision binary64
                                                                                                                                                                                                                                                                                                                             (if (<= t -1700000000.0)
                                                                                                                                                                                                                                                                                                                               (* (* (* b t) j) y4)
                                                                                                                                                                                                                                                                                                                               (if (<= t 4.2e-300)
                                                                                                                                                                                                                                                                                                                                 (* (* (* (- k) z) i) y1)
                                                                                                                                                                                                                                                                                                                                 (if (<= t 1.45e+70) (* (* (* y3 y) c) y4) (* (* (* j t) y4) b)))))
                                                                                                                                                                                                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                            	if (t <= -1700000000.0) {
                                                                                                                                                                                                                                                                                                                            		tmp = ((b * t) * j) * y4;
                                                                                                                                                                                                                                                                                                                            	} else if (t <= 4.2e-300) {
                                                                                                                                                                                                                                                                                                                            		tmp = ((-k * z) * i) * y1;
                                                                                                                                                                                                                                                                                                                            	} else if (t <= 1.45e+70) {
                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * y) * c) * y4;
                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                            		tmp = ((j * t) * y4) * 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 (t <= (-1700000000.0d0)) then
                                                                                                                                                                                                                                                                                                                                    tmp = ((b * t) * j) * y4
                                                                                                                                                                                                                                                                                                                                else if (t <= 4.2d-300) then
                                                                                                                                                                                                                                                                                                                                    tmp = ((-k * z) * i) * y1
                                                                                                                                                                                                                                                                                                                                else if (t <= 1.45d+70) then
                                                                                                                                                                                                                                                                                                                                    tmp = ((y3 * y) * c) * y4
                                                                                                                                                                                                                                                                                                                                else
                                                                                                                                                                                                                                                                                                                                    tmp = ((j * t) * y4) * 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 (t <= -1700000000.0) {
                                                                                                                                                                                                                                                                                                                            		tmp = ((b * t) * j) * y4;
                                                                                                                                                                                                                                                                                                                            	} else if (t <= 4.2e-300) {
                                                                                                                                                                                                                                                                                                                            		tmp = ((-k * z) * i) * y1;
                                                                                                                                                                                                                                                                                                                            	} else if (t <= 1.45e+70) {
                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * y) * c) * y4;
                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                            		tmp = ((j * t) * y4) * b;
                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                            	tmp = 0
                                                                                                                                                                                                                                                                                                                            	if t <= -1700000000.0:
                                                                                                                                                                                                                                                                                                                            		tmp = ((b * t) * j) * y4
                                                                                                                                                                                                                                                                                                                            	elif t <= 4.2e-300:
                                                                                                                                                                                                                                                                                                                            		tmp = ((-k * z) * i) * y1
                                                                                                                                                                                                                                                                                                                            	elif t <= 1.45e+70:
                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * y) * c) * y4
                                                                                                                                                                                                                                                                                                                            	else:
                                                                                                                                                                                                                                                                                                                            		tmp = ((j * t) * y4) * b
                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                            	tmp = 0.0
                                                                                                                                                                                                                                                                                                                            	if (t <= -1700000000.0)
                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(b * t) * j) * y4);
                                                                                                                                                                                                                                                                                                                            	elseif (t <= 4.2e-300)
                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(Float64(-k) * z) * i) * y1);
                                                                                                                                                                                                                                                                                                                            	elseif (t <= 1.45e+70)
                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(y3 * y) * c) * y4);
                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(j * t) * y4) * 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 (t <= -1700000000.0)
                                                                                                                                                                                                                                                                                                                            		tmp = ((b * t) * j) * y4;
                                                                                                                                                                                                                                                                                                                            	elseif (t <= 4.2e-300)
                                                                                                                                                                                                                                                                                                                            		tmp = ((-k * z) * i) * y1;
                                                                                                                                                                                                                                                                                                                            	elseif (t <= 1.45e+70)
                                                                                                                                                                                                                                                                                                                            		tmp = ((y3 * y) * c) * y4;
                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                            		tmp = ((j * t) * y4) * 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[t, -1700000000.0], N[(N[(N[(b * t), $MachinePrecision] * j), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[t, 4.2e-300], N[(N[(N[((-k) * z), $MachinePrecision] * i), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[t, 1.45e+70], N[(N[(N[(y3 * y), $MachinePrecision] * c), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[(j * t), $MachinePrecision] * y4), $MachinePrecision] * b), $MachinePrecision]]]]
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            \\
                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                            \mathbf{if}\;t \leq -1700000000:\\
                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(b \cdot t\right) \cdot j\right) \cdot y4\\
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            \mathbf{elif}\;t \leq 4.2 \cdot 10^{-300}:\\
                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(\left(-k\right) \cdot z\right) \cdot i\right) \cdot y1\\
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            \mathbf{elif}\;t \leq 1.45 \cdot 10^{+70}:\\
                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(y3 \cdot y\right) \cdot c\right) \cdot y4\\
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                                                                                                                                            1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                                                            2. if t < -1.7e9

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

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

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

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                                              5. Applied rewrites47.3%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(\left(t \cdot b\right) \cdot j\right) \cdot y4 \]

                                                                                                                                                                                                                                                                                                                                    if -1.7e9 < t < 4.20000000000000007e-300

                                                                                                                                                                                                                                                                                                                                    1. Initial program 33.5%

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

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

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

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(-1 \cdot \left(i \cdot \left(k \cdot z\right)\right)\right) \cdot y1 \]
                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites35.8%

                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(\left(-i\right) \cdot \left(k \cdot z\right)\right) \cdot y1 \]

                                                                                                                                                                                                                                                                                                                                        if 4.20000000000000007e-300 < t < 1.4499999999999999e70

                                                                                                                                                                                                                                                                                                                                        1. Initial program 45.1%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(-1 \cdot \left(y3 \cdot \left(-1 \cdot \left(c \cdot y\right) + j \cdot y1\right)\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites28.5%

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

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(c \cdot \left(y \cdot y3\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites21.4%

                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(c \cdot \left(y \cdot y3\right)\right) \cdot y4 \]

                                                                                                                                                                                                                                                                                                                                            if 1.4499999999999999e70 < t

                                                                                                                                                                                                                                                                                                                                            1. Initial program 35.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 t around inf

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

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

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                                                            5. Applied rewrites47.6%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1700000000:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot j\right) \cdot y4\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{-300}:\\ \;\;\;\;\left(\left(\left(-k\right) \cdot z\right) \cdot i\right) \cdot y1\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{+70}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot c\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                              Alternative 27: 22.0% accurate, 5.9× speedup?

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                                                                5. Applied rewrites32.8%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(\left(t \cdot b\right) \cdot y4\right) \cdot j \]

                                                                                                                                                                                                                                                                                                                                                      if -1.8000000000000001e57 < b < -5.0000000000000005e-193

                                                                                                                                                                                                                                                                                                                                                      1. Initial program 40.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 rewrites39.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 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 rewrites34.5%

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

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

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

                                                                                                                                                                                                                                                                                                                                                          if -5.0000000000000005e-193 < b < 3.9000000000000001e71

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

                                                                                                                                                                                                                                                                                                                                                            \[\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 rewrites22.2%

                                                                                                                                                                                                                                                                                                                                                              \[\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 rewrites19.2%

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(y0 \cdot \left(y3 \cdot y5\right)\right) \cdot j \]

                                                                                                                                                                                                                                                                                                                                                              if 3.9000000000000001e71 < b

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

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

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

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                                                                              5. Applied rewrites45.7%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(\left(t \cdot b\right) \cdot j\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                                  3. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                  4. Final simplification27.4%

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.8 \cdot 10^{+57}:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot y4\right) \cdot j\\ \mathbf{elif}\;b \leq -5 \cdot 10^{-193}:\\ \;\;\;\;\left(\left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;b \leq 3.9 \cdot 10^{+71}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot j\right) \cdot y4\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                  5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                  Alternative 28: 20.6% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(y3 \cdot y\right) \cdot c\right) \cdot y4\\ \mathbf{if}\;y \leq -1.5 \cdot 10^{+202}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 1.5 \cdot 10^{-120}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\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 (* (* (* y3 y) c) y4)))
                                                                                                                                                                                                                                                                                                                                                                     (if (<= y -1.5e+202) t_1 (if (<= y 1.5e-120) (* (* (* y5 y3) y0) 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 = ((y3 * y) * c) * y4;
                                                                                                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                                                                                                  	if (y <= -1.5e+202) {
                                                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                  	} else if (y <= 1.5e-120) {
                                                                                                                                                                                                                                                                                                                                                                  		tmp = ((y5 * y3) * y0) * 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 = ((y3 * y) * c) * y4
                                                                                                                                                                                                                                                                                                                                                                      if (y <= (-1.5d+202)) then
                                                                                                                                                                                                                                                                                                                                                                          tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                      else if (y <= 1.5d-120) then
                                                                                                                                                                                                                                                                                                                                                                          tmp = ((y5 * y3) * y0) * 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 = ((y3 * y) * c) * y4;
                                                                                                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                                                                                                  	if (y <= -1.5e+202) {
                                                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                  	} else if (y <= 1.5e-120) {
                                                                                                                                                                                                                                                                                                                                                                  		tmp = ((y5 * y3) * y0) * 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 = ((y3 * y) * c) * y4
                                                                                                                                                                                                                                                                                                                                                                  	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                  	if y <= -1.5e+202:
                                                                                                                                                                                                                                                                                                                                                                  		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                  	elif y <= 1.5e-120:
                                                                                                                                                                                                                                                                                                                                                                  		tmp = ((y5 * y3) * y0) * 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(y3 * y) * c) * y4)
                                                                                                                                                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                  	if (y <= -1.5e+202)
                                                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                  	elseif (y <= 1.5e-120)
                                                                                                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(y5 * y3) * y0) * 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 = ((y3 * y) * c) * y4;
                                                                                                                                                                                                                                                                                                                                                                  	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                  	if (y <= -1.5e+202)
                                                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                  	elseif (y <= 1.5e-120)
                                                                                                                                                                                                                                                                                                                                                                  		tmp = ((y5 * y3) * y0) * 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[(y3 * y), $MachinePrecision] * c), $MachinePrecision] * y4), $MachinePrecision]}, If[LessEqual[y, -1.5e+202], t$95$1, If[LessEqual[y, 1.5e-120], N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], t$95$1]]]
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                  t_1 := \left(\left(y3 \cdot y\right) \cdot c\right) \cdot y4\\
                                                                                                                                                                                                                                                                                                                                                                  \mathbf{if}\;y \leq -1.5 \cdot 10^{+202}:\\
                                                                                                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  \mathbf{elif}\;y \leq 1.5 \cdot 10^{-120}:\\
                                                                                                                                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                                                                                                                                                  1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                                                                  2. if y < -1.5000000000000001e202 or 1.50000000000000005e-120 < y

                                                                                                                                                                                                                                                                                                                                                                    1. Initial program 36.5%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(c \cdot \left(y \cdot y3\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites32.9%

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(c \cdot \left(y \cdot y3\right)\right) \cdot y4 \]

                                                                                                                                                                                                                                                                                                                                                                        if -1.5000000000000001e202 < y < 1.50000000000000005e-120

                                                                                                                                                                                                                                                                                                                                                                        1. Initial program 36.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 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 rewrites45.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 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 rewrites31.5%

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

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

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.5 \cdot 10^{+202}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot c\right) \cdot y4\\ \mathbf{elif}\;y \leq 1.5 \cdot 10^{-120}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot c\right) \cdot y4\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                          6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                          Alternative 29: 21.8% accurate, 7.2× speedup?

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                if -2.04999999999999995e-69 < y2 < 6.20000000000000016e121

                                                                                                                                                                                                                                                                                                                                                                                1. Initial program 41.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 t around inf

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

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

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                                                                                                5. Applied rewrites49.8%

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(b \cdot \left(j \cdot y4\right)\right) \cdot t \]
                                                                                                                                                                                                                                                                                                                                                                                  4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                  5. Final simplification25.5%

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

                                                                                                                                                                                                                                                                                                                                                                                  Alternative 30: 16.9% accurate, 9.2× speedup?

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                                                                                                    5. Applied rewrites38.7%

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(b \cdot \left(j \cdot y4\right)\right) \cdot t \]

                                                                                                                                                                                                                                                                                                                                                                                        if 9.2000000000000001e-253 < z

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                                                                                                        5. Applied rewrites39.6%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(\left(t \cdot b\right) \cdot j\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                                                            3. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                            4. Final simplification19.6%

                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq 9.2 \cdot 10^{-253}:\\ \;\;\;\;\left(\left(y4 \cdot j\right) \cdot b\right) \cdot t\\ \mathbf{else}:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot j\right) \cdot y4\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                            5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                            Alternative 31: 17.1% accurate, 9.2× speedup?

                                                                                                                                                                                                                                                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y4 \leq 6.5 \cdot 10^{-192}:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot j\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                             :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                             (if (<= y4 6.5e-192) (* (* (* b t) j) y4) (* (* (* j t) y4) b)))
                                                                                                                                                                                                                                                                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                            	if (y4 <= 6.5e-192) {
                                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((b * t) * j) * y4;
                                                                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((j * t) * y4) * 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 (y4 <= 6.5d-192) then
                                                                                                                                                                                                                                                                                                                                                                                                    tmp = ((b * t) * j) * y4
                                                                                                                                                                                                                                                                                                                                                                                                else
                                                                                                                                                                                                                                                                                                                                                                                                    tmp = ((j * t) * y4) * 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 (y4 <= 6.5e-192) {
                                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((b * t) * j) * y4;
                                                                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((j * t) * y4) * b;
                                                                                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                            def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                            	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                                            	if y4 <= 6.5e-192:
                                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((b * t) * j) * y4
                                                                                                                                                                                                                                                                                                                                                                                            	else:
                                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((j * t) * y4) * b
                                                                                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                            	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                            	if (y4 <= 6.5e-192)
                                                                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(b * t) * j) * y4);
                                                                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(Float64(j * t) * y4) * 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 (y4 <= 6.5e-192)
                                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((b * t) * j) * y4;
                                                                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                                                                            		tmp = ((j * t) * y4) * 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[y4, 6.5e-192], N[(N[(N[(b * t), $MachinePrecision] * j), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[(j * t), $MachinePrecision] * y4), $MachinePrecision] * b), $MachinePrecision]]
                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                            \\
                                                                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                            \mathbf{if}\;y4 \leq 6.5 \cdot 10^{-192}:\\
                                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(b \cdot t\right) \cdot j\right) \cdot y4\\
                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\
                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                                                                                                                                                                                                            1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                                                                                            2. if y4 < 6.49999999999999966e-192

                                                                                                                                                                                                                                                                                                                                                                                              1. Initial program 42.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 t around inf

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

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

                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                                                                                                              5. Applied rewrites41.4%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(\left(t \cdot b\right) \cdot j\right) \cdot y4 \]

                                                                                                                                                                                                                                                                                                                                                                                                    if 6.49999999999999966e-192 < y4

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                                                                                                                    5. Applied rewrites35.7%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq 6.5 \cdot 10^{-192}:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot j\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\left(\left(j \cdot t\right) \cdot y4\right) \cdot b\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                      6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                      Alternative 32: 16.8% accurate, 12.6× speedup?

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(z \cdot \left(a \cdot b - c \cdot i\right)\right) + j \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot t} \]
                                                                                                                                                                                                                                                                                                                                                                                                      5. Applied rewrites39.2%

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto b \cdot \left(\left(j \cdot t\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                          2. Final simplification17.0%

                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(\left(j \cdot t\right) \cdot y4\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 2024240 
                                                                                                                                                                                                                                                                                                                                                                                                          (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)))))