Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.7% → 44.3%
Time: 28.6s
Alternatives: 30
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 30 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.7% 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: 44.3% accurate, 1.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot a - i \cdot c\\ t_2 := y4 \cdot y1 - y5 \cdot y0\\ t_3 := y4 \cdot c - y5 \cdot a\\ t_4 := j \cdot x - k \cdot z\\ t_5 := y0 \cdot b - y1 \cdot i\\ t_6 := y0 \cdot c - y1 \cdot a\\ t_7 := \mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(t\_6, x, \left(-t\right) \cdot t\_3\right)\right) \cdot y2\\ \mathbf{if}\;y2 \leq -3.2 \cdot 10^{+194}:\\ \;\;\;\;t\_7\\ \mathbf{elif}\;y2 \leq -1.7 \cdot 10^{+114}:\\ \;\;\;\;\left(j \cdot t\right) \cdot \mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot t\_2\\ \mathbf{elif}\;y2 \leq -225:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot t\_4\right)\right) \cdot b\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-43}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\\ \mathbf{elif}\;y2 \leq -5.5 \cdot 10^{-236}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(t\_1, x, t\_3 \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y2 \leq 3.3 \cdot 10^{-261}:\\ \;\;\;\;\mathsf{fma}\left(\left(-b\right) \cdot a + i \cdot c, t, \mathsf{fma}\left(-y3, t\_6, t\_5 \cdot k\right)\right) \cdot z\\ \mathbf{elif}\;y2 \leq 7.1 \cdot 10^{-112}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(t\_6, y2, \left(-j\right) \cdot t\_5\right)\right) \cdot x\\ \mathbf{elif}\;y2 \leq 4.6 \cdot 10^{+106}:\\ \;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, t\_4 \cdot i\right)\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;t\_7\\ \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 (- (* b a) (* i c)))
        (t_2 (- (* y4 y1) (* y5 y0)))
        (t_3 (- (* y4 c) (* y5 a)))
        (t_4 (- (* j x) (* k z)))
        (t_5 (- (* y0 b) (* y1 i)))
        (t_6 (- (* y0 c) (* y1 a)))
        (t_7 (* (fma t_2 k (fma t_6 x (* (- t) t_3))) y2)))
   (if (<= y2 -3.2e+194)
     t_7
     (if (<= y2 -1.7e+114)
       (+ (* (* j t) (fma b y4 (* (- i) y5))) (* (- (* k y2) (* j y3)) t_2))
       (if (<= y2 -225.0)
         (*
          (fma
           (- (* y x) (* t z))
           a
           (fma (- (* j t) (* k y)) y4 (* (- y0) t_4)))
          b)
         (if (<= y2 -1.15e-43)
           (* (* i y1) (fma j x (* (- k) z)))
           (if (<= y2 -5.5e-236)
             (* (fma (+ (* y4 (- b)) (* y5 i)) k (fma t_1 x (* t_3 y3))) y)
             (if (<= y2 3.3e-261)
               (* (fma (+ (* (- b) a) (* i c)) t (fma (- y3) t_6 (* t_5 k))) z)
               (if (<= y2 7.1e-112)
                 (* (fma t_1 y (fma t_6 y2 (* (- j) t_5))) x)
                 (if (<= y2 4.6e+106)
                   (*
                    (fma
                     (+ (* y2 (- x)) (* y3 z))
                     a
                     (fma (- (* y2 k) (* y3 j)) y4 (* t_4 i)))
                    y1)
                   t_7))))))))))
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 = (b * a) - (i * c);
	double t_2 = (y4 * y1) - (y5 * y0);
	double t_3 = (y4 * c) - (y5 * a);
	double t_4 = (j * x) - (k * z);
	double t_5 = (y0 * b) - (y1 * i);
	double t_6 = (y0 * c) - (y1 * a);
	double t_7 = fma(t_2, k, fma(t_6, x, (-t * t_3))) * y2;
	double tmp;
	if (y2 <= -3.2e+194) {
		tmp = t_7;
	} else if (y2 <= -1.7e+114) {
		tmp = ((j * t) * fma(b, y4, (-i * y5))) + (((k * y2) - (j * y3)) * t_2);
	} else if (y2 <= -225.0) {
		tmp = fma(((y * x) - (t * z)), a, fma(((j * t) - (k * y)), y4, (-y0 * t_4))) * b;
	} else if (y2 <= -1.15e-43) {
		tmp = (i * y1) * fma(j, x, (-k * z));
	} else if (y2 <= -5.5e-236) {
		tmp = fma(((y4 * -b) + (y5 * i)), k, fma(t_1, x, (t_3 * y3))) * y;
	} else if (y2 <= 3.3e-261) {
		tmp = fma(((-b * a) + (i * c)), t, fma(-y3, t_6, (t_5 * k))) * z;
	} else if (y2 <= 7.1e-112) {
		tmp = fma(t_1, y, fma(t_6, y2, (-j * t_5))) * x;
	} else if (y2 <= 4.6e+106) {
		tmp = fma(((y2 * -x) + (y3 * z)), a, fma(((y2 * k) - (y3 * j)), y4, (t_4 * i))) * y1;
	} else {
		tmp = t_7;
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = Float64(Float64(b * a) - Float64(i * c))
	t_2 = Float64(Float64(y4 * y1) - Float64(y5 * y0))
	t_3 = Float64(Float64(y4 * c) - Float64(y5 * a))
	t_4 = Float64(Float64(j * x) - Float64(k * z))
	t_5 = Float64(Float64(y0 * b) - Float64(y1 * i))
	t_6 = Float64(Float64(y0 * c) - Float64(y1 * a))
	t_7 = Float64(fma(t_2, k, fma(t_6, x, Float64(Float64(-t) * t_3))) * y2)
	tmp = 0.0
	if (y2 <= -3.2e+194)
		tmp = t_7;
	elseif (y2 <= -1.7e+114)
		tmp = Float64(Float64(Float64(j * t) * fma(b, y4, Float64(Float64(-i) * y5))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_2));
	elseif (y2 <= -225.0)
		tmp = Float64(fma(Float64(Float64(y * x) - Float64(t * z)), a, fma(Float64(Float64(j * t) - Float64(k * y)), y4, Float64(Float64(-y0) * t_4))) * b);
	elseif (y2 <= -1.15e-43)
		tmp = Float64(Float64(i * y1) * fma(j, x, Float64(Float64(-k) * z)));
	elseif (y2 <= -5.5e-236)
		tmp = Float64(fma(Float64(Float64(y4 * Float64(-b)) + Float64(y5 * i)), k, fma(t_1, x, Float64(t_3 * y3))) * y);
	elseif (y2 <= 3.3e-261)
		tmp = Float64(fma(Float64(Float64(Float64(-b) * a) + Float64(i * c)), t, fma(Float64(-y3), t_6, Float64(t_5 * k))) * z);
	elseif (y2 <= 7.1e-112)
		tmp = Float64(fma(t_1, y, fma(t_6, y2, Float64(Float64(-j) * t_5))) * x);
	elseif (y2 <= 4.6e+106)
		tmp = Float64(fma(Float64(Float64(y2 * Float64(-x)) + Float64(y3 * z)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(t_4 * i))) * y1);
	else
		tmp = t_7;
	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 * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$7 = N[(N[(t$95$2 * k + N[(t$95$6 * x + N[((-t) * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]}, If[LessEqual[y2, -3.2e+194], t$95$7, If[LessEqual[y2, -1.7e+114], N[(N[(N[(j * t), $MachinePrecision] * N[(b * y4 + N[((-i) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -225.0], N[(N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * y4 + N[((-y0) * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y2, -1.15e-43], N[(N[(i * y1), $MachinePrecision] * N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -5.5e-236], N[(N[(N[(N[(y4 * (-b)), $MachinePrecision] + N[(y5 * i), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(t$95$3 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y2, 3.3e-261], N[(N[(N[(N[((-b) * a), $MachinePrecision] + N[(i * c), $MachinePrecision]), $MachinePrecision] * t + N[((-y3) * t$95$6 + N[(t$95$5 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y2, 7.1e-112], N[(N[(t$95$1 * y + N[(t$95$6 * y2 + N[((-j) * t$95$5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y2, 4.6e+106], N[(N[(N[(N[(y2 * (-x)), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(t$95$4 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], t$95$7]]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := b \cdot a - i \cdot c\\
t_2 := y4 \cdot y1 - y5 \cdot y0\\
t_3 := y4 \cdot c - y5 \cdot a\\
t_4 := j \cdot x - k \cdot z\\
t_5 := y0 \cdot b - y1 \cdot i\\
t_6 := y0 \cdot c - y1 \cdot a\\
t_7 := \mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(t\_6, x, \left(-t\right) \cdot t\_3\right)\right) \cdot y2\\
\mathbf{if}\;y2 \leq -3.2 \cdot 10^{+194}:\\
\;\;\;\;t\_7\\

\mathbf{elif}\;y2 \leq -1.7 \cdot 10^{+114}:\\
\;\;\;\;\left(j \cdot t\right) \cdot \mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot t\_2\\

\mathbf{elif}\;y2 \leq -225:\\
\;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot t\_4\right)\right) \cdot b\\

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

\mathbf{elif}\;y2 \leq -5.5 \cdot 10^{-236}:\\
\;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(t\_1, x, t\_3 \cdot y3\right)\right) \cdot y\\

\mathbf{elif}\;y2 \leq 3.3 \cdot 10^{-261}:\\
\;\;\;\;\mathsf{fma}\left(\left(-b\right) \cdot a + i \cdot c, t, \mathsf{fma}\left(-y3, t\_6, t\_5 \cdot k\right)\right) \cdot z\\

\mathbf{elif}\;y2 \leq 7.1 \cdot 10^{-112}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(t\_6, y2, \left(-j\right) \cdot t\_5\right)\right) \cdot x\\

\mathbf{elif}\;y2 \leq 4.6 \cdot 10^{+106}:\\
\;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, t\_4 \cdot i\right)\right) \cdot y1\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y2 < -3.20000000000000021e194 or 4.6000000000000004e106 < y2

    1. Initial program 26.4%

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

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

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

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

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

    if -3.20000000000000021e194 < y2 < -1.7e114

    1. Initial program 33.6%

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

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

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

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

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

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

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

      if -1.7e114 < y2 < -225

      1. Initial program 24.1%

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

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

        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
      6. Taylor expanded in i around inf

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

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

        if -1.1499999999999999e-43 < y2 < -5.49999999999999959e-236

        1. Initial program 44.1%

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

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

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

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

          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]

        if -5.49999999999999959e-236 < y2 < 3.2999999999999998e-261

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

          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]

        if 3.2999999999999998e-261 < y2 < 7.09999999999999957e-112

        1. Initial program 32.4%

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

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

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

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

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

        if 7.09999999999999957e-112 < y2 < 4.6000000000000004e106

        1. Initial program 37.8%

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

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

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

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

          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
      8. Recombined 8 regimes into one program.
      9. Final simplification65.8%

        \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -3.2 \cdot 10^{+194}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2\\ \mathbf{elif}\;y2 \leq -1.7 \cdot 10^{+114}:\\ \;\;\;\;\left(j \cdot t\right) \cdot \mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\ \mathbf{elif}\;y2 \leq -225:\\ \;\;\;\;\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\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-43}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\\ \mathbf{elif}\;y2 \leq -5.5 \cdot 10^{-236}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, 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 3.3 \cdot 10^{-261}:\\ \;\;\;\;\mathsf{fma}\left(\left(-b\right) \cdot a + i \cdot c, 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}\;y2 \leq 7.1 \cdot 10^{-112}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\ \mathbf{elif}\;y2 \leq 4.6 \cdot 10^{+106}:\\ \;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2\\ \end{array} \]
      10. Add Preprocessing

      Alternative 2: 55.8% accurate, 0.5× speedup?

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

          \[\leadsto \color{blue}{\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2} \]
      3. Recombined 2 regimes into one program.
      4. Add Preprocessing

      Alternative 3: 43.9% accurate, 1.8× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot a - i \cdot c\\ t_2 := y4 \cdot y1 - y5 \cdot y0\\ t_3 := y4 \cdot c - y5 \cdot a\\ t_4 := j \cdot x - k \cdot z\\ t_5 := y0 \cdot c - y1 \cdot a\\ t_6 := \mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(t\_5, x, \left(-t\right) \cdot t\_3\right)\right) \cdot y2\\ t_7 := \mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot t\_4\right)\right) \cdot b\\ \mathbf{if}\;y2 \leq -3.2 \cdot 10^{+194}:\\ \;\;\;\;t\_6\\ \mathbf{elif}\;y2 \leq -1.7 \cdot 10^{+114}:\\ \;\;\;\;\left(j \cdot t\right) \cdot \mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot t\_2\\ \mathbf{elif}\;y2 \leq -225:\\ \;\;\;\;t\_7\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-43}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\\ \mathbf{elif}\;y2 \leq -1.25 \cdot 10^{-218}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(t\_1, x, t\_3 \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{-283}:\\ \;\;\;\;t\_7\\ \mathbf{elif}\;y2 \leq 7.1 \cdot 10^{-112}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(t\_5, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\ \mathbf{elif}\;y2 \leq 4.6 \cdot 10^{+106}:\\ \;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, t\_4 \cdot i\right)\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;t\_6\\ \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 (- (* b a) (* i c)))
              (t_2 (- (* y4 y1) (* y5 y0)))
              (t_3 (- (* y4 c) (* y5 a)))
              (t_4 (- (* j x) (* k z)))
              (t_5 (- (* y0 c) (* y1 a)))
              (t_6 (* (fma t_2 k (fma t_5 x (* (- t) t_3))) y2))
              (t_7
               (*
                (fma
                 (- (* y x) (* t z))
                 a
                 (fma (- (* j t) (* k y)) y4 (* (- y0) t_4)))
                b)))
         (if (<= y2 -3.2e+194)
           t_6
           (if (<= y2 -1.7e+114)
             (+ (* (* j t) (fma b y4 (* (- i) y5))) (* (- (* k y2) (* j y3)) t_2))
             (if (<= y2 -225.0)
               t_7
               (if (<= y2 -1.15e-43)
                 (* (* i y1) (fma j x (* (- k) z)))
                 (if (<= y2 -1.25e-218)
                   (* (fma (+ (* y4 (- b)) (* y5 i)) k (fma t_1 x (* t_3 y3))) y)
                   (if (<= y2 7.5e-283)
                     t_7
                     (if (<= y2 7.1e-112)
                       (* (fma t_1 y (fma t_5 y2 (* (- j) (- (* y0 b) (* y1 i))))) x)
                       (if (<= y2 4.6e+106)
                         (*
                          (fma
                           (+ (* y2 (- x)) (* y3 z))
                           a
                           (fma (- (* y2 k) (* y3 j)) y4 (* t_4 i)))
                          y1)
                         t_6))))))))))
      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 = (b * a) - (i * c);
      	double t_2 = (y4 * y1) - (y5 * y0);
      	double t_3 = (y4 * c) - (y5 * a);
      	double t_4 = (j * x) - (k * z);
      	double t_5 = (y0 * c) - (y1 * a);
      	double t_6 = fma(t_2, k, fma(t_5, x, (-t * t_3))) * y2;
      	double t_7 = fma(((y * x) - (t * z)), a, fma(((j * t) - (k * y)), y4, (-y0 * t_4))) * b;
      	double tmp;
      	if (y2 <= -3.2e+194) {
      		tmp = t_6;
      	} else if (y2 <= -1.7e+114) {
      		tmp = ((j * t) * fma(b, y4, (-i * y5))) + (((k * y2) - (j * y3)) * t_2);
      	} else if (y2 <= -225.0) {
      		tmp = t_7;
      	} else if (y2 <= -1.15e-43) {
      		tmp = (i * y1) * fma(j, x, (-k * z));
      	} else if (y2 <= -1.25e-218) {
      		tmp = fma(((y4 * -b) + (y5 * i)), k, fma(t_1, x, (t_3 * y3))) * y;
      	} else if (y2 <= 7.5e-283) {
      		tmp = t_7;
      	} else if (y2 <= 7.1e-112) {
      		tmp = fma(t_1, y, fma(t_5, y2, (-j * ((y0 * b) - (y1 * i))))) * x;
      	} else if (y2 <= 4.6e+106) {
      		tmp = fma(((y2 * -x) + (y3 * z)), a, fma(((y2 * k) - (y3 * j)), y4, (t_4 * i))) * y1;
      	} else {
      		tmp = t_6;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
      	t_1 = Float64(Float64(b * a) - Float64(i * c))
      	t_2 = Float64(Float64(y4 * y1) - Float64(y5 * y0))
      	t_3 = Float64(Float64(y4 * c) - Float64(y5 * a))
      	t_4 = Float64(Float64(j * x) - Float64(k * z))
      	t_5 = Float64(Float64(y0 * c) - Float64(y1 * a))
      	t_6 = Float64(fma(t_2, k, fma(t_5, x, Float64(Float64(-t) * t_3))) * y2)
      	t_7 = Float64(fma(Float64(Float64(y * x) - Float64(t * z)), a, fma(Float64(Float64(j * t) - Float64(k * y)), y4, Float64(Float64(-y0) * t_4))) * b)
      	tmp = 0.0
      	if (y2 <= -3.2e+194)
      		tmp = t_6;
      	elseif (y2 <= -1.7e+114)
      		tmp = Float64(Float64(Float64(j * t) * fma(b, y4, Float64(Float64(-i) * y5))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * t_2));
      	elseif (y2 <= -225.0)
      		tmp = t_7;
      	elseif (y2 <= -1.15e-43)
      		tmp = Float64(Float64(i * y1) * fma(j, x, Float64(Float64(-k) * z)));
      	elseif (y2 <= -1.25e-218)
      		tmp = Float64(fma(Float64(Float64(y4 * Float64(-b)) + Float64(y5 * i)), k, fma(t_1, x, Float64(t_3 * y3))) * y);
      	elseif (y2 <= 7.5e-283)
      		tmp = t_7;
      	elseif (y2 <= 7.1e-112)
      		tmp = Float64(fma(t_1, y, fma(t_5, y2, Float64(Float64(-j) * Float64(Float64(y0 * b) - Float64(y1 * i))))) * x);
      	elseif (y2 <= 4.6e+106)
      		tmp = Float64(fma(Float64(Float64(y2 * Float64(-x)) + Float64(y3 * z)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(t_4 * i))) * y1);
      	else
      		tmp = t_6;
      	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 * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(t$95$2 * k + N[(t$95$5 * x + N[((-t) * t$95$3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]}, Block[{t$95$7 = 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[((-y0) * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]}, If[LessEqual[y2, -3.2e+194], t$95$6, If[LessEqual[y2, -1.7e+114], N[(N[(N[(j * t), $MachinePrecision] * N[(b * y4 + N[((-i) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -225.0], t$95$7, If[LessEqual[y2, -1.15e-43], N[(N[(i * y1), $MachinePrecision] * N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y2, -1.25e-218], N[(N[(N[(N[(y4 * (-b)), $MachinePrecision] + N[(y5 * i), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(t$95$3 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y2, 7.5e-283], t$95$7, If[LessEqual[y2, 7.1e-112], N[(N[(t$95$1 * y + N[(t$95$5 * y2 + N[((-j) * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y2, 4.6e+106], N[(N[(N[(N[(y2 * (-x)), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y4 + N[(t$95$4 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], t$95$6]]]]]]]]]]]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := b \cdot a - i \cdot c\\
      t_2 := y4 \cdot y1 - y5 \cdot y0\\
      t_3 := y4 \cdot c - y5 \cdot a\\
      t_4 := j \cdot x - k \cdot z\\
      t_5 := y0 \cdot c - y1 \cdot a\\
      t_6 := \mathsf{fma}\left(t\_2, k, \mathsf{fma}\left(t\_5, x, \left(-t\right) \cdot t\_3\right)\right) \cdot y2\\
      t_7 := \mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(j \cdot t - k \cdot y, y4, \left(-y0\right) \cdot t\_4\right)\right) \cdot b\\
      \mathbf{if}\;y2 \leq -3.2 \cdot 10^{+194}:\\
      \;\;\;\;t\_6\\
      
      \mathbf{elif}\;y2 \leq -1.7 \cdot 10^{+114}:\\
      \;\;\;\;\left(j \cdot t\right) \cdot \mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot t\_2\\
      
      \mathbf{elif}\;y2 \leq -225:\\
      \;\;\;\;t\_7\\
      
      \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-43}:\\
      \;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\\
      
      \mathbf{elif}\;y2 \leq -1.25 \cdot 10^{-218}:\\
      \;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(t\_1, x, t\_3 \cdot y3\right)\right) \cdot y\\
      
      \mathbf{elif}\;y2 \leq 7.5 \cdot 10^{-283}:\\
      \;\;\;\;t\_7\\
      
      \mathbf{elif}\;y2 \leq 7.1 \cdot 10^{-112}:\\
      \;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(t\_5, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\
      
      \mathbf{elif}\;y2 \leq 4.6 \cdot 10^{+106}:\\
      \;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, t\_4 \cdot i\right)\right) \cdot y1\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_6\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 7 regimes
      2. if y2 < -3.20000000000000021e194 or 4.6000000000000004e106 < y2

        1. Initial program 26.4%

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

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

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

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

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

        if -3.20000000000000021e194 < y2 < -1.7e114

        1. Initial program 33.6%

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

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

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

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

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

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

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

          if -1.7e114 < y2 < -225 or -1.2500000000000001e-218 < y2 < 7.5000000000000001e-283

          1. Initial program 27.4%

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

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

          if -225 < y2 < -1.1499999999999999e-43

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

            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
          6. Taylor expanded in i around inf

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

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

            if -1.1499999999999999e-43 < y2 < -1.2500000000000001e-218

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]

            if 7.5000000000000001e-283 < y2 < 7.09999999999999957e-112

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

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

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

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

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

            if 7.09999999999999957e-112 < y2 < 4.6000000000000004e106

            1. Initial program 37.8%

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

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

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

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
          8. Recombined 7 regimes into one program.
          9. Final simplification65.7%

            \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -3.2 \cdot 10^{+194}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2\\ \mathbf{elif}\;y2 \leq -1.7 \cdot 10^{+114}:\\ \;\;\;\;\left(j \cdot t\right) \cdot \mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\ \mathbf{elif}\;y2 \leq -225:\\ \;\;\;\;\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\\ \mathbf{elif}\;y2 \leq -1.15 \cdot 10^{-43}:\\ \;\;\;\;\left(i \cdot y1\right) \cdot \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right)\\ \mathbf{elif}\;y2 \leq -1.25 \cdot 10^{-218}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, 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 7.5 \cdot 10^{-283}:\\ \;\;\;\;\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\\ \mathbf{elif}\;y2 \leq 7.1 \cdot 10^{-112}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\ \mathbf{elif}\;y2 \leq 4.6 \cdot 10^{+106}:\\ \;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot y2\\ \end{array} \]
          10. Add Preprocessing

          Alternative 4: 42.3% accurate, 2.3× speedup?

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

            1. Initial program 19.5%

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

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

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

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
            6. Taylor expanded in y3 around inf

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

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

              if -9.999999999999999e258 < y3 < -9.5000000000000002e156

              1. Initial program 36.8%

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

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

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

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

                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
              6. Taylor expanded in y5 around inf

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

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

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

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

                  if -9.5000000000000002e156 < y3 < 4.5999999999999998e-49

                  1. Initial program 33.2%

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

                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]

                  if 4.5999999999999998e-49 < y3 < 6.0000000000000001e188

                  1. Initial program 40.9%

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

                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                4. Recombined 4 regimes into one program.
                5. Final simplification56.7%

                  \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1 \cdot 10^{+259}:\\ \;\;\;\;\left(y3 \cdot \mathsf{fma}\left(-j, y4, a \cdot z\right)\right) \cdot y1\\ \mathbf{elif}\;y3 \leq -9.5 \cdot 10^{+156}:\\ \;\;\;\;\left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y\\ \mathbf{elif}\;y3 \leq 4.6 \cdot 10^{-49}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, 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}\;y3 \leq 6 \cdot 10^{+188}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;\left(y3 \cdot \mathsf{fma}\left(-j, y4, a \cdot z\right)\right) \cdot y1\\ \end{array} \]
                6. Add Preprocessing

                Alternative 5: 46.2% accurate, 2.5× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} t_1 := b \cdot a - i \cdot c\\ t_2 := \mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, 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{if}\;y1 \leq -3.5 \cdot 10^{+79}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y1 \leq -5.6 \cdot 10^{-133}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\ \mathbf{elif}\;y1 \leq 7.8 \cdot 10^{+23}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(t\_1, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \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 (- (* b a) (* i c)))
                        (t_2
                         (*
                          (fma
                           (+ (* y2 (- x)) (* y3 z))
                           a
                           (fma (- (* y2 k) (* y3 j)) y4 (* (- (* j x) (* k z)) i)))
                          y1)))
                   (if (<= y1 -3.5e+79)
                     t_2
                     (if (<= y1 -5.6e-133)
                       (*
                        (fma
                         t_1
                         y
                         (fma (- (* y0 c) (* y1 a)) y2 (* (- j) (- (* y0 b) (* y1 i)))))
                        x)
                       (if (<= y1 7.8e+23)
                         (*
                          (fma
                           (+ (* y4 (- b)) (* y5 i))
                           k
                           (fma t_1 x (* (- (* y4 c) (* y5 a)) y3)))
                          y)
                         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 = (b * a) - (i * c);
                	double t_2 = fma(((y2 * -x) + (y3 * z)), a, fma(((y2 * k) - (y3 * j)), y4, (((j * x) - (k * z)) * i))) * y1;
                	double tmp;
                	if (y1 <= -3.5e+79) {
                		tmp = t_2;
                	} else if (y1 <= -5.6e-133) {
                		tmp = fma(t_1, y, fma(((y0 * c) - (y1 * a)), y2, (-j * ((y0 * b) - (y1 * i))))) * x;
                	} else if (y1 <= 7.8e+23) {
                		tmp = fma(((y4 * -b) + (y5 * i)), k, fma(t_1, x, (((y4 * c) - (y5 * a)) * y3))) * y;
                	} 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(b * a) - Float64(i * c))
                	t_2 = Float64(fma(Float64(Float64(y2 * Float64(-x)) + Float64(y3 * z)), a, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y4, Float64(Float64(Float64(j * x) - Float64(k * z)) * i))) * y1)
                	tmp = 0.0
                	if (y1 <= -3.5e+79)
                		tmp = t_2;
                	elseif (y1 <= -5.6e-133)
                		tmp = Float64(fma(t_1, y, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), y2, Float64(Float64(-j) * Float64(Float64(y0 * b) - Float64(y1 * i))))) * x);
                	elseif (y1 <= 7.8e+23)
                		tmp = Float64(fma(Float64(Float64(y4 * Float64(-b)) + Float64(y5 * i)), k, fma(t_1, x, Float64(Float64(Float64(y4 * c) - Float64(y5 * a)) * y3))) * y);
                	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[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(N[(N[(y2 * (-x)), $MachinePrecision] + N[(y3 * z), $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]}, If[LessEqual[y1, -3.5e+79], t$95$2, If[LessEqual[y1, -5.6e-133], N[(N[(t$95$1 * y + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * y2 + N[((-j) * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y1, 7.8e+23], N[(N[(N[(N[(y4 * (-b)), $MachinePrecision] + N[(y5 * i), $MachinePrecision]), $MachinePrecision] * k + N[(t$95$1 * x + N[(N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision] * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], t$95$2]]]]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                t_1 := b \cdot a - i \cdot c\\
                t_2 := \mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, 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{if}\;y1 \leq -3.5 \cdot 10^{+79}:\\
                \;\;\;\;t\_2\\
                
                \mathbf{elif}\;y1 \leq -5.6 \cdot 10^{-133}:\\
                \;\;\;\;\mathsf{fma}\left(t\_1, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\
                
                \mathbf{elif}\;y1 \leq 7.8 \cdot 10^{+23}:\\
                \;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(t\_1, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\
                
                \mathbf{else}:\\
                \;\;\;\;t\_2\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 3 regimes
                2. if y1 < -3.4999999999999998e79 or 7.8000000000000001e23 < y1

                  1. Initial program 28.1%

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

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

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

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

                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]

                  if -3.4999999999999998e79 < y1 < -5.5999999999999997e-133

                  1. Initial program 23.7%

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

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

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

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

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

                  if -5.5999999999999997e-133 < y1 < 7.8000000000000001e23

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

                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                3. Recombined 3 regimes into one program.
                4. Final simplification56.0%

                  \[\leadsto \begin{array}{l} \mathbf{if}\;y1 \leq -3.5 \cdot 10^{+79}:\\ \;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, 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}\;y1 \leq -5.6 \cdot 10^{-133}:\\ \;\;\;\;\mathsf{fma}\left(b \cdot a - i \cdot c, y, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, y2, \left(-j\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right)\right) \cdot x\\ \mathbf{elif}\;y1 \leq 7.8 \cdot 10^{+23}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot \left(-b\right) + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, a, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y4, \left(j \cdot x - k \cdot z\right) \cdot i\right)\right) \cdot y1\\ \end{array} \]
                5. Add Preprocessing

                Alternative 6: 39.3% accurate, 2.7× speedup?

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

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

                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]

                  if -4.4000000000000001e58 < i < 6.6000000000000003e43

                  1. Initial program 41.7%

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

                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]

                  if 6.6000000000000003e43 < i

                  1. Initial program 23.6%

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

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

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

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

                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                  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 rewrites58.7%

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

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

                  Alternative 7: 34.9% accurate, 2.7× speedup?

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

                    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 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 - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y} \]
                    6. Taylor expanded in y5 around inf

                      \[\leadsto \left(y5 \cdot \left(-1 \cdot \left(a \cdot y3\right) + i \cdot k\right)\right) \cdot y \]
                    7. Step-by-step derivation
                      1. Applied rewrites100.0%

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

                        \[\leadsto \left(y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y \]
                      3. Step-by-step derivation
                        1. Applied rewrites100.0%

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

                        if -4.6000000000000003e286 < y5 < -3.7000000000000001e-291

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

                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]

                        if -3.7000000000000001e-291 < y5 < 1.50000000000000001e-51

                        1. Initial program 24.1%

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

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

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

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

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

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

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

                          if 1.50000000000000001e-51 < y5 < 1.8e151

                          1. Initial program 42.1%

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

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

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

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

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

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

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

                            if 1.8e151 < y5

                            1. Initial program 26.5%

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

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

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

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

                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                            6. Taylor expanded in y5 around inf

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

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

                              \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -4.6 \cdot 10^{+286}:\\ \;\;\;\;\left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y\\ \mathbf{elif}\;y5 \leq -3.7 \cdot 10^{-291}:\\ \;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, 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}\;y5 \leq 1.5 \cdot 10^{-51}:\\ \;\;\;\;\left(y \cdot \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right)\right) \cdot x\\ \mathbf{elif}\;y5 \leq 1.8 \cdot 10^{+151}:\\ \;\;\;\;\left(z \cdot \mathsf{fma}\left(-c, y3, b \cdot k\right)\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;\left(y5 \cdot \mathsf{fma}\left(-a, y3, i \cdot k\right)\right) \cdot y\\ \end{array} \]
                            10. Add Preprocessing

                            Alternative 8: 35.4% accurate, 2.9× speedup?

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

                              1. Initial program 24.1%

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

                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                              6. Taylor expanded in t around inf

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

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

                                if -3.50000000000000014e74 < z < 3.5999999999999999e-43

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

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

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

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

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

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

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

                                  if 3.5999999999999999e-43 < z < 1.10000000000000002e211

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

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

                                    \[\leadsto \left(y1 \cdot \left(-1 \cdot \left(a \cdot y2\right) + i \cdot j\right)\right) \cdot x \]
                                  7. Step-by-step derivation
                                    1. Applied rewrites45.1%

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

                                    if 1.10000000000000002e211 < z

                                    1. Initial program 16.7%

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

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

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

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

                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                    6. Taylor expanded in b around inf

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

                                        \[\leadsto \left(b \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-a, t, k \cdot y0\right)} \]
                                      2. Taylor expanded in t 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 rewrites67.2%

                                          \[\leadsto \left(-a\right) \cdot \left(b \cdot \color{blue}{\left(t \cdot z\right)}\right) \]
                                      4. Recombined 4 regimes into one program.
                                      5. Add Preprocessing

                                      Alternative 9: 35.3% accurate, 3.2× speedup?

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

                                        1. Initial program 24.1%

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

                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                        6. Taylor expanded in t around inf

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

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

                                          if -3.3999999999999999e74 < z < 4.99999999999999977e-163

                                          1. Initial program 41.0%

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

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

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

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

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

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

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

                                            if 4.99999999999999977e-163 < z < 2.59999999999999985e75

                                            1. Initial program 38.8%

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

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

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

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

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

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

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

                                              if 2.59999999999999985e75 < z < 2.39999999999999987e208

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

                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                              6. Taylor expanded in z around inf

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

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

                                                if 2.39999999999999987e208 < z

                                                1. Initial program 15.8%

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

                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                6. Taylor expanded in b around inf

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

                                                    \[\leadsto \left(b \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-a, t, k \cdot y0\right)} \]
                                                  2. Taylor expanded in t 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 rewrites63.6%

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

                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.4 \cdot 10^{+74}:\\ \;\;\;\;\left(t \cdot \mathsf{fma}\left(c, i, \left(-a\right) \cdot b\right)\right) \cdot z\\ \mathbf{elif}\;z \leq 5 \cdot 10^{-163}:\\ \;\;\;\;b \cdot \left(\left(j \cdot t\right) \cdot y4\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\ \mathbf{elif}\;z \leq 2.6 \cdot 10^{+75}:\\ \;\;\;\;\left(i \cdot \mathsf{fma}\left(-c, y, j \cdot y1\right)\right) \cdot x\\ \mathbf{elif}\;z \leq 2.4 \cdot 10^{+208}:\\ \;\;\;\;\mathsf{fma}\left(y2 \cdot \left(-x\right) + y3 \cdot z, y1, \left(\left(-t\right) \cdot z\right) \cdot b\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(-a\right) \cdot \left(b \cdot \left(t \cdot z\right)\right)\\ \end{array} \]
                                                  6. Add Preprocessing

                                                  Alternative 10: 28.1% accurate, 3.7× speedup?

                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\ \mathbf{if}\;c \leq -11000000000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -7.6 \cdot 10^{-29}:\\ \;\;\;\;\left(\left(i \cdot k\right) \cdot y5\right) \cdot y\\ \mathbf{elif}\;c \leq -5 \cdot 10^{-224}:\\ \;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\ \mathbf{elif}\;c \leq 8.2 \cdot 10^{-64}:\\ \;\;\;\;\left(k \cdot z\right) \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\\ \mathbf{elif}\;c \leq 5.4 \cdot 10^{+158}:\\ \;\;\;\;\left(y0 \cdot y2\right) \cdot \mathsf{fma}\left(-k, y5, c \cdot x\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 (* (* c z) (fma (- y0) y3 (* i t)))))
                                                     (if (<= c -11000000000.0)
                                                       t_1
                                                       (if (<= c -7.6e-29)
                                                         (* (* (* i k) y5) y)
                                                         (if (<= c -5e-224)
                                                           (* (* a (* y3 z)) y1)
                                                           (if (<= c 8.2e-64)
                                                             (* (* k z) (fma b y0 (* (- i) y1)))
                                                             (if (<= c 5.4e+158) (* (* y0 y2) (fma (- k) y5 (* c x))) t_1)))))))
                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                  	double t_1 = (c * z) * fma(-y0, y3, (i * t));
                                                  	double tmp;
                                                  	if (c <= -11000000000.0) {
                                                  		tmp = t_1;
                                                  	} else if (c <= -7.6e-29) {
                                                  		tmp = ((i * k) * y5) * y;
                                                  	} else if (c <= -5e-224) {
                                                  		tmp = (a * (y3 * z)) * y1;
                                                  	} else if (c <= 8.2e-64) {
                                                  		tmp = (k * z) * fma(b, y0, (-i * y1));
                                                  	} else if (c <= 5.4e+158) {
                                                  		tmp = (y0 * y2) * fma(-k, y5, (c * x));
                                                  	} else {
                                                  		tmp = t_1;
                                                  	}
                                                  	return tmp;
                                                  }
                                                  
                                                  function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                  	t_1 = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t)))
                                                  	tmp = 0.0
                                                  	if (c <= -11000000000.0)
                                                  		tmp = t_1;
                                                  	elseif (c <= -7.6e-29)
                                                  		tmp = Float64(Float64(Float64(i * k) * y5) * y);
                                                  	elseif (c <= -5e-224)
                                                  		tmp = Float64(Float64(a * Float64(y3 * z)) * y1);
                                                  	elseif (c <= 8.2e-64)
                                                  		tmp = Float64(Float64(k * z) * fma(b, y0, Float64(Float64(-i) * y1)));
                                                  	elseif (c <= 5.4e+158)
                                                  		tmp = Float64(Float64(y0 * y2) * fma(Float64(-k), y5, Float64(c * x)));
                                                  	else
                                                  		tmp = t_1;
                                                  	end
                                                  	return tmp
                                                  end
                                                  
                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(c * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -11000000000.0], t$95$1, If[LessEqual[c, -7.6e-29], N[(N[(N[(i * k), $MachinePrecision] * y5), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[c, -5e-224], N[(N[(a * N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[c, 8.2e-64], N[(N[(k * z), $MachinePrecision] * N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 5.4e+158], N[(N[(y0 * y2), $MachinePrecision] * N[((-k) * y5 + N[(c * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]]
                                                  
                                                  \begin{array}{l}
                                                  
                                                  \\
                                                  \begin{array}{l}
                                                  t_1 := \left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
                                                  \mathbf{if}\;c \leq -11000000000:\\
                                                  \;\;\;\;t\_1\\
                                                  
                                                  \mathbf{elif}\;c \leq -7.6 \cdot 10^{-29}:\\
                                                  \;\;\;\;\left(\left(i \cdot k\right) \cdot y5\right) \cdot y\\
                                                  
                                                  \mathbf{elif}\;c \leq -5 \cdot 10^{-224}:\\
                                                  \;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\
                                                  
                                                  \mathbf{elif}\;c \leq 8.2 \cdot 10^{-64}:\\
                                                  \;\;\;\;\left(k \cdot z\right) \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\\
                                                  
                                                  \mathbf{elif}\;c \leq 5.4 \cdot 10^{+158}:\\
                                                  \;\;\;\;\left(y0 \cdot y2\right) \cdot \mathsf{fma}\left(-k, y5, c \cdot x\right)\\
                                                  
                                                  \mathbf{else}:\\
                                                  \;\;\;\;t\_1\\
                                                  
                                                  
                                                  \end{array}
                                                  \end{array}
                                                  
                                                  Derivation
                                                  1. Split input into 5 regimes
                                                  2. if c < -1.1e10 or 5.39999999999999957e158 < c

                                                    1. Initial program 26.8%

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

                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                    6. Taylor expanded in b around inf

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

                                                        \[\leadsto \left(b \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-a, t, k \cdot y0\right)} \]
                                                      2. 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)} \]
                                                      3. Step-by-step derivation
                                                        1. Applied rewrites42.1%

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

                                                        if -1.1e10 < c < -7.59999999999999951e-29

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

                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                        6. Taylor expanded in y5 around inf

                                                          \[\leadsto \left(y5 \cdot \left(-1 \cdot \left(a \cdot y3\right) + i \cdot k\right)\right) \cdot y \]
                                                        7. Step-by-step derivation
                                                          1. Applied rewrites67.0%

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

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

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

                                                            if -7.59999999999999951e-29 < c < -4.9999999999999999e-224

                                                            1. Initial program 37.8%

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

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

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

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

                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                            6. Taylor expanded in a around inf

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

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

                                                                \[\leadsto \left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1 \]
                                                              3. Step-by-step derivation
                                                                1. Applied rewrites33.6%

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

                                                                if -4.9999999999999999e-224 < c < 8.2000000000000001e-64

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

                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                6. Taylor expanded in k around inf

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

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

                                                                  if 8.2000000000000001e-64 < c < 5.39999999999999957e158

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

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

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

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

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

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

                                                                      \[\leadsto \left(y0 \cdot y2\right) \cdot \color{blue}{\mathsf{fma}\left(-k, y5, c \cdot x\right)} \]
                                                                  8. Recombined 5 regimes into one program.
                                                                  9. Add Preprocessing

                                                                  Alternative 11: 25.5% accurate, 3.7× speedup?

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

                                                                    1. Initial program 26.3%

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

                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                    6. Taylor expanded in b around inf

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

                                                                        \[\leadsto \left(b \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-a, t, k \cdot y0\right)} \]
                                                                      2. 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)} \]
                                                                      3. Step-by-step derivation
                                                                        1. Applied rewrites42.5%

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

                                                                        if -1.1e10 < c < -7.59999999999999951e-29

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

                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                        6. Taylor expanded in y5 around inf

                                                                          \[\leadsto \left(y5 \cdot \left(-1 \cdot \left(a \cdot y3\right) + i \cdot k\right)\right) \cdot y \]
                                                                        7. Step-by-step derivation
                                                                          1. Applied rewrites67.0%

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

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

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

                                                                            if -7.59999999999999951e-29 < c < -5.4999999999999997e-166

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

                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                            6. Taylor expanded in a around inf

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

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

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

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

                                                                                if -5.4999999999999997e-166 < c < -2.5499999999999999e-241

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

                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                6. Taylor expanded in b around inf

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

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

                                                                                  if -2.5499999999999999e-241 < c < 6.4000000000000001e116

                                                                                  1. Initial program 38.1%

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

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

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

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

                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                  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 rewrites36.4%

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

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

                                                                                        \[\leadsto -\left(\left(y1 \cdot z\right) \cdot k\right) \cdot i \]
                                                                                    4. Recombined 5 regimes into one program.
                                                                                    5. Final simplification39.6%

                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -11000000000:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\ \mathbf{elif}\;c \leq -7.6 \cdot 10^{-29}:\\ \;\;\;\;\left(\left(i \cdot k\right) \cdot y5\right) \cdot y\\ \mathbf{elif}\;c \leq -5.5 \cdot 10^{-166}:\\ \;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\ \mathbf{elif}\;c \leq -2.55 \cdot 10^{-241}:\\ \;\;\;\;\left(b \cdot z\right) \cdot \mathsf{fma}\left(-a, t, k \cdot y0\right)\\ \mathbf{elif}\;c \leq 6.4 \cdot 10^{+116}:\\ \;\;\;\;\left(\left(y1 \cdot z\right) \cdot k\right) \cdot \left(-i\right)\\ \mathbf{else}:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\ \end{array} \]
                                                                                    6. Add Preprocessing

                                                                                    Alternative 12: 32.2% accurate, 4.2× speedup?

                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(y5 \cdot \mathsf{fma}\left(-a, y3, i \cdot k\right)\right) \cdot y\\ \mathbf{if}\;y5 \leq -6.5 \cdot 10^{+63}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 3.4 \cdot 10^{-301}:\\ \;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 1.5 \cdot 10^{-51}:\\ \;\;\;\;\left(y \cdot \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right)\right) \cdot x\\ \mathbf{elif}\;y5 \leq 1.8 \cdot 10^{+151}:\\ \;\;\;\;\left(z \cdot \mathsf{fma}\left(-c, y3, b \cdot k\right)\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                    (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                     :precision binary64
                                                                                     (let* ((t_1 (* (* y5 (fma (- a) y3 (* i k))) y)))
                                                                                       (if (<= y5 -6.5e+63)
                                                                                         t_1
                                                                                         (if (<= y5 3.4e-301)
                                                                                           (* k (* y1 (fma (- i) z (* y2 y4))))
                                                                                           (if (<= y5 1.5e-51)
                                                                                             (* (* y (fma a b (* (- c) i))) x)
                                                                                             (if (<= y5 1.8e+151) (* (* z (fma (- c) y3 (* b k))) y0) t_1))))))
                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                    	double t_1 = (y5 * fma(-a, y3, (i * k))) * y;
                                                                                    	double tmp;
                                                                                    	if (y5 <= -6.5e+63) {
                                                                                    		tmp = t_1;
                                                                                    	} else if (y5 <= 3.4e-301) {
                                                                                    		tmp = k * (y1 * fma(-i, z, (y2 * y4)));
                                                                                    	} else if (y5 <= 1.5e-51) {
                                                                                    		tmp = (y * fma(a, b, (-c * i))) * x;
                                                                                    	} else if (y5 <= 1.8e+151) {
                                                                                    		tmp = (z * fma(-c, y3, (b * k))) * y0;
                                                                                    	} else {
                                                                                    		tmp = t_1;
                                                                                    	}
                                                                                    	return tmp;
                                                                                    }
                                                                                    
                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                    	t_1 = Float64(Float64(y5 * fma(Float64(-a), y3, Float64(i * k))) * y)
                                                                                    	tmp = 0.0
                                                                                    	if (y5 <= -6.5e+63)
                                                                                    		tmp = t_1;
                                                                                    	elseif (y5 <= 3.4e-301)
                                                                                    		tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4))));
                                                                                    	elseif (y5 <= 1.5e-51)
                                                                                    		tmp = Float64(Float64(y * fma(a, b, Float64(Float64(-c) * i))) * x);
                                                                                    	elseif (y5 <= 1.8e+151)
                                                                                    		tmp = Float64(Float64(z * fma(Float64(-c), y3, Float64(b * k))) * y0);
                                                                                    	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[(y5 * N[((-a) * y3 + N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[y5, -6.5e+63], t$95$1, If[LessEqual[y5, 3.4e-301], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 1.5e-51], N[(N[(y * N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y5, 1.8e+151], N[(N[(z * N[((-c) * y3 + N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], t$95$1]]]]]
                                                                                    
                                                                                    \begin{array}{l}
                                                                                    
                                                                                    \\
                                                                                    \begin{array}{l}
                                                                                    t_1 := \left(y5 \cdot \mathsf{fma}\left(-a, y3, i \cdot k\right)\right) \cdot y\\
                                                                                    \mathbf{if}\;y5 \leq -6.5 \cdot 10^{+63}:\\
                                                                                    \;\;\;\;t\_1\\
                                                                                    
                                                                                    \mathbf{elif}\;y5 \leq 3.4 \cdot 10^{-301}:\\
                                                                                    \;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
                                                                                    
                                                                                    \mathbf{elif}\;y5 \leq 1.5 \cdot 10^{-51}:\\
                                                                                    \;\;\;\;\left(y \cdot \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right)\right) \cdot x\\
                                                                                    
                                                                                    \mathbf{elif}\;y5 \leq 1.8 \cdot 10^{+151}:\\
                                                                                    \;\;\;\;\left(z \cdot \mathsf{fma}\left(-c, y3, b \cdot k\right)\right) \cdot y0\\
                                                                                    
                                                                                    \mathbf{else}:\\
                                                                                    \;\;\;\;t\_1\\
                                                                                    
                                                                                    
                                                                                    \end{array}
                                                                                    \end{array}
                                                                                    
                                                                                    Derivation
                                                                                    1. Split input into 4 regimes
                                                                                    2. if y5 < -6.49999999999999992e63 or 1.8e151 < y5

                                                                                      1. Initial program 28.9%

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

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

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

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

                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                      6. Taylor expanded in y5 around inf

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

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

                                                                                        if -6.49999999999999992e63 < y5 < 3.4000000000000002e-301

                                                                                        1. Initial program 39.1%

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

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

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

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

                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                        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 3.4000000000000002e-301 < y5 < 1.50000000000000001e-51

                                                                                          1. Initial program 22.6%

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

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

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

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

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

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

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

                                                                                            if 1.50000000000000001e-51 < y5 < 1.8e151

                                                                                            1. Initial program 42.1%

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

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

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

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

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

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

                                                                                                \[\leadsto \left(z \cdot \mathsf{fma}\left(-c, y3, b \cdot k\right)\right) \cdot y0 \]
                                                                                            8. Recombined 4 regimes into one program.
                                                                                            9. Add Preprocessing

                                                                                            Alternative 13: 32.5% accurate, 4.2× speedup?

                                                                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(y5 \cdot \mathsf{fma}\left(-a, y3, i \cdot k\right)\right) \cdot y\\ \mathbf{if}\;y5 \leq -6.5 \cdot 10^{+63}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 1.05 \cdot 10^{-285}:\\ \;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\ \mathbf{elif}\;y5 \leq 9 \cdot 10^{-89}:\\ \;\;\;\;\left(t \cdot \mathsf{fma}\left(c, i, \left(-a\right) \cdot b\right)\right) \cdot z\\ \mathbf{elif}\;y5 \leq 1.8 \cdot 10^{+151}:\\ \;\;\;\;\left(z \cdot \mathsf{fma}\left(-c, y3, b \cdot k\right)\right) \cdot y0\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                             :precision binary64
                                                                                             (let* ((t_1 (* (* y5 (fma (- a) y3 (* i k))) y)))
                                                                                               (if (<= y5 -6.5e+63)
                                                                                                 t_1
                                                                                                 (if (<= y5 1.05e-285)
                                                                                                   (* k (* y1 (fma (- i) z (* y2 y4))))
                                                                                                   (if (<= y5 9e-89)
                                                                                                     (* (* t (fma c i (* (- a) b))) z)
                                                                                                     (if (<= y5 1.8e+151) (* (* z (fma (- c) y3 (* b k))) y0) t_1))))))
                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                            	double t_1 = (y5 * fma(-a, y3, (i * k))) * y;
                                                                                            	double tmp;
                                                                                            	if (y5 <= -6.5e+63) {
                                                                                            		tmp = t_1;
                                                                                            	} else if (y5 <= 1.05e-285) {
                                                                                            		tmp = k * (y1 * fma(-i, z, (y2 * y4)));
                                                                                            	} else if (y5 <= 9e-89) {
                                                                                            		tmp = (t * fma(c, i, (-a * b))) * z;
                                                                                            	} else if (y5 <= 1.8e+151) {
                                                                                            		tmp = (z * fma(-c, y3, (b * k))) * y0;
                                                                                            	} else {
                                                                                            		tmp = t_1;
                                                                                            	}
                                                                                            	return tmp;
                                                                                            }
                                                                                            
                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                            	t_1 = Float64(Float64(y5 * fma(Float64(-a), y3, Float64(i * k))) * y)
                                                                                            	tmp = 0.0
                                                                                            	if (y5 <= -6.5e+63)
                                                                                            		tmp = t_1;
                                                                                            	elseif (y5 <= 1.05e-285)
                                                                                            		tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4))));
                                                                                            	elseif (y5 <= 9e-89)
                                                                                            		tmp = Float64(Float64(t * fma(c, i, Float64(Float64(-a) * b))) * z);
                                                                                            	elseif (y5 <= 1.8e+151)
                                                                                            		tmp = Float64(Float64(z * fma(Float64(-c), y3, Float64(b * k))) * y0);
                                                                                            	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[(y5 * N[((-a) * y3 + N[(i * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[y5, -6.5e+63], t$95$1, If[LessEqual[y5, 1.05e-285], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 9e-89], N[(N[(t * N[(c * i + N[((-a) * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], If[LessEqual[y5, 1.8e+151], N[(N[(z * N[((-c) * y3 + N[(b * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision], t$95$1]]]]]
                                                                                            
                                                                                            \begin{array}{l}
                                                                                            
                                                                                            \\
                                                                                            \begin{array}{l}
                                                                                            t_1 := \left(y5 \cdot \mathsf{fma}\left(-a, y3, i \cdot k\right)\right) \cdot y\\
                                                                                            \mathbf{if}\;y5 \leq -6.5 \cdot 10^{+63}:\\
                                                                                            \;\;\;\;t\_1\\
                                                                                            
                                                                                            \mathbf{elif}\;y5 \leq 1.05 \cdot 10^{-285}:\\
                                                                                            \;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
                                                                                            
                                                                                            \mathbf{elif}\;y5 \leq 9 \cdot 10^{-89}:\\
                                                                                            \;\;\;\;\left(t \cdot \mathsf{fma}\left(c, i, \left(-a\right) \cdot b\right)\right) \cdot z\\
                                                                                            
                                                                                            \mathbf{elif}\;y5 \leq 1.8 \cdot 10^{+151}:\\
                                                                                            \;\;\;\;\left(z \cdot \mathsf{fma}\left(-c, y3, b \cdot k\right)\right) \cdot y0\\
                                                                                            
                                                                                            \mathbf{else}:\\
                                                                                            \;\;\;\;t\_1\\
                                                                                            
                                                                                            
                                                                                            \end{array}
                                                                                            \end{array}
                                                                                            
                                                                                            Derivation
                                                                                            1. Split input into 4 regimes
                                                                                            2. if y5 < -6.49999999999999992e63 or 1.8e151 < y5

                                                                                              1. Initial program 28.9%

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

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

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

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

                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                              6. Taylor expanded in y5 around inf

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

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

                                                                                                if -6.49999999999999992e63 < y5 < 1.04999999999999992e-285

                                                                                                1. Initial program 40.9%

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

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

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

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

                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                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 rewrites42.8%

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

                                                                                                  if 1.04999999999999992e-285 < y5 < 8.9999999999999998e-89

                                                                                                  1. Initial program 16.7%

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

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

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

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

                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                  6. Taylor expanded in t around inf

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

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

                                                                                                    if 8.9999999999999998e-89 < y5 < 1.8e151

                                                                                                    1. Initial program 39.9%

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

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

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

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

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

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

                                                                                                        \[\leadsto \left(z \cdot \mathsf{fma}\left(-c, y3, b \cdot k\right)\right) \cdot y0 \]
                                                                                                    8. Recombined 4 regimes into one program.
                                                                                                    9. Add Preprocessing

                                                                                                    Alternative 14: 28.2% accurate, 4.2× speedup?

                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\ \mathbf{if}\;c \leq -11000000000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;c \leq -7.6 \cdot 10^{-29}:\\ \;\;\;\;\left(\left(i \cdot k\right) \cdot y5\right) \cdot y\\ \mathbf{elif}\;c \leq -5 \cdot 10^{-224}:\\ \;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\ \mathbf{elif}\;c \leq 6.4 \cdot 10^{+116}:\\ \;\;\;\;\left(k \cdot z\right) \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\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 (* (* c z) (fma (- y0) y3 (* i t)))))
                                                                                                       (if (<= c -11000000000.0)
                                                                                                         t_1
                                                                                                         (if (<= c -7.6e-29)
                                                                                                           (* (* (* i k) y5) y)
                                                                                                           (if (<= c -5e-224)
                                                                                                             (* (* a (* y3 z)) y1)
                                                                                                             (if (<= c 6.4e+116) (* (* k z) (fma b y0 (* (- 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 = (c * z) * fma(-y0, y3, (i * t));
                                                                                                    	double tmp;
                                                                                                    	if (c <= -11000000000.0) {
                                                                                                    		tmp = t_1;
                                                                                                    	} else if (c <= -7.6e-29) {
                                                                                                    		tmp = ((i * k) * y5) * y;
                                                                                                    	} else if (c <= -5e-224) {
                                                                                                    		tmp = (a * (y3 * z)) * y1;
                                                                                                    	} else if (c <= 6.4e+116) {
                                                                                                    		tmp = (k * z) * fma(b, y0, (-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(c * z) * fma(Float64(-y0), y3, Float64(i * t)))
                                                                                                    	tmp = 0.0
                                                                                                    	if (c <= -11000000000.0)
                                                                                                    		tmp = t_1;
                                                                                                    	elseif (c <= -7.6e-29)
                                                                                                    		tmp = Float64(Float64(Float64(i * k) * y5) * y);
                                                                                                    	elseif (c <= -5e-224)
                                                                                                    		tmp = Float64(Float64(a * Float64(y3 * z)) * y1);
                                                                                                    	elseif (c <= 6.4e+116)
                                                                                                    		tmp = Float64(Float64(k * z) * fma(b, y0, Float64(Float64(-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[(c * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[c, -11000000000.0], t$95$1, If[LessEqual[c, -7.6e-29], N[(N[(N[(i * k), $MachinePrecision] * y5), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[c, -5e-224], N[(N[(a * N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[c, 6.4e+116], N[(N[(k * z), $MachinePrecision] * N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
                                                                                                    
                                                                                                    \begin{array}{l}
                                                                                                    
                                                                                                    \\
                                                                                                    \begin{array}{l}
                                                                                                    t_1 := \left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
                                                                                                    \mathbf{if}\;c \leq -11000000000:\\
                                                                                                    \;\;\;\;t\_1\\
                                                                                                    
                                                                                                    \mathbf{elif}\;c \leq -7.6 \cdot 10^{-29}:\\
                                                                                                    \;\;\;\;\left(\left(i \cdot k\right) \cdot y5\right) \cdot y\\
                                                                                                    
                                                                                                    \mathbf{elif}\;c \leq -5 \cdot 10^{-224}:\\
                                                                                                    \;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\
                                                                                                    
                                                                                                    \mathbf{elif}\;c \leq 6.4 \cdot 10^{+116}:\\
                                                                                                    \;\;\;\;\left(k \cdot z\right) \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\\
                                                                                                    
                                                                                                    \mathbf{else}:\\
                                                                                                    \;\;\;\;t\_1\\
                                                                                                    
                                                                                                    
                                                                                                    \end{array}
                                                                                                    \end{array}
                                                                                                    
                                                                                                    Derivation
                                                                                                    1. Split input into 4 regimes
                                                                                                    2. if c < -1.1e10 or 6.4000000000000001e116 < c

                                                                                                      1. Initial program 26.3%

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

                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                      6. Taylor expanded in b around inf

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

                                                                                                          \[\leadsto \left(b \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-a, t, k \cdot y0\right)} \]
                                                                                                        2. 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)} \]
                                                                                                        3. Step-by-step derivation
                                                                                                          1. Applied rewrites42.5%

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

                                                                                                          if -1.1e10 < c < -7.59999999999999951e-29

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

                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                          6. Taylor expanded in y5 around inf

                                                                                                            \[\leadsto \left(y5 \cdot \left(-1 \cdot \left(a \cdot y3\right) + i \cdot k\right)\right) \cdot y \]
                                                                                                          7. Step-by-step derivation
                                                                                                            1. Applied rewrites67.0%

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

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

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

                                                                                                              if -7.59999999999999951e-29 < c < -4.9999999999999999e-224

                                                                                                              1. Initial program 37.8%

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

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

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

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

                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                              6. Taylor expanded in a around inf

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

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

                                                                                                                  \[\leadsto \left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1 \]
                                                                                                                3. Step-by-step derivation
                                                                                                                  1. Applied rewrites33.6%

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

                                                                                                                  if -4.9999999999999999e-224 < c < 6.4000000000000001e116

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

                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                                  6. Taylor expanded in k around inf

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

                                                                                                                      \[\leadsto \left(k \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)} \]
                                                                                                                  8. Recombined 4 regimes into one program.
                                                                                                                  9. Add Preprocessing

                                                                                                                  Alternative 15: 31.1% accurate, 4.8× speedup?

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

                                                                                                                    1. Initial program 23.1%

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

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

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

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

                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                    6. Taylor expanded in a around inf

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

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

                                                                                                                        \[\leadsto \left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1 \]
                                                                                                                      3. Step-by-step derivation
                                                                                                                        1. Applied rewrites84.7%

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

                                                                                                                        if -5.9000000000000001e258 < y3 < -1.4000000000000001e157 or 9.99999999999999952e73 < y3

                                                                                                                        1. Initial program 29.2%

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

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

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

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

                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                                        6. Taylor expanded in y3 around inf

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

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

                                                                                                                          if -1.4000000000000001e157 < y3 < 9.99999999999999952e73

                                                                                                                          1. Initial program 34.4%

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

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

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

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

                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                          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 rewrites35.8%

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

                                                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -5.9 \cdot 10^{+258}:\\ \;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\ \mathbf{elif}\;y3 \leq -1.4 \cdot 10^{+157} \lor \neg \left(y3 \leq 10^{+74}\right):\\ \;\;\;\;\left(y \cdot y3\right) \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\ \end{array} \]
                                                                                                                          10. Add Preprocessing

                                                                                                                          Alternative 16: 23.8% accurate, 4.8× speedup?

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

                                                                                                                            1. Initial program 27.8%

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

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

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

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

                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                            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 rewrites47.6%

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

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

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

                                                                                                                                if -2.15000000000000003e110 < y2 < -2.69999999999999986e-64

                                                                                                                                1. Initial program 27.9%

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

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

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

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

                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                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.0%

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

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

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

                                                                                                                                    if -2.69999999999999986e-64 < y2 < 1.60000000000000005e-205

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

                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                                                    6. Taylor expanded in b around inf

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

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

                                                                                                                                      if 1.60000000000000005e-205 < y2 < 4.00000000000000036e106

                                                                                                                                      1. Initial program 34.5%

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

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

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

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

                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                      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 rewrites39.2%

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

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

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

                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -2.15 \cdot 10^{+110}:\\ \;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\ \mathbf{elif}\;y2 \leq -2.7 \cdot 10^{-64}:\\ \;\;\;\;k \cdot \left(\left(y1 \cdot z\right) \cdot \left(-i\right)\right)\\ \mathbf{elif}\;y2 \leq 1.6 \cdot 10^{-205}:\\ \;\;\;\;\left(b \cdot z\right) \cdot \mathsf{fma}\left(-a, t, k \cdot y0\right)\\ \mathbf{elif}\;y2 \leq 4 \cdot 10^{+106}:\\ \;\;\;\;\left(\left(y1 \cdot z\right) \cdot k\right) \cdot \left(-i\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\ \end{array} \]
                                                                                                                                        6. Add Preprocessing

                                                                                                                                        Alternative 17: 20.8% accurate, 4.8× speedup?

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

                                                                                                                                          1. Initial program 24.9%

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

                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                                                          6. Taylor expanded in y5 around inf

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

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

                                                                                                                                              \[\leadsto \left(-1 \cdot \left(a \cdot \left(y3 \cdot y5\right)\right)\right) \cdot y \]
                                                                                                                                            3. Step-by-step derivation
                                                                                                                                              1. Applied rewrites54.0%

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

                                                                                                                                              if -4.50000000000000035e205 < a < -1.8e7

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

                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                              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 rewrites48.2%

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

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

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

                                                                                                                                                  if -1.8e7 < a < 1.40000000000000003e-253

                                                                                                                                                  1. Initial program 36.0%

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

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

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

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

                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                                                                  6. Taylor expanded in y5 around inf

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

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

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

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

                                                                                                                                                      if 1.40000000000000003e-253 < a < 4.0000000000000003e50

                                                                                                                                                      1. Initial program 33.2%

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

                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                      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 rewrites28.8%

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

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

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

                                                                                                                                                          if 4.0000000000000003e50 < a

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

                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                                                                          6. Taylor expanded in b around inf

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

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

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

                                                                                                                                                                \[\leadsto \left(b \cdot z\right) \cdot \left(\left(-a\right) \cdot t\right) \]
                                                                                                                                                              2. Step-by-step derivation
                                                                                                                                                                1. Applied rewrites41.6%

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

                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -4.5 \cdot 10^{+205}:\\ \;\;\;\;\left(\left(-a\right) \cdot \left(y3 \cdot y5\right)\right) \cdot y\\ \mathbf{elif}\;a \leq -18000000:\\ \;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\ \mathbf{elif}\;a \leq 1.4 \cdot 10^{-253}:\\ \;\;\;\;\left(\left(i \cdot k\right) \cdot y5\right) \cdot y\\ \mathbf{elif}\;a \leq 4 \cdot 10^{+50}:\\ \;\;\;\;\left(\left(y1 \cdot z\right) \cdot k\right) \cdot \left(-i\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(-a\right) \cdot t\right) \cdot z\right) \cdot b\\ \end{array} \]
                                                                                                                                                              5. Add Preprocessing

                                                                                                                                                              Alternative 18: 21.2% accurate, 4.8× speedup?

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

                                                                                                                                                                1. Initial program 22.9%

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

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

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

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

                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                                                                                6. Taylor expanded in b around inf

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

                                                                                                                                                                    \[\leadsto \left(b \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-a, t, k \cdot y0\right)} \]
                                                                                                                                                                  2. Taylor expanded in t 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 rewrites46.8%

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

                                                                                                                                                                    if -1.6e102 < z < -9.4999999999999999e-107

                                                                                                                                                                    1. Initial program 39.6%

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

                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                    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 rewrites25.0%

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

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

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

                                                                                                                                                                        if -9.4999999999999999e-107 < z < 3.50000000000000023e101

                                                                                                                                                                        1. Initial program 38.7%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                            if 3.50000000000000023e101 < z < 9.19999999999999952e167

                                                                                                                                                                            1. Initial program 19.6%

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

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

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

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

                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                                                                                            6. Taylor expanded in x around inf

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

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

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

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

                                                                                                                                                                              Alternative 19: 31.5% accurate, 4.8× speedup?

                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(y3 \cdot \mathsf{fma}\left(-j, y4, a \cdot z\right)\right) \cdot y1\\ \mathbf{if}\;y3 \leq -1 \cdot 10^{+259}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -1.4 \cdot 10^{+157}:\\ \;\;\;\;\left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y\\ \mathbf{elif}\;y3 \leq 4.2 \cdot 10^{+188}:\\ \;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\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 (* (* y3 (fma (- j) y4 (* a z))) y1)))
                                                                                                                                                                                 (if (<= y3 -1e+259)
                                                                                                                                                                                   t_1
                                                                                                                                                                                   (if (<= y3 -1.4e+157)
                                                                                                                                                                                     (* (* y3 (fma c y4 (* (- a) y5))) y)
                                                                                                                                                                                     (if (<= y3 4.2e+188) (* k (* y1 (fma (- i) z (* y2 y4)))) 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 * fma(-j, y4, (a * z))) * y1;
                                                                                                                                                                              	double tmp;
                                                                                                                                                                              	if (y3 <= -1e+259) {
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	} else if (y3 <= -1.4e+157) {
                                                                                                                                                                              		tmp = (y3 * fma(c, y4, (-a * y5))) * y;
                                                                                                                                                                              	} else if (y3 <= 4.2e+188) {
                                                                                                                                                                              		tmp = k * (y1 * fma(-i, z, (y2 * y4)));
                                                                                                                                                                              	} 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(y3 * fma(Float64(-j), y4, Float64(a * z))) * y1)
                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                              	if (y3 <= -1e+259)
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	elseif (y3 <= -1.4e+157)
                                                                                                                                                                              		tmp = Float64(Float64(y3 * fma(c, y4, Float64(Float64(-a) * y5))) * y);
                                                                                                                                                                              	elseif (y3 <= 4.2e+188)
                                                                                                                                                                              		tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4))));
                                                                                                                                                                              	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[(y3 * N[((-j) * y4 + N[(a * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision]}, If[LessEqual[y3, -1e+259], t$95$1, If[LessEqual[y3, -1.4e+157], N[(N[(y3 * N[(c * y4 + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y3, 4.2e+188], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                                                                                                                                                                              
                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                              
                                                                                                                                                                              \\
                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                              t_1 := \left(y3 \cdot \mathsf{fma}\left(-j, y4, a \cdot z\right)\right) \cdot y1\\
                                                                                                                                                                              \mathbf{if}\;y3 \leq -1 \cdot 10^{+259}:\\
                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                              
                                                                                                                                                                              \mathbf{elif}\;y3 \leq -1.4 \cdot 10^{+157}:\\
                                                                                                                                                                              \;\;\;\;\left(y3 \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\right) \cdot y\\
                                                                                                                                                                              
                                                                                                                                                                              \mathbf{elif}\;y3 \leq 4.2 \cdot 10^{+188}:\\
                                                                                                                                                                              \;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
                                                                                                                                                                              
                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                              
                                                                                                                                                                              
                                                                                                                                                                              \end{array}
                                                                                                                                                                              \end{array}
                                                                                                                                                                              
                                                                                                                                                                              Derivation
                                                                                                                                                                              1. Split input into 3 regimes
                                                                                                                                                                              2. if y3 < -9.999999999999999e258 or 4.19999999999999973e188 < y3

                                                                                                                                                                                1. Initial program 19.5%

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

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

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

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

                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                6. Taylor expanded in y3 around inf

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

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

                                                                                                                                                                                  if -9.999999999999999e258 < y3 < -1.4000000000000001e157

                                                                                                                                                                                  1. Initial program 36.8%

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

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

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

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

                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                                                                                                  6. Taylor expanded in y5 around inf

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

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

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

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

                                                                                                                                                                                      if -1.4000000000000001e157 < y3 < 4.19999999999999973e188

                                                                                                                                                                                      1. Initial program 34.8%

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

                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                      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 rewrites36.6%

                                                                                                                                                                                          \[\leadsto k \cdot \color{blue}{\left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)} \]
                                                                                                                                                                                      8. Recombined 3 regimes into one program.
                                                                                                                                                                                      9. Add Preprocessing

                                                                                                                                                                                      Alternative 20: 32.0% accurate, 4.8× speedup?

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

                                                                                                                                                                                        1. Initial program 29.7%

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

                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                                                                                                        6. Taylor expanded in x around inf

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

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

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

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

                                                                                                                                                                                            if -1.8000000000000001e54 < y < -8.1999999999999995e-173

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

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

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

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

                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                            6. Taylor expanded in y3 around inf

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

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

                                                                                                                                                                                              if -8.1999999999999995e-173 < y < 2.64999999999999999e98

                                                                                                                                                                                              1. Initial program 40.0%

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

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

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

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

                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                              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 rewrites41.9%

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

                                                                                                                                                                                                if 2.64999999999999999e98 < y

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

                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                                                                                                                6. Taylor expanded in y3 around inf

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

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

                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.8 \cdot 10^{+54}:\\ \;\;\;\;\left(y \cdot y4\right) \cdot \mathsf{fma}\left(c, y3, b \cdot \left(-k\right)\right)\\ \mathbf{elif}\;y \leq -8.2 \cdot 10^{-173}:\\ \;\;\;\;\left(y3 \cdot \mathsf{fma}\left(-j, y4, a \cdot z\right)\right) \cdot y1\\ \mathbf{elif}\;y \leq 2.65 \cdot 10^{+98}:\\ \;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(y \cdot y3\right) \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\\ \end{array} \]
                                                                                                                                                                                                10. Add Preprocessing

                                                                                                                                                                                                Alternative 21: 28.5% accurate, 4.8× speedup?

                                                                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y3 \leq -3.7 \cdot 10^{+257}:\\ \;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\ \mathbf{elif}\;y3 \leq -1.6 \cdot 10^{+158}:\\ \;\;\;\;\left(\left(-a\right) \cdot \left(y3 \cdot y5\right)\right) \cdot y\\ \mathbf{elif}\;y3 \leq 9.2 \cdot 10^{+256}:\\ \;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\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 -3.7e+257)
                                                                                                                                                                                                   (* (* a (* y3 z)) y1)
                                                                                                                                                                                                   (if (<= y3 -1.6e+158)
                                                                                                                                                                                                     (* (* (- a) (* y3 y5)) y)
                                                                                                                                                                                                     (if (<= y3 9.2e+256)
                                                                                                                                                                                                       (* k (* y1 (fma (- i) z (* y2 y4))))
                                                                                                                                                                                                       (* (* c z) (fma (- y0) y3 (* i t)))))))
                                                                                                                                                                                                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 <= -3.7e+257) {
                                                                                                                                                                                                		tmp = (a * (y3 * z)) * y1;
                                                                                                                                                                                                	} else if (y3 <= -1.6e+158) {
                                                                                                                                                                                                		tmp = (-a * (y3 * y5)) * y;
                                                                                                                                                                                                	} else if (y3 <= 9.2e+256) {
                                                                                                                                                                                                		tmp = k * (y1 * fma(-i, z, (y2 * y4)));
                                                                                                                                                                                                	} else {
                                                                                                                                                                                                		tmp = (c * z) * fma(-y0, y3, (i * t));
                                                                                                                                                                                                	}
                                                                                                                                                                                                	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 <= -3.7e+257)
                                                                                                                                                                                                		tmp = Float64(Float64(a * Float64(y3 * z)) * y1);
                                                                                                                                                                                                	elseif (y3 <= -1.6e+158)
                                                                                                                                                                                                		tmp = Float64(Float64(Float64(-a) * Float64(y3 * y5)) * y);
                                                                                                                                                                                                	elseif (y3 <= 9.2e+256)
                                                                                                                                                                                                		tmp = Float64(k * Float64(y1 * fma(Float64(-i), z, Float64(y2 * y4))));
                                                                                                                                                                                                	else
                                                                                                                                                                                                		tmp = Float64(Float64(c * z) * fma(Float64(-y0), y3, Float64(i * t)));
                                                                                                                                                                                                	end
                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                end
                                                                                                                                                                                                
                                                                                                                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -3.7e+257], N[(N[(a * N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y3, -1.6e+158], N[(N[((-a) * N[(y3 * y5), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[y3, 9.2e+256], N[(k * N[(y1 * N[((-i) * z + N[(y2 * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(c * z), $MachinePrecision] * N[((-y0) * y3 + N[(i * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                                                                                                                                                                                                
                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                
                                                                                                                                                                                                \\
                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                \mathbf{if}\;y3 \leq -3.7 \cdot 10^{+257}:\\
                                                                                                                                                                                                \;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\
                                                                                                                                                                                                
                                                                                                                                                                                                \mathbf{elif}\;y3 \leq -1.6 \cdot 10^{+158}:\\
                                                                                                                                                                                                \;\;\;\;\left(\left(-a\right) \cdot \left(y3 \cdot y5\right)\right) \cdot y\\
                                                                                                                                                                                                
                                                                                                                                                                                                \mathbf{elif}\;y3 \leq 9.2 \cdot 10^{+256}:\\
                                                                                                                                                                                                \;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\
                                                                                                                                                                                                
                                                                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                                                                \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(-y0, y3, i \cdot t\right)\\
                                                                                                                                                                                                
                                                                                                                                                                                                
                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                
                                                                                                                                                                                                Derivation
                                                                                                                                                                                                1. Split input into 4 regimes
                                                                                                                                                                                                2. if y3 < -3.69999999999999991e257

                                                                                                                                                                                                  1. Initial program 23.1%

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

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

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

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

                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                                  6. Taylor expanded in a around inf

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

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

                                                                                                                                                                                                      \[\leadsto \left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1 \]
                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                      1. Applied rewrites84.7%

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

                                                                                                                                                                                                      if -3.69999999999999991e257 < y3 < -1.59999999999999997e158

                                                                                                                                                                                                      1. Initial program 36.8%

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

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

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

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

                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                                                                                                                      6. Taylor expanded in y5 around inf

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

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

                                                                                                                                                                                                          \[\leadsto \left(-1 \cdot \left(a \cdot \left(y3 \cdot y5\right)\right)\right) \cdot y \]
                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                          1. Applied rewrites74.0%

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

                                                                                                                                                                                                          if -1.59999999999999997e158 < y3 < 9.1999999999999995e256

                                                                                                                                                                                                          1. Initial program 32.7%

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

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

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

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

                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                                          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 rewrites37.2%

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

                                                                                                                                                                                                            if 9.1999999999999995e256 < y3

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

                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                                                                                                                            6. Taylor expanded in b around inf

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

                                                                                                                                                                                                                \[\leadsto \left(b \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-a, t, k \cdot y0\right)} \]
                                                                                                                                                                                                              2. 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)} \]
                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                1. Applied rewrites56.3%

                                                                                                                                                                                                                  \[\leadsto \left(c \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(-y0, y3, i \cdot t\right)} \]
                                                                                                                                                                                                              4. Recombined 4 regimes into one program.
                                                                                                                                                                                                              5. Add Preprocessing

                                                                                                                                                                                                              Alternative 22: 20.3% accurate, 5.0× speedup?

                                                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(\left(b \cdot x\right) \cdot y\right)\\ t_2 := k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\ \mathbf{if}\;y \leq -4.2 \cdot 10^{+49}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -1.95 \cdot 10^{-55}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y \leq -8.8 \cdot 10^{-210}:\\ \;\;\;\;\left(b \cdot z\right) \cdot \left(k \cdot y0\right)\\ \mathbf{elif}\;y \leq 4.3 \cdot 10^{+266}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                               :precision binary64
                                                                                                                                                                                                               (let* ((t_1 (* a (* (* b x) y))) (t_2 (* k (* (* y4 y2) y1))))
                                                                                                                                                                                                                 (if (<= y -4.2e+49)
                                                                                                                                                                                                                   t_1
                                                                                                                                                                                                                   (if (<= y -1.95e-55)
                                                                                                                                                                                                                     t_2
                                                                                                                                                                                                                     (if (<= y -8.8e-210)
                                                                                                                                                                                                                       (* (* b z) (* k y0))
                                                                                                                                                                                                                       (if (<= y 4.3e+266) t_2 t_1))))))
                                                                                                                                                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                              	double t_1 = a * ((b * x) * y);
                                                                                                                                                                                                              	double t_2 = k * ((y4 * y2) * y1);
                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                              	if (y <= -4.2e+49) {
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	} else if (y <= -1.95e-55) {
                                                                                                                                                                                                              		tmp = t_2;
                                                                                                                                                                                                              	} else if (y <= -8.8e-210) {
                                                                                                                                                                                                              		tmp = (b * z) * (k * y0);
                                                                                                                                                                                                              	} else if (y <= 4.3e+266) {
                                                                                                                                                                                                              		tmp = t_2;
                                                                                                                                                                                                              	} else {
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	}
                                                                                                                                                                                                              	return tmp;
                                                                                                                                                                                                              }
                                                                                                                                                                                                              
                                                                                                                                                                                                              real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                  real(8), intent (in) :: x
                                                                                                                                                                                                                  real(8), intent (in) :: y
                                                                                                                                                                                                                  real(8), intent (in) :: z
                                                                                                                                                                                                                  real(8), intent (in) :: t
                                                                                                                                                                                                                  real(8), intent (in) :: a
                                                                                                                                                                                                                  real(8), intent (in) :: b
                                                                                                                                                                                                                  real(8), intent (in) :: c
                                                                                                                                                                                                                  real(8), intent (in) :: i
                                                                                                                                                                                                                  real(8), intent (in) :: j
                                                                                                                                                                                                                  real(8), intent (in) :: k
                                                                                                                                                                                                                  real(8), intent (in) :: y0
                                                                                                                                                                                                                  real(8), intent (in) :: y1
                                                                                                                                                                                                                  real(8), intent (in) :: y2
                                                                                                                                                                                                                  real(8), intent (in) :: y3
                                                                                                                                                                                                                  real(8), intent (in) :: y4
                                                                                                                                                                                                                  real(8), intent (in) :: y5
                                                                                                                                                                                                                  real(8) :: t_1
                                                                                                                                                                                                                  real(8) :: t_2
                                                                                                                                                                                                                  real(8) :: tmp
                                                                                                                                                                                                                  t_1 = a * ((b * x) * y)
                                                                                                                                                                                                                  t_2 = k * ((y4 * y2) * y1)
                                                                                                                                                                                                                  if (y <= (-4.2d+49)) then
                                                                                                                                                                                                                      tmp = t_1
                                                                                                                                                                                                                  else if (y <= (-1.95d-55)) then
                                                                                                                                                                                                                      tmp = t_2
                                                                                                                                                                                                                  else if (y <= (-8.8d-210)) then
                                                                                                                                                                                                                      tmp = (b * z) * (k * y0)
                                                                                                                                                                                                                  else if (y <= 4.3d+266) then
                                                                                                                                                                                                                      tmp = t_2
                                                                                                                                                                                                                  else
                                                                                                                                                                                                                      tmp = t_1
                                                                                                                                                                                                                  end if
                                                                                                                                                                                                                  code = tmp
                                                                                                                                                                                                              end function
                                                                                                                                                                                                              
                                                                                                                                                                                                              public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                              	double t_1 = a * ((b * x) * y);
                                                                                                                                                                                                              	double t_2 = k * ((y4 * y2) * y1);
                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                              	if (y <= -4.2e+49) {
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	} else if (y <= -1.95e-55) {
                                                                                                                                                                                                              		tmp = t_2;
                                                                                                                                                                                                              	} else if (y <= -8.8e-210) {
                                                                                                                                                                                                              		tmp = (b * z) * (k * y0);
                                                                                                                                                                                                              	} else if (y <= 4.3e+266) {
                                                                                                                                                                                                              		tmp = t_2;
                                                                                                                                                                                                              	} else {
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	}
                                                                                                                                                                                                              	return tmp;
                                                                                                                                                                                                              }
                                                                                                                                                                                                              
                                                                                                                                                                                                              def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                              	t_1 = a * ((b * x) * y)
                                                                                                                                                                                                              	t_2 = k * ((y4 * y2) * y1)
                                                                                                                                                                                                              	tmp = 0
                                                                                                                                                                                                              	if y <= -4.2e+49:
                                                                                                                                                                                                              		tmp = t_1
                                                                                                                                                                                                              	elif y <= -1.95e-55:
                                                                                                                                                                                                              		tmp = t_2
                                                                                                                                                                                                              	elif y <= -8.8e-210:
                                                                                                                                                                                                              		tmp = (b * z) * (k * y0)
                                                                                                                                                                                                              	elif y <= 4.3e+266:
                                                                                                                                                                                                              		tmp = t_2
                                                                                                                                                                                                              	else:
                                                                                                                                                                                                              		tmp = t_1
                                                                                                                                                                                                              	return tmp
                                                                                                                                                                                                              
                                                                                                                                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                              	t_1 = Float64(a * Float64(Float64(b * x) * y))
                                                                                                                                                                                                              	t_2 = Float64(k * Float64(Float64(y4 * y2) * y1))
                                                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                                                              	if (y <= -4.2e+49)
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	elseif (y <= -1.95e-55)
                                                                                                                                                                                                              		tmp = t_2;
                                                                                                                                                                                                              	elseif (y <= -8.8e-210)
                                                                                                                                                                                                              		tmp = Float64(Float64(b * z) * Float64(k * y0));
                                                                                                                                                                                                              	elseif (y <= 4.3e+266)
                                                                                                                                                                                                              		tmp = t_2;
                                                                                                                                                                                                              	else
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	end
                                                                                                                                                                                                              	return tmp
                                                                                                                                                                                                              end
                                                                                                                                                                                                              
                                                                                                                                                                                                              function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                              	t_1 = a * ((b * x) * y);
                                                                                                                                                                                                              	t_2 = k * ((y4 * y2) * y1);
                                                                                                                                                                                                              	tmp = 0.0;
                                                                                                                                                                                                              	if (y <= -4.2e+49)
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	elseif (y <= -1.95e-55)
                                                                                                                                                                                                              		tmp = t_2;
                                                                                                                                                                                                              	elseif (y <= -8.8e-210)
                                                                                                                                                                                                              		tmp = (b * z) * (k * y0);
                                                                                                                                                                                                              	elseif (y <= 4.3e+266)
                                                                                                                                                                                                              		tmp = t_2;
                                                                                                                                                                                                              	else
                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                              	end
                                                                                                                                                                                                              	tmp_2 = tmp;
                                                                                                                                                                                                              end
                                                                                                                                                                                                              
                                                                                                                                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(a * N[(N[(b * x), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(k * N[(N[(y4 * y2), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -4.2e+49], t$95$1, If[LessEqual[y, -1.95e-55], t$95$2, If[LessEqual[y, -8.8e-210], N[(N[(b * z), $MachinePrecision] * N[(k * y0), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.3e+266], t$95$2, t$95$1]]]]]]
                                                                                                                                                                                                              
                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                              
                                                                                                                                                                                                              \\
                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                              t_1 := a \cdot \left(\left(b \cdot x\right) \cdot y\right)\\
                                                                                                                                                                                                              t_2 := k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\
                                                                                                                                                                                                              \mathbf{if}\;y \leq -4.2 \cdot 10^{+49}:\\
                                                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                                                              
                                                                                                                                                                                                              \mathbf{elif}\;y \leq -1.95 \cdot 10^{-55}:\\
                                                                                                                                                                                                              \;\;\;\;t\_2\\
                                                                                                                                                                                                              
                                                                                                                                                                                                              \mathbf{elif}\;y \leq -8.8 \cdot 10^{-210}:\\
                                                                                                                                                                                                              \;\;\;\;\left(b \cdot z\right) \cdot \left(k \cdot y0\right)\\
                                                                                                                                                                                                              
                                                                                                                                                                                                              \mathbf{elif}\;y \leq 4.3 \cdot 10^{+266}:\\
                                                                                                                                                                                                              \;\;\;\;t\_2\\
                                                                                                                                                                                                              
                                                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                                                              
                                                                                                                                                                                                              
                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                              
                                                                                                                                                                                                              Derivation
                                                                                                                                                                                                              1. Split input into 3 regimes
                                                                                                                                                                                                              2. if y < -4.20000000000000022e49 or 4.3000000000000002e266 < y

                                                                                                                                                                                                                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 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 - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y} \]
                                                                                                                                                                                                                6. Taylor expanded in x around inf

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

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

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

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

                                                                                                                                                                                                                    if -4.20000000000000022e49 < y < -1.95e-55 or -8.79999999999999958e-210 < y < 4.3000000000000002e266

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

                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                                                    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 rewrites41.7%

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

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

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

                                                                                                                                                                                                                        if -1.95e-55 < y < -8.79999999999999958e-210

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

                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                                                                                                                                        6. Taylor expanded in b around inf

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

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

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

                                                                                                                                                                                                                              \[\leadsto \left(b \cdot z\right) \cdot \left(k \cdot y0\right) \]
                                                                                                                                                                                                                          4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                          5. Add Preprocessing

                                                                                                                                                                                                                          Alternative 23: 21.0% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                            1. Initial program 19.2%

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

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

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

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

                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                                                            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 rewrites50.0%

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

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

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

                                                                                                                                                                                                                                if -1.1e114 < y4 < -1.69999999999999988e-100

                                                                                                                                                                                                                                1. Initial program 37.2%

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

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

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

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

                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                                                                                                                                                6. Taylor expanded in x around inf

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

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

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

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

                                                                                                                                                                                                                                    if -1.69999999999999988e-100 < y4 < 1.71999999999999993e152

                                                                                                                                                                                                                                    1. Initial program 38.1%

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

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

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

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

                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                                                                    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 rewrites26.1%

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

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

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

                                                                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y4 \leq -1.1 \cdot 10^{+114}:\\ \;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\ \mathbf{elif}\;y4 \leq -1.7 \cdot 10^{-100}:\\ \;\;\;\;a \cdot \left(\left(b \cdot x\right) \cdot y\right)\\ \mathbf{elif}\;y4 \leq 1.72 \cdot 10^{+152}:\\ \;\;\;\;\left(\left(y1 \cdot z\right) \cdot k\right) \cdot \left(-i\right)\\ \mathbf{else}:\\ \;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\ \end{array} \]
                                                                                                                                                                                                                                      6. Add Preprocessing

                                                                                                                                                                                                                                      Alternative 24: 31.8% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                                        1. Initial program 29.2%

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

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

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

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

                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                                                                                                                                                        6. Taylor expanded in x around inf

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

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

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

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

                                                                                                                                                                                                                                            if -7.4999999999999995e49 < y < 2.64999999999999999e98

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

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

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

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

                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                                                                            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 rewrites39.0%

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

                                                                                                                                                                                                                                              if 2.64999999999999999e98 < y

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

                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), 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} \]
                                                                                                                                                                                                                                              6. Taylor expanded in y3 around inf

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

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

                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -7.5 \cdot 10^{+49}:\\ \;\;\;\;\left(y \cdot y4\right) \cdot \mathsf{fma}\left(c, y3, b \cdot \left(-k\right)\right)\\ \mathbf{elif}\;y \leq 2.65 \cdot 10^{+98}:\\ \;\;\;\;k \cdot \left(y1 \cdot \mathsf{fma}\left(-i, z, y2 \cdot y4\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(y \cdot y3\right) \cdot \mathsf{fma}\left(c, y4, \left(-a\right) \cdot y5\right)\\ \end{array} \]
                                                                                                                                                                                                                                              10. Add Preprocessing

                                                                                                                                                                                                                                              Alternative 25: 20.1% accurate, 5.9× speedup?

                                                                                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := a \cdot \left(\left(b \cdot x\right) \cdot y\right)\\ \mathbf{if}\;y \leq -5.8 \cdot 10^{+49}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq -2.8 \cdot 10^{-249}:\\ \;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\ \mathbf{elif}\;y \leq 4.3 \cdot 10^{+266}:\\ \;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\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 (* a (* (* b x) y))))
                                                                                                                                                                                                                                                 (if (<= y -5.8e+49)
                                                                                                                                                                                                                                                   t_1
                                                                                                                                                                                                                                                   (if (<= y -2.8e-249)
                                                                                                                                                                                                                                                     (* (* a (* y3 z)) y1)
                                                                                                                                                                                                                                                     (if (<= y 4.3e+266) (* k (* (* y4 y2) 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 = a * ((b * x) * y);
                                                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                                                              	if (y <= -5.8e+49) {
                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                              	} else if (y <= -2.8e-249) {
                                                                                                                                                                                                                                              		tmp = (a * (y3 * z)) * y1;
                                                                                                                                                                                                                                              	} else if (y <= 4.3e+266) {
                                                                                                                                                                                                                                              		tmp = k * ((y4 * y2) * y1);
                                                                                                                                                                                                                                              	} 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 = a * ((b * x) * y)
                                                                                                                                                                                                                                                  if (y <= (-5.8d+49)) then
                                                                                                                                                                                                                                                      tmp = t_1
                                                                                                                                                                                                                                                  else if (y <= (-2.8d-249)) then
                                                                                                                                                                                                                                                      tmp = (a * (y3 * z)) * y1
                                                                                                                                                                                                                                                  else if (y <= 4.3d+266) then
                                                                                                                                                                                                                                                      tmp = k * ((y4 * y2) * y1)
                                                                                                                                                                                                                                                  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 = a * ((b * x) * y);
                                                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                                                              	if (y <= -5.8e+49) {
                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                              	} else if (y <= -2.8e-249) {
                                                                                                                                                                                                                                              		tmp = (a * (y3 * z)) * y1;
                                                                                                                                                                                                                                              	} else if (y <= 4.3e+266) {
                                                                                                                                                                                                                                              		tmp = k * ((y4 * y2) * y1);
                                                                                                                                                                                                                                              	} 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 = a * ((b * x) * y)
                                                                                                                                                                                                                                              	tmp = 0
                                                                                                                                                                                                                                              	if y <= -5.8e+49:
                                                                                                                                                                                                                                              		tmp = t_1
                                                                                                                                                                                                                                              	elif y <= -2.8e-249:
                                                                                                                                                                                                                                              		tmp = (a * (y3 * z)) * y1
                                                                                                                                                                                                                                              	elif y <= 4.3e+266:
                                                                                                                                                                                                                                              		tmp = k * ((y4 * y2) * 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(a * Float64(Float64(b * x) * y))
                                                                                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                                                                                              	if (y <= -5.8e+49)
                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                              	elseif (y <= -2.8e-249)
                                                                                                                                                                                                                                              		tmp = Float64(Float64(a * Float64(y3 * z)) * y1);
                                                                                                                                                                                                                                              	elseif (y <= 4.3e+266)
                                                                                                                                                                                                                                              		tmp = Float64(k * Float64(Float64(y4 * y2) * y1));
                                                                                                                                                                                                                                              	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 = a * ((b * x) * y);
                                                                                                                                                                                                                                              	tmp = 0.0;
                                                                                                                                                                                                                                              	if (y <= -5.8e+49)
                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                              	elseif (y <= -2.8e-249)
                                                                                                                                                                                                                                              		tmp = (a * (y3 * z)) * y1;
                                                                                                                                                                                                                                              	elseif (y <= 4.3e+266)
                                                                                                                                                                                                                                              		tmp = k * ((y4 * y2) * y1);
                                                                                                                                                                                                                                              	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[(a * N[(N[(b * x), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -5.8e+49], t$95$1, If[LessEqual[y, -2.8e-249], N[(N[(a * N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y, 4.3e+266], N[(k * N[(N[(y4 * y2), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \\
                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                              t_1 := a \cdot \left(\left(b \cdot x\right) \cdot y\right)\\
                                                                                                                                                                                                                                              \mathbf{if}\;y \leq -5.8 \cdot 10^{+49}:\\
                                                                                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \mathbf{elif}\;y \leq -2.8 \cdot 10^{-249}:\\
                                                                                                                                                                                                                                              \;\;\;\;\left(a \cdot \left(y3 \cdot z\right)\right) \cdot y1\\
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \mathbf{elif}\;y \leq 4.3 \cdot 10^{+266}:\\
                                                                                                                                                                                                                                              \;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              Derivation
                                                                                                                                                                                                                                              1. Split input into 3 regimes
                                                                                                                                                                                                                                              2. if y < -5.8e49 or 4.3000000000000002e266 < y

                                                                                                                                                                                                                                                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 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 - i \cdot c, x, \left(y4 \cdot c - y5 \cdot a\right) \cdot y3\right)\right) \cdot y} \]
                                                                                                                                                                                                                                                6. Taylor expanded in x around inf

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

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

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

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

                                                                                                                                                                                                                                                    if -5.8e49 < y < -2.7999999999999999e-249

                                                                                                                                                                                                                                                    1. Initial program 42.9%

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

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

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

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

                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                                                                                    6. Taylor expanded in a around inf

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

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

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

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

                                                                                                                                                                                                                                                        if -2.7999999999999999e-249 < y < 4.3000000000000002e266

                                                                                                                                                                                                                                                        1. Initial program 31.1%

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

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

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

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

                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                                                                                        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 rewrites39.7%

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

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

                                                                                                                                                                                                                                                              \[\leadsto k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right) \]
                                                                                                                                                                                                                                                          4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                          5. Add Preprocessing

                                                                                                                                                                                                                                                          Alternative 26: 20.9% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y2 \leq -6 \cdot 10^{-121} \lor \neg \left(y2 \leq 1.35 \cdot 10^{-111}\right):\\ \;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\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
                                                                                                                                                                                                                                                           (if (or (<= y2 -6e-121) (not (<= y2 1.35e-111)))
                                                                                                                                                                                                                                                             (* k (* (* y4 y2) y1))
                                                                                                                                                                                                                                                             (* (* (* y0 k) b) 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 tmp;
                                                                                                                                                                                                                                                          	if ((y2 <= -6e-121) || !(y2 <= 1.35e-111)) {
                                                                                                                                                                                                                                                          		tmp = k * ((y4 * y2) * y1);
                                                                                                                                                                                                                                                          	} else {
                                                                                                                                                                                                                                                          		tmp = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                          	}
                                                                                                                                                                                                                                                          	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 <= (-6d-121)) .or. (.not. (y2 <= 1.35d-111))) then
                                                                                                                                                                                                                                                                  tmp = k * ((y4 * y2) * y1)
                                                                                                                                                                                                                                                              else
                                                                                                                                                                                                                                                                  tmp = ((y0 * k) * b) * z
                                                                                                                                                                                                                                                              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 <= -6e-121) || !(y2 <= 1.35e-111)) {
                                                                                                                                                                                                                                                          		tmp = k * ((y4 * y2) * y1);
                                                                                                                                                                                                                                                          	} else {
                                                                                                                                                                                                                                                          		tmp = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                          	}
                                                                                                                                                                                                                                                          	return tmp;
                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                          	tmp = 0
                                                                                                                                                                                                                                                          	if (y2 <= -6e-121) or not (y2 <= 1.35e-111):
                                                                                                                                                                                                                                                          		tmp = k * ((y4 * y2) * y1)
                                                                                                                                                                                                                                                          	else:
                                                                                                                                                                                                                                                          		tmp = ((y0 * k) * b) * z
                                                                                                                                                                                                                                                          	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 <= -6e-121) || !(y2 <= 1.35e-111))
                                                                                                                                                                                                                                                          		tmp = Float64(k * Float64(Float64(y4 * y2) * y1));
                                                                                                                                                                                                                                                          	else
                                                                                                                                                                                                                                                          		tmp = Float64(Float64(Float64(y0 * k) * b) * z);
                                                                                                                                                                                                                                                          	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 <= -6e-121) || ~((y2 <= 1.35e-111)))
                                                                                                                                                                                                                                                          		tmp = k * ((y4 * y2) * y1);
                                                                                                                                                                                                                                                          	else
                                                                                                                                                                                                                                                          		tmp = ((y0 * k) * b) * z;
                                                                                                                                                                                                                                                          	end
                                                                                                                                                                                                                                                          	tmp_2 = tmp;
                                                                                                                                                                                                                                                          end
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y2, -6e-121], N[Not[LessEqual[y2, 1.35e-111]], $MachinePrecision]], N[(k * N[(N[(y4 * y2), $MachinePrecision] * y1), $MachinePrecision]), $MachinePrecision], N[(N[(N[(y0 * k), $MachinePrecision] * b), $MachinePrecision] * z), $MachinePrecision]]
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          \begin{array}{l}
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          \\
                                                                                                                                                                                                                                                          \begin{array}{l}
                                                                                                                                                                                                                                                          \mathbf{if}\;y2 \leq -6 \cdot 10^{-121} \lor \neg \left(y2 \leq 1.35 \cdot 10^{-111}\right):\\
                                                                                                                                                                                                                                                          \;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          \mathbf{else}:\\
                                                                                                                                                                                                                                                          \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          \end{array}
                                                                                                                                                                                                                                                          \end{array}
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          Derivation
                                                                                                                                                                                                                                                          1. Split input into 2 regimes
                                                                                                                                                                                                                                                          2. if y2 < -5.9999999999999999e-121 or 1.34999999999999994e-111 < y2

                                                                                                                                                                                                                                                            1. Initial program 30.4%

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

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

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

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

                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), 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} \]
                                                                                                                                                                                                                                                            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 rewrites42.1%

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

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

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

                                                                                                                                                                                                                                                                if -5.9999999999999999e-121 < y2 < 1.34999999999999994e-111

                                                                                                                                                                                                                                                                1. Initial program 36.9%

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

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

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

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

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

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

                                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -6 \cdot 10^{-121} \lor \neg \left(y2 \leq 1.35 \cdot 10^{-111}\right):\\ \;\;\;\;k \cdot \left(\left(y4 \cdot y2\right) \cdot y1\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(y0 \cdot k\right) \cdot b\right) \cdot z\\ \end{array} \]
                                                                                                                                                                                                                                                                    5. Add Preprocessing

                                                                                                                                                                                                                                                                    Alternative 27: 16.9% accurate, 12.6× speedup?

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

                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                                                                                                                                                                                    6. Taylor expanded in b around inf

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

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

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

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

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

                                                                                                                                                                                                                                                                          Alternative 28: 17.2% accurate, 12.6× speedup?

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

                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                                                                                                                                                                                          6. Taylor expanded in b around inf

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

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

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

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

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

                                                                                                                                                                                                                                                                                Alternative 29: 17.3% accurate, 12.6× speedup?

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

                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                                                                                                                                                                                                6. Taylor expanded in b around inf

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

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

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

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

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

                                                                                                                                                                                                                                                                                      Alternative 30: 17.0% accurate, 12.6× speedup?

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

                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), 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} \]
                                                                                                                                                                                                                                                                                      6. Taylor expanded in b around inf

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

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

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

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

                                                                                                                                                                                                                                                                                          Developer Target 1: 28.2% 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 2024318 
                                                                                                                                                                                                                                                                                          (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)))))