Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.3% → 42.5%
Time: 40.7s
Alternatives: 35
Speedup: 5.6×

Specification

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

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

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 35 alternatives:

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

Initial Program: 30.3% accurate, 1.0× speedup?

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

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

Alternative 1: 42.5% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ t_2 := y5 \cdot a - y4 \cdot c\\ \mathbf{if}\;y2 \leq -1.15 \cdot 10^{+168}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, t\_2 \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;y2 \leq -1 \cdot 10^{-101}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{elif}\;y2 \leq -1.65 \cdot 10^{-255}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq 10^{-157}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y2 \leq 3.3 \cdot 10^{-14}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y2 \leq 1.18 \cdot 10^{+104}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, z, \mathsf{fma}\left(j, y4 \cdot b - y5 \cdot i, t\_2 \cdot y2\right)\right) \cdot t\\ \mathbf{elif}\;y2 \leq 2.9 \cdot 10^{+148}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1
         (*
          (fma
           (- (* y5 i) (* y4 b))
           k
           (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
          y))
        (t_2 (- (* y5 a) (* y4 c))))
   (if (<= y2 -1.15e+168)
     (*
      (fma (- (* y4 y1) (* y5 y0)) k (fma (- (* y0 c) (* y1 a)) x (* t_2 t)))
      y2)
     (if (<= y2 -1e-101)
       (*
        (fma
         (- (* t z) (* y x))
         c
         (fma (- y5) (- (* j t) (* k y)) (* (- (* j x) (* k z)) y1)))
        i)
       (if (<= y2 -1.65e-255)
         t_1
         (if (<= y2 1e-157)
           (*
            (fma
             (* (fma i (/ y1 y0) (- b)) (- y0))
             k
             (* (fma (- b) t (* y3 y1)) a))
            z)
           (if (<= y2 3.3e-14)
             t_1
             (if (<= y2 1.18e+104)
               (*
                (fma
                 (- (* i c) (* b a))
                 z
                 (fma j (- (* y4 b) (* y5 i)) (* t_2 y2)))
                t)
               (if (<= y2 2.9e+148)
                 (*
                  (fma
                   (- (* k y) (* j t))
                   i
                   (fma
                    (- y0)
                    (- (* y2 k) (* y3 j))
                    (* (- (* y2 t) (* y3 y)) a)))
                  y5)
                 (* (* (fma (- t) y4 (* y0 x)) y2) 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) {
	double t_1 = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
	double t_2 = (y5 * a) - (y4 * c);
	double tmp;
	if (y2 <= -1.15e+168) {
		tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (t_2 * t))) * y2;
	} else if (y2 <= -1e-101) {
		tmp = fma(((t * z) - (y * x)), c, fma(-y5, ((j * t) - (k * y)), (((j * x) - (k * z)) * y1))) * i;
	} else if (y2 <= -1.65e-255) {
		tmp = t_1;
	} else if (y2 <= 1e-157) {
		tmp = fma((fma(i, (y1 / y0), -b) * -y0), k, (fma(-b, t, (y3 * y1)) * a)) * z;
	} else if (y2 <= 3.3e-14) {
		tmp = t_1;
	} else if (y2 <= 1.18e+104) {
		tmp = fma(((i * c) - (b * a)), z, fma(j, ((y4 * b) - (y5 * i)), (t_2 * y2))) * t;
	} else if (y2 <= 2.9e+148) {
		tmp = fma(((k * y) - (j * t)), i, fma(-y0, ((y2 * k) - (y3 * j)), (((y2 * t) - (y3 * y)) * a))) * y5;
	} else {
		tmp = (fma(-t, y4, (y0 * x)) * y2) * c;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(fma(Float64(Float64(y5 * i) - Float64(y4 * b)), k, fma(Float64(Float64(b * a) - Float64(i * c)), x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y)
	t_2 = Float64(Float64(y5 * a) - Float64(y4 * c))
	tmp = 0.0
	if (y2 <= -1.15e+168)
		tmp = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), x, Float64(t_2 * t))) * y2);
	elseif (y2 <= -1e-101)
		tmp = Float64(fma(Float64(Float64(t * z) - Float64(y * x)), c, fma(Float64(-y5), Float64(Float64(j * t) - Float64(k * y)), Float64(Float64(Float64(j * x) - Float64(k * z)) * y1))) * i);
	elseif (y2 <= -1.65e-255)
		tmp = t_1;
	elseif (y2 <= 1e-157)
		tmp = Float64(fma(Float64(fma(i, Float64(y1 / y0), Float64(-b)) * Float64(-y0)), k, Float64(fma(Float64(-b), t, Float64(y3 * y1)) * a)) * z);
	elseif (y2 <= 3.3e-14)
		tmp = t_1;
	elseif (y2 <= 1.18e+104)
		tmp = Float64(fma(Float64(Float64(i * c) - Float64(b * a)), z, fma(j, Float64(Float64(y4 * b) - Float64(y5 * i)), Float64(t_2 * y2))) * t);
	elseif (y2 <= 2.9e+148)
		tmp = Float64(fma(Float64(Float64(k * y) - Float64(j * t)), i, fma(Float64(-y0), Float64(Float64(y2 * k) - Float64(y3 * j)), Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * a))) * y5);
	else
		tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * y2) * c);
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(y5 * i), $MachinePrecision] - N[(y4 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -1.15e+168], 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$2 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y2, -1e-101], N[(N[(N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision] * c + N[((-y5) * N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision], If[LessEqual[y2, -1.65e-255], t$95$1, If[LessEqual[y2, 1e-157], N[(N[(N[(N[(i * N[(y1 / y0), $MachinePrecision] + (-b)), $MachinePrecision] * (-y0)), $MachinePrecision] * k + N[(N[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y2, 3.3e-14], t$95$1, If[LessEqual[y2, 1.18e+104], N[(N[(N[(N[(i * c), $MachinePrecision] - N[(b * a), $MachinePrecision]), $MachinePrecision] * z + N[(j * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision] + N[(t$95$2 * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[y2, 2.9e+148], N[(N[(N[(N[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision] * i + N[((-y0) * N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y5), $MachinePrecision], N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
t_2 := y5 \cdot a - y4 \cdot c\\
\mathbf{if}\;y2 \leq -1.15 \cdot 10^{+168}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, t\_2 \cdot t\right)\right) \cdot y2\\

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

\mathbf{elif}\;y2 \leq -1.65 \cdot 10^{-255}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;y2 \leq 10^{-157}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\

\mathbf{elif}\;y2 \leq 3.3 \cdot 10^{-14}:\\
\;\;\;\;t\_1\\

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

\mathbf{elif}\;y2 \leq 2.9 \cdot 10^{+148}:\\
\;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\

\mathbf{else}:\\
\;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if y2 < -1.15e168

    1. Initial program 21.3%

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

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

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

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

      \[\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.15e168 < y2 < -1.00000000000000005e-101

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

    if -1.00000000000000005e-101 < y2 < -1.64999999999999994e-255 or 9.99999999999999943e-158 < y2 < 3.2999999999999998e-14

    1. Initial program 37.3%

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

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

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

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

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

    if -1.64999999999999994e-255 < y2 < 9.99999999999999943e-158

    1. Initial program 34.2%

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

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

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

      \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
    8. Step-by-step derivation
      1. Applied rewrites61.6%

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

        \[\leadsto \mathsf{fma}\left(-1 \cdot \left(y0 \cdot \left(-1 \cdot b + \frac{i \cdot y1}{y0}\right)\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
      3. Step-by-step derivation
        1. Applied rewrites64.1%

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

        if 3.2999999999999998e-14 < y2 < 1.18e104

        1. Initial program 37.9%

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

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

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

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

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

        if 1.18e104 < y2 < 2.9e148

        1. Initial program 9.8%

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

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

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

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

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

        if 2.9e148 < y2

        1. Initial program 33.3%

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

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

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

            \[\leadsto \left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right) \cdot c \]
        8. Recombined 7 regimes into one program.
        9. Final simplification63.7%

          \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -1.15 \cdot 10^{+168}:\\ \;\;\;\;\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 \cdot 10^{-101}:\\ \;\;\;\;\mathsf{fma}\left(t \cdot z - y \cdot x, c, \mathsf{fma}\left(-y5, j \cdot t - k \cdot y, \left(j \cdot x - k \cdot z\right) \cdot y1\right)\right) \cdot i\\ \mathbf{elif}\;y2 \leq -1.65 \cdot 10^{-255}:\\ \;\;\;\;\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}\;y2 \leq 10^{-157}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y2 \leq 3.3 \cdot 10^{-14}:\\ \;\;\;\;\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}\;y2 \leq 1.18 \cdot 10^{+104}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, z, \mathsf{fma}\left(j, y4 \cdot b - y5 \cdot i, \left(y5 \cdot a - y4 \cdot c\right) \cdot y2\right)\right) \cdot t\\ \mathbf{elif}\;y2 \leq 2.9 \cdot 10^{+148}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \end{array} \]
        10. Add Preprocessing

        Alternative 2: 48.3% accurate, 0.3× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot x - t \cdot z\\ t_2 := y2 \cdot x - y3 \cdot z\\ t_3 := y4 \cdot b - y5 \cdot i\\ t_4 := y4 \cdot y1 - y5 \cdot y0\\ t_5 := \mathsf{fma}\left(t\_4, y2 \cdot k - y3 \cdot j, \left(j \cdot t - k \cdot y\right) \cdot t\_3\right)\\ t_6 := j \cdot x - k \cdot z\\ t_7 := \left(y0 \cdot b - y1 \cdot i\right) \cdot t\_6\\ t_8 := \left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot t\_6 - \left(b \cdot a - i \cdot c\right) \cdot \left(t \cdot z - y \cdot x\right)\right) - t\_2 \cdot \left(y1 \cdot a - y0 \cdot c\right)\right) - t\_3 \cdot \left(k \cdot y - j \cdot t\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - t\_4 \cdot \left(y3 \cdot j - y2 \cdot k\right)\\ t_9 := y2 \cdot t - y3 \cdot y\\ \mathbf{if}\;t\_8 \leq -4 \cdot 10^{+300}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y1, t\_2, t\_1 \cdot b\right), a, t\_5\right) - \mathsf{fma}\left(\left(-y5\right) \cdot a, t\_9, t\_7\right)\\ \mathbf{elif}\;t\_8 \leq \infty:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, t\_1, t\_2 \cdot y0\right), c, t\_5\right) - \mathsf{fma}\left(y4 \cdot c, t\_9, t\_7\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \end{array} \]
        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
         :precision binary64
         (let* ((t_1 (- (* y x) (* t z)))
                (t_2 (- (* y2 x) (* y3 z)))
                (t_3 (- (* y4 b) (* y5 i)))
                (t_4 (- (* y4 y1) (* y5 y0)))
                (t_5 (fma t_4 (- (* y2 k) (* y3 j)) (* (- (* j t) (* k y)) t_3)))
                (t_6 (- (* j x) (* k z)))
                (t_7 (* (- (* y0 b) (* y1 i)) t_6))
                (t_8
                 (-
                  (-
                   (-
                    (-
                     (-
                      (* (- (* y1 i) (* y0 b)) t_6)
                      (* (- (* b a) (* i c)) (- (* t z) (* y x))))
                     (* t_2 (- (* y1 a) (* y0 c))))
                    (* t_3 (- (* k y) (* j t))))
                   (* (- (* y5 a) (* y4 c)) (- (* y3 y) (* y2 t))))
                  (* t_4 (- (* y3 j) (* y2 k)))))
                (t_9 (- (* y2 t) (* y3 y))))
           (if (<= t_8 -4e+300)
             (- (fma (fma (- y1) t_2 (* t_1 b)) a t_5) (fma (* (- y5) a) t_9 t_7))
             (if (<= t_8 INFINITY)
               (- (fma (fma (- i) t_1 (* t_2 y0)) c t_5) (fma (* y4 c) t_9 t_7))
               (* (fma (fma (- i) y1 (* y0 b)) k (* (fma (- b) t (* y3 y1)) a)) z)))))
        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
        	double t_1 = (y * x) - (t * z);
        	double t_2 = (y2 * x) - (y3 * z);
        	double t_3 = (y4 * b) - (y5 * i);
        	double t_4 = (y4 * y1) - (y5 * y0);
        	double t_5 = fma(t_4, ((y2 * k) - (y3 * j)), (((j * t) - (k * y)) * t_3));
        	double t_6 = (j * x) - (k * z);
        	double t_7 = ((y0 * b) - (y1 * i)) * t_6;
        	double t_8 = (((((((y1 * i) - (y0 * b)) * t_6) - (((b * a) - (i * c)) * ((t * z) - (y * x)))) - (t_2 * ((y1 * a) - (y0 * c)))) - (t_3 * ((k * y) - (j * t)))) - (((y5 * a) - (y4 * c)) * ((y3 * y) - (y2 * t)))) - (t_4 * ((y3 * j) - (y2 * k)));
        	double t_9 = (y2 * t) - (y3 * y);
        	double tmp;
        	if (t_8 <= -4e+300) {
        		tmp = fma(fma(-y1, t_2, (t_1 * b)), a, t_5) - fma((-y5 * a), t_9, t_7);
        	} else if (t_8 <= ((double) INFINITY)) {
        		tmp = fma(fma(-i, t_1, (t_2 * y0)), c, t_5) - fma((y4 * c), t_9, t_7);
        	} else {
        		tmp = fma(fma(-i, y1, (y0 * b)), k, (fma(-b, t, (y3 * y1)) * a)) * z;
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
        	t_1 = Float64(Float64(y * x) - Float64(t * z))
        	t_2 = Float64(Float64(y2 * x) - Float64(y3 * z))
        	t_3 = Float64(Float64(y4 * b) - Float64(y5 * i))
        	t_4 = Float64(Float64(y4 * y1) - Float64(y5 * y0))
        	t_5 = fma(t_4, Float64(Float64(y2 * k) - Float64(y3 * j)), Float64(Float64(Float64(j * t) - Float64(k * y)) * t_3))
        	t_6 = Float64(Float64(j * x) - Float64(k * z))
        	t_7 = Float64(Float64(Float64(y0 * b) - Float64(y1 * i)) * t_6)
        	t_8 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * t_6) - Float64(Float64(Float64(b * a) - Float64(i * c)) * Float64(Float64(t * z) - Float64(y * x)))) - Float64(t_2 * Float64(Float64(y1 * a) - Float64(y0 * c)))) - Float64(t_3 * Float64(Float64(k * y) - Float64(j * t)))) - Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * Float64(Float64(y3 * y) - Float64(y2 * t)))) - Float64(t_4 * Float64(Float64(y3 * j) - Float64(y2 * k))))
        	t_9 = Float64(Float64(y2 * t) - Float64(y3 * y))
        	tmp = 0.0
        	if (t_8 <= -4e+300)
        		tmp = Float64(fma(fma(Float64(-y1), t_2, Float64(t_1 * b)), a, t_5) - fma(Float64(Float64(-y5) * a), t_9, t_7));
        	elseif (t_8 <= Inf)
        		tmp = Float64(fma(fma(Float64(-i), t_1, Float64(t_2 * y0)), c, t_5) - fma(Float64(y4 * c), t_9, t_7));
        	else
        		tmp = Float64(fma(fma(Float64(-i), y1, Float64(y0 * b)), k, Float64(fma(Float64(-b), t, Float64(y3 * y1)) * a)) * z);
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(t$95$4 * N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision] * t$95$6), $MachinePrecision]}, Block[{t$95$8 = N[(N[(N[(N[(N[(N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * t$95$6), $MachinePrecision] - N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$2 * N[(N[(y1 * a), $MachinePrecision] - N[(y0 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$3 * N[(N[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$4 * N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$8, -4e+300], N[(N[(N[((-y1) * t$95$2 + N[(t$95$1 * b), $MachinePrecision]), $MachinePrecision] * a + t$95$5), $MachinePrecision] - N[(N[((-y5) * a), $MachinePrecision] * t$95$9 + t$95$7), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$8, Infinity], N[(N[(N[((-i) * t$95$1 + N[(t$95$2 * y0), $MachinePrecision]), $MachinePrecision] * c + t$95$5), $MachinePrecision] - N[(N[(y4 * c), $MachinePrecision] * t$95$9 + t$95$7), $MachinePrecision]), $MachinePrecision], N[(N[(N[((-i) * y1 + N[(y0 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]]]]]]]]]]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := y \cdot x - t \cdot z\\
        t_2 := y2 \cdot x - y3 \cdot z\\
        t_3 := y4 \cdot b - y5 \cdot i\\
        t_4 := y4 \cdot y1 - y5 \cdot y0\\
        t_5 := \mathsf{fma}\left(t\_4, y2 \cdot k - y3 \cdot j, \left(j \cdot t - k \cdot y\right) \cdot t\_3\right)\\
        t_6 := j \cdot x - k \cdot z\\
        t_7 := \left(y0 \cdot b - y1 \cdot i\right) \cdot t\_6\\
        t_8 := \left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot t\_6 - \left(b \cdot a - i \cdot c\right) \cdot \left(t \cdot z - y \cdot x\right)\right) - t\_2 \cdot \left(y1 \cdot a - y0 \cdot c\right)\right) - t\_3 \cdot \left(k \cdot y - j \cdot t\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - t\_4 \cdot \left(y3 \cdot j - y2 \cdot k\right)\\
        t_9 := y2 \cdot t - y3 \cdot y\\
        \mathbf{if}\;t\_8 \leq -4 \cdot 10^{+300}:\\
        \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y1, t\_2, t\_1 \cdot b\right), a, t\_5\right) - \mathsf{fma}\left(\left(-y5\right) \cdot a, t\_9, t\_7\right)\\
        
        \mathbf{elif}\;t\_8 \leq \infty:\\
        \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, t\_1, t\_2 \cdot y0\right), c, t\_5\right) - \mathsf{fma}\left(y4 \cdot c, t\_9, t\_7\right)\\
        
        \mathbf{else}:\\
        \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 3 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)))) < -4.0000000000000002e300

          1. Initial program 87.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 c around 0

            \[\leadsto \color{blue}{\left(-1 \cdot \left(a \cdot \left(y1 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right)\right) + \left(a \cdot \left(b \cdot \left(x \cdot y - t \cdot z\right)\right) + \left(\left(b \cdot y4 - i \cdot y5\right) \cdot \left(j \cdot t - k \cdot y\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right)\right)\right) - \left(-1 \cdot \left(a \cdot \left(y5 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) + \left(b \cdot y0 - i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
          4. Applied rewrites74.9%

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

          if -4.0000000000000002e300 < (+.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 93.2%

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

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

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

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

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

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

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

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

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

            \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
          8. Step-by-step derivation
            1. Applied rewrites45.1%

              \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
          9. Recombined 3 regimes into one program.
          10. Final simplification56.9%

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

          Alternative 3: 55.4% accurate, 0.5× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot \left(j \cdot x - k \cdot z\right) - \left(b \cdot a - i \cdot c\right) \cdot \left(t \cdot z - y \cdot x\right)\right) - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(y1 \cdot a - y0 \cdot c\right)\right) - \left(y4 \cdot b - y5 \cdot i\right) \cdot \left(k \cdot y - j \cdot t\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y4 \cdot y1 - y5 \cdot y0\right) \cdot \left(y3 \cdot j - y2 \cdot k\right)\\ \mathbf{if}\;t\_1 \leq \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \end{array} \]
          (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
           :precision binary64
           (let* ((t_1
                   (-
                    (-
                     (-
                      (-
                       (-
                        (* (- (* y1 i) (* y0 b)) (- (* j x) (* k z)))
                        (* (- (* b a) (* i c)) (- (* t z) (* y x))))
                       (* (- (* y2 x) (* y3 z)) (- (* y1 a) (* y0 c))))
                      (* (- (* y4 b) (* y5 i)) (- (* k y) (* j t))))
                     (* (- (* y5 a) (* y4 c)) (- (* y3 y) (* y2 t))))
                    (* (- (* y4 y1) (* y5 y0)) (- (* y3 j) (* y2 k))))))
             (if (<= t_1 INFINITY)
               t_1
               (* (fma (fma (- i) y1 (* y0 b)) k (* (fma (- b) t (* y3 y1)) a)) z))))
          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
          	double t_1 = (((((((y1 * i) - (y0 * b)) * ((j * x) - (k * z))) - (((b * a) - (i * c)) * ((t * z) - (y * x)))) - (((y2 * x) - (y3 * z)) * ((y1 * a) - (y0 * c)))) - (((y4 * b) - (y5 * i)) * ((k * y) - (j * t)))) - (((y5 * a) - (y4 * c)) * ((y3 * y) - (y2 * t)))) - (((y4 * y1) - (y5 * y0)) * ((y3 * j) - (y2 * k)));
          	double tmp;
          	if (t_1 <= ((double) INFINITY)) {
          		tmp = t_1;
          	} else {
          		tmp = fma(fma(-i, y1, (y0 * b)), k, (fma(-b, t, (y3 * y1)) * a)) * z;
          	}
          	return tmp;
          }
          
          function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
          	t_1 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(y1 * i) - Float64(y0 * b)) * Float64(Float64(j * x) - Float64(k * z))) - Float64(Float64(Float64(b * a) - Float64(i * c)) * Float64(Float64(t * z) - Float64(y * x)))) - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(y1 * a) - Float64(y0 * c)))) - Float64(Float64(Float64(y4 * b) - Float64(y5 * i)) * Float64(Float64(k * y) - Float64(j * t)))) - Float64(Float64(Float64(y5 * a) - Float64(y4 * c)) * Float64(Float64(y3 * y) - Float64(y2 * t)))) - Float64(Float64(Float64(y4 * y1) - Float64(y5 * y0)) * Float64(Float64(y3 * j) - Float64(y2 * k))))
          	tmp = 0.0
          	if (t_1 <= Inf)
          		tmp = t_1;
          	else
          		tmp = Float64(fma(fma(Float64(-i), y1, Float64(y0 * b)), k, Float64(fma(Float64(-b), t, Float64(y3 * y1)) * a)) * z);
          	end
          	return tmp
          end
          
          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(N[(N[(N[(N[(y1 * i), $MachinePrecision] - N[(y0 * b), $MachinePrecision]), $MachinePrecision] * N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision] * N[(N[(t * z), $MachinePrecision] - N[(y * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(y1 * a), $MachinePrecision] - N[(y0 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision] * N[(N[(k * y), $MachinePrecision] - N[(j * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision] * N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * N[(N[(y3 * j), $MachinePrecision] - N[(y2 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(N[(N[((-i) * y1 + N[(y0 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := \left(\left(\left(\left(\left(y1 \cdot i - y0 \cdot b\right) \cdot \left(j \cdot x - k \cdot z\right) - \left(b \cdot a - i \cdot c\right) \cdot \left(t \cdot z - y \cdot x\right)\right) - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(y1 \cdot a - y0 \cdot c\right)\right) - \left(y4 \cdot b - y5 \cdot i\right) \cdot \left(k \cdot y - j \cdot t\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y4 \cdot y1 - y5 \cdot y0\right) \cdot \left(y3 \cdot j - y2 \cdot k\right)\\
          \mathbf{if}\;t\_1 \leq \infty:\\
          \;\;\;\;t\_1\\
          
          \mathbf{else}:\\
          \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\
          
          
          \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 90.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 z around inf

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

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

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

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

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

              \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
            8. Step-by-step derivation
              1. Applied rewrites45.1%

                \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
            9. Recombined 2 regimes into one program.
            10. Final simplification61.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(b \cdot a - i \cdot c\right) \cdot \left(t \cdot z - y \cdot x\right)\right) - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(y1 \cdot a - y0 \cdot c\right)\right) - \left(y4 \cdot b - y5 \cdot i\right) \cdot \left(k \cdot y - j \cdot t\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y4 \cdot y1 - y5 \cdot y0\right) \cdot \left(y3 \cdot j - y2 \cdot k\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(b \cdot a - i \cdot c\right) \cdot \left(t \cdot z - y \cdot x\right)\right) - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(y1 \cdot a - y0 \cdot c\right)\right) - \left(y4 \cdot b - y5 \cdot i\right) \cdot \left(k \cdot y - j \cdot t\right)\right) - \left(y5 \cdot a - y4 \cdot c\right) \cdot \left(y3 \cdot y - y2 \cdot t\right)\right) - \left(y4 \cdot y1 - y5 \cdot y0\right) \cdot \left(y3 \cdot j - y2 \cdot k\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \]
            11. Add Preprocessing

            Alternative 4: 41.9% accurate, 1.9× speedup?

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

              1. Initial program 21.5%

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

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

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

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

                \[\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.00000000000000018e106 < y2 < -2.89999999999999983e-132 or -1.64999999999999994e-255 < y2 < 9.99999999999999943e-158

              1. Initial program 37.2%

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

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

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

                \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
              8. Step-by-step derivation
                1. Applied rewrites52.5%

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

                  \[\leadsto \mathsf{fma}\left(-1 \cdot \left(y0 \cdot \left(-1 \cdot b + \frac{i \cdot y1}{y0}\right)\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                3. Step-by-step derivation
                  1. Applied rewrites56.9%

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

                  if -2.89999999999999983e-132 < y2 < -1.64999999999999994e-255 or 9.99999999999999943e-158 < y2 < 4.30000000000000002e-23

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

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

                  if 4.30000000000000002e-23 < y2 < 9.49999999999999927e28

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

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

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

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

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

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

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

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

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

                      if 9.49999999999999927e28 < y2 < 2.4e170

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

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

                      if 2.4e170 < y2

                      1. Initial program 33.3%

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

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

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

                          \[\leadsto \left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right) \cdot c \]
                      8. Recombined 6 regimes into one program.
                      9. Final simplification62.0%

                        \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2 \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}\;y2 \leq -2.9 \cdot 10^{-132}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y2 \leq -1.65 \cdot 10^{-255}:\\ \;\;\;\;\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}\;y2 \leq 10^{-157}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y2 \leq 4.3 \cdot 10^{-23}:\\ \;\;\;\;\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}\;y2 \leq 9.5 \cdot 10^{+28}:\\ \;\;\;\;\left(\left(\left(-y3\right) \cdot j\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;y2 \leq 2.4 \cdot 10^{+170}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \end{array} \]
                      10. Add Preprocessing

                      Alternative 5: 44.4% accurate, 2.1× speedup?

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

                        1. Initial program 24.7%

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

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

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

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

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

                        if -5.49999999999999946e98 < z < -2.2e5

                        1. Initial program 33.3%

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

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

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

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

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

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

                            if -2.2e5 < z < 3.00000000000000002e-255

                            1. Initial program 39.0%

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

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

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

                              \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                            8. Step-by-step derivation
                              1. Applied rewrites30.2%

                                \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                              2. 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)} \]
                              3. Step-by-step derivation
                                1. lower-*.f64N/A

                                  \[\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)} \]
                                2. associate--l+N/A

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

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

                                  \[\leadsto j \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y3, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                5. mul-1-negN/A

                                  \[\leadsto j \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y3\right)}, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                6. lower-neg.f64N/A

                                  \[\leadsto j \cdot \mathsf{fma}\left(\color{blue}{-y3}, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                7. cancel-sign-sub-invN/A

                                  \[\leadsto j \cdot \mathsf{fma}\left(-y3, \color{blue}{y1 \cdot y4 + \left(\mathsf{neg}\left(y0\right)\right) \cdot y5}, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                8. lower-fma.f64N/A

                                  \[\leadsto j \cdot \mathsf{fma}\left(-y3, \color{blue}{\mathsf{fma}\left(y1, y4, \left(\mathsf{neg}\left(y0\right)\right) \cdot y5\right)}, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                9. mul-1-negN/A

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

                                  \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \color{blue}{\left(-1 \cdot y0\right) \cdot y5}\right), t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                11. mul-1-negN/A

                                  \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)} \cdot y5\right), t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                12. lower-neg.f64N/A

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

                                  \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right), \color{blue}{t \cdot \left(b \cdot y4 - i \cdot y5\right) + \left(\mathsf{neg}\left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
                                14. mul-1-negN/A

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

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

                              if 3.00000000000000002e-255 < z < 1.09999999999999993e-82

                              1. Initial program 31.8%

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

                                \[\leadsto \color{blue}{y \cdot \left(\left(-1 \cdot \left(k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) + x \cdot \left(a \cdot b - c \cdot i\right)\right) - -1 \cdot \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                              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 rewrites63.6%

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

                              if 1.09999999999999993e-82 < z < 1.36e-11

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

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

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

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

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

                              if 1.36e-11 < z

                              1. Initial program 34.4%

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

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

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

                                \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                              8. Step-by-step derivation
                                1. Applied rewrites60.6%

                                  \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                              9. Recombined 6 regimes into one program.
                              10. Final simplification60.6%

                                \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -5.5 \cdot 10^{+98}:\\ \;\;\;\;\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 -220000:\\ \;\;\;\;\left(\mathsf{fma}\left(b, \frac{t}{y3}, -y1\right) \cdot \left(-y3\right)\right) \cdot \left(a \cdot z\right)\\ \mathbf{elif}\;z \leq 3 \cdot 10^{-255}:\\ \;\;\;\;\mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right), \mathsf{fma}\left(t, \mathsf{fma}\left(b, y4, \left(-y5\right) \cdot i\right), \mathsf{fma}\left(-i, y1, y0 \cdot b\right) \cdot \left(-x\right)\right)\right) \cdot j\\ \mathbf{elif}\;z \leq 1.1 \cdot 10^{-82}:\\ \;\;\;\;\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 1.36 \cdot 10^{-11}:\\ \;\;\;\;\mathsf{fma}\left(k \cdot y - j \cdot t, i, \mathsf{fma}\left(-y0, y2 \cdot k - y3 \cdot j, \left(y2 \cdot t - y3 \cdot y\right) \cdot a\right)\right) \cdot y5\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \]
                              11. Add Preprocessing

                              Alternative 6: 44.8% accurate, 2.2× speedup?

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

                                1. Initial program 30.3%

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

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

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

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

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

                                if -6.5e77 < k < -7.1999999999999997e23

                                1. Initial program 50.0%

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

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

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

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

                                  \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                8. Step-by-step derivation
                                  1. Applied rewrites33.9%

                                    \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                  2. 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)} \]
                                  3. Step-by-step derivation
                                    1. lower-*.f64N/A

                                      \[\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)} \]
                                    2. associate--l+N/A

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

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

                                      \[\leadsto j \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y3, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                    5. mul-1-negN/A

                                      \[\leadsto j \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y3\right)}, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                    6. lower-neg.f64N/A

                                      \[\leadsto j \cdot \mathsf{fma}\left(\color{blue}{-y3}, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                    7. cancel-sign-sub-invN/A

                                      \[\leadsto j \cdot \mathsf{fma}\left(-y3, \color{blue}{y1 \cdot y4 + \left(\mathsf{neg}\left(y0\right)\right) \cdot y5}, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                    8. lower-fma.f64N/A

                                      \[\leadsto j \cdot \mathsf{fma}\left(-y3, \color{blue}{\mathsf{fma}\left(y1, y4, \left(\mathsf{neg}\left(y0\right)\right) \cdot y5\right)}, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                    9. mul-1-negN/A

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

                                      \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \color{blue}{\left(-1 \cdot y0\right) \cdot y5}\right), t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                    11. mul-1-negN/A

                                      \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)} \cdot y5\right), t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                    12. lower-neg.f64N/A

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

                                      \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right), \color{blue}{t \cdot \left(b \cdot y4 - i \cdot y5\right) + \left(\mathsf{neg}\left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
                                    14. mul-1-negN/A

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

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

                                  if 4.7999999999999996e-280 < k < 0.0134999999999999998

                                  1. Initial program 37.5%

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

                                    \[\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 0.0134999999999999998 < k < 4.19999999999999993e160

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

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

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

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

                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - c \cdot i\right), z, \mathsf{fma}\left(j, y4 \cdot b - y5 \cdot i, \left(-y2\right) \cdot \left(c \cdot y4 - y5 \cdot a\right)\right)\right) \cdot t} \]
                                9. Recombined 5 regimes into one program.
                                10. Final simplification60.9%

                                  \[\leadsto \begin{array}{l} \mathbf{if}\;k \leq -6.5 \cdot 10^{+77}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, y, \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, y2, \left(y0 \cdot b - y1 \cdot i\right) \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;k \leq -7.2 \cdot 10^{+23}:\\ \;\;\;\;\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}\;k \leq 4.8 \cdot 10^{-280}:\\ \;\;\;\;\mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right), \mathsf{fma}\left(t, \mathsf{fma}\left(b, y4, \left(-y5\right) \cdot i\right), \mathsf{fma}\left(-i, y1, y0 \cdot b\right) \cdot \left(-x\right)\right)\right) \cdot j\\ \mathbf{elif}\;k \leq 0.0135:\\ \;\;\;\;\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}\;k \leq 4.2 \cdot 10^{+160}:\\ \;\;\;\;\mathsf{fma}\left(i \cdot c - b \cdot a, z, \mathsf{fma}\left(j, y4 \cdot b - y5 \cdot i, \left(y5 \cdot a - y4 \cdot c\right) \cdot y2\right)\right) \cdot t\\ \mathbf{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} \]
                                11. Add Preprocessing

                                Alternative 7: 44.7% accurate, 2.2× speedup?

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

                                  1. Initial program 24.7%

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

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

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

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

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

                                  if -5.49999999999999946e98 < z < -2.2e5

                                  1. Initial program 33.3%

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

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

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

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

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

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

                                      if -2.2e5 < z < 3.00000000000000002e-255

                                      1. Initial program 39.0%

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

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

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

                                        \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                      8. Step-by-step derivation
                                        1. Applied rewrites30.2%

                                          \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                        2. 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)} \]
                                        3. Step-by-step derivation
                                          1. lower-*.f64N/A

                                            \[\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)} \]
                                          2. associate--l+N/A

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

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

                                            \[\leadsto j \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y3, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                          5. mul-1-negN/A

                                            \[\leadsto j \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y3\right)}, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                          6. lower-neg.f64N/A

                                            \[\leadsto j \cdot \mathsf{fma}\left(\color{blue}{-y3}, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                          7. cancel-sign-sub-invN/A

                                            \[\leadsto j \cdot \mathsf{fma}\left(-y3, \color{blue}{y1 \cdot y4 + \left(\mathsf{neg}\left(y0\right)\right) \cdot y5}, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                          8. lower-fma.f64N/A

                                            \[\leadsto j \cdot \mathsf{fma}\left(-y3, \color{blue}{\mathsf{fma}\left(y1, y4, \left(\mathsf{neg}\left(y0\right)\right) \cdot y5\right)}, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                          9. mul-1-negN/A

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

                                            \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \color{blue}{\left(-1 \cdot y0\right) \cdot y5}\right), t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                          11. mul-1-negN/A

                                            \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)} \cdot y5\right), t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                          12. lower-neg.f64N/A

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

                                            \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right), \color{blue}{t \cdot \left(b \cdot y4 - i \cdot y5\right) + \left(\mathsf{neg}\left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
                                          14. mul-1-negN/A

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

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

                                        if 3.00000000000000002e-255 < z < 2.5000000000000001e-109

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

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

                                        if 2.5000000000000001e-109 < z < 2.60000000000000003e-17

                                        1. Initial program 17.7%

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

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

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

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

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

                                        if 2.60000000000000003e-17 < z

                                        1. Initial program 33.9%

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

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

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

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

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

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

                                          \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                        8. Step-by-step derivation
                                          1. Applied rewrites59.7%

                                            \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                        9. Recombined 6 regimes into one program.
                                        10. Final simplification60.2%

                                          \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -5.5 \cdot 10^{+98}:\\ \;\;\;\;\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 -220000:\\ \;\;\;\;\left(\mathsf{fma}\left(b, \frac{t}{y3}, -y1\right) \cdot \left(-y3\right)\right) \cdot \left(a \cdot z\right)\\ \mathbf{elif}\;z \leq 3 \cdot 10^{-255}:\\ \;\;\;\;\mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right), \mathsf{fma}\left(t, \mathsf{fma}\left(b, y4, \left(-y5\right) \cdot i\right), \mathsf{fma}\left(-i, y1, y0 \cdot b\right) \cdot \left(-x\right)\right)\right) \cdot j\\ \mathbf{elif}\;z \leq 2.5 \cdot 10^{-109}:\\ \;\;\;\;\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 2.6 \cdot 10^{-17}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \]
                                        11. Add Preprocessing

                                        Alternative 8: 45.8% accurate, 2.3× speedup?

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

                                          1. Initial program 24.8%

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

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

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

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

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

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

                                          if -4.60000000000000009e44 < z < 3.00000000000000002e-255

                                          1. Initial program 40.1%

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

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

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

                                            \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                          8. Step-by-step derivation
                                            1. Applied rewrites32.2%

                                              \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                            2. 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)} \]
                                            3. Step-by-step derivation
                                              1. lower-*.f64N/A

                                                \[\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)} \]
                                              2. associate--l+N/A

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

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

                                                \[\leadsto j \cdot \color{blue}{\mathsf{fma}\left(-1 \cdot y3, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                              5. mul-1-negN/A

                                                \[\leadsto j \cdot \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(y3\right)}, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                              6. lower-neg.f64N/A

                                                \[\leadsto j \cdot \mathsf{fma}\left(\color{blue}{-y3}, y1 \cdot y4 - y0 \cdot y5, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                              7. cancel-sign-sub-invN/A

                                                \[\leadsto j \cdot \mathsf{fma}\left(-y3, \color{blue}{y1 \cdot y4 + \left(\mathsf{neg}\left(y0\right)\right) \cdot y5}, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                              8. lower-fma.f64N/A

                                                \[\leadsto j \cdot \mathsf{fma}\left(-y3, \color{blue}{\mathsf{fma}\left(y1, y4, \left(\mathsf{neg}\left(y0\right)\right) \cdot y5\right)}, t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                              9. mul-1-negN/A

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

                                                \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \color{blue}{\left(-1 \cdot y0\right) \cdot y5}\right), t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                              11. mul-1-negN/A

                                                \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \color{blue}{\left(\mathsf{neg}\left(y0\right)\right)} \cdot y5\right), t \cdot \left(b \cdot y4 - i \cdot y5\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                              12. lower-neg.f64N/A

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

                                                \[\leadsto j \cdot \mathsf{fma}\left(-y3, \mathsf{fma}\left(y1, y4, \left(-y0\right) \cdot y5\right), \color{blue}{t \cdot \left(b \cdot y4 - i \cdot y5\right) + \left(\mathsf{neg}\left(x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)}\right) \]
                                              14. mul-1-negN/A

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

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

                                            if 3.00000000000000002e-255 < z < 2.5000000000000001e-109

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

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

                                            if 2.5000000000000001e-109 < z < 2.60000000000000003e-17

                                            1. Initial program 17.7%

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

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

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

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

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

                                            if 2.60000000000000003e-17 < z

                                            1. Initial program 33.9%

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

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

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

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

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

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

                                              \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                            8. Step-by-step derivation
                                              1. Applied rewrites59.7%

                                                \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                            9. Recombined 5 regimes into one program.
                                            10. Final simplification58.5%

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

                                            Alternative 9: 45.3% accurate, 2.3× speedup?

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

                                              1. Initial program 24.8%

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

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

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

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

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

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

                                              if -4.60000000000000009e44 < z < 3.00000000000000002e-255

                                              1. Initial program 40.1%

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

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

                                                \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, -\mathsf{fma}\left(\mathsf{fma}\left(-i, c, b \cdot a\right), t, \mathsf{fma}\left(-a, y1, y0 \cdot c\right) \cdot y3\right)\right) \cdot z} \]
                                              7. 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)} \]
                                              8. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\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)} \]
                                                2. lower--.f64N/A

                                                  \[\leadsto j \cdot \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)} \]
                                              9. Applied rewrites51.3%

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

                                              if 3.00000000000000002e-255 < z < 2.5000000000000001e-109

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

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

                                              if 2.5000000000000001e-109 < z < 2.60000000000000003e-17

                                              1. Initial program 17.7%

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

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

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

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

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

                                              if 2.60000000000000003e-17 < z

                                              1. Initial program 33.9%

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

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

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

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

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

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

                                                \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                              8. Step-by-step derivation
                                                1. Applied rewrites59.7%

                                                  \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                              9. Recombined 5 regimes into one program.
                                              10. Final simplification58.2%

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

                                              Alternative 10: 44.4% accurate, 2.3× speedup?

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

                                                1. Initial program 31.2%

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

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

                                                if -3.7999999999999998e191 < y < -1.1e-22

                                                1. Initial program 28.8%

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

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

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

                                                if -1.1e-22 < y < -1.3000000000000001e-279

                                                1. Initial program 32.0%

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

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

                                                if -1.3000000000000001e-279 < y < 2.6999999999999999e30

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

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

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

                                                  \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                                8. Step-by-step derivation
                                                  1. Applied rewrites44.9%

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

                                                    \[\leadsto \mathsf{fma}\left(-1 \cdot \left(y0 \cdot \left(-1 \cdot b + \frac{i \cdot y1}{y0}\right)\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                                  3. Step-by-step derivation
                                                    1. Applied rewrites47.6%

                                                      \[\leadsto \mathsf{fma}\left(\left(-y0\right) \cdot \mathsf{fma}\left(i, \frac{y1}{y0}, -b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                                  4. Recombined 4 regimes into one program.
                                                  5. Final simplification57.3%

                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -3.8 \cdot 10^{+191}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y \leq -1.1 \cdot 10^{-22}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, -\mathsf{fma}\left(\mathsf{fma}\left(-i, c, b \cdot a\right), t, \mathsf{fma}\left(-a, y1, y0 \cdot c\right) \cdot y3\right)\right) \cdot z\\ \mathbf{elif}\;y \leq -1.3 \cdot 10^{-279}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(y3 \cdot y - y2 \cdot t\right) \cdot c\right)\right) \cdot y4\\ \mathbf{elif}\;y \leq 2.7 \cdot 10^{+30}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y5 \cdot i - y4 \cdot b, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \end{array} \]
                                                  6. Add Preprocessing

                                                  Alternative 11: 41.6% accurate, 2.3× speedup?

                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\\ \mathbf{if}\;z \leq -8.8 \cdot 10^{-187}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, t\_1\right) \cdot z\\ \mathbf{elif}\;z \leq 1.7 \cdot 10^{-201}:\\ \;\;\;\;\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}\;z \leq 2.5 \cdot 10^{-109}:\\ \;\;\;\;\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 2.6 \cdot 10^{-17}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, t\_1\right) \cdot z\\ \end{array} \end{array} \]
                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                   :precision binary64
                                                   (let* ((t_1 (* (fma (- b) t (* y3 y1)) a)))
                                                     (if (<= z -8.8e-187)
                                                       (* (fma (* (fma i (/ y1 y0) (- b)) (- y0)) k t_1) z)
                                                       (if (<= z 1.7e-201)
                                                         (*
                                                          (fma
                                                           (- (* j t) (* k y))
                                                           b
                                                           (fma (- (* y2 k) (* y3 j)) y1 (* (- (* y3 y) (* y2 t)) c)))
                                                          y4)
                                                         (if (<= z 2.5e-109)
                                                           (*
                                                            (fma
                                                             (- (* y5 i) (* y4 b))
                                                             k
                                                             (fma (- (* b a) (* i c)) x (* (- (* y4 c) (* y5 a)) y3)))
                                                            y)
                                                           (if (<= z 2.6e-17)
                                                             (*
                                                              (fma
                                                               (- (* y3 z) (* y2 x))
                                                               y1
                                                               (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
                                                              a)
                                                             (* (fma (fma (- i) y1 (* y0 b)) k t_1) z)))))))
                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                  	double t_1 = fma(-b, t, (y3 * y1)) * a;
                                                  	double tmp;
                                                  	if (z <= -8.8e-187) {
                                                  		tmp = fma((fma(i, (y1 / y0), -b) * -y0), k, t_1) * z;
                                                  	} else if (z <= 1.7e-201) {
                                                  		tmp = fma(((j * t) - (k * y)), b, fma(((y2 * k) - (y3 * j)), y1, (((y3 * y) - (y2 * t)) * c))) * y4;
                                                  	} else if (z <= 2.5e-109) {
                                                  		tmp = fma(((y5 * i) - (y4 * b)), k, fma(((b * a) - (i * c)), x, (((y4 * c) - (y5 * a)) * y3))) * y;
                                                  	} else if (z <= 2.6e-17) {
                                                  		tmp = fma(((y3 * z) - (y2 * x)), y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
                                                  	} else {
                                                  		tmp = fma(fma(-i, y1, (y0 * b)), k, t_1) * z;
                                                  	}
                                                  	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(-b), t, Float64(y3 * y1)) * a)
                                                  	tmp = 0.0
                                                  	if (z <= -8.8e-187)
                                                  		tmp = Float64(fma(Float64(fma(i, Float64(y1 / y0), Float64(-b)) * Float64(-y0)), k, t_1) * z);
                                                  	elseif (z <= 1.7e-201)
                                                  		tmp = Float64(fma(Float64(Float64(j * t) - Float64(k * y)), b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(Float64(Float64(y3 * y) - Float64(y2 * t)) * c))) * y4);
                                                  	elseif (z <= 2.5e-109)
                                                  		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 <= 2.6e-17)
                                                  		tmp = Float64(fma(Float64(Float64(y3 * z) - Float64(y2 * x)), y1, fma(Float64(Float64(y * x) - Float64(t * z)), b, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y5))) * a);
                                                  	else
                                                  		tmp = Float64(fma(fma(Float64(-i), y1, Float64(y0 * b)), k, t_1) * z);
                                                  	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[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]}, If[LessEqual[z, -8.8e-187], N[(N[(N[(N[(i * N[(y1 / y0), $MachinePrecision] + (-b)), $MachinePrecision] * (-y0)), $MachinePrecision] * k + t$95$1), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[z, 1.7e-201], N[(N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(N[(y3 * y), $MachinePrecision] - N[(y2 * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[z, 2.5e-109], 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, 2.6e-17], 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], N[(N[(N[((-i) * y1 + N[(y0 * b), $MachinePrecision]), $MachinePrecision] * k + t$95$1), $MachinePrecision] * z), $MachinePrecision]]]]]]
                                                  
                                                  \begin{array}{l}
                                                  
                                                  \\
                                                  \begin{array}{l}
                                                  t_1 := \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\\
                                                  \mathbf{if}\;z \leq -8.8 \cdot 10^{-187}:\\
                                                  \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, t\_1\right) \cdot z\\
                                                  
                                                  \mathbf{elif}\;z \leq 1.7 \cdot 10^{-201}:\\
                                                  \;\;\;\;\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}\;z \leq 2.5 \cdot 10^{-109}:\\
                                                  \;\;\;\;\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 2.6 \cdot 10^{-17}:\\
                                                  \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\
                                                  
                                                  \mathbf{else}:\\
                                                  \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, t\_1\right) \cdot z\\
                                                  
                                                  
                                                  \end{array}
                                                  \end{array}
                                                  
                                                  Derivation
                                                  1. Split input into 5 regimes
                                                  2. if z < -8.80000000000000032e-187

                                                    1. Initial program 31.6%

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

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

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

                                                      \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                                    8. Step-by-step derivation
                                                      1. Applied rewrites48.1%

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

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

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

                                                        if -8.80000000000000032e-187 < z < 1.69999999999999993e-201

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

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

                                                        if 1.69999999999999993e-201 < z < 2.5000000000000001e-109

                                                        1. Initial program 40.5%

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

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

                                                        if 2.5000000000000001e-109 < z < 2.60000000000000003e-17

                                                        1. Initial program 17.7%

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

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

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

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

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

                                                        if 2.60000000000000003e-17 < z

                                                        1. Initial program 33.9%

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

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

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

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

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

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

                                                          \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                                        8. Step-by-step derivation
                                                          1. Applied rewrites59.7%

                                                            \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                                        9. Recombined 5 regimes into one program.
                                                        10. Final simplification56.8%

                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -8.8 \cdot 10^{-187}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;z \leq 1.7 \cdot 10^{-201}:\\ \;\;\;\;\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}\;z \leq 2.5 \cdot 10^{-109}:\\ \;\;\;\;\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 2.6 \cdot 10^{-17}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \]
                                                        11. Add Preprocessing

                                                        Alternative 12: 38.3% accurate, 2.3× speedup?

                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := y3 \cdot z - y2 \cdot x\\ t_2 := \mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{if}\;t \leq -1.02 \cdot 10^{+67}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;t \leq 1.6 \cdot 10^{-227}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;t \leq 58000:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t \leq 9.5 \cdot 10^{+205}:\\ \;\;\;\;\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{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 (- (* y3 z) (* y2 x)))
                                                                (t_2
                                                                 (*
                                                                  (fma
                                                                   (* (fma i (/ y1 y0) (- b)) (- y0))
                                                                   k
                                                                   (* (fma (- b) t (* y3 y1)) a))
                                                                  z)))
                                                           (if (<= t -1.02e+67)
                                                             (* (* (fma k y0 (* (- a) t)) b) z)
                                                             (if (<= t 1.6e-227)
                                                               (*
                                                                (fma t_1 a (fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
                                                                y1)
                                                               (if (<= t 58000.0)
                                                                 t_2
                                                                 (if (<= t 9.5e+205)
                                                                   (*
                                                                    (fma
                                                                     t_1
                                                                     y1
                                                                     (fma (- (* y x) (* t z)) b (* (- (* y2 t) (* y3 y)) y5)))
                                                                    a)
                                                                   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 = (y3 * z) - (y2 * x);
                                                        	double t_2 = fma((fma(i, (y1 / y0), -b) * -y0), k, (fma(-b, t, (y3 * y1)) * a)) * z;
                                                        	double tmp;
                                                        	if (t <= -1.02e+67) {
                                                        		tmp = (fma(k, y0, (-a * t)) * b) * z;
                                                        	} else if (t <= 1.6e-227) {
                                                        		tmp = fma(t_1, a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
                                                        	} else if (t <= 58000.0) {
                                                        		tmp = t_2;
                                                        	} else if (t <= 9.5e+205) {
                                                        		tmp = fma(t_1, y1, fma(((y * x) - (t * z)), b, (((y2 * t) - (y3 * y)) * y5))) * a;
                                                        	} else {
                                                        		tmp = t_2;
                                                        	}
                                                        	return tmp;
                                                        }
                                                        
                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                        	t_1 = Float64(Float64(y3 * z) - Float64(y2 * x))
                                                        	t_2 = Float64(fma(Float64(fma(i, Float64(y1 / y0), Float64(-b)) * Float64(-y0)), k, Float64(fma(Float64(-b), t, Float64(y3 * y1)) * a)) * z)
                                                        	tmp = 0.0
                                                        	if (t <= -1.02e+67)
                                                        		tmp = Float64(Float64(fma(k, y0, Float64(Float64(-a) * t)) * b) * z);
                                                        	elseif (t <= 1.6e-227)
                                                        		tmp = Float64(fma(t_1, a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1);
                                                        	elseif (t <= 58000.0)
                                                        		tmp = t_2;
                                                        	elseif (t <= 9.5e+205)
                                                        		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);
                                                        	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[(y3 * z), $MachinePrecision] - N[(y2 * x), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(i * N[(y1 / y0), $MachinePrecision] + (-b)), $MachinePrecision] * (-y0)), $MachinePrecision] * k + N[(N[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, If[LessEqual[t, -1.02e+67], N[(N[(N[(k * y0 + N[((-a) * t), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[t, 1.6e-227], N[(N[(t$95$1 * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[t, 58000.0], t$95$2, If[LessEqual[t, 9.5e+205], 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], t$95$2]]]]]]
                                                        
                                                        \begin{array}{l}
                                                        
                                                        \\
                                                        \begin{array}{l}
                                                        t_1 := y3 \cdot z - y2 \cdot x\\
                                                        t_2 := \mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\
                                                        \mathbf{if}\;t \leq -1.02 \cdot 10^{+67}:\\
                                                        \;\;\;\;\left(\mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right) \cdot b\right) \cdot z\\
                                                        
                                                        \mathbf{elif}\;t \leq 1.6 \cdot 10^{-227}:\\
                                                        \;\;\;\;\mathsf{fma}\left(t\_1, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\
                                                        
                                                        \mathbf{elif}\;t \leq 58000:\\
                                                        \;\;\;\;t\_2\\
                                                        
                                                        \mathbf{elif}\;t \leq 9.5 \cdot 10^{+205}:\\
                                                        \;\;\;\;\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{else}:\\
                                                        \;\;\;\;t\_2\\
                                                        
                                                        
                                                        \end{array}
                                                        \end{array}
                                                        
                                                        Derivation
                                                        1. Split input into 4 regimes
                                                        2. if t < -1.02000000000000002e67

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

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

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

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

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

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

                                                            \[\leadsto \left(b \cdot \left(k \cdot y0 - a \cdot t\right)\right) \cdot z \]
                                                          8. Step-by-step derivation
                                                            1. Applied rewrites59.5%

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

                                                            if -1.02000000000000002e67 < t < 1.60000000000000005e-227

                                                            1. Initial program 39.2%

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

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

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

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

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

                                                            if 1.60000000000000005e-227 < t < 58000 or 9.4999999999999997e205 < t

                                                            1. Initial program 31.9%

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

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

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

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

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

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

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

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

                                                                \[\leadsto \mathsf{fma}\left(-1 \cdot \left(y0 \cdot \left(-1 \cdot b + \frac{i \cdot y1}{y0}\right)\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                                              3. Step-by-step derivation
                                                                1. Applied rewrites56.2%

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

                                                                if 58000 < t < 9.4999999999999997e205

                                                                1. Initial program 23.3%

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

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

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

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

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

                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.02 \cdot 10^{+67}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;t \leq 1.6 \cdot 10^{-227}:\\ \;\;\;\;\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}\;t \leq 58000:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;t \leq 9.5 \cdot 10^{+205}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \]
                                                              6. Add Preprocessing

                                                              Alternative 13: 39.5% accurate, 2.3× speedup?

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

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

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

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

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

                                                                  if -9.99999999999999972e58 < y4 < -5.5000000000000001e-23

                                                                  1. Initial program 35.8%

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

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

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

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

                                                                    if -5.5000000000000001e-23 < y4 < 8.4000000000000004e-75

                                                                    1. Initial program 38.3%

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

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

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

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

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

                                                                      if 8.4000000000000004e-75 < y4 < 2.0999999999999999e182

                                                                      1. Initial program 31.6%

                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                      2. Add Preprocessing
                                                                      3. Taylor expanded in 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.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} \]
                                                                    9. Recombined 4 regimes into one program.
                                                                    10. Final simplification52.9%

                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -1 \cdot 10^{+59}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-y4\right)\right) \cdot c\\ \mathbf{elif}\;y4 \leq -5.5 \cdot 10^{-23}:\\ \;\;\;\;\left(\mathsf{fma}\left(x, y2, \left(-y3\right) \cdot z\right) \cdot y0\right) \cdot c\\ \mathbf{elif}\;y4 \leq 8.4 \cdot 10^{-75}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y4 \leq 2.1 \cdot 10^{+182}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-y4\right)\right) \cdot c\\ \end{array} \]
                                                                    11. Add Preprocessing

                                                                    Alternative 14: 41.0% accurate, 2.5× speedup?

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

                                                                      1. Initial program 31.7%

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

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

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

                                                                        \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                                                      8. Step-by-step derivation
                                                                        1. Applied rewrites48.6%

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

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

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

                                                                          if -6.20000000000000005e-195 < z < 2.5000000000000001e-109

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

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

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

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

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

                                                                          if 2.5000000000000001e-109 < z < 2.60000000000000003e-17

                                                                          1. Initial program 17.7%

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

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

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

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

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

                                                                          if 2.60000000000000003e-17 < z

                                                                          1. Initial program 33.9%

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

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

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

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

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

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

                                                                            \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                                                          8. Step-by-step derivation
                                                                            1. Applied rewrites59.7%

                                                                              \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                                                          9. Recombined 4 regimes into one program.
                                                                          10. Final simplification54.4%

                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6.2 \cdot 10^{-195}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;z \leq 2.5 \cdot 10^{-109}:\\ \;\;\;\;\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 2.6 \cdot 10^{-17}:\\ \;\;\;\;\mathsf{fma}\left(y3 \cdot z - y2 \cdot x, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \end{array} \]
                                                                          11. Add Preprocessing

                                                                          Alternative 15: 37.7% accurate, 2.7× speedup?

                                                                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\\ \mathbf{if}\;y2 \leq -4.5 \cdot 10^{+277}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;y2 \leq -7.2 \cdot 10^{+122}:\\ \;\;\;\;\left(t\_1 \cdot \left(-y4\right)\right) \cdot c\\ \mathbf{elif}\;y2 \leq 7 \cdot 10^{+102}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+169}:\\ \;\;\;\;t\_1 \cdot \left(y5 \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \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))))
                                                                             (if (<= y2 -4.5e+277)
                                                                               (* (* (fma (- x) y1 (* y5 t)) y2) a)
                                                                               (if (<= y2 -7.2e+122)
                                                                                 (* (* t_1 (- y4)) c)
                                                                                 (if (<= y2 7e+102)
                                                                                   (*
                                                                                    (fma
                                                                                     (* (fma i (/ y1 y0) (- b)) (- y0))
                                                                                     k
                                                                                     (* (fma (- b) t (* y3 y1)) a))
                                                                                    z)
                                                                                   (if (<= y2 7.5e+169)
                                                                                     (* t_1 (* y5 a))
                                                                                     (* (* (fma (- t) y4 (* y0 x)) y2) 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) {
                                                                          	double t_1 = fma(t, y2, (-y * y3));
                                                                          	double tmp;
                                                                          	if (y2 <= -4.5e+277) {
                                                                          		tmp = (fma(-x, y1, (y5 * t)) * y2) * a;
                                                                          	} else if (y2 <= -7.2e+122) {
                                                                          		tmp = (t_1 * -y4) * c;
                                                                          	} else if (y2 <= 7e+102) {
                                                                          		tmp = fma((fma(i, (y1 / y0), -b) * -y0), k, (fma(-b, t, (y3 * y1)) * a)) * z;
                                                                          	} else if (y2 <= 7.5e+169) {
                                                                          		tmp = t_1 * (y5 * a);
                                                                          	} else {
                                                                          		tmp = (fma(-t, y4, (y0 * x)) * y2) * c;
                                                                          	}
                                                                          	return tmp;
                                                                          }
                                                                          
                                                                          function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                          	t_1 = fma(t, y2, Float64(Float64(-y) * y3))
                                                                          	tmp = 0.0
                                                                          	if (y2 <= -4.5e+277)
                                                                          		tmp = Float64(Float64(fma(Float64(-x), y1, Float64(y5 * t)) * y2) * a);
                                                                          	elseif (y2 <= -7.2e+122)
                                                                          		tmp = Float64(Float64(t_1 * Float64(-y4)) * c);
                                                                          	elseif (y2 <= 7e+102)
                                                                          		tmp = Float64(fma(Float64(fma(i, Float64(y1 / y0), Float64(-b)) * Float64(-y0)), k, Float64(fma(Float64(-b), t, Float64(y3 * y1)) * a)) * z);
                                                                          	elseif (y2 <= 7.5e+169)
                                                                          		tmp = Float64(t_1 * Float64(y5 * a));
                                                                          	else
                                                                          		tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * y2) * c);
                                                                          	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[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -4.5e+277], N[(N[(N[((-x) * y1 + N[(y5 * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y2, -7.2e+122], N[(N[(t$95$1 * (-y4)), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y2, 7e+102], N[(N[(N[(N[(i * N[(y1 / y0), $MachinePrecision] + (-b)), $MachinePrecision] * (-y0)), $MachinePrecision] * k + N[(N[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y2, 7.5e+169], N[(t$95$1 * N[(y5 * a), $MachinePrecision]), $MachinePrecision], N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]]]]]]
                                                                          
                                                                          \begin{array}{l}
                                                                          
                                                                          \\
                                                                          \begin{array}{l}
                                                                          t_1 := \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\\
                                                                          \mathbf{if}\;y2 \leq -4.5 \cdot 10^{+277}:\\
                                                                          \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\
                                                                          
                                                                          \mathbf{elif}\;y2 \leq -7.2 \cdot 10^{+122}:\\
                                                                          \;\;\;\;\left(t\_1 \cdot \left(-y4\right)\right) \cdot c\\
                                                                          
                                                                          \mathbf{elif}\;y2 \leq 7 \cdot 10^{+102}:\\
                                                                          \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\
                                                                          
                                                                          \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+169}:\\
                                                                          \;\;\;\;t\_1 \cdot \left(y5 \cdot a\right)\\
                                                                          
                                                                          \mathbf{else}:\\
                                                                          \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\
                                                                          
                                                                          
                                                                          \end{array}
                                                                          \end{array}
                                                                          
                                                                          Derivation
                                                                          1. Split input into 5 regimes
                                                                          2. if y2 < -4.49999999999999991e277

                                                                            1. Initial program 20.0%

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

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

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

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

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

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

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

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

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

                                                                                if -4.49999999999999991e277 < y2 < -7.2000000000000005e122

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

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

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

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

                                                                                  if -7.2000000000000005e122 < y2 < 7.00000000000000021e102

                                                                                  1. Initial program 36.1%

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

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

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

                                                                                    \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                                                                  8. Step-by-step derivation
                                                                                    1. Applied rewrites45.6%

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

                                                                                      \[\leadsto \mathsf{fma}\left(-1 \cdot \left(y0 \cdot \left(-1 \cdot b + \frac{i \cdot y1}{y0}\right)\right), k, a \cdot \mathsf{fma}\left(-b, t, y1 \cdot y3\right)\right) \cdot z \]
                                                                                    3. Step-by-step derivation
                                                                                      1. Applied rewrites47.0%

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

                                                                                      if 7.00000000000000021e102 < y2 < 7.49999999999999992e169

                                                                                      1. Initial program 13.7%

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

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

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

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

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

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

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

                                                                                        if 7.49999999999999992e169 < y2

                                                                                        1. Initial program 33.3%

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

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

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

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

                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -4.5 \cdot 10^{+277}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;y2 \leq -7.2 \cdot 10^{+122}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-y4\right)\right) \cdot c\\ \mathbf{elif}\;y2 \leq 7 \cdot 10^{+102}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(i, \frac{y1}{y0}, -b\right) \cdot \left(-y0\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+169}:\\ \;\;\;\;\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(y5 \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \end{array} \]
                                                                                        10. Add Preprocessing

                                                                                        Alternative 16: 38.1% accurate, 3.3× speedup?

                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\\ \mathbf{if}\;y2 \leq -4.5 \cdot 10^{+277}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;y2 \leq -1.1 \cdot 10^{+118}:\\ \;\;\;\;\left(t\_1 \cdot \left(-y4\right)\right) \cdot c\\ \mathbf{elif}\;y2 \leq 5.5 \cdot 10^{+102}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+169}:\\ \;\;\;\;t\_1 \cdot \left(y5 \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \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))))
                                                                                           (if (<= y2 -4.5e+277)
                                                                                             (* (* (fma (- x) y1 (* y5 t)) y2) a)
                                                                                             (if (<= y2 -1.1e+118)
                                                                                               (* (* t_1 (- y4)) c)
                                                                                               (if (<= y2 5.5e+102)
                                                                                                 (* (fma (fma (- i) y1 (* y0 b)) k (* (fma (- b) t (* y3 y1)) a)) z)
                                                                                                 (if (<= y2 7.5e+169)
                                                                                                   (* t_1 (* y5 a))
                                                                                                   (* (* (fma (- t) y4 (* y0 x)) y2) 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) {
                                                                                        	double t_1 = fma(t, y2, (-y * y3));
                                                                                        	double tmp;
                                                                                        	if (y2 <= -4.5e+277) {
                                                                                        		tmp = (fma(-x, y1, (y5 * t)) * y2) * a;
                                                                                        	} else if (y2 <= -1.1e+118) {
                                                                                        		tmp = (t_1 * -y4) * c;
                                                                                        	} else if (y2 <= 5.5e+102) {
                                                                                        		tmp = fma(fma(-i, y1, (y0 * b)), k, (fma(-b, t, (y3 * y1)) * a)) * z;
                                                                                        	} else if (y2 <= 7.5e+169) {
                                                                                        		tmp = t_1 * (y5 * a);
                                                                                        	} else {
                                                                                        		tmp = (fma(-t, y4, (y0 * x)) * y2) * c;
                                                                                        	}
                                                                                        	return tmp;
                                                                                        }
                                                                                        
                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                        	t_1 = fma(t, y2, Float64(Float64(-y) * y3))
                                                                                        	tmp = 0.0
                                                                                        	if (y2 <= -4.5e+277)
                                                                                        		tmp = Float64(Float64(fma(Float64(-x), y1, Float64(y5 * t)) * y2) * a);
                                                                                        	elseif (y2 <= -1.1e+118)
                                                                                        		tmp = Float64(Float64(t_1 * Float64(-y4)) * c);
                                                                                        	elseif (y2 <= 5.5e+102)
                                                                                        		tmp = Float64(fma(fma(Float64(-i), y1, Float64(y0 * b)), k, Float64(fma(Float64(-b), t, Float64(y3 * y1)) * a)) * z);
                                                                                        	elseif (y2 <= 7.5e+169)
                                                                                        		tmp = Float64(t_1 * Float64(y5 * a));
                                                                                        	else
                                                                                        		tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * y2) * c);
                                                                                        	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[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -4.5e+277], N[(N[(N[((-x) * y1 + N[(y5 * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y2, -1.1e+118], N[(N[(t$95$1 * (-y4)), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y2, 5.5e+102], N[(N[(N[((-i) * y1 + N[(y0 * b), $MachinePrecision]), $MachinePrecision] * k + N[(N[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y2, 7.5e+169], N[(t$95$1 * N[(y5 * a), $MachinePrecision]), $MachinePrecision], N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]]]]]]
                                                                                        
                                                                                        \begin{array}{l}
                                                                                        
                                                                                        \\
                                                                                        \begin{array}{l}
                                                                                        t_1 := \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\\
                                                                                        \mathbf{if}\;y2 \leq -4.5 \cdot 10^{+277}:\\
                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\
                                                                                        
                                                                                        \mathbf{elif}\;y2 \leq -1.1 \cdot 10^{+118}:\\
                                                                                        \;\;\;\;\left(t\_1 \cdot \left(-y4\right)\right) \cdot c\\
                                                                                        
                                                                                        \mathbf{elif}\;y2 \leq 5.5 \cdot 10^{+102}:\\
                                                                                        \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\
                                                                                        
                                                                                        \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+169}:\\
                                                                                        \;\;\;\;t\_1 \cdot \left(y5 \cdot a\right)\\
                                                                                        
                                                                                        \mathbf{else}:\\
                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\
                                                                                        
                                                                                        
                                                                                        \end{array}
                                                                                        \end{array}
                                                                                        
                                                                                        Derivation
                                                                                        1. Split input into 5 regimes
                                                                                        2. if y2 < -4.49999999999999991e277

                                                                                          1. Initial program 20.0%

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

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

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

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

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

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

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

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

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

                                                                                              if -4.49999999999999991e277 < y2 < -1.09999999999999993e118

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

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

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

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

                                                                                                if -1.09999999999999993e118 < y2 < 5.49999999999999981e102

                                                                                                1. Initial program 36.1%

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

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

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

                                                                                                  \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                                                                                8. Step-by-step derivation
                                                                                                  1. Applied rewrites45.6%

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

                                                                                                  if 5.49999999999999981e102 < y2 < 7.49999999999999992e169

                                                                                                  1. Initial program 13.7%

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

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

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

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

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

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

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

                                                                                                    if 7.49999999999999992e169 < y2

                                                                                                    1. Initial program 33.3%

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

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

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

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

                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -4.5 \cdot 10^{+277}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;y2 \leq -1.1 \cdot 10^{+118}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-y4\right)\right) \cdot c\\ \mathbf{elif}\;y2 \leq 5.5 \cdot 10^{+102}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+169}:\\ \;\;\;\;\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(y5 \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \end{array} \]
                                                                                                    10. Add Preprocessing

                                                                                                    Alternative 17: 32.5% accurate, 3.4× speedup?

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

                                                                                                      1. Initial program 21.4%

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

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

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

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

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

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

                                                                                                        if -7.89999999999999961e268 < y2 < -2e113 or 1.04e170 < y2

                                                                                                        1. Initial program 27.6%

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

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

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

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

                                                                                                          if -2e113 < y2 < 1.5499999999999999e-94

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

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

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

                                                                                                            \[\leadsto \left(b \cdot \left(k \cdot y0 - a \cdot t\right)\right) \cdot z \]
                                                                                                          8. Step-by-step derivation
                                                                                                            1. Applied rewrites40.5%

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

                                                                                                            if 1.5499999999999999e-94 < y2 < 4.2000000000000002e-23

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

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

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

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

                                                                                                              if 4.2000000000000002e-23 < y2 < 6.5999999999999997e69

                                                                                                              1. Initial program 42.8%

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

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

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

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

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

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

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

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

                                                                                                                  if 6.5999999999999997e69 < y2 < 1.04e170

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

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

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

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

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

                                                                                                                        \[\leadsto \left(y2 \cdot \mathsf{fma}\left(-x, y1, t \cdot y5\right)\right) \cdot a \]
                                                                                                                    4. Recombined 6 regimes into one program.
                                                                                                                    5. Final simplification49.4%

                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -7.9 \cdot 10^{+268}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{elif}\;y2 \leq -2 \cdot 10^{+113}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \mathbf{elif}\;y2 \leq 1.55 \cdot 10^{-94}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;y2 \leq 4.2 \cdot 10^{-23}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, x, y4 \cdot y3\right) \cdot y\right) \cdot c\\ \mathbf{elif}\;y2 \leq 6.6 \cdot 10^{+69}:\\ \;\;\;\;\left(\left(\left(-y3\right) \cdot j\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;y2 \leq 1.04 \cdot 10^{+170}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \end{array} \]
                                                                                                                    6. Add Preprocessing

                                                                                                                    Alternative 18: 32.5% accurate, 3.4× speedup?

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

                                                                                                                      1. Initial program 21.4%

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

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

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

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

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

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

                                                                                                                        if -7.89999999999999961e268 < y2 < -2e113 or 1.04e170 < y2

                                                                                                                        1. Initial program 27.6%

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

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

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

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

                                                                                                                          if -2e113 < y2 < 1.5499999999999999e-94

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

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

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

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

                                                                                                                            if 1.5499999999999999e-94 < y2 < 4.2000000000000002e-23

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

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

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

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

                                                                                                                              if 4.2000000000000002e-23 < y2 < 6.5999999999999997e69

                                                                                                                              1. Initial program 42.8%

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

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

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

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

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

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

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

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

                                                                                                                                  if 6.5999999999999997e69 < y2 < 1.04e170

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

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

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

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

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

                                                                                                                                        \[\leadsto \left(y2 \cdot \mathsf{fma}\left(-x, y1, t \cdot y5\right)\right) \cdot a \]
                                                                                                                                    4. Recombined 6 regimes into one program.
                                                                                                                                    5. Final simplification49.1%

                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -7.9 \cdot 10^{+268}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{elif}\;y2 \leq -2 \cdot 10^{+113}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \mathbf{elif}\;y2 \leq 1.55 \cdot 10^{-94}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;y2 \leq 4.2 \cdot 10^{-23}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, x, y4 \cdot y3\right) \cdot y\right) \cdot c\\ \mathbf{elif}\;y2 \leq 6.6 \cdot 10^{+69}:\\ \;\;\;\;\left(\left(\left(-y3\right) \cdot j\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;y2 \leq 1.04 \cdot 10^{+170}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \end{array} \]
                                                                                                                                    6. Add Preprocessing

                                                                                                                                    Alternative 19: 35.0% accurate, 3.4× speedup?

                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\\ \mathbf{if}\;y2 \leq -4.5 \cdot 10^{+277}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;y2 \leq -6.5 \cdot 10^{+122}:\\ \;\;\;\;\left(t\_1 \cdot \left(-y4\right)\right) \cdot c\\ \mathbf{elif}\;y2 \leq -3.9 \cdot 10^{-90}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;y2 \leq 1.9 \cdot 10^{+102}:\\ \;\;\;\;\mathsf{fma}\left(y0 \cdot b, k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+169}:\\ \;\;\;\;t\_1 \cdot \left(y5 \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \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))))
                                                                                                                                       (if (<= y2 -4.5e+277)
                                                                                                                                         (* (* (fma (- x) y1 (* y5 t)) y2) a)
                                                                                                                                         (if (<= y2 -6.5e+122)
                                                                                                                                           (* (* t_1 (- y4)) c)
                                                                                                                                           (if (<= y2 -3.9e-90)
                                                                                                                                             (* (* (fma k y0 (* (- a) t)) b) z)
                                                                                                                                             (if (<= y2 1.9e+102)
                                                                                                                                               (* (fma (* y0 b) k (* (fma (- b) t (* y3 y1)) a)) z)
                                                                                                                                               (if (<= y2 7.5e+169)
                                                                                                                                                 (* t_1 (* y5 a))
                                                                                                                                                 (* (* (fma (- t) y4 (* y0 x)) y2) 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) {
                                                                                                                                    	double t_1 = fma(t, y2, (-y * y3));
                                                                                                                                    	double tmp;
                                                                                                                                    	if (y2 <= -4.5e+277) {
                                                                                                                                    		tmp = (fma(-x, y1, (y5 * t)) * y2) * a;
                                                                                                                                    	} else if (y2 <= -6.5e+122) {
                                                                                                                                    		tmp = (t_1 * -y4) * c;
                                                                                                                                    	} else if (y2 <= -3.9e-90) {
                                                                                                                                    		tmp = (fma(k, y0, (-a * t)) * b) * z;
                                                                                                                                    	} else if (y2 <= 1.9e+102) {
                                                                                                                                    		tmp = fma((y0 * b), k, (fma(-b, t, (y3 * y1)) * a)) * z;
                                                                                                                                    	} else if (y2 <= 7.5e+169) {
                                                                                                                                    		tmp = t_1 * (y5 * a);
                                                                                                                                    	} else {
                                                                                                                                    		tmp = (fma(-t, y4, (y0 * x)) * y2) * c;
                                                                                                                                    	}
                                                                                                                                    	return tmp;
                                                                                                                                    }
                                                                                                                                    
                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                    	t_1 = fma(t, y2, Float64(Float64(-y) * y3))
                                                                                                                                    	tmp = 0.0
                                                                                                                                    	if (y2 <= -4.5e+277)
                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-x), y1, Float64(y5 * t)) * y2) * a);
                                                                                                                                    	elseif (y2 <= -6.5e+122)
                                                                                                                                    		tmp = Float64(Float64(t_1 * Float64(-y4)) * c);
                                                                                                                                    	elseif (y2 <= -3.9e-90)
                                                                                                                                    		tmp = Float64(Float64(fma(k, y0, Float64(Float64(-a) * t)) * b) * z);
                                                                                                                                    	elseif (y2 <= 1.9e+102)
                                                                                                                                    		tmp = Float64(fma(Float64(y0 * b), k, Float64(fma(Float64(-b), t, Float64(y3 * y1)) * a)) * z);
                                                                                                                                    	elseif (y2 <= 7.5e+169)
                                                                                                                                    		tmp = Float64(t_1 * Float64(y5 * a));
                                                                                                                                    	else
                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-t), y4, Float64(y0 * x)) * y2) * c);
                                                                                                                                    	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[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y2, -4.5e+277], N[(N[(N[((-x) * y1 + N[(y5 * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[y2, -6.5e+122], N[(N[(t$95$1 * (-y4)), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[y2, -3.9e-90], N[(N[(N[(k * y0 + N[((-a) * t), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y2, 1.9e+102], N[(N[(N[(y0 * b), $MachinePrecision] * k + N[(N[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y2, 7.5e+169], N[(t$95$1 * N[(y5 * a), $MachinePrecision]), $MachinePrecision], N[(N[(N[((-t) * y4 + N[(y0 * x), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * c), $MachinePrecision]]]]]]]
                                                                                                                                    
                                                                                                                                    \begin{array}{l}
                                                                                                                                    
                                                                                                                                    \\
                                                                                                                                    \begin{array}{l}
                                                                                                                                    t_1 := \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\\
                                                                                                                                    \mathbf{if}\;y2 \leq -4.5 \cdot 10^{+277}:\\
                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\
                                                                                                                                    
                                                                                                                                    \mathbf{elif}\;y2 \leq -6.5 \cdot 10^{+122}:\\
                                                                                                                                    \;\;\;\;\left(t\_1 \cdot \left(-y4\right)\right) \cdot c\\
                                                                                                                                    
                                                                                                                                    \mathbf{elif}\;y2 \leq -3.9 \cdot 10^{-90}:\\
                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right) \cdot b\right) \cdot z\\
                                                                                                                                    
                                                                                                                                    \mathbf{elif}\;y2 \leq 1.9 \cdot 10^{+102}:\\
                                                                                                                                    \;\;\;\;\mathsf{fma}\left(y0 \cdot b, k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\
                                                                                                                                    
                                                                                                                                    \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+169}:\\
                                                                                                                                    \;\;\;\;t\_1 \cdot \left(y5 \cdot a\right)\\
                                                                                                                                    
                                                                                                                                    \mathbf{else}:\\
                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\
                                                                                                                                    
                                                                                                                                    
                                                                                                                                    \end{array}
                                                                                                                                    \end{array}
                                                                                                                                    
                                                                                                                                    Derivation
                                                                                                                                    1. Split input into 6 regimes
                                                                                                                                    2. if y2 < -4.49999999999999991e277

                                                                                                                                      1. Initial program 20.0%

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

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

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

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

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

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

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

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

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

                                                                                                                                          if -4.49999999999999991e277 < y2 < -6.49999999999999963e122

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

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

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

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

                                                                                                                                            if -6.49999999999999963e122 < y2 < -3.90000000000000005e-90

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

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

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

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

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

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

                                                                                                                                              \[\leadsto \left(b \cdot \left(k \cdot y0 - a \cdot t\right)\right) \cdot z \]
                                                                                                                                            8. Step-by-step derivation
                                                                                                                                              1. Applied rewrites50.1%

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

                                                                                                                                              if -3.90000000000000005e-90 < y2 < 1.89999999999999989e102

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

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

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

                                                                                                                                                \[\leadsto \mathsf{fma}\left(\mathsf{fma}\left(-i, y1, y0 \cdot b\right), k, a \cdot \left(-1 \cdot \left(b \cdot t\right) + y1 \cdot y3\right)\right) \cdot z \]
                                                                                                                                              8. Step-by-step derivation
                                                                                                                                                1. Applied rewrites45.5%

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

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

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

                                                                                                                                                  if 1.89999999999999989e102 < y2 < 7.49999999999999992e169

                                                                                                                                                  1. Initial program 13.7%

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

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

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

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

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

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

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

                                                                                                                                                    if 7.49999999999999992e169 < y2

                                                                                                                                                    1. Initial program 33.3%

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

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

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

                                                                                                                                                        \[\leadsto \left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right) \cdot c \]
                                                                                                                                                    8. Recombined 6 regimes into one program.
                                                                                                                                                    9. Final simplification52.1%

                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -4.5 \cdot 10^{+277}:\\ \;\;\;\;\left(\mathsf{fma}\left(-x, y1, y5 \cdot t\right) \cdot y2\right) \cdot a\\ \mathbf{elif}\;y2 \leq -6.5 \cdot 10^{+122}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-y4\right)\right) \cdot c\\ \mathbf{elif}\;y2 \leq -3.9 \cdot 10^{-90}:\\ \;\;\;\;\left(\mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;y2 \leq 1.9 \cdot 10^{+102}:\\ \;\;\;\;\mathsf{fma}\left(y0 \cdot b, k, \mathsf{fma}\left(-b, t, y3 \cdot y1\right) \cdot a\right) \cdot z\\ \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+169}:\\ \;\;\;\;\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(y5 \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \end{array} \]
                                                                                                                                                    10. Add Preprocessing

                                                                                                                                                    Alternative 20: 31.3% accurate, 4.2× speedup?

                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\\ \mathbf{if}\;b \leq -1.8 \cdot 10^{-133}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;b \leq 6.7 \cdot 10^{-108}:\\ \;\;\;\;\left(t\_1 \cdot \left(-y4\right)\right) \cdot c\\ \mathbf{elif}\;b \leq 1.9 \cdot 10^{-35}:\\ \;\;\;\;t\_1 \cdot \left(y5 \cdot a\right)\\ \mathbf{elif}\;b \leq 1.65 \cdot 10^{+196}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot z\right) \cdot \left(-a\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 t y2 (* (- y) y3))))
                                                                                                                                                       (if (<= b -1.8e-133)
                                                                                                                                                         (* (* (fma (- a) t (* y0 k)) b) z)
                                                                                                                                                         (if (<= b 6.7e-108)
                                                                                                                                                           (* (* t_1 (- y4)) c)
                                                                                                                                                           (if (<= b 1.9e-35)
                                                                                                                                                             (* t_1 (* y5 a))
                                                                                                                                                             (if (<= b 1.65e+196)
                                                                                                                                                               (* (* (fma (- b) j (* y2 c)) y0) x)
                                                                                                                                                               (* (* (* b t) z) (- a))))))))
                                                                                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                    	double t_1 = fma(t, y2, (-y * y3));
                                                                                                                                                    	double tmp;
                                                                                                                                                    	if (b <= -1.8e-133) {
                                                                                                                                                    		tmp = (fma(-a, t, (y0 * k)) * b) * z;
                                                                                                                                                    	} else if (b <= 6.7e-108) {
                                                                                                                                                    		tmp = (t_1 * -y4) * c;
                                                                                                                                                    	} else if (b <= 1.9e-35) {
                                                                                                                                                    		tmp = t_1 * (y5 * a);
                                                                                                                                                    	} else if (b <= 1.65e+196) {
                                                                                                                                                    		tmp = (fma(-b, j, (y2 * c)) * y0) * x;
                                                                                                                                                    	} else {
                                                                                                                                                    		tmp = ((b * t) * z) * -a;
                                                                                                                                                    	}
                                                                                                                                                    	return tmp;
                                                                                                                                                    }
                                                                                                                                                    
                                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                    	t_1 = fma(t, y2, Float64(Float64(-y) * y3))
                                                                                                                                                    	tmp = 0.0
                                                                                                                                                    	if (b <= -1.8e-133)
                                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-a), t, Float64(y0 * k)) * b) * z);
                                                                                                                                                    	elseif (b <= 6.7e-108)
                                                                                                                                                    		tmp = Float64(Float64(t_1 * Float64(-y4)) * c);
                                                                                                                                                    	elseif (b <= 1.9e-35)
                                                                                                                                                    		tmp = Float64(t_1 * Float64(y5 * a));
                                                                                                                                                    	elseif (b <= 1.65e+196)
                                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-b), j, Float64(y2 * c)) * y0) * x);
                                                                                                                                                    	else
                                                                                                                                                    		tmp = Float64(Float64(Float64(b * t) * z) * Float64(-a));
                                                                                                                                                    	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[(t * y2 + N[((-y) * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -1.8e-133], N[(N[(N[((-a) * t + N[(y0 * k), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[b, 6.7e-108], N[(N[(t$95$1 * (-y4)), $MachinePrecision] * c), $MachinePrecision], If[LessEqual[b, 1.9e-35], N[(t$95$1 * N[(y5 * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.65e+196], N[(N[(N[((-b) * j + N[(y2 * c), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * x), $MachinePrecision], N[(N[(N[(b * t), $MachinePrecision] * z), $MachinePrecision] * (-a)), $MachinePrecision]]]]]]
                                                                                                                                                    
                                                                                                                                                    \begin{array}{l}
                                                                                                                                                    
                                                                                                                                                    \\
                                                                                                                                                    \begin{array}{l}
                                                                                                                                                    t_1 := \mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right)\\
                                                                                                                                                    \mathbf{if}\;b \leq -1.8 \cdot 10^{-133}:\\
                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot b\right) \cdot z\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{elif}\;b \leq 6.7 \cdot 10^{-108}:\\
                                                                                                                                                    \;\;\;\;\left(t\_1 \cdot \left(-y4\right)\right) \cdot c\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{elif}\;b \leq 1.9 \cdot 10^{-35}:\\
                                                                                                                                                    \;\;\;\;t\_1 \cdot \left(y5 \cdot a\right)\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{elif}\;b \leq 1.65 \cdot 10^{+196}:\\
                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\
                                                                                                                                                    
                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                    \;\;\;\;\left(\left(b \cdot t\right) \cdot z\right) \cdot \left(-a\right)\\
                                                                                                                                                    
                                                                                                                                                    
                                                                                                                                                    \end{array}
                                                                                                                                                    \end{array}
                                                                                                                                                    
                                                                                                                                                    Derivation
                                                                                                                                                    1. Split input into 5 regimes
                                                                                                                                                    2. if b < -1.8000000000000002e-133

                                                                                                                                                      1. Initial program 29.9%

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

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

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

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

                                                                                                                                                        if -1.8000000000000002e-133 < b < 6.69999999999999983e-108

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

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

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

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

                                                                                                                                                          if 6.69999999999999983e-108 < b < 1.9000000000000001e-35

                                                                                                                                                          1. Initial program 33.9%

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

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

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

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

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

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

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

                                                                                                                                                            if 1.9000000000000001e-35 < b < 1.6500000000000001e196

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

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

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

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

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

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

                                                                                                                                                              if 1.6500000000000001e196 < b

                                                                                                                                                              1. Initial program 25.8%

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

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

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

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

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

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

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

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

                                                                                                                                                                    \[\leadsto -a \cdot \left(\left(b \cdot t\right) \cdot z\right) \]
                                                                                                                                                                4. Recombined 5 regimes into one program.
                                                                                                                                                                5. Final simplification47.2%

                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.8 \cdot 10^{-133}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;b \leq 6.7 \cdot 10^{-108}:\\ \;\;\;\;\left(\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(-y4\right)\right) \cdot c\\ \mathbf{elif}\;b \leq 1.9 \cdot 10^{-35}:\\ \;\;\;\;\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(y5 \cdot a\right)\\ \mathbf{elif}\;b \leq 1.65 \cdot 10^{+196}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot z\right) \cdot \left(-a\right)\\ \end{array} \]
                                                                                                                                                                6. Add Preprocessing

                                                                                                                                                                Alternative 21: 32.7% accurate, 4.2× speedup?

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

                                                                                                                                                                  1. Initial program 21.4%

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

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

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

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

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

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

                                                                                                                                                                    if -7.89999999999999961e268 < y2 < -2e113 or 7.49999999999999992e169 < y2

                                                                                                                                                                    1. Initial program 27.6%

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

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

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

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

                                                                                                                                                                      if -2e113 < y2 < 1.89999999999999989e102

                                                                                                                                                                      1. Initial program 35.9%

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

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

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

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

                                                                                                                                                                        if 1.89999999999999989e102 < y2 < 7.49999999999999992e169

                                                                                                                                                                        1. Initial program 13.7%

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

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

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

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

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

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

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

                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -7.9 \cdot 10^{+268}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{elif}\;y2 \leq -2 \cdot 10^{+113}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \mathbf{elif}\;y2 \leq 1.9 \cdot 10^{+102}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{+169}:\\ \;\;\;\;\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(y5 \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y4, y0 \cdot x\right) \cdot y2\right) \cdot c\\ \end{array} \]
                                                                                                                                                                        10. Add Preprocessing

                                                                                                                                                                        Alternative 22: 28.9% accurate, 4.2× speedup?

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

                                                                                                                                                                          1. Initial program 21.6%

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

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

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

                                                                                                                                                                            if -9.49999999999999974e118 < y2 < -1.5600000000000001e-149

                                                                                                                                                                            1. Initial program 39.0%

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

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

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

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

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

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

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

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

                                                                                                                                                                              if -1.5600000000000001e-149 < y2 < 5.7999999999999997e70

                                                                                                                                                                              1. Initial program 33.8%

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

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

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

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

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

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

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

                                                                                                                                                                                if 5.7999999999999997e70 < y2 < 7.8000000000000005e170

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

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

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

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

                                                                                                                                                                                  if 7.8000000000000005e170 < y2

                                                                                                                                                                                  1. Initial program 33.3%

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

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

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

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

                                                                                                                                                                                      \[\leadsto \left(x \cdot \left(y0 \cdot y2\right)\right) \cdot c \]
                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                      1. Applied rewrites67.3%

                                                                                                                                                                                        \[\leadsto \left(x \cdot \left(y0 \cdot y2\right)\right) \cdot c \]
                                                                                                                                                                                    4. Recombined 5 regimes into one program.
                                                                                                                                                                                    5. Final simplification41.2%

                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -9.5 \cdot 10^{+118}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{elif}\;y2 \leq -1.56 \cdot 10^{-149}:\\ \;\;\;\;\mathsf{fma}\left(i, t, \left(-y3\right) \cdot y0\right) \cdot \left(c \cdot z\right)\\ \mathbf{elif}\;y2 \leq 5.8 \cdot 10^{+70}:\\ \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y3 \cdot y1\right)\\ \mathbf{elif}\;y2 \leq 7.8 \cdot 10^{+170}:\\ \;\;\;\;\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(y5 \cdot a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y2 \cdot y0\right) \cdot x\right) \cdot c\\ \end{array} \]
                                                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                                                    Alternative 23: 21.9% accurate, 4.8× speedup?

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

                                                                                                                                                                                      1. Initial program 17.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 rewrites40.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 y4 around inf

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

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

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

                                                                                                                                                                                            \[\leadsto \left(\left(k \cdot y2\right) \cdot y4\right) \cdot y1 \]

                                                                                                                                                                                          if -2.79999999999999993e178 < y2 < -3.60000000000000032e-151

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

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

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

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

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

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

                                                                                                                                                                                              if -3.60000000000000032e-151 < y2 < 2.09999999999999989e-29

                                                                                                                                                                                              1. Initial program 32.0%

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

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

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

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

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

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

                                                                                                                                                                                                      \[\leadsto \left(\left(a \cdot z\right) \cdot y3\right) \cdot y1 \]

                                                                                                                                                                                                    if 2.09999999999999989e-29 < y2 < 2.30000000000000008e103

                                                                                                                                                                                                    1. Initial program 40.6%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                        if 2.30000000000000008e103 < y2

                                                                                                                                                                                                        1. Initial program 25.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 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 rewrites46.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} \]
                                                                                                                                                                                                        6. Taylor expanded in y0 around inf

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

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

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

                                                                                                                                                                                                              \[\leadsto \left(x \cdot \left(y0 \cdot y2\right)\right) \cdot c \]
                                                                                                                                                                                                          4. Recombined 5 regimes into one program.
                                                                                                                                                                                                          5. Final simplification35.8%

                                                                                                                                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.8 \cdot 10^{+178}:\\ \;\;\;\;\left(\left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;y2 \leq -3.6 \cdot 10^{-151}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;y2 \leq 2.1 \cdot 10^{-29}:\\ \;\;\;\;\left(\left(a \cdot z\right) \cdot y3\right) \cdot y1\\ \mathbf{elif}\;y2 \leq 2.3 \cdot 10^{+103}:\\ \;\;\;\;\left(\left(\left(-y3\right) \cdot j\right) \cdot y4\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y2 \cdot y0\right) \cdot x\right) \cdot c\\ \end{array} \]
                                                                                                                                                                                                          6. Add Preprocessing

                                                                                                                                                                                                          Alternative 24: 30.0% accurate, 4.8× speedup?

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

                                                                                                                                                                                                            1. Initial program 30.5%

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

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

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

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

                                                                                                                                                                                                              if -2.20000000000000006e-123 < b < 1.9000000000000001e-35

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

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

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

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

                                                                                                                                                                                                                if 1.9000000000000001e-35 < b < 1.6500000000000001e196

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

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

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

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

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

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

                                                                                                                                                                                                                  if 1.6500000000000001e196 < b

                                                                                                                                                                                                                  1. Initial program 25.8%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                        \[\leadsto -a \cdot \left(\left(b \cdot t\right) \cdot z\right) \]
                                                                                                                                                                                                                    4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                    5. Final simplification45.2%

                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.2 \cdot 10^{-123}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;b \leq 1.9 \cdot 10^{-35}:\\ \;\;\;\;\mathsf{fma}\left(t, y2, \left(-y\right) \cdot y3\right) \cdot \left(y5 \cdot a\right)\\ \mathbf{elif}\;b \leq 1.65 \cdot 10^{+196}:\\ \;\;\;\;\left(\mathsf{fma}\left(-b, j, y2 \cdot c\right) \cdot y0\right) \cdot x\\ \mathbf{else}:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot z\right) \cdot \left(-a\right)\\ \end{array} \]
                                                                                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                                                                                    Alternative 25: 31.8% accurate, 4.8× speedup?

                                                                                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -5.8 \cdot 10^{+129}:\\ \;\;\;\;\mathsf{fma}\left(y1, z, \left(-y\right) \cdot y5\right) \cdot \left(y3 \cdot a\right)\\ \mathbf{elif}\;a \leq -1.75 \cdot 10^{-255}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y3, k \cdot b\right) \cdot y0\right) \cdot z\\ \mathbf{elif}\;a \leq 1.55 \cdot 10^{+65}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, x, y5 \cdot k\right) \cdot y\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, 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 (<= a -5.8e+129)
                                                                                                                                                                                                                       (* (fma y1 z (* (- y) y5)) (* y3 a))
                                                                                                                                                                                                                       (if (<= a -1.75e-255)
                                                                                                                                                                                                                         (* (* (fma (- c) y3 (* k b)) y0) z)
                                                                                                                                                                                                                         (if (<= a 1.55e+65)
                                                                                                                                                                                                                           (* (* (fma (- c) x (* y5 k)) y) i)
                                                                                                                                                                                                                           (* (* a z) (fma (- b) t (* 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 (a <= -5.8e+129) {
                                                                                                                                                                                                                    		tmp = fma(y1, z, (-y * y5)) * (y3 * a);
                                                                                                                                                                                                                    	} else if (a <= -1.75e-255) {
                                                                                                                                                                                                                    		tmp = (fma(-c, y3, (k * b)) * y0) * z;
                                                                                                                                                                                                                    	} else if (a <= 1.55e+65) {
                                                                                                                                                                                                                    		tmp = (fma(-c, x, (y5 * k)) * y) * i;
                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                    		tmp = (a * z) * fma(-b, t, (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 (a <= -5.8e+129)
                                                                                                                                                                                                                    		tmp = Float64(fma(y1, z, Float64(Float64(-y) * y5)) * Float64(y3 * a));
                                                                                                                                                                                                                    	elseif (a <= -1.75e-255)
                                                                                                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-c), y3, Float64(k * b)) * y0) * z);
                                                                                                                                                                                                                    	elseif (a <= 1.55e+65)
                                                                                                                                                                                                                    		tmp = Float64(Float64(fma(Float64(-c), x, Float64(y5 * k)) * y) * i);
                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                    		tmp = Float64(Float64(a * z) * fma(Float64(-b), t, 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[a, -5.8e+129], N[(N[(y1 * z + N[((-y) * y5), $MachinePrecision]), $MachinePrecision] * N[(y3 * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -1.75e-255], N[(N[(N[((-c) * y3 + N[(k * b), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[a, 1.55e+65], N[(N[(N[((-c) * x + N[(y5 * k), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision] * i), $MachinePrecision], N[(N[(a * z), $MachinePrecision] * N[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    \\
                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                    \mathbf{if}\;a \leq -5.8 \cdot 10^{+129}:\\
                                                                                                                                                                                                                    \;\;\;\;\mathsf{fma}\left(y1, z, \left(-y\right) \cdot y5\right) \cdot \left(y3 \cdot a\right)\\
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    \mathbf{elif}\;a \leq -1.75 \cdot 10^{-255}:\\
                                                                                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-c, y3, k \cdot b\right) \cdot y0\right) \cdot z\\
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    \mathbf{elif}\;a \leq 1.55 \cdot 10^{+65}:\\
                                                                                                                                                                                                                    \;\;\;\;\left(\mathsf{fma}\left(-c, x, y5 \cdot k\right) \cdot y\right) \cdot i\\
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                                                                                    \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y3 \cdot y1\right)\\
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    Derivation
                                                                                                                                                                                                                    1. Split input into 4 regimes
                                                                                                                                                                                                                    2. if a < -5.80000000000000005e129

                                                                                                                                                                                                                      1. Initial program 25.0%

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

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

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

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

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

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

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

                                                                                                                                                                                                                        if -5.80000000000000005e129 < a < -1.74999999999999989e-255

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

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

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

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

                                                                                                                                                                                                                          if -1.74999999999999989e-255 < a < 1.54999999999999995e65

                                                                                                                                                                                                                          1. Initial program 43.8%

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

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

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

                                                                                                                                                                                                                            if 1.54999999999999995e65 < a

                                                                                                                                                                                                                            1. Initial program 23.3%

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

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

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

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

                                                                                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -5.8 \cdot 10^{+129}:\\ \;\;\;\;\mathsf{fma}\left(y1, z, \left(-y\right) \cdot y5\right) \cdot \left(y3 \cdot a\right)\\ \mathbf{elif}\;a \leq -1.75 \cdot 10^{-255}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, y3, k \cdot b\right) \cdot y0\right) \cdot z\\ \mathbf{elif}\;a \leq 1.55 \cdot 10^{+65}:\\ \;\;\;\;\left(\mathsf{fma}\left(-c, x, y5 \cdot k\right) \cdot y\right) \cdot i\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y3 \cdot y1\right)\\ \end{array} \]
                                                                                                                                                                                                                            10. Add Preprocessing

                                                                                                                                                                                                                            Alternative 26: 31.0% accurate, 4.8× speedup?

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

                                                                                                                                                                                                                              1. Initial program 30.0%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                  if -4.70000000000000007e179 < y3 < -4.5e-61

                                                                                                                                                                                                                                  1. Initial program 35.5%

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

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

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

                                                                                                                                                                                                                                    if -4.5e-61 < y3 < 5.59999999999999999e57

                                                                                                                                                                                                                                    1. Initial program 34.5%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                      if 5.59999999999999999e57 < y3

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

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

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

                                                                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -4.7 \cdot 10^{+179}:\\ \;\;\;\;\left(\left(y3 \cdot y1\right) \cdot z\right) \cdot a\\ \mathbf{elif}\;y3 \leq -4.5 \cdot 10^{-61}:\\ \;\;\;\;\left(\mathsf{fma}\left(-t, y5, y1 \cdot x\right) \cdot j\right) \cdot i\\ \mathbf{elif}\;y3 \leq 5.6 \cdot 10^{+57}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y1, z, \left(-y\right) \cdot y5\right) \cdot \left(y3 \cdot a\right)\\ \end{array} \]
                                                                                                                                                                                                                                      10. Add Preprocessing

                                                                                                                                                                                                                                      Alternative 27: 28.1% accurate, 4.8× speedup?

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

                                                                                                                                                                                                                                        1. Initial program 24.5%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                          if -1.2500000000000001e-19 < y2 < -8.2000000000000004e-157

                                                                                                                                                                                                                                          1. Initial program 51.5%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                              \[\leadsto \left(-1 \cdot \left(c \cdot \left(y0 \cdot y3\right)\right)\right) \cdot z \]
                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                              1. Applied rewrites32.3%

                                                                                                                                                                                                                                                \[\leadsto \left(-c \cdot \left(y0 \cdot y3\right)\right) \cdot z \]

                                                                                                                                                                                                                                              if -8.2000000000000004e-157 < y2 < 8.59999999999999938e103

                                                                                                                                                                                                                                              1. Initial program 34.0%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                if 8.59999999999999938e103 < y2

                                                                                                                                                                                                                                                1. Initial program 25.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 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 rewrites46.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} \]
                                                                                                                                                                                                                                                6. Taylor expanded in y0 around inf

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

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

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

                                                                                                                                                                                                                                                      \[\leadsto \left(x \cdot \left(y0 \cdot y2\right)\right) \cdot c \]
                                                                                                                                                                                                                                                  4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                  5. Final simplification38.5%

                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -1.25 \cdot 10^{-19}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{elif}\;y2 \leq -8.2 \cdot 10^{-157}:\\ \;\;\;\;\left(\left(\left(-y3\right) \cdot y0\right) \cdot c\right) \cdot z\\ \mathbf{elif}\;y2 \leq 8.6 \cdot 10^{+103}:\\ \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y3 \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y2 \cdot y0\right) \cdot x\right) \cdot c\\ \end{array} \]
                                                                                                                                                                                                                                                  6. Add Preprocessing

                                                                                                                                                                                                                                                  Alternative 28: 31.1% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                                                    1. Initial program 29.0%

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

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

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

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

                                                                                                                                                                                                                                                      if -6e111 < y3 < 5.59999999999999999e57

                                                                                                                                                                                                                                                      1. Initial program 35.2%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                        if 5.59999999999999999e57 < y3

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

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

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

                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -6 \cdot 10^{+111}:\\ \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y3 \cdot y1\right)\\ \mathbf{elif}\;y3 \leq 5.6 \cdot 10^{+57}:\\ \;\;\;\;\left(\mathsf{fma}\left(-a, t, y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y1, z, \left(-y\right) \cdot y5\right) \cdot \left(y3 \cdot a\right)\\ \end{array} \]
                                                                                                                                                                                                                                                        10. Add Preprocessing

                                                                                                                                                                                                                                                        Alternative 29: 30.1% accurate, 5.6× speedup?

                                                                                                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -7.5 \cdot 10^{+74}:\\ \;\;\;\;\mathsf{fma}\left(y1, z, \left(-y\right) \cdot y5\right) \cdot \left(y3 \cdot a\right)\\ \mathbf{elif}\;a \leq 1.4 \cdot 10^{-146}:\\ \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, 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 (<= a -7.5e+74)
                                                                                                                                                                                                                                                           (* (fma y1 z (* (- y) y5)) (* y3 a))
                                                                                                                                                                                                                                                           (if (<= a 1.4e-146)
                                                                                                                                                                                                                                                             (* (* (fma (- i) z (* y4 y2)) y1) k)
                                                                                                                                                                                                                                                             (* (* a z) (fma (- b) t (* 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 (a <= -7.5e+74) {
                                                                                                                                                                                                                                                        		tmp = fma(y1, z, (-y * y5)) * (y3 * a);
                                                                                                                                                                                                                                                        	} else if (a <= 1.4e-146) {
                                                                                                                                                                                                                                                        		tmp = (fma(-i, z, (y4 * y2)) * y1) * k;
                                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                                        		tmp = (a * z) * fma(-b, t, (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 (a <= -7.5e+74)
                                                                                                                                                                                                                                                        		tmp = Float64(fma(y1, z, Float64(Float64(-y) * y5)) * Float64(y3 * a));
                                                                                                                                                                                                                                                        	elseif (a <= 1.4e-146)
                                                                                                                                                                                                                                                        		tmp = Float64(Float64(fma(Float64(-i), z, Float64(y4 * y2)) * y1) * k);
                                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                                        		tmp = Float64(Float64(a * z) * fma(Float64(-b), t, 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[a, -7.5e+74], N[(N[(y1 * z + N[((-y) * y5), $MachinePrecision]), $MachinePrecision] * N[(y3 * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.4e-146], N[(N[(N[((-i) * z + N[(y4 * y2), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision] * k), $MachinePrecision], N[(N[(a * z), $MachinePrecision] * N[((-b) * t + N[(y3 * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \\
                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                        \mathbf{if}\;a \leq -7.5 \cdot 10^{+74}:\\
                                                                                                                                                                                                                                                        \;\;\;\;\mathsf{fma}\left(y1, z, \left(-y\right) \cdot y5\right) \cdot \left(y3 \cdot a\right)\\
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \mathbf{elif}\;a \leq 1.4 \cdot 10^{-146}:\\
                                                                                                                                                                                                                                                        \;\;\;\;\left(\mathsf{fma}\left(-i, z, y4 \cdot y2\right) \cdot y1\right) \cdot k\\
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                                                                                                        \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y3 \cdot y1\right)\\
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        Derivation
                                                                                                                                                                                                                                                        1. Split input into 3 regimes
                                                                                                                                                                                                                                                        2. if a < -7.5e74

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

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

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

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

                                                                                                                                                                                                                                                            if -7.5e74 < a < 1.40000000000000001e-146

                                                                                                                                                                                                                                                            1. Initial program 37.4%

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

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

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

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

                                                                                                                                                                                                                                                              if 1.40000000000000001e-146 < a

                                                                                                                                                                                                                                                              1. Initial program 28.3%

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

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

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

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

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

                                                                                                                                                                                                                                                              Alternative 30: 27.1% accurate, 5.6× speedup?

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

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

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

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

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

                                                                                                                                                                                                                                                                      \[\leadsto \left(\left(k \cdot y2\right) \cdot y4\right) \cdot y1 \]

                                                                                                                                                                                                                                                                    if -3.79999999999999972e241 < y2 < 8.59999999999999938e103

                                                                                                                                                                                                                                                                    1. Initial program 34.5%

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                      if 8.59999999999999938e103 < y2

                                                                                                                                                                                                                                                                      1. Initial program 25.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 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 rewrites46.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} \]
                                                                                                                                                                                                                                                                      6. Taylor expanded in y0 around inf

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

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

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

                                                                                                                                                                                                                                                                            \[\leadsto \left(x \cdot \left(y0 \cdot y2\right)\right) \cdot c \]
                                                                                                                                                                                                                                                                        4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                        5. Final simplification35.8%

                                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -3.8 \cdot 10^{+241}:\\ \;\;\;\;\left(\left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;y2 \leq 8.6 \cdot 10^{+103}:\\ \;\;\;\;\left(a \cdot z\right) \cdot \mathsf{fma}\left(-b, t, y3 \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y2 \cdot y0\right) \cdot x\right) \cdot c\\ \end{array} \]
                                                                                                                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                                                                                                                        Alternative 31: 21.8% accurate, 5.9× speedup?

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

                                                                                                                                                                                                                                                                          1. Initial program 30.2%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                              if -1.6000000000000001e-83 < y3 < 2.00000000000000002e-35

                                                                                                                                                                                                                                                                              1. Initial program 31.9%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                    \[\leadsto -a \cdot \left(\left(b \cdot t\right) \cdot z\right) \]

                                                                                                                                                                                                                                                                                  if 2.00000000000000002e-35 < y3 < 6.2e126

                                                                                                                                                                                                                                                                                  1. Initial program 39.3%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1.6 \cdot 10^{-83}:\\ \;\;\;\;\left(\left(y3 \cdot y1\right) \cdot z\right) \cdot a\\ \mathbf{elif}\;y3 \leq 2 \cdot 10^{-35}:\\ \;\;\;\;\left(\left(b \cdot t\right) \cdot z\right) \cdot \left(-a\right)\\ \mathbf{elif}\;y3 \leq 6.2 \cdot 10^{+126}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y3 \cdot y1\right) \cdot z\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                                                                                                                                                    Alternative 32: 22.0% accurate, 5.9× speedup?

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

                                                                                                                                                                                                                                                                                      1. Initial program 17.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 rewrites40.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 y4 around inf

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

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

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

                                                                                                                                                                                                                                                                                            \[\leadsto \left(\left(k \cdot y2\right) \cdot y4\right) \cdot y1 \]

                                                                                                                                                                                                                                                                                          if -2.79999999999999993e178 < y2 < -3.60000000000000032e-151

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                              if -3.60000000000000032e-151 < y2 < 1.7e-33

                                                                                                                                                                                                                                                                                              1. Initial program 31.2%

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                      \[\leadsto \left(\left(a \cdot z\right) \cdot y3\right) \cdot y1 \]

                                                                                                                                                                                                                                                                                                    if 1.7e-33 < y2

                                                                                                                                                                                                                                                                                                    1. Initial program 33.9%

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

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

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

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

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

                                                                                                                                                                                                                                                                                                          \[\leadsto \left(x \cdot \left(y0 \cdot y2\right)\right) \cdot c \]
                                                                                                                                                                                                                                                                                                      4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                      5. Final simplification32.7%

                                                                                                                                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.8 \cdot 10^{+178}:\\ \;\;\;\;\left(\left(y2 \cdot k\right) \cdot y4\right) \cdot y1\\ \mathbf{elif}\;y2 \leq -3.6 \cdot 10^{-151}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{elif}\;y2 \leq 1.7 \cdot 10^{-33}:\\ \;\;\;\;\left(\left(a \cdot z\right) \cdot y3\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y2 \cdot y0\right) \cdot x\right) \cdot c\\ \end{array} \]
                                                                                                                                                                                                                                                                                                      6. Add Preprocessing

                                                                                                                                                                                                                                                                                                      Alternative 33: 22.7% accurate, 7.2× speedup?

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                            if -4.60000000000000004e111 < y3 < 6.2e126

                                                                                                                                                                                                                                                                                                            1. Initial program 34.2%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -4.6 \cdot 10^{+111}:\\ \;\;\;\;\left(\left(y3 \cdot y1\right) \cdot z\right) \cdot a\\ \mathbf{elif}\;y3 \leq 6.2 \cdot 10^{+126}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y3 \cdot y1\right) \cdot z\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                                                                                                                              Alternative 34: 16.9% accurate, 9.2× speedup?

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

                                                                                                                                                                                                                                                                                                                1. Initial program 33.3%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(\left(a \cdot z\right) \cdot y3\right) \cdot y1 \]

                                                                                                                                                                                                                                                                                                                      if 3.8999999999999997e-284 < y0

                                                                                                                                                                                                                                                                                                                      1. Initial program 31.0%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \left(\left(y1 \cdot y3\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                                                                                                                        4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                        5. Final simplification21.7%

                                                                                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y0 \leq 3.9 \cdot 10^{-284}:\\ \;\;\;\;\left(\left(a \cdot z\right) \cdot y3\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y3 \cdot y1\right) \cdot z\right) \cdot a\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                        Alternative 35: 16.8% accurate, 12.6× speedup?

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(\left(y1 \cdot y3\right) \cdot \color{blue}{z}\right) \]
                                                                                                                                                                                                                                                                                                                            2. Final simplification19.3%

                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(\left(y3 \cdot y1\right) \cdot z\right) \cdot a \]
                                                                                                                                                                                                                                                                                                                            3. Add Preprocessing

                                                                                                                                                                                                                                                                                                                            Developer Target 1: 28.4% 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 2024270 
                                                                                                                                                                                                                                                                                                                            (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)))))