Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.1% → 42.8%
Time: 43.5s
Alternatives: 40
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 40 alternatives:

AlternativeAccuracySpeedup
The accuracy (vertical axis) and speed (horizontal axis) of each alternatives. Up and to the right is better. The red square shows the initial program, and each blue circle shows an alternative.The line shows the best available speed-accuracy tradeoffs.

Initial Program: 30.1% accurate, 1.0× speedup?

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

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

Alternative 1: 42.8% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y5 \cdot a - y4 \cdot c\\ t_2 := y5 \cdot y0 - y4 \cdot y1\\ \mathbf{if}\;y2 \leq -1.08 \cdot 10^{+130}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, t\_1 \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;y2 \leq -1.85 \cdot 10^{+22}:\\ \;\;\;\;\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 -1.28 \cdot 10^{-104}:\\ \;\;\;\;\left(\left(\left(\left(-y\right) \cdot k\right) \cdot y4\right) \cdot b - t\_1 \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - t\_2 \cdot \left(y2 \cdot k - y3 \cdot j\right)\\ \mathbf{elif}\;y2 \leq 3.15 \cdot 10^{-68}:\\ \;\;\;\;\mathsf{fma}\left(t\_2, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\ \mathbf{elif}\;y2 \leq 1.75 \cdot 10^{+127}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y1\right) \cdot y2\right) \cdot \mathsf{fma}\left(-k, y4, a \cdot x\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 (- (* y5 a) (* y4 c))) (t_2 (- (* y5 y0) (* y4 y1))))
   (if (<= y2 -1.08e+130)
     (*
      (fma (- (* y4 y1) (* y5 y0)) k (fma (- (* y0 c) (* y1 a)) x (* t_1 t)))
      y2)
     (if (<= y2 -1.85e+22)
       (*
        (fma
         (- (* y3 j) (* y2 k))
         y5
         (fma c (- (* y2 x) (* y3 z)) (* (- (* k z) (* j x)) b)))
        y0)
       (if (<= y2 -1.28e-104)
         (-
          (- (* (* (* (- y) k) y4) b) (* t_1 (- (* y3 y) (* y2 t))))
          (* t_2 (- (* y2 k) (* y3 j))))
         (if (<= y2 3.15e-68)
           (*
            (fma
             t_2
             y3
             (fma (- (* y4 b) (* y5 i)) t (* (- (* y1 i) (* y0 b)) x)))
            j)
           (if (<= y2 1.75e+127)
             (*
              (fma
               (- (* t z) (* y x))
               c
               (fma (- y5) (- (* j t) (* k y)) (* (- (* j x) (* k z)) y1)))
              i)
             (* (* (- y1) y2) (fma (- k) y4 (* a 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 = (y5 * a) - (y4 * c);
	double t_2 = (y5 * y0) - (y4 * y1);
	double tmp;
	if (y2 <= -1.08e+130) {
		tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (t_1 * t))) * y2;
	} else if (y2 <= -1.85e+22) {
		tmp = fma(((y3 * j) - (y2 * k)), y5, fma(c, ((y2 * x) - (y3 * z)), (((k * z) - (j * x)) * b))) * y0;
	} else if (y2 <= -1.28e-104) {
		tmp = ((((-y * k) * y4) * b) - (t_1 * ((y3 * y) - (y2 * t)))) - (t_2 * ((y2 * k) - (y3 * j)));
	} else if (y2 <= 3.15e-68) {
		tmp = fma(t_2, y3, fma(((y4 * b) - (y5 * i)), t, (((y1 * i) - (y0 * b)) * x))) * j;
	} else if (y2 <= 1.75e+127) {
		tmp = fma(((t * z) - (y * x)), c, fma(-y5, ((j * t) - (k * y)), (((j * x) - (k * z)) * y1))) * i;
	} else {
		tmp = (-y1 * y2) * fma(-k, y4, (a * 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(y5 * a) - Float64(y4 * c))
	t_2 = Float64(Float64(y5 * y0) - Float64(y4 * y1))
	tmp = 0.0
	if (y2 <= -1.08e+130)
		tmp = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), x, Float64(t_1 * t))) * y2);
	elseif (y2 <= -1.85e+22)
		tmp = Float64(fma(Float64(Float64(y3 * j) - Float64(y2 * k)), y5, fma(c, Float64(Float64(y2 * x) - Float64(y3 * z)), Float64(Float64(Float64(k * z) - Float64(j * x)) * b))) * y0);
	elseif (y2 <= -1.28e-104)
		tmp = Float64(Float64(Float64(Float64(Float64(Float64(-y) * k) * y4) * b) - Float64(t_1 * Float64(Float64(y3 * y) - Float64(y2 * t)))) - Float64(t_2 * Float64(Float64(y2 * k) - Float64(y3 * j))));
	elseif (y2 <= 3.15e-68)
		tmp = Float64(fma(t_2, y3, fma(Float64(Float64(y4 * b) - Float64(y5 * i)), t, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * x))) * j);
	elseif (y2 <= 1.75e+127)
		tmp = Float64(fma(Float64(Float64(t * z) - Float64(y * x)), c, fma(Float64(-y5), Float64(Float64(j * t) - Float64(k * y)), Float64(Float64(Float64(j * x) - Float64(k * z)) * y1))) * i);
	else
		tmp = Float64(Float64(Float64(-y1) * y2) * fma(Float64(-k), y4, Float64(a * 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[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.08e+130], N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * x + N[(t$95$1 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y2, -1.85e+22], N[(N[(N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision] * y5 + N[(c * N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[y2, -1.28e-104], N[(N[(N[(N[(N[((-y) * k), $MachinePrecision] * y4), $MachinePrecision] * b), $MachinePrecision] - N[(t$95$1 * N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$2 * N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, 3.15e-68], N[(N[(t$95$2 * y3 + N[(N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision] * t + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y2, 1.75e+127], N[(N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * c + N[((-y5) * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision], N[(N[((-y1) * y2), $MachinePrecision] * N[((-k) * y4 + N[(a * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y5 \cdot a - y4 \cdot c\\
t_2 := y5 \cdot y0 - y4 \cdot y1\\
\mathbf{if}\;y2 \leq -1.08 \cdot 10^{+130}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, t\_1 \cdot t\right)\right) \cdot y2\\

\mathbf{elif}\;y2 \leq -1.85 \cdot 10^{+22}:\\
\;\;\;\;\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 -1.28 \cdot 10^{-104}:\\
\;\;\;\;\left(\left(\left(\left(-y\right) \cdot k\right) \cdot y4\right) \cdot b - t\_1 \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - t\_2 \cdot \left(y2 \cdot k - y3 \cdot j\right)\\

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

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

\mathbf{else}:\\
\;\;\;\;\left(\left(-y1\right) \cdot y2\right) \cdot \mathsf{fma}\left(-k, y4, a \cdot x\right)\\


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

    1. Initial program 17.0%

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

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

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

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

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

    if -1.08e130 < y2 < -1.8499999999999999e22

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

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

    if -1.8499999999999999e22 < y2 < -1.27999999999999992e-104

    1. Initial program 35.3%

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

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

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

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

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

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

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

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

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

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

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

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

      if -1.27999999999999992e-104 < y2 < 3.1499999999999999e-68

      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 rewrites58.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} \]

      if 3.1499999999999999e-68 < y2 < 1.74999999999999989e127

      1. Initial program 26.3%

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

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

      if 1.74999999999999989e127 < y2

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

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

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -1.08 \cdot 10^{+130}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;y2 \leq -1.85 \cdot 10^{+22}:\\ \;\;\;\;\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 -1.28 \cdot 10^{-104}:\\ \;\;\;\;\left(\left(\left(\left(-y\right) \cdot k\right) \cdot y4\right) \cdot b - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\\ \mathbf{elif}\;y2 \leq 3.15 \cdot 10^{-68}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\ \mathbf{elif}\;y2 \leq 1.75 \cdot 10^{+127}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y1\right) \cdot y2\right) \cdot \mathsf{fma}\left(-k, y4, a \cdot x\right)\\ \end{array} \]
      10. Add Preprocessing

      Alternative 2: 55.8% accurate, 0.5× speedup?

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

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

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;\left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot \left(j \cdot x - k \cdot z\right) - \left(i \cdot c - b \cdot a\right) \cdot \left(y \cdot x - t \cdot z\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(k \cdot y - j \cdot t\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot \left(y2 \cdot k - y3 \cdot j\right) \leq \infty:\\ \;\;\;\;\left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot \left(j \cdot x - k \cdot z\right) - \left(i \cdot c - b \cdot a\right) \cdot \left(y \cdot x - t \cdot z\right)\right) - \left(y1 \cdot a - y0 \cdot c\right) \cdot \left(y2 \cdot x - y3 \cdot z\right)\right) - \left(k \cdot y - j \cdot t\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y5 \cdot y0 - y4 \cdot y1\right) \cdot \left(y2 \cdot k - y3 \cdot j\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(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 3: 44.0% accurate, 2.0× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := y0 \cdot c - y1 \cdot a\\ t_2 := y0 \cdot b - y1 \cdot i\\ t_3 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, t\_1, t\_2 \cdot k\right)\right) \cdot z\\ t_4 := y4 \cdot y1 - y5 \cdot y0\\ \mathbf{if}\;z \leq -2.75 \cdot 10^{+42}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -5.8 \cdot 10^{-83}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;z \leq 2.8 \cdot 10^{-229}:\\ \;\;\;\;\mathsf{fma}\left(t\_4, k, \mathsf{fma}\left(t\_1, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;z \leq 2.3 \cdot 10^{-109}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, i, \mathsf{fma}\left(y0, y2 \cdot x - y3 \cdot z, \left(y3 \cdot y - y2 \cdot t\right) \cdot y4\right)\right) \cdot c\\ \mathbf{elif}\;z \leq 13200000:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;z \leq 1.8 \cdot 10^{+201}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(t\_4, y2, t\_2 \cdot z\right)\right) \cdot k\\ \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 (- (* y0 c) (* y1 a)))
              (t_2 (- (* y0 b) (* y1 i)))
              (t_3 (* (fma (- (* i c) (* b a)) t (fma (- y3) t_1 (* t_2 k))) z))
              (t_4 (- (* y4 y1) (* y5 y0))))
         (if (<= z -2.75e+42)
           t_3
           (if (<= z -5.8e-83)
             (* (* (fma y3 y5 (* (- x) b)) j) y0)
             (if (<= z 2.8e-229)
               (* (fma t_4 k (fma t_1 x (* (- (* y5 a) (* y4 c)) t))) y2)
               (if (<= z 2.3e-109)
                 (*
                  (fma
                   (- (* t z) (* y x))
                   i
                   (fma y0 (- (* y2 x) (* y3 z)) (* (- (* y3 y) (* y2 t)) y4)))
                  c)
                 (if (<= z 13200000.0)
                   (*
                    (fma
                     (- (* y x) (* t z))
                     a
                     (fma (- (* j t) (* k y)) y4 (* (- (* k z) (* j x)) y0)))
                    b)
                   (if (<= z 1.8e+201)
                     (* (fma (- (* y5 i) (* y4 b)) y (fma t_4 y2 (* t_2 z))) k)
                     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 = (y0 * c) - (y1 * a);
      	double t_2 = (y0 * b) - (y1 * i);
      	double t_3 = fma(((i * c) - (b * a)), t, fma(-y3, t_1, (t_2 * k))) * z;
      	double t_4 = (y4 * y1) - (y5 * y0);
      	double tmp;
      	if (z <= -2.75e+42) {
      		tmp = t_3;
      	} else if (z <= -5.8e-83) {
      		tmp = (fma(y3, y5, (-x * b)) * j) * y0;
      	} else if (z <= 2.8e-229) {
      		tmp = fma(t_4, k, fma(t_1, x, (((y5 * a) - (y4 * c)) * t))) * y2;
      	} else if (z <= 2.3e-109) {
      		tmp = fma(((t * z) - (y * x)), i, fma(y0, ((y2 * x) - (y3 * z)), (((y3 * y) - (y2 * t)) * y4))) * c;
      	} else if (z <= 13200000.0) {
      		tmp = fma(((y * x) - (t * z)), a, fma(((j * t) - (k * y)), y4, (((k * z) - (j * x)) * y0))) * b;
      	} else if (z <= 1.8e+201) {
      		tmp = fma(((y5 * i) - (y4 * b)), y, fma(t_4, y2, (t_2 * z))) * k;
      	} 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(y0 * c) - Float64(y1 * a))
      	t_2 = Float64(Float64(y0 * b) - Float64(y1 * i))
      	t_3 = Float64(fma(Float64(Float64(i * c) - Float64(b * a)), t, fma(Float64(-y3), t_1, Float64(t_2 * k))) * z)
      	t_4 = Float64(Float64(y4 * y1) - Float64(y5 * y0))
      	tmp = 0.0
      	if (z <= -2.75e+42)
      		tmp = t_3;
      	elseif (z <= -5.8e-83)
      		tmp = Float64(Float64(fma(y3, y5, Float64(Float64(-x) * b)) * j) * y0);
      	elseif (z <= 2.8e-229)
      		tmp = Float64(fma(t_4, k, fma(t_1, x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2);
      	elseif (z <= 2.3e-109)
      		tmp = Float64(fma(Float64(Float64(t * z) - Float64(y * x)), i, fma(y0, Float64(Float64(y2 * x) - Float64(y3 * z)), Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * y4))) * c);
      	elseif (z <= 13200000.0)
      		tmp = Float64(fma(Float64(Float64(y * x) - Float64(t * z)), a, fma(Float64(Float64(j * t) - Float64(k * y)), y4, Float64(Float64(Float64(k * z) - Float64(j * x)) * y0))) * b);
      	elseif (z <= 1.8e+201)
      		tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), y, fma(t_4, y2, Float64(t_2 * z))) * k);
      	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[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[((-y3) * t$95$1 + N[(t$95$2 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -2.75e+42], t$95$3, If[LessEqual[z, -5.8e-83], N[(N[(N[(y3 * y5 + N[((-x) * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[z, 2.8e-229], N[(N[(t$95$4 * k + N[(t$95$1 * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[z, 2.3e-109], N[(N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * i + N[(y0 * N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[z, 13200000.0], N[(N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[z, 1.8e+201], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * y + N[(t$95$4 * y2 + N[(t$95$2 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], t$95$3]]]]]]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := y0 \cdot c - y1 \cdot a\\
      t_2 := y0 \cdot b - y1 \cdot i\\
      t_3 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, t\_1, t\_2 \cdot k\right)\right) \cdot z\\
      t_4 := y4 \cdot y1 - y5 \cdot y0\\
      \mathbf{if}\;z \leq -2.75 \cdot 10^{+42}:\\
      \;\;\;\;t\_3\\
      
      \mathbf{elif}\;z \leq -5.8 \cdot 10^{-83}:\\
      \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\
      
      \mathbf{elif}\;z \leq 2.8 \cdot 10^{-229}:\\
      \;\;\;\;\mathsf{fma}\left(t\_4, k, \mathsf{fma}\left(t\_1, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\
      
      \mathbf{elif}\;z \leq 2.3 \cdot 10^{-109}:\\
      \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, i, \mathsf{fma}\left(y0, y2 \cdot x - y3 \cdot z, \left(y3 \cdot y - y2 \cdot t\right) \cdot y4\right)\right) \cdot c\\
      
      \mathbf{elif}\;z \leq 13200000:\\
      \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\
      
      \mathbf{elif}\;z \leq 1.8 \cdot 10^{+201}:\\
      \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(t\_4, y2, t\_2 \cdot z\right)\right) \cdot k\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_3\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 6 regimes
      2. if z < -2.75000000000000001e42 or 1.79999999999999988e201 < z

        1. Initial program 22.5%

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

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

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

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

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

        if -2.75000000000000001e42 < z < -5.7999999999999998e-83

        1. Initial program 19.9%

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

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

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

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

            \[\leadsto \left(j \cdot \left(-1 \cdot \left(b \cdot x\right) + y3 \cdot y5\right)\right) \cdot y0 \]
          3. Step-by-step derivation
            1. Applied rewrites56.8%

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

            if -5.7999999999999998e-83 < z < 2.7999999999999999e-229

            1. Initial program 29.8%

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

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

            if 2.7999999999999999e-229 < z < 2.3000000000000001e-109

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

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

                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot c} \]
              2. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(i \cdot \left(x \cdot y - t \cdot z\right)\right) + y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) - y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot c} \]
            5. Applied rewrites65.1%

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

            if 2.3000000000000001e-109 < z < 1.32e7

            1. Initial program 29.4%

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

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

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

            \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2.75 \cdot 10^{+42}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\ \mathbf{elif}\;z \leq -5.8 \cdot 10^{-83}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;z \leq 2.8 \cdot 10^{-229}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;z \leq 2.3 \cdot 10^{-109}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, i, \mathsf{fma}\left(y0, y2 \cdot x - y3 \cdot z, \left(y3 \cdot y - y2 \cdot t\right) \cdot y4\right)\right) \cdot c\\ \mathbf{elif}\;z \leq 13200000:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;z \leq 1.8 \cdot 10^{+201}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\ \end{array} \]
          6. Add Preprocessing

          Alternative 4: 43.2% accurate, 2.1× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot t - k \cdot y\\ \mathbf{if}\;y2 \leq -1.08 \cdot 10^{+130}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;y2 \leq -1.72 \cdot 10^{+24}:\\ \;\;\;\;\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 -7.5 \cdot 10^{-167}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;y2 \leq 3.15 \cdot 10^{-68}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\ \mathbf{elif}\;y2 \leq 1.75 \cdot 10^{+127}:\\ \;\;\;\;\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\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y1\right) \cdot y2\right) \cdot \mathsf{fma}\left(-k, y4, a \cdot x\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 (- (* j t) (* k y))))
             (if (<= y2 -1.08e+130)
               (*
                (fma
                 (- (* y4 y1) (* y5 y0))
                 k
                 (fma (- (* y0 c) (* y1 a)) x (* (- (* y5 a) (* y4 c)) t)))
                y2)
               (if (<= y2 -1.72e+24)
                 (*
                  (fma
                   (- (* y3 j) (* y2 k))
                   y5
                   (fma c (- (* y2 x) (* y3 z)) (* (- (* k z) (* j x)) b)))
                  y0)
                 (if (<= y2 -7.5e-167)
                   (*
                    (fma
                     t_1
                     b
                     (fma (- (* y2 k) (* y3 j)) y1 (* (- (* y3 y) (* y2 t)) c)))
                    y4)
                   (if (<= y2 3.15e-68)
                     (*
                      (fma
                       (- (* y5 y0) (* y4 y1))
                       y3
                       (fma (- (* y4 b) (* y5 i)) t (* (- (* y1 i) (* y0 b)) x)))
                      j)
                     (if (<= y2 1.75e+127)
                       (*
                        (fma
                         (- (* t z) (* y x))
                         c
                         (fma (- y5) t_1 (* (- (* j x) (* k z)) y1)))
                        i)
                       (* (* (- y1) y2) (fma (- k) y4 (* a 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 = (j * t) - (k * y);
          	double tmp;
          	if (y2 <= -1.08e+130) {
          		tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (((y5 * a) - (y4 * c)) * t))) * y2;
          	} else if (y2 <= -1.72e+24) {
          		tmp = fma(((y3 * j) - (y2 * k)), y5, fma(c, ((y2 * x) - (y3 * z)), (((k * z) - (j * x)) * b))) * y0;
          	} else if (y2 <= -7.5e-167) {
          		tmp = fma(t_1, b, fma(((y2 * k) - (y3 * j)), y1, (((y3 * y) - (y2 * t)) * c))) * y4;
          	} else if (y2 <= 3.15e-68) {
          		tmp = fma(((y5 * y0) - (y4 * y1)), y3, fma(((y4 * b) - (y5 * i)), t, (((y1 * i) - (y0 * b)) * x))) * j;
          	} else if (y2 <= 1.75e+127) {
          		tmp = fma(((t * z) - (y * x)), c, fma(-y5, t_1, (((j * x) - (k * z)) * y1))) * i;
          	} else {
          		tmp = (-y1 * y2) * fma(-k, y4, (a * 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(j * t) - Float64(k * y))
          	tmp = 0.0
          	if (y2 <= -1.08e+130)
          		tmp = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2);
          	elseif (y2 <= -1.72e+24)
          		tmp = Float64(fma(Float64(Float64(y3 * j) - Float64(y2 * k)), y5, fma(c, Float64(Float64(y2 * x) - Float64(y3 * z)), Float64(Float64(Float64(k * z) - Float64(j * x)) * b))) * y0);
          	elseif (y2 <= -7.5e-167)
          		tmp = Float64(fma(t_1, b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * c))) * y4);
          	elseif (y2 <= 3.15e-68)
          		tmp = Float64(fma(Float64(Float64(y5 * y0) - Float64(y4 * y1)), y3, fma(Float64(Float64(y4 * b) - Float64(y5 * i)), t, Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * x))) * j);
          	elseif (y2 <= 1.75e+127)
          		tmp = 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);
          	else
          		tmp = Float64(Float64(Float64(-y1) * y2) * fma(Float64(-k), y4, Float64(a * 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[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.08e+130], N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y2, -1.72e+24], N[(N[(N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision] * y5 + N[(c * N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[y2, -7.5e-167], N[(N[(t$95$1 * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[y2, 3.15e-68], N[(N[(N[(N[(y5 * y0), $MachinePrecision] - N[(y4 * y1), $MachinePrecision]), $MachinePrecision] * y3 + N[(N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision] * t + N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y2, 1.75e+127], 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], N[(N[((-y1) * y2), $MachinePrecision] * N[((-k) * y4 + N[(a * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := j \cdot t - k \cdot y\\
          \mathbf{if}\;y2 \leq -1.08 \cdot 10^{+130}:\\
          \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\
          
          \mathbf{elif}\;y2 \leq -1.72 \cdot 10^{+24}:\\
          \;\;\;\;\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 -7.5 \cdot 10^{-167}:\\
          \;\;\;\;\mathsf{fma}\left(t\_1, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\
          
          \mathbf{elif}\;y2 \leq 3.15 \cdot 10^{-68}:\\
          \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\
          
          \mathbf{elif}\;y2 \leq 1.75 \cdot 10^{+127}:\\
          \;\;\;\;\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\\
          
          \mathbf{else}:\\
          \;\;\;\;\left(\left(-y1\right) \cdot y2\right) \cdot \mathsf{fma}\left(-k, y4, a \cdot x\right)\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 6 regimes
          2. if y2 < -1.08e130

            1. Initial program 17.0%

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

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

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

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

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

            if -1.08e130 < y2 < -1.7199999999999999e24

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

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

            if -1.7199999999999999e24 < y2 < -7.5000000000000007e-167

            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 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 rewrites65.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} \]

            if -7.5000000000000007e-167 < y2 < 3.1499999999999999e-68

            1. Initial program 34.8%

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

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

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

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

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

            if 3.1499999999999999e-68 < y2 < 1.74999999999999989e127

            1. Initial program 26.3%

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

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

            if 1.74999999999999989e127 < y2

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

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

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

              \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -1.08 \cdot 10^{+130}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;y2 \leq -1.72 \cdot 10^{+24}:\\ \;\;\;\;\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 -7.5 \cdot 10^{-167}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;y2 \leq 3.15 \cdot 10^{-68}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot y0 - y4 \cdot y1, y3, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, t, \left(y1 \cdot i - y0 \cdot b\right) \cdot x\right)\right) \cdot j\\ \mathbf{elif}\;y2 \leq 1.75 \cdot 10^{+127}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y1\right) \cdot y2\right) \cdot \mathsf{fma}\left(-k, y4, a \cdot x\right)\\ \end{array} \]
            10. Add Preprocessing

            Alternative 5: 44.4% accurate, 2.1× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} t_1 := y0 \cdot c - y1 \cdot a\\ t_2 := y0 \cdot b - y1 \cdot i\\ t_3 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, t\_1, t\_2 \cdot k\right)\right) \cdot z\\ t_4 := y4 \cdot y1 - y5 \cdot y0\\ \mathbf{if}\;z \leq -2.75 \cdot 10^{+42}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;z \leq -5.8 \cdot 10^{-83}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;z \leq 1.06 \cdot 10^{-106}:\\ \;\;\;\;\mathsf{fma}\left(t\_4, k, \mathsf{fma}\left(t\_1, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;z \leq 13200000:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;z \leq 1.8 \cdot 10^{+201}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(t\_4, y2, t\_2 \cdot z\right)\right) \cdot k\\ \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 (- (* y0 c) (* y1 a)))
                    (t_2 (- (* y0 b) (* y1 i)))
                    (t_3 (* (fma (- (* i c) (* b a)) t (fma (- y3) t_1 (* t_2 k))) z))
                    (t_4 (- (* y4 y1) (* y5 y0))))
               (if (<= z -2.75e+42)
                 t_3
                 (if (<= z -5.8e-83)
                   (* (* (fma y3 y5 (* (- x) b)) j) y0)
                   (if (<= z 1.06e-106)
                     (* (fma t_4 k (fma t_1 x (* (- (* y5 a) (* y4 c)) t))) y2)
                     (if (<= z 13200000.0)
                       (*
                        (fma
                         (- (* y x) (* t z))
                         a
                         (fma (- (* j t) (* k y)) y4 (* (- (* k z) (* j x)) y0)))
                        b)
                       (if (<= z 1.8e+201)
                         (* (fma (- (* y5 i) (* y4 b)) y (fma t_4 y2 (* t_2 z))) k)
                         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 = (y0 * c) - (y1 * a);
            	double t_2 = (y0 * b) - (y1 * i);
            	double t_3 = fma(((i * c) - (b * a)), t, fma(-y3, t_1, (t_2 * k))) * z;
            	double t_4 = (y4 * y1) - (y5 * y0);
            	double tmp;
            	if (z <= -2.75e+42) {
            		tmp = t_3;
            	} else if (z <= -5.8e-83) {
            		tmp = (fma(y3, y5, (-x * b)) * j) * y0;
            	} else if (z <= 1.06e-106) {
            		tmp = fma(t_4, k, fma(t_1, x, (((y5 * a) - (y4 * c)) * t))) * y2;
            	} else if (z <= 13200000.0) {
            		tmp = fma(((y * x) - (t * z)), a, fma(((j * t) - (k * y)), y4, (((k * z) - (j * x)) * y0))) * b;
            	} else if (z <= 1.8e+201) {
            		tmp = fma(((y5 * i) - (y4 * b)), y, fma(t_4, y2, (t_2 * z))) * k;
            	} 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(y0 * c) - Float64(y1 * a))
            	t_2 = Float64(Float64(y0 * b) - Float64(y1 * i))
            	t_3 = Float64(fma(Float64(Float64(i * c) - Float64(b * a)), t, fma(Float64(-y3), t_1, Float64(t_2 * k))) * z)
            	t_4 = Float64(Float64(y4 * y1) - Float64(y5 * y0))
            	tmp = 0.0
            	if (z <= -2.75e+42)
            		tmp = t_3;
            	elseif (z <= -5.8e-83)
            		tmp = Float64(Float64(fma(y3, y5, Float64(Float64(-x) * b)) * j) * y0);
            	elseif (z <= 1.06e-106)
            		tmp = Float64(fma(t_4, k, fma(t_1, x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2);
            	elseif (z <= 13200000.0)
            		tmp = Float64(fma(Float64(Float64(y * x) - Float64(t * z)), a, fma(Float64(Float64(j * t) - Float64(k * y)), y4, Float64(Float64(Float64(k * z) - Float64(j * x)) * y0))) * b);
            	elseif (z <= 1.8e+201)
            		tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), y, fma(t_4, y2, Float64(t_2 * z))) * k);
            	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[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * t + N[((-y3) * t$95$1 + N[(t$95$2 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -2.75e+42], t$95$3, If[LessEqual[z, -5.8e-83], N[(N[(N[(y3 * y5 + N[((-x) * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[z, 1.06e-106], N[(N[(t$95$4 * k + N[(t$95$1 * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[z, 13200000.0], N[(N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[z, 1.8e+201], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * y + N[(t$95$4 * y2 + N[(t$95$2 * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision], t$95$3]]]]]]]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            t_1 := y0 \cdot c - y1 \cdot a\\
            t_2 := y0 \cdot b - y1 \cdot i\\
            t_3 := \mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, t\_1, t\_2 \cdot k\right)\right) \cdot z\\
            t_4 := y4 \cdot y1 - y5 \cdot y0\\
            \mathbf{if}\;z \leq -2.75 \cdot 10^{+42}:\\
            \;\;\;\;t\_3\\
            
            \mathbf{elif}\;z \leq -5.8 \cdot 10^{-83}:\\
            \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\
            
            \mathbf{elif}\;z \leq 1.06 \cdot 10^{-106}:\\
            \;\;\;\;\mathsf{fma}\left(t\_4, k, \mathsf{fma}\left(t\_1, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\
            
            \mathbf{elif}\;z \leq 13200000:\\
            \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\
            
            \mathbf{elif}\;z \leq 1.8 \cdot 10^{+201}:\\
            \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(t\_4, y2, t\_2 \cdot z\right)\right) \cdot k\\
            
            \mathbf{else}:\\
            \;\;\;\;t\_3\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 5 regimes
            2. if z < -2.75000000000000001e42 or 1.79999999999999988e201 < z

              1. Initial program 22.5%

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

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

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

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

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

              if -2.75000000000000001e42 < z < -5.7999999999999998e-83

              1. Initial program 19.9%

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

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

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

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

                  \[\leadsto \left(j \cdot \left(-1 \cdot \left(b \cdot x\right) + y3 \cdot y5\right)\right) \cdot y0 \]
                3. Step-by-step derivation
                  1. Applied rewrites56.8%

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

                  if -5.7999999999999998e-83 < z < 1.06e-106

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

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

                  if 1.06e-106 < z < 1.32e7

                  1. Initial program 29.4%

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

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

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

                  \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2.75 \cdot 10^{+42}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\ \mathbf{elif}\;z \leq -5.8 \cdot 10^{-83}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;z \leq 1.06 \cdot 10^{-106}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;z \leq 13200000:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;z \leq 1.8 \cdot 10^{+201}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, t, \mathsf{fma}\left(-y3, y0 \cdot c - y1 \cdot a, \left(y0 \cdot b - y1 \cdot i\right) \cdot k\right)\right) \cdot z\\ \end{array} \]
                6. Add Preprocessing

                Alternative 6: 43.9% accurate, 2.3× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} t_1 := y4 \cdot y1 - y5 \cdot y0\\ t_2 := y0 \cdot c - y1 \cdot a\\ \mathbf{if}\;k \leq -5.4 \cdot 10^{+48}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, k, \mathsf{fma}\left(t\_2, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;k \leq -2.7 \cdot 10^{-142}:\\ \;\;\;\;\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 3.8 \cdot 10^{-153}:\\ \;\;\;\;\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}\;k \leq 3.6 \cdot 10^{+47}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(t\_1, 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 (- (* y4 y1) (* y5 y0))) (t_2 (- (* y0 c) (* y1 a))))
                   (if (<= k -5.4e+48)
                     (* (fma t_1 k (fma t_2 x (* (- (* y5 a) (* y4 c)) t))) y2)
                     (if (<= k -2.7e-142)
                       (*
                        (fma
                         (- (* y3 z) (* y2 x))
                         y1
                         (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
                        a)
                       (if (<= k 3.8e-153)
                         (*
                          (fma (- (* b a) (* i c)) y (fma t_2 y2 (* (- (* y1 i) (* y0 b)) j)))
                          x)
                         (if (<= k 3.6e+47)
                           (*
                            (fma
                             (- (* j t) (* k y))
                             b
                             (fma (- (* y2 k) (* y3 j)) y1 (* (- (* y3 y) (* y2 t)) c)))
                            y4)
                           (*
                            (fma
                             (- (* y5 i) (* y4 b))
                             y
                             (fma t_1 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 = (y4 * y1) - (y5 * y0);
                	double t_2 = (y0 * c) - (y1 * a);
                	double tmp;
                	if (k <= -5.4e+48) {
                		tmp = fma(t_1, k, fma(t_2, x, (((y5 * a) - (y4 * c)) * t))) * y2;
                	} else if (k <= -2.7e-142) {
                		tmp = fma(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
                	} else if (k <= 3.8e-153) {
                		tmp = fma(((b * a) - (i * c)), y, fma(t_2, y2, (((y1 * i) - (y0 * b)) * j))) * x;
                	} else if (k <= 3.6e+47) {
                		tmp = fma(((j * t) - (k * y)), b, fma(((y2 * k) - (y3 * j)), y1, (((y3 * y) - (y2 * t)) * c))) * y4;
                	} else {
                		tmp = fma(((y5 * i) - (y4 * b)), y, fma(t_1, 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(y4 * y1) - Float64(y5 * y0))
                	t_2 = Float64(Float64(y0 * c) - Float64(y1 * a))
                	tmp = 0.0
                	if (k <= -5.4e+48)
                		tmp = Float64(fma(t_1, k, fma(t_2, x, Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * t))) * y2);
                	elseif (k <= -2.7e-142)
                		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 <= 3.8e-153)
                		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 (k <= 3.6e+47)
                		tmp = Float64(fma(Float64(Float64(j * t) - Float64(k * y)), b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * c))) * y4);
                	else
                		tmp = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), y, fma(t_1, 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[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[k, -5.4e+48], N[(N[(t$95$1 * k + N[(t$95$2 * x + N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[k, -2.7e-142], 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, 3.8e-153], 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[k, 3.6e+47], N[(N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * y + N[(t$95$1 * 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 := y4 \cdot y1 - y5 \cdot y0\\
                t_2 := y0 \cdot c - y1 \cdot a\\
                \mathbf{if}\;k \leq -5.4 \cdot 10^{+48}:\\
                \;\;\;\;\mathsf{fma}\left(t\_1, k, \mathsf{fma}\left(t\_2, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\
                
                \mathbf{elif}\;k \leq -2.7 \cdot 10^{-142}:\\
                \;\;\;\;\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 3.8 \cdot 10^{-153}:\\
                \;\;\;\;\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}\;k \leq 3.6 \cdot 10^{+47}:\\
                \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\
                
                \mathbf{else}:\\
                \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(t\_1, 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 < -5.40000000000000007e48

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

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

                  if -5.40000000000000007e48 < k < -2.6999999999999998e-142

                  1. Initial program 29.6%

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

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

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

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

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

                  if -2.6999999999999998e-142 < k < 3.80000000000000023e-153

                  1. Initial program 32.4%

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

                  if 3.80000000000000023e-153 < k < 3.60000000000000008e47

                  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 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 rewrites55.2%

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

                  if 3.60000000000000008e47 < k

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

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

                  \[\leadsto \begin{array}{l} \mathbf{if}\;k \leq -5.4 \cdot 10^{+48}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(y5 \cdot a - y4 \cdot c\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;k \leq -2.7 \cdot 10^{-142}:\\ \;\;\;\;\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 3.8 \cdot 10^{-153}:\\ \;\;\;\;\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}\;k \leq 3.6 \cdot 10^{+47}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(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} \]
                5. Add Preprocessing

                Alternative 7: 43.8% accurate, 2.3× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} t_1 := y2 \cdot k - y3 \cdot j\\ t_2 := j \cdot t - k \cdot y\\ t_3 := \mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(t\_2, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{if}\;b \leq -5.8 \cdot 10^{+224}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;b \leq -6.4 \cdot 10^{-106}:\\ \;\;\;\;\mathsf{fma}\left(t\_2, b, \mathsf{fma}\left(t\_1, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;b \leq 6.3 \cdot 10^{+50}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(t\_1, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;b \leq 6.8 \cdot 10^{+125}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-c\right)\right) \cdot y4\\ \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 (- (* y2 k) (* y3 j)))
                        (t_2 (- (* j t) (* k y)))
                        (t_3
                         (*
                          (fma (- (* y x) (* t z)) a (fma t_2 y4 (* (- (* k z) (* j x)) y0)))
                          b)))
                   (if (<= b -5.8e+224)
                     t_3
                     (if (<= b -6.4e-106)
                       (* (fma t_2 b (fma t_1 y1 (* (- (* y3 y) (* y2 t)) c))) y4)
                       (if (<= b 6.3e+50)
                         (*
                          (fma (- (* y3 z) (* y2 x)) a (fma t_1 y4 (* (- (* j x) (* k z)) i)))
                          y1)
                         (if (<= b 6.8e+125) (* (* (fma t y2 (* (- y) y3)) (- c)) y4) 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 = (y2 * k) - (y3 * j);
                	double t_2 = (j * t) - (k * y);
                	double t_3 = fma(((y * x) - (t * z)), a, fma(t_2, y4, (((k * z) - (j * x)) * y0))) * b;
                	double tmp;
                	if (b <= -5.8e+224) {
                		tmp = t_3;
                	} else if (b <= -6.4e-106) {
                		tmp = fma(t_2, b, fma(t_1, y1, (((y3 * y) - (y2 * t)) * c))) * y4;
                	} else if (b <= 6.3e+50) {
                		tmp = fma(((y3 * z) - (y2 * x)), a, fma(t_1, y4, (((j * x) - (k * z)) * i))) * y1;
                	} else if (b <= 6.8e+125) {
                		tmp = (fma(t, y2, (-y * y3)) * -c) * y4;
                	} 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(y2 * k) - Float64(y3 * j))
                	t_2 = Float64(Float64(j * t) - Float64(k * y))
                	t_3 = Float64(fma(Float64(Float64(y * x) - Float64(t * z)), a, fma(t_2, y4, Float64(Float64(Float64(k * z) - Float64(j * x)) * y0))) * b)
                	tmp = 0.0
                	if (b <= -5.8e+224)
                		tmp = t_3;
                	elseif (b <= -6.4e-106)
                		tmp = Float64(fma(t_2, b, fma(t_1, y1, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * c))) * y4);
                	elseif (b <= 6.3e+50)
                		tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), a, fma(t_1, y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1);
                	elseif (b <= 6.8e+125)
                		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * Float64(-c)) * y4);
                	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[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * a + N[(t$95$2 * y4 + N[(N[(N[(k * z), $MachinePrecision] - N[(j * x), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]}, If[LessEqual[b, -5.8e+224], t$95$3, If[LessEqual[b, -6.4e-106], N[(N[(t$95$2 * b + N[(t$95$1 * y1 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[b, 6.3e+50], N[(N[(N[(N[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision] * a + N[(t$95$1 * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[b, 6.8e+125], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * (-c)), $MachinePrecision] * y4), $MachinePrecision], t$95$3]]]]]]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                t_1 := y2 \cdot k - y3 \cdot j\\
                t_2 := j \cdot t - k \cdot y\\
                t_3 := \mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(t\_2, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\
                \mathbf{if}\;b \leq -5.8 \cdot 10^{+224}:\\
                \;\;\;\;t\_3\\
                
                \mathbf{elif}\;b \leq -6.4 \cdot 10^{-106}:\\
                \;\;\;\;\mathsf{fma}\left(t\_2, b, \mathsf{fma}\left(t\_1, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\
                
                \mathbf{elif}\;b \leq 6.3 \cdot 10^{+50}:\\
                \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(t\_1, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
                
                \mathbf{elif}\;b \leq 6.8 \cdot 10^{+125}:\\
                \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-c\right)\right) \cdot y4\\
                
                \mathbf{else}:\\
                \;\;\;\;t\_3\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 4 regimes
                2. if b < -5.79999999999999978e224 or 6.7999999999999998e125 < b

                  1. Initial program 24.6%

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

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

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

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

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

                  if -5.79999999999999978e224 < b < -6.4e-106

                  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 rewrites45.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} \]

                  if -6.4e-106 < b < 6.29999999999999986e50

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

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

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

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

                  if 6.29999999999999986e50 < b < 6.7999999999999998e125

                  1. Initial program 25.0%

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

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

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

                      \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                  5. Applied rewrites57.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 c around inf

                    \[\leadsto \left(-1 \cdot \left(c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y4 \]
                  7. Step-by-step derivation
                    1. Applied rewrites63.5%

                      \[\leadsto \left(-c \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\right) \cdot y4 \]
                  8. Recombined 4 regimes into one program.
                  9. Final simplification55.4%

                    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -5.8 \cdot 10^{+224}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(k \cdot z - j \cdot x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;b \leq -6.4 \cdot 10^{-106}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;b \leq 6.3 \cdot 10^{+50}:\\ \;\;\;\;\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}\;b \leq 6.8 \cdot 10^{+125}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-c\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\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\\ \end{array} \]
                  10. Add Preprocessing

                  Alternative 8: 35.9% accurate, 2.3× speedup?

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

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

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

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

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

                        \[\leadsto \left(j \cdot \left(-1 \cdot \left(b \cdot x\right) + y3 \cdot y5\right)\right) \cdot y0 \]
                      3. Step-by-step derivation
                        1. Applied rewrites66.5%

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

                        if -1.90000000000000007e136 < y0 < -9.20000000000000007e-38

                        1. Initial program 15.8%

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

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

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

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

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

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

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

                          if -9.20000000000000007e-38 < y0 < -9.0000000000000003e-296

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

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

                          if -9.0000000000000003e-296 < y0 < 3.6e-129

                          1. Initial program 34.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 rewrites41.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(y3 \cdot \left(-1 \cdot \left(j \cdot y1\right) + c \cdot y\right)\right) \cdot y4 \]
                          7. Step-by-step derivation
                            1. Applied rewrites23.5%

                              \[\leadsto \left(y3 \cdot \mathsf{fma}\left(-j, y1, c \cdot y\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 rewrites52.9%

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

                              if 3.6e-129 < y0

                              1. Initial program 24.6%

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

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

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

                                  \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(a \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + y4 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - -1 \cdot \left(i \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot y1} \]
                              5. Applied rewrites49.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} \]
                            4. Recombined 5 regimes into one program.
                            5. Final simplification52.5%

                              \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1.9 \cdot 10^{+136}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;y0 \leq -9.2 \cdot 10^{-38}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;y0 \leq -9 \cdot 10^{-296}:\\ \;\;\;\;\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}\;y0 \leq 3.6 \cdot 10^{-129}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \end{array} \]
                            6. Add Preprocessing

                            Alternative 9: 34.6% accurate, 2.3× speedup?

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

                              1. Initial program 14.5%

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

                                \[\leadsto \left(c \cdot \left(t \cdot z - x \cdot y\right) + y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot i \]
                              7. Step-by-step derivation
                                1. Applied rewrites53.9%

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

                                if -7.50000000000000041e42 < a < -3.19999999999999985e-176

                                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 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 rewrites50.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 c around inf

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

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

                                  if -3.19999999999999985e-176 < a < 2.1999999999999999e-285

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

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

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

                                      \[\leadsto \left(c \cdot \mathsf{fma}\left(-x, y, t \cdot z\right)\right) \cdot i \]
                                    2. Taylor expanded in t 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 rewrites51.4%

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

                                      if 2.1999999999999999e-285 < a < 1.6000000000000001e-208

                                      1. Initial program 39.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 rewrites39.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 c around inf

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

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

                                        if 1.6000000000000001e-208 < a

                                        1. Initial program 25.6%

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

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

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

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

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

                                        \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -7.5 \cdot 10^{+42}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;a \leq -3.2 \cdot 10^{-176}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-c\right)\right) \cdot y4\\ \mathbf{elif}\;a \leq 2.2 \cdot 10^{-285}:\\ \;\;\;\;\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\ \mathbf{elif}\;a \leq 1.6 \cdot 10^{-208}:\\ \;\;\;\;\left(\mathsf{fma}\left(-1, i \cdot y, y2 \cdot y0\right) \cdot c\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \end{array} \]
                                      10. Add Preprocessing

                                      Alternative 10: 40.5% accurate, 2.5× speedup?

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

                                        1. Initial program 22.7%

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

                                          \[\leadsto \left(c \cdot \left(t \cdot z - x \cdot y\right) + y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot i \]
                                        7. Step-by-step derivation
                                          1. Applied rewrites57.0%

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

                                          if -1.21999999999999996e86 < z < -4.7000000000000002e-231

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

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

                                          if -4.7000000000000002e-231 < z < 4.1000000000000002e106

                                          1. Initial program 33.2%

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

                                          1. Initial program 16.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 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 rewrites36.3%

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

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

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

                                            if 8.80000000000000005e244 < z

                                            1. Initial program 12.5%

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

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

                                                \[\leadsto \left(z \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\right) \cdot i \]
                                            8. Recombined 5 regimes into one program.
                                            9. Final simplification53.7%

                                              \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.22 \cdot 10^{+86}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;z \leq -4.7 \cdot 10^{-231}:\\ \;\;\;\;\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}\;z \leq 4.1 \cdot 10^{+106}:\\ \;\;\;\;\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}\;z \leq 8.8 \cdot 10^{+244}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot k\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y1, c \cdot t\right) \cdot z\right) \cdot i\\ \end{array} \]
                                            10. Add Preprocessing

                                            Alternative 11: 40.0% accurate, 2.7× speedup?

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

                                              1. Initial program 14.5%

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

                                                \[\leadsto \left(c \cdot \left(t \cdot z - x \cdot y\right) + y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot i \]
                                              7. Step-by-step derivation
                                                1. Applied rewrites53.9%

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

                                                if -5.4e44 < a < 1.40000000000000006e-79

                                                1. Initial program 37.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 rewrites49.4%

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

                                                if 1.40000000000000006e-79 < a

                                                1. Initial program 23.5%

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

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

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

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

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

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

                                              Alternative 12: 31.5% accurate, 3.0× 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(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{if}\;a \leq -7.5 \cdot 10^{+42}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq -3.2 \cdot 10^{-176}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-c\right)\right) \cdot y4\\ \mathbf{elif}\;a \leq -7.2 \cdot 10^{-287}:\\ \;\;\;\;\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\ \mathbf{elif}\;a \leq 2 \cdot 10^{-195}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq 3 \cdot 10^{-33}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot k\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\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 (* (fma y1 (fma j x (* (- k) z)) (* (fma (- x) y (* t z)) c)) i)))
                                                 (if (<= a -7.5e+42)
                                                   t_1
                                                   (if (<= a -3.2e-176)
                                                     (* (* (fma t y2 (* (- y) y3)) (- c)) y4)
                                                     (if (<= a -7.2e-287)
                                                       (* (fma (- j) y5 (* c z)) (* i t))
                                                       (if (<= a 2e-195)
                                                         t_1
                                                         (if (<= a 3e-33)
                                                           (* (* (fma (- y2) y5 (* b z)) k) y0)
                                                           (* (* (fma a b (* (- c) i)) y) 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 = fma(y1, fma(j, x, (-k * z)), (fma(-x, y, (t * z)) * c)) * i;
                                              	double tmp;
                                              	if (a <= -7.5e+42) {
                                              		tmp = t_1;
                                              	} else if (a <= -3.2e-176) {
                                              		tmp = (fma(t, y2, (-y * y3)) * -c) * y4;
                                              	} else if (a <= -7.2e-287) {
                                              		tmp = fma(-j, y5, (c * z)) * (i * t);
                                              	} else if (a <= 2e-195) {
                                              		tmp = t_1;
                                              	} else if (a <= 3e-33) {
                                              		tmp = (fma(-y2, y5, (b * z)) * k) * y0;
                                              	} else {
                                              		tmp = (fma(a, b, (-c * i)) * y) * x;
                                              	}
                                              	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(Float64(-x), y, Float64(t * z)) * c)) * i)
                                              	tmp = 0.0
                                              	if (a <= -7.5e+42)
                                              		tmp = t_1;
                                              	elseif (a <= -3.2e-176)
                                              		tmp = Float64(Float64(fma(t, y2, Float64(Float64(-y) * y3)) * Float64(-c)) * y4);
                                              	elseif (a <= -7.2e-287)
                                              		tmp = Float64(fma(Float64(-j), y5, Float64(c * z)) * Float64(i * t));
                                              	elseif (a <= 2e-195)
                                              		tmp = t_1;
                                              	elseif (a <= 3e-33)
                                              		tmp = Float64(Float64(fma(Float64(-y2), y5, Float64(b * z)) * k) * y0);
                                              	else
                                              		tmp = Float64(Float64(fma(a, b, Float64(Float64(-c) * i)) * y) * 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 * N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] + N[(N[((-x) * y + N[(t * z), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[a, -7.5e+42], t$95$1, If[LessEqual[a, -3.2e-176], N[(N[(N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * (-c)), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[a, -7.2e-287], N[(N[((-j) * y5 + N[(c * z), $MachinePrecision]), $MachinePrecision] * N[(i * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2e-195], t$95$1, If[LessEqual[a, 3e-33], N[(N[(N[((-y2) * y5 + N[(b * z), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y0), $MachinePrecision], N[(N[(N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * x), $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(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\
                                              \mathbf{if}\;a \leq -7.5 \cdot 10^{+42}:\\
                                              \;\;\;\;t\_1\\
                                              
                                              \mathbf{elif}\;a \leq -3.2 \cdot 10^{-176}:\\
                                              \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-c\right)\right) \cdot y4\\
                                              
                                              \mathbf{elif}\;a \leq -7.2 \cdot 10^{-287}:\\
                                              \;\;\;\;\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\
                                              
                                              \mathbf{elif}\;a \leq 2 \cdot 10^{-195}:\\
                                              \;\;\;\;t\_1\\
                                              
                                              \mathbf{elif}\;a \leq 3 \cdot 10^{-33}:\\
                                              \;\;\;\;\left(\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot k\right) \cdot y0\\
                                              
                                              \mathbf{else}:\\
                                              \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\
                                              
                                              
                                              \end{array}
                                              \end{array}
                                              
                                              Derivation
                                              1. Split input into 5 regimes
                                              2. if a < -7.50000000000000041e42 or -7.2000000000000003e-287 < a < 2.0000000000000002e-195

                                                1. Initial program 25.6%

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

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

                                                  \[\leadsto \left(c \cdot \left(t \cdot z - x \cdot y\right) + y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot i \]
                                                7. Step-by-step derivation
                                                  1. Applied rewrites54.9%

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

                                                  if -7.50000000000000041e42 < a < -3.19999999999999985e-176

                                                  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 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 rewrites50.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 c around inf

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

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

                                                    if -3.19999999999999985e-176 < a < -7.2000000000000003e-287

                                                    1. Initial program 22.2%

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

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

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

                                                        \[\leadsto \left(c \cdot \mathsf{fma}\left(-x, y, t \cdot z\right)\right) \cdot i \]
                                                      2. Taylor expanded in t 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 rewrites49.2%

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

                                                        if 2.0000000000000002e-195 < a < 3.0000000000000002e-33

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

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

                                                          \[\leadsto \left(k \cdot \left(-1 \cdot \left(y2 \cdot y5\right) + b \cdot z\right)\right) \cdot y0 \]
                                                        7. Step-by-step derivation
                                                          1. Applied rewrites57.0%

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

                                                          if 3.0000000000000002e-33 < a

                                                          1. Initial program 23.0%

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

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

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

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

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

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

                                                              \[\leadsto \left(y \cdot \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right)\right) \cdot x \]
                                                          8. Recombined 5 regimes into one program.
                                                          9. Final simplification51.1%

                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -7.5 \cdot 10^{+42}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;a \leq -3.2 \cdot 10^{-176}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-c\right)\right) \cdot y4\\ \mathbf{elif}\;a \leq -7.2 \cdot 10^{-287}:\\ \;\;\;\;\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\ \mathbf{elif}\;a \leq 2 \cdot 10^{-195}:\\ \;\;\;\;\mathsf{fma}\left(y1, \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;a \leq 3 \cdot 10^{-33}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot k\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \end{array} \]
                                                          10. Add Preprocessing

                                                          Alternative 13: 32.3% accurate, 3.3× speedup?

                                                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y1 \leq -1.25 \cdot 10^{+145}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;y1 \leq -2.7 \cdot 10^{+80}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, z, \left(-y2\right) \cdot x\right) \cdot a\right) \cdot y1\\ \mathbf{elif}\;y1 \leq -3.05 \cdot 10^{-117}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;y1 \leq 2.5 \cdot 10^{-276}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, y, \left(-j\right) \cdot y0\right) \cdot b\right) \cdot x\\ \mathbf{elif}\;y1 \leq 3.4 \cdot 10^{-45}:\\ \;\;\;\;\left(\left(-y4\right) \cdot c\right) \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\\ \mathbf{elif}\;y1 \leq 4.2 \cdot 10^{+113}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y1\right) \cdot y2\right) \cdot \mathsf{fma}\left(-k, y4, a \cdot x\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 (<= y1 -1.25e+145)
                                                             (* (* (fma j x (* (- k) z)) y1) i)
                                                             (if (<= y1 -2.7e+80)
                                                               (* (* (fma y3 z (* (- y2) x)) a) y1)
                                                               (if (<= y1 -3.05e-117)
                                                                 (* (* (fma (- x) y (* t z)) c) i)
                                                                 (if (<= y1 2.5e-276)
                                                                   (* (* (fma a y (* (- j) y0)) b) x)
                                                                   (if (<= y1 3.4e-45)
                                                                     (* (* (- y4) c) (fma t y2 (* (- y) y3)))
                                                                     (if (<= y1 4.2e+113)
                                                                       (* (* (fma y3 y5 (* (- x) b)) j) y0)
                                                                       (* (* (- y1) y2) (fma (- k) y4 (* a 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 tmp;
                                                          	if (y1 <= -1.25e+145) {
                                                          		tmp = (fma(j, x, (-k * z)) * y1) * i;
                                                          	} else if (y1 <= -2.7e+80) {
                                                          		tmp = (fma(y3, z, (-y2 * x)) * a) * y1;
                                                          	} else if (y1 <= -3.05e-117) {
                                                          		tmp = (fma(-x, y, (t * z)) * c) * i;
                                                          	} else if (y1 <= 2.5e-276) {
                                                          		tmp = (fma(a, y, (-j * y0)) * b) * x;
                                                          	} else if (y1 <= 3.4e-45) {
                                                          		tmp = (-y4 * c) * fma(t, y2, (-y * y3));
                                                          	} else if (y1 <= 4.2e+113) {
                                                          		tmp = (fma(y3, y5, (-x * b)) * j) * y0;
                                                          	} else {
                                                          		tmp = (-y1 * y2) * fma(-k, y4, (a * x));
                                                          	}
                                                          	return tmp;
                                                          }
                                                          
                                                          function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                          	tmp = 0.0
                                                          	if (y1 <= -1.25e+145)
                                                          		tmp = Float64(Float64(fma(j, x, Float64(Float64(-k) * z)) * y1) * i);
                                                          	elseif (y1 <= -2.7e+80)
                                                          		tmp = Float64(Float64(fma(y3, z, Float64(Float64(-y2) * x)) * a) * y1);
                                                          	elseif (y1 <= -3.05e-117)
                                                          		tmp = Float64(Float64(fma(Float64(-x), y, Float64(t * z)) * c) * i);
                                                          	elseif (y1 <= 2.5e-276)
                                                          		tmp = Float64(Float64(fma(a, y, Float64(Float64(-j) * y0)) * b) * x);
                                                          	elseif (y1 <= 3.4e-45)
                                                          		tmp = Float64(Float64(Float64(-y4) * c) * fma(t, y2, Float64(Float64(-y) * y3)));
                                                          	elseif (y1 <= 4.2e+113)
                                                          		tmp = Float64(Float64(fma(y3, y5, Float64(Float64(-x) * b)) * j) * y0);
                                                          	else
                                                          		tmp = Float64(Float64(Float64(-y1) * y2) * fma(Float64(-k), y4, Float64(a * x)));
                                                          	end
                                                          	return tmp
                                                          end
                                                          
                                                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, -1.25e+145], N[(N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y1, -2.7e+80], N[(N[(N[(y3 * z + N[((-y2) * x), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y1, -3.05e-117], N[(N[(N[((-x) * y + N[(t * z), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y1, 2.5e-276], N[(N[(N[(a * y + N[((-j) * y0), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y1, 3.4e-45], N[(N[((-y4) * c), $MachinePrecision] * N[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 4.2e+113], N[(N[(N[(y3 * y5 + N[((-x) * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * y0), $MachinePrecision], N[(N[((-y1) * y2), $MachinePrecision] * N[((-k) * y4 + N[(a * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
                                                          
                                                          \begin{array}{l}
                                                          
                                                          \\
                                                          \begin{array}{l}
                                                          \mathbf{if}\;y1 \leq -1.25 \cdot 10^{+145}:\\
                                                          \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y1\right) \cdot i\\
                                                          
                                                          \mathbf{elif}\;y1 \leq -2.7 \cdot 10^{+80}:\\
                                                          \;\;\;\;\left(\mathsf{fma}\left(y3, z, \left(-y2\right) \cdot x\right) \cdot a\right) \cdot y1\\
                                                          
                                                          \mathbf{elif}\;y1 \leq -3.05 \cdot 10^{-117}:\\
                                                          \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\
                                                          
                                                          \mathbf{elif}\;y1 \leq 2.5 \cdot 10^{-276}:\\
                                                          \;\;\;\;\left(\mathsf{fma}\left(a, y, \left(-j\right) \cdot y0\right) \cdot b\right) \cdot x\\
                                                          
                                                          \mathbf{elif}\;y1 \leq 3.4 \cdot 10^{-45}:\\
                                                          \;\;\;\;\left(\left(-y4\right) \cdot c\right) \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\\
                                                          
                                                          \mathbf{elif}\;y1 \leq 4.2 \cdot 10^{+113}:\\
                                                          \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\
                                                          
                                                          \mathbf{else}:\\
                                                          \;\;\;\;\left(\left(-y1\right) \cdot y2\right) \cdot \mathsf{fma}\left(-k, y4, a \cdot x\right)\\
                                                          
                                                          
                                                          \end{array}
                                                          \end{array}
                                                          
                                                          Derivation
                                                          1. Split input into 7 regimes
                                                          2. if y1 < -1.24999999999999992e145

                                                            1. Initial program 22.7%

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

                                                              \[\leadsto \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot i \]
                                                            7. Step-by-step derivation
                                                              1. Applied rewrites63.7%

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

                                                              if -1.24999999999999992e145 < y1 < -2.69999999999999983e80

                                                              1. Initial program 39.8%

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

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

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

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

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

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

                                                                if -2.69999999999999983e80 < y1 < -3.05000000000000001e-117

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

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

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

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

                                                                  if -3.05000000000000001e-117 < y1 < 2.49999999999999984e-276

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

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

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

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

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

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

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

                                                                      \[\leadsto \left(b \cdot \left(-1 \cdot \left(j \cdot y0\right) + a \cdot y\right)\right) \cdot x \]
                                                                    3. Step-by-step derivation
                                                                      1. Applied rewrites44.4%

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

                                                                      if 2.49999999999999984e-276 < y1 < 3.40000000000000004e-45

                                                                      1. Initial program 27.5%

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

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

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

                                                                          \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                      5. Applied rewrites42.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 c around inf

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

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

                                                                        if 3.40000000000000004e-45 < y1 < 4.1999999999999998e113

                                                                        1. Initial program 19.4%

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

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

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

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

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

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

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

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

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

                                                                            if 4.1999999999999998e113 < y1

                                                                            1. Initial program 23.4%

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

                                                                              \[\leadsto -1 \cdot \color{blue}{\left(y1 \cdot \left(y2 \cdot \left(-1 \cdot \left(k \cdot y4\right) + a \cdot x\right)\right)\right)} \]
                                                                            7. Step-by-step derivation
                                                                              1. Applied rewrites53.8%

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

                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -1.25 \cdot 10^{+145}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;y1 \leq -2.7 \cdot 10^{+80}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, z, \left(-y2\right) \cdot x\right) \cdot a\right) \cdot y1\\ \mathbf{elif}\;y1 \leq -3.05 \cdot 10^{-117}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;y1 \leq 2.5 \cdot 10^{-276}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, y, \left(-j\right) \cdot y0\right) \cdot b\right) \cdot x\\ \mathbf{elif}\;y1 \leq 3.4 \cdot 10^{-45}:\\ \;\;\;\;\left(\left(-y4\right) \cdot c\right) \cdot \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\\ \mathbf{elif}\;y1 \leq 4.2 \cdot 10^{+113}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y1\right) \cdot y2\right) \cdot \mathsf{fma}\left(-k, y4, a \cdot x\right)\\ \end{array} \]
                                                                            10. Add Preprocessing

                                                                            Alternative 14: 30.6% accurate, 3.6× speedup?

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

                                                                              1. Initial program 26.1%

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

                                                                                  \[\leadsto \left(y3 \cdot \mathsf{fma}\left(-j, y1, c \cdot y\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 rewrites50.7%

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

                                                                                  if -3.3e21 < k < -1.9999999999999999e-143 or 2.4499999999999999e-132 < k < 3.99999999999999978e119

                                                                                  1. Initial program 27.8%

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

                                                                                    \[\leadsto \left(-1 \cdot \left(c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \cdot y4 \]
                                                                                  7. Step-by-step derivation
                                                                                    1. Applied rewrites44.7%

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

                                                                                    if -1.9999999999999999e-143 < k < 8.5000000000000007e-152

                                                                                    1. Initial program 32.8%

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

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

                                                                                      if 8.5000000000000007e-152 < k < 2.4499999999999999e-132

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

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

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

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

                                                                                        if 3.99999999999999978e119 < k

                                                                                        1. Initial program 15.4%

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

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

                                                                                          \[\leadsto \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot i \]
                                                                                        7. Step-by-step derivation
                                                                                          1. Applied rewrites57.2%

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

                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;k \leq -3.3 \cdot 10^{+21}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right) \cdot y2\right) \cdot y4\\ \mathbf{elif}\;k \leq -2 \cdot 10^{-143}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-c\right)\right) \cdot y4\\ \mathbf{elif}\;k \leq 8.5 \cdot 10^{-152}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;k \leq 2.45 \cdot 10^{-132}:\\ \;\;\;\;\mathsf{fma}\left(j, t, \left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\ \mathbf{elif}\;k \leq 4 \cdot 10^{+119}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-c\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y1\right) \cdot i\\ \end{array} \]
                                                                                        10. Add Preprocessing

                                                                                        Alternative 15: 30.6% accurate, 3.7× speedup?

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

                                                                                          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 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 rewrites51.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 inf

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

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

                                                                                            if -3.0000000000000002e127 < z < -1.0200000000000001e26

                                                                                            1. Initial program 29.4%

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

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

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

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

                                                                                              \[\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(y3 \cdot \left(-1 \cdot \left(j \cdot y1\right) + c \cdot y\right)\right) \cdot y4 \]
                                                                                            7. Step-by-step derivation
                                                                                              1. Applied rewrites24.1%

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

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

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

                                                                                                if -1.0200000000000001e26 < z < 5.5000000000000002e-225

                                                                                                1. Initial program 26.2%

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

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

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

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

                                                                                                    \[\leadsto \left(j \cdot \left(-1 \cdot \left(b \cdot x\right) + y3 \cdot y5\right)\right) \cdot y0 \]
                                                                                                  3. Step-by-step derivation
                                                                                                    1. Applied rewrites41.2%

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

                                                                                                    if 5.5000000000000002e-225 < z < 4.00000000000000036e106

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

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

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

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

                                                                                                      if 4.00000000000000036e106 < z < 8.80000000000000005e244

                                                                                                      1. Initial program 16.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 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 rewrites36.3%

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

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

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

                                                                                                        if 8.80000000000000005e244 < z

                                                                                                        1. Initial program 12.5%

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

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

                                                                                                            \[\leadsto \left(z \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\right) \cdot i \]
                                                                                                        8. Recombined 6 regimes into one program.
                                                                                                        9. Final simplification49.3%

                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3 \cdot 10^{+127}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;z \leq -1.02 \cdot 10^{+26}:\\ \;\;\;\;\left(\mathsf{fma}\left(b, j, \left(-y2\right) \cdot c\right) \cdot t\right) \cdot y4\\ \mathbf{elif}\;z \leq 5.5 \cdot 10^{-225}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;z \leq 4 \cdot 10^{+106}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;z \leq 8.8 \cdot 10^{+244}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot k\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y1, c \cdot t\right) \cdot z\right) \cdot i\\ \end{array} \]
                                                                                                        10. Add Preprocessing

                                                                                                        Alternative 16: 31.3% accurate, 3.7× speedup?

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

                                                                                                          1. Initial program 12.8%

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

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

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

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

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

                                                                                                            \[\leadsto \left(y2 \cdot \left(-1 \cdot \left(k \cdot y5\right) + c \cdot x\right)\right) \cdot y0 \]
                                                                                                          7. Step-by-step derivation
                                                                                                            1. Applied rewrites39.0%

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

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

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

                                                                                                              if -4.80000000000000048e130 < y5 < -1.10000000000000007e-200

                                                                                                              1. Initial program 36.0%

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

                                                                                                                \[\leadsto \left(c \cdot \left(t \cdot z - x \cdot y\right)\right) \cdot i \]
                                                                                                              7. Step-by-step derivation
                                                                                                                1. Applied rewrites42.0%

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

                                                                                                                if -1.10000000000000007e-200 < y5 < 7.49999999999999935e-182

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

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

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

                                                                                                                    \[\leadsto \left(y3 \cdot \mathsf{fma}\left(-j, y1, c \cdot y\right)\right) \cdot y4 \]
                                                                                                                  2. 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)} \]
                                                                                                                  3. Step-by-step derivation
                                                                                                                    1. Applied rewrites38.0%

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

                                                                                                                    if 7.49999999999999935e-182 < y5 < 2900

                                                                                                                    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 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 rewrites44.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 y1 around inf

                                                                                                                      \[\leadsto \left(y1 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot i \]
                                                                                                                    7. Step-by-step derivation
                                                                                                                      1. Applied rewrites53.8%

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

                                                                                                                      if 2900 < y5 < 7.20000000000000001e112

                                                                                                                      1. Initial program 25.1%

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

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

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

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

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

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

                                                                                                                        if 7.20000000000000001e112 < y5

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

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

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

                                                                                                                            \[\leadsto \left(y5 \cdot \mathsf{fma}\left(j, y3, \left(-k\right) \cdot y2\right)\right) \cdot y0 \]
                                                                                                                        8. Recombined 6 regimes into one program.
                                                                                                                        9. Final simplification47.1%

                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -4.8 \cdot 10^{+130}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;y5 \leq -1.1 \cdot 10^{-200}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;y5 \leq 7.5 \cdot 10^{-182}:\\ \;\;\;\;\left(y4 \cdot t\right) \cdot \mathsf{fma}\left(b, j, \left(-y2\right) \cdot c\right)\\ \mathbf{elif}\;y5 \leq 2900:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y1\right) \cdot i\\ \mathbf{elif}\;y5 \leq 7.2 \cdot 10^{+112}:\\ \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot y5\right) \cdot y0\\ \end{array} \]
                                                                                                                        10. Add Preprocessing

                                                                                                                        Alternative 17: 32.2% accurate, 3.7× speedup?

                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ t_2 := \mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{if}\;c \leq -1.15 \cdot 10^{+77}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -1.04 \cdot 10^{-138}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;c \leq -2.6 \cdot 10^{-222}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq 1.4 \cdot 10^{-91}:\\ \;\;\;\;\mathsf{fma}\left(j, t, \left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\ \mathbf{elif}\;c \leq 7.6 \cdot 10^{-28}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                         :precision binary64
                                                                                                                         (let* ((t_1 (* (* (fma (- x) y (* t z)) c) i))
                                                                                                                                (t_2 (* (fma j y3 (* (- y2) k)) (* y5 y0))))
                                                                                                                           (if (<= c -1.15e+77)
                                                                                                                             t_1
                                                                                                                             (if (<= c -1.04e-138)
                                                                                                                               (* (* (fma y3 y5 (* (- x) b)) j) y0)
                                                                                                                               (if (<= c -2.6e-222)
                                                                                                                                 t_2
                                                                                                                                 (if (<= c 1.4e-91)
                                                                                                                                   (* (fma j t (* (- y) k)) (* y4 b))
                                                                                                                                   (if (<= c 7.6e-28) t_2 t_1)))))))
                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                        	double t_1 = (fma(-x, y, (t * z)) * c) * i;
                                                                                                                        	double t_2 = fma(j, y3, (-y2 * k)) * (y5 * y0);
                                                                                                                        	double tmp;
                                                                                                                        	if (c <= -1.15e+77) {
                                                                                                                        		tmp = t_1;
                                                                                                                        	} else if (c <= -1.04e-138) {
                                                                                                                        		tmp = (fma(y3, y5, (-x * b)) * j) * y0;
                                                                                                                        	} else if (c <= -2.6e-222) {
                                                                                                                        		tmp = t_2;
                                                                                                                        	} else if (c <= 1.4e-91) {
                                                                                                                        		tmp = fma(j, t, (-y * k)) * (y4 * b);
                                                                                                                        	} else if (c <= 7.6e-28) {
                                                                                                                        		tmp = t_2;
                                                                                                                        	} else {
                                                                                                                        		tmp = t_1;
                                                                                                                        	}
                                                                                                                        	return tmp;
                                                                                                                        }
                                                                                                                        
                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                        	t_1 = Float64(Float64(fma(Float64(-x), y, Float64(t * z)) * c) * i)
                                                                                                                        	t_2 = Float64(fma(j, y3, Float64(Float64(-y2) * k)) * Float64(y5 * y0))
                                                                                                                        	tmp = 0.0
                                                                                                                        	if (c <= -1.15e+77)
                                                                                                                        		tmp = t_1;
                                                                                                                        	elseif (c <= -1.04e-138)
                                                                                                                        		tmp = Float64(Float64(fma(y3, y5, Float64(Float64(-x) * b)) * j) * y0);
                                                                                                                        	elseif (c <= -2.6e-222)
                                                                                                                        		tmp = t_2;
                                                                                                                        	elseif (c <= 1.4e-91)
                                                                                                                        		tmp = Float64(fma(j, t, Float64(Float64(-y) * k)) * Float64(y4 * b));
                                                                                                                        	elseif (c <= 7.6e-28)
                                                                                                                        		tmp = t_2;
                                                                                                                        	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[((-x) * y + N[(t * z), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * i), $MachinePrecision]}, Block[{t$95$2 = N[(N[(j * y3 + N[((-y2) * k), $MachinePrecision]), $MachinePrecision] * N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -1.15e+77], t$95$1, If[LessEqual[c, -1.04e-138], N[(N[(N[(y3 * y5 + N[((-x) * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[c, -2.6e-222], t$95$2, If[LessEqual[c, 1.4e-91], N[(N[(j * t + N[((-y) * k), $MachinePrecision]), $MachinePrecision] * N[(y4 * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 7.6e-28], t$95$2, t$95$1]]]]]]]
                                                                                                                        
                                                                                                                        \begin{array}{l}
                                                                                                                        
                                                                                                                        \\
                                                                                                                        \begin{array}{l}
                                                                                                                        t_1 := \left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\
                                                                                                                        t_2 := \mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\
                                                                                                                        \mathbf{if}\;c \leq -1.15 \cdot 10^{+77}:\\
                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;c \leq -1.04 \cdot 10^{-138}:\\
                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;c \leq -2.6 \cdot 10^{-222}:\\
                                                                                                                        \;\;\;\;t\_2\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;c \leq 1.4 \cdot 10^{-91}:\\
                                                                                                                        \;\;\;\;\mathsf{fma}\left(j, t, \left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;c \leq 7.6 \cdot 10^{-28}:\\
                                                                                                                        \;\;\;\;t\_2\\
                                                                                                                        
                                                                                                                        \mathbf{else}:\\
                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                        
                                                                                                                        
                                                                                                                        \end{array}
                                                                                                                        \end{array}
                                                                                                                        
                                                                                                                        Derivation
                                                                                                                        1. Split input into 4 regimes
                                                                                                                        2. if c < -1.14999999999999997e77 or 7.60000000000000018e-28 < c

                                                                                                                          1. Initial program 23.4%

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

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

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

                                                                                                                            if -1.14999999999999997e77 < c < -1.0399999999999999e-138

                                                                                                                            1. Initial program 32.1%

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

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

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

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

                                                                                                                                \[\leadsto \left(j \cdot \left(-1 \cdot \left(b \cdot x\right) + y3 \cdot y5\right)\right) \cdot y0 \]
                                                                                                                              3. Step-by-step derivation
                                                                                                                                1. Applied rewrites40.1%

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

                                                                                                                                if -1.0399999999999999e-138 < c < -2.5999999999999998e-222 or 1.4e-91 < c < 7.60000000000000018e-28

                                                                                                                                1. Initial program 14.8%

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

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

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

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

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

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

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

                                                                                                                                  if -2.5999999999999998e-222 < c < 1.4e-91

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

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

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

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

                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -1.15 \cdot 10^{+77}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;c \leq -1.04 \cdot 10^{-138}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;c \leq -2.6 \cdot 10^{-222}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;c \leq 1.4 \cdot 10^{-91}:\\ \;\;\;\;\mathsf{fma}\left(j, t, \left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\ \mathbf{elif}\;c \leq 7.6 \cdot 10^{-28}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \end{array} \]
                                                                                                                                  10. Add Preprocessing

                                                                                                                                  Alternative 18: 29.0% accurate, 3.7× speedup?

                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y5 \leq -3.8 \cdot 10^{+125}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;y5 \leq -5.5 \cdot 10^{+72}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;y5 \leq -6.2 \cdot 10^{-187}:\\ \;\;\;\;\mathsf{fma}\left(j, t, \left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\ \mathbf{elif}\;y5 \leq 2.25 \cdot 10^{-113}:\\ \;\;\;\;\left(y4 \cdot t\right) \cdot \mathsf{fma}\left(b, j, \left(-y2\right) \cdot c\right)\\ \mathbf{elif}\;y5 \leq 6.6 \cdot 10^{+112}:\\ \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\ \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 (<= y5 -3.8e+125)
                                                                                                                                     (* (fma j y3 (* (- y2) k)) (* y5 y0))
                                                                                                                                     (if (<= y5 -5.5e+72)
                                                                                                                                       (* (* (* t z) c) i)
                                                                                                                                       (if (<= y5 -6.2e-187)
                                                                                                                                         (* (fma j t (* (- y) k)) (* y4 b))
                                                                                                                                         (if (<= y5 2.25e-113)
                                                                                                                                           (* (* y4 t) (fma b j (* (- y2) c)))
                                                                                                                                           (if (<= y5 6.6e+112)
                                                                                                                                             (* (fma (- j) y4 (* a z)) (* y3 y1))
                                                                                                                                             (* (* (* 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 (y5 <= -3.8e+125) {
                                                                                                                                  		tmp = fma(j, y3, (-y2 * k)) * (y5 * y0);
                                                                                                                                  	} else if (y5 <= -5.5e+72) {
                                                                                                                                  		tmp = ((t * z) * c) * i;
                                                                                                                                  	} else if (y5 <= -6.2e-187) {
                                                                                                                                  		tmp = fma(j, t, (-y * k)) * (y4 * b);
                                                                                                                                  	} else if (y5 <= 2.25e-113) {
                                                                                                                                  		tmp = (y4 * t) * fma(b, j, (-y2 * c));
                                                                                                                                  	} else if (y5 <= 6.6e+112) {
                                                                                                                                  		tmp = fma(-j, y4, (a * z)) * (y3 * y1);
                                                                                                                                  	} 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 (y5 <= -3.8e+125)
                                                                                                                                  		tmp = Float64(fma(j, y3, Float64(Float64(-y2) * k)) * Float64(y5 * y0));
                                                                                                                                  	elseif (y5 <= -5.5e+72)
                                                                                                                                  		tmp = Float64(Float64(Float64(t * z) * c) * i);
                                                                                                                                  	elseif (y5 <= -6.2e-187)
                                                                                                                                  		tmp = Float64(fma(j, t, Float64(Float64(-y) * k)) * Float64(y4 * b));
                                                                                                                                  	elseif (y5 <= 2.25e-113)
                                                                                                                                  		tmp = Float64(Float64(y4 * t) * fma(b, j, Float64(Float64(-y2) * c)));
                                                                                                                                  	elseif (y5 <= 6.6e+112)
                                                                                                                                  		tmp = Float64(fma(Float64(-j), y4, Float64(a * z)) * Float64(y3 * y1));
                                                                                                                                  	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[y5, -3.8e+125], N[(N[(j * y3 + N[((-y2) * k), $MachinePrecision]), $MachinePrecision] * N[(y5 * y0), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -5.5e+72], N[(N[(N[(t * z), $MachinePrecision] * c), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y5, -6.2e-187], N[(N[(j * t + N[((-y) * k), $MachinePrecision]), $MachinePrecision] * N[(y4 * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 2.25e-113], N[(N[(y4 * t), $MachinePrecision] * N[(b * j + N[((-y2) * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 6.6e+112], N[(N[((-j) * y4 + N[(a * z), $MachinePrecision]), $MachinePrecision] * N[(y3 * y1), $MachinePrecision]), $MachinePrecision], N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision]]]]]]
                                                                                                                                  
                                                                                                                                  \begin{array}{l}
                                                                                                                                  
                                                                                                                                  \\
                                                                                                                                  \begin{array}{l}
                                                                                                                                  \mathbf{if}\;y5 \leq -3.8 \cdot 10^{+125}:\\
                                                                                                                                  \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\
                                                                                                                                  
                                                                                                                                  \mathbf{elif}\;y5 \leq -5.5 \cdot 10^{+72}:\\
                                                                                                                                  \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\
                                                                                                                                  
                                                                                                                                  \mathbf{elif}\;y5 \leq -6.2 \cdot 10^{-187}:\\
                                                                                                                                  \;\;\;\;\mathsf{fma}\left(j, t, \left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\
                                                                                                                                  
                                                                                                                                  \mathbf{elif}\;y5 \leq 2.25 \cdot 10^{-113}:\\
                                                                                                                                  \;\;\;\;\left(y4 \cdot t\right) \cdot \mathsf{fma}\left(b, j, \left(-y2\right) \cdot c\right)\\
                                                                                                                                  
                                                                                                                                  \mathbf{elif}\;y5 \leq 6.6 \cdot 10^{+112}:\\
                                                                                                                                  \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\
                                                                                                                                  
                                                                                                                                  \mathbf{else}:\\
                                                                                                                                  \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
                                                                                                                                  
                                                                                                                                  
                                                                                                                                  \end{array}
                                                                                                                                  \end{array}
                                                                                                                                  
                                                                                                                                  Derivation
                                                                                                                                  1. Split input into 6 regimes
                                                                                                                                  2. if y5 < -3.80000000000000002e125

                                                                                                                                    1. Initial program 15.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 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 rewrites42.9%

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

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

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

                                                                                                                                      if -3.80000000000000002e125 < y5 < -5.5e72

                                                                                                                                      1. Initial program 53.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 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 rewrites54.3%

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

                                                                                                                                        \[\leadsto \left(c \cdot \left(t \cdot z - x \cdot y\right)\right) \cdot i \]
                                                                                                                                      7. Step-by-step derivation
                                                                                                                                        1. Applied rewrites69.7%

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

                                                                                                                                          \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]
                                                                                                                                        3. Step-by-step derivation
                                                                                                                                          1. Applied rewrites62.3%

                                                                                                                                            \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]

                                                                                                                                          if -5.5e72 < y5 < -6.20000000000000039e-187

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

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

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

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

                                                                                                                                            if -6.20000000000000039e-187 < y5 < 2.2500000000000001e-113

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

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

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

                                                                                                                                                \[\leadsto \left(y3 \cdot \mathsf{fma}\left(-j, y1, c \cdot y\right)\right) \cdot y4 \]
                                                                                                                                              2. 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)} \]
                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                1. Applied rewrites37.8%

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

                                                                                                                                                if 2.2500000000000001e-113 < y5 < 6.5999999999999998e112

                                                                                                                                                1. Initial program 26.0%

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

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

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

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

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

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

                                                                                                                                                  if 6.5999999999999998e112 < y5

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

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

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

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

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

                                                                                                                                                        \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                    4. Recombined 6 regimes into one program.
                                                                                                                                                    5. Final simplification44.4%

                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -3.8 \cdot 10^{+125}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;y5 \leq -5.5 \cdot 10^{+72}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;y5 \leq -6.2 \cdot 10^{-187}:\\ \;\;\;\;\mathsf{fma}\left(j, t, \left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\ \mathbf{elif}\;y5 \leq 2.25 \cdot 10^{-113}:\\ \;\;\;\;\left(y4 \cdot t\right) \cdot \mathsf{fma}\left(b, j, \left(-y2\right) \cdot c\right)\\ \mathbf{elif}\;y5 \leq 6.6 \cdot 10^{+112}:\\ \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \end{array} \]
                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                    Alternative 19: 30.8% accurate, 4.2× speedup?

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

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

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

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

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

                                                                                                                                                        if -1.9999999999999999e61 < z < 5.5000000000000002e-225

                                                                                                                                                        1. Initial program 27.7%

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

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

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

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

                                                                                                                                                            \[\leadsto \left(j \cdot \left(-1 \cdot \left(b \cdot x\right) + y3 \cdot y5\right)\right) \cdot y0 \]
                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                            1. Applied rewrites40.7%

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

                                                                                                                                                            if 5.5000000000000002e-225 < z < 4.00000000000000036e106

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

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

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

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

                                                                                                                                                              if 4.00000000000000036e106 < z < 8.80000000000000005e244

                                                                                                                                                              1. Initial program 16.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 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 rewrites36.3%

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

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

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

                                                                                                                                                                if 8.80000000000000005e244 < z

                                                                                                                                                                1. Initial program 12.5%

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

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

                                                                                                                                                                    \[\leadsto \left(z \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\right) \cdot i \]
                                                                                                                                                                8. Recombined 5 regimes into one program.
                                                                                                                                                                9. Final simplification47.7%

                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2 \cdot 10^{+61}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;z \leq 5.5 \cdot 10^{-225}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;z \leq 4 \cdot 10^{+106}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right) \cdot y\right) \cdot x\\ \mathbf{elif}\;z \leq 8.8 \cdot 10^{+244}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot k\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y1, c \cdot t\right) \cdot z\right) \cdot i\\ \end{array} \]
                                                                                                                                                                10. Add Preprocessing

                                                                                                                                                                Alternative 20: 31.1% accurate, 4.2× speedup?

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

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

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

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

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

                                                                                                                                                                    if -1.9999999999999999e61 < z < 5.50000000000000003e-222

                                                                                                                                                                    1. Initial program 28.4%

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

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

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

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

                                                                                                                                                                        \[\leadsto \left(j \cdot \left(-1 \cdot \left(b \cdot x\right) + y3 \cdot y5\right)\right) \cdot y0 \]
                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                        1. Applied rewrites40.3%

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

                                                                                                                                                                        if 5.50000000000000003e-222 < z < 7.5000000000000002e104

                                                                                                                                                                        1. Initial program 37.8%

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

                                                                                                                                                                          \[\leadsto \left(c \cdot \left(-1 \cdot \left(i \cdot y\right) + y0 \cdot y2\right)\right) \cdot x \]
                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                          1. Applied rewrites31.0%

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

                                                                                                                                                                            \[\leadsto \left(b \cdot \left(-1 \cdot \left(j \cdot y0\right) + a \cdot y\right)\right) \cdot x \]
                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                            1. Applied rewrites41.8%

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

                                                                                                                                                                            if 7.5000000000000002e104 < z < 8.80000000000000005e244

                                                                                                                                                                            1. Initial program 18.8%

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

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

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

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

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

                                                                                                                                                                              \[\leadsto \left(k \cdot \left(-1 \cdot \left(y2 \cdot y5\right) + b \cdot z\right)\right) \cdot y0 \]
                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                              1. Applied rewrites56.9%

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

                                                                                                                                                                              if 8.80000000000000005e244 < z

                                                                                                                                                                              1. Initial program 12.5%

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

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

                                                                                                                                                                                  \[\leadsto \left(z \cdot \mathsf{fma}\left(-k, y1, c \cdot t\right)\right) \cdot i \]
                                                                                                                                                                              8. Recombined 5 regimes into one program.
                                                                                                                                                                              9. Final simplification46.1%

                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -2 \cdot 10^{+61}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;z \leq 5.5 \cdot 10^{-222}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;z \leq 7.5 \cdot 10^{+104}:\\ \;\;\;\;\left(\mathsf{fma}\left(a, y, \left(-j\right) \cdot y0\right) \cdot b\right) \cdot x\\ \mathbf{elif}\;z \leq 8.8 \cdot 10^{+244}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot k\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-k, y1, c \cdot t\right) \cdot z\right) \cdot i\\ \end{array} \]
                                                                                                                                                                              10. Add Preprocessing

                                                                                                                                                                              Alternative 21: 31.0% accurate, 4.2× speedup?

                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{if}\;y5 \leq -4.8 \cdot 10^{+130}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq -6.4 \cdot 10^{-273}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;y5 \leq 82000000000000:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot i\right) \cdot y1\\ \mathbf{elif}\;y5 \leq 6.5 \cdot 10^{+186}:\\ \;\;\;\;t\_1\\ \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
                                                                                                                                                                               (let* ((t_1 (* (* (fma y3 y5 (* (- x) b)) j) y0)))
                                                                                                                                                                                 (if (<= y5 -4.8e+130)
                                                                                                                                                                                   t_1
                                                                                                                                                                                   (if (<= y5 -6.4e-273)
                                                                                                                                                                                     (* (* (fma (- x) y (* t z)) c) i)
                                                                                                                                                                                     (if (<= y5 82000000000000.0)
                                                                                                                                                                                       (* (* (fma j x (* (- k) z)) i) y1)
                                                                                                                                                                                       (if (<= y5 6.5e+186) t_1 (* (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 t_1 = (fma(y3, y5, (-x * b)) * j) * y0;
                                                                                                                                                                              	double tmp;
                                                                                                                                                                              	if (y5 <= -4.8e+130) {
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	} else if (y5 <= -6.4e-273) {
                                                                                                                                                                              		tmp = (fma(-x, y, (t * z)) * c) * i;
                                                                                                                                                                              	} else if (y5 <= 82000000000000.0) {
                                                                                                                                                                              		tmp = (fma(j, x, (-k * z)) * i) * y1;
                                                                                                                                                                              	} else if (y5 <= 6.5e+186) {
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	} 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)
                                                                                                                                                                              	t_1 = Float64(Float64(fma(y3, y5, Float64(Float64(-x) * b)) * j) * y0)
                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                              	if (y5 <= -4.8e+130)
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	elseif (y5 <= -6.4e-273)
                                                                                                                                                                              		tmp = Float64(Float64(fma(Float64(-x), y, Float64(t * z)) * c) * i);
                                                                                                                                                                              	elseif (y5 <= 82000000000000.0)
                                                                                                                                                                              		tmp = Float64(Float64(fma(j, x, Float64(Float64(-k) * z)) * i) * y1);
                                                                                                                                                                              	elseif (y5 <= 6.5e+186)
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	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_] := Block[{t$95$1 = N[(N[(N[(y3 * y5 + N[((-x) * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * y0), $MachinePrecision]}, If[LessEqual[y5, -4.8e+130], t$95$1, If[LessEqual[y5, -6.4e-273], N[(N[(N[((-x) * y + N[(t * z), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y5, 82000000000000.0], N[(N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y5, 6.5e+186], t$95$1, N[(N[(y * y5 + N[((-y1) * z), $MachinePrecision]), $MachinePrecision] * N[(k * i), $MachinePrecision]), $MachinePrecision]]]]]]
                                                                                                                                                                              
                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                              
                                                                                                                                                                              \\
                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                              t_1 := \left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\
                                                                                                                                                                              \mathbf{if}\;y5 \leq -4.8 \cdot 10^{+130}:\\
                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                              
                                                                                                                                                                              \mathbf{elif}\;y5 \leq -6.4 \cdot 10^{-273}:\\
                                                                                                                                                                              \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\
                                                                                                                                                                              
                                                                                                                                                                              \mathbf{elif}\;y5 \leq 82000000000000:\\
                                                                                                                                                                              \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot i\right) \cdot y1\\
                                                                                                                                                                              
                                                                                                                                                                              \mathbf{elif}\;y5 \leq 6.5 \cdot 10^{+186}:\\
                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                              
                                                                                                                                                                              \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 4 regimes
                                                                                                                                                                              2. if y5 < -4.80000000000000048e130 or 8.2e13 < y5 < 6.4999999999999997e186

                                                                                                                                                                                1. Initial program 16.6%

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

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

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

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

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

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

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

                                                                                                                                                                                    \[\leadsto \left(j \cdot \left(-1 \cdot \left(b \cdot x\right) + y3 \cdot y5\right)\right) \cdot y0 \]
                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                    1. Applied rewrites54.3%

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

                                                                                                                                                                                    if -4.80000000000000048e130 < y5 < -6.39999999999999978e-273

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

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

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

                                                                                                                                                                                      if -6.39999999999999978e-273 < y5 < 8.2e13

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

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

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

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

                                                                                                                                                                                        \[\leadsto \left(i \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot y1 \]
                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                        1. Applied rewrites41.4%

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

                                                                                                                                                                                        if 6.4999999999999997e186 < y5

                                                                                                                                                                                        1. Initial program 24.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 rewrites53.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 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 rewrites44.2%

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

                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -4.8 \cdot 10^{+130}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;y5 \leq -6.4 \cdot 10^{-273}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y, t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;y5 \leq 82000000000000:\\ \;\;\;\;\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot i\right) \cdot y1\\ \mathbf{elif}\;y5 \leq 6.5 \cdot 10^{+186}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \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: 30.7% accurate, 4.2× speedup?

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

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

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

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

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

                                                                                                                                                                                              \[\leadsto \left(j \cdot \left(-1 \cdot \left(b \cdot x\right) + y3 \cdot y5\right)\right) \cdot y0 \]
                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                              1. Applied rewrites52.7%

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

                                                                                                                                                                                              if -3.19999999999999975e82 < y5 < -6.20000000000000039e-187

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

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

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

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

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

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

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

                                                                                                                                                                                                if -6.20000000000000039e-187 < y5 < 2.2500000000000001e-113

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

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

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

                                                                                                                                                                                                    \[\leadsto \left(y3 \cdot \mathsf{fma}\left(-j, y1, c \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                  2. 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)} \]
                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                    1. Applied rewrites37.8%

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

                                                                                                                                                                                                    if 2.2500000000000001e-113 < y5 < 7.20000000000000001e112

                                                                                                                                                                                                    1. Initial program 26.0%

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

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

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

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

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

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

                                                                                                                                                                                                      if 7.20000000000000001e112 < y5

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

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

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

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

                                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -3.2 \cdot 10^{+82}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;y5 \leq -6.2 \cdot 10^{-187}:\\ \;\;\;\;\mathsf{fma}\left(j, t, \left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\ \mathbf{elif}\;y5 \leq 2.25 \cdot 10^{-113}:\\ \;\;\;\;\left(y4 \cdot t\right) \cdot \mathsf{fma}\left(b, j, \left(-y2\right) \cdot c\right)\\ \mathbf{elif}\;y5 \leq 7.2 \cdot 10^{+112}:\\ \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot y5\right) \cdot y0\\ \end{array} \]
                                                                                                                                                                                                      10. Add Preprocessing

                                                                                                                                                                                                      Alternative 23: 29.6% accurate, 4.2× speedup?

                                                                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -1.25 \cdot 10^{+34}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y2, \left(-y3\right) \cdot z\right) \cdot c\right) \cdot y0\\ \mathbf{elif}\;z \leq 10^{-224}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;z \leq 3 \cdot 10^{+99}:\\ \;\;\;\;\mathsf{fma}\left(-j, y0, a \cdot y\right) \cdot \left(b \cdot x\right)\\ \mathbf{elif}\;z \leq 9.8 \cdot 10^{+253}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot k\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\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 (<= z -1.25e+34)
                                                                                                                                                                                                         (* (* (fma x y2 (* (- y3) z)) c) y0)
                                                                                                                                                                                                         (if (<= z 1e-224)
                                                                                                                                                                                                           (* (* (fma y3 y5 (* (- x) b)) j) y0)
                                                                                                                                                                                                           (if (<= z 3e+99)
                                                                                                                                                                                                             (* (fma (- j) y0 (* a y)) (* b x))
                                                                                                                                                                                                             (if (<= z 9.8e+253)
                                                                                                                                                                                                               (* (* (fma (- y2) y5 (* b z)) k) y0)
                                                                                                                                                                                                               (* (fma (- j) y4 (* a z)) (* y3 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 (z <= -1.25e+34) {
                                                                                                                                                                                                      		tmp = (fma(x, y2, (-y3 * z)) * c) * y0;
                                                                                                                                                                                                      	} else if (z <= 1e-224) {
                                                                                                                                                                                                      		tmp = (fma(y3, y5, (-x * b)) * j) * y0;
                                                                                                                                                                                                      	} else if (z <= 3e+99) {
                                                                                                                                                                                                      		tmp = fma(-j, y0, (a * y)) * (b * x);
                                                                                                                                                                                                      	} else if (z <= 9.8e+253) {
                                                                                                                                                                                                      		tmp = (fma(-y2, y5, (b * z)) * k) * y0;
                                                                                                                                                                                                      	} else {
                                                                                                                                                                                                      		tmp = fma(-j, y4, (a * z)) * (y3 * 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 (z <= -1.25e+34)
                                                                                                                                                                                                      		tmp = Float64(Float64(fma(x, y2, Float64(Float64(-y3) * z)) * c) * y0);
                                                                                                                                                                                                      	elseif (z <= 1e-224)
                                                                                                                                                                                                      		tmp = Float64(Float64(fma(y3, y5, Float64(Float64(-x) * b)) * j) * y0);
                                                                                                                                                                                                      	elseif (z <= 3e+99)
                                                                                                                                                                                                      		tmp = Float64(fma(Float64(-j), y0, Float64(a * y)) * Float64(b * x));
                                                                                                                                                                                                      	elseif (z <= 9.8e+253)
                                                                                                                                                                                                      		tmp = Float64(Float64(fma(Float64(-y2), y5, Float64(b * z)) * k) * y0);
                                                                                                                                                                                                      	else
                                                                                                                                                                                                      		tmp = Float64(fma(Float64(-j), y4, Float64(a * z)) * Float64(y3 * y1));
                                                                                                                                                                                                      	end
                                                                                                                                                                                                      	return tmp
                                                                                                                                                                                                      end
                                                                                                                                                                                                      
                                                                                                                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[z, -1.25e+34], N[(N[(N[(x * y2 + N[((-y3) * z), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[z, 1e-224], N[(N[(N[(y3 * y5 + N[((-x) * b), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision] * y0), $MachinePrecision], If[LessEqual[z, 3e+99], N[(N[((-j) * y0 + N[(a * y), $MachinePrecision]), $MachinePrecision] * N[(b * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9.8e+253], N[(N[(N[((-y2) * y5 + N[(b * z), $MachinePrecision]), $MachinePrecision] * k), $MachinePrecision] * y0), $MachinePrecision], N[(N[((-j) * y4 + N[(a * z), $MachinePrecision]), $MachinePrecision] * N[(y3 * y1), $MachinePrecision]), $MachinePrecision]]]]]
                                                                                                                                                                                                      
                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                      
                                                                                                                                                                                                      \\
                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                      \mathbf{if}\;z \leq -1.25 \cdot 10^{+34}:\\
                                                                                                                                                                                                      \;\;\;\;\left(\mathsf{fma}\left(x, y2, \left(-y3\right) \cdot z\right) \cdot c\right) \cdot y0\\
                                                                                                                                                                                                      
                                                                                                                                                                                                      \mathbf{elif}\;z \leq 10^{-224}:\\
                                                                                                                                                                                                      \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\
                                                                                                                                                                                                      
                                                                                                                                                                                                      \mathbf{elif}\;z \leq 3 \cdot 10^{+99}:\\
                                                                                                                                                                                                      \;\;\;\;\mathsf{fma}\left(-j, y0, a \cdot y\right) \cdot \left(b \cdot x\right)\\
                                                                                                                                                                                                      
                                                                                                                                                                                                      \mathbf{elif}\;z \leq 9.8 \cdot 10^{+253}:\\
                                                                                                                                                                                                      \;\;\;\;\left(\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot k\right) \cdot y0\\
                                                                                                                                                                                                      
                                                                                                                                                                                                      \mathbf{else}:\\
                                                                                                                                                                                                      \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\
                                                                                                                                                                                                      
                                                                                                                                                                                                      
                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                      
                                                                                                                                                                                                      Derivation
                                                                                                                                                                                                      1. Split input into 5 regimes
                                                                                                                                                                                                      2. if z < -1.25e34

                                                                                                                                                                                                        1. Initial program 26.0%

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

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

                                                                                                                                                                                                          \[\leadsto \left(c \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) \cdot y0 \]
                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                          1. Applied rewrites44.5%

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

                                                                                                                                                                                                          if -1.25e34 < z < 1e-224

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

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

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

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

                                                                                                                                                                                                              \[\leadsto \left(j \cdot \left(-1 \cdot \left(b \cdot x\right) + y3 \cdot y5\right)\right) \cdot y0 \]
                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                              1. Applied rewrites41.5%

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

                                                                                                                                                                                                              if 1e-224 < z < 3.00000000000000014e99

                                                                                                                                                                                                              1. Initial program 38.8%

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

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

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

                                                                                                                                                                                                                if 3.00000000000000014e99 < z < 9.8000000000000002e253

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

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

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

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

                                                                                                                                                                                                                  if 9.8000000000000002e253 < z

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

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

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

                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.25 \cdot 10^{+34}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y2, \left(-y3\right) \cdot z\right) \cdot c\right) \cdot y0\\ \mathbf{elif}\;z \leq 10^{-224}:\\ \;\;\;\;\left(\mathsf{fma}\left(y3, y5, \left(-x\right) \cdot b\right) \cdot j\right) \cdot y0\\ \mathbf{elif}\;z \leq 3 \cdot 10^{+99}:\\ \;\;\;\;\mathsf{fma}\left(-j, y0, a \cdot y\right) \cdot \left(b \cdot x\right)\\ \mathbf{elif}\;z \leq 9.8 \cdot 10^{+253}:\\ \;\;\;\;\left(\mathsf{fma}\left(-y2, y5, b \cdot z\right) \cdot k\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\ \end{array} \]
                                                                                                                                                                                                                  10. Add Preprocessing

                                                                                                                                                                                                                  Alternative 24: 30.1% accurate, 4.2× speedup?

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

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

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

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

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

                                                                                                                                                                                                                        \[\leadsto \left(j \cdot \left(-1 \cdot \left(b \cdot x\right) + y3 \cdot y5\right)\right) \cdot y0 \]
                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                        1. Applied rewrites49.6%

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

                                                                                                                                                                                                                        if -150 < y0 < -9.0000000000000003e-296

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

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

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

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

                                                                                                                                                                                                                          if -9.0000000000000003e-296 < y0 < 4.5999999999999997e-71

                                                                                                                                                                                                                          1. Initial program 39.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 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 inf

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

                                                                                                                                                                                                                              \[\leadsto \left(c \cdot \mathsf{fma}\left(-x, y, t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                            2. Taylor expanded in t 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.5%

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

                                                                                                                                                                                                                              if 4.5999999999999997e-71 < y0 < 4.79999999999999971e79

                                                                                                                                                                                                                              1. Initial program 26.1%

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

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

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

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

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

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

                                                                                                                                                                                                                                if 4.79999999999999971e79 < y0

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

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

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

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

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

                                                                                                                                                                                                                                Alternative 25: 28.3% accurate, 4.2× speedup?

                                                                                                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y5 \leq -3.8 \cdot 10^{+125}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;y5 \leq -5.5 \cdot 10^{+72}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;y5 \leq 3.9 \cdot 10^{-159}:\\ \;\;\;\;\mathsf{fma}\left(j, t, \left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\ \mathbf{elif}\;y5 \leq 6.6 \cdot 10^{+112}:\\ \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\ \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 (<= y5 -3.8e+125)
                                                                                                                                                                                                                                   (* (fma j y3 (* (- y2) k)) (* y5 y0))
                                                                                                                                                                                                                                   (if (<= y5 -5.5e+72)
                                                                                                                                                                                                                                     (* (* (* t z) c) i)
                                                                                                                                                                                                                                     (if (<= y5 3.9e-159)
                                                                                                                                                                                                                                       (* (fma j t (* (- y) k)) (* y4 b))
                                                                                                                                                                                                                                       (if (<= y5 6.6e+112)
                                                                                                                                                                                                                                         (* (fma (- j) y4 (* a z)) (* y3 y1))
                                                                                                                                                                                                                                         (* (* (* 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 (y5 <= -3.8e+125) {
                                                                                                                                                                                                                                		tmp = fma(j, y3, (-y2 * k)) * (y5 * y0);
                                                                                                                                                                                                                                	} else if (y5 <= -5.5e+72) {
                                                                                                                                                                                                                                		tmp = ((t * z) * c) * i;
                                                                                                                                                                                                                                	} else if (y5 <= 3.9e-159) {
                                                                                                                                                                                                                                		tmp = fma(j, t, (-y * k)) * (y4 * b);
                                                                                                                                                                                                                                	} else if (y5 <= 6.6e+112) {
                                                                                                                                                                                                                                		tmp = fma(-j, y4, (a * z)) * (y3 * y1);
                                                                                                                                                                                                                                	} 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 (y5 <= -3.8e+125)
                                                                                                                                                                                                                                		tmp = Float64(fma(j, y3, Float64(Float64(-y2) * k)) * Float64(y5 * y0));
                                                                                                                                                                                                                                	elseif (y5 <= -5.5e+72)
                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(t * z) * c) * i);
                                                                                                                                                                                                                                	elseif (y5 <= 3.9e-159)
                                                                                                                                                                                                                                		tmp = Float64(fma(j, t, Float64(Float64(-y) * k)) * Float64(y4 * b));
                                                                                                                                                                                                                                	elseif (y5 <= 6.6e+112)
                                                                                                                                                                                                                                		tmp = Float64(fma(Float64(-j), y4, Float64(a * z)) * Float64(y3 * y1));
                                                                                                                                                                                                                                	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[y5, -3.8e+125], N[(N[(j * y3 + N[((-y2) * k), $MachinePrecision]), $MachinePrecision] * N[(y5 * y0), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -5.5e+72], N[(N[(N[(t * z), $MachinePrecision] * c), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y5, 3.9e-159], N[(N[(j * t + N[((-y) * k), $MachinePrecision]), $MachinePrecision] * N[(y4 * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 6.6e+112], N[(N[((-j) * y4 + N[(a * z), $MachinePrecision]), $MachinePrecision] * N[(y3 * y1), $MachinePrecision]), $MachinePrecision], N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision]]]]]
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                \\
                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                \mathbf{if}\;y5 \leq -3.8 \cdot 10^{+125}:\\
                                                                                                                                                                                                                                \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                \mathbf{elif}\;y5 \leq -5.5 \cdot 10^{+72}:\\
                                                                                                                                                                                                                                \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                \mathbf{elif}\;y5 \leq 3.9 \cdot 10^{-159}:\\
                                                                                                                                                                                                                                \;\;\;\;\mathsf{fma}\left(j, t, \left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                \mathbf{elif}\;y5 \leq 6.6 \cdot 10^{+112}:\\
                                                                                                                                                                                                                                \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                                                                                                \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                
                                                                                                                                                                                                                                Derivation
                                                                                                                                                                                                                                1. Split input into 5 regimes
                                                                                                                                                                                                                                2. if y5 < -3.80000000000000002e125

                                                                                                                                                                                                                                  1. Initial program 15.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 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 rewrites42.9%

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

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

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

                                                                                                                                                                                                                                    if -3.80000000000000002e125 < y5 < -5.5e72

                                                                                                                                                                                                                                    1. Initial program 53.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 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 rewrites54.3%

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

                                                                                                                                                                                                                                      \[\leadsto \left(c \cdot \left(t \cdot z - x \cdot y\right)\right) \cdot i \]
                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                      1. Applied rewrites69.7%

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

                                                                                                                                                                                                                                        \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                        1. Applied rewrites62.3%

                                                                                                                                                                                                                                          \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]

                                                                                                                                                                                                                                        if -5.5e72 < y5 < 3.89999999999999977e-159

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

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

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

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

                                                                                                                                                                                                                                          if 3.89999999999999977e-159 < y5 < 6.5999999999999998e112

                                                                                                                                                                                                                                          1. Initial program 29.1%

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

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

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

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

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

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

                                                                                                                                                                                                                                            if 6.5999999999999998e112 < y5

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

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

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

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

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

                                                                                                                                                                                                                                                  \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                              4. Recombined 5 regimes into one program.
                                                                                                                                                                                                                                              5. Final simplification42.1%

                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -3.8 \cdot 10^{+125}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;y5 \leq -5.5 \cdot 10^{+72}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;y5 \leq 3.9 \cdot 10^{-159}:\\ \;\;\;\;\mathsf{fma}\left(j, t, \left(-y\right) \cdot k\right) \cdot \left(y4 \cdot b\right)\\ \mathbf{elif}\;y5 \leq 6.6 \cdot 10^{+112}:\\ \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \end{array} \]
                                                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                                                              Alternative 26: 28.9% accurate, 4.2× speedup?

                                                                                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y5 \leq -4.4 \cdot 10^{+125}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;y5 \leq -8.6 \cdot 10^{-57}:\\ \;\;\;\;\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\ \mathbf{elif}\;y5 \leq 4.6 \cdot 10^{-217}:\\ \;\;\;\;\mathsf{fma}\left(-j, y0, a \cdot y\right) \cdot \left(b \cdot x\right)\\ \mathbf{elif}\;y5 \leq 6.6 \cdot 10^{+112}:\\ \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\ \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 (<= y5 -4.4e+125)
                                                                                                                                                                                                                                                 (* (fma j y3 (* (- y2) k)) (* y5 y0))
                                                                                                                                                                                                                                                 (if (<= y5 -8.6e-57)
                                                                                                                                                                                                                                                   (* (fma (- j) y5 (* c z)) (* i t))
                                                                                                                                                                                                                                                   (if (<= y5 4.6e-217)
                                                                                                                                                                                                                                                     (* (fma (- j) y0 (* a y)) (* b x))
                                                                                                                                                                                                                                                     (if (<= y5 6.6e+112)
                                                                                                                                                                                                                                                       (* (fma (- j) y4 (* a z)) (* y3 y1))
                                                                                                                                                                                                                                                       (* (* (* 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 (y5 <= -4.4e+125) {
                                                                                                                                                                                                                                              		tmp = fma(j, y3, (-y2 * k)) * (y5 * y0);
                                                                                                                                                                                                                                              	} else if (y5 <= -8.6e-57) {
                                                                                                                                                                                                                                              		tmp = fma(-j, y5, (c * z)) * (i * t);
                                                                                                                                                                                                                                              	} else if (y5 <= 4.6e-217) {
                                                                                                                                                                                                                                              		tmp = fma(-j, y0, (a * y)) * (b * x);
                                                                                                                                                                                                                                              	} else if (y5 <= 6.6e+112) {
                                                                                                                                                                                                                                              		tmp = fma(-j, y4, (a * z)) * (y3 * y1);
                                                                                                                                                                                                                                              	} 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 (y5 <= -4.4e+125)
                                                                                                                                                                                                                                              		tmp = Float64(fma(j, y3, Float64(Float64(-y2) * k)) * Float64(y5 * y0));
                                                                                                                                                                                                                                              	elseif (y5 <= -8.6e-57)
                                                                                                                                                                                                                                              		tmp = Float64(fma(Float64(-j), y5, Float64(c * z)) * Float64(i * t));
                                                                                                                                                                                                                                              	elseif (y5 <= 4.6e-217)
                                                                                                                                                                                                                                              		tmp = Float64(fma(Float64(-j), y0, Float64(a * y)) * Float64(b * x));
                                                                                                                                                                                                                                              	elseif (y5 <= 6.6e+112)
                                                                                                                                                                                                                                              		tmp = Float64(fma(Float64(-j), y4, Float64(a * z)) * Float64(y3 * y1));
                                                                                                                                                                                                                                              	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[y5, -4.4e+125], N[(N[(j * y3 + N[((-y2) * k), $MachinePrecision]), $MachinePrecision] * N[(y5 * y0), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -8.6e-57], N[(N[((-j) * y5 + N[(c * z), $MachinePrecision]), $MachinePrecision] * N[(i * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 4.6e-217], N[(N[((-j) * y0 + N[(a * y), $MachinePrecision]), $MachinePrecision] * N[(b * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 6.6e+112], N[(N[((-j) * y4 + N[(a * z), $MachinePrecision]), $MachinePrecision] * N[(y3 * y1), $MachinePrecision]), $MachinePrecision], N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision]]]]]
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \\
                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                              \mathbf{if}\;y5 \leq -4.4 \cdot 10^{+125}:\\
                                                                                                                                                                                                                                              \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \mathbf{elif}\;y5 \leq -8.6 \cdot 10^{-57}:\\
                                                                                                                                                                                                                                              \;\;\;\;\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \mathbf{elif}\;y5 \leq 4.6 \cdot 10^{-217}:\\
                                                                                                                                                                                                                                              \;\;\;\;\mathsf{fma}\left(-j, y0, a \cdot y\right) \cdot \left(b \cdot x\right)\\
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \mathbf{elif}\;y5 \leq 6.6 \cdot 10^{+112}:\\
                                                                                                                                                                                                                                              \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                                                                                              \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              Derivation
                                                                                                                                                                                                                                              1. Split input into 5 regimes
                                                                                                                                                                                                                                              2. if y5 < -4.39999999999999982e125

                                                                                                                                                                                                                                                1. Initial program 15.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 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 rewrites42.9%

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

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

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

                                                                                                                                                                                                                                                  if -4.39999999999999982e125 < y5 < -8.60000000000000043e-57

                                                                                                                                                                                                                                                  1. Initial program 40.2%

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

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

                                                                                                                                                                                                                                                      \[\leadsto \left(c \cdot \mathsf{fma}\left(-x, y, t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                                    2. Taylor expanded in t 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 rewrites38.3%

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

                                                                                                                                                                                                                                                      if -8.60000000000000043e-57 < y5 < 4.6000000000000001e-217

                                                                                                                                                                                                                                                      1. Initial program 35.6%

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

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

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

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

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

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

                                                                                                                                                                                                                                                        if 4.6000000000000001e-217 < y5 < 6.5999999999999998e112

                                                                                                                                                                                                                                                        1. Initial program 26.4%

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

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

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

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

                                                                                                                                                                                                                                                          if 6.5999999999999998e112 < y5

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

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

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

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

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

                                                                                                                                                                                                                                                                \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                            4. Recombined 5 regimes into one program.
                                                                                                                                                                                                                                                            5. Final simplification40.9%

                                                                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -4.4 \cdot 10^{+125}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;y5 \leq -8.6 \cdot 10^{-57}:\\ \;\;\;\;\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\ \mathbf{elif}\;y5 \leq 4.6 \cdot 10^{-217}:\\ \;\;\;\;\mathsf{fma}\left(-j, y0, a \cdot y\right) \cdot \left(b \cdot x\right)\\ \mathbf{elif}\;y5 \leq 6.6 \cdot 10^{+112}:\\ \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \end{array} \]
                                                                                                                                                                                                                                                            6. Add Preprocessing

                                                                                                                                                                                                                                                            Alternative 27: 30.0% accurate, 4.2× speedup?

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

                                                                                                                                                                                                                                                              1. Initial program 24.2%

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

                                                                                                                                                                                                                                                                \[\leadsto \left(c \cdot \left(t \cdot z - x \cdot y\right)\right) \cdot i \]
                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                1. Applied rewrites41.1%

                                                                                                                                                                                                                                                                  \[\leadsto \left(c \cdot \mathsf{fma}\left(-x, y, t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                2. Taylor expanded in t 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 rewrites45.3%

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

                                                                                                                                                                                                                                                                  if -1.1200000000000001e-11 < t < 5.8000000000000003e-152

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

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

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

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

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

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

                                                                                                                                                                                                                                                                    if 5.8000000000000003e-152 < t < 4.2000000000000002e60

                                                                                                                                                                                                                                                                    1. Initial program 25.1%

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

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

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

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

                                                                                                                                                                                                                                                                      if 4.60000000000000019e209 < t

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

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

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

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

                                                                                                                                                                                                                                                                          \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                          1. Applied rewrites44.4%

                                                                                                                                                                                                                                                                            \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                        4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                        5. Final simplification40.0%

                                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.12 \cdot 10^{-11}:\\ \;\;\;\;\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\ \mathbf{elif}\;t \leq 5.8 \cdot 10^{-152}:\\ \;\;\;\;\mathsf{fma}\left(-j, y4, a \cdot z\right) \cdot \left(y3 \cdot y1\right)\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{+60}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;t \leq 4.6 \cdot 10^{+209}:\\ \;\;\;\;\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \end{array} \]
                                                                                                                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                                                                                                                        Alternative 28: 26.3% accurate, 4.2× speedup?

                                                                                                                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ t_2 := \mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\ \mathbf{if}\;c \leq -4.8 \cdot 10^{+59}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq -1.9 \cdot 10^{-223}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{-121}:\\ \;\;\;\;\left(\left(y4 \cdot k\right) \cdot b\right) \cdot \left(-y\right)\\ \mathbf{elif}\;c \leq 1.05 \cdot 10^{+87}:\\ \;\;\;\;t\_1\\ \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 j y3 (* (- y2) k)) (* y5 y0)))
                                                                                                                                                                                                                                                                                (t_2 (* (fma (- j) y5 (* c z)) (* i t))))
                                                                                                                                                                                                                                                                           (if (<= c -4.8e+59)
                                                                                                                                                                                                                                                                             t_2
                                                                                                                                                                                                                                                                             (if (<= c -1.9e-223)
                                                                                                                                                                                                                                                                               t_1
                                                                                                                                                                                                                                                                               (if (<= c 5.8e-121)
                                                                                                                                                                                                                                                                                 (* (* (* y4 k) b) (- y))
                                                                                                                                                                                                                                                                                 (if (<= c 1.05e+87) t_1 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(j, y3, (-y2 * k)) * (y5 * y0);
                                                                                                                                                                                                                                                                        	double t_2 = fma(-j, y5, (c * z)) * (i * t);
                                                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                                                        	if (c <= -4.8e+59) {
                                                                                                                                                                                                                                                                        		tmp = t_2;
                                                                                                                                                                                                                                                                        	} else if (c <= -1.9e-223) {
                                                                                                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                                                                                                        	} else if (c <= 5.8e-121) {
                                                                                                                                                                                                                                                                        		tmp = ((y4 * k) * b) * -y;
                                                                                                                                                                                                                                                                        	} else if (c <= 1.05e+87) {
                                                                                                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                                                                                                        	} 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(fma(j, y3, Float64(Float64(-y2) * k)) * Float64(y5 * y0))
                                                                                                                                                                                                                                                                        	t_2 = Float64(fma(Float64(-j), y5, Float64(c * z)) * Float64(i * t))
                                                                                                                                                                                                                                                                        	tmp = 0.0
                                                                                                                                                                                                                                                                        	if (c <= -4.8e+59)
                                                                                                                                                                                                                                                                        		tmp = t_2;
                                                                                                                                                                                                                                                                        	elseif (c <= -1.9e-223)
                                                                                                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                                                                                                        	elseif (c <= 5.8e-121)
                                                                                                                                                                                                                                                                        		tmp = Float64(Float64(Float64(y4 * k) * b) * Float64(-y));
                                                                                                                                                                                                                                                                        	elseif (c <= 1.05e+87)
                                                                                                                                                                                                                                                                        		tmp = t_1;
                                                                                                                                                                                                                                                                        	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 * y3 + N[((-y2) * k), $MachinePrecision]), $MachinePrecision] * N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[((-j) * y5 + N[(c * z), $MachinePrecision]), $MachinePrecision] * N[(i * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -4.8e+59], t$95$2, If[LessEqual[c, -1.9e-223], t$95$1, If[LessEqual[c, 5.8e-121], N[(N[(N[(y4 * k), $MachinePrecision] * b), $MachinePrecision] * (-y)), $MachinePrecision], If[LessEqual[c, 1.05e+87], t$95$1, t$95$2]]]]]]
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        \\
                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                        t_1 := \mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\
                                                                                                                                                                                                                                                                        t_2 := \mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\
                                                                                                                                                                                                                                                                        \mathbf{if}\;c \leq -4.8 \cdot 10^{+59}:\\
                                                                                                                                                                                                                                                                        \;\;\;\;t\_2\\
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        \mathbf{elif}\;c \leq -1.9 \cdot 10^{-223}:\\
                                                                                                                                                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        \mathbf{elif}\;c \leq 5.8 \cdot 10^{-121}:\\
                                                                                                                                                                                                                                                                        \;\;\;\;\left(\left(y4 \cdot k\right) \cdot b\right) \cdot \left(-y\right)\\
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        \mathbf{elif}\;c \leq 1.05 \cdot 10^{+87}:\\
                                                                                                                                                                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                                                                                                                        \;\;\;\;t\_2\\
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        Derivation
                                                                                                                                                                                                                                                                        1. Split input into 3 regimes
                                                                                                                                                                                                                                                                        2. if c < -4.8000000000000004e59 or 1.05e87 < c

                                                                                                                                                                                                                                                                          1. Initial program 26.1%

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

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

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

                                                                                                                                                                                                                                                                              \[\leadsto \left(c \cdot \mathsf{fma}\left(-x, y, t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                            2. Taylor expanded in t 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 rewrites43.0%

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

                                                                                                                                                                                                                                                                              if -4.8000000000000004e59 < c < -1.90000000000000006e-223 or 5.8e-121 < c < 1.05e87

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

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

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

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

                                                                                                                                                                                                                                                                                if -1.90000000000000006e-223 < c < 5.8e-121

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

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

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

                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                5. Applied rewrites43.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(y3 \cdot \left(-1 \cdot \left(j \cdot y1\right) + c \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                                  1. Applied rewrites22.8%

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

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

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

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

                                                                                                                                                                                                                                                                                        \[\leadsto \left(-y\right) \cdot \left(b \cdot \left(k \cdot \color{blue}{y4}\right)\right) \]
                                                                                                                                                                                                                                                                                    4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                    5. Final simplification39.0%

                                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -4.8 \cdot 10^{+59}:\\ \;\;\;\;\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\ \mathbf{elif}\;c \leq -1.9 \cdot 10^{-223}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{-121}:\\ \;\;\;\;\left(\left(y4 \cdot k\right) \cdot b\right) \cdot \left(-y\right)\\ \mathbf{elif}\;c \leq 1.05 \cdot 10^{+87}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(-j, y5, c \cdot z\right) \cdot \left(i \cdot t\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                                                                                                                                                    Alternative 29: 28.2% accurate, 4.2× speedup?

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

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

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

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

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

                                                                                                                                                                                                                                                                                        if -3e135 < y0 < -3.10000000000000002e-71

                                                                                                                                                                                                                                                                                        1. Initial program 16.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 rewrites42.9%

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

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

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

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

                                                                                                                                                                                                                                                                                              \[\leadsto \left(c \cdot \left(\left(-i\right) \cdot y\right)\right) \cdot x \]

                                                                                                                                                                                                                                                                                            if -3.10000000000000002e-71 < y0 < -3.8999999999999999e-203

                                                                                                                                                                                                                                                                                            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 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 rewrites48.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(y3 \cdot \left(-1 \cdot \left(j \cdot y1\right) + c \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                              1. Applied rewrites30.9%

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

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

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

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

                                                                                                                                                                                                                                                                                                    \[\leadsto -b \cdot \left(\left(k \cdot y\right) \cdot y4\right) \]

                                                                                                                                                                                                                                                                                                  if -3.8999999999999999e-203 < y0 < 4.4999999999999997e28

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

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

                                                                                                                                                                                                                                                                                                    if 4.4999999999999997e28 < y0

                                                                                                                                                                                                                                                                                                    1. Initial program 9.3%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -3 \cdot 10^{+135}:\\ \;\;\;\;\mathsf{fma}\left(-k, y5, c \cdot x\right) \cdot \left(y2 \cdot y0\right)\\ \mathbf{elif}\;y0 \leq -3.1 \cdot 10^{-71}:\\ \;\;\;\;\left(\left(\left(-i\right) \cdot y\right) \cdot c\right) \cdot x\\ \mathbf{elif}\;y0 \leq -3.9 \cdot 10^{-203}:\\ \;\;\;\;\left(\left(\left(-y\right) \cdot k\right) \cdot y4\right) \cdot b\\ \mathbf{elif}\;y0 \leq 4.5 \cdot 10^{+28}:\\ \;\;\;\;\mathsf{fma}\left(y, y5, \left(-y1\right) \cdot z\right) \cdot \left(k \cdot i\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                                                    10. Add Preprocessing

                                                                                                                                                                                                                                                                                                    Alternative 30: 24.5% accurate, 4.2× speedup?

                                                                                                                                                                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ t_2 := \mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{if}\;c \leq -5.6 \cdot 10^{+107}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -1.9 \cdot 10^{-223}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{-121}:\\ \;\;\;\;\left(\left(y4 \cdot k\right) \cdot b\right) \cdot \left(-y\right)\\ \mathbf{elif}\;c \leq 1.42 \cdot 10^{+88}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                    (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                     :precision binary64
                                                                                                                                                                                                                                                                                                     (let* ((t_1 (* (* (* t z) c) i)) (t_2 (* (fma j y3 (* (- y2) k)) (* y5 y0))))
                                                                                                                                                                                                                                                                                                       (if (<= c -5.6e+107)
                                                                                                                                                                                                                                                                                                         t_1
                                                                                                                                                                                                                                                                                                         (if (<= c -1.9e-223)
                                                                                                                                                                                                                                                                                                           t_2
                                                                                                                                                                                                                                                                                                           (if (<= c 5.8e-121)
                                                                                                                                                                                                                                                                                                             (* (* (* y4 k) b) (- y))
                                                                                                                                                                                                                                                                                                             (if (<= c 1.42e+88) t_2 t_1))))))
                                                                                                                                                                                                                                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                    	double t_1 = ((t * z) * c) * i;
                                                                                                                                                                                                                                                                                                    	double t_2 = fma(j, y3, (-y2 * k)) * (y5 * y0);
                                                                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                                                                    	if (c <= -5.6e+107) {
                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                    	} else if (c <= -1.9e-223) {
                                                                                                                                                                                                                                                                                                    		tmp = t_2;
                                                                                                                                                                                                                                                                                                    	} else if (c <= 5.8e-121) {
                                                                                                                                                                                                                                                                                                    		tmp = ((y4 * k) * b) * -y;
                                                                                                                                                                                                                                                                                                    	} else if (c <= 1.42e+88) {
                                                                                                                                                                                                                                                                                                    		tmp = t_2;
                                                                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                                                                    	return tmp;
                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                    	t_1 = Float64(Float64(Float64(t * z) * c) * i)
                                                                                                                                                                                                                                                                                                    	t_2 = Float64(fma(j, y3, Float64(Float64(-y2) * k)) * Float64(y5 * y0))
                                                                                                                                                                                                                                                                                                    	tmp = 0.0
                                                                                                                                                                                                                                                                                                    	if (c <= -5.6e+107)
                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                    	elseif (c <= -1.9e-223)
                                                                                                                                                                                                                                                                                                    		tmp = t_2;
                                                                                                                                                                                                                                                                                                    	elseif (c <= 5.8e-121)
                                                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(Float64(y4 * k) * b) * Float64(-y));
                                                                                                                                                                                                                                                                                                    	elseif (c <= 1.42e+88)
                                                                                                                                                                                                                                                                                                    		tmp = t_2;
                                                                                                                                                                                                                                                                                                    	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), $MachinePrecision] * i), $MachinePrecision]}, Block[{t$95$2 = N[(N[(j * y3 + N[((-y2) * k), $MachinePrecision]), $MachinePrecision] * N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -5.6e+107], t$95$1, If[LessEqual[c, -1.9e-223], t$95$2, If[LessEqual[c, 5.8e-121], N[(N[(N[(y4 * k), $MachinePrecision] * b), $MachinePrecision] * (-y)), $MachinePrecision], If[LessEqual[c, 1.42e+88], t$95$2, t$95$1]]]]]]
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    \\
                                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                                    t_1 := \left(\left(t \cdot z\right) \cdot c\right) \cdot i\\
                                                                                                                                                                                                                                                                                                    t_2 := \mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\
                                                                                                                                                                                                                                                                                                    \mathbf{if}\;c \leq -5.6 \cdot 10^{+107}:\\
                                                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    \mathbf{elif}\;c \leq -1.9 \cdot 10^{-223}:\\
                                                                                                                                                                                                                                                                                                    \;\;\;\;t\_2\\
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    \mathbf{elif}\;c \leq 5.8 \cdot 10^{-121}:\\
                                                                                                                                                                                                                                                                                                    \;\;\;\;\left(\left(y4 \cdot k\right) \cdot b\right) \cdot \left(-y\right)\\
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    \mathbf{elif}\;c \leq 1.42 \cdot 10^{+88}:\\
                                                                                                                                                                                                                                                                                                    \;\;\;\;t\_2\\
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    Derivation
                                                                                                                                                                                                                                                                                                    1. Split input into 3 regimes
                                                                                                                                                                                                                                                                                                    2. if c < -5.59999999999999969e107 or 1.41999999999999996e88 < c

                                                                                                                                                                                                                                                                                                      1. Initial program 25.4%

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

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

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

                                                                                                                                                                                                                                                                                                          \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                          1. Applied rewrites40.5%

                                                                                                                                                                                                                                                                                                            \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]

                                                                                                                                                                                                                                                                                                          if -5.59999999999999969e107 < c < -1.90000000000000006e-223 or 5.8e-121 < c < 1.41999999999999996e88

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

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

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

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

                                                                                                                                                                                                                                                                                                            if -1.90000000000000006e-223 < c < 5.8e-121

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

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

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

                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                                            5. Applied rewrites43.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(y3 \cdot \left(-1 \cdot \left(j \cdot y1\right) + c \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                              1. Applied rewrites22.8%

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

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

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

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

                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-y\right) \cdot \left(b \cdot \left(k \cdot \color{blue}{y4}\right)\right) \]
                                                                                                                                                                                                                                                                                                                4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                5. Final simplification37.8%

                                                                                                                                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -5.6 \cdot 10^{+107}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;c \leq -1.9 \cdot 10^{-223}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;c \leq 5.8 \cdot 10^{-121}:\\ \;\;\;\;\left(\left(y4 \cdot k\right) \cdot b\right) \cdot \left(-y\right)\\ \mathbf{elif}\;c \leq 1.42 \cdot 10^{+88}:\\ \;\;\;\;\mathsf{fma}\left(j, y3, \left(-y2\right) \cdot k\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                Alternative 31: 21.1% accurate, 5.0× speedup?

                                                                                                                                                                                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{if}\;c \leq -4.5 \cdot 10^{+40}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -3.4 \cdot 10^{-226}:\\ \;\;\;\;\left(\left(y5 \cdot y2\right) \cdot y0\right) \cdot \left(-k\right)\\ \mathbf{elif}\;c \leq 5.5 \cdot 10^{-120}:\\ \;\;\;\;\left(\left(y4 \cdot k\right) \cdot b\right) \cdot \left(-y\right)\\ \mathbf{elif}\;c \leq 3.4 \cdot 10^{+87}:\\ \;\;\;\;\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 (* (* (* t z) c) i)))
                                                                                                                                                                                                                                                                                                                   (if (<= c -4.5e+40)
                                                                                                                                                                                                                                                                                                                     t_1
                                                                                                                                                                                                                                                                                                                     (if (<= c -3.4e-226)
                                                                                                                                                                                                                                                                                                                       (* (* (* y5 y2) y0) (- k))
                                                                                                                                                                                                                                                                                                                       (if (<= c 5.5e-120)
                                                                                                                                                                                                                                                                                                                         (* (* (* y4 k) b) (- y))
                                                                                                                                                                                                                                                                                                                         (if (<= c 3.4e+87) (* (* (* 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 = ((t * z) * c) * i;
                                                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                                                	if (c <= -4.5e+40) {
                                                                                                                                                                                                                                                                                                                		tmp = t_1;
                                                                                                                                                                                                                                                                                                                	} else if (c <= -3.4e-226) {
                                                                                                                                                                                                                                                                                                                		tmp = ((y5 * y2) * y0) * -k;
                                                                                                                                                                                                                                                                                                                	} else if (c <= 5.5e-120) {
                                                                                                                                                                                                                                                                                                                		tmp = ((y4 * k) * b) * -y;
                                                                                                                                                                                                                                                                                                                	} else if (c <= 3.4e+87) {
                                                                                                                                                                                                                                                                                                                		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 = ((t * z) * c) * i
                                                                                                                                                                                                                                                                                                                    if (c <= (-4.5d+40)) then
                                                                                                                                                                                                                                                                                                                        tmp = t_1
                                                                                                                                                                                                                                                                                                                    else if (c <= (-3.4d-226)) then
                                                                                                                                                                                                                                                                                                                        tmp = ((y5 * y2) * y0) * -k
                                                                                                                                                                                                                                                                                                                    else if (c <= 5.5d-120) then
                                                                                                                                                                                                                                                                                                                        tmp = ((y4 * k) * b) * -y
                                                                                                                                                                                                                                                                                                                    else if (c <= 3.4d+87) 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 = ((t * z) * c) * i;
                                                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                                                	if (c <= -4.5e+40) {
                                                                                                                                                                                                                                                                                                                		tmp = t_1;
                                                                                                                                                                                                                                                                                                                	} else if (c <= -3.4e-226) {
                                                                                                                                                                                                                                                                                                                		tmp = ((y5 * y2) * y0) * -k;
                                                                                                                                                                                                                                                                                                                	} else if (c <= 5.5e-120) {
                                                                                                                                                                                                                                                                                                                		tmp = ((y4 * k) * b) * -y;
                                                                                                                                                                                                                                                                                                                	} else if (c <= 3.4e+87) {
                                                                                                                                                                                                                                                                                                                		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 = ((t * z) * c) * i
                                                                                                                                                                                                                                                                                                                	tmp = 0
                                                                                                                                                                                                                                                                                                                	if c <= -4.5e+40:
                                                                                                                                                                                                                                                                                                                		tmp = t_1
                                                                                                                                                                                                                                                                                                                	elif c <= -3.4e-226:
                                                                                                                                                                                                                                                                                                                		tmp = ((y5 * y2) * y0) * -k
                                                                                                                                                                                                                                                                                                                	elif c <= 5.5e-120:
                                                                                                                                                                                                                                                                                                                		tmp = ((y4 * k) * b) * -y
                                                                                                                                                                                                                                                                                                                	elif c <= 3.4e+87:
                                                                                                                                                                                                                                                                                                                		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(t * z) * c) * i)
                                                                                                                                                                                                                                                                                                                	tmp = 0.0
                                                                                                                                                                                                                                                                                                                	if (c <= -4.5e+40)
                                                                                                                                                                                                                                                                                                                		tmp = t_1;
                                                                                                                                                                                                                                                                                                                	elseif (c <= -3.4e-226)
                                                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(y5 * y2) * y0) * Float64(-k));
                                                                                                                                                                                                                                                                                                                	elseif (c <= 5.5e-120)
                                                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(y4 * k) * b) * Float64(-y));
                                                                                                                                                                                                                                                                                                                	elseif (c <= 3.4e+87)
                                                                                                                                                                                                                                                                                                                		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 = ((t * z) * c) * i;
                                                                                                                                                                                                                                                                                                                	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                	if (c <= -4.5e+40)
                                                                                                                                                                                                                                                                                                                		tmp = t_1;
                                                                                                                                                                                                                                                                                                                	elseif (c <= -3.4e-226)
                                                                                                                                                                                                                                                                                                                		tmp = ((y5 * y2) * y0) * -k;
                                                                                                                                                                                                                                                                                                                	elseif (c <= 5.5e-120)
                                                                                                                                                                                                                                                                                                                		tmp = ((y4 * k) * b) * -y;
                                                                                                                                                                                                                                                                                                                	elseif (c <= 3.4e+87)
                                                                                                                                                                                                                                                                                                                		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[(t * z), $MachinePrecision] * c), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[c, -4.5e+40], t$95$1, If[LessEqual[c, -3.4e-226], N[(N[(N[(y5 * y2), $MachinePrecision] * y0), $MachinePrecision] * (-k)), $MachinePrecision], If[LessEqual[c, 5.5e-120], N[(N[(N[(y4 * k), $MachinePrecision] * b), $MachinePrecision] * (-y)), $MachinePrecision], If[LessEqual[c, 3.4e+87], N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], t$95$1]]]]]
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                \\
                                                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                                                t_1 := \left(\left(t \cdot z\right) \cdot c\right) \cdot i\\
                                                                                                                                                                                                                                                                                                                \mathbf{if}\;c \leq -4.5 \cdot 10^{+40}:\\
                                                                                                                                                                                                                                                                                                                \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;c \leq -3.4 \cdot 10^{-226}:\\
                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(y5 \cdot y2\right) \cdot y0\right) \cdot \left(-k\right)\\
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;c \leq 5.5 \cdot 10^{-120}:\\
                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(y4 \cdot k\right) \cdot b\right) \cdot \left(-y\right)\\
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;c \leq 3.4 \cdot 10^{+87}:\\
                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                Derivation
                                                                                                                                                                                                                                                                                                                1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                                                2. if c < -4.50000000000000032e40 or 3.4000000000000002e87 < c

                                                                                                                                                                                                                                                                                                                  1. Initial program 26.5%

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

                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(c \cdot \left(t \cdot z - x \cdot y\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                    1. Applied rewrites47.0%

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

                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                      1. Applied rewrites37.8%

                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]

                                                                                                                                                                                                                                                                                                                      if -4.50000000000000032e40 < c < -3.40000000000000007e-226

                                                                                                                                                                                                                                                                                                                      1. Initial program 27.1%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(-k\right) \cdot \left(y0 \cdot \color{blue}{\left(y2 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                                                                                                                          if -3.40000000000000007e-226 < c < 5.5000000000000001e-120

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

                                                                                                                                                                                                                                                                                                                            \[\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(y3 \cdot \left(-1 \cdot \left(j \cdot y1\right) + c \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                            1. Applied rewrites23.1%

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

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

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

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

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(-y\right) \cdot \left(b \cdot \left(k \cdot \color{blue}{y4}\right)\right) \]

                                                                                                                                                                                                                                                                                                                                if 5.5000000000000001e-120 < c < 3.4000000000000002e87

                                                                                                                                                                                                                                                                                                                                1. Initial program 15.4%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                  4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                                  5. Final simplification35.5%

                                                                                                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -4.5 \cdot 10^{+40}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;c \leq -3.4 \cdot 10^{-226}:\\ \;\;\;\;\left(\left(y5 \cdot y2\right) \cdot y0\right) \cdot \left(-k\right)\\ \mathbf{elif}\;c \leq 5.5 \cdot 10^{-120}:\\ \;\;\;\;\left(\left(y4 \cdot k\right) \cdot b\right) \cdot \left(-y\right)\\ \mathbf{elif}\;c \leq 3.4 \cdot 10^{+87}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                  Alternative 32: 21.1% accurate, 5.0× speedup?

                                                                                                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{if}\;c \leq -4.5 \cdot 10^{+40}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -3.4 \cdot 10^{-226}:\\ \;\;\;\;\left(\left(y5 \cdot y2\right) \cdot y0\right) \cdot \left(-k\right)\\ \mathbf{elif}\;c \leq 5.5 \cdot 10^{-120}:\\ \;\;\;\;\left(\left(\left(-y\right) \cdot k\right) \cdot y4\right) \cdot b\\ \mathbf{elif}\;c \leq 3.4 \cdot 10^{+87}:\\ \;\;\;\;\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 (* (* (* t z) c) i)))
                                                                                                                                                                                                                                                                                                                                     (if (<= c -4.5e+40)
                                                                                                                                                                                                                                                                                                                                       t_1
                                                                                                                                                                                                                                                                                                                                       (if (<= c -3.4e-226)
                                                                                                                                                                                                                                                                                                                                         (* (* (* y5 y2) y0) (- k))
                                                                                                                                                                                                                                                                                                                                         (if (<= c 5.5e-120)
                                                                                                                                                                                                                                                                                                                                           (* (* (* (- y) k) y4) b)
                                                                                                                                                                                                                                                                                                                                           (if (<= c 3.4e+87) (* (* (* 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 = ((t * z) * c) * i;
                                                                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                                                                  	if (c <= -4.5e+40) {
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	} else if (c <= -3.4e-226) {
                                                                                                                                                                                                                                                                                                                                  		tmp = ((y5 * y2) * y0) * -k;
                                                                                                                                                                                                                                                                                                                                  	} else if (c <= 5.5e-120) {
                                                                                                                                                                                                                                                                                                                                  		tmp = ((-y * k) * y4) * b;
                                                                                                                                                                                                                                                                                                                                  	} else if (c <= 3.4e+87) {
                                                                                                                                                                                                                                                                                                                                  		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 = ((t * z) * c) * i
                                                                                                                                                                                                                                                                                                                                      if (c <= (-4.5d+40)) then
                                                                                                                                                                                                                                                                                                                                          tmp = t_1
                                                                                                                                                                                                                                                                                                                                      else if (c <= (-3.4d-226)) then
                                                                                                                                                                                                                                                                                                                                          tmp = ((y5 * y2) * y0) * -k
                                                                                                                                                                                                                                                                                                                                      else if (c <= 5.5d-120) then
                                                                                                                                                                                                                                                                                                                                          tmp = ((-y * k) * y4) * b
                                                                                                                                                                                                                                                                                                                                      else if (c <= 3.4d+87) 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 = ((t * z) * c) * i;
                                                                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                                                                  	if (c <= -4.5e+40) {
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	} else if (c <= -3.4e-226) {
                                                                                                                                                                                                                                                                                                                                  		tmp = ((y5 * y2) * y0) * -k;
                                                                                                                                                                                                                                                                                                                                  	} else if (c <= 5.5e-120) {
                                                                                                                                                                                                                                                                                                                                  		tmp = ((-y * k) * y4) * b;
                                                                                                                                                                                                                                                                                                                                  	} else if (c <= 3.4e+87) {
                                                                                                                                                                                                                                                                                                                                  		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 = ((t * z) * c) * i
                                                                                                                                                                                                                                                                                                                                  	tmp = 0
                                                                                                                                                                                                                                                                                                                                  	if c <= -4.5e+40:
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1
                                                                                                                                                                                                                                                                                                                                  	elif c <= -3.4e-226:
                                                                                                                                                                                                                                                                                                                                  		tmp = ((y5 * y2) * y0) * -k
                                                                                                                                                                                                                                                                                                                                  	elif c <= 5.5e-120:
                                                                                                                                                                                                                                                                                                                                  		tmp = ((-y * k) * y4) * b
                                                                                                                                                                                                                                                                                                                                  	elif c <= 3.4e+87:
                                                                                                                                                                                                                                                                                                                                  		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(t * z) * c) * i)
                                                                                                                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                  	if (c <= -4.5e+40)
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	elseif (c <= -3.4e-226)
                                                                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(y5 * y2) * y0) * Float64(-k));
                                                                                                                                                                                                                                                                                                                                  	elseif (c <= 5.5e-120)
                                                                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(Float64(-y) * k) * y4) * b);
                                                                                                                                                                                                                                                                                                                                  	elseif (c <= 3.4e+87)
                                                                                                                                                                                                                                                                                                                                  		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 = ((t * z) * c) * i;
                                                                                                                                                                                                                                                                                                                                  	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                  	if (c <= -4.5e+40)
                                                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                  	elseif (c <= -3.4e-226)
                                                                                                                                                                                                                                                                                                                                  		tmp = ((y5 * y2) * y0) * -k;
                                                                                                                                                                                                                                                                                                                                  	elseif (c <= 5.5e-120)
                                                                                                                                                                                                                                                                                                                                  		tmp = ((-y * k) * y4) * b;
                                                                                                                                                                                                                                                                                                                                  	elseif (c <= 3.4e+87)
                                                                                                                                                                                                                                                                                                                                  		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[(t * z), $MachinePrecision] * c), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[c, -4.5e+40], t$95$1, If[LessEqual[c, -3.4e-226], N[(N[(N[(y5 * y2), $MachinePrecision] * y0), $MachinePrecision] * (-k)), $MachinePrecision], If[LessEqual[c, 5.5e-120], N[(N[(N[((-y) * k), $MachinePrecision] * y4), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[c, 3.4e+87], N[(N[(N[(y5 * y3), $MachinePrecision] * y0), $MachinePrecision] * j), $MachinePrecision], t$95$1]]]]]
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                  t_1 := \left(\left(t \cdot z\right) \cdot c\right) \cdot i\\
                                                                                                                                                                                                                                                                                                                                  \mathbf{if}\;c \leq -4.5 \cdot 10^{+40}:\\
                                                                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \mathbf{elif}\;c \leq -3.4 \cdot 10^{-226}:\\
                                                                                                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(y5 \cdot y2\right) \cdot y0\right) \cdot \left(-k\right)\\
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \mathbf{elif}\;c \leq 5.5 \cdot 10^{-120}:\\
                                                                                                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(\left(-y\right) \cdot k\right) \cdot y4\right) \cdot b\\
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \mathbf{elif}\;c \leq 3.4 \cdot 10^{+87}:\\
                                                                                                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                                                                                                                  1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                                                                  2. if c < -4.50000000000000032e40 or 3.4000000000000002e87 < c

                                                                                                                                                                                                                                                                                                                                    1. Initial program 26.5%

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

                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(c \cdot \left(t \cdot z - x \cdot y\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites47.0%

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

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites37.8%

                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]

                                                                                                                                                                                                                                                                                                                                        if -4.50000000000000032e40 < c < -3.40000000000000007e-226

                                                                                                                                                                                                                                                                                                                                        1. Initial program 27.1%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(-k\right) \cdot \left(y0 \cdot \color{blue}{\left(y2 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                            if -3.40000000000000007e-226 < c < 5.5000000000000001e-120

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

                                                                                                                                                                                                                                                                                                                                              \[\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(y3 \cdot \left(-1 \cdot \left(j \cdot y1\right) + c \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites23.1%

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                    \[\leadsto -b \cdot \left(\left(k \cdot y\right) \cdot y4\right) \]

                                                                                                                                                                                                                                                                                                                                                  if 5.5000000000000001e-120 < c < 3.4000000000000002e87

                                                                                                                                                                                                                                                                                                                                                  1. Initial program 15.4%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                    4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                    5. Final simplification35.4%

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -4.5 \cdot 10^{+40}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;c \leq -3.4 \cdot 10^{-226}:\\ \;\;\;\;\left(\left(y5 \cdot y2\right) \cdot y0\right) \cdot \left(-k\right)\\ \mathbf{elif}\;c \leq 5.5 \cdot 10^{-120}:\\ \;\;\;\;\left(\left(\left(-y\right) \cdot k\right) \cdot y4\right) \cdot b\\ \mathbf{elif}\;c \leq 3.4 \cdot 10^{+87}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \mathbf{else}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                    Alternative 33: 21.6% accurate, 5.9× speedup?

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

                                                                                                                                                                                                                                                                                                                                                      1. Initial program 26.5%

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

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(c \cdot \left(t \cdot z - x \cdot y\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites47.0%

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

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites37.8%

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]

                                                                                                                                                                                                                                                                                                                                                          if -4.50000000000000032e40 < c < 4.59999999999999996e-44

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-k\right) \cdot \left(y0 \cdot \color{blue}{\left(y2 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                              if 4.59999999999999996e-44 < c < 3.49999999999999986e87

                                                                                                                                                                                                                                                                                                                                                              1. Initial program 15.6%

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -4.5 \cdot 10^{+40}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{elif}\;c \leq 4.6 \cdot 10^{-44}:\\ \;\;\;\;\left(\left(y5 \cdot y2\right) \cdot y0\right) \cdot \left(-k\right)\\ \mathbf{elif}\;c \leq 3.5 \cdot 10^{+87}:\\ \;\;\;\;\left(y3 \cdot j\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                Alternative 34: 21.6% accurate, 5.9× speedup?

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

                                                                                                                                                                                                                                                                                                                                                                  1. Initial program 16.4%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites33.6%

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                                      if -9.59999999999999994e-8 < y0 < 6.1000000000000005e-293

                                                                                                                                                                                                                                                                                                                                                                      1. Initial program 36.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 rewrites37.3%

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

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

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(y3 \cdot \mathsf{fma}\left(-j, y1, c \cdot y\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 rewrites20.2%

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

                                                                                                                                                                                                                                                                                                                                                                          if 6.1000000000000005e-293 < y0 < 5.2e14

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites33.9%

                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]

                                                                                                                                                                                                                                                                                                                                                                              if 5.2e14 < y0

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -9.6 \cdot 10^{-8}:\\ \;\;\;\;\left(\left(y2 \cdot y0\right) \cdot x\right) \cdot c\\ \mathbf{elif}\;y0 \leq 6.1 \cdot 10^{-293}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot c\right) \cdot y4\\ \mathbf{elif}\;y0 \leq 5.2 \cdot 10^{+14}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(y3 \cdot j\right) \cdot \left(y5 \cdot y0\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                Alternative 35: 21.5% accurate, 5.9× speedup?

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

                                                                                                                                                                                                                                                                                                                                                                                  1. Initial program 16.4%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites33.6%

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                      if -9.59999999999999994e-8 < y0 < 9.50000000000000049e-293

                                                                                                                                                                                                                                                                                                                                                                                      1. Initial program 36.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 rewrites37.3%

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto c \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y4}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                            if 9.50000000000000049e-293 < y0 < 5.2e14

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]
                                                                                                                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites33.9%

                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(c \cdot \left(t \cdot z\right)\right) \cdot i \]

                                                                                                                                                                                                                                                                                                                                                                                                if 5.2e14 < y0

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -9.6 \cdot 10^{-8}:\\ \;\;\;\;\left(\left(y2 \cdot y0\right) \cdot x\right) \cdot c\\ \mathbf{elif}\;y0 \leq 9.5 \cdot 10^{-293}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot y4\right) \cdot c\\ \mathbf{elif}\;y0 \leq 5.2 \cdot 10^{+14}:\\ \;\;\;\;\left(\left(t \cdot z\right) \cdot c\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(y3 \cdot j\right) \cdot \left(y5 \cdot y0\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                  Alternative 36: 21.9% accurate, 7.2× speedup?

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

                                                                                                                                                                                                                                                                                                                                                                                                    1. Initial program 15.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 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 rewrites42.9%

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(y0 \cdot y5\right) \cdot \left(j \cdot y3\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                        if -3.80000000000000002e125 < y5 < 2.9000000000000002e46

                                                                                                                                                                                                                                                                                                                                                                                                        1. Initial program 33.6%

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
                                                                                                                                                                                                                                                                                                                                                                                                        5. Applied rewrites41.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(y3 \cdot \left(-1 \cdot \left(j \cdot y1\right) + c \cdot y\right)\right) \cdot y4 \]
                                                                                                                                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites24.7%

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto c \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y4}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                              if 2.9000000000000002e46 < y5

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -3.8 \cdot 10^{+125}:\\ \;\;\;\;\left(y3 \cdot j\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;y5 \leq 2.9 \cdot 10^{+46}:\\ \;\;\;\;\left(\left(y3 \cdot y\right) \cdot y4\right) \cdot c\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                Alternative 37: 21.2% accurate, 7.2× speedup?

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

                                                                                                                                                                                                                                                                                                                                                                                                                  1. Initial program 13.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 rewrites43.6%

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(y0 \cdot y5\right) \cdot \left(j \cdot y3\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                                      if -2.60000000000000003e145 < y5 < 8.19999999999999999e46

                                                                                                                                                                                                                                                                                                                                                                                                                      1. Initial program 33.6%

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites14.6%

                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                          2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites16.9%

                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(\left(c \cdot x\right) \cdot y2\right) \cdot y0 \]

                                                                                                                                                                                                                                                                                                                                                                                                                            if 8.19999999999999999e46 < y5

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -2.6 \cdot 10^{+145}:\\ \;\;\;\;\left(y3 \cdot j\right) \cdot \left(y5 \cdot y0\right)\\ \mathbf{elif}\;y5 \leq 8.2 \cdot 10^{+46}:\\ \;\;\;\;\left(\left(c \cdot x\right) \cdot y2\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                              Alternative 38: 21.7% accurate, 7.2× speedup?

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                    if -2.60000000000000003e145 < y5 < 8.19999999999999999e46

                                                                                                                                                                                                                                                                                                                                                                                                                                    1. Initial program 33.6%

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites14.6%

                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                        2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites16.9%

                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(\left(c \cdot x\right) \cdot y2\right) \cdot y0 \]
                                                                                                                                                                                                                                                                                                                                                                                                                                        3. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                                                                        4. Final simplification25.1%

                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -2.6 \cdot 10^{+145}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \mathbf{elif}\;y5 \leq 8.2 \cdot 10^{+46}:\\ \;\;\;\;\left(\left(c \cdot x\right) \cdot y2\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y5 \cdot y3\right) \cdot y0\right) \cdot j\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                        5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                                        Alternative 39: 17.7% accurate, 9.2× speedup?

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

                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Initial program 15.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 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 rewrites51.4%

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                                                              if -1.00000000000000003e40 < y0

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                  2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites13.6%

                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(\left(c \cdot x\right) \cdot y2\right) \cdot y0 \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                  3. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                                                                                  4. Final simplification18.1%

                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq -1 \cdot 10^{+40}:\\ \;\;\;\;\left(\left(y2 \cdot y0\right) \cdot x\right) \cdot c\\ \mathbf{else}:\\ \;\;\;\;\left(\left(c \cdot x\right) \cdot y2\right) \cdot y0\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                  5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Alternative 40: 16.6% accurate, 12.6× speedup?

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites16.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto c \cdot \left(x \cdot \color{blue}{\left(y0 \cdot y2\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                      2. Final simplification16.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(\left(y2 \cdot y0\right) \cdot x\right) \cdot c \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                      3. Add Preprocessing

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Reproduce

                                                                                                                                                                                                                                                                                                                                                                                                                                                      ?
                                                                                                                                                                                                                                                                                                                                                                                                                                                      herbie shell --seed 2024243 
                                                                                                                                                                                                                                                                                                                                                                                                                                                      (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)))))