Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.4% → 45.9%
Time: 28.0s
Alternatives: 31
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 31 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.4% 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: 45.9% accurate, 2.1× speedup?

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

\\
\begin{array}{l}
t_1 := y2 \cdot t - y3 \cdot y\\
t_2 := \mathsf{fma}\left(\left(-b\right) \cdot a + i \cdot c, z, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, j, \left(-y2\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot t\\
\mathbf{if}\;t \leq -1.45 \cdot 10^{+79}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;t \leq -1.72 \cdot 10^{-264}:\\
\;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + 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}\;t \leq 6.6 \cdot 10^{-256}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y3, z, x \cdot y2\right), -a, \mathsf{fma}\left(\mathsf{fma}\left(-j, y3, k \cdot y2\right), y4, \mathsf{fma}\left(-k, z, j \cdot x\right) \cdot i\right)\right) \cdot y1\\

\mathbf{elif}\;t \leq 2 \cdot 10^{-130}:\\
\;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, t\_1 \cdot y4\right)\right)\\

\mathbf{elif}\;t \leq 5.2 \cdot 10^{+34}:\\
\;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot t\_1\right)\right) \cdot y4\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if t < -1.44999999999999996e79 or 5.19999999999999995e34 < t

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

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

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

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

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

    if -1.44999999999999996e79 < t < -1.7200000000000001e-264

    1. Initial program 41.3%

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

      \[\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 -1.7200000000000001e-264 < t < 6.6e-256

    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 rewrites53.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. Step-by-step derivation
      1. Applied rewrites57.6%

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

      if 6.6e-256 < t < 2.0000000000000002e-130

      1. Initial program 43.2%

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

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

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

          \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
        3. neg-mul-1N/A

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

          \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
        5. associate--l+N/A

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

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

          \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
        8. distribute-lft-neg-inN/A

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

          \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      5. Applied rewrites60.9%

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

      if 2.0000000000000002e-130 < t < 5.19999999999999995e34

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

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

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

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

        \[\leadsto \color{blue}{\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\right)\right)\right) \cdot y4} \]
    7. Recombined 5 regimes into one program.
    8. Final simplification64.0%

      \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.45 \cdot 10^{+79}:\\ \;\;\;\;\mathsf{fma}\left(\left(-b\right) \cdot a + i \cdot c, z, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, j, \left(-y2\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot t\\ \mathbf{elif}\;t \leq -1.72 \cdot 10^{-264}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + 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}\;t \leq 6.6 \cdot 10^{-256}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y3, z, x \cdot y2\right), -a, \mathsf{fma}\left(\mathsf{fma}\left(-j, y3, k \cdot y2\right), y4, \mathsf{fma}\left(-k, z, j \cdot x\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;t \leq 2 \cdot 10^{-130}:\\ \;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)\\ \mathbf{elif}\;t \leq 5.2 \cdot 10^{+34}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\right)\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\left(-b\right) \cdot a + i \cdot c, z, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, j, \left(-y2\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot t\\ \end{array} \]
    9. Add Preprocessing

    Alternative 2: 55.7% accurate, 0.5× speedup?

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

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

      if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0))))

      1. Initial program 0.0%

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

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

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

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

        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(b \cdot a - i \cdot c\right), z, \mathsf{fma}\left(y4 \cdot b - y5 \cdot i, j, \left(-y2\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right)\right) \cdot t} \]
    3. Recombined 2 regimes into one program.
    4. Final simplification63.1%

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

    Alternative 3: 41.7% accurate, 2.1× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot x - t \cdot z\\ t_2 := y4 \cdot c - y5 \cdot a\\ t_3 := \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot t\_2\right)\right) \cdot y2\\ \mathbf{if}\;c \leq -8.5 \cdot 10^{+123}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, t\_2 \cdot y3\right)\right) \cdot y\\ \mathbf{elif}\;c \leq -2.26 \cdot 10^{+67}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y3, z, x \cdot y2\right), -a, \mathsf{fma}\left(\mathsf{fma}\left(-j, y3, k \cdot y2\right), y4, \mathsf{fma}\left(-k, z, j \cdot x\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;c \leq -1.45 \cdot 10^{-133}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;c \leq 2.9 \cdot 10^{-166}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, 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}\;c \leq 3.3 \cdot 10^{+63}:\\ \;\;\;\;t\_3\\ \mathbf{else}:\\ \;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y0, \mathsf{fma}\left(t\_1, i, \left(y2 \cdot t - y3 \cdot y\right) \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
     (let* ((t_1 (- (* y x) (* t z)))
            (t_2 (- (* y4 c) (* y5 a)))
            (t_3
             (*
              (fma
               (- (* y4 y1) (* y5 y0))
               k
               (fma (- (* y0 c) (* y1 a)) x (* (- t) t_2)))
              y2)))
       (if (<= c -8.5e+123)
         (*
          (fma (+ (* (- y4) b) (* y5 i)) k (fma (- (* b a) (* i c)) x (* t_2 y3)))
          y)
         (if (<= c -2.26e+67)
           (*
            (fma
             (fma (- y3) z (* x y2))
             (- a)
             (fma (fma (- j) y3 (* k y2)) y4 (* (fma (- k) z (* j x)) i)))
            y1)
           (if (<= c -1.45e-133)
             t_3
             (if (<= c 2.9e-166)
               (*
                (fma
                 t_1
                 a
                 (fma (- (* j t) (* k y)) y4 (* (- y0) (- (* j x) (* k z)))))
                b)
               (if (<= c 3.3e+63)
                 t_3
                 (*
                  (- c)
                  (fma
                   (+ (* (- y2) x) (* y3 z))
                   y0
                   (fma t_1 i (* (- (* y2 t) (* y3 y)) y4)))))))))))
    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
    	double t_1 = (y * x) - (t * z);
    	double t_2 = (y4 * c) - (y5 * a);
    	double t_3 = fma(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (-t * t_2))) * y2;
    	double tmp;
    	if (c <= -8.5e+123) {
    		tmp = fma(((-y4 * b) + (y5 * i)), k, fma(((b * a) - (i * c)), x, (t_2 * y3))) * y;
    	} else if (c <= -2.26e+67) {
    		tmp = fma(fma(-y3, z, (x * y2)), -a, fma(fma(-j, y3, (k * y2)), y4, (fma(-k, z, (j * x)) * i))) * y1;
    	} else if (c <= -1.45e-133) {
    		tmp = t_3;
    	} else if (c <= 2.9e-166) {
    		tmp = fma(t_1, a, fma(((j * t) - (k * y)), y4, (-y0 * ((j * x) - (k * z))))) * b;
    	} else if (c <= 3.3e+63) {
    		tmp = t_3;
    	} else {
    		tmp = -c * fma(((-y2 * x) + (y3 * z)), y0, fma(t_1, i, (((y2 * t) - (y3 * y)) * y4)));
    	}
    	return tmp;
    }
    
    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
    	t_1 = Float64(Float64(y * x) - Float64(t * z))
    	t_2 = Float64(Float64(y4 * c) - Float64(y5 * a))
    	t_3 = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), x, Float64(Float64(-t) * t_2))) * y2)
    	tmp = 0.0
    	if (c <= -8.5e+123)
    		tmp = Float64(fma(Float64(Float64(Float64(-y4) * b) + Float64(y5 * i)), k, fma(Float64(Float64(b * a) - Float64(i * c)), x, Float64(t_2 * y3))) * y);
    	elseif (c <= -2.26e+67)
    		tmp = Float64(fma(fma(Float64(-y3), z, Float64(x * y2)), Float64(-a), fma(fma(Float64(-j), y3, Float64(k * y2)), y4, Float64(fma(Float64(-k), z, Float64(j * x)) * i))) * y1);
    	elseif (c <= -1.45e-133)
    		tmp = t_3;
    	elseif (c <= 2.9e-166)
    		tmp = Float64(fma(t_1, a, fma(Float64(Float64(j * t) - Float64(k * y)), y4, Float64(Float64(-y0) * Float64(Float64(j * x) - Float64(k * z))))) * b);
    	elseif (c <= 3.3e+63)
    		tmp = t_3;
    	else
    		tmp = Float64(Float64(-c) * fma(Float64(Float64(Float64(-y2) * x) + Float64(y3 * z)), y0, fma(t_1, i, Float64(Float64(Float64(y2 * t) - Float64(y3 * y)) * y4))));
    	end
    	return tmp
    end
    
    code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * x + N[((-t) * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]}, If[LessEqual[c, -8.5e+123], 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[(t$95$2 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[c, -2.26e+67], N[(N[(N[((-y3) * z + N[(x * y2), $MachinePrecision]), $MachinePrecision] * (-a) + N[(N[((-j) * y3 + N[(k * y2), $MachinePrecision]), $MachinePrecision] * y4 + N[(N[((-k) * z + N[(j * x), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[c, -1.45e-133], t$95$3, If[LessEqual[c, 2.9e-166], N[(N[(t$95$1 * a + N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * y4 + N[((-y0) * N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[c, 3.3e+63], t$95$3, N[((-c) * N[(N[(N[((-y2) * x), $MachinePrecision] + N[(y3 * z), $MachinePrecision]), $MachinePrecision] * y0 + N[(t$95$1 * i + N[(N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    t_1 := y \cdot x - t \cdot z\\
    t_2 := y4 \cdot c - y5 \cdot a\\
    t_3 := \mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot t\_2\right)\right) \cdot y2\\
    \mathbf{if}\;c \leq -8.5 \cdot 10^{+123}:\\
    \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, t\_2 \cdot y3\right)\right) \cdot y\\
    
    \mathbf{elif}\;c \leq -2.26 \cdot 10^{+67}:\\
    \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y3, z, x \cdot y2\right), -a, \mathsf{fma}\left(\mathsf{fma}\left(-j, y3, k \cdot y2\right), y4, \mathsf{fma}\left(-k, z, j \cdot x\right) \cdot i\right)\right) \cdot y1\\
    
    \mathbf{elif}\;c \leq -1.45 \cdot 10^{-133}:\\
    \;\;\;\;t\_3\\
    
    \mathbf{elif}\;c \leq 2.9 \cdot 10^{-166}:\\
    \;\;\;\;\mathsf{fma}\left(t\_1, 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}\;c \leq 3.3 \cdot 10^{+63}:\\
    \;\;\;\;t\_3\\
    
    \mathbf{else}:\\
    \;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y0, \mathsf{fma}\left(t\_1, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 5 regimes
    2. if c < -8.5e123

      1. Initial program 27.3%

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

        \[\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 -8.5e123 < c < -2.26000000000000009e67

      1. Initial program 27.1%

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

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

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

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

        \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y2 \cdot x - 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. Step-by-step derivation
        1. Applied rewrites73.3%

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

        if -2.26000000000000009e67 < c < -1.4499999999999999e-133 or 2.9e-166 < c < 3.3000000000000002e63

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

          \[\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 -1.4499999999999999e-133 < c < 2.9e-166

        1. Initial program 37.1%

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

          \[\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 3.3000000000000002e63 < c

        1. Initial program 18.8%

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

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

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

            \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
          3. neg-mul-1N/A

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

            \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
          5. associate--l+N/A

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

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

            \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
          8. distribute-lft-neg-inN/A

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

            \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
        5. Applied rewrites72.9%

          \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
      7. Recombined 5 regimes into one program.
      8. Final simplification61.8%

        \[\leadsto \begin{array}{l} \mathbf{if}\;c \leq -8.5 \cdot 10^{+123}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + 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}\;c \leq -2.26 \cdot 10^{+67}:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y3, z, x \cdot y2\right), -a, \mathsf{fma}\left(\mathsf{fma}\left(-j, y3, k \cdot y2\right), y4, \mathsf{fma}\left(-k, z, j \cdot x\right) \cdot i\right)\right) \cdot y1\\ \mathbf{elif}\;c \leq -1.45 \cdot 10^{-133}:\\ \;\;\;\;\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}\;c \leq 2.9 \cdot 10^{-166}:\\ \;\;\;\;\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}\;c \leq 3.3 \cdot 10^{+63}:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)\\ \end{array} \]
      9. Add Preprocessing

      Alternative 4: 45.0% accurate, 2.1× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot t - k \cdot y\\ t_2 := y4 \cdot c - y5 \cdot a\\ t_3 := \mathsf{fma}\left(\left(-y4\right) \cdot b + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, t\_2 \cdot y3\right)\right) \cdot y\\ \mathbf{if}\;y \leq -7.2 \cdot 10^{+111}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;y \leq -1.05 \cdot 10^{-97}:\\ \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(t\_1, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b\\ \mathbf{elif}\;y \leq -2.4 \cdot 10^{-141}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(-x, y1, t \cdot y5\right)\right) \cdot y2\\ \mathbf{elif}\;y \leq 5.3 \cdot 10^{-87}:\\ \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot t\_2\right)\right) \cdot y2\\ \mathbf{elif}\;y \leq 9 \cdot 10^{+186}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\right)\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
       :precision binary64
       (let* ((t_1 (- (* j t) (* k y)))
              (t_2 (- (* y4 c) (* y5 a)))
              (t_3
               (*
                (fma
                 (+ (* (- y4) b) (* y5 i))
                 k
                 (fma (- (* b a) (* i c)) x (* t_2 y3)))
                y)))
         (if (<= y -7.2e+111)
           t_3
           (if (<= y -1.05e-97)
             (*
              (fma (- (* y x) (* t z)) a (fma t_1 y4 (* (- y0) (- (* j x) (* k z)))))
              b)
             (if (<= y -2.4e-141)
               (* (* a (fma (- x) y1 (* t y5))) y2)
               (if (<= y 5.3e-87)
                 (*
                  (fma
                   (- (* y4 y1) (* y5 y0))
                   k
                   (fma (- (* y0 c) (* y1 a)) x (* (- t) t_2)))
                  y2)
                 (if (<= y 9e+186)
                   (*
                    (fma
                     t_1
                     b
                     (fma (- (* y2 k) (* y3 j)) y1 (* (- c) (- (* y2 t) (* y3 y)))))
                    y4)
                   t_3)))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
      	double t_1 = (j * t) - (k * y);
      	double t_2 = (y4 * c) - (y5 * a);
      	double t_3 = fma(((-y4 * b) + (y5 * i)), k, fma(((b * a) - (i * c)), x, (t_2 * y3))) * y;
      	double tmp;
      	if (y <= -7.2e+111) {
      		tmp = t_3;
      	} else if (y <= -1.05e-97) {
      		tmp = fma(((y * x) - (t * z)), a, fma(t_1, y4, (-y0 * ((j * x) - (k * z))))) * b;
      	} else if (y <= -2.4e-141) {
      		tmp = (a * fma(-x, y1, (t * y5))) * y2;
      	} else if (y <= 5.3e-87) {
      		tmp = fma(((y4 * y1) - (y5 * y0)), k, fma(((y0 * c) - (y1 * a)), x, (-t * t_2))) * y2;
      	} else if (y <= 9e+186) {
      		tmp = fma(t_1, b, fma(((y2 * k) - (y3 * j)), y1, (-c * ((y2 * t) - (y3 * y))))) * y4;
      	} else {
      		tmp = t_3;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
      	t_1 = Float64(Float64(j * t) - Float64(k * y))
      	t_2 = Float64(Float64(y4 * c) - Float64(y5 * a))
      	t_3 = Float64(fma(Float64(Float64(Float64(-y4) * b) + Float64(y5 * i)), k, fma(Float64(Float64(b * a) - Float64(i * c)), x, Float64(t_2 * y3))) * y)
      	tmp = 0.0
      	if (y <= -7.2e+111)
      		tmp = t_3;
      	elseif (y <= -1.05e-97)
      		tmp = Float64(fma(Float64(Float64(y * x) - Float64(t * z)), a, fma(t_1, y4, Float64(Float64(-y0) * Float64(Float64(j * x) - Float64(k * z))))) * b);
      	elseif (y <= -2.4e-141)
      		tmp = Float64(Float64(a * fma(Float64(-x), y1, Float64(t * y5))) * y2);
      	elseif (y <= 5.3e-87)
      		tmp = Float64(fma(Float64(Float64(y4 * y1) - Float64(y5 * y0)), k, fma(Float64(Float64(y0 * c) - Float64(y1 * a)), x, Float64(Float64(-t) * t_2))) * y2);
      	elseif (y <= 9e+186)
      		tmp = Float64(fma(t_1, b, fma(Float64(Float64(y2 * k) - Float64(y3 * j)), y1, Float64(Float64(-c) * Float64(Float64(y2 * t) - Float64(y3 * y))))) * y4);
      	else
      		tmp = t_3;
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = 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[(t$95$2 * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]}, If[LessEqual[y, -7.2e+111], t$95$3, If[LessEqual[y, -1.05e-97], N[(N[(N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision] * a + N[(t$95$1 * y4 + N[((-y0) * N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y, -2.4e-141], N[(N[(a * N[((-x) * y1 + N[(t * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y, 5.3e-87], N[(N[(N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * k + N[(N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision] * x + N[((-t) * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y, 9e+186], N[(N[(t$95$1 * b + N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * y1 + N[((-c) * N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], t$95$3]]]]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := j \cdot t - k \cdot y\\
      t_2 := y4 \cdot c - y5 \cdot a\\
      t_3 := \mathsf{fma}\left(\left(-y4\right) \cdot b + y5 \cdot i, k, \mathsf{fma}\left(b \cdot a - i \cdot c, x, t\_2 \cdot y3\right)\right) \cdot y\\
      \mathbf{if}\;y \leq -7.2 \cdot 10^{+111}:\\
      \;\;\;\;t\_3\\
      
      \mathbf{elif}\;y \leq -1.05 \cdot 10^{-97}:\\
      \;\;\;\;\mathsf{fma}\left(y \cdot x - t \cdot z, a, \mathsf{fma}\left(t\_1, y4, \left(-y0\right) \cdot \left(j \cdot x - k \cdot z\right)\right)\right) \cdot b\\
      
      \mathbf{elif}\;y \leq -2.4 \cdot 10^{-141}:\\
      \;\;\;\;\left(a \cdot \mathsf{fma}\left(-x, y1, t \cdot y5\right)\right) \cdot y2\\
      
      \mathbf{elif}\;y \leq 5.3 \cdot 10^{-87}:\\
      \;\;\;\;\mathsf{fma}\left(y4 \cdot y1 - y5 \cdot y0, k, \mathsf{fma}\left(y0 \cdot c - y1 \cdot a, x, \left(-t\right) \cdot t\_2\right)\right) \cdot y2\\
      
      \mathbf{elif}\;y \leq 9 \cdot 10^{+186}:\\
      \;\;\;\;\mathsf{fma}\left(t\_1, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\right)\right)\right) \cdot y4\\
      
      \mathbf{else}:\\
      \;\;\;\;t\_3\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 5 regimes
      2. if y < -7.2000000000000004e111 or 9.0000000000000009e186 < y

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

          \[\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.2000000000000004e111 < y < -1.0500000000000001e-97

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

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

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

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

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

        if -1.0500000000000001e-97 < y < -2.4000000000000001e-141

        1. Initial program 28.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 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 rewrites14.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} \]
        6. Taylor expanded in a around inf

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

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

          if -2.4000000000000001e-141 < y < 5.29999999999999986e-87

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

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

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

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

            \[\leadsto \color{blue}{\mathsf{fma}\left(y4 \cdot y1 - 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 5.29999999999999986e-87 < y < 9.0000000000000009e186

          1. Initial program 32.8%

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

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

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

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

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

          \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -7.2 \cdot 10^{+111}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + 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}\;y \leq -1.05 \cdot 10^{-97}:\\ \;\;\;\;\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}\;y \leq -2.4 \cdot 10^{-141}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(-x, y1, t \cdot y5\right)\right) \cdot y2\\ \mathbf{elif}\;y \leq 5.3 \cdot 10^{-87}:\\ \;\;\;\;\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}\;y \leq 9 \cdot 10^{+186}:\\ \;\;\;\;\mathsf{fma}\left(j \cdot t - k \cdot y, b, \mathsf{fma}\left(y2 \cdot k - y3 \cdot j, y1, \left(-c\right) \cdot \left(y2 \cdot t - y3 \cdot y\right)\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + 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\\ \end{array} \]
        10. Add Preprocessing

        Alternative 5: 38.1% accurate, 2.1× speedup?

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

          1. Initial program 24.2%

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

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

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

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

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

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

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

            if -9.60000000000000053e44 < y3 < -2.99999999999999986e-213 or 4.79999999999999992e25 < y3 < 1.15e198

            1. Initial program 32.3%

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

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

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

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

              \[\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} \]

            if -2.99999999999999986e-213 < y3 < -5.99999999999999978e-302

            1. Initial program 23.2%

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

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

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

                \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
              3. neg-mul-1N/A

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

                \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
              5. associate--l+N/A

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

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

                \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
              8. distribute-lft-neg-inN/A

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

                \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
            5. Applied rewrites39.6%

              \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
            6. Taylor expanded in y3 around -inf

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

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

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

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

                if -5.99999999999999978e-302 < y3 < 4.79999999999999992e25

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

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

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

                    \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                  3. neg-mul-1N/A

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

                    \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                  5. associate--l+N/A

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

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

                    \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                  8. distribute-lft-neg-inN/A

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

                    \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                5. Applied rewrites49.3%

                  \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                6. Taylor expanded in y4 around 0

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

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

                  \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -9.6 \cdot 10^{+44}:\\ \;\;\;\;\left(\left(-y3\right) \cdot \mathsf{fma}\left(-c, y, j \cdot y1\right)\right) \cdot y4\\ \mathbf{elif}\;y3 \leq -3 \cdot 10^{-213}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{elif}\;y3 \leq -6 \cdot 10^{-302}:\\ \;\;\;\;c \cdot \left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right)\\ \mathbf{elif}\;y3 \leq 4.8 \cdot 10^{+25}:\\ \;\;\;\;\left(-c\right) \cdot \mathsf{fma}\left(i, \mathsf{fma}\left(x, y, \left(-t\right) \cdot z\right), y0 \cdot \mathsf{fma}\left(-x, y2, y3 \cdot z\right)\right)\\ \mathbf{elif}\;y3 \leq 1.15 \cdot 10^{+198}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + y3 \cdot z, y1, \mathsf{fma}\left(y \cdot x - t \cdot z, b, \left(y2 \cdot t - y3 \cdot y\right) \cdot y5\right)\right) \cdot a\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y3\right) \cdot \mathsf{fma}\left(-c, y, j \cdot y1\right)\right) \cdot y4\\ \end{array} \]
                10. Add Preprocessing

                Alternative 6: 45.7% accurate, 2.5× speedup?

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

                  1. Initial program 25.0%

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

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

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

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

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

                    \[\leadsto \mathsf{fma}\left(-\left(y4 \cdot b - y5 \cdot i\right), y, b \cdot \left(y0 \cdot z\right)\right) \cdot k \]
                  7. Step-by-step derivation
                    1. Applied rewrites66.8%

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

                    if -6.4999999999999999e-73 < x < 3.19999999999999985e38

                    1. Initial program 38.0%

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

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

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

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

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

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

                  Alternative 7: 40.0% accurate, 2.5× speedup?

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

                    1. Initial program 17.7%

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

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

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

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

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

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

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

                      if -1.02000000000000006e79 < t < -1.7200000000000001e-264

                      1. Initial program 41.3%

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

                        \[\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 -1.7200000000000001e-264 < t < 165000

                      1. Initial program 40.4%

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

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

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

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

                        \[\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 165000 < t

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

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

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

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

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

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

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

                        \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.02 \cdot 10^{+79}:\\ \;\;\;\;c \cdot \left(t \cdot \mathsf{fma}\left(-y2, y4, i \cdot z\right)\right)\\ \mathbf{elif}\;t \leq -1.72 \cdot 10^{-264}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + 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}\;t \leq 165000:\\ \;\;\;\;\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{else}:\\ \;\;\;\;\left(t \cdot \mathsf{fma}\left(-c, y2, b \cdot j\right)\right) \cdot y4\\ \end{array} \]
                      10. Add Preprocessing

                      Alternative 8: 41.5% accurate, 2.5× speedup?

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

                        1. Initial program 17.7%

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

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

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

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

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

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

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

                          if -1.02000000000000006e79 < t < -1.7200000000000001e-264

                          1. Initial program 41.3%

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

                            \[\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 -1.7200000000000001e-264 < t < 2.25e88

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

                          if 2.25e88 < t

                          1. Initial program 25.0%

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

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

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

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

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

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

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

                            \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.02 \cdot 10^{+79}:\\ \;\;\;\;c \cdot \left(t \cdot \mathsf{fma}\left(-y2, y4, i \cdot z\right)\right)\\ \mathbf{elif}\;t \leq -1.72 \cdot 10^{-264}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y4\right) \cdot b + 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}\;t \leq 2.25 \cdot 10^{+88}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + 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}:\\ \;\;\;\;\left(t \cdot \mathsf{fma}\left(-c, y2, b \cdot j\right)\right) \cdot y4\\ \end{array} \]
                          10. Add Preprocessing

                          Alternative 9: 37.1% accurate, 2.5× speedup?

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

                            1. Initial program 28.0%

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

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

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

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

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

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

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

                              if -7.99999999999999999e-78 < t < 3.39999999999999999e-308

                              1. Initial program 39.5%

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

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

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

                                if 3.39999999999999999e-308 < t < 2.25e88

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

                                if 2.25e88 < t

                                1. Initial program 25.0%

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

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

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

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

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

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

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

                                  \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -8 \cdot 10^{-78}:\\ \;\;\;\;c \cdot \left(t \cdot \mathsf{fma}\left(-y2, y4, i \cdot z\right)\right)\\ \mathbf{elif}\;t \leq 3.4 \cdot 10^{-308}:\\ \;\;\;\;\left(y0 \cdot \mathsf{fma}\left(-y2, y5, b \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;t \leq 2.25 \cdot 10^{+88}:\\ \;\;\;\;\mathsf{fma}\left(\left(-y2\right) \cdot x + 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}:\\ \;\;\;\;\left(t \cdot \mathsf{fma}\left(-c, y2, b \cdot j\right)\right) \cdot y4\\ \end{array} \]
                                10. Add Preprocessing

                                Alternative 10: 34.6% accurate, 3.2× speedup?

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

                                  1. Initial program 28.0%

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

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

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

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

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

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

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

                                    if -7.99999999999999999e-78 < t < 3.40000000000000018e-289

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

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

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

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

                                      if 3.40000000000000018e-289 < t < 2.8e57

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

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

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

                                          \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                        3. neg-mul-1N/A

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

                                          \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                        5. associate--l+N/A

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

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

                                          \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                        8. distribute-lft-neg-inN/A

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

                                          \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                      5. Applied rewrites47.8%

                                        \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                      6. Taylor expanded in y4 around 0

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

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

                                        if 2.8e57 < t

                                        1. Initial program 25.4%

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

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

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

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

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

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

                                            \[\leadsto \left(t \cdot \mathsf{fma}\left(-c, y2, b \cdot j\right)\right) \cdot y4 \]
                                        8. Recombined 4 regimes into one program.
                                        9. Add Preprocessing

                                        Alternative 11: 22.2% accurate, 3.7× speedup?

                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\ \mathbf{if}\;t \leq -1.3 \cdot 10^{+270}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -2.1 \cdot 10^{+93}:\\ \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\ \mathbf{elif}\;t \leq -7 \cdot 10^{-38}:\\ \;\;\;\;\left(c \cdot y3\right) \cdot \left(y \cdot y4\right)\\ \mathbf{elif}\;t \leq -1.02 \cdot 10^{-235}:\\ \;\;\;\;\left(\left(-a\right) \cdot \left(x \cdot y2\right)\right) \cdot y1\\ \mathbf{elif}\;t \leq 10^{-146}:\\ \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\ \mathbf{elif}\;t \leq 6.6 \cdot 10^{+28}:\\ \;\;\;\;\left(\left(-j\right) \cdot \left(y3 \cdot y4\right)\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                         :precision binary64
                                         (let* ((t_1 (* c (* (* (- t) y2) y4))))
                                           (if (<= t -1.3e+270)
                                             t_1
                                             (if (<= t -2.1e+93)
                                               (* c (* i (* t z)))
                                               (if (<= t -7e-38)
                                                 (* (* c y3) (* y y4))
                                                 (if (<= t -1.02e-235)
                                                   (* (* (- a) (* x y2)) y1)
                                                   (if (<= t 1e-146)
                                                     (* (* c (* y y3)) y4)
                                                     (if (<= t 6.6e+28) (* (* (- j) (* y3 y4)) y1) t_1))))))))
                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                        	double t_1 = c * ((-t * y2) * y4);
                                        	double tmp;
                                        	if (t <= -1.3e+270) {
                                        		tmp = t_1;
                                        	} else if (t <= -2.1e+93) {
                                        		tmp = c * (i * (t * z));
                                        	} else if (t <= -7e-38) {
                                        		tmp = (c * y3) * (y * y4);
                                        	} else if (t <= -1.02e-235) {
                                        		tmp = (-a * (x * y2)) * y1;
                                        	} else if (t <= 1e-146) {
                                        		tmp = (c * (y * y3)) * y4;
                                        	} else if (t <= 6.6e+28) {
                                        		tmp = (-j * (y3 * y4)) * 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 = c * ((-t * y2) * y4)
                                            if (t <= (-1.3d+270)) then
                                                tmp = t_1
                                            else if (t <= (-2.1d+93)) then
                                                tmp = c * (i * (t * z))
                                            else if (t <= (-7d-38)) then
                                                tmp = (c * y3) * (y * y4)
                                            else if (t <= (-1.02d-235)) then
                                                tmp = (-a * (x * y2)) * y1
                                            else if (t <= 1d-146) then
                                                tmp = (c * (y * y3)) * y4
                                            else if (t <= 6.6d+28) then
                                                tmp = (-j * (y3 * y4)) * 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 = c * ((-t * y2) * y4);
                                        	double tmp;
                                        	if (t <= -1.3e+270) {
                                        		tmp = t_1;
                                        	} else if (t <= -2.1e+93) {
                                        		tmp = c * (i * (t * z));
                                        	} else if (t <= -7e-38) {
                                        		tmp = (c * y3) * (y * y4);
                                        	} else if (t <= -1.02e-235) {
                                        		tmp = (-a * (x * y2)) * y1;
                                        	} else if (t <= 1e-146) {
                                        		tmp = (c * (y * y3)) * y4;
                                        	} else if (t <= 6.6e+28) {
                                        		tmp = (-j * (y3 * y4)) * 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 = c * ((-t * y2) * y4)
                                        	tmp = 0
                                        	if t <= -1.3e+270:
                                        		tmp = t_1
                                        	elif t <= -2.1e+93:
                                        		tmp = c * (i * (t * z))
                                        	elif t <= -7e-38:
                                        		tmp = (c * y3) * (y * y4)
                                        	elif t <= -1.02e-235:
                                        		tmp = (-a * (x * y2)) * y1
                                        	elif t <= 1e-146:
                                        		tmp = (c * (y * y3)) * y4
                                        	elif t <= 6.6e+28:
                                        		tmp = (-j * (y3 * y4)) * y1
                                        	else:
                                        		tmp = t_1
                                        	return tmp
                                        
                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                        	t_1 = Float64(c * Float64(Float64(Float64(-t) * y2) * y4))
                                        	tmp = 0.0
                                        	if (t <= -1.3e+270)
                                        		tmp = t_1;
                                        	elseif (t <= -2.1e+93)
                                        		tmp = Float64(c * Float64(i * Float64(t * z)));
                                        	elseif (t <= -7e-38)
                                        		tmp = Float64(Float64(c * y3) * Float64(y * y4));
                                        	elseif (t <= -1.02e-235)
                                        		tmp = Float64(Float64(Float64(-a) * Float64(x * y2)) * y1);
                                        	elseif (t <= 1e-146)
                                        		tmp = Float64(Float64(c * Float64(y * y3)) * y4);
                                        	elseif (t <= 6.6e+28)
                                        		tmp = Float64(Float64(Float64(-j) * Float64(y3 * y4)) * 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 = c * ((-t * y2) * y4);
                                        	tmp = 0.0;
                                        	if (t <= -1.3e+270)
                                        		tmp = t_1;
                                        	elseif (t <= -2.1e+93)
                                        		tmp = c * (i * (t * z));
                                        	elseif (t <= -7e-38)
                                        		tmp = (c * y3) * (y * y4);
                                        	elseif (t <= -1.02e-235)
                                        		tmp = (-a * (x * y2)) * y1;
                                        	elseif (t <= 1e-146)
                                        		tmp = (c * (y * y3)) * y4;
                                        	elseif (t <= 6.6e+28)
                                        		tmp = (-j * (y3 * y4)) * 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[(c * N[(N[((-t) * y2), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.3e+270], t$95$1, If[LessEqual[t, -2.1e+93], N[(c * N[(i * N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -7e-38], N[(N[(c * y3), $MachinePrecision] * N[(y * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.02e-235], N[(N[((-a) * N[(x * y2), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[t, 1e-146], N[(N[(c * N[(y * y3), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], If[LessEqual[t, 6.6e+28], N[(N[((-j) * N[(y3 * y4), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], t$95$1]]]]]]]
                                        
                                        \begin{array}{l}
                                        
                                        \\
                                        \begin{array}{l}
                                        t_1 := c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\
                                        \mathbf{if}\;t \leq -1.3 \cdot 10^{+270}:\\
                                        \;\;\;\;t\_1\\
                                        
                                        \mathbf{elif}\;t \leq -2.1 \cdot 10^{+93}:\\
                                        \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\
                                        
                                        \mathbf{elif}\;t \leq -7 \cdot 10^{-38}:\\
                                        \;\;\;\;\left(c \cdot y3\right) \cdot \left(y \cdot y4\right)\\
                                        
                                        \mathbf{elif}\;t \leq -1.02 \cdot 10^{-235}:\\
                                        \;\;\;\;\left(\left(-a\right) \cdot \left(x \cdot y2\right)\right) \cdot y1\\
                                        
                                        \mathbf{elif}\;t \leq 10^{-146}:\\
                                        \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\
                                        
                                        \mathbf{elif}\;t \leq 6.6 \cdot 10^{+28}:\\
                                        \;\;\;\;\left(\left(-j\right) \cdot \left(y3 \cdot y4\right)\right) \cdot y1\\
                                        
                                        \mathbf{else}:\\
                                        \;\;\;\;t\_1\\
                                        
                                        
                                        \end{array}
                                        \end{array}
                                        
                                        Derivation
                                        1. Split input into 6 regimes
                                        2. if t < -1.30000000000000006e270 or 6.6e28 < t

                                          1. Initial program 24.4%

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

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

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

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

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

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

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

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

                                                \[\leadsto c \cdot \left(-\left(t \cdot y2\right) \cdot y4\right) \]

                                              if -1.30000000000000006e270 < t < -2.0999999999999998e93

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

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

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

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

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

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

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

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

                                                    \[\leadsto c \cdot \left(i \cdot \left(t \cdot \color{blue}{z}\right)\right) \]

                                                  if -2.0999999999999998e93 < t < -7.0000000000000003e-38

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

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

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

                                                      \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                    3. neg-mul-1N/A

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

                                                      \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                    5. associate--l+N/A

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

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

                                                      \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                    8. distribute-lft-neg-inN/A

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

                                                      \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                  5. Applied rewrites36.6%

                                                    \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                  6. Taylor expanded in y3 around -inf

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

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

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

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

                                                      if -7.0000000000000003e-38 < t < -1.02e-235

                                                      1. Initial program 36.5%

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

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

                                                          \[\leadsto \left(-1 \cdot \left(a \cdot \left(x \cdot y2\right)\right)\right) \cdot y1 \]
                                                        3. Step-by-step derivation
                                                          1. Applied rewrites37.8%

                                                            \[\leadsto \left(-a \cdot \left(x \cdot y2\right)\right) \cdot y1 \]

                                                          if -1.02e-235 < t < 1.00000000000000003e-146

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

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

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

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

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

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

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

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

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

                                                              if 1.00000000000000003e-146 < t < 6.6e28

                                                              1. Initial program 36.3%

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

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

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

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

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

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

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

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

                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.3 \cdot 10^{+270}:\\ \;\;\;\;c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\ \mathbf{elif}\;t \leq -2.1 \cdot 10^{+93}:\\ \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\ \mathbf{elif}\;t \leq -7 \cdot 10^{-38}:\\ \;\;\;\;\left(c \cdot y3\right) \cdot \left(y \cdot y4\right)\\ \mathbf{elif}\;t \leq -1.02 \cdot 10^{-235}:\\ \;\;\;\;\left(\left(-a\right) \cdot \left(x \cdot y2\right)\right) \cdot y1\\ \mathbf{elif}\;t \leq 10^{-146}:\\ \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\ \mathbf{elif}\;t \leq 6.6 \cdot 10^{+28}:\\ \;\;\;\;\left(\left(-j\right) \cdot \left(y3 \cdot y4\right)\right) \cdot y1\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\ \end{array} \]
                                                                6. Add Preprocessing

                                                                Alternative 12: 32.6% accurate, 3.7× speedup?

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

                                                                  1. Initial program 28.0%

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

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

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

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

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

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

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

                                                                    if -7.99999999999999999e-78 < t < 6.1999999999999996e-284

                                                                    1. Initial program 37.6%

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

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

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

                                                                      if 6.1999999999999996e-284 < t < 2.40000000000000017e-173

                                                                      1. Initial program 43.4%

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

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

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

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

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

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

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

                                                                        if 2.40000000000000017e-173 < t < 6.19999999999999986e32

                                                                        1. Initial program 35.6%

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

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

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

                                                                          if 6.19999999999999986e32 < t < 2.50000000000000012e95

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

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

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

                                                                            if 2.50000000000000012e95 < t

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

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

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

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

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

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

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

                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -8 \cdot 10^{-78}:\\ \;\;\;\;c \cdot \left(t \cdot \mathsf{fma}\left(-y2, y4, i \cdot z\right)\right)\\ \mathbf{elif}\;t \leq 6.2 \cdot 10^{-284}:\\ \;\;\;\;\left(y0 \cdot \mathsf{fma}\left(-y2, y5, b \cdot z\right)\right) \cdot k\\ \mathbf{elif}\;t \leq 2.4 \cdot 10^{-173}:\\ \;\;\;\;\left(y \cdot \mathsf{fma}\left(-b, k, c \cdot y3\right)\right) \cdot y4\\ \mathbf{elif}\;t \leq 6.2 \cdot 10^{+32}:\\ \;\;\;\;\left(-y0\right) \cdot \left(y2 \cdot \mathsf{fma}\left(-c, x, k \cdot y5\right)\right)\\ \mathbf{elif}\;t \leq 2.5 \cdot 10^{+95}:\\ \;\;\;\;\left(a \cdot \mathsf{fma}\left(-x, y1, t \cdot y5\right)\right) \cdot y2\\ \mathbf{else}:\\ \;\;\;\;\left(t \cdot \mathsf{fma}\left(-c, y2, b \cdot j\right)\right) \cdot y4\\ \end{array} \]
                                                                            10. Add Preprocessing

                                                                            Alternative 13: 22.3% accurate, 4.2× speedup?

                                                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\ \mathbf{if}\;t \leq -1.3 \cdot 10^{+270}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -2.1 \cdot 10^{+93}:\\ \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\ \mathbf{elif}\;t \leq -7 \cdot 10^{-38}:\\ \;\;\;\;\left(c \cdot y3\right) \cdot \left(y \cdot y4\right)\\ \mathbf{elif}\;t \leq -1.02 \cdot 10^{-235}:\\ \;\;\;\;\left(\left(-a\right) \cdot \left(x \cdot y2\right)\right) \cdot y1\\ \mathbf{elif}\;t \leq 3.7 \cdot 10^{-37}:\\ \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\ \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 (* (* (- t) y2) y4))))
                                                                               (if (<= t -1.3e+270)
                                                                                 t_1
                                                                                 (if (<= t -2.1e+93)
                                                                                   (* c (* i (* t z)))
                                                                                   (if (<= t -7e-38)
                                                                                     (* (* c y3) (* y y4))
                                                                                     (if (<= t -1.02e-235)
                                                                                       (* (* (- a) (* x y2)) y1)
                                                                                       (if (<= t 3.7e-37) (* (* c (* y y3)) 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 = c * ((-t * y2) * y4);
                                                                            	double tmp;
                                                                            	if (t <= -1.3e+270) {
                                                                            		tmp = t_1;
                                                                            	} else if (t <= -2.1e+93) {
                                                                            		tmp = c * (i * (t * z));
                                                                            	} else if (t <= -7e-38) {
                                                                            		tmp = (c * y3) * (y * y4);
                                                                            	} else if (t <= -1.02e-235) {
                                                                            		tmp = (-a * (x * y2)) * y1;
                                                                            	} else if (t <= 3.7e-37) {
                                                                            		tmp = (c * (y * y3)) * y4;
                                                                            	} 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 = c * ((-t * y2) * y4)
                                                                                if (t <= (-1.3d+270)) then
                                                                                    tmp = t_1
                                                                                else if (t <= (-2.1d+93)) then
                                                                                    tmp = c * (i * (t * z))
                                                                                else if (t <= (-7d-38)) then
                                                                                    tmp = (c * y3) * (y * y4)
                                                                                else if (t <= (-1.02d-235)) then
                                                                                    tmp = (-a * (x * y2)) * y1
                                                                                else if (t <= 3.7d-37) then
                                                                                    tmp = (c * (y * y3)) * y4
                                                                                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 = c * ((-t * y2) * y4);
                                                                            	double tmp;
                                                                            	if (t <= -1.3e+270) {
                                                                            		tmp = t_1;
                                                                            	} else if (t <= -2.1e+93) {
                                                                            		tmp = c * (i * (t * z));
                                                                            	} else if (t <= -7e-38) {
                                                                            		tmp = (c * y3) * (y * y4);
                                                                            	} else if (t <= -1.02e-235) {
                                                                            		tmp = (-a * (x * y2)) * y1;
                                                                            	} else if (t <= 3.7e-37) {
                                                                            		tmp = (c * (y * y3)) * y4;
                                                                            	} 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 = c * ((-t * y2) * y4)
                                                                            	tmp = 0
                                                                            	if t <= -1.3e+270:
                                                                            		tmp = t_1
                                                                            	elif t <= -2.1e+93:
                                                                            		tmp = c * (i * (t * z))
                                                                            	elif t <= -7e-38:
                                                                            		tmp = (c * y3) * (y * y4)
                                                                            	elif t <= -1.02e-235:
                                                                            		tmp = (-a * (x * y2)) * y1
                                                                            	elif t <= 3.7e-37:
                                                                            		tmp = (c * (y * y3)) * 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(c * Float64(Float64(Float64(-t) * y2) * y4))
                                                                            	tmp = 0.0
                                                                            	if (t <= -1.3e+270)
                                                                            		tmp = t_1;
                                                                            	elseif (t <= -2.1e+93)
                                                                            		tmp = Float64(c * Float64(i * Float64(t * z)));
                                                                            	elseif (t <= -7e-38)
                                                                            		tmp = Float64(Float64(c * y3) * Float64(y * y4));
                                                                            	elseif (t <= -1.02e-235)
                                                                            		tmp = Float64(Float64(Float64(-a) * Float64(x * y2)) * y1);
                                                                            	elseif (t <= 3.7e-37)
                                                                            		tmp = Float64(Float64(c * Float64(y * y3)) * y4);
                                                                            	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 = c * ((-t * y2) * y4);
                                                                            	tmp = 0.0;
                                                                            	if (t <= -1.3e+270)
                                                                            		tmp = t_1;
                                                                            	elseif (t <= -2.1e+93)
                                                                            		tmp = c * (i * (t * z));
                                                                            	elseif (t <= -7e-38)
                                                                            		tmp = (c * y3) * (y * y4);
                                                                            	elseif (t <= -1.02e-235)
                                                                            		tmp = (-a * (x * y2)) * y1;
                                                                            	elseif (t <= 3.7e-37)
                                                                            		tmp = (c * (y * y3)) * y4;
                                                                            	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[(c * N[(N[((-t) * y2), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.3e+270], t$95$1, If[LessEqual[t, -2.1e+93], N[(c * N[(i * N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -7e-38], N[(N[(c * y3), $MachinePrecision] * N[(y * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -1.02e-235], N[(N[((-a) * N[(x * y2), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[t, 3.7e-37], N[(N[(c * N[(y * y3), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], t$95$1]]]]]]
                                                                            
                                                                            \begin{array}{l}
                                                                            
                                                                            \\
                                                                            \begin{array}{l}
                                                                            t_1 := c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\
                                                                            \mathbf{if}\;t \leq -1.3 \cdot 10^{+270}:\\
                                                                            \;\;\;\;t\_1\\
                                                                            
                                                                            \mathbf{elif}\;t \leq -2.1 \cdot 10^{+93}:\\
                                                                            \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\
                                                                            
                                                                            \mathbf{elif}\;t \leq -7 \cdot 10^{-38}:\\
                                                                            \;\;\;\;\left(c \cdot y3\right) \cdot \left(y \cdot y4\right)\\
                                                                            
                                                                            \mathbf{elif}\;t \leq -1.02 \cdot 10^{-235}:\\
                                                                            \;\;\;\;\left(\left(-a\right) \cdot \left(x \cdot y2\right)\right) \cdot y1\\
                                                                            
                                                                            \mathbf{elif}\;t \leq 3.7 \cdot 10^{-37}:\\
                                                                            \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\
                                                                            
                                                                            \mathbf{else}:\\
                                                                            \;\;\;\;t\_1\\
                                                                            
                                                                            
                                                                            \end{array}
                                                                            \end{array}
                                                                            
                                                                            Derivation
                                                                            1. Split input into 5 regimes
                                                                            2. if t < -1.30000000000000006e270 or 3.7e-37 < t

                                                                              1. Initial program 24.7%

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

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

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

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

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

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

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

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

                                                                                    \[\leadsto c \cdot \left(-\left(t \cdot y2\right) \cdot y4\right) \]

                                                                                  if -1.30000000000000006e270 < t < -2.0999999999999998e93

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

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

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

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

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

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

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

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

                                                                                        \[\leadsto c \cdot \left(i \cdot \left(t \cdot \color{blue}{z}\right)\right) \]

                                                                                      if -2.0999999999999998e93 < t < -7.0000000000000003e-38

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

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

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

                                                                                          \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                        3. neg-mul-1N/A

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

                                                                                          \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                        5. associate--l+N/A

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

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

                                                                                          \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                        8. distribute-lft-neg-inN/A

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

                                                                                          \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                      5. Applied rewrites36.6%

                                                                                        \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                      6. Taylor expanded in y3 around -inf

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

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

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

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

                                                                                          if -7.0000000000000003e-38 < t < -1.02e-235

                                                                                          1. Initial program 36.5%

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

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

                                                                                              \[\leadsto \left(-1 \cdot \left(a \cdot \left(x \cdot y2\right)\right)\right) \cdot y1 \]
                                                                                            3. Step-by-step derivation
                                                                                              1. Applied rewrites37.8%

                                                                                                \[\leadsto \left(-a \cdot \left(x \cdot y2\right)\right) \cdot y1 \]

                                                                                              if -1.02e-235 < t < 3.7e-37

                                                                                              1. Initial program 42.6%

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

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

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

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

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

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

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

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

                                                                                                    \[\leadsto \left(c \cdot \left(y \cdot y3\right)\right) \cdot y4 \]
                                                                                                4. Recombined 5 regimes into one program.
                                                                                                5. Final simplification35.7%

                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.3 \cdot 10^{+270}:\\ \;\;\;\;c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\ \mathbf{elif}\;t \leq -2.1 \cdot 10^{+93}:\\ \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\ \mathbf{elif}\;t \leq -7 \cdot 10^{-38}:\\ \;\;\;\;\left(c \cdot y3\right) \cdot \left(y \cdot y4\right)\\ \mathbf{elif}\;t \leq -1.02 \cdot 10^{-235}:\\ \;\;\;\;\left(\left(-a\right) \cdot \left(x \cdot y2\right)\right) \cdot y1\\ \mathbf{elif}\;t \leq 3.7 \cdot 10^{-37}:\\ \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\ \end{array} \]
                                                                                                6. Add Preprocessing

                                                                                                Alternative 14: 31.8% accurate, 4.2× speedup?

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

                                                                                                  1. Initial program 28.0%

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

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

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

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

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

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

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

                                                                                                    if -7.99999999999999999e-78 < t < 6.1999999999999996e-284 or 2.40000000000000017e-173 < t < 7.50000000000000018e-81

                                                                                                    1. Initial program 36.7%

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

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

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

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

                                                                                                      if 6.1999999999999996e-284 < t < 2.40000000000000017e-173

                                                                                                      1. Initial program 43.4%

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

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

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

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

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

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

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

                                                                                                        if 7.50000000000000018e-81 < t

                                                                                                        1. Initial program 29.3%

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

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

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

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

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

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

                                                                                                            \[\leadsto \left(t \cdot \mathsf{fma}\left(-c, y2, b \cdot j\right)\right) \cdot y4 \]
                                                                                                        8. Recombined 4 regimes into one program.
                                                                                                        9. Add Preprocessing

                                                                                                        Alternative 15: 32.0% accurate, 4.6× speedup?

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

                                                                                                          1. Initial program 28.0%

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

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

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

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

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

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

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

                                                                                                            if -7.99999999999999999e-78 < t < 4.99999999999999973e-284

                                                                                                            1. Initial program 37.6%

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

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

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

                                                                                                              if 4.99999999999999973e-284 < t < 7.50000000000000018e-81

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

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

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

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

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

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

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

                                                                                                                if 7.50000000000000018e-81 < t

                                                                                                                1. Initial program 29.3%

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

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

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

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

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

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

                                                                                                                    \[\leadsto \left(t \cdot \mathsf{fma}\left(-c, y2, b \cdot j\right)\right) \cdot y4 \]
                                                                                                                8. Recombined 4 regimes into one program.
                                                                                                                9. Add Preprocessing

                                                                                                                Alternative 16: 31.1% accurate, 4.8× speedup?

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

                                                                                                                  1. Initial program 30.2%

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

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

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

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

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

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

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

                                                                                                                    if -7.99999999999999999e-78 < t < 7.99999999999999941e-104

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

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

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

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

                                                                                                                      if 5.5000000000000002e96 < t

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

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

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

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

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

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

                                                                                                                          \[\leadsto \left(j \cdot \mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right)\right) \cdot t \]
                                                                                                                      8. Recombined 3 regimes into one program.
                                                                                                                      9. Add Preprocessing

                                                                                                                      Alternative 17: 31.1% accurate, 4.8× speedup?

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

                                                                                                                        1. Initial program 30.1%

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

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

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

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

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

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

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

                                                                                                                          if -2.04999999999999997e-79 < t < 4.59999999999999972e-88

                                                                                                                          1. Initial program 38.2%

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

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

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

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

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

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

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

                                                                                                                            if 5.5000000000000002e96 < t

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

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

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

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

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

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

                                                                                                                                \[\leadsto \left(j \cdot \mathsf{fma}\left(b, y4, \left(-i\right) \cdot y5\right)\right) \cdot t \]
                                                                                                                            8. Recombined 3 regimes into one program.
                                                                                                                            9. Add Preprocessing

                                                                                                                            Alternative 18: 30.2% accurate, 4.8× speedup?

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

                                                                                                                              1. Initial program 26.7%

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

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

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

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

                                                                                                                                \[\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} \]
                                                                                                                              6. Taylor expanded in z 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 rewrites45.4%

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

                                                                                                                                if -3.3e21 < i < 1.9499999999999999e-14

                                                                                                                                1. Initial program 34.0%

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

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

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

                                                                                                                                    \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                  3. neg-mul-1N/A

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

                                                                                                                                    \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                  5. associate--l+N/A

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

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

                                                                                                                                    \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                  8. distribute-lft-neg-inN/A

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

                                                                                                                                    \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                5. Applied rewrites42.6%

                                                                                                                                  \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                6. Taylor expanded in y3 around -inf

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

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

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

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

                                                                                                                                    if 1.9499999999999999e-14 < i < 9.99999999999999978e122

                                                                                                                                    1. Initial program 41.9%

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

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

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

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

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

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

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

                                                                                                                                      if 9.99999999999999978e122 < i

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

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

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

                                                                                                                                          \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                        3. neg-mul-1N/A

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

                                                                                                                                          \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                        5. associate--l+N/A

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

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

                                                                                                                                          \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                        8. distribute-lft-neg-inN/A

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

                                                                                                                                          \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                      5. Applied rewrites34.7%

                                                                                                                                        \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                      6. Taylor expanded in z around -inf

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

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

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

                                                                                                                                      Alternative 19: 28.4% accurate, 4.8× speedup?

                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y3 \leq -1.88 \cdot 10^{+28}:\\ \;\;\;\;\left(\left(-j\right) \cdot \left(y3 \cdot y4\right)\right) \cdot y1\\ \mathbf{elif}\;y3 \leq -1.5 \cdot 10^{-160}:\\ \;\;\;\;c \cdot \left(t \cdot \mathsf{fma}\left(-y2, y4, i \cdot z\right)\right)\\ \mathbf{elif}\;y3 \leq 0.00185:\\ \;\;\;\;c \cdot \left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(j \cdot y5\right) \cdot \mathsf{fma}\left(y0, y3, \left(-i\right) \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 -1.88e+28)
                                                                                                                                         (* (* (- j) (* y3 y4)) y1)
                                                                                                                                         (if (<= y3 -1.5e-160)
                                                                                                                                           (* c (* t (fma (- y2) y4 (* i z))))
                                                                                                                                           (if (<= y3 0.00185)
                                                                                                                                             (* c (* y2 (fma (- t) y4 (* x y0))))
                                                                                                                                             (* (* j y5) (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 <= -1.88e+28) {
                                                                                                                                      		tmp = (-j * (y3 * y4)) * y1;
                                                                                                                                      	} else if (y3 <= -1.5e-160) {
                                                                                                                                      		tmp = c * (t * fma(-y2, y4, (i * z)));
                                                                                                                                      	} else if (y3 <= 0.00185) {
                                                                                                                                      		tmp = c * (y2 * fma(-t, y4, (x * y0)));
                                                                                                                                      	} else {
                                                                                                                                      		tmp = (j * y5) * 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 <= -1.88e+28)
                                                                                                                                      		tmp = Float64(Float64(Float64(-j) * Float64(y3 * y4)) * y1);
                                                                                                                                      	elseif (y3 <= -1.5e-160)
                                                                                                                                      		tmp = Float64(c * Float64(t * fma(Float64(-y2), y4, Float64(i * z))));
                                                                                                                                      	elseif (y3 <= 0.00185)
                                                                                                                                      		tmp = Float64(c * Float64(y2 * fma(Float64(-t), y4, Float64(x * y0))));
                                                                                                                                      	else
                                                                                                                                      		tmp = Float64(Float64(j * y5) * fma(y0, y3, Float64(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, -1.88e+28], N[(N[((-j) * N[(y3 * y4), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[y3, -1.5e-160], N[(c * N[(t * N[((-y2) * y4 + N[(i * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 0.00185], N[(c * N[(y2 * N[((-t) * y4 + N[(x * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(j * y5), $MachinePrecision] * N[(y0 * y3 + N[((-i) * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                                                                                                                                      
                                                                                                                                      \begin{array}{l}
                                                                                                                                      
                                                                                                                                      \\
                                                                                                                                      \begin{array}{l}
                                                                                                                                      \mathbf{if}\;y3 \leq -1.88 \cdot 10^{+28}:\\
                                                                                                                                      \;\;\;\;\left(\left(-j\right) \cdot \left(y3 \cdot y4\right)\right) \cdot y1\\
                                                                                                                                      
                                                                                                                                      \mathbf{elif}\;y3 \leq -1.5 \cdot 10^{-160}:\\
                                                                                                                                      \;\;\;\;c \cdot \left(t \cdot \mathsf{fma}\left(-y2, y4, i \cdot z\right)\right)\\
                                                                                                                                      
                                                                                                                                      \mathbf{elif}\;y3 \leq 0.00185:\\
                                                                                                                                      \;\;\;\;c \cdot \left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right)\\
                                                                                                                                      
                                                                                                                                      \mathbf{else}:\\
                                                                                                                                      \;\;\;\;\left(j \cdot y5\right) \cdot \mathsf{fma}\left(y0, y3, \left(-i\right) \cdot t\right)\\
                                                                                                                                      
                                                                                                                                      
                                                                                                                                      \end{array}
                                                                                                                                      \end{array}
                                                                                                                                      
                                                                                                                                      Derivation
                                                                                                                                      1. Split input into 4 regimes
                                                                                                                                      2. if y3 < -1.8799999999999999e28

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

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

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

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

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

                                                                                                                                            if -1.8799999999999999e28 < y3 < -1.49999999999999998e-160

                                                                                                                                            1. Initial program 30.5%

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

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

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

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

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

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

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

                                                                                                                                              if -1.49999999999999998e-160 < y3 < 0.0018500000000000001

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

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

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

                                                                                                                                                  \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                3. neg-mul-1N/A

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

                                                                                                                                                  \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                5. associate--l+N/A

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

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

                                                                                                                                                  \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                8. distribute-lft-neg-inN/A

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

                                                                                                                                                  \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                              5. Applied rewrites45.6%

                                                                                                                                                \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                              6. Taylor expanded in y3 around -inf

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

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

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

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

                                                                                                                                                  if 0.0018500000000000001 < y3

                                                                                                                                                  1. Initial program 27.0%

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

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

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

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

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

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

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

                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1.88 \cdot 10^{+28}:\\ \;\;\;\;\left(\left(-j\right) \cdot \left(y3 \cdot y4\right)\right) \cdot y1\\ \mathbf{elif}\;y3 \leq -1.5 \cdot 10^{-160}:\\ \;\;\;\;c \cdot \left(t \cdot \mathsf{fma}\left(-y2, y4, i \cdot z\right)\right)\\ \mathbf{elif}\;y3 \leq 0.00185:\\ \;\;\;\;c \cdot \left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(j \cdot y5\right) \cdot \mathsf{fma}\left(y0, y3, \left(-i\right) \cdot t\right)\\ \end{array} \]
                                                                                                                                                  10. Add Preprocessing

                                                                                                                                                  Alternative 20: 30.2% accurate, 4.8× speedup?

                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(t \cdot \mathsf{fma}\left(-y2, y4, i \cdot z\right)\right)\\ \mathbf{if}\;t \leq -1 \cdot 10^{-88}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -7.2 \cdot 10^{-241}:\\ \;\;\;\;\left(\left(-a\right) \cdot \left(x \cdot y2\right)\right) \cdot y1\\ \mathbf{elif}\;t \leq 4 \cdot 10^{-88}:\\ \;\;\;\;\left(c \cdot x\right) \cdot \mathsf{fma}\left(y0, y2, \left(-i\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 (* c (* t (fma (- y2) y4 (* i z))))))
                                                                                                                                                     (if (<= t -1e-88)
                                                                                                                                                       t_1
                                                                                                                                                       (if (<= t -7.2e-241)
                                                                                                                                                         (* (* (- a) (* x y2)) y1)
                                                                                                                                                         (if (<= t 4e-88) (* (* c x) (fma y0 y2 (* (- i) 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 = c * (t * fma(-y2, y4, (i * z)));
                                                                                                                                                  	double tmp;
                                                                                                                                                  	if (t <= -1e-88) {
                                                                                                                                                  		tmp = t_1;
                                                                                                                                                  	} else if (t <= -7.2e-241) {
                                                                                                                                                  		tmp = (-a * (x * y2)) * y1;
                                                                                                                                                  	} else if (t <= 4e-88) {
                                                                                                                                                  		tmp = (c * x) * fma(y0, y2, (-i * 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(c * Float64(t * fma(Float64(-y2), y4, Float64(i * z))))
                                                                                                                                                  	tmp = 0.0
                                                                                                                                                  	if (t <= -1e-88)
                                                                                                                                                  		tmp = t_1;
                                                                                                                                                  	elseif (t <= -7.2e-241)
                                                                                                                                                  		tmp = Float64(Float64(Float64(-a) * Float64(x * y2)) * y1);
                                                                                                                                                  	elseif (t <= 4e-88)
                                                                                                                                                  		tmp = Float64(Float64(c * x) * fma(y0, y2, Float64(Float64(-i) * 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[(c * N[(t * N[((-y2) * y4 + N[(i * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1e-88], t$95$1, If[LessEqual[t, -7.2e-241], N[(N[((-a) * N[(x * y2), $MachinePrecision]), $MachinePrecision] * y1), $MachinePrecision], If[LessEqual[t, 4e-88], N[(N[(c * x), $MachinePrecision] * N[(y0 * y2 + N[((-i) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                                                                                                                                                  
                                                                                                                                                  \begin{array}{l}
                                                                                                                                                  
                                                                                                                                                  \\
                                                                                                                                                  \begin{array}{l}
                                                                                                                                                  t_1 := c \cdot \left(t \cdot \mathsf{fma}\left(-y2, y4, i \cdot z\right)\right)\\
                                                                                                                                                  \mathbf{if}\;t \leq -1 \cdot 10^{-88}:\\
                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                  
                                                                                                                                                  \mathbf{elif}\;t \leq -7.2 \cdot 10^{-241}:\\
                                                                                                                                                  \;\;\;\;\left(\left(-a\right) \cdot \left(x \cdot y2\right)\right) \cdot y1\\
                                                                                                                                                  
                                                                                                                                                  \mathbf{elif}\;t \leq 4 \cdot 10^{-88}:\\
                                                                                                                                                  \;\;\;\;\left(c \cdot x\right) \cdot \mathsf{fma}\left(y0, y2, \left(-i\right) \cdot y\right)\\
                                                                                                                                                  
                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                  
                                                                                                                                                  
                                                                                                                                                  \end{array}
                                                                                                                                                  \end{array}
                                                                                                                                                  
                                                                                                                                                  Derivation
                                                                                                                                                  1. Split input into 3 regimes
                                                                                                                                                  2. if t < -9.99999999999999934e-89 or 3.99999999999999974e-88 < t

                                                                                                                                                    1. Initial program 29.5%

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

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

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

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

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

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

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

                                                                                                                                                      if -9.99999999999999934e-89 < t < -7.1999999999999998e-241

                                                                                                                                                      1. Initial program 29.1%

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

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

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

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

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

                                                                                                                                                          \[\leadsto \left(-1 \cdot \left(a \cdot \left(x \cdot y2\right)\right)\right) \cdot y1 \]
                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                          1. Applied rewrites42.5%

                                                                                                                                                            \[\leadsto \left(-a \cdot \left(x \cdot y2\right)\right) \cdot y1 \]

                                                                                                                                                          if -7.1999999999999998e-241 < t < 3.99999999999999974e-88

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

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

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

                                                                                                                                                              \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                            3. neg-mul-1N/A

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

                                                                                                                                                              \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                            5. associate--l+N/A

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

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

                                                                                                                                                              \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                            8. distribute-lft-neg-inN/A

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

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

                                                                                                                                                            \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                          6. Taylor expanded in x around -inf

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

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

                                                                                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1 \cdot 10^{-88}:\\ \;\;\;\;c \cdot \left(t \cdot \mathsf{fma}\left(-y2, y4, i \cdot z\right)\right)\\ \mathbf{elif}\;t \leq -7.2 \cdot 10^{-241}:\\ \;\;\;\;\left(\left(-a\right) \cdot \left(x \cdot y2\right)\right) \cdot y1\\ \mathbf{elif}\;t \leq 4 \cdot 10^{-88}:\\ \;\;\;\;\left(c \cdot x\right) \cdot \mathsf{fma}\left(y0, y2, \left(-i\right) \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(t \cdot \mathsf{fma}\left(-y2, y4, i \cdot z\right)\right)\\ \end{array} \]
                                                                                                                                                          10. Add Preprocessing

                                                                                                                                                          Alternative 21: 28.8% accurate, 4.8× speedup?

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

                                                                                                                                                            1. Initial program 12.5%

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

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

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

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

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

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

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

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

                                                                                                                                                                  \[\leadsto c \cdot \left(i \cdot \left(t \cdot \color{blue}{z}\right)\right) \]

                                                                                                                                                                if -8.20000000000000029e177 < i < 3.00000000000000029e-20

                                                                                                                                                                1. Initial program 34.2%

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

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

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

                                                                                                                                                                    \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                  3. neg-mul-1N/A

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

                                                                                                                                                                    \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                  5. associate--l+N/A

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

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

                                                                                                                                                                    \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                  8. distribute-lft-neg-inN/A

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

                                                                                                                                                                    \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                5. Applied rewrites39.8%

                                                                                                                                                                  \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                6. Taylor expanded in y3 around -inf

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

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

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

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

                                                                                                                                                                    if 3.00000000000000029e-20 < i < 2.40000000000000021e155

                                                                                                                                                                    1. Initial program 44.3%

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

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

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

                                                                                                                                                                        \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                      3. neg-mul-1N/A

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

                                                                                                                                                                        \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                      5. associate--l+N/A

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

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

                                                                                                                                                                        \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                      8. distribute-lft-neg-inN/A

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

                                                                                                                                                                        \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                    5. Applied rewrites53.6%

                                                                                                                                                                      \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                    6. Taylor expanded in x around -inf

                                                                                                                                                                      \[\leadsto c \cdot \color{blue}{\left(x \cdot \left(-1 \cdot \left(i \cdot y\right) + y0 \cdot y2\right)\right)} \]
                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                      1. Applied rewrites33.6%

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

                                                                                                                                                                      if 2.40000000000000021e155 < i

                                                                                                                                                                      1. Initial program 21.7%

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

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

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

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

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

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

                                                                                                                                                                          \[\leadsto \left(i \cdot \left(j \cdot x\right)\right) \cdot y1 \]
                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                          1. Applied rewrites44.1%

                                                                                                                                                                            \[\leadsto \left(\left(i \cdot j\right) \cdot x\right) \cdot y1 \]
                                                                                                                                                                        4. Recombined 4 regimes into one program.
                                                                                                                                                                        5. Final simplification39.8%

                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -8.2 \cdot 10^{+177}:\\ \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\ \mathbf{elif}\;i \leq 3 \cdot 10^{-20}:\\ \;\;\;\;c \cdot \left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right)\\ \mathbf{elif}\;i \leq 2.4 \cdot 10^{+155}:\\ \;\;\;\;\left(c \cdot x\right) \cdot \mathsf{fma}\left(y0, y2, \left(-i\right) \cdot y\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(i \cdot j\right) \cdot x\right) \cdot y1\\ \end{array} \]
                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                        Alternative 22: 29.9% accurate, 5.6× speedup?

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

                                                                                                                                                                          1. Initial program 29.4%

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

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

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

                                                                                                                                                                              \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                            3. neg-mul-1N/A

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

                                                                                                                                                                              \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                            5. associate--l+N/A

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

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

                                                                                                                                                                              \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                            8. distribute-lft-neg-inN/A

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

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

                                                                                                                                                                            \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                          6. Taylor expanded in z around -inf

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

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

                                                                                                                                                                            if -9.99999999999999958e27 < i < 1.6000000000000001e-14

                                                                                                                                                                            1. Initial program 34.6%

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

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

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

                                                                                                                                                                                \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                              3. neg-mul-1N/A

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

                                                                                                                                                                                \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                              5. associate--l+N/A

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

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

                                                                                                                                                                                \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                              8. distribute-lft-neg-inN/A

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

                                                                                                                                                                                \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                            5. Applied rewrites42.4%

                                                                                                                                                                              \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                            6. Taylor expanded in y3 around -inf

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

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

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

                                                                                                                                                                                  \[\leadsto c \cdot \color{blue}{\left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right)} \]
                                                                                                                                                                              4. Recombined 2 regimes into one program.
                                                                                                                                                                              5. Final simplification39.1%

                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -1 \cdot 10^{+28} \lor \neg \left(i \leq 1.6 \cdot 10^{-14}\right):\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(i, t, \left(-y0\right) \cdot y3\right)\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right)\\ \end{array} \]
                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                              Alternative 23: 21.5% accurate, 5.6× speedup?

                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\ \mathbf{if}\;t \leq -1.3 \cdot 10^{+270}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq -2.8 \cdot 10^{-172}:\\ \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\ \mathbf{elif}\;t \leq 3.7 \cdot 10^{-37}:\\ \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\ \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 (* (* (- t) y2) y4))))
                                                                                                                                                                                 (if (<= t -1.3e+270)
                                                                                                                                                                                   t_1
                                                                                                                                                                                   (if (<= t -2.8e-172)
                                                                                                                                                                                     (* c (* i (* t z)))
                                                                                                                                                                                     (if (<= t 3.7e-37) (* (* c (* y y3)) 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 = c * ((-t * y2) * y4);
                                                                                                                                                                              	double tmp;
                                                                                                                                                                              	if (t <= -1.3e+270) {
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	} else if (t <= -2.8e-172) {
                                                                                                                                                                              		tmp = c * (i * (t * z));
                                                                                                                                                                              	} else if (t <= 3.7e-37) {
                                                                                                                                                                              		tmp = (c * (y * y3)) * y4;
                                                                                                                                                                              	} 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 = c * ((-t * y2) * y4)
                                                                                                                                                                                  if (t <= (-1.3d+270)) then
                                                                                                                                                                                      tmp = t_1
                                                                                                                                                                                  else if (t <= (-2.8d-172)) then
                                                                                                                                                                                      tmp = c * (i * (t * z))
                                                                                                                                                                                  else if (t <= 3.7d-37) then
                                                                                                                                                                                      tmp = (c * (y * y3)) * y4
                                                                                                                                                                                  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 = c * ((-t * y2) * y4);
                                                                                                                                                                              	double tmp;
                                                                                                                                                                              	if (t <= -1.3e+270) {
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	} else if (t <= -2.8e-172) {
                                                                                                                                                                              		tmp = c * (i * (t * z));
                                                                                                                                                                              	} else if (t <= 3.7e-37) {
                                                                                                                                                                              		tmp = (c * (y * y3)) * y4;
                                                                                                                                                                              	} 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 = c * ((-t * y2) * y4)
                                                                                                                                                                              	tmp = 0
                                                                                                                                                                              	if t <= -1.3e+270:
                                                                                                                                                                              		tmp = t_1
                                                                                                                                                                              	elif t <= -2.8e-172:
                                                                                                                                                                              		tmp = c * (i * (t * z))
                                                                                                                                                                              	elif t <= 3.7e-37:
                                                                                                                                                                              		tmp = (c * (y * y3)) * 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(c * Float64(Float64(Float64(-t) * y2) * y4))
                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                              	if (t <= -1.3e+270)
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	elseif (t <= -2.8e-172)
                                                                                                                                                                              		tmp = Float64(c * Float64(i * Float64(t * z)));
                                                                                                                                                                              	elseif (t <= 3.7e-37)
                                                                                                                                                                              		tmp = Float64(Float64(c * Float64(y * y3)) * y4);
                                                                                                                                                                              	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 = c * ((-t * y2) * y4);
                                                                                                                                                                              	tmp = 0.0;
                                                                                                                                                                              	if (t <= -1.3e+270)
                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                              	elseif (t <= -2.8e-172)
                                                                                                                                                                              		tmp = c * (i * (t * z));
                                                                                                                                                                              	elseif (t <= 3.7e-37)
                                                                                                                                                                              		tmp = (c * (y * y3)) * y4;
                                                                                                                                                                              	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[(c * N[(N[((-t) * y2), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.3e+270], t$95$1, If[LessEqual[t, -2.8e-172], N[(c * N[(i * N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.7e-37], N[(N[(c * N[(y * y3), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], t$95$1]]]]
                                                                                                                                                                              
                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                              
                                                                                                                                                                              \\
                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                              t_1 := c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\
                                                                                                                                                                              \mathbf{if}\;t \leq -1.3 \cdot 10^{+270}:\\
                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                              
                                                                                                                                                                              \mathbf{elif}\;t \leq -2.8 \cdot 10^{-172}:\\
                                                                                                                                                                              \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\
                                                                                                                                                                              
                                                                                                                                                                              \mathbf{elif}\;t \leq 3.7 \cdot 10^{-37}:\\
                                                                                                                                                                              \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\
                                                                                                                                                                              
                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                              
                                                                                                                                                                              
                                                                                                                                                                              \end{array}
                                                                                                                                                                              \end{array}
                                                                                                                                                                              
                                                                                                                                                                              Derivation
                                                                                                                                                                              1. Split input into 3 regimes
                                                                                                                                                                              2. if t < -1.30000000000000006e270 or 3.7e-37 < t

                                                                                                                                                                                1. Initial program 24.7%

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

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

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

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

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

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

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

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

                                                                                                                                                                                      \[\leadsto c \cdot \left(-\left(t \cdot y2\right) \cdot y4\right) \]

                                                                                                                                                                                    if -1.30000000000000006e270 < t < -2.80000000000000011e-172

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

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

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

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

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

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

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

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

                                                                                                                                                                                          \[\leadsto c \cdot \left(i \cdot \left(t \cdot \color{blue}{z}\right)\right) \]

                                                                                                                                                                                        if -2.80000000000000011e-172 < t < 3.7e-37

                                                                                                                                                                                        1. Initial program 39.5%

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

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

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

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

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

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

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

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

                                                                                                                                                                                              \[\leadsto \left(c \cdot \left(y \cdot y3\right)\right) \cdot y4 \]
                                                                                                                                                                                          4. Recombined 3 regimes into one program.
                                                                                                                                                                                          5. Final simplification31.4%

                                                                                                                                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.3 \cdot 10^{+270}:\\ \;\;\;\;c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\ \mathbf{elif}\;t \leq -2.8 \cdot 10^{-172}:\\ \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\ \mathbf{elif}\;t \leq 3.7 \cdot 10^{-37}:\\ \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(\left(\left(-t\right) \cdot y2\right) \cdot y4\right)\\ \end{array} \]
                                                                                                                                                                                          6. Add Preprocessing

                                                                                                                                                                                          Alternative 24: 31.9% accurate, 5.6× speedup?

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

                                                                                                                                                                                            1. Initial program 28.0%

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

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

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

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

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

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

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

                                                                                                                                                                                              if -7.99999999999999999e-78 < t < 7.50000000000000018e-81

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

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

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

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

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

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

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

                                                                                                                                                                                                if 7.50000000000000018e-81 < t

                                                                                                                                                                                                1. Initial program 29.3%

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

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

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

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

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

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

                                                                                                                                                                                                    \[\leadsto \left(t \cdot \mathsf{fma}\left(-c, y2, b \cdot j\right)\right) \cdot y4 \]
                                                                                                                                                                                                8. Recombined 3 regimes into one program.
                                                                                                                                                                                                9. Add Preprocessing

                                                                                                                                                                                                Alternative 25: 30.1% accurate, 5.6× speedup?

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

                                                                                                                                                                                                  1. Initial program 26.7%

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

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

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

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

                                                                                                                                                                                                    \[\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} \]
                                                                                                                                                                                                  6. Taylor expanded in z 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 rewrites45.4%

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

                                                                                                                                                                                                    if -3.3e21 < i < 1.6000000000000001e-14

                                                                                                                                                                                                    1. Initial program 34.0%

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

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

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

                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                      3. neg-mul-1N/A

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

                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                                                      5. associate--l+N/A

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

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

                                                                                                                                                                                                        \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                                                      8. distribute-lft-neg-inN/A

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

                                                                                                                                                                                                        \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                    5. Applied rewrites42.6%

                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                                                    6. Taylor expanded in y3 around -inf

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

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

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

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

                                                                                                                                                                                                        if 1.6000000000000001e-14 < i

                                                                                                                                                                                                        1. Initial program 34.0%

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

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

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

                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                          3. neg-mul-1N/A

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

                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                                                          5. associate--l+N/A

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

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

                                                                                                                                                                                                            \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                                                          8. distribute-lft-neg-inN/A

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

                                                                                                                                                                                                            \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                        5. Applied rewrites38.0%

                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                                                        6. Taylor expanded in z around -inf

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

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

                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;i \leq -3.3 \cdot 10^{+21}:\\ \;\;\;\;\left(k \cdot z\right) \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\\ \mathbf{elif}\;i \leq 1.6 \cdot 10^{-14}:\\ \;\;\;\;c \cdot \left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(i, t, \left(-y0\right) \cdot y3\right)\\ \end{array} \]
                                                                                                                                                                                                        10. Add Preprocessing

                                                                                                                                                                                                        Alternative 26: 29.6% accurate, 5.6× speedup?

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

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

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

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

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

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

                                                                                                                                                                                                              if -2.55000000000000002e32 < y3 < 3.1499999999999999e31

                                                                                                                                                                                                              1. Initial program 35.3%

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

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

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

                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                3. neg-mul-1N/A

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

                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                                                                5. associate--l+N/A

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

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

                                                                                                                                                                                                                  \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                                                                8. distribute-lft-neg-inN/A

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

                                                                                                                                                                                                                  \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                              5. Applied rewrites42.6%

                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                                                              6. Taylor expanded in y3 around -inf

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

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

                                                                                                                                                                                                                  \[\leadsto c \cdot \color{blue}{\left(y2 \cdot \left(-1 \cdot \left(t \cdot y4\right) + x \cdot y0\right)\right)} \]
                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                  1. Applied rewrites36.5%

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

                                                                                                                                                                                                                  if 3.1499999999999999e31 < y3

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

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

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

                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                    3. neg-mul-1N/A

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

                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                                                                    5. associate--l+N/A

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

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

                                                                                                                                                                                                                      \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                                                                    8. distribute-lft-neg-inN/A

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

                                                                                                                                                                                                                      \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                  5. Applied rewrites41.7%

                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                                                                  6. Taylor expanded in y3 around -inf

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

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

                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -2.55 \cdot 10^{+32}:\\ \;\;\;\;\left(\left(-j\right) \cdot \left(y3 \cdot y4\right)\right) \cdot y1\\ \mathbf{elif}\;y3 \leq 3.15 \cdot 10^{+31}:\\ \;\;\;\;c \cdot \left(y2 \cdot \mathsf{fma}\left(-t, y4, x \cdot y0\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(c \cdot y3\right) \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\\ \end{array} \]
                                                                                                                                                                                                                  10. Add Preprocessing

                                                                                                                                                                                                                  Alternative 27: 29.0% accurate, 5.6× speedup?

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

                                                                                                                                                                                                                    1. Initial program 12.5%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                          \[\leadsto c \cdot \left(i \cdot \left(t \cdot \color{blue}{z}\right)\right) \]

                                                                                                                                                                                                                        if -8.20000000000000029e177 < i < 2.1e155

                                                                                                                                                                                                                        1. Initial program 35.9%

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

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

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

                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                          3. neg-mul-1N/A

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

                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                                                                          5. associate--l+N/A

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

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

                                                                                                                                                                                                                            \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                                                                          8. distribute-lft-neg-inN/A

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

                                                                                                                                                                                                                            \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                        5. Applied rewrites42.0%

                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                                                                        6. Taylor expanded in y3 around -inf

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

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

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

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

                                                                                                                                                                                                                            if 2.1e155 < i

                                                                                                                                                                                                                            1. Initial program 21.7%

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

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

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

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

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

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

                                                                                                                                                                                                                                \[\leadsto \left(i \cdot \left(j \cdot x\right)\right) \cdot y1 \]
                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                1. Applied rewrites44.1%

                                                                                                                                                                                                                                  \[\leadsto \left(\left(i \cdot j\right) \cdot x\right) \cdot y1 \]
                                                                                                                                                                                                                              4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                              5. Add Preprocessing

                                                                                                                                                                                                                              Alternative 28: 22.2% accurate, 6.7× speedup?

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

                                                                                                                                                                                                                                1. Initial program 25.0%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                      \[\leadsto c \cdot \left(i \cdot \left(t \cdot \color{blue}{z}\right)\right) \]

                                                                                                                                                                                                                                    if -2.44999999999999992e30 < i < 5.3e107

                                                                                                                                                                                                                                    1. Initial program 35.3%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                          \[\leadsto c \cdot \left(i \cdot \left(t \cdot \color{blue}{z}\right)\right) \]
                                                                                                                                                                                                                                        2. Taylor expanded in z around 0

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

                                                                                                                                                                                                                                            \[\leadsto c \cdot \left(\left(-t\right) \cdot \left(y2 \cdot \color{blue}{y4}\right)\right) \]

                                                                                                                                                                                                                                          if 5.3e107 < i

                                                                                                                                                                                                                                          1. Initial program 29.4%

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

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

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

                                                                                                                                                                                                                                              \[\leadsto \left(i \cdot \left(j \cdot x\right)\right) \cdot y1 \]
                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                              1. Applied rewrites39.1%

                                                                                                                                                                                                                                                \[\leadsto \left(\left(i \cdot j\right) \cdot x\right) \cdot y1 \]
                                                                                                                                                                                                                                            4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                            5. Add Preprocessing

                                                                                                                                                                                                                                            Alternative 29: 22.4% accurate, 7.2× speedup?

                                                                                                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y3 \leq -2.6 \cdot 10^{+100} \lor \neg \left(y3 \leq 3.3 \cdot 10^{+36}\right):\\ \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(i \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 (or (<= y3 -2.6e+100) (not (<= y3 3.3e+36)))
                                                                                                                                                                                                                                               (* (* c (* y y3)) y4)
                                                                                                                                                                                                                                               (* c (* i (* 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 ((y3 <= -2.6e+100) || !(y3 <= 3.3e+36)) {
                                                                                                                                                                                                                                            		tmp = (c * (y * y3)) * y4;
                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                            		tmp = c * (i * (t * 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 ((y3 <= (-2.6d+100)) .or. (.not. (y3 <= 3.3d+36))) then
                                                                                                                                                                                                                                                    tmp = (c * (y * y3)) * y4
                                                                                                                                                                                                                                                else
                                                                                                                                                                                                                                                    tmp = c * (i * (t * 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 ((y3 <= -2.6e+100) || !(y3 <= 3.3e+36)) {
                                                                                                                                                                                                                                            		tmp = (c * (y * y3)) * y4;
                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                            		tmp = c * (i * (t * z));
                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                            	tmp = 0
                                                                                                                                                                                                                                            	if (y3 <= -2.6e+100) or not (y3 <= 3.3e+36):
                                                                                                                                                                                                                                            		tmp = (c * (y * y3)) * y4
                                                                                                                                                                                                                                            	else:
                                                                                                                                                                                                                                            		tmp = c * (i * (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 ((y3 <= -2.6e+100) || !(y3 <= 3.3e+36))
                                                                                                                                                                                                                                            		tmp = Float64(Float64(c * Float64(y * y3)) * y4);
                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                            		tmp = Float64(c * Float64(i * Float64(t * 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 ((y3 <= -2.6e+100) || ~((y3 <= 3.3e+36)))
                                                                                                                                                                                                                                            		tmp = (c * (y * y3)) * y4;
                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                            		tmp = c * (i * (t * 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[y3, -2.6e+100], N[Not[LessEqual[y3, 3.3e+36]], $MachinePrecision]], N[(N[(c * N[(y * y3), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], N[(c * N[(i * N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            \\
                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                            \mathbf{if}\;y3 \leq -2.6 \cdot 10^{+100} \lor \neg \left(y3 \leq 3.3 \cdot 10^{+36}\right):\\
                                                                                                                                                                                                                                            \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                                                                                                            \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                                                            1. Split input into 2 regimes
                                                                                                                                                                                                                                            2. if y3 < -2.6000000000000002e100 or 3.2999999999999999e36 < y3

                                                                                                                                                                                                                                              1. Initial program 27.6%

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

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                  if -2.6000000000000002e100 < y3 < 3.2999999999999999e36

                                                                                                                                                                                                                                                  1. Initial program 34.9%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                        \[\leadsto c \cdot \left(i \cdot \left(t \cdot \color{blue}{z}\right)\right) \]
                                                                                                                                                                                                                                                    4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                    5. Final simplification27.3%

                                                                                                                                                                                                                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -2.6 \cdot 10^{+100} \lor \neg \left(y3 \leq 3.3 \cdot 10^{+36}\right):\\ \;\;\;\;\left(c \cdot \left(y \cdot y3\right)\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\ \end{array} \]
                                                                                                                                                                                                                                                    6. Add Preprocessing

                                                                                                                                                                                                                                                    Alternative 30: 21.8% accurate, 7.2× speedup?

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

                                                                                                                                                                                                                                                      1. Initial program 25.0%

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

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

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

                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                        3. neg-mul-1N/A

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

                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                                                                                                        5. associate--l+N/A

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

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

                                                                                                                                                                                                                                                          \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                                                                                                        8. distribute-lft-neg-inN/A

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

                                                                                                                                                                                                                                                          \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                      5. Applied rewrites39.7%

                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                                                                                                      6. Taylor expanded in y3 around -inf

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

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

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

                                                                                                                                                                                                                                                            \[\leadsto c \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y4}\right) \]

                                                                                                                                                                                                                                                          if -2.6000000000000002e100 < y3 < 4.5000000000000002e131

                                                                                                                                                                                                                                                          1. Initial program 34.7%

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

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

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

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

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

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

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

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

                                                                                                                                                                                                                                                                \[\leadsto c \cdot \left(i \cdot \left(t \cdot \color{blue}{z}\right)\right) \]

                                                                                                                                                                                                                                                              if 4.5000000000000002e131 < y3

                                                                                                                                                                                                                                                              1. Initial program 25.0%

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

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

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

                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                3. neg-mul-1N/A

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

                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                                                                                                                5. associate--l+N/A

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

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

                                                                                                                                                                                                                                                                  \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                                                                                                                8. distribute-lft-neg-inN/A

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

                                                                                                                                                                                                                                                                  \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                              5. Applied rewrites38.2%

                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                                                                                                              6. Taylor expanded in y3 around -inf

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

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

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

                                                                                                                                                                                                                                                                    \[\leadsto \left(c \cdot y3\right) \cdot \left(y \cdot y4\right) \]
                                                                                                                                                                                                                                                                4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                5. Add Preprocessing

                                                                                                                                                                                                                                                                Alternative 31: 16.9% accurate, 12.6× speedup?

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

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

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

                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-1 \cdot c\right) \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                  3. neg-mul-1N/A

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

                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-c\right)} \cdot \left(\left(-1 \cdot \left(y0 \cdot \left(x \cdot y2 - y3 \cdot z\right)\right) + i \cdot \left(x \cdot y - t \cdot z\right)\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right) \]
                                                                                                                                                                                                                                                                  5. associate--l+N/A

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

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

                                                                                                                                                                                                                                                                    \[\leadsto \left(-c\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(x \cdot y2 - y3 \cdot z\right) \cdot y0}\right)\right) + \left(i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)\right) \]
                                                                                                                                                                                                                                                                  8. distribute-lft-neg-inN/A

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

                                                                                                                                                                                                                                                                    \[\leadsto \left(-c\right) \cdot \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\left(x \cdot y2 - y3 \cdot z\right)\right), y0, i \cdot \left(x \cdot y - t \cdot z\right) - -1 \cdot \left(y4 \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                5. Applied rewrites41.0%

                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-c\right) \cdot \mathsf{fma}\left(-\left(y2 \cdot x - y3 \cdot z\right), y0, \mathsf{fma}\left(y \cdot x - t \cdot z, i, \left(y2 \cdot t - y3 \cdot y\right) \cdot y4\right)\right)} \]
                                                                                                                                                                                                                                                                6. Taylor expanded in y3 around -inf

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

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

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

                                                                                                                                                                                                                                                                      \[\leadsto c \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y4}\right) \]
                                                                                                                                                                                                                                                                    2. Add Preprocessing

                                                                                                                                                                                                                                                                    Developer Target 1: 27.6% 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 2024324 
                                                                                                                                                                                                                                                                    (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)))))